ur-agent 1.57.5 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.58.0
4
+
5
+ - Added per-agent cost and token attribution: `ur agent-inspect --costs`.
6
+ `stats.ts` already read every `{sessionId}/subagents/agent-{agentId}.jsonl`
7
+ transcript, but only to fold those tokens into a single total, so a fan-out
8
+ that consumed most of a session's budget was indistinguishable from one that
9
+ did not. Rows are attributed by filename rather than by joining turns back to
10
+ the spawning `tool_use`, because the Agent tool's input carries no agent id
11
+ and any such join would be a guess.
12
+ - The breakdown reports tokens and omits the money column on a local runtime.
13
+ `calculateUSDCost` returns 0 for Ollama, so a cost column would have rendered
14
+ as a wall of `$0.00` and read as a broken feature; cost appears only when a
15
+ provider actually billed.
16
+
3
17
  ## 1.57.5
4
18
 
5
19
  - Fixed the release gate failing on `repoEditImports`. The gate runs