budget-agent 0.4.9 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -191,7 +191,7 @@ const agent = new AgentBudget({
191
191
  method: 'POST',
192
192
  headers: {
193
193
  'x-api-key': process.env.ANTHROPIC_API_KEY!,
194
- 'anthropic-version': '2023-06-01',
194
+ 'anthropic-version': '2026-01-01',
195
195
  'content-type': 'application/json',
196
196
  },
197
197
  body: JSON.stringify({
@@ -388,7 +388,7 @@ const agent = new AgentBudget({
388
388
  limits: { maxCostUSD: 5.00 },
389
389
  adaptiveRouting: {
390
390
  fallbackChain: [
391
- 'anthropic/claude-opus-4.8-fast',
391
+ 'anthropic/claude-opus-4-8',
392
392
  'openai/gpt-5.5',
393
393
  'openrouter/free',
394
394
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "budget-agent",
3
- "version": "0.4.9",
3
+ "version": "0.5.0",
4
4
  "description": "Track AI agent costs, tokens, runtime and spending. Prevent runaway OpenAI, Anthropic, LangGraph and OpenRouter agents from exceeding budget.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",