exe-watcher 0.2.48 → 0.2.49
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/dist/cli.js +6 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -194,6 +194,8 @@ function calculateCost(model, inputTokens, outputTokens, cacheCreationTokens, ca
|
|
|
194
194
|
function getShortModelName(model) {
|
|
195
195
|
const canonical = resolveAlias(getCanonicalName(model));
|
|
196
196
|
const shortNames2 = {
|
|
197
|
+
"claude-fable-5": "Fable 5",
|
|
198
|
+
"claude-opus-4-8": "Opus 4.8",
|
|
197
199
|
"claude-opus-4-7": "Opus 4.7",
|
|
198
200
|
"claude-opus-4-6": "Opus 4.6",
|
|
199
201
|
"claude-opus-4-5": "Opus 4.5",
|
|
@@ -277,6 +279,8 @@ var init_models = __esm({
|
|
|
277
279
|
GEMINI_LONG_CONTEXT_THRESHOLD_TOKENS = 2e5;
|
|
278
280
|
DIRECT_PROVIDER_PREFIXES = ["openai/", "anthropic/", "google/", "vertex_ai/", "minimax/"];
|
|
279
281
|
FALLBACK_PRICING = {
|
|
282
|
+
"claude-fable-5": { inputCostPerToken: 1e-5, outputCostPerToken: 5e-5, cacheWriteCostPerToken: 125e-7, cacheReadCostPerToken: 1e-6, webSearchCostPerRequest: WEB_SEARCH_COST, fastMultiplier: 1 },
|
|
283
|
+
"claude-opus-4-8": { inputCostPerToken: 5e-6, outputCostPerToken: 25e-6, cacheWriteCostPerToken: 625e-8, cacheReadCostPerToken: 5e-7, webSearchCostPerRequest: WEB_SEARCH_COST, fastMultiplier: 1 },
|
|
280
284
|
"claude-opus-4-7": { inputCostPerToken: 5e-6, outputCostPerToken: 25e-6, cacheWriteCostPerToken: 625e-8, cacheReadCostPerToken: 5e-7, webSearchCostPerRequest: WEB_SEARCH_COST, fastMultiplier: 6 },
|
|
281
285
|
"claude-opus-4-6": { inputCostPerToken: 5e-6, outputCostPerToken: 25e-6, cacheWriteCostPerToken: 625e-8, cacheReadCostPerToken: 5e-7, webSearchCostPerRequest: WEB_SEARCH_COST, fastMultiplier: 6 },
|
|
282
286
|
"claude-opus-4-5": { inputCostPerToken: 5e-6, outputCostPerToken: 25e-6, cacheWriteCostPerToken: 625e-8, cacheReadCostPerToken: 5e-7, webSearchCostPerRequest: WEB_SEARCH_COST, fastMultiplier: 1 },
|
|
@@ -363,6 +367,8 @@ var init_models = __esm({
|
|
|
363
367
|
_pricingLastUpdated = null;
|
|
364
368
|
STALENESS_WARN_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
365
369
|
BUILTIN_ALIASES = {
|
|
370
|
+
"anthropic--claude-4.8-opus": "claude-opus-4-8",
|
|
371
|
+
"anthropic--claude-4.7-opus": "claude-opus-4-7",
|
|
366
372
|
"anthropic--claude-4.6-opus": "claude-opus-4-6",
|
|
367
373
|
"anthropic--claude-4.6-sonnet": "claude-sonnet-4-6",
|
|
368
374
|
"anthropic--claude-4.5-opus": "claude-opus-4-5",
|
package/package.json
CHANGED