DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-command-quarantine

s

dsh-command-quarantine

Manifest valid

DSH Command Isolation Plugin: Restricts the agent to using command tools only indirectly. The plugin includes three built-in audit methods to prevent the model from hallucinating and mistyping characters, which could otherwise be executed by the command tool and lead to serious consequences.

UI (client)

DSH Command Quarantine

你有被 agent 崩溃过电脑/客户端/项目吗?

前几天我下载 DSH 准备 DIY,结果不知道它干了啥,我整个 D 盘差点被删了!后来发现是它的一条命令的符号写错了,导致删除命令执行错误。

于是有了这个项目:在 agent 使用命令行工具前加一道隔离层。所有命令必须先提交、再审查,通过后才执行;审查过程全程留审计,危险命令会弹窗让你确认。

功能

  • 拦截 Agent 直接执行命令
  • 命令先进入隔离区,不直接运行
  • 双层审查:确定性规则 + 可选 LLM 审查员
  • 支持普通审查员 / 项目审查员
  • 危险命令统一弹窗人工确认
  • 全程审计,命令可追溯

工作原理

Agent 想执行命令
  → submit_command 写入隔离区
  → request_review 审查
  → APPROVED:自动执行
  → RISKY:弹窗人工确认
  → REJECTED:返回理由

安装

  1. 把本目录放到 DSH loader 模块回退目录:

    $DSH_HOME\profiles\node_modules\@sutang\dsh-command-quarantine\
    
  2. 在 $DSH_HOME\cordis.patch.yml 添加:

    - insert:
        - id: command-quarantine
          name: '@sutang/dsh-command-quarantine'
    
  3. 将 command-quarantine 加入部署的 WEB_SETTINGS_NAMESPACES 白名单,否则设置卡片不可用(插件本身可用)。

  4. 重启 DSH。

设置

  • 审查档位:仅规则 / 审查员 / 项目审查员
  • 是否允许读取工作区外
  • 是否同会话复用审查员
  • 审查员模型
  • 隔离数据目录

界面预览

截图说明
插件设置 1插件设置卡片:审查档位、读取范围、复用/压缩选项
插件设置 2插件设置卡片:审查员模型与拦截配置
插件设置 3插件设置卡片:存储目录等高级配置
单会话隔离按钮对话输入区旁的会话级隔离开关
CQ 审计记录CQ 审计页签:命令提交/审查/执行/结果
危险操作预警弹窗RISKY 命令的统一人工审批弹窗

说明

本插件只隔离命令行执行,不接管 DSH 自带的 write / edit 文件工具;文件读写空间由 DSH 权限沙箱负责。

文档

License

MIT

Comments

Loading…

Similar plugins

dsh-prompt-editor

by AGImentu

DSH 插件:在「更多设置」里查看、修改并保存所有 agent 共用的全局系统提示词,保存后立即生效。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-prompt-editor

by wonderandyou

DSH 插件:在权限菜单里新增「管理员」档(完全访问 + 永不询问),内置官方 computer use、操控提示与自主迭代按钮。

Security & AuditManifest valid

★ 15

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add @local/dsh-admin-mode

by joinsnow-star

给 DeepSeek Harness 的 按命令代理:Agent 自己决定哪条 shell 命令走代理,插件负责安装并托管它所需要的代理内核 —— 不依赖你机器上已装的任何代理软件。

Manifest valid

★ 0

↓ 475/wk

JavaScript

Sep 12, 2026

dsh plugin --profile web add dsh-agentic-proxy

by BiBoyang

DSH 插件评测工具:YAML 用例驱动真实 agent 回归评测 + baseline 对比 PASS/WARN/FAIL 门禁|Regression eval harness for DeepSeek Harness plugins

Development & InfrastructureManifest valid

★ 12

TypeScript

Aug 24, 2026

dsh plugin --profile web add dsh-eval-harness

by yinghan-123

DSH 插件:强制 Agent 一切代码执行与数据处理使用 python 工具,并用工具守卫拦截 bash(无例外),让 DSHM 端侧稳定走进程内 CPython。

Manifest valid

★ 0

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add dsh-python-only

by kiterunner1

DSH 插件:任务结束或命令卡死时用本机人声提醒,自动中断卡住的 pwsh 调用并把「怎么继续」写回工具结果,并在 spawn 之前拦掉已知的性能陷阱写法。仅 Windows。 / Beeps + stuck-command watchdog + command guard for DeepSeek Harness. Windows only.

Manifest valid

★ 0

MIT

JavaScript

Sep 15, 2026

dsh plugin --profile web add dsh-attention-beep