ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 myaji35

harness-status

Claude Code 2.1.289 mod,在状态栏、AbovePrompt 区域和 /hstatus 中显示只读的 harness 状态。

myaji35@myaji35

myaji35/GH_Harness/tree/main/mods/harness-status

已翻译

关于这个 mod

harness-status

Claude Code 2.1.289 mod,在状态栏、AbovePrompt 区域和 /hstatus 中显示只读的 harness 状态。

  • 工作阶段开始时,以及主回合之后(修改时间发生变化时),从工作目录读取 .claude/issue-db/registry.json。显示最新的 IN_PROGRESS issue 和数量。
  • 读取 opus_budget_state.daily.cost_usd 和 daily.limit_usd。当前注册表没有每日限制字段,因此限制显示为 —。详细视图会显示记录的预算日期,避免把旧的每日记录当成今天的消费。
  • 如果可用,则读取 $.session.usage().context.percent。
  • 在工作阶段开始时以及每 30 分钟,读取 ~/Library/Logs/insuregraph-night/ 下最新日期日志的最后一行。日志不可用时会省略。

未知或无法读取的值显示为 —;不会把任何信息写回任一来源。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add myaji35/GH_Harness
claude plugin install harness-status
原文 / README

harness-status

Claude Code 2.1.289 mod showing read-only harness status in the status line, AbovePrompt band, and /hstatus.

  • Reads .claude/issue-db/registry.json from the session working directory on session start and after main turns when its modification time changes. Shows the latest IN_PROGRESS issue and count.
  • Reads opus_budget_state.daily.cost_usd and daily.limit_usd. The current registry has no daily limit field, so the limit appears as —. The recorded budget date appears in the detailed view to avoid presenting an old daily record as today's spending.
  • Reads $.session.usage().context.percent when available.
  • Reads the last line of the newest dated log under ~/Library/Logs/insuregraph-night/ on session start and every 30 minutes. An unavailable log is omitted.

Unknown or unreadable values appear as —; no information is written back to either source.

更多类似作品