dsh-tool-approval

securityinstall failsnpmBSD-3-Clause

Manual approval mode ("Manual Mode" / "Ask Mode").

下载量 / Downloads
959
测试时间 / Tested
2026-11-06
DSH 版本 / Version
0.2.2-rc.1

Install

dsh plugin --profile web add dsh-tool-approval

Sandbox test results

StageResult
1 install✗
2 list—
3 mount—
4 boot—
First error
dsh: initialized profile web at /home/node/.dsh/profiles/web

Four stages run in an isolated sandbox: install (network on) → list → mount → boot (last three with no network).

README

dsh-tool-approval

[English](README.md) | 中文

给任意 Tool Calling 加上前置审批,aka "Manual Mode"/"Ask Mode"。

安装

dsh plugin --profile web add dsh-tool-approval

配置

默认配置

- id: tool-approval
  name: dsh-tool-approval

默认配置下每次 Tool Calling 都会加上前置审批。

自定义配置

- id: tool-approval
  name: dsh-tool-approval
  config:
    include: [fs_*, web_*]
    exclude: [task_output]
    reason: tool execution requires your approval

只有 include 指定了的工具会前置审批,exclude 的工具会放行。支持通配符。

LICENSE

[BSD 3-Clause](LICENSE)

Rendered from the README published on npm. Formatted only, not edited.

Versions

Published on npm::1,最后更新 2026-08-13

Links

GitHub · Homepage · npm

Same category