Added#
- One bill across your coding agents.
trazum billwith no path now reads Codex ($CODEX_HOME/sessionsandarchived_sessions) and Gemini CLI (~/.gemini/tmp/<project>/chats, honouringGEMINI_CLI_HOME) as well as Claude Code, each folder named on stderr before it is read. Once more than one agent spent money, the statement adds a table by agent, the total split rather than a second estimate. Each location comes from the agent's own source code. - Gemini CLI sessions.
trazum from-gemini-cli <file|dir>, the 55th command, and the same reader inbill, the web app's Bill tab, MCPimport_usageand HTTP/usage/import(format: "gemini-cli"). Read against the recorder's own source rather than a sample: a reply the recorder rewrote is read once, a rewind does not undo spend, and the parts of each reply are checked against its recorded total. Sessions are labelled by the project their.project_rootnames.geminiCliRecordsandlooksLikeGeminiCliSessionin@trazum/core;gemini-cliinGET /capabilities. See docs/gemini-cli.md. bill --by day|week|month. The statement split by UTC day, ISO week or month, printed whenever asked; the last line names the--since/--untilthat bills the newest period alone.spendByPeriodin@trazum/core, of whichspendByMonthis the month case.trazum --helpstarts with the bill. The first screen says what Trazum is in one line and opens with a START HERE block:trazum bill,trazum bill <log|dir>andtrazum bill --by month. The full usage follows unchanged. The npm description and keywords of@trazum/cli, and the Claude Code plugin and marketplace card, name all three agents and lead with the bill.- Releases prepare themselves.
node scripts/prepare-release.mjs <version>moves every lockstep version, the changelog heading, the release notes' "on npm at" line and the Action pin (to the newest existing tag, which the docs-pin guard always accepts) in one counted, refuse-don't-guess step;--dry-runwrites nothing. The pin no longer needs a follow-up PR after each release. The lockfile is edited entry by entry as JSON, never as text: a text replacement would have moved jiti, a dependency that sat at 2.7.0 the day this release was cut. - The repository checks itself weekly. CI runs on a Monday schedule as
well as on pushes, and
node scripts/freshness.mjsreports price-review ages, the Action pin's lag and unreleased commits. Overdue items fail only the scheduled run, on main, where GitHub notifies the owner, and never an unrelated pull request.
Fixed#
- Gemini's reasoning tokens were priced at zero. A usage log carrying
Gemini's
usageMetadatawas read frompromptTokenCountandcandidatesTokenCountalone, which leave outthoughtsTokenCount(the model's reasoning, billed as output) andtoolUsePromptTokenCount(tool results fed back to the model, billed as input). On a thinking model such as Gemini 2.5 Pro or 3.1 Pro the reasoning is often most of the output, and the error ran in the flattering direction. Both are now counted, inprofile,billand the gateway alike, per the definitions in Google's own@google/genaiSDK; the gateway's strict mode, which refused such responses because nothing priced them, now accepts and prices them. - The Action pin moves to 2.6.0 in
docs/setup.mdanddocs/running.md, the commit thev2.6.0tag points at. It had stayed at 2.5.1 through 2.5.2 and 2.6.0, and oncev2.6.0was tagged the docs-pin guard failed on every run, which held every open pull request red.