dsh-workspace-scope
Manifest valid★ 4Per-workspace Skill and MCP enablement for DeepSeek Harness
dsh-workspace-scope
为 DeepSeek Harness 按工作区启用或禁用当前 Agent 已拥有的 Skill 与 Host 全局 MCP。
本插件只做能力范围控制,不负责安装、发现或提供 Skill / MCP。不同工程可以通过各自的 .dsh-scope.json 暴露不同的能力集合。
English: README.en.md
安装
需要已安装 dsh CLI:
dsh plugin --profile web add dsh-workspace-scope
卸载:
dsh plugin --profile web remove dsh-workspace-scope
使用
在新建会话的空白 Session 中,点击输入卡右侧的「工作区能力」。
界面会显示当前 Agent 可由模型调用的 Skill,以及 Host 全局 MCP 服务器。切换 Agent Preset 后,列表会随当前 Agent 更新。开关、搜索、全部启用和全部禁用都会立即保存到工作区根目录的 .dsh-scope.json。
配置在会话第一次真正发起模型请求时锁定。因此开始对话前的修改会应用到该会话;之后的修改只影响新的会话。
配置
通常直接使用 UI 即可。也可以手动编辑工作区根目录的 .dsh-scope.json:
{
"default": {
"mode": "whitelist",
"skills": ["<skill-name>"],
"mcps": ["<server-name>"]
}
}
default:全部启用。whitelist:仅启用列表中的能力。blacklist:禁用列表中的能力。skills:Skill 名称。mcps:Host 全局 MCP server 名称。
边界
- Skill 范围来自当前 Agent 已有的 model-invocable Skill;本插件不会安装或补充 Skill。
- 禁用 Skill 控制的是模型调用能力。是否仍可通过
/skill-name手动调用,由该 Skill 自身的 DSHuserInvocable策略决定。 - MCP 只管理 Host 全局注册并由 Agent 继承的 MCP;Agent / Preset 作用域内注册的 Tool / MCP 不在管理范围内。
- 当前 0.5.x 不支持名称中包含
__的 MCPserverName;普通 tool name 可以包含__。
实现细节、数据流与 C4 图见 docs/architecture.md。版本变化见 CHANGELOG.md。
贡献
发现 bug 或有想法可以直接开 issue。提交 PR 前请阅读 CONTRIBUTING.md。
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.3.0 | — | — |
| 0.4.0 | — | — |
| 0.5.3 | — | — |
| 0.3.1 | — | — |
| 0.5.1 | — | — |
| 0.3.2 | — | — |
| 0.5.2 | — | — |
| 0.5.0 | — | — |
Comments
Loading…
Similar plugins
by Fleey
DeepSeek Harness plugin: choose which skills and MCP servers each workspace may use
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-workspace-capabilitiesby Skylarking
DeepSeek Harness plugin: multi workspace
★ 0
TypeScript
Aug 20, 2026
dsh plugin --profile web add @skylarking/dsh-multi-workspaceby useorgx
OrgX Work Ledger, MCP tools, skills, proof, and governed execution for DeepSeek Harness
★ 0
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add @useorgx/deepseek-harness-pluginby Destined-at-Dawn
A DSH visual workbench for Obsidian-style knowledge workspaces and local Comfy MCP workflows.
★ 0
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-visual-workbenchby xarleyn
Per-session workspace scoping for DeepSeek Harness — expose only selected directories to agents with focused and isolated enforcement.
★ 0
MIT
TypeScript
Sep 6, 2026
dsh plugin --profile web add dsh-session-scopeby functy23
DeepSeek Harness 的 MCP 服务与 Skills 管理器:面板里增删改 MCP 行、扫描导入其他 Agent 配置、管理 Skills(DSH Web 插件)
★ 30
↓ 248/wk
MIT
TypeScript
Oct 6, 2026
dsh plugin --profile web add dsh-mcp-studio