dsh-opencode-go 0.1.21 → 0.1.23

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 (60) hide show
  1. package/LICENSE +1 -0
  2. package/README.en.md +74 -194
  3. package/README.md +73 -184
  4. package/THIRD_PARTY_NOTICES.md +7 -1
  5. package/docs/advanced.en.md +137 -0
  6. package/docs/advanced.md +135 -0
  7. package/docs/assets/accounts.png +0 -0
  8. package/docs/assets/advanced-settings.png +0 -0
  9. package/docs/assets/model-settings.png +0 -0
  10. package/docs/assets/usage-panel.png +0 -0
  11. package/docs/development.md +65 -7
  12. package/docs/fork-review-2026-09-25.md +191 -0
  13. package/docs/independent-package.md +2 -2
  14. package/docs/verification.md +283 -0
  15. package/lib/build-info.json +8 -1
  16. package/lib/client.js +830 -635
  17. package/lib/index.js +52687 -856
  18. package/lib/types/account-manager.d.ts +25 -0
  19. package/lib/types/account-operations.d.ts +31 -0
  20. package/lib/types/account-policy.d.ts +16 -0
  21. package/lib/types/account-recovery.d.ts +2 -0
  22. package/lib/types/account-selection.d.ts +30 -0
  23. package/lib/types/account-service.d.ts +12 -0
  24. package/lib/types/accounts-contract.d.ts +38 -0
  25. package/lib/types/accounts.d.ts +8 -1
  26. package/lib/types/adapter.d.ts +33 -11
  27. package/lib/types/call-trace.d.ts +54 -0
  28. package/lib/types/catalog-manager.d.ts +20 -0
  29. package/lib/types/catalog.d.ts +6 -4
  30. package/lib/types/client/accounts-controller.d.ts +8 -17
  31. package/lib/types/client/hint-mark.d.ts +17 -0
  32. package/lib/types/client/host-compat.d.ts +7 -0
  33. package/lib/types/client/host-primitives.d.ts +11 -0
  34. package/lib/types/client/locales.d.ts +14 -3
  35. package/lib/types/client/section-controller.d.ts +11 -48
  36. package/lib/types/client/staged-form.d.ts +1 -3
  37. package/lib/types/client/usage.d.ts +1 -1
  38. package/lib/types/config-contract.d.ts +70 -0
  39. package/lib/types/config.d.ts +13 -54
  40. package/lib/types/conversion/context.d.ts +5 -1
  41. package/lib/types/conversion/image-pool.d.ts +24 -0
  42. package/lib/types/conversion/replay.d.ts +1 -1
  43. package/lib/types/conversion/stream.d.ts +1 -1
  44. package/lib/types/gateway-diagnostics.d.ts +22 -0
  45. package/lib/types/gateway-error.d.ts +2 -0
  46. package/lib/types/gateway-url.d.ts +7 -0
  47. package/lib/types/google-fetch.d.ts +6 -0
  48. package/lib/types/google-generative-ai.d.ts +3 -0
  49. package/lib/types/host-settings.d.ts +11 -0
  50. package/lib/types/index.d.ts +2 -2
  51. package/lib/types/model-metadata.d.ts +5 -3
  52. package/lib/types/models-contract.d.ts +7 -0
  53. package/lib/types/protocol-contract.d.ts +5 -0
  54. package/lib/types/protocol-policy.d.ts +4 -0
  55. package/lib/types/reasoning.d.ts +36 -6
  56. package/lib/types/request-control.d.ts +2 -0
  57. package/lib/types/sdk-types.d.ts +3156 -0
  58. package/lib/types/settings-bridge.d.ts +22 -0
  59. package/lib/vendor-licenses.txt +1861 -0
  60. package/package.json +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-opencode-go",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "OpenCode Go model provider and settings UI for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -88,9 +88,10 @@
88
88
  "@deepseek-ai/dsh-typert-registry": ">=0.1.5-rc.1"
89
89
  },
90
90
  "dependencies": {
91
+ "@anthropic-ai/sdk": "0.129.0",
91
92
  "@deepseek-ai/dsh-brand": "0.1.6-alpha.1",
92
93
  "@deepseek-ai/schemastery": "3.18.3",
93
- "opencode-go-pi-ai": "npm:@earendil-works/pi-ai@0.87.1",
94
+ "openai": "7.19.0",
94
95
  "undici": "7.30.0"
95
96
  },
96
97
  "devDependencies": {
@@ -139,6 +140,7 @@
139
140
  "@deepseek-ai/dsh-user-approval": "0.1.6-alpha.1",
140
141
  "@deepseek-ai/dsh-util-crypto": "0.1.6-alpha.1",
141
142
  "@deepseek-ai/dsh-util-values": "0.1.6-alpha.1",
143
+ "@google/genai": "2.21.0",
142
144
  "@shikijs/langs": "^4.3.1",
143
145
  "@testing-library/dom": "^10.4.2",
144
146
  "@testing-library/react": "^16.3.2",
@@ -167,8 +169,11 @@
167
169
  "micromark-util-sanitize-uri": "^2.0.1",
168
170
  "micromark-util-symbol": "^2.0.1",
169
171
  "micromark-util-types": "^2.0.2",
172
+ "opencode-go-pi-ai": "npm:@earendil-works/pi-ai@1.2.0",
170
173
  "react": "^18.2.0",
171
174
  "react-dom": "^18.2.0",
175
+ "rollup": "^4.64.2",
176
+ "rollup-plugin-dts": "^6.5.1",
172
177
  "semver": "7.8.5",
173
178
  "shiki": "^4.3.1",
174
179
  "typescript": "6.0.3",