dsh-vscode-mode 0.14.3 → 0.14.4
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 +11 -9
- package/lib/client.js +488 -180
- package/lib/client.js.map +1 -1
- package/lib/index.js +242 -53
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
- package/skills/dsh-vscodemode-mcp/SKILL.md +9 -3
- package/src/client/diffDockStore.ts +8 -3
- package/src/client/mcpForm.ts +79 -0
- package/src/client/mcpState.ts +179 -0
- package/src/client/styles/mcp.css +6 -3
- package/src/client/ui/McpSettings.ts +174 -137
- package/src/dshVersion.ts +4 -3
- package/src/mcp.ts +131 -23
- package/src/mcpIsolation.ts +2 -1
- package/src/mcpProject.ts +74 -14
- package/src/mcpRuntime.ts +18 -3
- package/src/rpc.ts +2 -1
- package/src/shared/mcpStatus.ts +30 -0
- package/src/shared/rpc.ts +2 -0
package/README.md
CHANGED
|
@@ -451,24 +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.14.
|
|
454
|
+
[0.14.4 发布说明](docs/release-0.14.4.md);从 0.14.2 或更旧版本升级还须阅读
|
|
455
|
+
[0.14.3 数据迁移与回退说明](docs/release-0.14.3.md)。
|
|
455
456
|
|
|
456
457
|
```bash
|
|
457
458
|
# ① Git 安装(clone + prepare 构建;推荐打固定 tag)
|
|
458
|
-
dsh plugin --profile web add github:Lenonss/DSH_VsCodeMode#v0.14.
|
|
459
|
+
dsh plugin --profile web add github:Lenonss/DSH_VsCodeMode#v0.14.4
|
|
459
460
|
|
|
460
461
|
# ② npm 注册表(发布到 npm 后)
|
|
461
|
-
dsh plugin --profile web add dsh-vscode-mode@0.14.
|
|
462
|
+
dsh plugin --profile web add dsh-vscode-mode@0.14.4
|
|
462
463
|
|
|
463
464
|
# ③ GitHub Release tgz 直装(Release asset 可用后)
|
|
464
|
-
dsh plugin --profile web add https://github.com/Lenonss/DSH_VsCodeMode/releases/download/v0.14.
|
|
465
|
+
dsh plugin --profile web add https://github.com/Lenonss/DSH_VsCodeMode/releases/download/v0.14.4/dsh-vscode-mode-0.14.4.tgz
|
|
465
466
|
```
|
|
466
467
|
|
|
467
|
-
> **DSH 0.2.0-rc.1
|
|
468
|
-
> `0.
|
|
469
|
-
>
|
|
470
|
-
>
|
|
471
|
-
>
|
|
468
|
+
> **DSH 0.2 兼容范围**:`0.14.1` 起精确放行 `0.2.0-rc.1`,`0.14.4` 再加入
|
|
469
|
+
> Desktop `0.2.0-rc.2`;其他 0.2 版本(含 rc.3 与正式版)须另行适配。`0.14.4`
|
|
470
|
+
> 同时修复 MCP 状态/配置管理和空差异栏显示;npm 安装前应确认注册表中版本可查询。
|
|
471
|
+
> 替换已有包后需重启目标 DSH Host 并强制刷新原页面;仅刷新不会更新 Host。
|
|
472
|
+
> 从 0.14.2 或更旧版本升级时,首次访问工作区会执行 0.14.3 引入的 SQLite 活跃记录迁移。
|
|
472
473
|
>
|
|
473
474
|
> `dsh plugin ...` 是 pnpm 转发器:git 安装会克隆仓库、执行该包 `prepare` 脚本
|
|
474
475
|
> (tsdown 双面构建)后安装,再按 `dsh.bundle` 声明自动加入 profile 的 bundles
|
|
@@ -797,6 +798,7 @@ Keep All / Undo All 却是亮的。修复:单文件 Keep / Undo 覆盖冲突
|
|
|
797
798
|
完整变更见 [GitHub Releases](https://github.com/Lenonss/DSH_VsCodeMode/releases)。
|
|
798
799
|
近期关键版本:
|
|
799
800
|
|
|
801
|
+
- **v0.14.4**:**Desktop rc.2 兼容与 MCP 管理修复**——六项 DSH peer 精确纳入 `0.2.0-rc.2`;MCP 状态不再把配置启用或 ACTIVE 当成在线证据,只读快照轮询避免重复配置扫描,配置修改串行防止丢更新,跨全局/项目拒绝工具命名空间交叠并安全隐藏历史歧义工具。编辑器在没有待处理差异时隐藏底部操作条,其他文件的差异和冲突入口保留。验证范围、升级及回退注意事项见 [0.14.4 发布说明](docs/release-0.14.4.md)。
|
|
800
802
|
- **v0.14.3**:**差异审查性能与持久化**——差异定位/行号与多块应用避免重复全文扫描/复制;归档从全量 JSON 改为每工作区 SQLite 事务追加,活跃记录由整份重写改为逐条更新,同库原子提交决策及 Undo 意图;归档列表按页加载、详情按批次读取。Web 实测单块 Keep RPC 17/22ms(样本值),旧归档 JSON 与迁移前活跃 JSON 保留;侧栏编辑器内的差异栏改为居中悬浮 banner。升级和回退注意事项见 [0.14.3 发布说明](docs/release-0.14.3.md)。
|
|
801
803
|
- **v0.14.2**:**全局搜索选项行为修复**——未勾选「区分大小写」时显式使用内容搜索 `--ignore-case`,大写查询仍命中小写内容,不改变文件 glob 的大小写规则;「仅当前文件」无活动文件时不再误搜整个工作区,切换活动文件时自动重搜。大小写、全词、正则与包含/排除开关补充定向测试;详见 [0.14.2 发布说明](docs/release-0.14.2.md)。
|
|
802
804
|
- **v0.14.1**:**DSH Web 0.2.0-rc.1 安装兼容**——六项 DSH peer 精确加入
|