myaji35/GH_Harness/tree/main/mods/harness-status
GitHub 儲存庫 · 發布者 myaji35
harness-status
Claude Code 2.1.289 mod,在狀態列、AbovePrompt 區域與 /hstatus 顯示唯讀的 harness 狀態。
myaji35@myaji35
關於這個 mod
harness-status
Claude Code 2.1.289 mod,在狀態列、AbovePrompt 區域與 /hstatus 顯示唯讀的 harness 狀態。
- 在工作階段開始時,以及主要回合之後(修改時間變更時),從工作目錄讀取
.claude/issue-db/registry.json。顯示最新的IN_PROGRESSissue 與數量。 - 讀取
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.jsonfrom the session working directory on session start and after main turns when its modification time changes. Shows the latestIN_PROGRESSissue and count. - Reads
opus_budget_state.daily.cost_usdanddaily.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.percentwhen 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.
