@askalf/dario 3.37.15 → 3.37.17
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/README.md +26 -0
- package/dist/doctor.js +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,6 +96,29 @@ Already have **Pro + Max** stacked? Pool mode (`dario accounts add work` / `dari
|
|
|
96
96
|
|
|
97
97
|
---
|
|
98
98
|
|
|
99
|
+
## What changes 2026-06-15 (and why dario doesn't)
|
|
100
|
+
|
|
101
|
+
Anthropic announced that starting **2026-06-15**, Claude Agent SDK and `claude -p` (Claude Code headless mode) usage will no longer count toward Claude plan usage limits. Eligible plans get a separate fixed monthly credit instead — **$20/mo on Pro, $100/mo on Max 5x, $200/mo on Max 20x**. Once exhausted, those calls go to metered API pricing.
|
|
102
|
+
|
|
103
|
+
For autonomous workloads — long-running coding agents, background scripts, anything that runs unattended — that credit pool is small. A single sustained Cline or Aider session can chew through $100 in an evening; agentic workloads blow past $200 in days.
|
|
104
|
+
|
|
105
|
+
**Dario is unaffected by this split.** The Claude backend was designed from day one to send requests as **interactive Claude Code wire-shape** — full template replay from your installed CC binary (headers, body key order, TLS stack, session-id lifecycle). The upstream billing path sees a Claude Code interactive session, not a `claude -p` invocation or an Agent SDK call, regardless of what tool actually originated the request locally. That's the whole point of the wire-fidelity work in [`docs/wire-fidelity.md`](./docs/wire-fidelity.md) — and it was already shipping in production before the 2026-06-15 announcement.
|
|
106
|
+
|
|
107
|
+
What this means concretely:
|
|
108
|
+
|
|
109
|
+
| Setup | Pre-2026-06-15 | Post-2026-06-15 |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| Cline / Aider / Cursor → Anthropic API direct with API key | Per-token API billing | Per-token API billing (unchanged) |
|
|
112
|
+
| Cline / Aider / Cursor → naive proxy that passes `claude -p` / Agent SDK calls through unchanged | Subscription pool | **Separate $20–200/mo credit pool, then per-token API** |
|
|
113
|
+
| **Cline / Aider / Cursor → dario** | **Subscription pool** | **Subscription pool (unchanged — dario rewrites as interactive CC)** |
|
|
114
|
+
| Claude Code itself, used interactively | Subscription pool | Subscription pool (unchanged) |
|
|
115
|
+
|
|
116
|
+
If you're coming from a proxy that doesn't replay the full CC wire shape, your agentic workloads are about to land in the smaller credit bucket on 2026-06-15. Dario keeps them on the subscription pool you already pay for.
|
|
117
|
+
|
|
118
|
+
Same install. Same `localhost:3456`. No config change needed for the cliff. Full technical breakdown — including the two diagnostic checks you can run after 2026-06-15 lands to verify the classification on your own setup — is in [`docs/why-now-2026-06.md`](./docs/why-now-2026-06.md).
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
99
122
|
## Why you'll install this
|
|
100
123
|
|
|
101
124
|
- **One URL for every provider.** Cursor, Aider, Continue, Zed, OpenHands, Claude Code, your own scripts — every tool you own has its own per-provider config. Dario collapses that into a single `localhost:3456` that speaks both Anthropic and OpenAI protocols and routes by model name.
|
|
@@ -286,6 +309,9 @@ No reinstall. `dario login` re-uses any existing Claude Code credentials on your
|
|
|
286
309
|
**I'm seeing `representative-claim: seven_day` in my rate-limit headers — am I being downgraded?**
|
|
287
310
|
**No.** Both `five_hour` and `seven_day` are subscription billing — different accounting buckets inside the same subscription mode. `overage` is the one that flips you to per-token. See [Discussion #1](https://github.com/askalf/dario/discussions/1) for the full rate-limit-header breakdown.
|
|
288
311
|
|
|
312
|
+
**I heard Anthropic is moving `claude -p` and Agent SDK to a separate credit pool on 2026-06-15. Will my dario setup break?**
|
|
313
|
+
**No.** Dario rewrites every outbound request to look like an interactive Claude Code session before it hits `api.anthropic.com` — headers, body, TLS, session-id lifecycle. The upstream billing classifier sees interactive CC, not `claude -p` or Agent SDK, regardless of which local tool originated the call. Your workloads continue billing against your existing Pro / Max 5x / Max 20x subscription pool, same as today. Naive proxies that pass `claude -p` requests through unchanged will see their users' agentic traffic shift to the new $20–200/mo credit pool and then to metered API pricing — but that's not how dario was built. See the [2026-06-15 section](#what-changes-2026-06-15-and-why-dario-doesnt) above for the full breakdown.
|
|
314
|
+
|
|
289
315
|
---
|
|
290
316
|
|
|
291
317
|
## Technical deep dives
|
package/dist/doctor.js
CHANGED
|
@@ -193,10 +193,15 @@ export async function runChecks(opts = {}) {
|
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
|
+
// CC not installed locally is the correct, intended state for containerized
|
|
197
|
+
// deploys and CI runners — dario uses the bundled scrubbed template (whose
|
|
198
|
+
// freshness is surfaced by the separate "Template" row below). Marking
|
|
199
|
+
// this WARN scared container users into thinking something was broken;
|
|
200
|
+
// it's INFO with a hint pointing at the install upside instead.
|
|
196
201
|
checks.push({
|
|
197
|
-
status: '
|
|
202
|
+
status: 'info',
|
|
198
203
|
label: 'CC binary',
|
|
199
|
-
detail: 'not
|
|
204
|
+
detail: 'not installed locally — dario uses the bundled template. (Install @anthropic-ai/claude-code if you want auto-refresh from your own CC binary.)',
|
|
200
205
|
});
|
|
201
206
|
}
|
|
202
207
|
// ---- Template source
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askalf/dario",
|
|
3
|
-
"version": "3.37.
|
|
3
|
+
"version": "3.37.17",
|
|
4
4
|
"description": "A local LLM router. One endpoint, every provider — Claude subscriptions, OpenAI, OpenRouter, Groq, local LiteLLM, any OpenAI-compat endpoint — your tools don't need to change.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|