Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs: clarify live response accounting

Aldo Junior108a1fcd69e7
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8333fc92..dab44da6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,9 +14,9 @@ version in [`docs/changelog/`](docs/changelog/):
### Added
- Added live, deduplicated response token accounting for Claude Code and Codex.
- The native hooks now send measured response usage on `post-tool-use`, `stop`,
- `pre-compact` and `session-end` instead of only at the end of a session, so
- an open session's totals stay current. Each response is stored once by its
+ Updated native hooks to send measured response usage on `post-tool-use`,
+ `stop`, `pre-compact` and `session-end`, keeping open-session totals current
+ rather than waiting for session end. Each response is stored once by its
native identity in a new `token_calls` ledger (V92). A partial or replayed
delivery raises the stored counters column by column and never adds the same
response twice. Live extraction reads a bounded 4 MiB transcript tail and
diff --git a/docs/usage.md b/docs/usage.md
index 99eb5302..e0a36467 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -891,8 +891,8 @@ prose.
Open a project under `/web` to see Token usage. Updated native Claude Code and
Codex hooks send measured response usage on `post-tool-use`, `stop`,
-`pre-compact` and `session-end`. A session can stay open: usage is stored as it
-arrives, and the panel and the session totals refresh every ten seconds. To
+`pre-compact` and `session-end`. The server stores usage as it arrives, including while a
+session is open. The panel and session totals refresh every ten seconds. To
enable capture, update the native client on each agent machine as well as the
server.