@askalf/dario 4.8.106 → 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 +2 -0
- package/dist/cc-template.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/doctor.js +1 -1
- package/dist/live-fingerprint.d.ts +1 -1
- package/dist/live-fingerprint.js +1 -1
- package/dist/model-catalog.js +1 -0
- package/dist/proxy.js +3 -2
- package/package.json +1 -1
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
|
};
|
package/dist/cc-template.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|
];
|
|
@@ -282,7 +282,7 @@ export declare function _resetInstalledVersionProbeForTest(): void;
|
|
|
282
282
|
*/
|
|
283
283
|
export declare const SUPPORTED_CC_RANGE: {
|
|
284
284
|
readonly min: "1.0.0";
|
|
285
|
-
readonly maxTested: "2.1.
|
|
285
|
+
readonly maxTested: "2.1.197";
|
|
286
286
|
};
|
|
287
287
|
/**
|
|
288
288
|
* Compare two dotted-numeric version strings. Returns negative if `a<b`,
|
package/dist/live-fingerprint.js
CHANGED
|
@@ -786,7 +786,7 @@ export function _resetInstalledVersionProbeForTest() {
|
|
|
786
786
|
*/
|
|
787
787
|
export const SUPPORTED_CC_RANGE = {
|
|
788
788
|
min: '1.0.0',
|
|
789
|
-
maxTested: '2.1.
|
|
789
|
+
maxTested: '2.1.197',
|
|
790
790
|
};
|
|
791
791
|
/**
|
|
792
792
|
* Compare two dotted-numeric version strings. Returns negative if `a<b`,
|
package/dist/model-catalog.js
CHANGED
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-
|
|
161
|
-
'
|
|
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.
|
|
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": {
|