@agentguard-run/burn 0.4.0 → 0.5.1
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 +19 -0
- package/README.md +85 -9
- package/dist/src/cli.js +120 -24
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +10 -1
- package/dist/src/insights/calendar-render.js +2 -1
- package/dist/src/insights/first-run.d.ts +12 -0
- package/dist/src/insights/first-run.js +17 -0
- package/dist/src/insights/i18n.d.ts +1 -0
- package/dist/src/insights/i18n.js +9 -7
- package/dist/src/insights/pricing.js +8 -2
- package/dist/src/insights/render.js +3 -2
- package/dist/src/insights/sessions.d.ts +4 -0
- package/dist/src/insights/sessions.js +18 -2
- package/dist/src/insights/status-data.d.ts +6 -0
- package/dist/src/insights/status-data.js +65 -0
- package/dist/src/insights/status-fields.d.ts +74 -0
- package/dist/src/insights/status-fields.js +136 -0
- package/dist/src/insights/status-text.d.ts +107 -0
- package/dist/src/insights/status-text.js +36 -0
- package/dist/src/insights/tally.d.ts +3 -1
- package/dist/src/insights/tally.js +2 -2
- package/dist/src/telemetry-cli.d.ts +5 -0
- package/dist/src/telemetry-cli.js +57 -0
- package/dist/src/version.d.ts +2 -0
- package/dist/src/version.js +5 -0
- package/docs/USAGE_AND_PRICING.md +4 -2
- package/package.json +2 -2
|
@@ -57,7 +57,7 @@ The verdict names the exact setting: `"promptCacheTtl": "1h"` in `settings.json`
|
|
|
57
57
|
|
|
58
58
|
**Standard tier only.** Every row is the provider's standard per-token price. Faster tiers cost more (Claude's fast mode is a premium on Opus models; OpenAI's Ultrafast on GPT-6 Astra is six times the standard rate, at $60 in and $300 out per million tokens as of 2026-09-29), and the transcripts Burn reads do not say which tier a response ran on, so a session on one of those tiers is priced BELOW what it would cost. Batch and flex discounts are not applied either.
|
|
59
59
|
|
|
60
|
-
Every bundled row includes its exact model identifier, `sourceUrl` and `verifiedAt`. The rates were checked on 2026-09-17, except `claude-opus-5-5`, `gpt-6-sol` and `gpt-6-luna`, which were checked on 2026-09-22, and `claude-sonnet-5-5` and `
|
|
60
|
+
Every bundled row includes its exact model identifier, `sourceUrl` and `verifiedAt`. The rates were checked on 2026-09-17, except `claude-opus-5-5`, `gpt-6-sol` and `gpt-6-luna`, which were checked on 2026-09-22, `gpt-6.1-sol`, which was checked on 2026-09-29, and `claude-sonnet-5-5` and `claude-haiku-5-5`, which were checked on 2026-10-07. The runtime never downloads pricing. Run `agentguard-burn pricing` to inspect the installed table.
|
|
61
61
|
|
|
62
62
|
The Claude rows use the [official model price list](https://platform.claude.com/docs/en/about-claude/pricing). Amounts below are USD per million tokens in the order fresh input, cache read, five-minute write, one-hour write, output:
|
|
63
63
|
|
|
@@ -65,7 +65,9 @@ The Claude rows use the [official model price list](https://platform.claude.com/
|
|
|
65
65
|
* `claude-fable-5`: 10, 1, 12.5, 20, 50.
|
|
66
66
|
* `claude-opus-5-5`: 4, 0.2, 5, 8, 20.
|
|
67
67
|
* `claude-opus-5` and `claude-opus-4-8`: 5, 0.5, 6.25, 10, 25.
|
|
68
|
-
* `claude-sonnet-5-5
|
|
68
|
+
* `claude-sonnet-5-5`: 2, 0.1, 2.5, 4, 10. Anthropic halved its cache hits on 2026-10-07; Burn applies the current list price to every session, including earlier ones.
|
|
69
|
+
* `claude-sonnet-5`: 2, 0.2, 2.5, 4, 10.
|
|
70
|
+
* `claude-haiku-5-5`: 0.1, 0.01, 0.125, 0.2, 0.5 for prompts up to 100,000 tokens; every category is 5x above that (0.5, 0.05, 0.625, 1, 2.5).
|
|
69
71
|
* `claude-haiku-4-5-20251001`: 1, 0.1, 1.25, 2, 5.
|
|
70
72
|
|
|
71
73
|
The [OpenAI API price list](https://developers.openai.com/api/docs/pricing) supplies these standard rates in the order fresh input, cache read, cache write, output:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentguard-run/burn",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Local session usage and runaway-agent circuit breaker. Explain tokens, cache rewrites and API list cost, track pace, warn on heavy turns, and gate agent fan-out with signed receipts. Developer command ranking requires explicit --rank.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://agentguard.run/burn",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@napi-rs/canvas": "^1.0.9",
|
|
65
|
-
"@agentguard-run/spend": "0.
|
|
65
|
+
"@agentguard-run/spend": "0.22.0",
|
|
66
66
|
"ajv": "8.17.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|