ur-agent 1.57.4 → 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,30 @@
|
|
|
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
|
+
|
|
17
|
+
## 1.57.5
|
|
18
|
+
|
|
19
|
+
- Fixed the release gate failing on `repoEditImports`. The gate runs
|
|
20
|
+
`bun test --timeout 120000`, but a per-test budget silently overrides that
|
|
21
|
+
global, and this test declared 15s while its body — which builds a
|
|
22
|
+
TypeScript program to resolve imports — takes about 21s on a 2-core CI
|
|
23
|
+
runner. Every assertion passed; the release went red on timing alone.
|
|
24
|
+
- Added a guard so this cannot recur: a test now fails if any test file
|
|
25
|
+
declares a per-test budget below 60s. Both budgets that broke CI (15s and
|
|
26
|
+
20s) are flagged by it; ordinary call arguments are not.
|
|
27
|
+
|
|
3
28
|
## 1.57.4
|
|
4
29
|
|
|
5
30
|
- Fixed slash command arguments being silently truncated. `parseArguments`
|