dsh-vscode-mode 0.14.0 → 0.14.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.md +15 -5
- package/lib/index.js +7 -2
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
- package/src/dshVersion.ts +4 -2
package/README.md
CHANGED
|
@@ -451,19 +451,25 @@ DSH 每次启动监听随机端口,`http://127.0.0.1:<port>` 就是浏览器 o
|
|
|
451
451
|
|
|
452
452
|
官方 `dsh plugin` 方式,三选一。下面以 `web` profile 为例;Desktop 或其他命名
|
|
453
453
|
profile 请替换为实际目标,不要把示例目录当成当前运行 profile。升级前可阅读
|
|
454
|
-
[0.
|
|
454
|
+
[0.14.1 适配与发布说明](docs/release-0.14.1.md)。
|
|
455
455
|
|
|
456
456
|
```bash
|
|
457
457
|
# ① Git 安装(clone + prepare 构建;推荐打固定 tag)
|
|
458
|
-
dsh plugin --profile web add github:Lenonss/DSH_VsCodeMode#v0.
|
|
458
|
+
dsh plugin --profile web add github:Lenonss/DSH_VsCodeMode#v0.14.1
|
|
459
459
|
|
|
460
460
|
# ② npm 注册表(发布到 npm 后)
|
|
461
|
-
dsh plugin --profile web add dsh-vscode-mode
|
|
461
|
+
dsh plugin --profile web add dsh-vscode-mode@0.14.1
|
|
462
462
|
|
|
463
|
-
# ③ GitHub Release tgz
|
|
464
|
-
dsh plugin --profile web add https://github.com/Lenonss/DSH_VsCodeMode/releases/download/v0.
|
|
463
|
+
# ③ GitHub Release tgz 直装(Release asset 可用后)
|
|
464
|
+
dsh plugin --profile web add https://github.com/Lenonss/DSH_VsCodeMode/releases/download/v0.14.1/dsh-vscode-mode-0.14.1.tgz
|
|
465
465
|
```
|
|
466
466
|
|
|
467
|
+
> **DSH 0.2.0-rc.1 安装修复**:`0.14.1` 仅精确放行此 DSH 版本;旧版
|
|
468
|
+
> `0.14.0` 仍会被其 peer 门禁拒绝,其他 0.2 版本须另行适配。Tag 推送后需等
|
|
469
|
+
> GitHub Actions 发布完成,npm 还须确认该版本可查询;在产物未就绪时,可依
|
|
470
|
+
> [0.14.1 适配与发布说明](docs/release-0.14.1.md) 构建并安装本地包。若添加 bundle 后尚未激活,
|
|
471
|
+
> 在方便时重启目标 DSH Host 并刷新原页面(本次 Web profile 已即时挂载)。
|
|
472
|
+
>
|
|
467
473
|
> `dsh plugin ...` 是 pnpm 转发器:git 安装会克隆仓库、执行该包 `prepare` 脚本
|
|
468
474
|
> (tsdown 双面构建)后安装,再按 `dsh.bundle` 声明自动加入 profile 的 bundles
|
|
469
475
|
> 层。若 pnpm 提示构建脚本需批准,把 key 加到
|
|
@@ -791,6 +797,10 @@ Keep All / Undo All 却是亮的。修复:单文件 Keep / Undo 覆盖冲突
|
|
|
791
797
|
完整变更见 [GitHub Releases](https://github.com/Lenonss/DSH_VsCodeMode/releases)。
|
|
792
798
|
近期关键版本:
|
|
793
799
|
|
|
800
|
+
- **v0.14.1**:**DSH Web 0.2.0-rc.1 安装兼容**——六项 DSH peer 精确加入
|
|
801
|
+
`=0.2.0-rc.1`,保留已有 0.1.x 范围,继续拒绝其他未经适配的 0.2 版本;
|
|
802
|
+
版本线报告单列 rc.1。已完成 Web 安装、挂载与编辑器基础冒烟,完整功能和
|
|
803
|
+
Desktop 等其他平台尚未逐项验收。详见 [0.14.1 适配与发布说明](docs/release-0.14.1.md)。
|
|
794
804
|
- **v0.14.0**:**界面状态跨 DSH 重启恢复**——DSH 每次启动端口随机,origin 一变
|
|
795
805
|
`localStorage` 就换了一份空的,插件的页签、光标、侧栏、编辑 Tab 等全部界面状态都
|
|
796
806
|
随之丢失。本版把界面状态镜像到 DSH home(`cache/workspace/<hash>/ui.v1.json` 与
|
package/lib/index.js
CHANGED
|
@@ -2933,14 +2933,19 @@ function inDshRange(version, range) {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
/**
|
|
2935
2935
|
* 版本线标签:报告与文档展示版本归属;不可解析返回 '未知'。
|
|
2936
|
-
*
|
|
2937
|
-
* @author ddj 2026年09月02号 / 2026年09月18号 / 2026年09月22号
|
|
2936
|
+
* 逐线自新到旧匹配,先命中先返回;仅 0.2.0-rc.1 精确标记为已审计版本。
|
|
2937
|
+
* @author ddj 2026年09月02号 / 2026年09月18号 / 2026年09月22号 / 2026年09月29号
|
|
2938
2938
|
* @param input 版本串(如 '0.1.6-alpha.2')
|
|
2939
2939
|
* @returns 版本线标签
|
|
2940
2940
|
*/
|
|
2941
2941
|
function familyLabel(input) {
|
|
2942
2942
|
const version = parseDshVersion(input);
|
|
2943
2943
|
if (!version) return "未知";
|
|
2944
|
+
if (inDshRange(version, {
|
|
2945
|
+
from: "0.2.0-rc.1",
|
|
2946
|
+
to: "0.2.0-rc.1"
|
|
2947
|
+
})) return "0.2.0-rc.1(设置=profile Config;按能力探测)";
|
|
2948
|
+
if (inDshRange(version, { from: "0.2.0-0" })) return "0.2.0 及更新(除 rc.1 外未经逐版适配;按能力探测)";
|
|
2944
2949
|
if (inDshRange(version, { from: "0.1.7-alpha.1" })) return "0.1.7-alpha.1 及更新(设置=profile Config + configForms 客户端面 + 会话 V4)";
|
|
2945
2950
|
if (inDshRange(version, { from: "0.1.6-alpha.2" })) return "0.1.6-alpha.2 及更新(会话多实例共存 + 回合改动卡片 + Office 侧栏预览 + 侧栏浏览器)";
|
|
2946
2951
|
if (inDshRange(version, { from: "0.1.6-alpha.1" })) return "0.1.6-alpha 及更新(MCP SDK v2 + Web 侧边栏终端 + 文件链接默认侧栏预览)";
|