Live per-turn token figure on the working line
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 1h
- Merged PRs (30d)
- 17
Description
What it does
Shows a live token figure for the current turn on the working line while the turn runs.
Source
ganja-code-s7u (a live per-turn token figure on the working line).
The bead is closed when this issue is published, with its external reference pointing here (#38).
File and line references in this issue are to main as of 75a7a92.
Against the three criteria
- Direction (README): The README's only word on cost is
README.md:28-29; it says nothing about showing usage. - Today's terminal users: The working line shows a number only once a provider's usage report lands at the end of a message.
- Evidence: Known from the code:
estimate_tokensis crate-private (crates/ganja-core/src/session.rs:3031).
Depends on
Nothing. It needs either an exported per-turn estimator or usage emitted per step.
Verdict
- Verdict: do
- Size: S — one commit, no plan.
- Exception to the probe rule: no.
- Date: 2026-09-19
- Verdict ticket: #45
Theme: #58
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in crates/ganja-core/src/session.rs at estimate_tokens around line 3031, then trace how the terminal working line receives updates and how provider usage is currently reported. Determine whether a per-turn estimator or per-step usage is the appropriate path. Done means the working line shows the current turn’s live token figure while the turn runs, rather than only after the message completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100