@eddyskywalker/dsh-chatgpt-subscription 0.2.10 → 0.2.12

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 (37) hide show
  1. package/CHANGELOG.md +24 -24
  2. package/LICENSE +21 -21
  3. package/README.md +169 -169
  4. package/bin/antigravity-login.mjs +15 -4
  5. package/cordis.patch.yml +6 -6
  6. package/lib/client.js +110 -12
  7. package/lib/client.js.map +1 -1
  8. package/lib/index.js +253 -93
  9. package/lib/types/client/antigravity/AntigravityComposerQuota.d.ts.map +1 -1
  10. package/lib/types/client/antigravity/AntigravitySection.d.ts.map +1 -1
  11. package/lib/types/client/locales.d.ts +65 -1
  12. package/lib/types/client/locales.d.ts.map +1 -1
  13. package/lib/types/compat.d.ts +11 -0
  14. package/lib/types/compat.d.ts.map +1 -1
  15. package/lib/types/host/antigravity/adapter.d.ts +1 -0
  16. package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
  17. package/lib/types/host/antigravity/client.d.ts +23 -1
  18. package/lib/types/host/antigravity/client.d.ts.map +1 -1
  19. package/lib/types/host/antigravity/mapper.d.ts +1 -0
  20. package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
  21. package/lib/types/host/antigravity/oauth.d.ts +9 -3
  22. package/lib/types/host/antigravity/oauth.d.ts.map +1 -1
  23. package/lib/types/host/antigravity/routes.d.ts.map +1 -1
  24. package/lib/types/host/antigravity/types.d.ts +6 -0
  25. package/lib/types/host/antigravity/types.d.ts.map +1 -1
  26. package/lib/types/host/model-catalog.d.ts.map +1 -1
  27. package/lib/types/host/preferences.d.ts.map +1 -1
  28. package/lib/types/host/proxy-manager.d.ts.map +1 -1
  29. package/lib/types/host/responses-mapper.d.ts +1 -0
  30. package/lib/types/host/responses-mapper.d.ts.map +1 -1
  31. package/lib/types/index.d.ts +1 -1
  32. package/lib/types/index.d.ts.map +1 -1
  33. package/lib/types/shared/contracts.d.ts +9 -0
  34. package/lib/types/shared/contracts.d.ts.map +1 -1
  35. package/lib/types/shared/preferences.d.ts +2 -0
  36. package/lib/types/shared/preferences.d.ts.map +1 -1
  37. package/package.json +134 -134
