@askalf/dario 4.8.107 → 4.8.108

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/analytics.js CHANGED
@@ -83,6 +83,8 @@ const PRICING = {
83
83
  'claude-opus-4-8': { input: 5, output: 25, cacheRead: 0.5, cacheCreate: 6.25 },
84
84
  'claude-opus-4-7': { input: 5, output: 25, cacheRead: 0.5, cacheCreate: 6.25 },
85
85
  'claude-opus-4-6': { input: 15, output: 75, cacheRead: 1.5, cacheCreate: 18.75 },
86
+ // Sonnet 5 standard $3/$15; intro $2/$10 through 2026-08-31 (display estimate, not date-modeled).
87
+ 'claude-sonnet-5': { input: 3, output: 15, cacheRead: 0.3, cacheCreate: 3.75 },
86
88
  'claude-sonnet-4-6': { input: 3, output: 15, cacheRead: 0.3, cacheCreate: 3.75 },
87
89
  'claude-haiku-4-5': { input: 0.8, output: 4, cacheRead: 0.08, cacheCreate: 1 },
88
90
  };
@@ -1196,7 +1196,7 @@ export function applyCcPromptCaching(ccRequest, cacheControl) {
1196
1196
  }
1197
1197
  }
1198
1198
  export function buildCCRequest(clientBody, billingTag, cacheControl, identity, opts = {}) {
1199
- const model = clientBody.model || 'claude-sonnet-4-6';
1199
+ const model = clientBody.model || 'claude-sonnet-5';
1200
1200
  const isHaiku = model.toLowerCase().includes('haiku');
1201
1201
  const messages = clientBody.messages || [];
1202
1202
  const clientTools = clientBody.tools;
package/dist/cli.js CHANGED
@@ -1176,7 +1176,7 @@ async function help() {
1176
1176
  --model=MODEL Force a model for all requests
1177
1177
  Shortcuts: fable, fable1m, opus, sonnet, haiku
1178
1178
  Full IDs: claude-fable-5, claude-opus-4-8,
1179
- claude-sonnet-4-6 (append [1m] for 1M context)
1179
+ claude-sonnet-5 (append [1m] for 1M context)
1180
1180
  Provider prefix: openai:gpt-4o, groq:llama-3.3-70b,
1181
1181
  claude:opus, local:qwen-coder (forces backend)
1182
1182
  Default: passthrough (client decides)
package/dist/doctor.js CHANGED
@@ -179,7 +179,7 @@ export function probeNpmLatestCC() {
179
179
  */
180
180
  const PROBE_FAMILIES = [
181
181
  { family: 'haiku', model: 'claude-haiku-4-5' },
182
- { family: 'sonnet', model: 'claude-sonnet-4-6' },
182
+ { family: 'sonnet', model: 'claude-sonnet-5' },
183
183
  { family: 'opus', model: 'claude-opus-4-8' },
184
184
  { family: 'fable', model: 'claude-fable-5' },
185
185
  ];
@@ -40,6 +40,7 @@ export const BAKED_BASE_MODELS = [
40
40
  'claude-opus-4-8',
41
41
  'claude-opus-4-7',
42
42
  'claude-opus-4-6',
43
+ 'claude-sonnet-5',
43
44
  'claude-sonnet-4-6',
44
45
  'claude-haiku-4-5',
45
46
  ];
package/dist/proxy.js CHANGED
@@ -157,8 +157,9 @@ const MODEL_ALIASES = {
157
157
  'opus47': 'claude-opus-4-7',
158
158
  'opus46': 'claude-opus-4-6',
159
159
  'opus1m': 'claude-opus-4-8[1m]',
160
- 'sonnet': 'claude-sonnet-4-6',
161
- 'sonnet1m': 'claude-sonnet-4-6[1m]',
160
+ 'sonnet': 'claude-sonnet-5',
161
+ 'sonnet46': 'claude-sonnet-4-6',
162
+ 'sonnet1m': 'claude-sonnet-5[1m]',
162
163
  'haiku': 'claude-haiku-4-5',
163
164
  };
164
165
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askalf/dario",
3
- "version": "4.8.107",
3
+ "version": "4.8.108",
4
4
  "description": "Use your Claude Pro/Max subscription in any tool — Cursor, Cline, Aider, the Agent SDK, your scripts — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint.",
5
5
  "type": "module",
6
6
  "bin": {