Using the tool daily — thanks for building it. I've prototyped four enhancements locally and would like to upstream them. Happy to split into separate PRs to keep reviews manageable.
1. Session stats from transcript. Parses $input.transcript_path with jq to compute running cost (per-model price table for Opus/Sonnet/Haiku incl. cache read/write tiers), user/assistant message counts, and session duration. Caches the parse by transcript mtime so it only re-runs when the transcript changes. Appends $7.32 | msg 3/25 | 12h34m before the clock.
2. Optional two-line wrap. Opt-in via CLAUDE_STATUSLINE_WRAP=true (or a settings.json key). Splits after effort — context state on line 1, budget/session on line 2. Avoids the awkward soft-wrap on narrow terminals.
3. Mode glyphs. Reads alwaysThinkingEnabled and fastMode from settings.json, renders 🧠 / ⚡ after the model name. Nothing shown when disabled.
4. Compact-context warning. When token usage ≥85%, prefix the token segment with a red ⚠ — visual nudge before Claude Code auto-compacts.
Licensing question: The repo doesn't currently have a LICENSE file, so strictly speaking it's all-rights-reserved. Would you be open to adding one (MIT / Apache-2.0 / whatever you prefer)? I'd rather not send PRs that can't legally be merged or reused.
Using the tool daily — thanks for building it. I've prototyped four enhancements locally and would like to upstream them. Happy to split into separate PRs to keep reviews manageable.
1. Session stats from transcript. Parses
$input.transcript_pathwithjqto compute running cost (per-model price table for Opus/Sonnet/Haiku incl. cache read/write tiers), user/assistant message counts, and session duration. Caches the parse by transcriptmtimeso it only re-runs when the transcript changes. Appends$7.32 | msg 3/25 | 12h34mbefore the clock.2. Optional two-line wrap. Opt-in via
CLAUDE_STATUSLINE_WRAP=true(or a settings.json key). Splits aftereffort— context state on line 1, budget/session on line 2. Avoids the awkward soft-wrap on narrow terminals.3. Mode glyphs. Reads
alwaysThinkingEnabledandfastModefromsettings.json, renders 🧠 / ⚡ after the model name. Nothing shown when disabled.4. Compact-context warning. When token usage ≥85%, prefix the token segment with a red ⚠ — visual nudge before Claude Code auto-compacts.
Licensing question: The repo doesn't currently have a LICENSE file, so strictly speaking it's all-rights-reserved. Would you be open to adding one (MIT / Apache-2.0 / whatever you prefer)? I'd rather not send PRs that can't legally be merged or reused.