dsh-coding-subscription-oauth 0.6.3 → 0.6.4

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 (116) hide show
  1. package/CHANGELOG.md +258 -250
  2. package/CONTRIBUTING.md +129 -129
  3. package/INSTALL.md +256 -255
  4. package/LICENSE +19 -19
  5. package/NOTICE +11 -11
  6. package/README.de.md +303 -303
  7. package/README.es.md +304 -304
  8. package/README.fr.md +304 -304
  9. package/README.ja.md +304 -304
  10. package/README.ko.md +304 -304
  11. package/README.md +320 -320
  12. package/README.pt-BR.md +304 -304
  13. package/README.ru.md +304 -304
  14. package/README.zh-CN.md +318 -318
  15. package/compatibility/dsh-bom.json +30 -30
  16. package/cordis.patch.yml +13 -13
  17. package/docs/00-project-rules.md +212 -212
  18. package/docs/02-architecture.md +138 -138
  19. package/docs/02-architecture.zh-CN.md +138 -138
  20. package/lib/bin.js +1333 -569
  21. package/lib/bin.js.map +4 -4
  22. package/lib/client.js +1 -1
  23. package/lib/client.js.map +2 -2
  24. package/lib/index.js +689 -25492
  25. package/lib/index.js.map +4 -4
  26. package/lib/invariant.js.map +1 -1
  27. package/media/en/settings_accounts.png +0 -0
  28. package/media/en/settings_capabilities.png +0 -0
  29. package/media/en/settings_gateway.png +0 -0
  30. package/media/settings_accounts.png +0 -0
  31. package/media/settings_capabilities.png +0 -0
  32. package/media/settings_gateway.png +0 -0
  33. package/media/settings_overview.png +0 -0
  34. package/media/zh-CN/settings_accounts.png +0 -0
  35. package/media/zh-CN/settings_capabilities.png +0 -0
  36. package/media/zh-CN/settings_gateway.png +0 -0
  37. package/package.json +223 -223
  38. package/patches/dsh-agy@0.1.2.patch +25 -25
  39. package/scripts/release.mjs +186 -186
  40. package/scripts/smoke-deployed-routes.mjs +146 -146
  41. package/scripts/verify-deployed-catalog.mjs +87 -87
  42. package/src/adapter.ts +348 -348
  43. package/src/alias-adapter.ts +147 -147
  44. package/src/auth-routes.ts +921 -921
  45. package/src/auth.ts +67 -67
  46. package/src/bin.ts +350 -350
  47. package/src/capability-routes.ts +279 -279
  48. package/src/capability-runtime.ts +314 -314
  49. package/src/capability-settings.ts +671 -671
  50. package/src/capability-tools.ts +685 -685
  51. package/src/catalog.ts +271 -271
  52. package/src/client/GrokBuildSettings.tsx +771 -771
  53. package/src/client/api.ts +88 -88
  54. package/src/client/components/AboutTab.tsx +30 -30
  55. package/src/client/components/AccountsTab.tsx +241 -241
  56. package/src/client/components/Badge.tsx +33 -33
  57. package/src/client/components/CapabilitiesTab.tsx +265 -265
  58. package/src/client/components/CliPullPreview.tsx +116 -116
  59. package/src/client/components/CopyButton.tsx +57 -57
  60. package/src/client/components/GatewayTab.tsx +469 -469
  61. package/src/client/components/NoticeBanner.tsx +46 -46
  62. package/src/client/components/ProgressBar.tsx +53 -53
  63. package/src/client/components/ProviderCard.tsx +606 -606
  64. package/src/client/components/SettingsTabs.tsx +75 -75
  65. package/src/client/components/ToggleSwitch.tsx +71 -71
  66. package/src/client/constants.ts +230 -230
  67. package/src/client/display.ts +61 -61
  68. package/src/client/dshClientAdapter.ts +127 -127
  69. package/src/client/gatewaySnippets.ts +37 -37
  70. package/src/client/index.tsx +156 -156
  71. package/src/client/locales.ts +540 -540
  72. package/src/client/microStyles.ts +52 -52
  73. package/src/client/parsers.ts +398 -398
  74. package/src/client/styles.ts +325 -325
  75. package/src/client/types.ts +199 -199
  76. package/src/codex-http.ts +447 -447
  77. package/src/codex-images.ts +503 -503
  78. package/src/codex-model-capabilities.ts +320 -320
  79. package/src/codex-search.ts +245 -245
  80. package/src/codex-usage.ts +263 -263
  81. package/src/compatibility.ts +55 -55
  82. package/src/dsh-host-adapter.ts +173 -173
  83. package/src/gateway-anthropic-messages.ts +84 -84
  84. package/src/gateway-auth.ts +102 -102
  85. package/src/gateway-backend.ts +274 -274
  86. package/src/gateway-body.ts +49 -49
  87. package/src/gateway-config.ts +76 -76
  88. package/src/gateway-http.ts +104 -104
  89. package/src/gateway-openai-chat.ts +124 -124
  90. package/src/gateway-openai-responses.ts +53 -53
  91. package/src/gateway-parse.ts +224 -224
  92. package/src/gateway-protocol.ts +52 -52
  93. package/src/gateway-routes.ts +158 -158
  94. package/src/gateway.ts +258 -258
  95. package/src/grok-errors.ts +24 -24
  96. package/src/grok-imagine.ts +1627 -1627
  97. package/src/grok-import.ts +151 -151
  98. package/src/http-json.ts +82 -82
  99. package/src/ids.ts +59 -59
  100. package/src/imagine-routes.ts +463 -463
  101. package/src/index.ts +735 -735
  102. package/src/invariant.ts +17 -17
  103. package/src/kimi-errors.ts +26 -26
  104. package/src/media-store.ts +927 -927
  105. package/src/oauth-import-routes.ts +324 -324
  106. package/src/oauth-providers.ts +152 -152
  107. package/src/oauth-session.ts +183 -183
  108. package/src/oauth-sources.ts +1104 -1104
  109. package/src/oauth.ts +620 -620
  110. package/src/provider.ts +128 -128
  111. package/src/proxy.ts +11 -11
  112. package/src/redact.ts +72 -72
  113. package/src/session.ts +218 -218
  114. package/src/store.ts +217 -217
  115. package/src/web-origin.ts +296 -296
  116. package/src/web-routes.ts +38 -38
