@goodandready/dsh-opencode-provider 0.5.22 → 0.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.23
4
+
5
+ - **DSH 0.2.2 support**: compatibility now accepts every `0.2.2` prerelease and final release with `>=0.2.1-rc.2 <0.2.3-0`; `0.2.2-rc.1` is recorded as verified. Dev/typecheck dependencies moved to `@deepseek-ai/*@0.2.2-rc.1`, Cordis 4.1.0 and Schemastery 3.19.0; peer ranges admit both the 0.2.1 and 0.2.2 lines.
6
+ - **Host webserver compatibility**: route registration now types handlers against `WebRoute` instead of indexing the new `WebRoute | WebResourceRoute` union, preserving 0.2.1 behavior while compiling on 0.2.2.
7
+ - **Verification**: isolated DSH 0.2.2-rc.1 web profile activated both routes, discovered 29 models and completed a real `deepseek-v4.1-flash` request (`OK`); 0.2.1-rc.4 and 0.2.1-rc.2 activation regressions also pass. `npm run check`: 124/124 tests.
8
+
3
9
  ## 0.5.22
4
10
 
5
11
  - **Proxy transport**: one live `proxyUrl` setting (HTTP, HTTPS or SOCKS5) now covers inference, catalog discovery and usage checks. Dispatchers are shared by address and released when the plugin unloads; proxy credentials are rejected so the settings API never returns a secret.
package/README.md CHANGED
@@ -132,12 +132,12 @@ npm pack
132
132
  Install the **packed tarball** into a profile:
133
133
 
134
134
  ```bash
135
- dsh plugin --profile web add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.22.tgz
135
+ dsh plugin --profile web add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.23.tgz
136
136
  # DSH Desktop:
137
- dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.22.tgz
137
+ dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.23.tgz
138
138
 
139
139
  # Or install the published package:
140
- dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.22
140
+ dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.23
141
141
  ```
142
142
 
143
143
  Restart dsh (or DSH Desktop), then pick **OpenCode (plugin)** or **OpenCode Go (plugin)** in the model picker.
@@ -149,7 +149,9 @@ Restart dsh (or DSH Desktop), then pick **OpenCode (plugin)** or **OpenCode Go (
149
149
 
150
150
  ## Verified in DSH Desktop
151
151
 
152
- Tested against DSH **0.2.1-rc.4** (and retained rc.2/rc.3 compatibility):
152
+ Tested against DSH **0.2.2-rc.1** (all 0.2.2 releases are admitted by the compatibility range) and regression-tested on **0.2.1-rc.2/rc.4**: both routes activate, model discovery returns the live catalog, and a real `deepseek-v4.1-flash` request returns `OK`.
153
+
154
+ The historical Desktop verification below was captured on 0.2.1-rc.4 (and retained rc.2/rc.3 compatibility):
153
155
 
154
156
  - the plugin loads and `/dsh-opencode/state` returns `200`;
155
157
  - the key is picked up from `~/.local/share/opencode/auth.json`;
package/README.ru.md CHANGED
@@ -131,12 +131,12 @@ npm pack
131
131
  Установка из **упакованного tarball**:
132
132
 
133
133
  ```bash
134
- dsh plugin --profile web add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.22.tgz
134
+ dsh plugin --profile web add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.23.tgz
135
135
  # DSH Desktop:
136
- dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.22.tgz
136
+ dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.23.tgz
137
137
 
138
138
  # Либо установка опубликованного пакета из npm:
139
- dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.22
139
+ dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.23
140
140
  ```
141
141
 
142
142
  После установки перезапустите dsh (или DSH Desktop) и выберите **OpenCode (plugin)** или **OpenCode Go (plugin)** в списке моделей.
package/README.zh.md CHANGED
@@ -126,12 +126,12 @@ npm pack
126
126
  通过**打包文件 (.tgz)**安装:
127
127
 
128
128
  ```bash
129
- dsh plugin --profile web add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.22.tgz
129
+ dsh plugin --profile web add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.23.tgz
130
130
  # DSH 桌面端:
131
- dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.22.tgz
131
+ dsh plugin --profile desktop add /absolute/path/to/goodandready-dsh-opencode-provider-0.5.23.tgz
132
132
 
133
133
  # 或从 npm 安装已发布版本:
134
- dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.22
134
+ dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.23
135
135
  ```
136
136
 
137
137
  安装完成后重启 dsh 或 DSH 桌面端,在模型选择器中选择 **OpenCode (plugin)** 或 **OpenCode Go (plugin)** 即可。
package/lib/index.js CHANGED
@@ -81,7 +81,7 @@ const DEFAULT_GO_API_BASE = "https://opencode.ai/inference/go";
81
81
  const DEFAULT_GO_ZEN_BASE = "https://opencode.ai/zen/go/v1";
82
82
  const DEFAULT_USAGE_URL = "https://opencode.ai/zen/go/v1/usage";
83
83
  const DEFAULT_AUTH_ENTRY = "opencode-go";
84
- const DEFAULT_USER_AGENT = "dsh-opencode-provider/0.5.22";
84
+ const DEFAULT_USER_AGENT = "dsh-opencode-provider/0.5.23";
85
85
  const DEFAULT_CONTEXT_WINDOW = 262144;
86
86
  const DEFAULT_MAX_TOKENS = 32768;
87
87
  const DEFAULT_GENERATE_MAX_TOKENS = 32768;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-opencode-provider",
3
- "version": "0.5.22",
3
+ "version": "0.5.23",
4
4
  "description": "OpenCode / OpenCode Go LLM provider plugin for DeepSeek Harness (dsh).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -56,14 +56,15 @@
56
56
  "dshReleases": {
57
57
  "0.2.1-rc.2": "compatible",
58
58
  "0.2.1-rc.3": "compatible",
59
- "0.2.1-rc.4": "compatible"
59
+ "0.2.1-rc.4": "compatible",
60
+ "0.2.2-rc.1": "compatible"
60
61
  },
61
- "dsh": ">=0.2.1-rc.2 <0.2.2-0"
62
+ "dsh": ">=0.2.1-rc.2 <0.2.3-0"
62
63
  }
