dsh-tool-approval
其他 活跃维护

dsh-tool-approval

ilharp/dsh-tool-approval

提供请求前置人工审批能力,用户可在执行AI交互操作前核验内容,规避非预期执行风险,操作流程简洁无冗余,无需复杂配置即可接入使用。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
BSD-3-Clause
开源协议
59 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ilharp/dsh-tool-approval
git clone https://github.com/ilharp/dsh-tool-approval.git
git clone git@github.com:ilharp/dsh-tool-approval.git
README.md master

dsh-tool-approval

English | 中文

Add pre-approval to any Tool Calling, aka "Manual Mode"/"Ask Mode".

Install

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

Config

Default config

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

With the default config, every Tool Calling goes through pre-approval.

Custom config

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

Only tools specified in include get pre-approval; tools in exclude pass through. Wildcards are supported.

LICENSE

BSD 3-Clause