@eddyskywalker/dsh-chatgpt-subscription 0.1.0-alpha.0

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 (46) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +148 -0
  4. package/cordis.patch.yml +6 -0
  5. package/lib/client.js +673 -0
  6. package/lib/client.js.map +1 -0
  7. package/lib/index.js +1753 -0
  8. package/lib/types/client/CodexSubscriptionSection.d.ts +15 -0
  9. package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -0
  10. package/lib/types/client/api.d.ts +17 -0
  11. package/lib/types/client/api.d.ts.map +1 -0
  12. package/lib/types/client/index.d.ts +10 -0
  13. package/lib/types/client/index.d.ts.map +1 -0
  14. package/lib/types/client/locales.d.ts +103 -0
  15. package/lib/types/client/locales.d.ts.map +1 -0
  16. package/lib/types/client/styles.d.ts +2 -0
  17. package/lib/types/client/styles.d.ts.map +1 -0
  18. package/lib/types/compat.d.ts +26 -0
  19. package/lib/types/compat.d.ts.map +1 -0
  20. package/lib/types/host/adapter.d.ts +14 -0
  21. package/lib/types/host/adapter.d.ts.map +1 -0
  22. package/lib/types/host/callback-server.d.ts +22 -0
  23. package/lib/types/host/callback-server.d.ts.map +1 -0
  24. package/lib/types/host/model-catalog.d.ts +6 -0
  25. package/lib/types/host/model-catalog.d.ts.map +1 -0
  26. package/lib/types/host/oauth-service.d.ts +69 -0
  27. package/lib/types/host/oauth-service.d.ts.map +1 -0
  28. package/lib/types/host/responses-client.d.ts +21 -0
  29. package/lib/types/host/responses-client.d.ts.map +1 -0
  30. package/lib/types/host/responses-mapper.d.ts +11 -0
  31. package/lib/types/host/responses-mapper.d.ts.map +1 -0
  32. package/lib/types/host/routes.d.ts +5 -0
  33. package/lib/types/host/routes.d.ts.map +1 -0
  34. package/lib/types/host/token-store-windows.d.ts +10 -0
  35. package/lib/types/host/token-store-windows.d.ts.map +1 -0
  36. package/lib/types/host/token-store.d.ts +23 -0
  37. package/lib/types/host/token-store.d.ts.map +1 -0
  38. package/lib/types/host/usage-service.d.ts +33 -0
  39. package/lib/types/host/usage-service.d.ts.map +1 -0
  40. package/lib/types/host/wire-auth.d.ts +5 -0
  41. package/lib/types/host/wire-auth.d.ts.map +1 -0
  42. package/lib/types/index.d.ts +9 -0
  43. package/lib/types/index.d.ts.map +1 -0
  44. package/lib/types/shared/contracts.d.ts +77 -0
  45. package/lib/types/shared/contracts.d.ts.map +1 -0
  46. package/package.json +105 -0
package/package.json ADDED
@@ -0,0 +1,105 @@
1
+ {
2
+ "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
+ "version": "0.1.0-alpha.0",
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": "next"
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
+ ],
55
+ "platform": "web"
56
+ }
57
+ },
58
+ "peerDependencies": {
59
+ "@deepseek-ai/cordis": "^4.0.1",
60
+ "@deepseek-ai/dsh-attachment": "^0.1.0-rc.6",
61
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
62
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
63
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
64
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
65
+ "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
66
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
67
+ "react": "^18.2.0"
68
+ },
69
+ "devDependencies": {
70
+ "@deepseek-ai/cordis": "^4.0.1",
71
+ "@deepseek-ai/dsh-attachment": "^0.1.0-rc.6",
72
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
73
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
74
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
75
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
76
+ "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
77
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
78
+ "@types/node": "^22.20.0",
79
+ "@types/react": "~18.3.1",
80
+ "@types/react-dom": "^18.3.5",
81
+ "jsdom": "29.1.1",
82
+ "react": "^18.3.1",
83
+ "react-dom": "^18.3.1",
84
+ "tsdown": "0.22.2",
85
+ "typescript": "~5.7.2",
86
+ "vitest": "^4.1.8"
87
+ },
88
+ "files": [
89
+ "lib/index.js",
90
+ "lib/client.js",
91
+ "lib/client.js.map",
92
+ "lib/types/**/*.d.ts",
93
+ "lib/types/**/*.d.ts.map",
94
+ "cordis.patch.yml",
95
+ "README.md",
96
+ "CHANGELOG.md"
97
+ ],
98
+ "license": "MIT",
99
+ "scripts": {
100
+ "build": "tsc -b && tsdown",
101
+ "prepack": "npm run build",
102
+ "test": "vitest run",
103
+ "typecheck": "tsc -b --pretty false"
104
+ }
105
+ }