dsh-multi-chat 1.0.1 → 1.0.2
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.md +7 -0
- package/README.zh.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,6 +152,13 @@ Open that URL on your phone and enter the token to reach the full DSH UI. The ga
|
|
|
152
152
|
> (reconciled from the installed dependency set — see `dsh plugin --help`).
|
|
153
153
|
> Restart `dsh web` afterwards to unload the wall.
|
|
154
154
|
|
|
155
|
+
> **pnpm ≥ 11 gotcha**: pnpm 11's `minimumReleaseAge` supply-chain guard skips
|
|
156
|
+
> freshly published versions (e.g. a plugin published minutes ago) and silently
|
|
157
|
+
> installs the newest "aged" release instead. If `dsh plugin --profile web add
|
|
158
|
+
> dsh-multi-chat` reports an older version than the latest, add
|
|
159
|
+
> `minimumReleaseAge: 0` to the profile's
|
|
160
|
+
> `~/.dsh/profiles/web/pnpm-workspace.yaml` and re-run the add.
|
|
161
|
+
|
|
155
162
|
The repo also bundles a cross-platform CLI, `dsh-multi-chat` (`bin/dsh-multi-chat.mjs`). Its `install` command probes `$DSH_HOME` (default `~/.dsh`), packs the package into the profile's `plugins/` folder, and runs `dsh plugin --profile web add <tarball>` (same behavior as `install-plugin.ps1`).
|
|
156
163
|
|
|
157
164
|
### Channel 1: npm / npx (recommended, easiest)
|
package/README.zh.md
CHANGED
|
@@ -150,6 +150,11 @@ dsh plugin --profile web remove dsh-multi-chat
|
|
|
150
150
|
> 它从 profile 移除依赖,DSH 会自动把它从 `dsh.profile.bundles` 层栈里剔除
|
|
151
151
|
> (层栈按已安装依赖实时调和,详见 `dsh plugin --help`)。之后重启 `dsh web` 卸载生效。
|
|
152
152
|
|
|
153
|
+
> **pnpm ≥ 11 注意**:pnpm 11 的 `minimumReleaseAge` 供应链保护会跳过刚发布的版本
|
|
154
|
+
> (例如几分钟前才发布的插件),静默回退到最新的「已过成熟期」版本。如果
|
|
155
|
+
> `dsh plugin --profile web add dsh-multi-chat` 装到的版本比最新版旧,请在
|
|
156
|
+
> `~/.dsh/profiles/web/pnpm-workspace.yaml` 里加上 `minimumReleaseAge: 0` 后重试。
|
|
157
|
+
|
|
153
158
|
仓库还内置了一个跨平台 CLI `dsh-multi-chat`(`bin/dsh-multi-chat.mjs`)。它的 `install` 命令会探测 `$DSH_HOME`(缺省 `~/.dsh`),把包打包进 profile 的 `plugins/` 目录,再执行 `dsh plugin --profile web add <tarball>`(与 `install-plugin.ps1` 行为一致)。
|
|
154
159
|
|
|
155
160
|
### 渠道一:npm / npx(推荐,最省事)
|