@askalf/dario 4.8.133 → 4.8.134

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/proxy.d.ts CHANGED
@@ -64,9 +64,8 @@ export declare const CLAUDE_CODE_BETA = "claude-code-20250219";
64
64
  * it, ORDER included:
65
65
  *
66
66
  * opus-4-8 = base (unchanged)
67
- * sonnet-5 = base (unchanged KEEPS
68
- * mid-conversation-system; the old 2.1.170 sonnet-4-6 drop is
69
- * gone: 2.1.199 sonnet == opus)
67
+ * sonnet-5 = base − {mid-conversation-system} (CC 2.1.201 dropped it
68
+ * from sonnet; 2.1.199 sonnet == opus and still kept it — #667)
70
69
  * haiku-4-5 = base − {mid-conversation-system, effort, afk-mode}, and
71
70
  * claude-code-20250219 MOVED to position 5 (before advisor-tool)
72
71
  * fable-5 = base + fallback-credit-2026-06-01 inserted BEFORE afk-mode
package/dist/proxy.js CHANGED
@@ -323,9 +323,8 @@ function moveBetaBefore(flags, flag, anchor) {
323
323
  * it, ORDER included:
324
324
  *
325
325
  * opus-4-8 = base (unchanged)
326
- * sonnet-5 = base (unchanged KEEPS
327
- * mid-conversation-system; the old 2.1.170 sonnet-4-6 drop is
328
- * gone: 2.1.199 sonnet == opus)
326
+ * sonnet-5 = base − {mid-conversation-system} (CC 2.1.201 dropped it
327
+ * from sonnet; 2.1.199 sonnet == opus and still kept it — #667)
329
328
  * haiku-4-5 = base − {mid-conversation-system, effort, afk-mode}, and
330
329
  * claude-code-20250219 MOVED to position 5 (before advisor-tool)
331
330
  * fable-5 = base + fallback-credit-2026-06-01 inserted BEFORE afk-mode
@@ -354,10 +353,15 @@ export function betaForModel(base, model, skipContext1m = false) {
354
353
  flags = flags.filter((f) => !drop.has(f));
355
354
  flags = moveBetaBefore(flags, CLAUDE_CODE_BETA, ADVISOR_TOOL_BETA);
356
355
  }
356
+ else if (m.includes('sonnet')) {
357
+ // CC 2.1.201 dropped mid-conversation-system from sonnet's beta set (2.1.199
358
+ // sonnet == opus and still carried it — live capture #667). opus + fable keep it.
359
+ flags = flags.filter((f) => f !== MID_CONVERSATION_SYSTEM_BETA);
360
+ }
357
361
  else if (m.includes('fable')) {
358
362
  flags = insertBetaBefore(flags, FABLE_FALLBACK_CREDIT_BETA, AFK_MODE_BETA);
359
363
  }
360
- // opus + sonnet + unknown families keep the base set unchanged.
364
+ // opus + unknown families keep the base set unchanged.
361
365
  if (/\[1m\]$/.test(m) && !skipContext1m) {
362
366
  flags = insertBetaAfter(flags, CONTEXT_1M_BETA, CLAUDE_CODE_BETA);
363
367
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askalf/dario",
3
- "version": "4.8.133",
3
+ "version": "4.8.134",
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": {