Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Feature: per-agent usageCommand in acpClients to surface subscription plan quota

未关闭
#3,078 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
backend, desktop

调研方向

首先定位 acpClients 配置、ACP agent 卡片/设置行,以及现有的命令执行或刷新路径。跟踪 agent 的配置如何到达 UI;完成的标准是:可以为每个 agent 配置可选的 usageCommand 和 interval,按需或在刷新期间调用它们,并显示其文本或 JSON 结果,同时不改变 ACP 协议。

由索引模型根据 Issue 内容生成。

描述

Context

ACP has no concept of plan quota (limits, reset windows, burn-down). Subscription-backed CLIs — Claude Max, Codex (ChatGPT), Kimi coding plan, GLM coding plan — each expose their remaining usage through their own CLI commands or account endpoints, none of which is visible inside BitFun. When orchestrating a fleet of subscription CLIs as ACP agents, the orchestrator currently has no way to see which agent's plan is nearly exhausted before dispatching work.

Proposal

Add an optional field on each acpClients entry, for example:

{
  "kimi": {
    "command": "kimi",
    "args": ["acp"],
    "usageCommand": "kimi usage --json",
    "usageIntervalMinutes": 30
  }
}
  • usageCommand: a shell command whose (text or JSON) output represents that agent's remaining quota
  • BitFun runs it on demand (button on the agent card / ACP settings row) and/or on a refresh interval, parses, and displays the result next to the agent

This keeps quota semantics out of the ACP protocol (where they don't belong) while making them visible exactly where dispatch decisions are made.

Use case

Multi-agent orchestration over subscription CLIs: check remaining quota per agent before assigning a long-running task, and avoid routing work to an agent whose plan window is exhausted.

主要语言
Rust
星标
2.3k
派生
236
平均合并
3 小时 33 分钟
30 天内合并 PR
339

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GCWing/OpenBitFun 的其他 Issue

查看 GCWing/OpenBitFun 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。