package/package.json CHANGED
@@ -1,134 +1,134 @@
1
- {
2
- "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
- "version": "0.2.10",
4
- "description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
5
- "author": {
6
- "name": "eddyskywalker",
7
- "url": "https://www.npmjs.com/~eddyskywalker"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/Aa728848/dsh-chatgpt-subscription.git"
12
- },
13
- "homepage": "https://github.com/Aa728848/dsh-chatgpt-subscription#readme",
14
- "bugs": {
15
- "url": "https://github.com/Aa728848/dsh-chatgpt-subscription/issues"
16
- },
17
- "keywords": [
18
- "dsh-plugin",
19
- "dsh",
20
- "deepseek-harness",
21
- "chatgpt",
22
- "codex",
23
- "openai",
24
- "provider"
25
- ],
26
- "type": "module",
27
- "publishConfig": {
28
- "access": "public",
29
- "tag": "latest"
30
- },
31
- "main": "lib/index.js",
32
- "types": "lib/types/index.d.ts",
33
- "exports": {
34
- ".": {
35
- "types": "./lib/types/index.d.ts",
36
- "default": "./lib/index.js"
37
- },
38
- "./client": {
39
- "types": "./lib/types/client/index.d.ts",
40
- "default": "./lib/client.js"
41
- },
42
- "./package.json": "./package.json"
43
- },
44
- "dsh": {
45
- "bundle": {
46
- "patch": "./cordis.patch.yml"
47
- },
48
- "client": {
49
- "inject": [
50
- "@deepseek-ai/dsh-client-runtime",
51
- "@deepseek-ai/dsh-client-locale",
52
- "@deepseek-ai/dsh-client-ui-slots",
53
- "@deepseek-ai/dsh-client-ui-settings",
54
- "@deepseek-ai/dsh-client-ui-model-selection",
55
- "@deepseek-ai/dsh-client-ui-conversation",
56
- "@deepseek-ai/dsh-client-ui-tool"
57
- ],
58
- "platform": "web"
59
- }
60
- },
61
- "peerDependencies": {
62
- "@deepseek-ai/cordis": "^4.0.2",
63
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
64
- "@deepseek-ai/dsh-attachment": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
65
- "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
66
- "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
67
- "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
68
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
69
- "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
70
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
71
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
72
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
73
- "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
74
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
75
- "@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
76
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
77
- "@deepseek-ai/dsh-web": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
78
- "@deepseek-ai/schemastery": "^3.18.2",
79
- "react": "^18.2.0"
80
- },
81
- "devDependencies": {
82
- "@deepseek-ai/cordis": "^4.0.2",
83
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
84
- "@deepseek-ai/dsh-attachment": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
85
- "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
86
- "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
87
- "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
88
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
89
- "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
90
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
91
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
92
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
93
- "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
94
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
95
- "@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
96
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
97
- "@deepseek-ai/dsh-web": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2",
98
- "@deepseek-ai/schemastery": "^3.18.2",
99
- "@types/node": "^22.20.0",
100
- "@types/react": "~18.3.1",
101
- "@types/react-dom": "^18.3.5",
102
- "jsdom": "29.1.1",
103
- "react": "^18.3.1",
104
- "react-dom": "^18.3.1",
105
- "tsdown": "0.22.2",
106
- "typescript": "~5.7.2",
107
- "vitest": "^4.1.8"
108
- },
109
- "bin": {
110
- "antigravity-login": "./bin/antigravity-login.mjs"
111
- },
112
- "files": [
113
- "lib/index.js",
114
- "lib/client.js",
115
- "lib/client.js.map",
116
- "lib/types/**/*.d.ts",
117
- "lib/types/**/*.d.ts.map",
118
- "bin",
119
- "cordis.patch.yml",
120
- "README.md",
121
- "CHANGELOG.md"
122
- ],
123
- "license": "MIT",
124
- "scripts": {
125
- "build": "tsc -b && tsdown",
126
- "prepack": "npm run build",
127
- "test": "vitest run",
128
- "typecheck": "tsc -b --pretty false && tsc -p test/tsconfig.json --pretty false"
129
- },
130
- "dependencies": {
131
- "mermaid": "^11.17.2",
132
- "undici": "^8.10.0"
133
- }
134
- }
1
+ {
2
+ "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
+ "version": "0.2.12",
4
+ "description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
5
+ "author": {
6
+ "name": "eddyskywalker",
7
+ "url": "https://www.npmjs.com/~eddyskywalker"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Aa728848/dsh-chatgpt-subscription.git"
12
+ },
13
+ "homepage": "https://github.com/Aa728848/dsh-chatgpt-subscription#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/Aa728848/dsh-chatgpt-subscription/issues"
16
+ },
17
+ "keywords": [
18
+ "dsh-plugin",
19
+ "dsh",
20
+ "deepseek-harness",
21
+ "chatgpt",
22
+ "codex",
23
+ "openai",
24
+ "provider"
25
+ ],
26
+ "type": "module",
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "tag": "latest"
30
+ },
31
+ "main": "lib/index.js",
32
+ "types": "lib/types/index.d.ts",
33
+ "exports": {
34
+ ".": {
35
+ "types": "./lib/types/index.d.ts",
36
+ "default": "./lib/index.js"
37
+ },
38
+ "./client": {
39
+ "types": "./lib/types/client/index.d.ts",
40
+ "default": "./lib/client.js"
41
+ },
42
+ "./package.json": "./package.json"
43
+ },
44
+ "dsh": {
45
+ "bundle": {
46
+ "patch": "./cordis.patch.yml"
47
+ },
48
+ "client": {
49
+ "inject": [
50
+ "@deepseek-ai/dsh-client-runtime",
51
+ "@deepseek-ai/dsh-client-locale",
52
+ "@deepseek-ai/dsh-client-ui-slots",
53
+ "@deepseek-ai/dsh-client-ui-settings",
54
+ "@deepseek-ai/dsh-client-ui-model-selection",
55
+ "@deepseek-ai/dsh-client-ui-conversation",
56
+ "@deepseek-ai/dsh-client-ui-tool"
57
+ ],
58
+ "platform": "web"
59
+ }
60
+ },
61
+ "peerDependencies": {
62
+ "@deepseek-ai/cordis": "^4.0.2",
63
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
64
+ "@deepseek-ai/dsh-attachment": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
65
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
66
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
67
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
68
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
69
+ "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
70
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
71
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
72
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
73
+ "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
74
+ "@deepseek-ai/dsh-llm": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
75
+ "@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
76
+ "@deepseek-ai/dsh-tools": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
77
+ "@deepseek-ai/dsh-web": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
78
+ "@deepseek-ai/schemastery": "^3.18.2",
79
+ "react": "^18.2.0"
80
+ },
81
+ "devDependencies": {
82
+ "@deepseek-ai/cordis": "^4.0.2",
83
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
84
+ "@deepseek-ai/dsh-attachment": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
85
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
86
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
87
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
88
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
89
+ "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
90
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
91
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
92
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
93
+ "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
94
+ "@deepseek-ai/dsh-llm": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
95
+ "@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
96
+ "@deepseek-ai/dsh-tools": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
97
+ "@deepseek-ai/dsh-web": "^0.1.1-rc.2 || ^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5",
98
+ "@deepseek-ai/schemastery": "^3.18.2",
99
+ "@types/node": "^22.20.0",
100
+ "@types/react": "~18.3.1",
101
+ "@types/react-dom": "^18.3.5",
102
+ "jsdom": "29.1.1",
103
+ "react": "^18.3.1",
104
+ "react-dom": "^18.3.1",
105
+ "tsdown": "0.22.2",
106
+ "typescript": "~5.7.2",
107
+ "vitest": "^4.1.8"
108
+ },
109
+ "bin": {
110
+ "antigravity-login": "./bin/antigravity-login.mjs"
111
+ },
112
+ "files": [
113
+ "lib/index.js",
114
+ "lib/client.js",
115
+ "lib/client.js.map",
116
+ "lib/types/**/*.d.ts",
117
+ "lib/types/**/*.d.ts.map",
118
+ "bin",
119
+ "cordis.patch.yml",
120
+ "README.md",
121
+ "CHANGELOG.md"
122
+ ],
123
+ "license": "MIT",
124
+ "scripts": {
125
+ "build": "tsc -b && tsdown",
126
+ "prepack": "npm run build",
127
+ "test": "vitest run",
128
+ "typecheck": "tsc -b --pretty false && tsc -p test/tsconfig.json --pretty false"
129
+ },
130
+ "dependencies": {
131
+ "mermaid": "^11.17.2",
132
+ "undici": "^8.10.0"
133
+ }
134
+ }