@eddyskywalker/dsh-chatgpt-subscription 0.1.9 → 0.1.11

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 +11 -1
  2. package/README.md +17 -7
  3. package/lib/client.js +442 -28
  4. package/lib/client.js.map +1 -1
  5. package/lib/index.js +720 -248
  6. package/lib/types/client/CodexComposerQuota.d.ts +13 -0
  7. package/lib/types/client/CodexComposerQuota.d.ts.map +1 -0
  8. package/lib/types/client/CodexImageToolView.d.ts +10 -0
  9. package/lib/types/client/CodexImageToolView.d.ts.map +1 -0
  10. package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -1
  11. package/lib/types/client/api.d.ts +2 -1
  12. package/lib/types/client/api.d.ts.map +1 -1
  13. package/lib/types/client/index.d.ts.map +1 -1
  14. package/lib/types/client/locales.d.ts +57 -3
  15. package/lib/types/client/locales.d.ts.map +1 -1
  16. package/lib/types/client/quota.d.ts +9 -0
  17. package/lib/types/client/quota.d.ts.map +1 -0
  18. package/lib/types/client/styles.d.ts.map +1 -1
  19. package/lib/types/compat.d.ts +7 -0
  20. package/lib/types/compat.d.ts.map +1 -1
  21. package/lib/types/host/codex-images.d.ts +9 -0
  22. package/lib/types/host/codex-images.d.ts.map +1 -0
  23. package/lib/types/host/codex-search.d.ts +11 -0
  24. package/lib/types/host/codex-search.d.ts.map +1 -0
  25. package/lib/types/host/model-catalog.d.ts.map +1 -1
  26. package/lib/types/host/preferences.d.ts +12 -0
  27. package/lib/types/host/preferences.d.ts.map +1 -0
  28. package/lib/types/host/responses-mapper.d.ts +1 -2
  29. package/lib/types/host/responses-mapper.d.ts.map +1 -1
  30. package/lib/types/host/routes.d.ts +2 -1
  31. package/lib/types/host/routes.d.ts.map +1 -1
  32. package/lib/types/host/search-provider-switcher.d.ts +15 -0
  33. package/lib/types/host/search-provider-switcher.d.ts.map +1 -0
  34. package/lib/types/host/usage-service.d.ts +2 -1
  35. package/lib/types/host/usage-service.d.ts.map +1 -1
  36. package/lib/types/index.d.ts +3 -1
  37. package/lib/types/index.d.ts.map +1 -1
  38. package/lib/types/shared/contracts.d.ts +40 -3
  39. package/lib/types/shared/contracts.d.ts.map +1 -1
  40. package/lib/types/shared/model-catalog.d.ts +81 -0
  41. package/lib/types/shared/model-catalog.d.ts.map +1 -0
  42. package/lib/types/shared/preferences.d.ts +7 -0
  43. package/lib/types/shared/preferences.d.ts.map +1 -0
  44. package/package.json +21 -2
  45. package/lib/types/host/subagent-report-scheduling-compat.d.ts +0 -21
  46. package/lib/types/host/subagent-report-scheduling-compat.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
5
5
  "author": {
6
6
  "name": "eddyskywalker",
@@ -50,33 +50,52 @@
50
50
  "@deepseek-ai/dsh-client-runtime",
51
51
  "@deepseek-ai/dsh-client-locale",
52
52
  "@deepseek-ai/dsh-client-ui-slots",
53
- "@deepseek-ai/dsh-client-ui-settings"
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"
54
57
  ],
55
58
  "platform": "web"
56
59
  }
57
60
  },
58
61
  "peerDependencies": {
59
62
  "@deepseek-ai/cordis": "^4.0.1",
63
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
60
64
  "@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
61
65
  "@deepseek-ai/dsh-attachment": "^0.1.0-rc.6",
62
66
  "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
63
67
  "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
68
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6",
69
+ "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.0-rc.6",
64
70
  "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
65
71
  "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
72
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.0-rc.6",
66
73
  "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
67
74
  "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
75
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
76
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
77
+ "@deepseek-ai/dsh-web": "^0.1.0-rc.6",
78
+ "@deepseek-ai/schemastery": "^3.18.1",
68
79
  "react": "^18.2.0"
69
80
  },
70
81
  "devDependencies": {
71
82
  "@deepseek-ai/cordis": "^4.0.1",
83
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
72
84
  "@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
73
85
  "@deepseek-ai/dsh-attachment": "^0.1.0-rc.6",
74
86
  "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
75
87
  "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
88
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6",
89
+ "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.0-rc.6",
76
90
  "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
77
91
  "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
92
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.0-rc.6",
78
93
  "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
79
94
  "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
95
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
96
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
97
+ "@deepseek-ai/dsh-web": "^0.1.0-rc.6",
98
+ "@deepseek-ai/schemastery": "^3.18.1",
80
99
  "@types/node": "^22.20.0",
81
100
  "@types/react": "~18.3.1",
82
101
  "@types/react-dom": "^18.3.5",
@@ -1,21 +0,0 @@
1
- import type { Context } from '@deepseek-ai/cordis';
2
- /**
3
- * DSH_COMPAT_REMOVE(subagent-report-settlement-dedup)
4
- *
5
- * Temporary compatibility shim for DSH 0.1.0-rc.6. A continuable child is told
6
- * to report its result before finishing, while DSH also unconditionally sends
7
- * the same closing output in a `subagent-settled` notice. The report is often
8
- * still queued when the settlement reaches the parent, so the parent sees the
9
- * result once and the equivalent report remains as duplicate next-turn work.
10
- *
11
- * Remove this module, its installation in `src/index.ts`, and its focused test
12
- * once upstream coalesces an equivalent final report with settlement delivery.
13
- */
14
- export declare const DSH_SUBAGENT_REPORT_DEDUP_COMPAT_MARKER: "__dshChatgptSubscriptionSubagentReportDedupCompatV1";
15
- /**
16
- * Discard only an exact, same-child report duplicate immediately before DSH
17
- * delivers the corresponding settlement notice. Partial reports, reports with
18
- * different content, and all unrelated inbox work remain untouched.
19
- */
20
- export declare function installSubagentReportDedupCompat(ctx: Context): () => void;
21
- //# sourceMappingURL=subagent-report-scheduling-compat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subagent-report-scheduling-compat.d.ts","sourceRoot":"","sources":["../../../src/host/subagent-report-scheduling-compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGlD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uCAAuC,EAClD,qDAA8D,CAAA;AA4EhE;;;;GAIG;AACH,wBAAgB,gCAAgC,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,IAAI,CAyGzE"}