co-mono/packages/coding-agent/src
Mario Zechner 7eb969ddb1 fix(coding-agent): show unknown context usage after compaction, fix multi-compaction boundary
After compaction, context token count is unknown until the next LLM
response. Instead of showing stale pre-compaction values or heuristic
estimates, the footer now shows ?/200k.

ContextUsage.tokens and ContextUsage.percent are now number | null
(breaking change). Removed usageTokens, trailingTokens, lastUsageIndex
from ContextUsage (internal details).

Also fixed _checkCompaction() using .find() (first compaction) instead
of getLatestCompactionEntry() (latest), which caused incorrect overflow
detection with multiple compactions.

Closes #1382
2026-02-12 18:35:09 +01:00
..
cli feat(coding-agent): add -ne, -ns, -np aliases for --no-extensions, --no-skills, --no-prompt-templates 2026-02-08 23:02:01 +01:00
core fix(coding-agent): show unknown context usage after compaction, fix multi-compaction boundary 2026-02-12 18:35:09 +01:00
modes fix(coding-agent): show unknown context usage after compaction, fix multi-compaction boundary 2026-02-12 18:35:09 +01:00
utils fix(coding-agent): correct Termux package name for fd (#1433) 2026-02-12 17:26:55 +01:00
cli.ts Set coding agent CLI process title (#742) 2026-01-15 13:14:14 +01:00
config.ts chore(coding-agent): update share viewer url 2026-02-03 22:49:01 +01:00
index.ts feat(coding-agent): add commands.ts example and export SlashCommandInfo types 2026-02-03 12:20:37 +01:00
main.ts fix(coding-agent): add package subcommand help and friendly errors (#1347) 2026-02-07 03:30:28 +01:00
migrations.ts chore: remove deprecation comment from getToolsDir, add changelog entry for #470 2026-01-05 20:26:48 +01:00