@askalf/dario 5.5.20 → 5.5.21

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 CHANGED
@@ -243,6 +243,26 @@ dario uses your own subscription credentials, authenticates you as you, and impe
243
243
 
244
244
  ---
245
245
 
246
+ ## Will my account get suspended?
247
+
248
+ The most common question about dario, and it deserves a straight answer: **I can't promise you won't be actioned, and I'd be skeptical of anyone who does.** Only Anthropic decides how it enforces its terms. What I can do is lay out exactly how dario works, so you can weigh the risk yourself instead of taking anyone's word for it.
249
+
250
+ **What dario does:**
251
+
252
+ - **Runs entirely on your machine.** Your subscription token never touches my servers or anyone else's — requests go straight from your computer to Anthropic.
253
+ - **Authenticates as you, with your own Claude login** — the same OAuth credential Claude Code itself uses. It impersonates nobody and shares nothing.
254
+ - **Doesn't modify your account, billing, or subscription settings.**
255
+ - **Sends requests in the shape the official client sends them** — rebuilt from your own installed binary, not spoofed from a hardcoded fake.
256
+ - **Reports nothing, anywhere.** No telemetry, no analytics, nothing phones home — [verifiable in the source](#trust--transparency), which is the point of keeping it auditable in an afternoon.
257
+
258
+ **What dario does that Claude Code doesn't:** it lets tools *other than* Claude Code use that subscription. That's the whole point of it, and it's also the part that sits outside what Anthropic's own client does. Whether that falls within your plan's terms is Anthropic's call, not mine — read [their terms](https://www.anthropic.com/legal/consumer-terms), read [DISCLAIMER.md](./DISCLAIMER.md), and decide deliberately.
259
+
260
+ **On policy risk specifically:** Anthropic's position on third-party clients has moved before and can move again. dario is built to surface that fast rather than paper over it — see [The billing split](#the-billing-split--a-contingency-dario-is-built-for) for the contingency already in place and the daily canary watching for it.
261
+
262
+ Ongoing discussion, including other users' experiences: [#724](https://github.com/askalf/dario/discussions/724).
263
+
264
+ ---
265
+
246
266
  ## Who it's for
247
267
 
248
268
  **Best fit:** developers juggling multiple LLM tools and per-tool API keys · Claude Pro/Max subscribers who want their plan usable everywhere, not just in Claude Code · teams running local/hosted OpenAI-compat servers who want one stable local endpoint · Agent SDK users who want subscription routing with zero code change (`baseURL: 'http://localhost:3456'`) · power users wanting multi-account pooling + 429 failover.
@@ -262,7 +282,7 @@ Per-flag reference: [`docs/commands.md`](./docs/commands.md) · env vars grouped
262
282
  ## FAQ
263
283
 
264
284
  **Does this violate Anthropic's terms?**
265
- Mechanically, dario uses your existing Claude Code OAuth tokens — it authenticates you as you, with your subscription, through Anthropic's official endpoints. Whether any particular use complies with current terms is between you and Anthropic; consult their terms and your agreement. Independent, unofficial, third-party — see [DISCLAIMER.md](DISCLAIMER.md).
285
+ Mechanically, dario uses your existing Claude Code OAuth tokens — it authenticates you as you, with your subscription, through Anthropic's official endpoints. Whether any particular use complies with current terms is between you and Anthropic; consult their terms and your agreement. Independent, unofficial, third-party — see [DISCLAIMER.md](DISCLAIMER.md). On the suspension question specifically: [Will my account get suspended?](#will-my-account-get-suspended)
266
286
 
267
287
  **Do I need Claude Code installed?**
268
288
  Recommended, not required. With CC, `dario login` picks up credentials automatically and the template extractor reads your binary on every startup. Without it, dario runs its own OAuth flow and falls back to the bundled (scrubbed) template snapshot.
@@ -390,7 +390,7 @@ export declare function detectDrift(t: TemplateData, installedOverride?: string
390
390
  */
391
391
  export declare const SUPPORTED_CC_RANGE: {
392
392
  readonly min: "1.0.0";
393
- readonly maxTested: "2.1.234";
393
+ readonly maxTested: "2.1.235";
394
394
  };
395
395
  /**
396
396
  * Compare two dotted-numeric version strings. Returns negative if `a<b`,
@@ -1009,7 +1009,7 @@ export function detectDrift(t, installedOverride) {
1009
1009
  */
1010
1010
  export const SUPPORTED_CC_RANGE = {
1011
1011
  min: '1.0.0',
1012
- maxTested: '2.1.234',
1012
+ maxTested: '2.1.235',
1013
1013
  };
1014
1014
  /**
1015
1015
  * Compare two dotted-numeric version strings. Returns negative if `a<b`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askalf/dario",
3
- "version": "5.5.20",
3
+ "version": "5.5.21",
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": {
@@ -32,6 +32,7 @@
32
32
  "e2e": "node test/e2e.mjs",
33
33
  "stress": "node test/stress.mjs",
34
34
  "compat": "node test/compat.mjs",
35
+ "test:refresh-lock-race": "node test/integration/dual-instance-race.mjs",
35
36
  "lint:pkg": "node scripts/check-package-json.mjs",
36
37
  "drift:sdk": "node scripts/check-sdk-drift.mjs",
37
38
  "drift:wire": "node scripts/check-wire-drift.mjs",