@agentguard-run/burn 0.2.2 → 0.2.5

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +39 -2
  2. package/LICENSE +9 -10
  3. package/README.md +96 -16
  4. package/dist/src/adapters/codex.js +11 -1
  5. package/dist/src/adapters/cursor.js +2 -2
  6. package/dist/src/cli.js +40 -13
  7. package/dist/src/conformance.js +3 -1
  8. package/dist/src/defaults.d.ts +9 -8
  9. package/dist/src/defaults.js +9 -8
  10. package/dist/src/detectors/evaluate.d.ts +5 -2
  11. package/dist/src/detectors/evaluate.js +26 -2
  12. package/dist/src/eligibility.d.ts +17 -0
  13. package/dist/src/eligibility.js +29 -0
  14. package/dist/src/gateway.d.ts +2 -0
  15. package/dist/src/gateway.js +6 -3
  16. package/dist/src/hook/pre-tool-use.d.ts +2 -0
  17. package/dist/src/hook/pre-tool-use.js +93 -63
  18. package/dist/src/insights/attribution.d.ts +4 -0
  19. package/dist/src/insights/attribution.js +151 -0
  20. package/dist/src/insights/live.d.ts +53 -0
  21. package/dist/src/insights/live.js +211 -0
  22. package/dist/src/insights/pace.d.ts +34 -0
  23. package/dist/src/insights/pace.js +54 -0
  24. package/dist/src/insights/pricing.d.ts +48 -0
  25. package/dist/src/insights/pricing.js +139 -0
  26. package/dist/src/insights/render.d.ts +8 -0
  27. package/dist/src/insights/render.js +126 -0
  28. package/dist/src/insights/sessions.d.ts +12 -0
  29. package/dist/src/insights/sessions.js +51 -0
  30. package/dist/src/insights/transcript.d.ts +12 -0
  31. package/dist/src/insights/transcript.js +492 -0
  32. package/dist/src/insights/types.d.ts +157 -0
  33. package/dist/src/insights/types.js +4 -0
  34. package/dist/src/install.js +14 -5
  35. package/dist/src/replay/render.js +1 -1
  36. package/dist/src/state/account.d.ts +3 -0
  37. package/dist/src/state/account.js +39 -0
  38. package/dist/src/state/reservations.d.ts +5 -5
  39. package/dist/src/state/reservations.js +60 -45
  40. package/dist/src/types.d.ts +6 -0
  41. package/docs/USAGE_AND_PRICING.md +132 -0
  42. package/fixtures/codex-0.151.0-pretooluse.json +11 -11
  43. package/package.json +4 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agentguard-run/burn",
3
- "version": "0.2.2",
4
- "description": "Local runaway-agent circuit breaker for AI coding agents and local model runtimes. One policy across Claude Code, Cursor, Codex, Ollama, vLLM, LM Studio and raw orchestrators: detects fan-out storms and sustained token burn, blocks the next spawn, and proves what happened with content-free signed receipts. Nothing leaves the machine.",
3
+ "version": "0.2.5",
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. Nothing leaves the machine.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "commonjs",
7
7
  "main": "dist/src/index.js",
@@ -37,7 +37,8 @@
37
37
  "fixtures",
38
38
  "README.md",
39
39
  "CHANGELOG.md",
40
- "LICENSE"
40
+ "LICENSE",
41
+ "docs"
41
42
  ],
42
43
  "engines": {
43
44
  "node": ">=20.0.0"