@dan-ai-studio/dshopencodego 0.1.89 → 0.1.90
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/README.en.md +3 -3
- package/README.md +3 -3
- package/lib/index.js +1 -1
- package/package.json +30 -28
package/README.en.md
CHANGED
|
@@ -240,7 +240,7 @@ The verdict:
|
|
|
240
240
|
- not satisfied → **that plugin row is disabled with a printed reason** (`Plugin … is incompatible with dsh …`), leaving other plugins untouched;
|
|
241
241
|
- to take the risk anyway, grant an **exact-version exemption**: `dsh plugin --profile <profile> allow-version <pkg>@<version> --dsh-version <exact> --accept-risk` (applies only to that package and that exact runtime version); `dsh plugin --profile <profile> version-exemptions` lists what a profile holds.
|
|
242
242
|
|
|
243
|
-
**This plugin declares `engines.dsh`, so that is the range the gate enforces**; the peer ranges are a declaration for readers and package managers, and only take over the verdict if `engines.dsh` is removed. The upper bound is written `<0.3.0-0` rather than `<0.3.0` precisely because the check includes prereleases: `<0.3.0` would judge `0.3.0-rc.1` and its siblings **compatible** and let them load, while `<0.3.0-0` closes the whole `0.3.0` line. `@deepseek-ai/cordis` is declared separately as `4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1 || 4.0.6-alpha.2` — the runtimes used by DSH `0.2.0-rc.1`/`rc.2`, `0.2.1-alpha.1`/`alpha.2`, `0.2.1-alpha.3`–`alpha.5`, and `0.2.1-rc.2` respectively (`4.0.2`/`4.0.3` were dropped along with pre-`0.2.0` support).
|
|
243
|
+
**This plugin declares `engines.dsh`, so that is the range the gate enforces**; the peer ranges are a declaration for readers and package managers, and only take over the verdict if `engines.dsh` is removed. The upper bound is written `<0.3.0-0` rather than `<0.3.0` precisely because the check includes prereleases: `<0.3.0` would judge `0.3.0-rc.1` and its siblings **compatible** and let them load, while `<0.3.0-0` closes the whole `0.3.0` line. `@deepseek-ai/cordis` is declared separately as `4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1 || 4.0.6-alpha.2 || 4.1.0` — the runtimes used by DSH `0.2.0-rc.1`/`rc.2`, `0.2.1-alpha.1`/`alpha.2`, `0.2.1-alpha.3`–`alpha.5`, and `0.2.1-rc.2` respectively, with `4.1.0` from `0.2.2-rc.1` onward (`4.0.2`/`4.0.3` were dropped along with pre-`0.2.0` support).
|
|
244
244
|
|
|
245
245
|
**Outside the declared range**: everything before `0.2.0-rc.1`, and the whole `0.3.0` line (prereleases included), are refused. If the seam is compatible, widen or drop this plugin's **`engines.dsh`** in your own build — widening the peer range does nothing, since it takes no part in the verdict — or wait for a plugin release.
|
|
246
246
|
|
|
@@ -250,10 +250,10 @@ The verdict:
|
|
|
250
250
|
| --- | --- | --- |
|
|
251
251
|
| `engines.dsh` | `>=0.2.0-rc.1 <0.3.0-0` | **DSH's gate at plugin load time; declaring it skips the peer verdict entirely** |
|
|
252
252
|
| `peerDependencies` (20 `@deepseek-ai/dsh-*` packages) | all `>=0.2.0-rc.1 <0.3.0-0` | takes over only when `engines.dsh` is absent; this plugin declares it, so the peers take no part today |
|
|
253
|
-
| `@deepseek-ai/cordis` | `4.0.4 \|\| 4.0.5-alpha.1 \|\| 4.0.5-alpha.2 \|\| 4.0.5 \|\| 4.0.6-alpha.1 \|\| 4.0.6-alpha.2` | the same peer channel |
|
|
253
|
+
| `@deepseek-ai/cordis` | `4.0.4 \|\| 4.0.5-alpha.1 \|\| 4.0.5-alpha.2 \|\| 4.0.5 \|\| 4.0.6-alpha.1 \|\| 4.0.6-alpha.2 \|\| 4.1.0` | the same peer channel |
|
|
254
254
|
| `engines.node` | `^22.19.0 \|\| >=24.0.0` | the package manager |
|
|
255
255
|
| bundled `@earendil-works/pi-ai` | `1.5.0` (within 1.5.x), **compiled into `lib/`** (devDependency) | an independent coupling: a change in pi-ai's request construction changes this plugin's wire behaviour, and its opencode-go builtin catalog is this plugin's fallback data. Bundling leaves the plugin with **no runtime dependencies** for an installer to resolve |
|
|
256
|
-
| bundled `@deepseek-ai/schemastery` | `~3.
|
|
256
|
+
| bundled `@deepseek-ai/schemastery` | `~3.19.0`, **compiled into `lib/`** (devDependency) | a build-time dependency |
|
|
257
257
|
|
|
258
258
|
Things to keep in mind when maintaining this:
|
|
259
259
|
|
package/README.md
CHANGED
|
@@ -239,7 +239,7 @@ API Key 通过 Harness 凭证库提供(引用名 `OPENCODE_GO_API_KEY`),
|
|
|
239
239
|
- 不满足 → **该插件行被禁用并打印原因**(`Plugin … is incompatible with dsh …`),其他插件不受影响;
|
|
240
240
|
- 需要冒险时可用**精确版本豁免**:`dsh plugin --profile <profile> allow-version <包>@<版本> --dsh-version <精确版本> --accept-risk`(只对该包与该精确版本生效);`dsh plugin --profile <profile> version-exemptions` 可列出当前 profile 的豁免。
|
|
241
241
|
|
|
242
|
-
**本插件声明了 `engines.dsh`,所以生效的门禁就是它**;peer 范围是给读者与包管理器的声明,只在 `engines.dsh` 被删除之后才会接管判定。上界写成 `<0.3.0-0` 而不是 `<0.3.0`,正是因为判定含预发布:`<0.3.0` 会把 `0.3.0-rc.1` 这类**预发布版判为兼容**并放行,`<0.3.0-0` 才真正封住整条 `0.3.0` 线。`@deepseek-ai/cordis` 单独声明为 `4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1 || 4.0.6-alpha.2`——依次是 DSH `0.2.0-rc.1`/`rc.2`、`0.2.1-alpha.1`/`alpha.2`、`0.2.1-alpha.3`–`alpha.5`、以及 `0.2.1-rc.2`
|
|
242
|
+
**本插件声明了 `engines.dsh`,所以生效的门禁就是它**;peer 范围是给读者与包管理器的声明,只在 `engines.dsh` 被删除之后才会接管判定。上界写成 `<0.3.0-0` 而不是 `<0.3.0`,正是因为判定含预发布:`<0.3.0` 会把 `0.3.0-rc.1` 这类**预发布版判为兼容**并放行,`<0.3.0-0` 才真正封住整条 `0.3.0` 线。`@deepseek-ai/cordis` 单独声明为 `4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1 || 4.0.6-alpha.2 || 4.1.0`——依次是 DSH `0.2.0-rc.1`/`rc.2`、`0.2.1-alpha.1`/`alpha.2`、`0.2.1-alpha.3`–`alpha.5`、以及 `0.2.1-rc.2` 所用的运行时,末尾的 `4.1.0` 是 `0.2.2-rc.1` 起的运行时(`4.0.2`/`4.0.3` 随 `0.2.0` 之前的支持一并移除)。
|
|
243
243
|
|
|
244
244
|
**声明范围之外**:`0.2.0-rc.1` 之前的所有版本、以及整条 `0.3.0` 线(含预发布)都会被拒绝加载。如果 DSH 侧接口兼容,可自行放宽或删除该插件的 **`engines.dsh`** 后重新构建(改 peer 范围是无效的——它不参与判定);否则请等插件跟进发版。
|
|
245
245
|
|
|
@@ -249,10 +249,10 @@ API Key 通过 Harness 凭证库提供(引用名 `OPENCODE_GO_API_KEY`),
|
|
|
249
249
|
| --- | --- | --- |
|
|
250
250
|
| `engines.dsh` | `>=0.2.0-rc.1 <0.3.0-0` | **DSH 加载时的真门禁;声明了它,peer 判定被整体跳过** |
|
|
251
251
|
| `peerDependencies`(20 个 `@deepseek-ai/dsh-*`) | 均为 `>=0.2.0-rc.1 <0.3.0-0` | 仅当 `engines.dsh` 缺席时才接管;本插件声明了它,故当前不参与判定 |
|
|
252
|
-
| `@deepseek-ai/cordis` | `4.0.4 \|\| 4.0.5-alpha.1 \|\| 4.0.5-alpha.2 \|\| 4.0.5 \|\| 4.0.6-alpha.1 \|\| 4.0.6-alpha.2` | 同上(peer 通道) |
|
|
252
|
+
| `@deepseek-ai/cordis` | `4.0.4 \|\| 4.0.5-alpha.1 \|\| 4.0.5-alpha.2 \|\| 4.0.5 \|\| 4.0.6-alpha.1 \|\| 4.0.6-alpha.2 \|\| 4.1.0` | 同上(peer 通道) |
|
|
253
253
|
| `engines.node` | `^22.19.0 \|\| >=24.0.0` | 包管理器 |
|
|
254
254
|
| 已打包依赖 `@earendil-works/pi-ai` | `1.5.0`(1.5.x 内),**打进产物**(devDependency) | 独立耦合:pi-ai 改请求构造即影响本插件的线上行为;其 opencode-go 内置目录同时是本插件的打底数据。打包后本插件**没有任何运行时依赖**,安装者不必再解析它 |
|
|
255
|
-
| 已打包依赖 `@deepseek-ai/schemastery` | `~3.
|
|
255
|
+
| 已打包依赖 `@deepseek-ai/schemastery` | `~3.19.0`,**打进产物**(devDependency) | 构建期依赖 |
|
|
256
256
|
|
|
257
257
|
维护时需要注意:
|
|
258
258
|
|
package/lib/index.js
CHANGED
|
@@ -80098,7 +80098,7 @@ function createUpdateChecker(deps) {
|
|
|
80098
80098
|
}
|
|
80099
80099
|
|
|
80100
80100
|
// src/update/version.ts
|
|
80101
|
-
var PLUGIN_VERSION = true ? "0.1.
|
|
80101
|
+
var PLUGIN_VERSION = true ? "0.1.90" : "0.0.0-dev";
|
|
80102
80102
|
|
|
80103
80103
|
// src/update/service.ts
|
|
80104
80104
|
import { TypertRemoteService as TypertRemoteService4 } from "@deepseek-ai/dsh-typert-protocol";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dan-ai-studio/dshopencodego",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.90",
|
|
4
4
|
"description": "OpenCode Go provider for DeepSeek Harness: live gateway catalog, per-conversation session header, usage",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"prepack": "npm run build"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@deepseek-ai/cordis": "4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1 || 4.0.6-alpha.2",
|
|
74
|
+
"@deepseek-ai/cordis": "4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1 || 4.0.6-alpha.2 || 4.1.0",
|
|
75
75
|
"@deepseek-ai/dsh-api-remotes": ">=0.2.0-rc.1 <0.3.0-0",
|
|
76
76
|
"@deepseek-ai/dsh-attachment": ">=0.2.0-rc.1 <0.3.0-0",
|
|
77
77
|
"@deepseek-ai/dsh-brand": ">=0.2.0-rc.1 <0.3.0-0",
|
|
@@ -123,32 +123,34 @@
|
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
|
-
"@deepseek-ai/cordis": "4.0
|
|
127
|
-
"@deepseek-ai/
|
|
128
|
-
"@deepseek-ai/
|
|
129
|
-
"@deepseek-ai/dsh-
|
|
130
|
-
"@deepseek-ai/dsh-
|
|
131
|
-
"@deepseek-ai/dsh-
|
|
132
|
-
"@deepseek-ai/dsh-client-
|
|
133
|
-
"@deepseek-ai/dsh-client-
|
|
134
|
-
"@deepseek-ai/dsh-client-ui-
|
|
135
|
-
"@deepseek-ai/dsh-client-ui-
|
|
136
|
-
"@deepseek-ai/dsh-client-ui-
|
|
137
|
-
"@deepseek-ai/dsh-client-ui-
|
|
138
|
-
"@deepseek-ai/dsh-client-ui-
|
|
139
|
-
"@deepseek-ai/dsh-client-ui-
|
|
140
|
-
"@deepseek-ai/dsh-
|
|
141
|
-
"@deepseek-ai/dsh-
|
|
142
|
-
"@deepseek-ai/dsh-
|
|
143
|
-
"@deepseek-ai/dsh-
|
|
144
|
-
"@deepseek-ai/dsh-
|
|
145
|
-
"@deepseek-ai/dsh-
|
|
146
|
-
"@deepseek-ai/dsh-
|
|
147
|
-
"@deepseek-ai/dsh-
|
|
148
|
-
"@deepseek-ai/dsh-
|
|
149
|
-
"@deepseek-ai/dsh-
|
|
150
|
-
"@deepseek-ai/dsh-
|
|
151
|
-
"@deepseek-ai/
|
|
126
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
127
|
+
"@deepseek-ai/cordis-plugin-include": "1.1.0",
|
|
128
|
+
"@deepseek-ai/cordis-plugin-loader": "1.1.0",
|
|
129
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-brand": "0.2.2-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
|
|
136
|
+
"@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.1",
|
|
137
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
|
|
138
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
|
|
139
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
|
|
140
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
|
|
141
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
|
|
142
|
+
"@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
|
|
143
|
+
"@deepseek-ai/dsh-fs": "0.2.2-rc.1",
|
|
144
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.2-rc.1",
|
|
145
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
146
|
+
"@deepseek-ai/dsh-sandbox": "0.2.2-rc.1",
|
|
147
|
+
"@deepseek-ai/dsh-scope": "0.2.2-rc.1",
|
|
148
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
149
|
+
"@deepseek-ai/dsh-settings": "0.2.2-rc.1",
|
|
150
|
+
"@deepseek-ai/dsh-timeout": "0.2.2-rc.1",
|
|
151
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
|
|
152
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.2-rc.1",
|
|
153
|
+
"@deepseek-ai/schemastery": "~3.19.0",
|
|
152
154
|
"@earendil-works/pi-ai": "1.5.0",
|
|
153
155
|
"@testing-library/dom": "^10.4.1",
|
|
154
156
|
"@testing-library/react": "^16.3.0",
|