@dan-ai-studio/dshopencodego 0.1.89 → 0.1.91

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 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.18.6-alpha.2`, **compiled into `lib/`** (devDependency) | a build-time dependency |
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` 所用的运行时(`4.0.2`/`4.0.3` 随 `0.2.0` 之前的支持一并移除)。
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.18.6-alpha.2`,**打进产物**(devDependency) | 构建期依赖 |
255
+ | 已打包依赖 `@deepseek-ai/schemastery` | `~3.19.0`,**打进产物**(devDependency) | 构建期依赖 |
256
256
 
257
257
  维护时需要注意:
258
258
 
package/lib/client.js CHANGED
@@ -548,10 +548,10 @@ var en = {
548
548
  keepAliveLabel: "Connection kept idle (seconds)",
549
549
  keepAliveHint: "How long a connection to the gateway is held between requests. Longer pauses in a conversation cost one handshake each; the timer restarts on every answer.",
550
550
  imageBudgetPresetLabel: "Image budget preset",
551
- imageBudgetPresetHint: "Which budgets size request images: the DSH defaults, this plugin\u2019s tighter set, or pi-ai\u2019s catalog profile.",
552
- imageBudgetPresetDsh: "DSH default (2048\xD72048 / 1MB / 20MB)",
553
- imageBudgetPresetDshopencodego: "This plugin (1.44M px / 400KB / 6MB)",
554
- imageBudgetPresetPiAi: "pi-ai catalog (2000\xD72000 / 4.5MB / 20MB)",
551
+ imageBudgetPresetHint: "Which budgets size request images: the DSH defaults, this plugin\u2019s tighter set, or pi-ai\u2019s catalog profile. Pixel counts cap the whole image area, scaled proportionally.",
552
+ imageBudgetPresetDsh: "DSH default (4.19M px / 1 MiB / 20 MiB)",
553
+ imageBudgetPresetDshopencodego: "This plugin (1.44M px / 400 KB / 6 MiB)",
554
+ imageBudgetPresetPiAi: "pi-ai catalog (4.00M px / 4.5 MiB / 20 MiB)",
555
555
  requestLogTitle: "Request log",
556
556
  requestLogHint: "Per-request records for troubleshooting. Off by default; turning it on registers the sidebar entry and the conversation tab, and the request path stays exactly as without the log when off.",
557
557
  requestLogPageHint: "One row per request. Click a column head to sort; the table scrolls and the filters stay put.",
@@ -760,10 +760,10 @@ var zh = {
760
760
  keepAliveLabel: "\u8FDE\u63A5\u7A7A\u95F2\u4FDD\u7559\uFF08\u79D2\uFF09",
761
761
  keepAliveHint: "\u4E0E\u7F51\u5173\u7684\u8FDE\u63A5\u5728\u4E24\u6B21\u8BF7\u6C42\u4E4B\u95F4\u4FDD\u7559\u591A\u4E45\u3002\u5BF9\u8BDD\u4E2D\u6BCF\u6B21\u505C\u987F\u8F83\u4E45\u90FD\u8981\u91CD\u65B0\u63E1\u624B\u4E00\u6B21\uFF1B\u6BCF\u6B21\u6536\u5230\u56DE\u7B54\u540E\u8BA1\u65F6\u90FD\u4F1A\u91CD\u65B0\u5F00\u59CB\u3002",
762
762
  imageBudgetPresetLabel: "\u56FE\u7247\u9884\u7B97\u9884\u8BBE",
763
- imageBudgetPresetHint: "\u8BF7\u6C42\u56FE\u7247\u6309\u54EA\u5957\u9884\u7B97\u7F29\u653E\uFF1ADSH \u9ED8\u8BA4\u3001\u672C\u63D2\u4EF6\u7684\u66F4\u7D27\u51D1\u503C\u3001\u6216 pi-ai \u76EE\u5F55\u914D\u7F6E\u3002",
764
- imageBudgetPresetDsh: "DSH \u9ED8\u8BA4\uFF082048\xD72048 / 1MB / 20MB\uFF09",
765
- imageBudgetPresetDshopencodego: "\u672C\u63D2\u4EF6\uFF08144\u4E07\u50CF\u7D20 / 400KB / 6MB\uFF09",
766
- imageBudgetPresetPiAi: "pi-ai \u76EE\u5F55\uFF082000\xD72000 / 4.5MB / 20MB\uFF09",
763
+ imageBudgetPresetHint: "\u8BF7\u6C42\u56FE\u7247\u6309\u54EA\u5957\u9884\u7B97\u7F29\u653E\uFF1ADSH \u9ED8\u8BA4\u3001\u672C\u63D2\u4EF6\u7684\u66F4\u7D27\u51D1\u503C\u3001\u6216 pi-ai \u76EE\u5F55\u914D\u7F6E\u3002\u50CF\u7D20\u6570\u4E3A\u6574\u5F20\u56FE\u7684\u9762\u79EF\u4E0A\u9650\uFF0C\u8D85\u51FA\u65F6\u6309\u7B49\u6BD4\u7F29\u653E\u3002",
764
+ imageBudgetPresetDsh: "DSH \u9ED8\u8BA4\uFF08419\u4E07\u50CF\u7D20 / 1 MiB / 20 MiB\uFF09",
765
+ imageBudgetPresetDshopencodego: "\u672C\u63D2\u4EF6\uFF08144\u4E07\u50CF\u7D20 / 400 KB / 6 MiB\uFF09",
766
+ imageBudgetPresetPiAi: "pi-ai \u76EE\u5F55\uFF08400\u4E07\u50CF\u7D20 / 4.5 MiB / 20 MiB\uFF09",
767
767
  requestLogTitle: "\u8BF7\u6C42\u65E5\u5FD7",
768
768
  requestLogHint: "\u6392\u67E5\u7528\u7684\u9010\u8BF7\u6C42\u8BB0\u5F55\u3002\u9ED8\u8BA4\u5173\u95ED\uFF1B\u6253\u5F00\u540E\u6CE8\u518C\u4FA7\u8FB9\u680F\u5165\u53E3\u4E0E\u4F1A\u8BDD\u6807\u7B7E\u9875\uFF0C\u5173\u95ED\u540E\u8BF7\u6C42\u8DEF\u5F84\u4E0E\u6CA1\u6709\u8BE5\u65E5\u5FD7\u9010\u5B57\u8282\u4E00\u81F4\u3002",
769
769
  requestLogPageHint: "\u6BCF\u4E2A\u8BF7\u6C42\u4E00\u884C\u3002\u70B9\u5217\u5934\u53EF\u6392\u5E8F\uFF1B\u8868\u683C\u6EDA\u52A8\uFF0C\u7B5B\u9009\u680F\u56FA\u5B9A\u5728\u4E0A\u65B9\u3002",
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.89" : "0.0.0-dev";
80101
+ var PLUGIN_VERSION = true ? "0.1.91" : "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.89",
3
+ "version": "0.1.91",
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.6-alpha.2",
127
- "@deepseek-ai/dsh-api-remotes": "0.2.2-alpha.3",
128
- "@deepseek-ai/dsh-attachment": "0.2.2-alpha.3",
129
- "@deepseek-ai/dsh-brand": "0.2.2-alpha.3",
130
- "@deepseek-ai/dsh-client-locale": "0.2.2-alpha.3",
131
- "@deepseek-ai/dsh-client-store": "0.2.2-alpha.3",
132
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-alpha.3",
133
- "@deepseek-ai/dsh-client-ui-layout": "0.2.2-alpha.3",
134
- "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-alpha.3",
135
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-alpha.3",
136
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.3",
137
- "@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.3",
138
- "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-alpha.3",
139
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.3",
140
- "@deepseek-ai/dsh-credentials": "0.2.2-alpha.3",
141
- "@deepseek-ai/dsh-fs": "0.2.2-alpha.3",
142
- "@deepseek-ai/dsh-launch-environment": "0.2.2-alpha.3",
143
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
144
- "@deepseek-ai/dsh-sandbox": "0.2.2-alpha.3",
145
- "@deepseek-ai/dsh-scope": "0.2.2-alpha.3",
146
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
147
- "@deepseek-ai/dsh-settings": "0.2.2-alpha.3",
148
- "@deepseek-ai/dsh-timeout": "0.2.2-alpha.3",
149
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.3",
150
- "@deepseek-ai/dsh-typert-registry": "0.2.2-alpha.3",
151
- "@deepseek-ai/schemastery": "~3.18.6-alpha.2",
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",