You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tokens): replace char/4 heuristic with js-tiktoken (cl100k_base)
Centralizes token estimation across 14 files through
src/core/cache/token-estimator.ts and packages/sdk/src/token-estimator.ts.
Lazy-loads cl100k_base encoder with char/4 fallback if WASM fails.
Also ports context-budget hook to codex-sm exit handler for
compact/restart nudges matching Claude Code behavior.
0 commit comments