dsh-multi-chat 1.0.5 → 1.0.6

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 (3) hide show
  1. package/README.md +17 -2
  2. package/README.zh.md +17 -2
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -49,7 +49,8 @@ Install a **multi-window wall** into the official [DeepSeek Harness (DSH)](https
49
49
 
50
50
  ```bash
51
51
  # 1. Install — ONE command straight from the npm registry (no CLI to download):
52
- dsh plugin --profile web add dsh-multi-chat
52
+ dsh plugin --profile web add dsh-multi-chat # for `dsh web`
53
+ dsh plugin --profile desktop add dsh-multi-chat # for the Desktop app
53
54
 
54
55
  # …or via the plugin's own npx CLI (packs a tarball and installs it):
55
56
  npx dsh-multi-chat install
@@ -134,7 +135,19 @@ Open that URL on your phone and enter the token to reach the full DSH UI. The ga
134
135
 
135
136
  ## Distribution & install
136
137
 
137
- `dsh-multi-chat` is published to npm (unscoped public package) and released on GitHub (source zip/tarball per tag). Every channel below ends in the same three things: the package lands as a dependency of the web profile, DSH reconciles it into the bundle layer stack (the package declares `dsh.bundle.patch`, so its own `cordis.patch.yml` is mounted automatically — no manual patch edits), and a `dsh web` restart loads the wall.
138
+ `dsh-multi-chat` is published to npm (unscoped public package) and released on GitHub (source zip/tarball per tag). Every channel below ends in the same three things: the package lands as a dependency of the target profile, DSH reconciles it into the bundle layer stack (the package declares `dsh.bundle.patch`, so its own `cordis.patch.yml` is mounted automatically — no manual patch edits), and a restart of that profile loads the wall.
139
+
140
+ ### Which profile? (`web` or `desktop`)
141
+
142
+ Both work, and they run the **same** browser surface with the **same** platform module table:
143
+
144
+ | | `web` (`dsh web`) | `desktop` (the Desktop app) |
145
+ |---|---|---|
146
+ | Host half — `/multi/api/*` routes | ✅ needs the `webServer` service | ✅ `dsh-web-app` provides it |
147
+ | Browser half — slot registrations | ✅ | ✅ identical seed table |
148
+ | Marketplace listing | ✅ | ✅ |
149
+
150
+ Swap `--profile web` for `--profile desktop` in any command below. `dshmarket` is the precedent: it ships the same `dsh.client.platform: "web"` manifest and runs in both.
138
151
 
139
152
  ### Install / uninstall cheat-sheet
140
153
 
@@ -146,6 +159,8 @@ Open that URL on your phone and enter the token to reach the full DSH UI. The ga
146
159
  | **Tarball (offline)** | `npm pack` → `dsh plugin --profile web add ./dsh-multi-chat-*.tgz` | `dsh plugin --profile web remove dsh-multi-chat` |
147
160
  | **Git clone** | `node bin/dsh-multi-chat.mjs install` | `dsh plugin --profile web remove dsh-multi-chat` |
148
161
 
162
+ > Every row takes `--profile desktop` as well; see [Which profile?](#which-profile-web-or-desktop).
163
+
149
164
  > `dsh plugin --profile web remove dsh-multi-chat` is the **single uninstall
150
165
  > command for every channel**: it removes the dependency from the profile, and
151
166
  > DSH strips it from the `dsh.profile.bundles` layer stack automatically
package/README.zh.md CHANGED
@@ -49,7 +49,8 @@
49
49
 
50
50
  ```bash
51
51
  # 1. 安装 —— 从 npm 官方源一条命令搞定(无需下载任何 CLI):
52
- dsh plugin --profile web add dsh-multi-chat
52
+ dsh plugin --profile web add dsh-multi-chat # 适用于 dsh web
53
+ dsh plugin --profile desktop add dsh-multi-chat # 适用于桌面版应用
53
54
 
54
55
  # ……或通过插件自带的 npx CLI(先打包再安装):
55
56
  npx dsh-multi-chat install
@@ -134,7 +135,19 @@ dsh plugin --profile web remove dsh-multi-chat
134
135
 
135
136
  ## 分发与安装
136
137
 
137
- `dsh-multi-chat` 已发布到 npm(无作用域公开包),并在 GitHub 按 tag 发布 Release(源码 zip/tarball)。下面每条渠道殊途同归:包成为 web profile 的依赖 → DSH 自动调和进 bundle 层栈(包声明了 `dsh.bundle.patch`,自带 `cordis.patch.yml` 自动挂载,无需手改任何文件)→ 重启 `dsh web` 生效。
138
+ `dsh-multi-chat` 已发布到 npm(无作用域公开包),并在 GitHub 按 tag 发布 Release(源码 zip/tarball)。下面每条渠道殊途同归:包成为目标 profile 的依赖 → DSH 自动调和进 bundle 层栈(包声明了 `dsh.bundle.patch`,自带 `cordis.patch.yml` 自动挂载,无需手改任何文件)→ 重启该 profile 生效。
139
+
140
+ ### 用哪个 profile?(`web` 还是 `desktop`)
141
+
142
+ 两者都支持,而且跑的是**同一套**浏览器界面、**同一张**平台模块表:
143
+
144
+ | | `web`(`dsh web`) | `desktop`(桌面版应用) |
145
+ |---|---|---|
146
+ | 宿主侧 —— `/multi/api/*` 路由 | ✅ 依赖 `webServer` 服务 | ✅ `dsh-web-app` 已提供 |
147
+ | 浏览器侧 —— slot 注册 | ✅ | ✅ seed 表完全相同 |
148
+ | 市场列表展示 | ✅ | ✅ |
149
+
150
+ 下面任何命令把 `--profile web` 换成 `--profile desktop` 即可。可参照的先例是 `dshmarket`:它同样声明 `dsh.client.platform: "web"`,却在两端都正常运行。
138
151
 
139
152
  ### 安装 / 卸载速查表
140
153
 
@@ -146,6 +159,8 @@ dsh plugin --profile web remove dsh-multi-chat
146
159
  | **Tarball(离线)** | `npm pack` → `dsh plugin --profile web add ./dsh-multi-chat-*.tgz` | `dsh plugin --profile web remove dsh-multi-chat` |
147
160
  | **Git clone** | `node bin/dsh-multi-chat.mjs install` | `dsh plugin --profile web remove dsh-multi-chat` |
148
161
 
162
+ > 上表每一行都可以换成 `--profile desktop`;详见[用哪个 profile?](#用哪个-profileweb-还是-desktop)。
163
+
149
164
  > `dsh plugin --profile web remove dsh-multi-chat` 是**所有渠道统一的卸载命令**:
150
165
  > 它从 profile 移除依赖,DSH 会自动把它从 `dsh.profile.bundles` 层栈里剔除
151
166
  > (层栈按已安装依赖实时调和,详见 `dsh plugin --help`)。之后重启 `dsh web` 卸载生效。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-multi-chat",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "DSH 多窗口墙:在官方 DeepSeek Harness Web 界面里以多窗口网格并排运行、监控多个对话实例,一屏盯住所有 Agent 的实时进度;内置带口令认证的局域网网关,手机/平板也能看。",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,7 +36,8 @@
36
36
  },
37
37
  "marketplace": {
38
38
  "profiles": [
39
- "web"
39
+ "web",
40
+ "desktop"
40
41
  ],
41
42
  "requiresRestart": true,
42
43
  "manualSteps": false,