pkg.soopen package index

brew / 排名 7818

使用 Homebrew 安装 recur

查看 recur 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install recur

local Homebrew formula metadata

概览

软件包摘要

Retry a command with exponential backoff and jitter

命令和别名

  • recur

历史

项目历史与用法

recur is a cross-platform command-line retry wrapper with configurable attempt limits, delay, exponential or Fibonacci backoff, jitter, timeouts, programmable Starlark success conditions, and optional reports.

项目历史

recur was developed as a portable command runner that repeats one command until a success condition is met or its attempt budget is exhausted. The implementation is written in Go and extends conventional retry wrappers with exponential and Fibonacci backoff, jitter, per-attempt timeouts, stream buffering, and Starlark expressions.

The project has evolved to support condition files, regular-expression checks against buffered input or output, retry statistics in text or JSON, and binaries across Unix-like systems and Windows.

采用历史

The project publishes binaries for major BSD systems, Linux, macOS, and Windows. It is also installable through Homebrew on macOS and Linux and through the Go toolchain.

使用方式

A typical invocation places recur options before the target command. By default, recur treats exit status zero as success and tries at most ten times; users can add constant delay, exponential or Fibonacci backoff, jitter, a delay ceiling, timeouts, or unlimited attempts.

For more specialized workflows, Starlark expressions or files can inspect exit status, timing, and buffered streams. The report option emits attempt counts, exit codes, wait times, and success statistics as text or JSON.

为什么软件包爱好者会关心

recur packages retry policy as a composable command-line primitive rather than requiring shell-loop boilerplate. Its portable binaries, structured reports, configurable backoff, and programmable success conditions make it useful in scripts, CI jobs, network automation, and operational tooling.

时间线

  • Early project: recur established a command retry wrapper with exponential backoff and jitter.
  • Version 3 generation: Installation uses the Go module path dbohdan.com/recur/v3.
  • Current release line: Supports Starlark condition files, JSON or text reports, stream replay and buffering, and prebuilt binaries for Unix-like systems and Windows.

Related projects

  • The README presents retry, backoff, and shell-loop utilities as the broader tool family to which recur belongs.
  • Starlark supplies the expression language used for custom success conditions.

来源

  • Official repository and README: https://github.com/dbohdan/recur
  • Package availability: source_facts.package-manager

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:jit

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
recurcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本3.3.0
管理器更新时间2026-09-13
本地数据OK
上游当前
检测到的最新版本v3.3.0

https://github.com/dbohdan/recur

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:recur
版本3.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/recur
主页https://github.com/dbohdan/recur
仓库https://github.com/dbohdan/recur
许可证MIT
源码归档https://github.com/dbohdan/recur/archive/refs/tags/v3.3.0.tar.gz
最后更新2026-09-13T05:23:20Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namerecur
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation