@askalf/dario 4.8.42 → 4.8.43

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.
@@ -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.168";
285
+ readonly maxTested: "2.1.169";
286
286
  };
287
287
  /**
288
288
  * Compare two dotted-numeric version strings. Returns negative if `a<b`,
@@ -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.168',
789
+ maxTested: '2.1.169',
790
790
  };
791
791
  /**
792
792
  * Compare two dotted-numeric version strings. Returns negative if `a<b`,
package/dist/proxy.d.ts CHANGED
@@ -198,9 +198,11 @@ interface ProxyOptions {
198
198
  * <this>` (the per-token API pool) instead of the Pro/Max OAuth bearer.
199
199
  * When set, OAuth/getAccessToken and the account pool are bypassed entirely
200
200
  * — dario becomes a thin per-token Anthropic proxy. Default (unset) keeps
201
- * the subscription-OAuth behavior. Used by the self-hosted compat workflow
202
- * so it can route the suite THROUGH dario without tripping the subscription
203
- * pool's ~3/min cap. Sourced from ANTHROPIC_UPSTREAM_API_KEY (env-only never
201
+ * the subscription-OAuth behavior. Used by the self-hosted compat workflow so
202
+ * it can route the suite THROUGH dario on the per-token pool — required
203
+ * because compat runs dario in --passthrough (non-CC-shaped) and the Max OAuth
204
+ * pool rejects non-CC traffic outright ("429 Rate limited (rejected)"), not a
205
+ * rate cap. Sourced from ANTHROPIC_UPSTREAM_API_KEY (env-only — never
204
206
  * a CLI flag, so the key never lands in `ps`/argv).
205
207
  */
206
208
  upstreamApiKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askalf/dario",
3
- "version": "4.8.42",
3
+ "version": "4.8.43",
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": {