@zhangfengshun/dsh-remote-ssh 1.9.1 → 1.9.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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  本文件的版本号与 `package.json` 的 `version` 保持一致。每个版本对应一个 Cordis Package 快照(`pkg-N`)。
4
4
 
5
+ ## [1.9.2] — 修复自动配置 patch 不生效(bundles 顺序)
6
+ ### 修复
7
+ - **config 覆盖被跳过**:`cordis.patch.yml` 中的 `id: better-sidebar` config 覆盖需要在 `better-sidebar` 条目被 insert 之后才能生效。如果 `@zhangfengshun/dsh-remote-ssh` 在 bundles 列表中排在 `dsh-better-sidebar` 之前,patch 会因"entry not found"被跳过。
8
+ - **修复方式**:在 README 中明确要求安装顺序(`@zhangfengshun/dsh-remote-ssh` 必须在 `dsh-better-sidebar` 之后),并提供手动调整 `profile/package.json` 中 `dsh.profile.bundles` 顺序的说明。
9
+
5
10
  ## [1.9.1] — 安装时自动配置 better-sidebar shell
6
11
  ### 改进
7
12
  - **安装即生效**:`cordis.patch.yml` 新增 `id: better-sidebar` 的 `config.shell` 覆盖,用 `!!js` 动态计算 wrapper 脚本路径(适配不同平台和用户主目录)。安装插件后无需手动编辑任何配置文件,重启 DSH 即可使用远程终端透明接入。
package/README.md CHANGED
@@ -29,10 +29,12 @@ dsh plugin --profile <name> add /absolute/path/to/dsh-remote-ssh
29
29
  ### 发布后安装
30
30
 
31
31
  ```bash
32
- dsh plugin --profile <name> add @zhangfengshun/dsh-remote-ssh@1.9.1
32
+ dsh plugin --profile <name> add @zhangfengshun/dsh-remote-ssh@1.9.2
33
33
  ```
34
34
 
35
35
  > ⚠️ 安装后需**重启 DSH** 才生效;后续仅修改 Client 半边时刷新浏览器即可。
36
+ >
37
+ > ⚠️ **安装顺序**:本插件会自动覆盖 `dsh-better-sidebar` 的 `shell` 配置。为确保 patch 生效(config 覆盖在 insert 之后应用),`@zhangfengshun/dsh-remote-ssh` 必须在 bundles 列表中排在 `dsh-better-sidebar` **之后**。如果先安装了 `@zhangfengshun/dsh-remote-ssh`,再安装 `dsh-better-sidebar`,需手动调整 `profile/package.json` 中 `dsh.profile.bundles` 的顺序,把 `@zhangfengshun/dsh-remote-ssh` 移到最后。
36
38
 
37
39
  ## 快速开始
38
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhangfengshun/dsh-remote-ssh",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "DSH web plugin: VSCode Remote-SSH-like remote development (SSH to supercomputers/servers, remote workspace, file explorer, integrated terminal), integrated with dsh-better-sidebar and DSH settings.",
5
5
  "keywords": [
6
6
  "dsh",