@@ -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
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,223 +1,223 @@
1
- {
2
- "name": "dsh-coding-subscription-oauth",
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.6.3",
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
- "clean": "node build/clean.mjs",
45
- "typecheck": "tsc -b tsconfig.host.json tsconfig.client.json",
46
- "build:server": "tsc -p tsconfig.build.json && tsc -p tsconfig.dts-bin.json && node build/build-server.mjs",
47
- "build:client": "node build/build-client.mjs",
48
- "build:artifacts": "pnpm run check:bom && pnpm run clean && pnpm run typecheck && pnpm run build:server && pnpm run build:client",
49
- "build": "pnpm run release:build",
50
- "test": "vitest run",
51
- "test:watch": "vitest",
52
- "lint": "biome check",
53
- "check:next": "pnpm run check:bom && pnpm run lint && pnpm run typecheck && pnpm run test",
54
- "check": "pnpm run lint && pnpm run release:build && pnpm run test",
55
- "release:promote": "node build/promote-release.mjs",
56
- "release:verify": "node build/verify-release.mjs",
57
- "release:build": "pnpm run build:artifacts && pnpm run release:promote",
58
- "release:dry": "node scripts/release.mjs --dry-run",
59
- "release:pack": "node scripts/release.mjs --pack",
60
- "verify:deployed": "node scripts/verify-deployed-catalog.mjs",
61
- "smoke:deployed": "node scripts/smoke-deployed-routes.mjs",
62
- "prepack": "pnpm run release:build"
63
- },
64
- "exports": {
65
- ".": {
66
- "types": "./lib/index.d.ts",
67
- "default": "./lib/index.js"
68
- },
69
- "./invariant": {
70
- "types": "./lib/invariant.d.ts",
71
- "default": "./lib/invariant.js"
72
- },
73
- "./client": "./lib/client.js",
74
- "./cordis.patch.yml": "./cordis.patch.yml",
75
- "./package.json": "./package.json"
76
- },
77
- "files": [
78
- "lib",
79
- "src",
80
- "media",
81
- "cordis.patch.yml",
82
- "INSTALL.md",
83
- "CHANGELOG.md",
84
- "CONTRIBUTING.md",
85
- "docs/00-project-rules.md",
86
- "docs/02-architecture.md",
87
- "docs/02-architecture.zh-CN.md",
88
- "compatibility/dsh-bom.json",
89
- "README.zh-CN.md",
90
- "README.ja.md",
91
- "README.ko.md",
92
- "README.pt-BR.md",
93
- "README.es.md",
94
- "README.fr.md",
95
- "README.de.md",
96
- "README.ru.md",
97
- "patches/dsh-agy@0.1.2.patch",
98
- "scripts/verify-deployed-catalog.mjs",
99
- "scripts/smoke-deployed-routes.mjs",
100
- "scripts/release.mjs",
101
- "LICENSE",
102
- "NOTICE"
103
- ],
104
- "license": "Apache-2.0",
105
- "dsh": {
106
- "compatibility": {
107
- "coreAbi": "dsh-coding-oauth-core/v1",
108
- "verifiedBom": "./compatibility/dsh-bom.json",
109
- "participant": "coding-subscription-oauth",
110
- "diagnostics": "standalone",
111
- "bom": {
112
- "@deepseek-ai/cordis": "4.0.1",
113
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
114
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
115
- "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
116
- "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
117
- "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
118
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
119
- "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
120
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
121
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
122
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
123
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
124
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
125
- "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
126
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
127
- "@deepseek-ai/schemastery": "3.18.1",
128
- "@earendil-works/pi-ai": "0.84.2",
129
- "react": "18.3.1",
130
- "react-dom": "18.3.1"
131
- }
132
- },
133
- "bundle": {
134
- "patch": "./cordis.patch.yml"
135
- },
136
- "client": {
137
- "inject": [
138
- "@deepseek-ai/dsh-client-runtime",
139
- "@deepseek-ai/dsh-client-ui-settings",
140
- "@deepseek-ai/dsh-client-locale"
141
- ],
142
- "platform": "web"
143
- }
144
- },
145
- "dependencies": {
146
- "dsh-coding-oauth-core": "0.1.0",
147
- "undici": "^7.24.8"
148
- },
149
- "peerDependencies": {
150
- "@deepseek-ai/cordis": "4.0.1",
151
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
152
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
153
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
154
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
155
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
156
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
157
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
158
- "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
159
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
160
- "@deepseek-ai/schemastery": "3.18.1",
161
- "@earendil-works/pi-ai": "0.84.2",
162
- "react": "18.3.1",
163
- "react-dom": "18.3.1"
164
- },
165
- "peerDependenciesMeta": {
166
- "@deepseek-ai/cordis": {
167
- "optional": true
168
- },
169
- "@deepseek-ai/dsh-attachment": {
170
- "optional": true
171
- },
172
- "@deepseek-ai/dsh-credentials": {
173
- "optional": true
174
- },
175
- "@deepseek-ai/dsh-host-webserver": {
176
- "optional": true
177
- },
178
- "@deepseek-ai/dsh-invariants": {
179
- "optional": true
180
- },
181
- "@deepseek-ai/dsh-tools": {
182
- "optional": true
183
- },
184
- "react": {
185
- "optional": true
186
- },
187
- "react-dom": {
188
- "optional": true
189
- }
190
- },
191
- "devDependencies": {
192
- "@biomejs/biome": "^2.5.8",
193
- "@deepseek-ai/cordis": "4.0.1",
194
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
195
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
196
- "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
197
- "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
198
- "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
199
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
200
- "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
201
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
202
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
203
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
204
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
205
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
206
- "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
207
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
208
- "@deepseek-ai/schemastery": "3.18.1",
209
- "@earendil-works/pi-ai": "0.84.2",
210
- "@types/node": "^22.20.0",
211
- "@types/react": "~18.3.1",
212
- "@types/react-dom": "18.3.7",
213
- "esbuild": "^0.28.2",
214
- "react": "18.3.1",
215
- "react-dom": "18.3.1",
216
- "typescript": "^6.0.3",
217
- "undici": "^7.24.8",
218
- "vitest": "^4.1.8"
219
- },
220
- "overrides": {
221
- "@earendil-works/pi-ai": "0.84.2"
222
- }
223
- }
1
+ {
2
+ "name": "dsh-coding-subscription-oauth",
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.6.4",
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
+ "clean": "node build/clean.mjs",
45
+ "typecheck": "tsc -b tsconfig.host.json tsconfig.client.json",
46
+ "build:server": "tsc -p tsconfig.build.json && tsc -p tsconfig.dts-bin.json && node build/build-server.mjs",
47
+ "build:client": "node build/build-client.mjs",
48
+ "build:artifacts": "pnpm run check:bom && pnpm run clean && pnpm run typecheck && pnpm run build:server && pnpm run build:client",
49
+ "build": "pnpm run release:build",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "lint": "biome check",
53
+ "check:next": "pnpm run check:bom && pnpm run lint && pnpm run typecheck && pnpm run test",
54
+ "check": "pnpm run lint && pnpm run release:build && pnpm run test",
55
+ "release:promote": "node build/promote-release.mjs",
56
+ "release:verify": "node build/verify-release.mjs",
57
+ "release:build": "pnpm run build:artifacts && pnpm run release:promote",
58
+ "release:dry": "node scripts/release.mjs --dry-run",
59
+ "release:pack": "node scripts/release.mjs --pack",
60
+ "verify:deployed": "node scripts/verify-deployed-catalog.mjs",
61
+ "smoke:deployed": "node scripts/smoke-deployed-routes.mjs",
62
+ "prepack": "pnpm run release:build"
63
+ },
64
+ "exports": {
65
+ ".": {
66
+ "types": "./lib/index.d.ts",
67
+ "default": "./lib/index.js"
68
+ },
69
+ "./invariant": {
70
+ "types": "./lib/invariant.d.ts",
71
+ "default": "./lib/invariant.js"
72
+ },
73
+ "./client": "./lib/client.js",
74
+ "./cordis.patch.yml": "./cordis.patch.yml",
75
+ "./package.json": "./package.json"
76
+ },
77
+ "files": [
78
+ "lib",
79
+ "src",
80
+ "media",
81
+ "cordis.patch.yml",
82
+ "INSTALL.md",
83
+ "CHANGELOG.md",
84
+ "CONTRIBUTING.md",
85
+ "docs/00-project-rules.md",
86
+ "docs/02-architecture.md",
87
+ "docs/02-architecture.zh-CN.md",
88
+ "compatibility/dsh-bom.json",
89
+ "README.zh-CN.md",
90
+ "README.ja.md",
91
+ "README.ko.md",
92
+ "README.pt-BR.md",
93
+ "README.es.md",
94
+ "README.fr.md",
95
+ "README.de.md",
96
+ "README.ru.md",
97
+ "patches/dsh-agy@0.1.2.patch",
98
+ "scripts/verify-deployed-catalog.mjs",
99
+ "scripts/smoke-deployed-routes.mjs",
100
+ "scripts/release.mjs",
101
+ "LICENSE",
102
+ "NOTICE"
103
+ ],
104
+ "license": "Apache-2.0",
105
+ "dsh": {
106
+ "compatibility": {
107
+ "coreAbi": "dsh-coding-oauth-core/v1",
108
+ "verifiedBom": "./compatibility/dsh-bom.json",
109
+ "participant": "coding-subscription-oauth",
110
+ "diagnostics": "standalone",
111
+ "bom": {
112
+ "@deepseek-ai/cordis": "4.0.1",
113
+ "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
114
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
115
+ "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
116
+ "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
117
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
118
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
119
+ "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
120
+ "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
121
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
122
+ "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
123
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
124
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
125
+ "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
126
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
127
+ "@deepseek-ai/schemastery": "3.18.1",
128
+ "@earendil-works/pi-ai": "0.84.2",
129
+ "react": "18.3.1",
130
+ "react-dom": "18.3.1"
131
+ }
132
+ },
133
+ "bundle": {
134
+ "patch": "./cordis.patch.yml"
135
+ },
136
+ "client": {
137
+ "inject": [
138
+ "@deepseek-ai/dsh-client-runtime",
139
+ "@deepseek-ai/dsh-client-ui-settings",
140
+ "@deepseek-ai/dsh-client-locale"
141
+ ],
142
+ "platform": "web"
143
+ }
144
+ },
145
+ "dependencies": {
146
+ "dsh-coding-oauth-core": "0.1.1",
147
+ "undici": "7.29.0"
148
+ },
149
+ "peerDependencies": {
150
+ "@deepseek-ai/cordis": "4.0.1",
151
+ "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
152
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
153
+ "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
154
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
155
+ "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
156
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
157
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
158
+ "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
159
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
160
+ "@deepseek-ai/schemastery": "3.18.1",
161
+ "@earendil-works/pi-ai": "0.84.2",
162
+ "react": "18.3.1",
163
+ "react-dom": "18.3.1"
164
+ },
165
+ "peerDependenciesMeta": {
166
+ "@deepseek-ai/cordis": {
167
+ "optional": true
168
+ },
169
+ "@deepseek-ai/dsh-attachment": {
170
+ "optional": true
171
+ },
172
+ "@deepseek-ai/dsh-credentials": {
173
+ "optional": true
174
+ },
175
+ "@deepseek-ai/dsh-host-webserver": {
176
+ "optional": true
177
+ },
178
+ "@deepseek-ai/dsh-invariants": {
179
+ "optional": true
180
+ },
181
+ "@deepseek-ai/dsh-tools": {
182
+ "optional": true
183
+ },
184
+ "react": {
185
+ "optional": true
186
+ },
187
+ "react-dom": {
188
+ "optional": true
189
+ }
190
+ },
191
+ "devDependencies": {
192
+ "@biomejs/biome": "^2.5.8",
193
+ "@deepseek-ai/cordis": "4.0.1",
194
+ "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
195
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
196
+ "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
197
+ "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
198
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
199
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
200
+ "@deepseek-ai/dsh-client-web": "0.1.1-rc.2",
201
+ "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
202
+ "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
203
+ "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.2",
204
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
205
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
206
+ "@deepseek-ai/dsh-llm-pi-ai": "0.1.1-rc.2",
207
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
208
+ "@deepseek-ai/schemastery": "3.18.1",
209
+ "@earendil-works/pi-ai": "0.84.2",
210
+ "@types/node": "^22.20.0",
211
+ "@types/react": "~18.3.1",
212
+ "@types/react-dom": "18.3.7",
213
+ "esbuild": "^0.28.2",
214
+ "react": "18.3.1",
215
+ "react-dom": "18.3.1",
216
+ "typescript": "^6.0.3",
217
+ "undici": "7.29.0",
218
+ "vitest": "^4.1.8"
219
+ },
220
+ "overrides": {
221
+ "@earendil-works/pi-ai": "0.84.2"
222
+ }
223
+ }
@@ -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);