dsh-plugin-tool-management 0.21.0 → 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 +108 -0
- package/README.md +47 -10
- package/README_EN.md +45 -10
- 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/images/icon.png +0 -0
- package/docs/images/icon.svg +1 -0
- package/docs/update.md +37 -35
- package/lib/boot/reconcile.js +157 -0
- package/lib/client.js +7166 -3084
- package/lib/compat/patch-dialect.js +14 -1
- package/lib/compat/probe.js +25 -21
- package/lib/context-inject-frame.js +62 -40
- package/lib/context-inject-select.js +59 -4
- package/lib/context-inject-surface.js +49 -3
- package/lib/context-inject.js +145 -22
- 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 +2933 -169
- 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 +66 -19
- package/lib/op-registry.js +49 -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/ops/trash.js +12 -1
- 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 +82 -19
- package/lib/sidebar-settings.js +13 -0
- 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/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +19 -14
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,113 @@
|
|
|
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
|
+
|
|
86
|
+
## [0.21.1] - 2026-10-18
|
|
87
|
+
|
|
88
|
+
### 新增
|
|
89
|
+
|
|
90
|
+
- **侧栏入口**:侧栏加一行「工具管理」,兼容页可随时关闭 / 开启(默认开启)。
|
|
91
|
+
- **插件行显示名**:中文显示「工具管理」,英文显示 "Tools Management"。
|
|
92
|
+
|
|
93
|
+
### 变更
|
|
94
|
+
|
|
95
|
+
- **「工具」改名「工具管理」**:设置分区、侧栏入口与界面指路文案一并对齐。
|
|
96
|
+
- **场景一条一行**:单列排列,描述固定第二行,开关与 ⋯ 右对齐。
|
|
97
|
+
- **来源卡头目录下移**:目录改到标题下一行,窄面板里也照常显示。
|
|
98
|
+
- **归档会话行放宽**:标题、目录与日期不再挤在一起。
|
|
99
|
+
- **会话页标题去掉加粗**:目录卡头与其余页一致。
|
|
100
|
+
- **令牌提示压成一行**。
|
|
101
|
+
- **模式横幅按钮**:「退出模式」红字红框;「锁定」加粗,悬停才泛琥珀。
|
|
102
|
+
- **场景卡片精简**:锁定键只在进入场景后出现在「退出模式」旁,提示词标签只留异常两种。
|
|
103
|
+
- **回收站详情补全**:场景与记忆补上条目信息,技能条目套用技能详情排版。
|
|
104
|
+
- **提示词页场景提示**:与 MCP 页同一句。
|
|
105
|
+
|
|
106
|
+
### 修复
|
|
107
|
+
|
|
108
|
+
- **MCP 备注改到编辑页**:详情页只读,并带一格空备注位。
|
|
109
|
+
- **MCP 关掉后状态灯立刻变灰**。
|
|
110
|
+
- **先打文字再打斜杠没有菜单**。
|
|
111
|
+
- **场景开关与 ⋯ 没有垂直居中**。
|
|
112
|
+
- **场景里的技能被删除后就退不出场景**。
|
|
113
|
+
- **归档会话行内按钮没有边框**。
|
|
114
|
+
- **锁定键悬停时字色变黑**。
|
|
115
|
+
- **回收站详情里的技能来源显示成 uuid**。
|
|
116
|
+
- **开关圆角与官方不一致**:方肩改为正圆角。
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
13
120
|
## [0.21.0] - 2026-10-17
|
|
14
121
|
|
|
15
122
|
适配 DSH 0.2.1-rc.2。
|
|
@@ -44,6 +151,7 @@
|
|
|
44
151
|
- **「已清空」通知按原因分叉**:官方接管时说明是官方在送、旧内容作废;用户关掉或子会话不适用时说明这里不发送。
|
|
45
152
|
- **注入的首份内容不再带「取代」声明**:「同一类内容以最新一份为准」只在替换旧消息时发,「只列了启用的技能」这类边界陈述每份都发。
|
|
46
153
|
- **提示词块补一句效力声明**:说明这些规则要遵循、你在对话里说的优先。
|
|
154
|
+
- **对抗性审查收口**:场景域「this one」改「it」(兼容多场景同时启用的历史态);提示词域「for this machine」改「right now」(场景预设接管时不是机器全局);记忆段截断标记与折叠行不再重复;有记忆被截掉但信号放不下时强制追加标记(不再静默截断);记忆段截断时 how 行点名 `memory_manager_list` 给出查询出口。
|
|
47
155
|
|
|
48
156
|
---
|
|
49
157
|
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest # web 版
|
|
|
23
23
|
dsh plugin --profile desktop add dsh-plugin-tool-management@latest # 桌面版
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
装完 web 版硬刷新浏览器(Cmd/Ctrl+Shift+R),桌面版重启应用,设置 →
|
|
26
|
+
装完 web 版硬刷新浏览器(Cmd/Ctrl+Shift+R),桌面版重启应用,设置 → **工具管理**。插件只写自己的文件,不改技能源文件;重启与升级后配置都在。
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
@@ -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,7 +84,15 @@ 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
|
|
|
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
|
+
|
|
95
|
+
装完 web 版硬刷新浏览器、桌面版重启应用,设置 → **工具管理** 出现八栏即成功。界面改动即时生效,宿主侧改动需重启(web 重启 `dsh web`,桌面重启桌面应用)。
|
|
87
96
|
|
|
88
97
|
也可以让模型代劳:
|
|
89
98
|
|
|
@@ -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,放不下的跳过并列出清单。
|
|
@@ -159,10 +178,12 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
159
178
|
|
|
160
179
|
- **「兼容」页**:宿主版本、能力可用数、每个动作走原生 / 适配 / 不可用、降级项与原因;三个写入口:访问令牌、注入设置、模型工具表。
|
|
161
180
|
- **兼容页功能总览**:一行一个功能点,宿主契约四条(子智能体人设委派 / 工具限制 / 创建时序 / Web 准入)与「裸模块解析」四包都列在这里,升级后哪一处悄悄不工作一眼可见。
|
|
181
|
+
- **侧栏入口**:侧栏里多一行「工具管理」,点开就是同一套八页;兼容页那颗「关闭侧栏 / 开启侧栏」随时能把这一行撤掉或挂回去(默认挂出,与「设置 → 工具管理」并存)。
|
|
162
182
|
- **命令行**:`node scripts/doctor.mjs`(体检)、`node scripts/host-deps.mjs --fix`(依赖对齐)。
|
|
163
183
|
- **压制型预设**(`minimal` 这类)下本插件的注入默认停用,可在「兼容」页按域强制打开。
|
|
164
184
|
- **关掉「技能」「提示词」的勾选 = 连宿主那份一起停**(这两域在标准预设下由官方送);其余三域勾选完全生效。
|
|
165
|
-
-
|
|
185
|
+
- **注入长什么样**:每个域一条带框架的独立消息,名称、说明、备注、正文一律原样送进去,正文里手写的框架闭合标记会被转义,提前结束不了框架。
|
|
186
|
+
- **开机自检没干完的事**:上次退出时留下的半截状态(记忆索引被隔离、MCP 重启中断在第一步)启动时核对一遍,隔离索引在场景页给一键修复,MCP 重启自动按补丁备份恢复。
|
|
166
187
|
|
|
167
188
|
---
|
|
168
189
|
|
|
@@ -180,7 +201,9 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
180
201
|
| 记忆索引 / 场景 / 档案 | `~/.dsh/tool-management/memories-index.json` |
|
|
181
202
|
| MCP 侧车(停用表 / 已知工具 / 备注 / 设置) | `~/.dsh/tool-management/mcp-*.json` |
|
|
182
203
|
| 注入设置(六个域开关) | `~/.dsh/tool-management/inject-settings.json` |
|
|
183
|
-
|
|
|
204
|
+
| 模型工具表(全局默认 + 存下的方案) | `~/.dsh/tool-management/tool-table.json` |
|
|
205
|
+
| 作用域覆盖(会话 / 工作区,含工具表) | `~/.dsh/tool-management/scope-overrides.json` |
|
|
206
|
+
| 全局意图(MCP / 技能来源的默认开关) | `~/.dsh/tool-management/scope-intent.json` |
|
|
184
207
|
| 场景页界面设置(进场景前弹不弹预览卡) | `~/.dsh/tool-management/scene-settings.json` |
|
|
185
208
|
| 运行日志 / patch 备份 | `~/.dsh/tool-management/tool-management.log` · `backups/` |
|
|
186
209
|
|
|
@@ -196,7 +219,7 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
196
219
|
| `tokenDisabled` | `true` = 令牌保留在配置里但当前不生效(兼容页「关闭保护」写的就是这一行)。写操作不再要求令牌,明文查看仍然要。 |
|
|
197
220
|
| `maxBodyBytes` | 请求体上限,默认 88 MiB。 |
|
|
198
221
|
|
|
199
|
-
**磁盘上的明文(必读)**:打码**只发生在界面展示**;MCP 的 `env` / `headers` 与插件自己的 `token` 在 `cordis.patch.yml`(及各 profile 副本)里始终明文,改配置前整份文件会备份进 `~/.dsh/tool-management/backups/`(不加密、不轮转、卸载也不回收)—— 一份密钥最多有 `5 ×(含它的 patch 文件数)+ 1` 份明文副本。令牌门禁**管不到磁盘读取**,防线是操作系统的文件权限。清理入口:**设置 →
|
|
222
|
+
**磁盘上的明文(必读)**:打码**只发生在界面展示**;MCP 的 `env` / `headers` 与插件自己的 `token` 在 `cordis.patch.yml`(及各 profile 副本)里始终明文,改配置前整份文件会备份进 `~/.dsh/tool-management/backups/`(不加密、不轮转、卸载也不回收)—— 一份密钥最多有 `5 ×(含它的 patch 文件数)+ 1` 份明文副本。令牌门禁**管不到磁盘读取**,防线是操作系统的文件权限。清理入口:**设置 → 工具管理 → 兼容 → 「清理旧备份」**。
|
|
200
223
|
|
|
201
224
|
- **浏览器**:读写走 cookie,不需要令牌;**明文密钥**(显示密钥 / 导出)要令牌。令牌在「兼容」页的「访问令牌」块管理:本次启动填一次管到 DSH 退出;写进配置文件要重启生效。
|
|
202
225
|
- **销毁方向一律要当场再输一次当前令牌**(关闭保护 / 修改 / 删除)—— 本次启动解锁过不算。
|
|
@@ -204,23 +227,37 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
204
227
|
- **HTTP 状态码**:除安全栅栏的 401 / 403 外,一律 HTTP 200 + `{ ok: false, error }` —— 脚本分流请以 `body.ok` 为准。
|
|
205
228
|
- **端口转发**:宿主缺 `connection` 服务时栅栏退到「Host 回环 + 同源」判定,本机进程伪造 `Host: localhost` 即可调用写 op。转发到局域网 / 公网的场景**务必配令牌** —— 陌生人注入 MCP 命令等同远程执行;「选择文件夹」弹窗用的 `dir-list` 能列出任意绝对路径(只读),同一条前提。
|
|
206
229
|
- **服务器名避开 `__`(起名建议)**:工具全名是 `mcp__<服务器名>__<工具名>`,服务器名里再有 `__` 会让它切不唯一,界面上的勾选可能落不到停用表里那条键上。本轮不收紧校验,改为在**兼容页**出一条提示;起名时避开 `__` 就没有这个问题。
|
|
230
|
+
- **侧车不要手工编辑**:`mcp-disabled-tools.json` 写坏时所有 `mcp__*` 会被拒绝调用(MCP 页给「重置停用表」,原文件先留取证副本);`tool-table.json` 写坏时沿用上次成功值并禁止保存。
|
|
207
231
|
|
|
208
232
|
## 常见问题
|
|
209
233
|
|
|
234
|
+
完整的排查手册(症状 → 为什么 → 怎么确认 → 怎么修)在 **[docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md)**。这里只列最常见的几条。
|
|
235
|
+
|
|
210
236
|
| 现象 | 解决 |
|
|
211
237
|
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
212
238
|
| 装完没有页面 | 硬刷新;不行重启 DSH。 |
|
|
213
239
|
| 重复 MCP 页签 | 删 `cordis.patch.yml` 里的旧 loader 行后重启。 |
|
|
214
240
|
| 改坏配置 DSH 起不来 | 从 `~/.dsh/tool-management/backups/` 取最近的 `cordis.patch.yml.<层级>.bak-<时间戳>` 覆盖回去(每份 patch 各留 5 份)。 |
|
|
215
|
-
| 升级 DSH 后动作不可用 | 设置 →
|
|
216
|
-
| 升级 DSH 后装不上 / 提示 peer 不符 |
|
|
217
|
-
| 模型调不到某条工具 |
|
|
241
|
+
| 升级 DSH 后动作不可用 | 设置 → 工具管理 → **兼容** 看原因;`doctor.mjs` → `host-deps.mjs --fix`。 |
|
|
242
|
+
| 升级 DSH 后装不上 / 提示 peer 不符 | 本插件只适配 DSH **0.2.1**(`>=0.2.1-rc.2 <0.2.2`):别的宿主代次请装对应版本的插件,跨代升级要等插件同步适配。 |
|
|
243
|
+
| 模型调不到某条工具 | 「兼容」页的**模型工具表**看它是不是被关了(顶部先选到那个对话 / 工作区;出厂默认关着 20 条);面板和脚本不受影响。 |
|
|
218
244
|
| `approval=never` 还要确认吗 | 不弹卡,直接放行并记日志;想问回来切回「工作区内修改」。 |
|
|
219
245
|
| `subagent_manager_run` 报 provider 不可用 | 对应 provider 没注册:`spawn`(默认)/ `fork`(`inherit`)分别挂 `@deepseek-ai/dsh-subagent-spawn-in-process` / `-fork-in-process` 后重启。 |
|
|
220
246
|
| 场景绑了 A 人设,官方 `subagent` 还在跑别的 | 官方那两个是宿主的工具,本插件管不到;贴合人设的走 `subagent_manager_run`,官方只在没有人设贴合或要后台跑时用。 |
|
|
221
247
|
|
|
222
248
|
---
|
|
223
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
|
+
|
|
224
261
|
## 开发
|
|
225
262
|
|
|
226
263
|
```bash
|
package/README_EN.md
CHANGED
|
@@ -23,7 +23,7 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest # web
|
|
|
23
23
|
dsh plugin --profile desktop add dsh-plugin-tool-management@latest # desktop
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Hard-refresh the browser after installing for web (Cmd/Ctrl+Shift+R), or restart the desktop app after installing for desktop — a **Tools** panel in Settings means it worked. The plugin only writes its own files, never touches skill sources, and your configuration survives restarts and upgrades.
|
|
26
|
+
Hard-refresh the browser after installing for web (Cmd/Ctrl+Shift+R), or restart the desktop app after installing for desktop — a **Tools Management** panel in Settings means it worked. The plugin only writes its own files, never touches skill sources, and your configuration survives restarts and upgrades.
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
@@ -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,7 +82,15 @@ 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
|
|
|
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
|
+
|
|
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:
|
|
87
96
|
|
|
@@ -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
|
|
|
@@ -157,10 +175,11 @@ For the desktop app, swap `web` for `desktop` and end with "remind me to restart
|
|
|
157
175
|
|
|
158
176
|
- **Host tab**: host version, usable capability count, per-action routing (native / adapter / unavailable), degradations and reasons; three write entries: access token, injection settings, model tool table.
|
|
159
177
|
- **Compatibility page overview**: one row per feature point. The four host contracts (subagent persona delegation / tool restriction / creation ordering / Web admission) and the "bare module resolution" block all live there — a feature that silently stops working after a host upgrade shows up at a glance.
|
|
178
|
+
- **Sidebar entry**: a "Tools Management" row in the sidebar opens the same eight pages; the Host tab's "Hide from sidebar / Show in sidebar" button adds or removes that row at any time (on by default, alongside Settings → Tools Management).
|
|
160
179
|
- **Command line**: `node scripts/doctor.mjs` (health check), `node scripts/host-deps.mjs --fix` (align dependencies).
|
|
161
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.
|
|
162
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.
|
|
163
|
-
- **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.
|
|
164
183
|
|
|
165
184
|
---
|
|
166
185
|
|
|
@@ -178,7 +197,9 @@ For the desktop app, swap `web` for `desktop` and end with "remind me to restart
|
|
|
178
197
|
| Memory index / scenes / profiles | `~/.dsh/tool-management/memories-index.json` |
|
|
179
198
|
| MCP sidecars (disabled tools / known tools / notes / settings) | `~/.dsh/tool-management/mcp-*.json` |
|
|
180
199
|
| Injection settings (six domain switches) | `~/.dsh/tool-management/inject-settings.json` |
|
|
181
|
-
| 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` |
|
|
182
203
|
| Scene page preference (preview card before entering a scene) | `~/.dsh/tool-management/scene-settings.json` |
|
|
183
204
|
| Runtime log / patch backups | `~/.dsh/tool-management/tool-management.log` · `backups/` |
|
|
184
205
|
|
|
@@ -194,30 +215,44 @@ The six recycle bins each own one directory under `trash/`: `{skills,memories,su
|
|
|
194
215
|
| `tokenDisabled` | `true` = the token stays in the config but is not enforced (this is the line written by "Turn protection off"). Writes no longer need it; revealing plaintext still does. |
|
|
195
216
|
| `maxBodyBytes` | Request body cap, 88 MiB by default. |
|
|
196
217
|
|
|
197
|
-
**Plaintext on disk (read this)**: masking is **display-only**; MCP `env` / `headers` and the plugin's own `token` stay in cleartext inside `cordis.patch.yml` (and each profile copy), and every config change copies the whole file into `~/.dsh/tool-management/backups/` — unencrypted, never rotated, not reclaimed on uninstall. One secret can therefore exist as `5 × (patch files holding it) + 1` plaintext copies. The token gate decides *who may read plaintext over HTTP*; it does nothing about *reading the files*, where the only defence is your filesystem permissions. **To clean up: Settings → Tools → Host → "Clean old backups"**.
|
|
218
|
+
**Plaintext on disk (read this)**: masking is **display-only**; MCP `env` / `headers` and the plugin's own `token` stay in cleartext inside `cordis.patch.yml` (and each profile copy), and every config change copies the whole file into `~/.dsh/tool-management/backups/` — unencrypted, never rotated, not reclaimed on uninstall. One secret can therefore exist as `5 × (patch files holding it) + 1` plaintext copies. The token gate decides *who may read plaintext over HTTP*; it does nothing about *reading the files*, where the only defence is your filesystem permissions. **To clean up: Settings → Tools Management → Host → "Clean old backups"**.
|
|
198
219
|
|
|
199
220
|
- **Browser**: reads and writes go through cookies, no token needed; **plaintext credentials** (reveal / export) do. The token is managed in the **Access token** block on the Host tab.
|
|
200
221
|
- **Every destructive direction asks for the current token again** (turn protection off / change / delete). Being unlocked this run does not count.
|
|
201
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`.
|
|
202
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**.
|
|
203
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.
|
|
204
226
|
|
|
205
227
|
## FAQ
|
|
206
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
|
+
|
|
207
231
|
| Symptom | Fix |
|
|
208
232
|
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
209
233
|
| Pages missing after install | Hard refresh; restart DSH if that fails. |
|
|
210
234
|
| Duplicate MCP tabs | Remove the stale loader row from `cordis.patch.yml`, restart. |
|
|
211
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). |
|
|
212
|
-
| Action stopped working after a DSH upgrade | Settings → Tools → **Host** for the reason; `doctor.mjs` → `host-deps.mjs --fix`. |
|
|
213
|
-
| Won't install / peer mismatch after a DSH upgrade |
|
|
214
|
-
| The model cannot call a tool it should have | Check the **Model tool table** on the Host tab —
|
|
236
|
+
| Action stopped working after a DSH upgrade | Settings → Tools Management → **Host** for the reason; `doctor.mjs` → `host-deps.mjs --fix`. |
|
|
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. |
|
|
215
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. |
|
|
216
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. |
|
|
217
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. |
|
|
218
242
|
|
|
219
243
|
---
|
|
220
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
|
+
|
|
221
256
|
## Development
|
|
222
257
|
|
|
223
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
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1792285388879" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1697" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M592 336h-416c-52.928 0-96 43.072-96 96v416c0 52.928 43.072 96 96 96h416c52.928 0 96-43.072 96-96v-416c0-52.928-43.072-96-96-96z m32 512a32 32 0 0 1-32 32h-416c-17.632 0-32-14.336-32-32v-416c0-17.632 14.368-32 32-32h416c17.664 0 32 14.368 32 32v416z" p-id="1698"></path><path d="M720 208h-416a32 32 0 0 0 0 64h416c17.664 0 32 14.368 32 32v416a32 32 0 1 0 64 0v-416c0-52.928-43.072-96-96-96zM528 752h-288a32 32 0 1 0 0 64h288a32 32 0 1 0 0-64z" p-id="1699"></path><path d="M848 80h-416a32 32 0 0 0 0 64h416c17.664 0 32 14.368 32 32v416a32 32 0 1 0 64 0v-416c0-52.928-43.072-96-96-96z" p-id="1700"></path></svg>
|