|
| 1 | +{ |
| 2 | + "schema": 1, |
| 3 | + "name": "agentfuse", |
| 4 | + "github": "https://github.com/SuperMarioYL/agentfuse", |
| 5 | + "host": "agentfuse.lei6393.com", |
| 6 | + "lang": { "primary": "zh", "toggle": true }, |
| 7 | + "accent": ["#F59E0B"], |
| 8 | + "hero": { |
| 9 | + "eyebrow": { |
| 10 | + "zh": "本地代理 · 无守护进程 · 单二进制 · 零遥测", |
| 11 | + "en": "Local proxy · No daemon · Single binary · Zero telemetry" |
| 12 | + }, |
| 13 | + "headline": { |
| 14 | + "zh": "硬性卡住你的编码 Agent 花费\n在任何请求离开本机之前", |
| 15 | + "en": "Hard-cap your coding-agent spend\nbefore a single request leaves your machine" |
| 16 | + }, |
| 17 | + "sub": { |
| 18 | + "zh": "单个 Go 二进制把你的 claude、codex 或 aider CLI 作为子进程 exec,指向本地代理,按项目美元上限熔断,写入本地 bbolt 账本——无守护进程、无云端、无遥测。", |
| 19 | + "en": "A single Go binary execs your claude, codex, or aider CLI as a child, points it at a local proxy, and fail-closes at a per-project USD cap written to a local bbolt ledger — no daemon, no cloud, no telemetry." |
| 20 | + }, |
| 21 | + "command": "fuse run claude", |
| 22 | + "cta": { "zh": "开始使用", "en": "Get started" }, |
| 23 | + "ctaGithub": { "zh": "在 GitHub 查看", "en": "View on GitHub" } |
| 24 | + }, |
| 25 | + "advantages": [ |
| 26 | + { |
| 27 | + "title": { "zh": "到顶即熔断,并发也冲不过", "en": "Fail-closed at the cap — even under concurrency" }, |
| 28 | + "body": { |
| 29 | + "zh": "每个请求走四道 fail-closed 闸:账号指纹、tiktoken 预估、账本对账、cap_usd 判定。v0.4 把 Reserve→CommitDelta 原子守卫从 anthropic、openai 铺到 deepseek、gemini、openai_compat——五个 provider 上并发请求再也没法集体冲过上限。", |
| 30 | + "en": "Every request clears four fail-closed gates: account fingerprint, tiktoken pre-flight, ledger check, then a cap_usd verdict. v0.4 propagates the atomic Reserve→CommitDelta guard from anthropic and openai out to deepseek, gemini, and openai_compat — concurrent requests can no longer collectively overshoot the cap on any of the five providers." |
| 31 | + }, |
| 32 | + "chips": [ |
| 33 | + "› 四道 fail-closed 闸", |
| 34 | + "› HTTP 402 拒绝", |
| 35 | + "› 原子 Reserve/CommitDelta(全 5 provider)" |
| 36 | + ] |
| 37 | + }, |
| 38 | + { |
| 39 | + "title": { "zh": "一个二进制,五种 wire format", "en": "One binary, five wire formats" }, |
| 40 | + "body": { |
| 41 | + "zh": "同一个 fuse run、同一份 .fuse.toml,接 Anthropic、OpenAI、Gemini、DeepSeek 和任意 OpenAI-compat 主机(Groq、Mistral、xAI、Together、OpenRouter)。流式响应漏报 usage 时,本地 tiktoken 兜底补计,账本绝不 silently 记一笔 $0。", |
| 42 | + "en": "One fuse run, one .fuse.toml, five provider families — Anthropic, OpenAI, Gemini, DeepSeek, and any OpenAI-compat host (Groq, Mistral, xAI, Together, OpenRouter). When a stream omits the usage block, a local tiktoken fallback bills it instead — the ledger never silently records $0." |
| 43 | + }, |
| 44 | + "chips": [ |
| 45 | + "› 5 个 provider 处理器", |
| 46 | + "› 流式 SSE 逐帧取 usage", |
| 47 | + "› tiktoken 本地兜底" |
| 48 | + ] |
| 49 | + }, |
| 50 | + { |
| 51 | + "title": { "zh": "价格表本地化,永不联网", "en": "Price table stays local, never networked" }, |
| 52 | + "body": { |
| 53 | + "zh": "价格快照打进二进制,用 ~/.fuse/prices.toml 按机器覆盖,二进制从不联网取价——这是信任前提。新的 fuse prices --diff 让价格漂移可见:哪些覆盖压住了 bundle 已变动的默认值,哪些用户条目指向 bundle 已退役的模型。", |
| 54 | + "en": "The price snapshot is embedded in the binary; you override per-machine via ~/.fuse/prices.toml. The binary never fetches prices over the network — that is the trust premise. The new fuse prices --diff makes drift visible: which of your overrides shadow a bundled default that has since moved, and which of your entries point at a model the bundle has retired." |
| 55 | + }, |
| 56 | + "chips": [ |
| 57 | + "› bundle 内嵌 + 用户覆盖", |
| 58 | + "› fuse prices --diff 漂移检测", |
| 59 | + "› 零网络取价" |
| 60 | + ] |
| 61 | + }, |
| 62 | + { |
| 63 | + "title": { "zh": "本地账本,无守护,单二进制", "en": "Local ledger, no daemon, one binary" }, |
| 64 | + "body": { |
| 65 | + "zh": "账本写在 ~/.fuse/ledger.db(bbolt,键为 (project, day)),代理随子进程退出而消亡。除了你点名的上游 provider,二进制不与任何东西通信。用 strings 三十秒就能审计完——一个会回传数据的熔断器本身就是信任问题。", |
| 66 | + "en": "The ledger lives at ~/.fuse/ledger.db (bbolt, keyed by (project, day)); the proxy dies with the wrapped child. The binary talks to nothing but the upstream provider you configured. Audit it with strings in thirty seconds — a kill-switch that phones home is itself the trust problem." |
| 67 | + }, |
| 68 | + "chips": [ |
| 69 | + "› bbolt 本地账本", |
| 70 | + "› 代理随子进程退出", |
| 71 | + "› strings 30 秒可审计" |
| 72 | + ] |
| 73 | + } |
| 74 | + ], |
| 75 | + "scene": { |
| 76 | + "kind": "hub-nodes", |
| 77 | + "nodes": ["Anthropic", "OpenAI", "Gemini", "DeepSeek", "OpenAI-compat"] |
| 78 | + }, |
| 79 | + "cta": { |
| 80 | + "headline": { |
| 81 | + "zh": "一行 .fuse.toml,守住每个项目的上限", |
| 82 | + "en": "One .fuse.toml, one cap per project" |
| 83 | + }, |
| 84 | + "sub": { |
| 85 | + "zh": "开源、MIT、无付费墙。本地代理这一核心动作,永不设墙。", |
| 86 | + "en": "Open source, MIT, no paywall. The core act of proxying locally is never gated." |
| 87 | + }, |
| 88 | + "button": { "zh": "在 GitHub 上开始", "en": "Get started on GitHub" } |
| 89 | + }, |
| 90 | + "footer": { |
| 91 | + "tag": { |
| 92 | + "zh": "给编码 Agent CLI 装的本地花费熔断器", |
| 93 | + "en": "The local kill-switch proxy for coding-agent CLI spend" |
| 94 | + } |
| 95 | + } |
| 96 | +} |
0 commit comments