@askalf/dario 6.0.46 → 6.0.48
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.
|
@@ -496,7 +496,7 @@ export declare function detectDrift(t: TemplateData, installedOverride?: string
|
|
|
496
496
|
*/
|
|
497
497
|
export declare const SUPPORTED_CC_RANGE: {
|
|
498
498
|
readonly min: "1.0.0";
|
|
499
|
-
readonly maxTested: "2.1.
|
|
499
|
+
readonly maxTested: "2.1.268";
|
|
500
500
|
};
|
|
501
501
|
/**
|
|
502
502
|
* Compare two dotted-numeric version strings. Returns negative if `a<b`,
|
package/dist/live-fingerprint.js
CHANGED
|
@@ -1194,7 +1194,7 @@ export function detectDrift(t, installedOverride) {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
export const SUPPORTED_CC_RANGE = {
|
|
1196
1196
|
min: '1.0.0',
|
|
1197
|
-
maxTested: '2.1.
|
|
1197
|
+
maxTested: '2.1.268',
|
|
1198
1198
|
};
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Compare two dotted-numeric version strings. Returns negative if `a<b`,
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
/** Backward-compatible selection of a pool-fallback target for one request.
|
|
2
2
|
* A bare value or comma-separated model chain retains the legacy meaning.
|
|
3
|
-
* Tier maps use `tier:model`, e.g. `haiku:gpt-5.
|
|
3
|
+
* Tier maps use `tier:model`, e.g. `haiku:gpt-5.6-luna,sonnet:gpt-5.6-terra`.
|
|
4
4
|
* Unknown models use `default`, or the first (normally cheapest) configured tier.
|
|
5
|
+
*
|
|
6
|
+
* The Codex rungs are named for a size ladder — `sol` (sun) > `terra` (earth) >
|
|
7
|
+
* `luna` (moon) — which is why the tier tests below read model NAMES rather
|
|
8
|
+
* than any stated capability: the backend publishes a routable set and no tier
|
|
9
|
+
* metadata, so the ladder is the only signal there is. `luna` was added when
|
|
10
|
+
* codex-drift-watch reported the account-visible list as `gpt-5.5`,
|
|
11
|
+
* `gpt-5.6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-reserve` (dario#1272);
|
|
12
|
+
* `gpt-5.4-mini`, the previous example here, is no longer on that list.
|
|
5
13
|
*/
|
|
6
14
|
export declare function selectPoolFallbackModels(spec: string | undefined, requestedModel: string): string[];
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
/** Backward-compatible selection of a pool-fallback target for one request.
|
|
2
2
|
* A bare value or comma-separated model chain retains the legacy meaning.
|
|
3
|
-
* Tier maps use `tier:model`, e.g. `haiku:gpt-5.
|
|
3
|
+
* Tier maps use `tier:model`, e.g. `haiku:gpt-5.6-luna,sonnet:gpt-5.6-terra`.
|
|
4
4
|
* Unknown models use `default`, or the first (normally cheapest) configured tier.
|
|
5
|
+
*
|
|
6
|
+
* The Codex rungs are named for a size ladder — `sol` (sun) > `terra` (earth) >
|
|
7
|
+
* `luna` (moon) — which is why the tier tests below read model NAMES rather
|
|
8
|
+
* than any stated capability: the backend publishes a routable set and no tier
|
|
9
|
+
* metadata, so the ladder is the only signal there is. `luna` was added when
|
|
10
|
+
* codex-drift-watch reported the account-visible list as `gpt-5.5`,
|
|
11
|
+
* `gpt-5.6-luna`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-reserve` (dario#1272);
|
|
12
|
+
* `gpt-5.4-mini`, the previous example here, is no longer on that list.
|
|
5
13
|
*/
|
|
6
14
|
export function selectPoolFallbackModels(spec, requestedModel) {
|
|
7
15
|
const entries = (spec ?? '').trim().split(',').map((entry) => entry.trim()).filter(Boolean);
|
|
@@ -19,7 +27,7 @@ export function selectPoolFallbackModels(spec, requestedModel) {
|
|
|
19
27
|
tiers.set(tier, model);
|
|
20
28
|
}
|
|
21
29
|
const model = requestedModel.toLowerCase();
|
|
22
|
-
const tier = /haiku|mini|small/.test(model) ? 'haiku'
|
|
30
|
+
const tier = /haiku|mini|small|luna/.test(model) ? 'haiku'
|
|
23
31
|
: /opus|sol|large/.test(model) ? 'opus'
|
|
24
32
|
: /sonnet|terra|medium/.test(model) ? 'sonnet'
|
|
25
33
|
: 'default';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askalf/dario",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.48",
|
|
4
4
|
"description": "Use your Claude and ChatGPT subscriptions in Cursor, Cline, Aider, Claude Code and the Agent SDK — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint: either plan answers either wire shape, with automatic failover when one hits its limit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|