dsh-plugin-tool-management 0.21.3 → 0.21.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/CHANGELOG.md +24 -0
- package/README.md +2 -4
- package/README_EN.md +2 -2
- package/docs/UPDATE.md +1 -0
- package/lib/client.js +465 -178
- package/lib/index.js +37 -13
- package/lib/memories/archive-engine.js +1 -1
- package/lib/op-registry.js +5 -1
- package/lib/ops/scope.js +114 -11
- package/lib/scope/intent.js +6 -5
- package/lib/tools/mcp.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,30 @@
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## [0.21.4] - 2026-10-23
|
|
14
|
+
|
|
15
|
+
### 新增
|
|
16
|
+
|
|
17
|
+
- **技能可编辑**:行菜单新增「编辑」,可改简介与正文,名称只读;官方内置与只读来源不提供编辑 / 删除。
|
|
18
|
+
- **页头「全部关闭」**:场景 / MCP / 技能 / 子智能体 / 提示词 / 记忆六页在存在临时运行时出现,一次清掉这一域全部临时运行,执行后按钮随即消失。
|
|
19
|
+
- **行菜单「统一关闭」**:场景、子智能体、记忆、快捷提示词也支持逐条清掉其他对话 / 工作区的临时运行;有租约时才出现,带确认弹窗,场景只退出进入过这一场的对话 / 工作区。
|
|
20
|
+
|
|
21
|
+
### 修复
|
|
22
|
+
|
|
23
|
+
- **统一关闭后「临时运行」徽章不消失**:现在会立即消失,不需要刷新页面或等待下一次同步。
|
|
24
|
+
- **统一关闭导致列表重排**:关闭操作不再重拉整层,已打开的条目保持原位,不会把已启用的全部置顶。
|
|
25
|
+
- **MCP 行上长期挂着「已彻底停止」标签**:标签与菜单里的「恢复启用」一并去掉,旧的持久停机记录直接拨开关即可恢复。
|
|
26
|
+
|
|
27
|
+
### 变更
|
|
28
|
+
|
|
29
|
+
- **「彻底停止」改为「统一关闭」并改为一次性**:关闭后不留下持久停机状态,之后可以重新打开。
|
|
30
|
+
- **页头批量按钮统一改为「全部关闭」**:放在「回收站」右侧,红色边框与红色字体。
|
|
31
|
+
- **技能来源卡片去掉逐条「彻底停止」**:关闭来源只改默认,正在使用它的对话 / 工作区按租约继续;需要立即切断时用页头「全部关闭」。
|
|
32
|
+
- **兼容页移除更新检查行**:需要时点右上角更新按钮;那颗按钮始终只查一次,不再跳转兼容页。
|
|
33
|
+
- **「保存到场景」改为「保存」;技能页「创建技能」改为「创建」**。
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
13
37
|
## [0.21.3] - 2026-10-22
|
|
14
38
|
|
|
15
39
|
### 新增
|
package/README.md
CHANGED
|
@@ -29,9 +29,7 @@ dsh plugin --profile desktop add dsh-plugin-tool-management@latest # 桌面版
|
|
|
29
29
|
|
|
30
30
|
## 演示视频
|
|
31
31
|
|
|
32
|
-
<video controls src="https://github.com/user-attachments/assets/
|
|
33
|
-
|
|
34
|
-
<video controls src="https://github.com/user-attachments/assets/7c72ce98-fad9-4233-88de-2ebf5ca5bf30"></video>
|
|
32
|
+
<video controls src="https://github.com/user-attachments/assets/8f785896-891a-4a91-9845-768a1d0bc829"></video>
|
|
35
33
|
|
|
36
34
|
画面里每一个界面都是真机截图,没有重画的 UI,也没有伪造控件。
|
|
37
35
|
|
|
@@ -120,7 +118,7 @@ dsh plugin --profile web add dsh-plugin-tool-management@latest
|
|
|
120
118
|
- **四层叠加**:本层改过 > 进入的场景 > 创建时的快照 > 全局,逐格取最上面有话说的一层;拨回与下层一致时覆盖自动清掉。
|
|
121
119
|
- **对话里能进出场景**:场景页与斜杠菜单都能进入,档案里勾的记忆 / 技能 / 人设 / MCP 按当前层实时生效;退出回到这一层最开始的样子(不回退到会变的全局)。
|
|
122
120
|
- **八个域都能按当前层改**:场景、技能(含来源目录)、子智能体、记忆、快捷提示词、MCP 服务器与逐工具可见性、模型工具表(每层一份整名单,全局那份只是新对话 / 新工作区的默认)。
|
|
123
|
-
- **全局关着也能临时用,徽章照实算**:服务器 /
|
|
121
|
+
- **全局关着也能临时用,徽章照实算**:服务器 / 技能来源按租约临时运行,别的层看不见;七个域与逐工具一格都有徽章,按当前粒度现算;行菜单的「统一关闭」会立即停掉它,并把正在用它的会话 / 工作区的开关一并关掉(一次性,之后可重新打开);有临时运行时,场景 / MCP / 技能 / 子智能体 / 提示词 / 记忆各页页头会出现「全部关闭」,一次收掉这一域全部临时运行。
|
|
124
122
|
- **提示词也能按当前层覆盖**:应用预设或编辑正文只改这一层(写侧车,不写 `~/.dsh/AGENTS.md`);预设库仍是全局资产,切回全局层再改。
|
|
125
123
|
- **模型工具默认写当前层**:回执说清写的是哪一层,`scope: "global"` 才改全局;两把锁互不干扰 —— 场景锁冻结全局写入,会话 / 工作区锁只冻结那一层。
|
|
126
124
|
|
package/README_EN.md
CHANGED
|
@@ -29,7 +29,7 @@ Hard-refresh the browser after installing for web (Cmd/Ctrl+Shift+R), or restart
|
|
|
29
29
|
|
|
30
30
|
## Demo
|
|
31
31
|
|
|
32
|
-
<video controls src="https://github.com/user-attachments/assets/
|
|
32
|
+
<video controls src="https://github.com/user-attachments/assets/8f785896-891a-4a91-9845-768a1d0bc829"></video>
|
|
33
33
|
|
|
34
34
|
Every interface shown is a real screenshot of the running product — no redrawn UI, no fabricated controls.
|
|
35
35
|
|
|
@@ -118,7 +118,7 @@ For the desktop app, swap `web` for `desktop` and end with "remind me to restart
|
|
|
118
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
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
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; "
|
|
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; a row's "Close everywhere" stops it immediately and switches it off in the conversations / workspaces using it too (one-shot; you can turn it back on later); while leases exist, the Scenes / MCP / Skills / Subagents / Prompts / Memory pages show "Close all" in the header to clear every lease in that domain at once.
|
|
122
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
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.
|
|
124
124
|
|
package/docs/UPDATE.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| 版本 | 发布 | 主题 |
|
|
6
6
|
| ------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
7
|
+
| [0.21.4](../CHANGELOG.md#0214---2026-10-23) | 2026-10-23 | 「彻底停止」改为一次性的「统一关闭」;场景 / MCP / 技能 / 子智能体 / 提示词 / 记忆六页页头新增「全部关闭」(有临时运行时才出现,位于回收站右侧,执行后立即消失);技能行可编辑(官方内置只读),场景 / 子智能体 / 记忆 / 快捷提示词补齐逐条「统一关闭」;统一关闭后徽章即时消失、不再触发列表重排;兼容页移除更新检查行,「保存到场景」「创建技能」文案收短 |
|
|
7
8
|
| [0.21.3](../CHANGELOG.md#0213---2026-10-22) | 2026-10-22 | 修好三处注入:插件升级后旧框架文案不刷新、旧版本留下的注入消息不补发、MCP 启动 / 重连时先发「已清空」再发内容(两次注入);另修好同步脚本,只改大小写的改名不再把文件弄丢;新增启动时修剪桌面壳鉴权 cookie(堆多了会导致应用起不来);另加严格索引检查门禁与 op 登记表缺声明对账;请求栅栏改为按请求查找 `connection`,不再因挂载顺序永久降级;本地版本领先 registry 时不再显示指向旧版的「复制安装命令」 |
|
|
8
9
|
| [0.21.2](../CHANGELOG.md#0212---2026-10-22) | 2026-10-22 | **本次重点 · 生效层级(全局 / 工作区 / 会话)**:默认每个对话各一份设置,兼容页可切全局或按工作区,六个域(含逐工具开关与模型工具表)都跟着层走,全局关着的服务器 / 来源能按对话临时运行;另加并发编辑指纹、插件更新检查、诊断信息、记忆搜索与三份文档;兼容范围收窄到 DSH 0.2.1。 |
|
|
9
10
|
| [0.21.1](../CHANGELOG.md#0211---2026-10-18) | 2026-10-18 | 侧栏加「工具管理」入口与插件行显示名;场景改单列、描述第二行、开关与 ⋯ 居中,锁定键挪进模式横幅;来源目录挪到标题下、归档会话行放宽;开关圆角对齐官方;回收站详情补全条目信息;修好技能被删后退不出场景、斜杠菜单在行内不弹等一批问题 |
|