@askalf/dario 3.2.2 → 3.2.3

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.js CHANGED
@@ -731,12 +731,9 @@ export async function startProxy(opts = {}) {
731
731
  beta += ',' + clientBeta;
732
732
  }
733
733
  else {
734
- // CC v2.1.104 beta set — context-1m only for Sonnet 4.6 (CC gates it via feature flag)
735
- const baseBetas = 'claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advisor-tool-2026-03-01,effort-2025-11-24';
736
- const isSonnet46 = requestModel.includes('sonnet-4-6') || requestModel.includes('sonnet46');
737
- beta = isSonnet46
738
- ? 'claude-code-20250219,oauth-2025-04-20,context-1m-2025-08-07,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advisor-tool-2026-03-01,effort-2025-11-24'
739
- : baseBetas;
734
+ // CC v2.1.104 beta set — context-1m excluded (requires Extra Usage enabled,
735
+ // CC only adds it via coral_reef_sonnet feature flag which most accounts don't have)
736
+ beta = 'claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advisor-tool-2026-03-01,effort-2025-11-24';
740
737
  if (clientBeta) {
741
738
  const baseSet = new Set(beta.split(','));
742
739
  const filtered = filterBillableBetas(clientBeta)
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "@askalf/dario",
3
- "version": "3.2.2",
4
- "description": "Use your Claude subscription as an API. No API key needed. Local proxy for Claude Max/Pro subscriptions.",
5
- "type": "module",
6
- "bin": {
7
- "dario": "./dist/cli.js"
8
- },
9
- "main": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- }
16
- },
17
- "files": [
18
- "dist",
19
- "README.md",
20
- "LICENSE"
21
- ],
22
- "scripts": {
23
- "build": "tsc && cp src/cc-template-data.json dist/",
24
- "audit": "npm audit --production --audit-level=high",
25
- "prepublishOnly": "npm run build",
26
- "start": "node dist/cli.js",
27
- "dev": "tsx src/cli.ts",
28
- "e2e": "node test/e2e.mjs",
29
- "compat": "node test/compat.mjs"
30
- },
31
- "keywords": [
32
- "claude",
33
- "anthropic",
34
- "oauth",
35
- "proxy",
36
- "api",
37
- "bridge",
38
- "subscription",
39
- "claude-max",
40
- "claude-pro",
41
- "llm",
42
- "ai",
43
- "cli",
44
- "developer-tools"
45
- ],
46
- "author": "askalf (https://github.com/askalf)",
47
- "license": "MIT",
48
- "repository": {
49
- "type": "git",
50
- "url": "https://github.com/askalf/dario.git"
51
- },
52
- "homepage": "https://github.com/askalf/dario",
53
- "bugs": {
54
- "url": "https://github.com/askalf/dario/issues"
55
- },
56
- "engines": {
57
- "node": ">=18.0.0"
58
- },
59
- "devDependencies": {
60
- "@types/node": "^22.0.0",
61
- "tsx": "^4.19.0",
62
- "typescript": "^5.7.0"
63
- }
64
- }
1
+ {
2
+ "name": "@askalf/dario",
3
+ "version": "3.2.3",
4
+ "description": "Use your Claude subscription as an API. No API key needed. Local proxy for Claude Max/Pro subscriptions.",
5
+ "type": "module",
6
+ "bin": {
7
+ "dario": "./dist/cli.js"
8
+ },
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md",
20
+ "LICENSE"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc && cp src/cc-template-data.json dist/",
24
+ "audit": "npm audit --production --audit-level=high",
25
+ "prepublishOnly": "npm run build",
26
+ "start": "node dist/cli.js",
27
+ "dev": "tsx src/cli.ts",
28
+ "e2e": "node test/e2e.mjs",
29
+ "compat": "node test/compat.mjs"
30
+ },
31
+ "keywords": [
32
+ "claude",
33
+ "anthropic",
34
+ "oauth",
35
+ "proxy",
36
+ "api",
37
+ "bridge",
38
+ "subscription",
39
+ "claude-max",
40
+ "claude-pro",
41
+ "llm",
42
+ "ai",
43
+ "cli",
44
+ "developer-tools"
45
+ ],
46
+ "author": "askalf (https://github.com/askalf)",
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/askalf/dario.git"
51
+ },
52
+ "homepage": "https://github.com/askalf/dario",
53
+ "bugs": {
54
+ "url": "https://github.com/askalf/dario/issues"
55
+ },
56
+ "engines": {
57
+ "node": ">=18.0.0"
58
+ },
59
+ "devDependencies": {
60
+ "@types/node": "^22.0.0",
61
+ "tsx": "^4.19.0",
62
+ "typescript": "^5.7.0"
63
+ }
64
+ }