feat: display context usage in UI for Codex and Claude Code (#1775)

* feat: display context usage in UI for Codex executor

- Extract token usage data from Codex execution logs.
- Track usage state within the `EntriesContext`.
- Display a context usage progress bar in the next action card.

* Add claude-code context token usage

* fix type issue

---------

Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
This commit is contained in:
Solomon
2026-01-16 17:41:36 +00:00
committed by GitHub
parent ee212c5e61
commit 10f6a9171a
19 changed files with 344 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "bundler",