diff --git a/.changeset/agent-override-alias.md b/.changeset/agent-override-alias.md deleted file mode 100644 index c57c584..0000000 --- a/.changeset/agent-override-alias.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@united-workforce/cli": patch -"@united-workforce/eval": patch ---- - -fix: resolve --agent override via config alias before raw command - -`resolveAgentConfig()` now checks `config.agents[alias]` first before falling back to `parseAgentOverride()`. Eval CLI default `--agent` changed from `"hermes"` to `"uwf-hermes"`. diff --git a/.changeset/usage-tokens-from-acp.md b/.changeset/usage-tokens-from-acp.md deleted file mode 100644 index 751c2ba..0000000 --- a/.changeset/usage-tokens-from-acp.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@united-workforce/agent-hermes": patch ---- - -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). diff --git a/packages/agent-hermes/CHANGELOG.md b/packages/agent-hermes/CHANGELOG.md new file mode 100644 index 0000000..494c4d0 --- /dev/null +++ b/packages/agent-hermes/CHANGELOG.md @@ -0,0 +1,18 @@ +# @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). diff --git a/packages/agent-hermes/package.json b/packages/agent-hermes/package.json index dce712f..2e11f1d 100644 --- a/packages/agent-hermes/package.json +++ b/packages/agent-hermes/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/agent-hermes", - "version": "0.1.0", + "version": "0.1.1", "files": [ "src", "dist", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md new file mode 100644 index 0000000..3453109 --- /dev/null +++ b/packages/cli/CHANGELOG.md @@ -0,0 +1,9 @@ +# @united-workforce/cli + +## 0.1.1 + +### Patch Changes + +- 850a3b2: fix: resolve --agent override via config alias before raw command + + `resolveAgentConfig()` now checks `config.agents[alias]` first before falling back to `parseAgentOverride()`. Eval CLI default `--agent` changed from `"hermes"` to `"uwf-hermes"`. diff --git a/packages/cli/package.json b/packages/cli/package.json index 6467b8b..c8b5bb2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/cli", - "version": "0.1.0", + "version": "0.1.1", "files": [ "src", "dist", diff --git a/packages/eval/CHANGELOG.md b/packages/eval/CHANGELOG.md new file mode 100644 index 0000000..f46a72c --- /dev/null +++ b/packages/eval/CHANGELOG.md @@ -0,0 +1,9 @@ +# @united-workforce/eval + +## 0.1.2 + +### Patch Changes + +- 850a3b2: fix: resolve --agent override via config alias before raw command + + `resolveAgentConfig()` now checks `config.agents[alias]` first before falling back to `parseAgentOverride()`. Eval CLI default `--agent` changed from `"hermes"` to `"uwf-hermes"`. diff --git a/packages/eval/package.json b/packages/eval/package.json index fda87cc..58f3ca4 100644 --- a/packages/eval/package.json +++ b/packages/eval/package.json @@ -1,6 +1,6 @@ { "name": "@united-workforce/eval", - "version": "0.1.1", + "version": "0.1.2", "private": false, "files": [ "src",