@smithers-orchestrator/usage 0.23.0 → 0.24.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithers-orchestrator/usage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.2",
|
|
4
4
|
"description": "Report how much rate limit or subscription quota each registered Smithers account has consumed, across Claude, Codex, OpenAI, Anthropic, and Google providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"src/"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@smithers-orchestrator/errors": "0.
|
|
24
|
-
"@smithers-orchestrator/accounts": "0.
|
|
23
|
+
"@smithers-orchestrator/errors": "0.24.2",
|
|
24
|
+
"@smithers-orchestrator/accounts": "0.24.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/bun": "latest",
|
|
@@ -5,7 +5,7 @@ import { parseAnthropicRateLimitHeaders } from "./parseAnthropicRateLimitHeaders
|
|
|
5
5
|
const COUNT_TOKENS_URL = "https://api.anthropic.com/v1/messages/count_tokens";
|
|
6
6
|
|
|
7
7
|
/** The count_tokens probe needs a valid model id but generates no output tokens. */
|
|
8
|
-
const PROBE_MODEL = process.env.SMITHERS_ANTHROPIC_PROBE_MODEL ?? "claude-
|
|
8
|
+
const PROBE_MODEL = process.env.SMITHERS_ANTHROPIC_PROBE_MODEL ?? "claude-fable-5";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Reads live Anthropic rate-limit headers for an API-key account. Uses the
|