dsh-coding-subscription-oauth 0.7.1 → 0.8.1

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +313 -297
  2. package/CONTRIBUTING.md +138 -138
  3. package/INSTALL.md +249 -243
  4. package/LICENSE +19 -19
  5. package/NOTICE +11 -11
  6. package/README.de.md +309 -303
  7. package/README.es.md +310 -304
  8. package/README.fr.md +310 -304
  9. package/README.ja.md +310 -304
  10. package/README.ko.md +310 -304
  11. package/README.md +327 -321
  12. package/README.pt-BR.md +310 -304
  13. package/README.ru.md +310 -304
  14. package/README.zh-CN.md +325 -319
  15. package/compatibility/dsh-bom.json +36 -36
  16. package/cordis.patch.yml +13 -13
  17. package/docs/00-project-rules.md +213 -213
  18. package/docs/02-architecture.md +139 -138
  19. package/docs/02-architecture.zh-CN.md +139 -138
  20. package/lib/bin.js +13 -6
  21. package/lib/bin.js.map +3 -3
  22. package/lib/client.js +3 -3
  23. package/lib/client.js.map +4 -4
  24. package/lib/gateway-auth.d.ts +1 -0
  25. package/lib/gateway-auth.d.ts.map +1 -1
  26. package/lib/gateway-config.d.ts +4 -0
  27. package/lib/gateway-config.d.ts.map +1 -1
  28. package/lib/gateway-http.d.ts +5 -0
  29. package/lib/gateway-http.d.ts.map +1 -1
  30. package/lib/gateway-opencode-go.d.ts +22 -0
  31. package/lib/gateway-opencode-go.d.ts.map +1 -0
  32. package/lib/gateway.d.ts +2 -0
  33. package/lib/gateway.d.ts.map +1 -1
  34. package/lib/index.js +276 -63
  35. package/lib/index.js.map +4 -4
  36. package/lib/invariant.js.map +1 -1
  37. package/package.json +226 -226
  38. package/patches/dsh-agy@0.1.2.patch +25 -25
  39. package/scripts/release.mjs +187 -187
  40. package/scripts/smoke-deployed-routes.mjs +146 -146
  41. package/scripts/verify-adapter-host.mjs +70 -70
  42. package/scripts/verify-deployed-catalog.mjs +87 -87
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/invariant.ts"],
4
- "sourcesContent": ["/**\n * Package-owned invariant companion for `dsh-coding-subscription-oauth`.\n * @module dsh-coding-subscription-oauth/invariant\n */\n\nimport type { Context } from \"@deepseek-ai/cordis\";\nimport type { InvariantInstaller } from \"@deepseek-ai/dsh-invariants\";\n\nconst PACKAGE_NAME = \"dsh-coding-subscription-oauth\";\n\nexport const name = \"grok-build-invariant\";\nexport const inject = [\"invariants\"];\n\nconst install: InvariantInstaller = () => {};\n\nexport const apply = (ctx: Context): Promise<() => void> =>\n\tPromise.resolve(ctx.invariants.register(PACKAGE_NAME, install));\n"],
4
+ "sourcesContent": ["/**\r\n * Package-owned invariant companion for `dsh-coding-subscription-oauth`.\r\n * @module dsh-coding-subscription-oauth/invariant\r\n */\r\n\r\nimport type { Context } from \"@deepseek-ai/cordis\";\r\nimport type { InvariantInstaller } from \"@deepseek-ai/dsh-invariants\";\r\n\r\nconst PACKAGE_NAME = \"dsh-coding-subscription-oauth\";\r\n\r\nexport const name = \"grok-build-invariant\";\r\nexport const inject = [\"invariants\"];\r\n\r\nconst install: InvariantInstaller = () => {};\r\n\r\nexport const apply = (ctx: Context): Promise<() => void> =>\r\n\tPromise.resolve(ctx.invariants.register(PACKAGE_NAME, install));\r\n"],
5
5
  "mappings": ";;;AAQA,IAAM,eAAe;AAEd,IAAM,OAAO;AACb,IAAM,SAAS,CAAC,YAAY;AAEnC,IAAM,UAA8B,MAAM;AAAC;AAEpC,IAAM,QAAQ,CAAC,QACrB,QAAQ,QAAQ,IAAI,WAAW,SAAS,cAAc,OAAO,CAAC;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,229 +1,229 @@
