v0.4.7 - Codex monitor fixes
[0.4.7] — 2026-05-09
Changed
- Codex Stop hook auto-refresh now uses an 80% verified-usage threshold instead
of 90%, so Throughline can refresh before Codex native auto-compact while
still staying above the monitor's 70% warning band. Estimate-only usage and
estimated context windows still do not mutate the thread. - Token monitor now discovers active Codex rollout files directly from
~/.codex/sessions/**/rollout-*.jsonl, so current Codex sessions appear even
when the Codex Stop hook has not written a Throughline state file. - Token monitor now displays Codex session ids as the raw first 8 thread-id
characters (019e085c) instead of the confusing prefixed slice (codex:01).
Codex in-flight turns still overlay transientoutput_tokensin the token
count, but the model column no longer adds a separatelive+<tokens>marker.
This release rolls up intermediate same-day patches that were published to npm but not individually tagged on GitHub:
[0.4.6] — 2026-05-09
Changed
- Codex monitor usage now overlays transient
output_tokenswhile a Codex turn
is open. During an in-flight turn the row displaysinput_tokens + output_tokensand marks the model withlive+<tokens>; aftertask_complete
the row drops back to verifiedinput_tokensonly.
[0.4.5] — 2026-05-09
Fixed
- VS Code detection now treats
VSCODE_HANDLES_SIGPIPEas a VS Code-family
environment signal. This letsthroughline installprovision the monitor task
in Codex / VS Code sessions whereTERM_PROGRAM,VSCODE_PID, and
VSCODE_IPC_HOOK_CLIare absent.
[0.4.4] — 2026-05-09
Changed
- Token monitor now treats Claude transcript and Codex rollout files as live
inputs. State-fileusagesnapshots remain a fallback, but the display and
stale hiding no longer wait for Stop hook completion when the live files are
still changing. throughline installnow provisions or repairs the current project's VS Code
Throughline Monitortask when running under VS Code / Cursor / VSCodium, so
monitor auto-start setup no longer depends solely on the first hook event.
[0.4.3] — 2026-05-09
Changed
- Changed the installed Codex
$throughlineskill so bare$throughlineruns
the scripted current-thread refresh directly:
throughline trim --execute --host codex --all --json. Doctor, dry-run,
preflight, restore-safety analysis, host primitive audit, and fresh-thread
handoff remain available only when explicitly requested instead of being the
normal skill path.
[0.4.2] — 2026-05-09
Fixed
- Codex trim no longer falls back to the latest project session when
--session
is omitted. For--host codex, the default memory session is now the current
Codex thread (codex:<thread_id>from--codex-thread-id,
CODEX_THREAD_ID, orTHROUGHLINE_CODEX_THREAD_ID), so Claude-side work
cannot accidentally become the injected memory for a Codex rollback.