@eddyskywalker/dsh-chatgpt-subscription 0.88.1 → 0.89.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 (58) hide show
  1. package/README.md +1 -1
  2. package/lib/client.js +1061 -284
  3. package/lib/client.js.map +1 -1
  4. package/lib/codemode.js +1 -0
  5. package/lib/index.js +391 -67
  6. package/lib/{progress-updates-CSBYky9J.js → progress-updates-DwpfBXOx.js} +53 -17
  7. package/lib/progress-updates.js +1 -1
  8. package/lib/types/client/features/progress-updates/contracts.d.ts +9 -0
  9. package/lib/types/client/features/progress-updates/contracts.d.ts.map +1 -1
  10. package/lib/types/client/features/progress-updates/dashboard.d.ts +12 -0
  11. package/lib/types/client/features/progress-updates/dashboard.d.ts.map +1 -0
  12. package/lib/types/client/features/progress-updates/host-source.d.ts +7 -1
  13. package/lib/types/client/features/progress-updates/host-source.d.ts.map +1 -1
  14. package/lib/types/client/features/progress-updates/locales.d.ts +59 -2
  15. package/lib/types/client/features/progress-updates/locales.d.ts.map +1 -1
  16. package/lib/types/client/features/progress-updates/updates-panel.d.ts +7 -89
  17. package/lib/types/client/features/progress-updates/updates-panel.d.ts.map +1 -1
  18. package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
  19. package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
  20. package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts +1 -1
  21. package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts.map +1 -1
  22. package/lib/types/client/providers/codex-chatgpt/api.d.ts +3 -1
  23. package/lib/types/client/providers/codex-chatgpt/api.d.ts.map +1 -1
  24. package/lib/types/client/providers/codex-chatgpt/locales.d.ts +9 -1
  25. package/lib/types/client/providers/codex-chatgpt/locales.d.ts.map +1 -1
  26. package/lib/types/client/providers/codex-chatgpt/styles.d.ts.map +1 -1
  27. package/lib/types/compat.d.ts +1 -1
  28. package/lib/types/host/common/account-pool.d.ts +3 -0
  29. package/lib/types/host/common/account-pool.d.ts.map +1 -1
  30. package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -1
  31. package/lib/types/host/providers/antigravity-acp/binary.d.ts +1 -1
  32. package/lib/types/host/providers/antigravity-acp/binary.d.ts.map +1 -1
  33. package/lib/types/host/providers/antigravity-acp/errors.d.ts +4 -2
  34. package/lib/types/host/providers/antigravity-acp/errors.d.ts.map +1 -1
  35. package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts +2 -0
  36. package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts.map +1 -1
  37. package/lib/types/host/providers/codex-chatgpt/codex-file-import.d.ts +12 -0
  38. package/lib/types/host/providers/codex-chatgpt/codex-file-import.d.ts.map +1 -0
  39. package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts +1 -0
  40. package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts.map +1 -1
  41. package/lib/types/host/providers/codex-chatgpt/routes.d.ts.map +1 -1
  42. package/lib/types/host/providers/kimi-code/cache-wait.d.ts +23 -0
  43. package/lib/types/host/providers/kimi-code/cache-wait.d.ts.map +1 -1
  44. package/lib/types/host/providers/opencode-go/mapper.d.ts.map +1 -1
  45. package/lib/types/host/providers/opendesign/mapper.d.ts.map +1 -1
  46. package/lib/types/host/runtime/codemode/rules.d.ts.map +1 -1
  47. package/lib/types/host/runtime/progress-updates/index.d.ts +1 -1
  48. package/lib/types/host/runtime/progress-updates/index.d.ts.map +1 -1
  49. package/lib/types/host/runtime/progress-updates/nudge.d.ts +1 -1
  50. package/lib/types/host/runtime/progress-updates/routes.d.ts +3 -1
  51. package/lib/types/host/runtime/progress-updates/routes.d.ts.map +1 -1
  52. package/lib/types/host/runtime/progress-updates/store.d.ts +8 -1
  53. package/lib/types/host/runtime/progress-updates/store.d.ts.map +1 -1
  54. package/lib/types/index.d.ts +2 -2
  55. package/lib/types/index.d.ts.map +1 -1
  56. package/lib/types/shared/contracts.d.ts +6 -0
  57. package/lib/types/shared/contracts.d.ts.map +1 -1
  58. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  | 线路 | Provider ID | 登录方式 |
18
18
  | --- | --- | --- |
19
- | ChatGPT / Codex | `codex-chatgpt` | 浏览器登录 / 设备码 / 导入 Codex CLI |
19
+ | ChatGPT / Codex | `codex-chatgpt` | 浏览器登录 / 设备码 / 导入 Codex CLI、CPA / sub2api 文件 |
20
20
  | Claude 订阅 | `claude-subscription` | 浏览器授权 / 导入 Claude Code |
21
21
  | Claude API | `claude-api` | API Key |
22
22
  | Kimi Code | `kimi-code` | 设备码授权 / API Key |