@better-ccusage/codex
v1.8.0
Published
Deprecated: Codex support is now built into better-ccusage. This package forwards invocations to better-ccusage.
Readme
⚠️ Deprecated. Codex support is now built directly into better-ccusage as the codex source. This package now exists only as a thin forwarder for backward compatibility and will not receive new features.
Migration
@better-ccusage/codex has been merged into better-ccusage. Your Codex sessions (~/.codex/sessions) are now read automatically alongside Claude, Droid, and ZCode data.
Before:
npx @better-ccusage/codex@latest dailyAfter:
npx better-ccusage dailyThe better-ccusage CLI exposes every command the standalone codex tool had (daily, monthly, session) plus weekly, blocks, statusline, --mode, --breakdown, config-file support, and combined cross-tool reports.
Backward compatibility
This package still works: every invocation is forwarded to better-ccusage with the original CODEX_HOME preserved. A one-line deprecation notice is printed to stderr (set CODEX_NO_DEPRECATION_NOTICE=1 to silence it in CI).
# Still works — forwarded transparently
npx @better-ccusage/codex daily --jsonWhy the merge?
Maintaining a separate Codex CLI duplicated ~2,000 lines that better-ccusage already offered (and did better). The upstream ccusage project had already consolidated Codex as a built-in source, and this merge aligns better-ccusage with that architecture. For details, see the Codex source guide.
License
MIT © @cobra91
