Files
united-workforce/packages/agent-hermes/CHANGELOG.md
xiaoju 427568a21d
CI / check (push) Successful in 2m37s
chore: version bump agent-hermes@0.1.1 cli@0.1.1 eval@0.1.2
小橘 🍊(NEKO Team)
2026-06-05 06:29:25 +00:00

19 lines
646 B
Markdown

# @united-workforce/agent-hermes
## 0.1.1
### Patch Changes
- 8085d1d: fix: read token usage from ACP PromptResponse instead of DB
Token counts (inputTokens, outputTokens) now come from the ACP
`PromptResponse.usage` field, which is populated synchronously from
`run_conversation()` return data — no WAL race condition.
Turns (assistant message count) still come from the DB via
`snapshotTurns()` before/after delta.
Previously both tokens and turns were read from the Hermes state DB
after the ACP prompt returned, but due to WAL write lag the DB often
had incomplete token data at read time (e.g. 235 vs actual 26,080).