workspace-scope
按工作区(工程)启停 Skill 与 MCP:控制新会话启动上下文(组合模式:默认全开 / 白名单 / 黑名单)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ri0n72Y/workspace-scope说明文档
阅读完整 README ↗配置
文件在工作区根目录,名为 .dsh-scope.json:
{
"default": {
"mode": "whitelist",
"skills": [""],
"mcps": [""]
}
}
| 字段 | 类型 | 说明 |
|---|---|---|
mode | string | 保存时固定为 whitelist;读取兼容 default(全部启用)与 blacklist(列表为排除集) |
skills | string[] | 启用的技能名列表 |
mcps | string[] | 启用的 MCP 服务器名列表 |