@askalf/dario
Advanced tools
@@ -504,11 +504,2 @@ /** | ||
| }>(tools: T[]): T[]; | ||
| /** | ||
| * A genuine Claude Code client is identified by TWO markers together: | ||
| * the `x-anthropic-billing-header:` system block at [0] (the discriminator | ||
| * extractSystemText and extractTemplate key on) AND CC's own identity block | ||
| * at [1] ("You are Claude Code…" / the Claude Agent SDK variant). Requiring | ||
| * both keeps a non-CC framework that replays a billing-tagged body (e.g. a | ||
| * Kilo client behind a second proxy hop) on the detector path instead of | ||
| * passthrough. Exported for tests. | ||
| */ | ||
| export declare function isGenuineCCClient(clientBody: Record<string, unknown>): boolean; | ||
@@ -515,0 +506,0 @@ export declare function buildCCRequest(clientBody: Record<string, unknown>, billingTag: string, cacheControl: CacheControl, identity: { |
+1
-1
| { | ||
| "name": "@askalf/dario", | ||
| "version": "4.8.147", | ||
| "version": "4.8.148", | ||
| "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,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1389995
0.08%26981
0.06%