dsh-sidebar-view 0.2.0 → 1.0.1

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
@@ -37,7 +37,7 @@ The shipped View options already covers by workspace, workspace tree, one list (
37
37
  ## Install
38
38
 
39
39
  ```bash
40
- # From npm (once published)
40
+ # From npm
41
41
  dsh plugin --profile web add dsh-sidebar-view
42
42
 
43
43
  # From GitHub (the repo ships the built client.js, no local build needed)
@@ -65,7 +65,9 @@ The plugin never patches shipped files and never writes user data; remove it and
65
65
  | DeepSeek Harness `0.2.2-rc.3` · macOS desktop (`desktop` profile) | Verified |
66
66
  | DeepSeek Harness `0.2.2-rc.3` · browser / `web` profile | Verified |
67
67
  | Clean isolated profile with only this plugin | Verified: boots cleanly |
68
- | DSH `0.3.x` | Untested; the port needs realigning with the new `dsh-client-ui-workspace` |
68
+ | DSH `0.3.x` | Untested; `engines.dsh` refuses the install, so you cannot land on a version that breaks |
69
+
70
+ The manifest declares `engines.dsh: >=0.2.2-0 <0.3.0`; the host checks it on install, update, and boot. To try a newer host early, opt in explicitly with `dsh plugin --profile <p> allow-version`.
69
71
 
70
72
  ## Usage
71
73
 
package/README.md CHANGED
@@ -40,7 +40,7 @@
40
40
  ## 安装
41
41
 
42
42
  ```bash
43
- # 从 npm 安装(发布后)
43
+ # 从 npm 安装
44
44
  dsh plugin --profile web add dsh-sidebar-view
45
45
 
46
46
  # 从 GitHub 安装(仓库里带了构建好的 client.js,无需本地构建)
@@ -68,7 +68,9 @@ dsh plugin --profile web remove dsh-sidebar-view
68
68
  | DeepSeek Harness `0.2.2-rc.3` · macOS Desktop(`desktop` profile) | 已验证 |
69
69
  | DeepSeek Harness `0.2.2-rc.3` · 浏览器 / `web` profile | 已验证 |
70
70
  | 隔离的干净 profile(只装本插件) | 已验证:启动无报错 |
71
- | DSH `0.3.x` | 未验证,需要按新版 `dsh-client-ui-workspace` 重新对齐移植层 |
71
+ | DSH `0.3.x` | 未验证;`engines.dsh` 会在安装时直接拒绝,不会让你装上一个会崩的版本 |
72
+
73
+ `package.json` 声明 `engines.dsh: >=0.2.2-0 <0.3.0`,宿主在安装、更新和启动时都会据此检查;需要提前试用时用 `dsh plugin --profile <p> allow-version` 显式豁免。
72
74
 
73
75
  ## 使用
74
76
 
package/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  window.__ModuleLoader__.load({id:"dsh-sidebar-view",factory:require=>{var module={exports:{}};var exports=module.exports;
2
- ;try{console.info('[dsh-sidebar-view] build 2026-11-18T12:34:38.217Z')}catch(e){}
2
+ ;try{console.info('[dsh-sidebar-view] build 2026-11-18T14:01:13.698Z')}catch(e){}
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sidebar-view",
3
- "version": "0.2.0",
3
+ "version": "1.0.1",
4
4
  "description": "Adds a time-grouped view and status tabs to the DeepSeek Harness sidebar by seating on the shipped workspace browser: the shipped package stays enabled, the plugin never registers services, and any failure falls back to the shipped UI.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -14,7 +14,8 @@
14
14
  "index.js",
15
15
  "client.js",
16
16
  "cordis.patch.yml",
17
- "README.md"
17
+ "README.md",
18
+ "README.en.md"
18
19
  ],
19
20
  "scripts": {
20
21
  "build": "node build.mjs"
@@ -55,7 +56,8 @@
55
56
  "author": "garin",
56
57
  "license": "MIT",
57
58
  "engines": {
58
- "node": ">=22.15"
59
+ "node": ">=22.15",
60
+ "dsh": ">=0.2.2-0 <0.3.0"
59
61
  },
60
62
  "devDependencies": {
61
63
  "@deepseek-ai/cordis": "^4.1.0",