tj status repeats its framing note per agent and gives SDK agents a Claude Code-only CTA
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 85/100
Direzione di ricerca
Inizia in tokenjam/cli/cmd_status.py: leggi il loop degli agent di cmd_status e l’hint sul plan-tier sconosciuto, poi ispeziona is_interactive_coding_agent in tokenjam/core/alerts.py. Esegui tj status con più agent che condividono una modalità di pricing e con agent SDK/API e interattivi il cui plan tier è sconosciuto. Fatto quando la nota di framing compare una volta e l’hint corrisponde al tipo di agent rilevante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
tj status has two related persona bugs when multiple agents are present.
1. The subscription/local framing note repeats once per agent. _print_agent_status calls _framing_note(framing) and prints its result inside the per-agent block:
console.print(f" Cost today: {_cost_line(data, framing)}")
note = _framing_note(framing)
if note:
console.print(f" [dim]{note}[/dim]")
This function is invoked once per agent inside the for aid in agent_ids: loop in cmd_status. When several agents share the same pricing mode (e.g. all on a subscription plan), the identical note — "Subscription plan — flat-fee billing; cost shown as share of your monthly plan, not dollars spent." — prints once under every agent block. Three agents means the same sentence three times in one screen.
2. The "unknown plan tier" hint always recommends Claude Code/Codex, even for SDK agents. After the per-agent loop, cmd_status prints:
console.print(
f"[dim]Note: {unknown_count} session(s) have unknown plan tier. "
f"Run [bold]tj onboard --claude-code --reconfigure[/bold] "
f"(or [bold]--codex[/bold]) to set it.[/dim]"
)
This is a hardcoded string with no persona check. It assumes every agent with an unknown plan tier is either a Claude Code or Codex integration. Agents instrumented via the SDK/API path aren't managed by either of those flags, so this hint is inapplicable advice for them.
Expected
- The framing note prints once per
tj statusinvocation (a single footer line), not once per agent. - The unknown-plan-tier hint only recommends
tj onboard --claude-code --reconfigure(or--codex) when at least one of the agents shown is an interactive coding agent. When none are, the message should point at the plan setting directly instead ([budget.<provider>] planin the config file), since neither--claude-codenor--codexapplies to SDK/API integrations.
Where to look
tokenjam/cli/cmd_status.py:54— thefor aid in agent_ids:looptokenjam/cli/cmd_status.py:113—_print_agent_status(agent_data, active_alerts, session, framing)call sitetokenjam/cli/cmd_status.py:311-324—_print_agent_status, including the_framing_notecall at line 322tokenjam/cli/cmd_status.py:131-136— the hardcoded unknown-plan-tier CTAtokenjam/core/alerts.py:65-78—is_interactive_coding_agent(agent_id), the existing single-source-of-truth helper for classifying an agent id as Claude Code/Codex vs. SDK; reuse it rather than adding a second classifier
Done when
- Running
tj statuswith multiple agents on the same pricing mode prints the framing note exactly once for the whole command, not once per agent. - When every agent with an unknown plan tier is a non-coding (SDK/API) agent, the printed hint no longer suggests
--claude-code/--codexreconfigure. - When at least one agent with an unknown plan tier is an interactive coding agent, the existing
--claude-code --reconfigure/--codexhint still shows.
- Lingua principale
- Python
- Stelle
- 122
- Fork
- 35
- Merge medio
- 1g 18h
- PR unite (30g)
- 8
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Metabuilder-Labs/tokenjam
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Metabuilder-Labs/tokenjam#786 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Metabuilder-Labs/tokenjam#759 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Metabuilder-Labs/tokenjam#728 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Metabuilder-Labs/tokenjam#559 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
Metabuilder-Labs/tokenjam#332 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Metabuilder-Labs/tokenjam
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
conda-forge/conda-forge-bot#7025 ·
I maintainer di solito rispondono entro 1 giorno
-
area:ci
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
catincloud-labs/dagster-dex#149 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
home-assistant/core#188424 ·
I maintainer di solito rispondono entro 1 giorno
-
Review backlog (docs-currency): README 'CI run' link lands on a run whose overall badge is cancelledApertaagent/reviewer needs-kind needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
projectbluefin/utah#880 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
redis/memtier_benchmark#850 ·
I maintainer di solito rispondono entro 1 giorno