dsh-plugin-tool-management 0.21.1 → 0.21.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 +73 -0
- package/README.md +42 -6
- package/README_EN.md +40 -6
- package/docs/images/1-EN.png +0 -0
- package/docs/images/1.png +0 -0
- package/docs/images/2-EN.png +0 -0
- package/docs/images/2.png +0 -0
- package/docs/images/3-EN.png +0 -0
- package/docs/images/3.png +0 -0
- package/docs/images/4-EN.png +0 -0
- package/docs/images/4.png +0 -0
- package/docs/images/5-EN.png +0 -0
- package/docs/images/5.png +0 -0
- package/docs/images/6-EN.png +0 -0
- package/docs/images/6.png +0 -0
- package/docs/images/7-EN.png +0 -0
- package/docs/images/7.png +0 -0
- package/docs/images/8-EN.png +0 -0
- package/docs/images/8.png +0 -0
- package/docs/update.md +37 -36
- package/lib/boot/reconcile.js +157 -0
- package/lib/client.js +6658 -3146
- package/lib/compat/patch-dialect.js +14 -1
- package/lib/compat/probe.js +25 -21
- package/lib/context-inject-frame.js +27 -36
- package/lib/context-inject-select.js +59 -4
- package/lib/context-inject-surface.js +49 -3
- package/lib/context-inject.js +144 -21
- package/lib/diagnostics.js +77 -0
- package/lib/http-api.js +39 -23
- package/lib/http-fence.js +40 -5
- package/lib/imports/unzip.js +48 -0
- package/lib/imports/upload.js +8 -36
- package/lib/index.js +2906 -166
- package/lib/mcp/disabled-tools.js +96 -0
- package/lib/mcp/manager.js +559 -128
- package/lib/mcp/restart-marker.js +110 -0
- package/lib/mcp/state-section.js +132 -43
- package/lib/mcp/tool-visibility.js +348 -56
- package/lib/memories/archive-engine.js +39 -14
- package/lib/memories/discovery.js +30 -10
- package/lib/memories/index-io.js +217 -18
- package/lib/memories/projection.js +20 -3
- package/lib/memories/prompt-layer.js +37 -0
- package/lib/memories/search.js +86 -0
- package/lib/memories/service.js +327 -91
- package/lib/memories/snapshot.js +49 -10
- package/lib/op-registry.js +46 -4
- package/lib/ops/candidates.js +11 -3
- package/lib/ops/compat.js +46 -4
- package/lib/ops/memory.js +78 -9
- package/lib/ops/prompts.js +49 -5
- package/lib/ops/quick-prompts.js +24 -2
- package/lib/ops/scene-records.js +7 -0
- package/lib/ops/scene-sync.js +23 -4
- package/lib/ops/scope.js +1093 -0
- package/lib/ops/sessions.js +5 -2
- package/lib/ops/snapshot.js +55 -20
- package/lib/ops/state-doctor.js +39 -4
- package/lib/paths.js +50 -3
- package/lib/prompts/preset-id.js +4 -0
- package/lib/prompts/project-instructions.js +162 -0
- package/lib/prompts/quick-service.js +5 -4
- package/lib/prompts/service.js +20 -9
- package/lib/request-gate.js +6 -4
- package/lib/scene-linkage.js +12 -0
- package/lib/scene-prompt-sync.js +1 -1
- package/lib/scenes/candidates.js +8 -1
- package/lib/scope/intent-store.js +105 -0
- package/lib/scope/intent.js +376 -0
- package/lib/scope/resolve.js +190 -0
- package/lib/scope/scope-overrides.js +894 -0
- package/lib/scope/store.js +262 -0
- package/lib/scope/workspace-key.js +64 -0
- package/lib/sessions/history.js +3 -2
- package/lib/settings-sidecars.js +50 -24
- package/lib/skills/catalog.js +206 -33
- package/lib/skills/core.js +1 -1
- package/lib/skills/frontmatter.js +121 -0
- package/lib/skills/service.js +145 -20
- package/lib/stale-write.js +74 -0
- package/lib/subagents/catalog.js +47 -13
- package/lib/subagents/persona-parse.js +26 -5
- package/lib/subagents/persona-write.js +11 -7
- package/lib/subagents/service.js +3 -2
- package/lib/subagents/tools.js +78 -8
- package/lib/token-config.js +25 -5
- package/lib/tool-table-switch.js +141 -49
- package/lib/tools/deps.js +151 -5
- package/lib/tools/mcp.js +189 -39
- package/lib/tools/memory.js +103 -18
- package/lib/tools/prompt.js +61 -9
- package/lib/tools/remove.js +46 -21
- package/lib/tools/scene.js +120 -26
- package/lib/tools/skills.js +191 -30
- package/lib/tools/subagent.js +52 -20
- package/lib/tools/table.js +48 -11
- package/lib/trash-retention.js +3 -2
- package/lib/update-check.js +218 -0
- package/package.json +16 -14
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,79 @@
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## [0.21.2] - 2026-10-22
|
|
14
|
+
|
|
15
|
+
> **本次重点:生效层级。** 设置不再只有一份 —— 每个对话默认各有一份,兼容页可切「全部全局」(所有对话共用一份,即加会话管理之前的样子)或「按工作区」(同一工作区的对话共用一份)。全局关着的服务器与技能来源,本对话要用时临时运行,别的对话看不见。
|
|
16
|
+
|
|
17
|
+
### 新增
|
|
18
|
+
|
|
19
|
+
- **生效层级可选**:兼容页可切「全部全局 / 按工作区 / 按会话」,默认每个对话各一份设置,切走时已有记录保留。
|
|
20
|
+
- **按对话隔离**:本对话改过 > 进入的场景 > 创建时的快照 > 全局,逐格叠加。
|
|
21
|
+
- **全局意图与租约运行**:全局开关只表达「默认要不要」;本对话要用全局关着的服务器 / 技能来源时临时运行,行菜单可「彻底停止」。
|
|
22
|
+
- **六个域都能按对话单独设置**:逐工具开关、技能来源、模型工具表、提示词、记忆、子智能体,带「N 个对话单独设置」徽章。
|
|
23
|
+
- **对话里进出场景**:进入按档案实时生效,退出回到本对话创建时的样子。
|
|
24
|
+
- **会话锁 / 工作区锁**:只冻结当前层的写入,与场景锁互不干扰。
|
|
25
|
+
- **记忆搜索工具**:`memory_manager_search` 按名字 / 场景 / 描述 / 标签 / 正文搜,出厂默认关闭。
|
|
26
|
+
- **记忆索引一键修复**:索引被隔离后,场景页给一颗修复按钮。
|
|
27
|
+
- **开机自检**:启动时核对上个进程有没有留下没干完的状态,并在场景页列出。
|
|
28
|
+
- **并发编辑指纹**:文件在编辑期间被别人改过时拒绝写入,弹窗给「重新加载 / 覆盖保存」。
|
|
29
|
+
- **插件更新检查**:兼容页与面板右上角都能查,按宿主版本挑兼容版本、给确切版本的安装命令,从不自动更新。
|
|
30
|
+
- **诊断信息一键复制**:插件 / 宿主版本、平台、数据目录与各类计数拼成一段纯文本,不含密钥与正文。
|
|
31
|
+
- **兼容矩阵**:`node scripts/compat-matrix.mjs` 输出各宿主 × 能力的静态矩阵到 `docs/COMPATIBILITY.md`。
|
|
32
|
+
- **三份文档**:故障排查、架构、兼容矩阵。
|
|
33
|
+
|
|
34
|
+
### 修复
|
|
35
|
+
|
|
36
|
+
- **MCP 停用表写坏后静默失效**:损坏时所有 `mcp__*` 拒绝调用,兼容页报降级并给「重置停用表」。
|
|
37
|
+
- **服务器名含 `__` 时停用工具可能漏拦**。
|
|
38
|
+
- **MCP 改名中途失败留下半套状态**:失败时回滚,回滚不了就如实报残留。
|
|
39
|
+
- **MCP 批量开关静默跳过失败项**:全部失败回 `ok:false`,部分失败列出哪几层没改成。
|
|
40
|
+
- **MCP 列表把明文 env / headers 显示出来**:列表一律打码,只有明文接口才给真值。
|
|
41
|
+
- **MCP 注入段把没连上的服务器常驻进上下文**:只有此刻真有工具注册的服务器才进段。
|
|
42
|
+
- **模型工具表侧车损坏时关掉的工具复活**:损坏时沿用上次成功值并拒绝保存。
|
|
43
|
+
- **模型工具表并发改写丢更新**。
|
|
44
|
+
- **导出落盘失败仍回「成功」**:改为如实回失败并带上原因。
|
|
45
|
+
- **用户内容写盘可能留下半截文件**:提示词、快捷提示词、人设启停与回收站保留期改原子写。
|
|
46
|
+
- **frontmatter 里的引号与未知字段被吃掉**:编辑记忆只替换名字、描述与正文,其余原样保留。
|
|
47
|
+
- **令牌覆盖条目在空补丁 `[]` 上写出非法 YAML**。
|
|
48
|
+
- **环境变量供令牌时一直误报「待重启」**。
|
|
49
|
+
- **关闭 / 删除令牌时提示「令牌不对」却无处输入**。
|
|
50
|
+
- **注入 / 斜杠设置保存失败仍显示成功**。
|
|
51
|
+
- **可见性 / 执行守卫的降级不出声**。
|
|
52
|
+
- **原型链上的同名属性冒充已登记操作**:未知操作一律 404。
|
|
53
|
+
- **悬空符号链接可绕过根内断言**:写不出根外。
|
|
54
|
+
- **快照 zip 没有解压限额**:条目数、单条字节与累计解压量都设上限。
|
|
55
|
+
- **记忆索引清理可能删掉本该保留的条目**:扫描不完整时不再清理,改为上报。
|
|
56
|
+
- **「已清空」通知挡住后续注入、且每轮重复**:只在状态刚变时发一条。
|
|
57
|
+
- **长对话反复播报「工具已更新」**。
|
|
58
|
+
- **空闲时 CPU 持续偏高(issue #21)**:工具事件密集时,MCP 状态段不再逐条全量重算,合并到 2 秒一窗。
|
|
59
|
+
- **切到「按工作区」后场景勾着却不注入**:播种不再把「已退出场景」带进新层,新工作区从「跟随全局」开始。
|
|
60
|
+
- **插件重载可能留下技能目录监听**:卸载与「读自定义目录」撞车时,晚挂上的监听当场收掉。
|
|
61
|
+
- **会话摘要缓存无上限**:改为 200 条 LRU,长期运行不再累积。
|
|
62
|
+
- **极简预设下项目 `AGENTS.md` 丢失**:没挂官方指令行时插件自己把项目指令链送进上下文。
|
|
63
|
+
- **兼容页把「两份拷贝」算成可用**。
|
|
64
|
+
- **深色模式页签条与页面不同色**。
|
|
65
|
+
- **侧栏页内容一长页签浮在半空**。
|
|
66
|
+
- **dsh web 上工具管理面板所有接口报「调用方不是本机所有者身份」**。
|
|
67
|
+
- **退出场景后「取消应用」不可用**。
|
|
68
|
+
|
|
69
|
+
### 变更
|
|
70
|
+
|
|
71
|
+
- **访问令牌区收成两行**:令牌行与保护开关并排,配置改了没重启时显示「待重启生效」。
|
|
72
|
+
- **删除令牌同时清掉本机记录**:只清本机改用「锁定」。
|
|
73
|
+
- **全局提示词改为会话冻结快照**:每个对话首次注入时冻结当时的 `~/.dsh/AGENTS.md`,之后只影响新对话。
|
|
74
|
+
- **模型工具默认写本对话**:`*_manager_switch` 与场景 / 快捷提示词写入默认只影响当前对话,`scope: "global"` 才改全局。
|
|
75
|
+
- **场景点开着的那一个 = 退出模式**:不再有「钉住」这一说。
|
|
76
|
+
- **面板顶部的会话下拉只列当前会话区里的会话**,分组显示真实标题,全局默认置顶。
|
|
77
|
+
- **作用域行与页签一起吸顶**。
|
|
78
|
+
- **HTTP 回执状态码对齐语义**:405 / 403 / 413 / 404 / 500,回包形状不变。
|
|
79
|
+
- **兼容范围收窄到 DSH 0.2.1 一代**:`engines.dsh` 与 11 个 peer 范围改为 `>=0.2.1-rc.2 <0.2.2`;0.2.0 及更早的宿主请装对应版本的插件。
|
|
80
|
+
- **兼容矩阵新增「未适配」态**。
|
|
81
|
+
- **新增直接依赖 `semver`**。
|
|
82
|
+
- **25 条模型工具描述瘦身**:去掉位置指引与重复的省略说明。
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
13
86
|
## [0.21.1] - 2026-10-18
|
|
14
87
|
|
|
15
88
|
### 新增
|
package/README.md
CHANGED
|
@@ -71,6 +71,7 @@ dsh plugin --profile desktop add dsh-plugin-tool-management@latest # 桌面版
|
|
|
71
71
|
| 锁住就不怕手滑 | 场景可以上锁:五个域的增删改整体只读 |
|
|
72
72
|
| 删了能找回 | 技能 / 记忆 / 人设 / 提示词 / 场景的删除都进回收站(会话永久删除除外);可勾选批量永久删除,也可设保留期让它自动清(默认永久保留) |
|
|
73
73
|
| 安全、不添乱 | 只写自己的文件;密钥默认打码、看明文要令牌 |
|
|
74
|
+
| 对话 / 工作区各管各的 | 面板顶部先选层,各域开关只影响那一层(全部全局 / 按对话 / 按工作区);其他层原样不动 |
|
|
74
75
|
|
|
75
76
|
## 快速开始
|
|
76
77
|
|
|
@@ -83,6 +84,14 @@ dsh plugin --profile desktop add dsh-plugin-tool-management@latest # 桌面
|
|
|
83
84
|
dsh plugin --profile desktop remove dsh-plugin-tool-management # 桌面版 · 卸载
|
|
84
85
|
```
|
|
85
86
|
|
|
87
|
+
装不到最新版先看这两条:npm 镜像 / 代理有同步延迟;pnpm 若开了 `minimumReleaseAge`(发布冷却),新版本在冷却期内会被直接跳过。两种都不报错,只是安静地装成旧版 —— 用确切版本号安装可以绕开 `@latest` 的解析:
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
dsh plugin --profile web add dsh-plugin-tool-management@0.21.2
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
核对装上的到底是哪一版:设置 → 工具管理 → **兼容** 页的「本插件适配版本」是**这一轮实际加载的代码**里的版本号(不是 `package.json` 里写的),应与 `~/.dsh/tool-management/mount.json` 的 `version` 一致。
|
|
94
|
+
|
|
86
95
|
装完 web 版硬刷新浏览器、桌面版重启应用,设置 → **工具管理** 出现八栏即成功。界面改动即时生效,宿主侧改动需重启(web 重启 `dsh web`,桌面重启桌面应用)。
|
|
87
96
|
|
|
88
97
|
也可以让模型代劳:
|
|
@@ -99,12 +108,21 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
99
108
|
|
|
100
109
|
### 斜杠命令(在对话里直接管)
|
|
101
110
|
|
|
102
|
-
- **打 `/` 出「工具」段**:六行 —— 场景 / 技能 / MCP 服务器 / 子智能体 / 提示词 /
|
|
111
|
+
- **打 `/` 出「工具」段**:六行 —— 场景 / 技能 / MCP 服务器 / 子智能体 / 提示词 / 记忆。点一行进这一域,再点一条直接生效;点完菜单不关,也不在输入框留下那串命令字。
|
|
103
112
|
- **状态看得见**:启用项绿勾、停用项空框,右侧灰字是条目备注,域行右侧给当前态摘要。
|
|
104
113
|
- **条目多也不挡路**:每域全量列出、面板自己滚;技能按来源目录分组、记忆按场景分组,已启用的排前面。
|
|
105
114
|
- **提示词两类都在**:全局那组选哪一份写进 `AGENTS.md`(单选),快捷那组是启停,点一行把存好的话贴进输入框、不自动发送。
|
|
106
115
|
- **只放可逆动作**:进场景与各类启停;增删改、导入导出、改配置仍各归各页。
|
|
107
|
-
|
|
116
|
+
|
|
117
|
+
### 作用域隔离(全部全局 / 按对话 / 按工作区)
|
|
118
|
+
|
|
119
|
+
- **一套界面,三档粒度**:兼容页可切「全部全局 / 按对话 / 按工作区」——全局档没有会话层、所有对话共用一套(加会话管理之前的样子),按对话时 A 关掉的不影响 B,按工作区时同一工作区共用一份、不同工作区仍隔离;无 cwd 或路径超长的对话仍各自独立;切走不删记录,调回即恢复。
|
|
120
|
+
- **四层叠加**:本层改过 > 进入的场景 > 创建时的快照 > 全局,逐格取最上面有话说的一层;拨回与下层一致时覆盖自动清掉。
|
|
121
|
+
- **对话里能进出场景**:场景页与斜杠菜单都能进入,档案里勾的记忆 / 技能 / 人设 / MCP 按当前层实时生效;退出回到这一层最开始的样子(不回退到会变的全局)。
|
|
122
|
+
- **八个域都能按当前层改**:场景、技能(含来源目录)、子智能体、记忆、快捷提示词、MCP 服务器与逐工具可见性、模型工具表(每层一份整名单,全局那份只是新对话 / 新工作区的默认)。
|
|
123
|
+
- **全局关着也能临时用,徽章照实算**:服务器 / 技能来源按租约临时运行,别的层看不见;七个域与逐工具一格都有徽章,按当前粒度现算;行菜单「彻底停止」压过一切。
|
|
124
|
+
- **提示词也能按当前层覆盖**:应用预设或编辑正文只改这一层(写侧车,不写 `~/.dsh/AGENTS.md`);预设库仍是全局资产,切回全局层再改。
|
|
125
|
+
- **模型工具默认写当前层**:回执说清写的是哪一层,`scope: "global"` 才改全局;两把锁互不干扰 —— 场景锁冻结全局写入,会话 / 工作区锁只冻结那一层。
|
|
108
126
|
|
|
109
127
|
### 场景与记忆
|
|
110
128
|
|
|
@@ -112,6 +130,7 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
112
130
|
- **「启用」与「进入」是两件事**:启用决定注入按哪个场景走(单选,全关 = 只注入「全局」与 `_shared`);进入才按档案整套切换 MCP / 技能 / 人设,并把绑定的提示词写进 `AGENTS.md`。
|
|
113
131
|
- **场景档案**:每个场景搭配 MCP 工具集与场景级备注 / 技能集 / 子智能体 / 快捷提示词 / 模型工具表方案,外加一份绑定的全局提示词预设;段内勾的启用、没勾的停用,整段没建 = 该域全部停用(快捷提示词例外:没绑 = 进入时不碰),退出时按进场景前的快照还原。
|
|
114
132
|
- **每格另给一档「无」**:这一域本场景不碰(提示词那格 = 进出都保持原样,快捷提示词 = 一条都不启用)。它区别于「保持现状」——那一档才是真的不动。
|
|
133
|
+
- **退出场景保留「取消应用」**:退出只是退回全局,应用前那份 `AGENTS.md` 仍可用「取消应用」一键找回。
|
|
115
134
|
- **场景锁定**:锁定后 MCP / 技能 / 子智能体 / 记忆 / 提示词五域的增删改整体只读。
|
|
116
135
|
- **删除场景 = 连记忆一起删**:场景记录、档案与全部记忆进同一条回收站条目,恢复时整条放回;使用中的场景拒绝删除。
|
|
117
136
|
- **导入导出**:`.md` / `.zip`(目录名 = 场景,bundle 带附件),同名跳过绝不覆盖;注入预算默认 128 KiB,放不下的跳过并列出清单。
|
|
@@ -163,7 +182,8 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
163
182
|
- **命令行**:`node scripts/doctor.mjs`(体检)、`node scripts/host-deps.mjs --fix`(依赖对齐)。
|
|
164
183
|
- **压制型预设**(`minimal` 这类)下本插件的注入默认停用,可在「兼容」页按域强制打开。
|
|
165
184
|
- **关掉「技能」「提示词」的勾选 = 连宿主那份一起停**(这两域在标准预设下由官方送);其余三域勾选完全生效。
|
|
166
|
-
-
|
|
185
|
+
- **注入长什么样**:每个域一条带框架的独立消息,名称、说明、备注、正文一律原样送进去,正文里手写的框架闭合标记会被转义,提前结束不了框架。
|
|
186
|
+
- **开机自检没干完的事**:上次退出时留下的半截状态(记忆索引被隔离、MCP 重启中断在第一步)启动时核对一遍,隔离索引在场景页给一键修复,MCP 重启自动按补丁备份恢复。
|
|
167
187
|
|
|
168
188
|
---
|
|
169
189
|
|
|
@@ -181,7 +201,9 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
181
201
|
| 记忆索引 / 场景 / 档案 | `~/.dsh/tool-management/memories-index.json` |
|
|
182
202
|
| MCP 侧车(停用表 / 已知工具 / 备注 / 设置) | `~/.dsh/tool-management/mcp-*.json` |
|
|
183
203
|
| 注入设置(六个域开关) | `~/.dsh/tool-management/inject-settings.json` |
|
|
184
|
-
|
|
|
204
|
+
| 模型工具表(全局默认 + 存下的方案) | `~/.dsh/tool-management/tool-table.json` |
|
|
205
|
+
| 作用域覆盖(会话 / 工作区,含工具表) | `~/.dsh/tool-management/scope-overrides.json` |
|
|
206
|
+
| 全局意图(MCP / 技能来源的默认开关) | `~/.dsh/tool-management/scope-intent.json` |
|
|
185
207
|
| 场景页界面设置(进场景前弹不弹预览卡) | `~/.dsh/tool-management/scene-settings.json` |
|
|
186
208
|
| 运行日志 / patch 备份 | `~/.dsh/tool-management/tool-management.log` · `backups/` |
|
|
187
209
|
|
|
@@ -205,23 +227,37 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
205
227
|
- **HTTP 状态码**:除安全栅栏的 401 / 403 外,一律 HTTP 200 + `{ ok: false, error }` —— 脚本分流请以 `body.ok` 为准。
|
|
206
228
|
- **端口转发**:宿主缺 `connection` 服务时栅栏退到「Host 回环 + 同源」判定,本机进程伪造 `Host: localhost` 即可调用写 op。转发到局域网 / 公网的场景**务必配令牌** —— 陌生人注入 MCP 命令等同远程执行;「选择文件夹」弹窗用的 `dir-list` 能列出任意绝对路径(只读),同一条前提。
|
|
207
229
|
- **服务器名避开 `__`(起名建议)**:工具全名是 `mcp__<服务器名>__<工具名>`,服务器名里再有 `__` 会让它切不唯一,界面上的勾选可能落不到停用表里那条键上。本轮不收紧校验,改为在**兼容页**出一条提示;起名时避开 `__` 就没有这个问题。
|
|
230
|
+
- **侧车不要手工编辑**:`mcp-disabled-tools.json` 写坏时所有 `mcp__*` 会被拒绝调用(MCP 页给「重置停用表」,原文件先留取证副本);`tool-table.json` 写坏时沿用上次成功值并禁止保存。
|
|
208
231
|
|
|
209
232
|
## 常见问题
|
|
210
233
|
|
|
234
|
+
完整的排查手册(症状 → 为什么 → 怎么确认 → 怎么修)在 **[docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md)**。这里只列最常见的几条。
|
|
235
|
+
|
|
211
236
|
| 现象 | 解决 |
|
|
212
237
|
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
213
238
|
| 装完没有页面 | 硬刷新;不行重启 DSH。 |
|
|
214
239
|
| 重复 MCP 页签 | 删 `cordis.patch.yml` 里的旧 loader 行后重启。 |
|
|
215
240
|
| 改坏配置 DSH 起不来 | 从 `~/.dsh/tool-management/backups/` 取最近的 `cordis.patch.yml.<层级>.bak-<时间戳>` 覆盖回去(每份 patch 各留 5 份)。 |
|
|
216
241
|
| 升级 DSH 后动作不可用 | 设置 → 工具管理 → **兼容** 看原因;`doctor.mjs` → `host-deps.mjs --fix`。 |
|
|
217
|
-
| 升级 DSH 后装不上 / 提示 peer 不符 |
|
|
218
|
-
| 模型调不到某条工具 |
|
|
242
|
+
| 升级 DSH 后装不上 / 提示 peer 不符 | 本插件只适配 DSH **0.2.1**(`>=0.2.1-rc.2 <0.2.2`):别的宿主代次请装对应版本的插件,跨代升级要等插件同步适配。 |
|
|
243
|
+
| 模型调不到某条工具 | 「兼容」页的**模型工具表**看它是不是被关了(顶部先选到那个对话 / 工作区;出厂默认关着 20 条);面板和脚本不受影响。 |
|
|
219
244
|
| `approval=never` 还要确认吗 | 不弹卡,直接放行并记日志;想问回来切回「工作区内修改」。 |
|
|
220
245
|
| `subagent_manager_run` 报 provider 不可用 | 对应 provider 没注册:`spawn`(默认)/ `fork`(`inherit`)分别挂 `@deepseek-ai/dsh-subagent-spawn-in-process` / `-fork-in-process` 后重启。 |
|
|
221
246
|
| 场景绑了 A 人设,官方 `subagent` 还在跑别的 | 官方那两个是宿主的工具,本插件管不到;贴合人设的走 `subagent_manager_run`,官方只在没有人设贴合或要后台跑时用。 |
|
|
222
247
|
|
|
223
248
|
---
|
|
224
249
|
|
|
250
|
+
## 文档
|
|
251
|
+
|
|
252
|
+
| 文档 | 什么时候看 |
|
|
253
|
+
| --- | --- |
|
|
254
|
+
| [故障排查](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/TROUBLESHOOTING.md) | 装完没页面、重复页签、升级后动作不可用、停用表坏了、侧车损坏 |
|
|
255
|
+
| [架构](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/ARCHITECTURE.md) | 想知道内容怎么进模型、同一个开关为什么两个对话不一样、改完落到哪个文件 |
|
|
256
|
+
| [兼容矩阵](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/COMPATIBILITY.md) | 各 DSH 版本的能力矩阵(已验证 / 未实测 / 不可用) |
|
|
257
|
+
| [CHANGELOG](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/CHANGELOG.md) | 每一版改了什么 |
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
225
261
|
## 开发
|
|
226
262
|
|
|
227
263
|
```bash
|
package/README_EN.md
CHANGED
|
@@ -69,6 +69,7 @@ In one line: **configure "work / writing / coding" each as a scene and switch th
|
|
|
69
69
|
| Lock it and relax | Locking a scene makes create/update/delete across the five domains read-only |
|
|
70
70
|
| Deleted is not gone | Skills / memories / personas / presets / scenes land in a recycle bin (permanent session deletion excepted); tick items to delete in bulk, or set a retention period so it cleans itself (keep-forever by default) |
|
|
71
71
|
| Safe by default | Only the plugin's own files are written; secrets masked, plaintext needs a token |
|
|
72
|
+
| Per-conversation or workspace | Pick a layer at the top of the panel; every domain's toggles apply to that layer only (all global / per conversation / per workspace), the others stay as they were |
|
|
72
73
|
|
|
73
74
|
## Quick start
|
|
74
75
|
|
|
@@ -81,6 +82,14 @@ dsh plugin --profile desktop add dsh-plugin-tool-management@latest # desktop
|
|
|
81
82
|
dsh plugin --profile desktop remove dsh-plugin-tool-management # desktop · uninstall
|
|
82
83
|
```
|
|
83
84
|
|
|
85
|
+
Two reasons you might not get the newest release, and neither one errors out: npm mirrors / proxies lag behind, and pnpm's `minimumReleaseAge` (release cooldown) skips anything published inside the window. You just quietly end up on an older version. Pinning an exact version bypasses `@latest` resolution:
|
|
86
|
+
|
|
87
|
+
```sh
|
|
88
|
+
dsh plugin --profile web add dsh-plugin-tool-management@0.21.2
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
To check what you actually got: the "plugin adapter version" on the **Host** tab is the version baked into the code **loaded this session** (not what `package.json` says), and it should match `version` in `~/.dsh/tool-management/mount.json`.
|
|
92
|
+
|
|
84
93
|
Hard-refresh the browser (web) or restart the desktop app, then a **Tools Management** panel with eight tabs means it worked. Client changes hot-reload; host-side changes need the client restarted (`dsh web` / the desktop app).
|
|
85
94
|
|
|
86
95
|
You can also ask the model:
|
|
@@ -97,12 +106,21 @@ For the desktop app, swap `web` for `desktop` and end with "remind me to restart
|
|
|
97
106
|
|
|
98
107
|
### Slash commands (manage from the chat box)
|
|
99
108
|
|
|
100
|
-
- **Type `/` for a "Tools" section**: scenes / skills / MCP servers / subagents / prompts / memories. Click a row to enter that domain, click an item to apply it; the menu stays open.
|
|
109
|
+
- **Type `/` for a "Tools" section**: scenes / skills / MCP servers / subagents / prompts / memories. Click a row to enter that domain, click an item to apply it; the menu stays open and the command text is cleaned out of the input.
|
|
101
110
|
- **State is visible**: green check / empty box / note in grey, plus a status summary on the domain row.
|
|
102
111
|
- **Long lists stay out of the way**: every domain lists in full and scrolls on its own; skills group by source directory, memories by scene, enabled ones first.
|
|
103
112
|
- **Both kinds of prompts are here**: the global group picks which one is written into `AGENTS.md` (single-select); the quick group is on/off, and clicking one pastes the saved text into the input box without sending it.
|
|
104
113
|
- **Only reversible actions**: entering a scene and the various toggles; create / delete / edit / import / export stay on their own pages.
|
|
105
|
-
|
|
114
|
+
|
|
115
|
+
### Scope isolation (all global / per conversation / per workspace)
|
|
116
|
+
|
|
117
|
+
- **One panel, three granularities**: switch between "all global", "per conversation" and "per workspace" on the Host tab — all-global has no conversation layer, so every conversation shares one set (the way it worked before scopes existed); per-conversation keeps A and B apart; per-workspace shares one copy inside a workspace while different workspaces stay isolated; conversations without a cwd (or with an overlong path) stay independent. Switching away deletes nothing — switch back and it all returns.
|
|
118
|
+
- **Four layers stack up**: overrides made on this layer > the entered scene > the snapshot taken when the conversation was created > global; each cell takes the topmost layer that has a say, and matching the lower value clears the override.
|
|
119
|
+
- **Enter and leave scenes from a conversation**: from the Scenes page or the `/` menu; the archive's memories / skills / personas / MCP servers apply live to the current layer, and leaving returns to how that layer started (never back to a global that keeps changing).
|
|
120
|
+
- **Eight domains follow the current layer**: scenes, skills (incl. source directories), subagents, memories, quick prompts, MCP server and per-tool visibility, and the model tool table (one whole list per layer; the global one is only the default for new conversations / workspaces).
|
|
121
|
+
- **Globally off, still usable here — with honest badges**: a server or skill source runs as a lease for the current layer, invisible to others; seven domains plus per-tool cells show live badges; "Stop permanently" overrides everything.
|
|
122
|
+
- **Prompts can also be overridden per layer**: applying a preset or editing the body changes only this layer (sidecar, never `~/.dsh/AGENTS.md`); the preset library stays global, so edit it on the global layer.
|
|
123
|
+
- **Model tools write to the current layer by default**: receipts name the layer; `scope: "global"` changes the global one. Two independent locks: the scene lock freezes global writes, the conversation / workspace lock only that layer.
|
|
106
124
|
|
|
107
125
|
### Scenes & memories
|
|
108
126
|
|
|
@@ -161,7 +179,7 @@ For the desktop app, swap `web` for `desktop` and end with "remind me to restart
|
|
|
161
179
|
- **Command line**: `node scripts/doctor.mjs` (health check), `node scripts/host-deps.mjs --fix` (align dependencies).
|
|
162
180
|
- Under a **suppressing preset** such as `minimal`, this plugin's injection is off by default; the Host tab can force any domain back on.
|
|
163
181
|
- Unchecking "Skills" or "Prompt" really stops them — under standard presets the host delivers those two itself; the other three domains follow the checkbox exactly.
|
|
164
|
-
- **What the injection looks like**: one
|
|
182
|
+
- **What the injection looks like**: one framed message per domain. Names, descriptions, notes and bodies go in verbatim, and a hand-written frame-closing marker inside the body is escaped so it cannot end the frame early.
|
|
165
183
|
|
|
166
184
|
---
|
|
167
185
|
|
|
@@ -179,7 +197,9 @@ For the desktop app, swap `web` for `desktop` and end with "remind me to restart
|
|
|
179
197
|
| Memory index / scenes / profiles | `~/.dsh/tool-management/memories-index.json` |
|
|
180
198
|
| MCP sidecars (disabled tools / known tools / notes / settings) | `~/.dsh/tool-management/mcp-*.json` |
|
|
181
199
|
| Injection settings (six domain switches) | `~/.dsh/tool-management/inject-settings.json` |
|
|
182
|
-
| Model tool table (
|
|
200
|
+
| Model tool table (global default + saved sets) | `~/.dsh/tool-management/tool-table.json` |
|
|
201
|
+
| Scope overrides (conversation / workspace, incl. tool table) | `~/.dsh/tool-management/scope-overrides.json` |
|
|
202
|
+
| Global intent (default MCP / skill-source switches) | `~/.dsh/tool-management/scope-intent.json` |
|
|
183
203
|
| Scene page preference (preview card before entering a scene) | `~/.dsh/tool-management/scene-settings.json` |
|
|
184
204
|
| Runtime log / patch backups | `~/.dsh/tool-management/tool-management.log` · `backups/` |
|
|
185
205
|
|
|
@@ -202,23 +222,37 @@ The six recycle bins each own one directory under `trash/`: `{skills,memories,su
|
|
|
202
222
|
- **curl / scripts**: send `x-dsh-token`, or carry the browser cookie. Except for the fence's 401 / 403, failures come back as **HTTP 200 + `{ ok: false, error }`** — branch on `body.ok`.
|
|
203
223
|
- **Port forwarding**: when the host has no `connection` service the fence falls back to "loopback Host + same origin", which any local process can imitate. If you forward the port to a LAN or the public internet, **configure a token**.
|
|
204
224
|
- **Avoid `__` in a server name**: a tool's full name is `mcp__<server>__<tool>`, so an extra `__` inside a server name makes it ambiguous; the Host tab shows an informational note.
|
|
225
|
+
- **Do not hand-edit the sidecars**: if `mcp-disabled-tools.json` is corrupted every `mcp__*` tool is refused (the MCP page offers "Reset table" and keeps a forensic copy first); if `tool-table.json` is corrupted the last good value stays in effect and saving is blocked.
|
|
205
226
|
|
|
206
227
|
## FAQ
|
|
207
228
|
|
|
229
|
+
The full runbook (symptom → why → how to confirm → how to fix) lives in **[docs/TROUBLESHOOTING.md](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/TROUBLESHOOTING.md)**. Only the most common cases are listed here.
|
|
230
|
+
|
|
208
231
|
| Symptom | Fix |
|
|
209
232
|
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
210
233
|
| Pages missing after install | Hard refresh; restart DSH if that fails. |
|
|
211
234
|
| Duplicate MCP tabs | Remove the stale loader row from `cordis.patch.yml`, restart. |
|
|
212
235
|
| Broken config, DSH won't boot | Restore the newest `cordis.patch.yml.<level>.bak-<timestamp>` from `~/.dsh/tool-management/backups/` (5 per patch file). |
|
|
213
236
|
| Action stopped working after a DSH upgrade | Settings → Tools Management → **Host** for the reason; `doctor.mjs` → `host-deps.mjs --fix`. |
|
|
214
|
-
| Won't install / peer mismatch after a DSH upgrade |
|
|
215
|
-
| The model cannot call a tool it should have | Check the **Model tool table** on the Host tab —
|
|
237
|
+
| Won't install / peer mismatch after a DSH upgrade | This plugin only supports DSH **0.2.1** (`>=0.2.1-rc.2 <0.2.2`). For any other host generation, install the plugin release that matches it. |
|
|
238
|
+
| The model cannot call a tool it should have | Check the **Model tool table** on the Host tab (pick that conversation / workspace in the layer picker first) — 20 tools ship switched off. The panel and scripts are unaffected either way. |
|
|
216
239
|
| Still asked to confirm with `approval=never`? | No card appears — straight through with a log line. Switch back to "workspace write" to get the questions again. |
|
|
217
240
|
| `subagent_manager_run` reports provider unavailable | The provider is not registered: `spawn` (default) / `fork` (`inherit`) come from `@deepseek-ai/dsh-subagent-spawn-in-process` / `-fork-in-process` — mount and restart. |
|
|
218
241
|
| Scene binds persona A, but the official `subagent` ran something else | Those two are host tools and this plugin cannot hide them; work matching a persona goes to `subagent_manager_run`, host tools only when no persona fits or a background job is needed. |
|
|
219
242
|
|
|
220
243
|
---
|
|
221
244
|
|
|
245
|
+
## Docs
|
|
246
|
+
|
|
247
|
+
| Doc | When to read it |
|
|
248
|
+
| --- | --- |
|
|
249
|
+
| [Troubleshooting](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/TROUBLESHOOTING.md) | No panel after install, duplicate tabs, actions broken after an upgrade, corrupted disable table or sidecars |
|
|
250
|
+
| [Architecture](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/ARCHITECTURE.md) | How content reaches the model, why one switch differs between two conversations, which file a change lands in |
|
|
251
|
+
| [Compatibility matrix](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/docs/COMPATIBILITY.md) | Per-host capability matrix (verified / untested / unavailable) |
|
|
252
|
+
| [CHANGELOG](https://github.com/ouli-1242/dsh-plugin-tool-management/blob/main/CHANGELOG.md) | What changed in each release |
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
222
256
|
## Development
|
|
223
257
|
|
|
224
258
|
```bash
|
package/docs/images/1-EN.png
CHANGED
|
Binary file
|
package/docs/images/1.png
CHANGED
|
Binary file
|
package/docs/images/2-EN.png
CHANGED
|
Binary file
|
package/docs/images/2.png
CHANGED
|
Binary file
|
package/docs/images/3-EN.png
CHANGED
|
Binary file
|
package/docs/images/3.png
CHANGED
|
Binary file
|
package/docs/images/4-EN.png
CHANGED
|
Binary file
|
package/docs/images/4.png
CHANGED
|
Binary file
|
package/docs/images/5-EN.png
CHANGED
|
Binary file
|
package/docs/images/5.png
CHANGED
|
Binary file
|
package/docs/images/6-EN.png
CHANGED
|
Binary file
|
package/docs/images/6.png
CHANGED
|
Binary file
|
package/docs/images/7-EN.png
CHANGED
|
Binary file
|
package/docs/images/7.png
CHANGED
|
Binary file
|
package/docs/images/8-EN.png
CHANGED
|
Binary file
|
package/docs/images/8.png
CHANGED
|
Binary file
|
package/docs/update.md
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
# 版本更新概要
|
|
2
|
-
|
|
3
|
-
每个版本一行摘要 —— 想知道「升上去会变什么」扫一眼就够;点版本号看逐条细节([Changelog](../CHANGELOG.md))。功能说明见 [README](../README.md) / [README_EN](../README_EN.md)。
|
|
4
|
-
|
|
5
|
-
| 版本 | 发布 | 主题
|
|
6
|
-
| ------------------------------------------- | ---------- |
|
|
7
|
-
| [0.21.
|
|
8
|
-
| [0.21.
|
|
9
|
-
| [0.
|
|
10
|
-
| [0.20.
|
|
11
|
-
| [0.20.
|
|
12
|
-
| [0.20.
|
|
13
|
-
| [0.
|
|
14
|
-
| [0.19.
|
|
15
|
-
| [0.
|
|
16
|
-
| [0.18.
|
|
17
|
-
| [0.
|
|
18
|
-
| [0.
|
|
19
|
-
| [0.16.
|
|
20
|
-
| [0.16.
|
|
21
|
-
| [0.
|
|
22
|
-
| [0.
|
|
23
|
-
| [0.
|
|
24
|
-
| [0.
|
|
25
|
-
| [0.12.
|
|
26
|
-
| [0.
|
|
27
|
-
| [0.
|
|
28
|
-
| [0.
|
|
29
|
-
| [0.9.
|
|
30
|
-
| [0.
|
|
31
|
-
| [0.8.
|
|
32
|
-
| [0.
|
|
33
|
-
| [0.
|
|
34
|
-
| [0.
|
|
35
|
-
| [0.5.
|
|
36
|
-
| [0.
|
|
1
|
+
# 版本更新概要
|
|
2
|
+
|
|
3
|
+
每个版本一行摘要 —— 想知道「升上去会变什么」扫一眼就够;点版本号看逐条细节([Changelog](../CHANGELOG.md))。功能说明见 [README](../README.md) / [README_EN](../README_EN.md)。
|
|
4
|
+
|
|
5
|
+
| 版本 | 发布 | 主题 |
|
|
6
|
+
| ------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
7
|
+
| [0.21.2](../CHANGELOG.md#0212---2026-10-22) | 2026-10-22 | **本次重点 · 生效层级(全局 / 工作区 / 会话)**:默认每个对话各一份设置,兼容页可切全局或按工作区,六个域(含逐工具开关与模型工具表)都跟着层走,全局关着的服务器 / 来源能按对话临时运行;另加并发编辑指纹、插件更新检查、诊断信息、记忆搜索与三份文档;兼容范围收窄到 DSH 0.2.1。 |
|
|
8
|
+
| [0.21.1](../CHANGELOG.md#0211---2026-10-18) | 2026-10-18 | 侧栏加「工具管理」入口与插件行显示名;场景改单列、描述第二行、开关与 ⋯ 居中,锁定键挪进模式横幅;来源目录挪到标题下、归档会话行放宽;开关圆角对齐官方;回收站详情补全条目信息;修好技能被删后退不出场景、斜杠菜单在行内不弹等一批问题 |
|
|
9
|
+
| [0.21.0](../CHANGELOG.md#0210---2026-10-17) | 2026-10-17 | 适配 DSH 0.2.1-rc.2:人设工具限制提到创建时生效、面板可挂反代子路径、Web 鉴权补调用方身份、提示词页显示 ~/.agents/AGENTS.md;兼容页补四条宿主契约行与「裸模块解析」一块;注入模板文案改英文(自己的内容原样注入) |
|
|
10
|
+
| [0.20.3](../CHANGELOG.md#0203---2026-10-17) | 2026-10-17 | 界面与官方对齐一批(焦点环、圆角、等宽字体);修好 MCP 连接失败状态灯不红、新建记忆弹窗误关丢内容、焦点环盖掉宿主「不要轮廓」设定(#18) |
|
|
11
|
+
| [0.20.2](../CHANGELOG.md#0202---2026-10-16) | 2026-10-16 | 界面降噪一批:行尾动作收进 ⋯、没在用的分组默认折叠、会话整行可点勾选;修好折叠卡片要点两次才展开与 npm 包带上演示视频 |
|
|
12
|
+
| [0.20.1](../CHANGELOG.md#0201---2026-10-16) | 2026-10-16 | 修好技能状态文件出错时全线停用等三处;新增五个域的删除 / 回收站工具;MCP 支持粘贴补丁片段导入;创建技能可带附件;弹窗误关不再丢内容;一批排版与文案收短 |
|
|
13
|
+
| [0.20.0](../CHANGELOG.md#0200---2026-10-12) | 2026-10-12 | 回收站每条能点开「详情」只读预览删除的内容 + MCP 导出可选目录并支持预览;修好下拉菜单悬停无高亮、横幅按钮只有下半截能点、浅色下场景编辑器四组没分块、容器边框深浅不一、技能来源「永久删除」后下一轮又回来;界面打磨一批(令牌弹窗、批量键上移页头、人设改称子智能体) |
|
|
14
|
+
| [0.19.1](../CHANGELOG.md#0191---2026-10-10) | 2026-10-10 | 提示词预设补上「取消应用」(回到开始应用之前的状态,那时没有文件就连文件一起删掉),删除保护与回收站一并修好;回收站新增保留期自动清理与批量永久删除 |
|
|
15
|
+
| [0.19.0](../CHANGELOG.md#0190---2026-10-07) | 2026-10-07 | 子智能体人设可标「允许追问」+ 修好自 0.15.0 起不可用的 `subagent_manager_run` + 子代理不再把自己当成主代理 + 人设表单「高级选项」重排(模型来源与模型只从目录里选)与模型框变窄修好 + 注入框架不再点名被工具限制砍掉的工具 + 「工具限制」候选修好并分「插件工具 / 官方工具 / 其他工具」三段 |
|
|
16
|
+
| [0.18.5](../CHANGELOG.md#0185---2026-10-05) | 2026-10-05 | 会话导出分三档累进(仅正文 → 正文 + 工具 → 正文 + 工具 + 思考,工具结果有上限并明说截断)+ 导出弹窗放大到 720×760、字段压成三行把位置还给会话列表 + 导入会话可以从已登记工作区里挑 / 浏览文件夹 + 修好归档列表每行「恢复」必弹「操作失败」(其实已经恢复了)与导出的正文里混着思考 |
|
|
17
|
+
| [0.18.0](../CHANGELOG.md#0180---2026-10-01) | 2026-10-01 | 斜杠命令「工具」段(对话里打 `/` 就能进场景、启停六个域,点完不关)+ 快捷提示词(`/` 里点一下贴进输入框;场景可绑定一组)+ 兼容页两段开关与挂载实况 + 提示页药丸开关与可折叠卡片 + 修好分组卡片收不起来、退出场景回执说「什么都没改」、`/` 进 / 出场景不跟着切档案 |
|
|
18
|
+
| [0.17.0](../CHANGELOG.md#0170---2026-09-30) | 2026-09-30 | 对抗性审查收尾(三批 19 条 + 复审 14 条 + 2 条替代项,全部处理):修好 3 处数据丢失与 2 处凭据外泄、停用 MCP 工具仍可调用等**执行侧**守卫失效、场景回收站与记忆索引的恢复问题;MCP 工具全名的切分收敛成一套规则、服务器名含 `__` 的歧义会出声提示 |
|
|
19
|
+
| [0.16.6](../CHANGELOG.md#0166---2026-09-30) | 2026-09-30 | 官方内置技能补全 web 侧:web 照注的沙盒诊断技能可见可停 + Office 三件套 web 也暴露 + 补上接管后缺失的 LibreOffice Kit 路径段(0.16.5 桌面已缺) |
|
|
20
|
+
| [0.16.5](../CHANGELOG.md#0165---2026-09-30) | 2026-09-30 | 桌面版误报 5 条「两份拷贝」修掉(身份逐包核对)+ 「全部可用」与红卡不再同屏 + 官方内置技能接入管理(桌面版注入的 4 个可启停;web 不出现) |
|
|
21
|
+
| [0.16.0](../CHANGELOG.md#0160---2026-09-29) | 2026-09-29 | 桌面版宿主身份误判修好(归档宿主按版本核对,带空格路径的宿主版本不再显示 unknown)+ 兼容页三张指标卡各删一行、适配版本改标 0.2.0-rc.2 + 四个域的行状态统一成名字后面的胶囊(已启用 / 未启用,停用类改灰)+ MCP 体检点挪到名字前 + 体检补端点探测 + 删除同步清引用 + 轮询不空转 + 子智能体补上「已启用」 |
|
|
22
|
+
| [0.15.0](../CHANGELOG.md#0150---2026-09-28) | 2026-09-28 | 适配 DSH 0.1.7-rc.2:修好 MCP 列表与注入 + 预设边界与极简兜底注入 + 会话标题 + 设置令牌 + host-deps / doctor;新增 MCP 导入导出、配置体检、最近改动流水、场景绑工具表方案、整机迁移快照;功能总览英文补齐、兼容页收弹窗与界面打磨 |
|
|
23
|
+
| [0.14.0](../CHANGELOG.md#0140---2026-09-23) | 2026-09-23 | 场景与记忆分家(共 20 条工具)+ 模型能进入 / 退出场景 + 场景档案对模型可见、改档案会报出被挤掉的项 + 注入只写"现在是什么"(省 21.9%)+ 十五条工具出厂默认关(每轮实发 5 条 ≈1,090)+ 工具表可存方案一键换回 + 人设思考强度 + 改 MCP 配置不碰明文凭据 + 提示词「生效中」修好 |
|
|
24
|
+
| [0.13.0](../CHANGELOG.md#0130---2026-09-23) | 2026-09-23 | 模型多五个管理工具 + 所有写操作都要用户点头 + 工具表可关(省 token)+ 进场景前先看一眼会改什么 + 悬空引用体检 + 注入实况改为只数当前这段对话 + 技能正文一步读到 + 记忆页显示体积 + 门禁清单合成登记表 + 自定义目录的技能修好 |
|
|
25
|
+
| [0.12.1](../CHANGELOG.md#0121---2026-09-22) | 2026-09-22 | 子智能体列表行:人设名与描述分行 + 客户端类型检查进门禁 + 四个注入上限抬高 |
|
|
26
|
+
| [0.12.0](../CHANGELOG.md#0120---2026-09-20) | 2026-09-20 | 兼容页「功能总览」+ 停用工具真的从模型工具表消失 + 补丁写入前做解析校验(拦"写坏 DSH")+ doctor 三项新检查(挂载心跳 / 裸模块名 / 版本栅栏)+ 删除入口先不切换 + 投影缓存屏障与删除前置检查加固 + 关域拦截顺序钉死 |
|
|
27
|
+
| [0.11.0](../CHANGELOG.md#0110---2026-09-20) | 2026-09-20 | 访问令牌卡片重构(可设置 / 关闭 / 修改 / 删除)+ 没解锁时锁住输入框 + 令牌安全修复 + 批量启停可撤销 + 兼容页清理旧备份 + 两页可搜索 + 体检改为真调 + 一批凭据与数据损坏修复 + 搜索与列表提速 |
|
|
28
|
+
| [0.10.0](../CHANGELOG.md#0100---2026-09-18) | 2026-09-18 | 注入框架改 markdown(动作句加粗前置)+ 注入采纳统计 + 人设角色框 / inherit / catalogDepth + 场景锁定补齐模型侧 + 记忆删除全走回收站 + 错误码全量双语 |
|
|
29
|
+
| [0.9.1](../CHANGELOG.md#091---2026-09-17) | 2026-09-17 | 注入实况 + 场景内开关同步档案 + 全选统一 + 退出场景卡死修复 |
|
|
30
|
+
| [0.9.0](../CHANGELOG.md#090---2026-09-16) | 2026-09-16 | 注入改走上下文通道(极简可注入)+ 五域各自注入 + 场景接管一致性修复 |
|
|
31
|
+
| [0.8.5](../CHANGELOG.md#085---2026-09-16) | 2026-09-16 | 历史页标签统一 + 目录存在即可重新登记 + 场景 MCP 备注 + 新增三域默认不启动 |
|
|
32
|
+
| [0.8.0](../CHANGELOG.md#080---2026-09-15) | 2026-09-15 | 场景锁定 + 子智能体开关 + 四域导出 |
|
|
33
|
+
| [0.7.0](../CHANGELOG.md#070---2026-09-15) | 2026-09-15 | 回收站全量 + 预设注入可见性 + 密钥令牌化 |
|
|
34
|
+
| [0.6.0](../CHANGELOG.md#060---2026-09-14) | 2026-09-14 | 宿主兼容体检 + 兼容页 |
|
|
35
|
+
| [0.5.1](../CHANGELOG.md#051---2026-09-13) | 2026-09-13 | 场景档案默认不勾选 + 场景页排版重做 |
|
|
36
|
+
| [0.5.0](../CHANGELOG.md#050---2026-09-13) | 2026-09-13 | 数据目录统一 + 场景显式化 + 界面重做 |
|
|
37
|
+
| [0.2.0](../CHANGELOG.md#020---2026-09-12) | 2026-09-12 | 五域合并进一个「工具」面板 |
|