63
64
  },
64
65
  "engines": {
65
66
  "node": ">=22",
66
- "dsh": ">=0.2.1-rc.2 <0.2.2-0"
67
+ "dsh": ">=0.2.1-rc.2 <0.2.3-0"
67
68
  },
68
69
  "scripts": {
69
70
  "build": "tsdown",
@@ -83,36 +84,36 @@
83
84
  "llm-provider"
84
85
  ],
85
86
  "peerDependencies": {
86
- "@deepseek-ai/cordis": "~4.0.5",
87
- "@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.2.2-0",
88
- "@deepseek-ai/dsh-client-locale": ">=0.2.1-rc.2 <0.2.2-0",
89
- "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.1-rc.2 <0.2.2-0",
90
- "@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-rc.2 <0.2.2-0",
91
- "@deepseek-ai/dsh-client-ui-slots": ">=0.2.1-rc.2 <0.2.2-0",
92
- "@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.2.2-0",
93
- "@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2 <0.2.2-0",
94
- "@deepseek-ai/dsh-host-webserver": ">=0.2.1-rc.2 <0.2.2-0",
95
- "@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2 <0.2.2-0",
96
- "@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.2.2-0",
97
- "@deepseek-ai/dsh-settings": ">=0.2.1-rc.2 <0.2.2-0",
98
- "@deepseek-ai/schemastery": "~3.18.5",
87
+ "@deepseek-ai/cordis": ">=4.0.5 <5",
88
+ "@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.2.3-0",
89
+ "@deepseek-ai/dsh-client-locale": ">=0.2.1-rc.2 <0.2.3-0",
90
+ "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.1-rc.2 <0.2.3-0",
91
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-rc.2 <0.2.3-0",
92
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.2.1-rc.2 <0.2.3-0",
93
+ "@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.2.3-0",
94
+ "@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2 <0.2.3-0",
95
+ "@deepseek-ai/dsh-host-webserver": ">=0.2.1-rc.2 <0.2.3-0",
96
+ "@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2 <0.2.3-0",
97
+ "@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.2.3-0",
98
+ "@deepseek-ai/dsh-settings": ">=0.2.1-rc.2 <0.2.3-0",
99
+ "@deepseek-ai/schemastery": ">=3.18.5 <4",
99
100
  "react": "^18.2.0"
100
101
  },
101
102
  "devDependencies": {
102
- "@deepseek-ai/cordis": "~4.0.5",
103
- "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.4",
104
- "@deepseek-ai/dsh-attachment": "0.2.1-rc.4",
105
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.4",
106
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.4",
107
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.4",
108
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.4",
109
- "@deepseek-ai/dsh-commands": "0.2.1-rc.4",
110
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.4",
111
- "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.4",
112
- "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.4",
113
- "@deepseek-ai/dsh-llm": "0.2.1-rc.4",
114
- "@deepseek-ai/dsh-settings": "0.2.1-rc.4",
115
- "@deepseek-ai/schemastery": "~3.18.5",
103
+ "@deepseek-ai/cordis": "4.1.0",
104
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
105
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
106
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
107
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
108
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
109
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
110
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
111
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
112
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
113
+ "@deepseek-ai/dsh-launch-environment": "0.2.2-rc.1",
114
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
115
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
116
+ "@deepseek-ai/schemastery": "3.19.0",
116
117
  "@types/node": "^22.0.0",
117
118
  "@types/react": "^18.3.1",
118
119
  "@types/react-dom": "^18.3.0",