1
- {
1
+ {
2
2
  "name": "dsh-coding-subscription-oauth",
3
3
  "description": "DeepSeek Harness coding-subscription OAuth: SuperGrok/Grok Build, ChatGPT Plus Codex, Kimi Code, Claude Code. Fixes AUTH API key is invalid, INVALID_REPLAY_STATE, grok-4.6 xhigh, Kimi Bearer vs x-api-key.",
4
- "version": "0.7.1",
4
+ "version": "0.8.1",
5
5
  "publishConfig": {
6
- "access": "public",
7
- "registry": "https://registry.npmjs.org/"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/lninghaha/dsh-coding-subscription-oauth.git"
12
- },
13
- "bugs": "https://github.com/lninghaha/dsh-coding-subscription-oauth/issues",
14
- "homepage": "https://github.com/lninghaha/dsh-coding-subscription-oauth#readme",
15
- "keywords": [
16
- "deepseek-harness",
17
- "dsh-plugin",
18
- "oauth",
19
- "grok-build",
20
- "super-grok",
21
- "grok-4.6",
22
- "cli-chat-proxy",
23
- "openai-codex",
24
- "chatgpt-plus",
25
- "kimi-code",
26
- "claude-code",
27
- "google-antigravity",
28
- "xhigh",
29
- "device-code"
30
- ],
31
- "type": "module",
32
- "packageManager": "pnpm@11.21.0",
33
- "engines": {
34
- "node": "^22.19.0 || >=24.0.0"
35
- },
36
- "main": "lib/index.js",
37
- "types": "lib/index.d.ts",
38
- "bin": {
39
- "dsh-coding-oauth": "lib/bin.js",
40
- "dsh-grok-build": "lib/bin.js"
41
- },
42
- "scripts": {
43
- "check:bom": "node build/verify-dsh-bom.mjs",
44
- "assert:node": "node scripts/assert-node.mjs",
45
- "assert:oauth-core": "node scripts/assert-oauth-core.mjs",
46
- "clean": "node build/clean.mjs",
47
- "typecheck": "tsc -b tsconfig.host.json tsconfig.client.json",
48
- "build:server": "tsc -p tsconfig.build.json && tsc -p tsconfig.dts-bin.json && node build/build-server.mjs",
49
- "build:client": "node build/build-client.mjs",
50
- "build:artifacts": "pnpm run check:bom && pnpm run clean && pnpm run typecheck && pnpm run build:server && pnpm run build:client",
51
- "build": "pnpm run release:build",
52
- "test": "vitest run",
53
- "test:watch": "vitest",
54
- "test:coverage": "vitest run --coverage",
55
- "lint": "biome check",
56
- "check:next": "pnpm run assert:node && pnpm run assert:oauth-core && pnpm run check:bom && pnpm run lint && pnpm run typecheck && pnpm run test",
57
- "check": "pnpm run assert:node && pnpm run assert:oauth-core && pnpm run lint && pnpm run release:build && pnpm run test",
58
- "release:promote": "node build/promote-release.mjs",
59
- "release:verify": "node build/verify-release.mjs",
60
- "release:build": "pnpm run build:artifacts && pnpm run release:promote",
61
- "release:dry": "node scripts/release.mjs --dry-run",
62
- "release:inspect": "pnpm run assert:node && node scripts/release.mjs --dry-run",
63
- "release:pack": "node scripts/release.mjs --pack",
64
- "release:publish": "node scripts/release-publish.mjs",
65
- "verify:deployed": "node scripts/verify-deployed-catalog.mjs",
66
- "verify:adapter-host": "node scripts/verify-adapter-host.mjs",
67
- "verify:modelerrors-015": "node scripts/repro-modelerrors-015.mjs",
68
- "smoke:deployed": "node scripts/smoke-deployed-routes.mjs",
69
- "smoke:dsh-alpha": "node scripts/smoke-dsh-alpha.mjs",
70
- "prepack": "pnpm run release:build"
71
- },
72
- "exports": {
73
- ".": {
74
- "types": "./lib/index.d.ts",
75
- "default": "./lib/index.js"
76
- },
77
- "./invariant": {
78
- "types": "./lib/invariant.d.ts",
79
- "default": "./lib/invariant.js"
80
- },
81
- "./client": "./lib/client.js",
82
- "./cordis.patch.yml": "./cordis.patch.yml",
83
- "./package.json": "./package.json"
84
- },
85
- "files": [
86
- "lib",
87
- "media",
88
- "cordis.patch.yml",
89
- "INSTALL.md",
90
- "CHANGELOG.md",
91
- "CONTRIBUTING.md",
92
- "docs/00-project-rules.md",
93
- "docs/02-architecture.md",
94
- "docs/02-architecture.zh-CN.md",
95
- "compatibility/dsh-bom.json",
96
- "README.zh-CN.md",
97
- "README.ja.md",
98
- "README.ko.md",
99
- "README.pt-BR.md",
100
- "README.es.md",
101
- "README.fr.md",
102
- "README.de.md",
103
- "README.ru.md",
104
- "patches/dsh-agy@0.1.2.patch",
105
- "scripts/verify-deployed-catalog.mjs",
106
- "scripts/verify-adapter-host.mjs",
107
- "scripts/smoke-deployed-routes.mjs",
108
- "scripts/release.mjs",
109
- "LICENSE",
110
- "NOTICE"
111
- ],
112
- "license": "Apache-2.0",
113
- "dsh": {
114
- "compatibility": {
115
- "coreAbi": "dsh-coding-oauth-core/v1",
116
- "verifiedBom": "./compatibility/dsh-bom.json",
117
- "participant": "coding-subscription-oauth",
118
- "diagnostics": "standalone",
119
- "bom": {
120
- "@deepseek-ai/cordis": "4.0.1",
121
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
122
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
123
- "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
124
- "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
125
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
126
- "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
127
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
128
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
129
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
130
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
131
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
132
- "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
133
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
134
- "@deepseek-ai/schemastery": "3.18.1",
135
- "@earendil-works/pi-ai": "0.84.2",
136
- "react": "18.3.1",
137
- "react-dom": "18.3.1"
138
- }
139
- },
140
- "bundle": {
141
- "patch": "./cordis.patch.yml"
142
- },
143
- "client": {
144
- "inject": [
145
- "@deepseek-ai/dsh-client-ui-settings",
146
- "@deepseek-ai/dsh-client-locale"
147
- ],
148
- "platform": "web"
149
- }
150
- },
151
- "dependencies": {
152
- "dsh-coding-oauth-core": "0.1.2",
153
- "undici": "7.29.0"
154
- },
155
- "peerDependencies": {
156
- "@deepseek-ai/cordis": "4.0.1",
157
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
158
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
159
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
160
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
161
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
162
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
163
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
164
- "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
165
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
166
- "@deepseek-ai/schemastery": "3.18.1",
167
- "@earendil-works/pi-ai": "0.84.2",
168
- "react": "18.3.1",
169
- "react-dom": "18.3.1"
170
- },
171
- "peerDependenciesMeta": {
172
- "@deepseek-ai/cordis": {
173
- "optional": true
174
- },
175
- "@deepseek-ai/dsh-attachment": {
176
- "optional": true
177
- },
178
- "@deepseek-ai/dsh-credentials": {
179
- "optional": true
180
- },
181
- "@deepseek-ai/dsh-host-webserver": {
182
- "optional": true
183
- },
184
- "@deepseek-ai/dsh-invariants": {
185
- "optional": true
186
- },
187
- "@deepseek-ai/dsh-tools": {
188
- "optional": true
189
- },
190
- "react": {
191
- "optional": true
192
- },
193
- "react-dom": {
194
- "optional": true
195
- }
196
- },
197
- "devDependencies": {
198
- "@biomejs/biome": "^2.5.8",
199
- "@deepseek-ai/cordis": "4.0.1",
200
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
201
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
202
- "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
203
- "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
204
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
205
- "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
206
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
207
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
208
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
209
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
210
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
211
- "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
212
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
213
- "@deepseek-ai/schemastery": "3.18.1",
214
- "@earendil-works/pi-ai": "0.84.2",
215
- "@types/node": "^22.20.0",
216
- "@types/react": "~18.3.1",
217
- "@types/react-dom": "18.3.7",
218
- "@vitest/coverage-v8": "4.1.10",
219
- "esbuild": "^0.28.2",
220
- "react": "18.3.1",
221
- "react-dom": "18.3.1",
222
- "typescript": "^6.0.3",
223
- "undici": "7.29.0",
224
- "vitest": "^4.1.8"
225
- },
226
- "overrides": {
227
- "@earendil-works/pi-ai": "0.84.2"
228
- }
229
- }
6
+ "access": "public",
7
+ "registry": "https://registry.npmjs.org/"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/lninghaha/dsh-coding-subscription-oauth.git"
12
+ },
13
+ "bugs": "https://github.com/lninghaha/dsh-coding-subscription-oauth/issues",
14
+ "homepage": "https://github.com/lninghaha/dsh-coding-subscription-oauth#readme",
15
+ "keywords": [
16
+ "deepseek-harness",
17
+ "dsh-plugin",
18
+ "oauth",
19
+ "grok-build",
20
+ "super-grok",
21
+ "grok-4.6",
22
+ "cli-chat-proxy",
23
+ "openai-codex",
24
+ "chatgpt-plus",
25
+ "kimi-code",
26
+ "claude-code",
27
+ "google-antigravity",
28
+ "xhigh",
29
+ "device-code"
30
+ ],
31
+ "type": "module",
32
+ "packageManager": "pnpm@11.21.0",
33
+ "engines": {
34
+ "node": "^22.19.0 || >=24.0.0"
35
+ },
36
+ "main": "lib/index.js",
37
+ "types": "lib/index.d.ts",
38
+ "bin": {
39
+ "dsh-coding-oauth": "lib/bin.js",
40
+ "dsh-grok-build": "lib/bin.js"
41
+ },
42
+ "scripts": {
43
+ "check:bom": "node build/verify-dsh-bom.mjs",
44
+ "assert:node": "node scripts/assert-node.mjs",
45
+ "assert:oauth-core": "node scripts/assert-oauth-core.mjs",
46
+ "clean": "node build/clean.mjs",
47
+ "typecheck": "tsc -b tsconfig.host.json tsconfig.client.json",
48
+ "build:server": "tsc -p tsconfig.build.json && tsc -p tsconfig.dts-bin.json && node build/build-server.mjs",
49
+ "build:client": "node build/build-client.mjs",
50
+ "build:artifacts": "pnpm run check:bom && pnpm run clean && pnpm run typecheck && pnpm run build:server && pnpm run build:client",
51
+ "build": "pnpm run release:build",
52
+ "test": "vitest run",
53
+ "test:watch": "vitest",
54
+ "test:coverage": "vitest run --coverage",
55
+ "lint": "biome check",
56
+ "check:next": "pnpm run assert:node && pnpm run assert:oauth-core && pnpm run check:bom && pnpm run lint && pnpm run typecheck && pnpm run test",
57
+ "check": "pnpm run assert:node && pnpm run assert:oauth-core && pnpm run lint && pnpm run release:build && pnpm run test",
58
+ "release:promote": "node build/promote-release.mjs",
59
+ "release:verify": "node build/verify-release.mjs",
60
+ "release:build": "pnpm run build:artifacts && pnpm run release:promote",
61
+ "release:dry": "node scripts/release.mjs --dry-run",
62
+ "release:inspect": "pnpm run assert:node && node scripts/release.mjs --dry-run",
63
+ "release:pack": "node scripts/release.mjs --pack",
64
+ "release:publish": "node scripts/release-publish.mjs",
65
+ "verify:deployed": "node scripts/verify-deployed-catalog.mjs",
66
+ "verify:adapter-host": "node scripts/verify-adapter-host.mjs",
67
+ "verify:modelerrors-015": "node scripts/repro-modelerrors-015.mjs",
68
+ "smoke:deployed": "node scripts/smoke-deployed-routes.mjs",
69
+ "smoke:dsh-alpha": "node scripts/smoke-dsh-alpha.mjs",
70
+ "prepack": "pnpm run release:build"
71
+ },
72
+ "exports": {
73
+ ".": {
74
+ "types": "./lib/index.d.ts",
75
+ "default": "./lib/index.js"
76
+ },
77
+ "./invariant": {
78
+ "types": "./lib/invariant.d.ts",
79
+ "default": "./lib/invariant.js"
80
+ },
81
+ "./client": "./lib/client.js",
82
+ "./cordis.patch.yml": "./cordis.patch.yml",
83
+ "./package.json": "./package.json"
84
+ },
85
+ "files": [
86
+ "lib",
87
+ "media",
88
+ "cordis.patch.yml",
89
+ "INSTALL.md",
90
+ "CHANGELOG.md",
91
+ "CONTRIBUTING.md",
92
+ "docs/00-project-rules.md",
93
+ "docs/02-architecture.md",
94
+ "docs/02-architecture.zh-CN.md",
95
+ "compatibility/dsh-bom.json",
96
+ "README.zh-CN.md",
97
+ "README.ja.md",
98
+ "README.ko.md",
99
+ "README.pt-BR.md",
100
+ "README.es.md",
101
+ "README.fr.md",
102
+ "README.de.md",
103
+ "README.ru.md",
104
+ "patches/dsh-agy@0.1.2.patch",
105
+ "scripts/verify-deployed-catalog.mjs",
106
+ "scripts/verify-adapter-host.mjs",
107
+ "scripts/smoke-deployed-routes.mjs",
108
+ "scripts/release.mjs",
109
+ "LICENSE",
110
+ "NOTICE"
111
+ ],
112
+ "license": "Apache-2.0",
113
+ "dsh": {
114
+ "compatibility": {
115
+ "coreAbi": "dsh-coding-oauth-core/v1",
116
+ "verifiedBom": "./compatibility/dsh-bom.json",
117
+ "participant": "coding-subscription-oauth",
118
+ "diagnostics": "standalone",
119
+ "bom": {
120
+ "@deepseek-ai/cordis": "4.0.1",
121
+ "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
122
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
123
+ "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
124
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
125
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
126
+ "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
127
+ "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
128
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
129
+ "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
130
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
131
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
132
+ "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
133
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
134
+ "@deepseek-ai/schemastery": "3.18.1",
135
+ "@earendil-works/pi-ai": "0.84.2",
136
+ "react": "18.3.1",
137
+ "react-dom": "18.3.1"
138
+ }
139
+ },
140
+ "bundle": {
141
+ "patch": "./cordis.patch.yml"
142
+ },
143
+ "client": {
144
+ "inject": [
145
+ "@deepseek-ai/dsh-client-ui-settings",
146
+ "@deepseek-ai/dsh-client-locale"
147
+ ],
148
+ "platform": "web"
149
+ }
150
+ },
151
+ "dependencies": {
152
+ "dsh-coding-oauth-core": "0.1.2",
153
+ "undici": "7.29.0"
154
+ },
155
+ "peerDependencies": {
156
+ "@deepseek-ai/cordis": "4.0.1",
157
+ "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
158
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
159
+ "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
160
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
161
+ "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
162
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
163
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
164
+ "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
165
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
166
+ "@deepseek-ai/schemastery": "3.18.1",
167
+ "@earendil-works/pi-ai": "0.84.2",
168
+ "react": "18.3.1",
169
+ "react-dom": "18.3.1"
170
+ },
171
+ "peerDependenciesMeta": {
172
+ "@deepseek-ai/cordis": {
173
+ "optional": true
174
+ },
175
+ "@deepseek-ai/dsh-attachment": {
176
+ "optional": true
177
+ },
178
+ "@deepseek-ai/dsh-credentials": {
179
+ "optional": true
180
+ },
181
+ "@deepseek-ai/dsh-host-webserver": {
182
+ "optional": true
183
+ },
184
+ "@deepseek-ai/dsh-invariants": {
185
+ "optional": true
186
+ },
187
+ "@deepseek-ai/dsh-tools": {
188
+ "optional": true
189
+ },
190
+ "react": {
191
+ "optional": true
192
+ },
193
+ "react-dom": {
194
+ "optional": true
195
+ }
196
+ },
197
+ "devDependencies": {
198
+ "@biomejs/biome": "^2.5.8",
199
+ "@deepseek-ai/cordis": "4.0.1",
200
+ "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
201
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
202
+ "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
203
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
204
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
205
+ "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
206
+ "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
207
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
208
+ "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
209
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
210
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
211
+ "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
212
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
213
+ "@deepseek-ai/schemastery": "3.18.1",
214
+ "@earendil-works/pi-ai": "0.84.2",
215
+ "@types/node": "^22.20.0",
216
+ "@types/react": "~18.3.1",
217
+ "@types/react-dom": "18.3.7",
218
+ "@vitest/coverage-v8": "4.1.10",
219
+ "esbuild": "^0.28.2",
220
+ "react": "18.3.1",
221
+ "react-dom": "18.3.1",
222
+ "typescript": "^6.0.3",
223
+ "undici": "7.29.0",
224
+ "vitest": "^4.1.8"
225
+ },
226
+ "overrides": {
227
+ "@earendil-works/pi-ai": "0.84.2"
228
+ }
229
+ }
@@ -1,25 +1,25 @@
1
- diff --git a/lib/plugin-common-YSDKp1DG.mjs b/lib/plugin-common-YSDKp1DG.mjs
2
- index 3bd4405d9010705cdbfb675e62538645c4af5321..aeb9dd8375ac4dfc0376b525f44e4cf8eba67719 100644
3
- --- a/lib/plugin-common-YSDKp1DG.mjs
4
- +++ b/lib/plugin-common-YSDKp1DG.mjs
5
- @@ -135,12 +135,17 @@ var AgyAdapter = class extends LlmAdapter {
6
- providerInfo(_provider) {
7
- return {
8
- id: "agy",
9
- - name: "Antigravity (agy)"
10
- + name: "Google Antigravity (OAuth)"
11
- };
12
- }
13
- async listModels(_provider) {
14
- - const session = await this.options.getSession();
15
- - return listAgyModels(session?.auth.access, session?.account.projectId);
16
- + try {
17
- + const session = await this.options.getSession();
18
- + if (!session) return [];
19
- + return listAgyModels(session.auth.access, session.account.projectId);
20
- + } catch {
21
- + return [];
22
- + }
23
- }
24
- async resolveModel(provider, model) {
25
- return resolveAgyModel(provider, model);
1
+ diff --git a/lib/plugin-common-YSDKp1DG.mjs b/lib/plugin-common-YSDKp1DG.mjs
2
+ index 3bd4405d9010705cdbfb675e62538645c4af5321..aeb9dd8375ac4dfc0376b525f44e4cf8eba67719 100644
3
+ --- a/lib/plugin-common-YSDKp1DG.mjs
4
+ +++ b/lib/plugin-common-YSDKp1DG.mjs
5
+ @@ -135,12 +135,17 @@ var AgyAdapter = class extends LlmAdapter {
6
+ providerInfo(_provider) {
7
+ return {
8
+ id: "agy",
9
+ - name: "Antigravity (agy)"
10
+ + name: "Google Antigravity (OAuth)"
11
+ };
12
+ }
13
+ async listModels(_provider) {
14
+ - const session = await this.options.getSession();
15
+ - return listAgyModels(session?.auth.access, session?.account.projectId);
16
+ + try {
17
+ + const session = await this.options.getSession();
18
+ + if (!session) return [];
19
+ + return listAgyModels(session.auth.access, session.account.projectId);
20
+ + } catch {
21
+ + return [];
22
+ + }
23
+ }
24
+ async resolveModel(provider, model) {
25
+ return resolveAgyModel(provider, model);