liaoyuqing/dsh_workspace_switch ↗★ 0

dsh-workspace-switch

Per-workspace activation control for DeepSeek Harness: turn individual skills, MCP servers, and plugins on or off for each workspace, from a dialog on the workspace row. 适合需要在不同项目目录中精细化定制可用AI能力的开发者。

パッケージ
dsh-workspace-switch
互換性
未検証
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/09/27

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liaoyuqing/dsh_workspace_switch

ドキュメント

README 全文を読む ↗

Configuration

Two sources describe one workspace, in increasing precedence:

  1. /workspace-switch.json, whose workspaces map is keyed by workspace directory;
  2. /.dsh/workspace-switch.json, which replaces the shared entry for that workspace when it exists.
{
  "workspaces": {
    "E:\\my_project\\godot-game": {
      "plugins": { "mcp-godot-ai": { "enabled": false, "tools": ["mcp__godot-ai__run"] } },
      "mcp": { "godot-ai": { "enabled": false } },
      "skills": { "godot-scene-authoring": { "enabled": false } }
    }
  }
}

enabled: false switches a capability off for that workspace; an absent entry means enabled. A plugin entry also declares the tool names the plugin registers — the gate denies tools by name, so a plugin without tools has nothing to deny.

The dialog writes the document that currently answers for the workspace: the project file while one exists, the shared store otherwise. Output is published through a temp-file rename, so a reader never sees a half-written document.