dsh-timeout-auto-reject
开发工具 活跃维护

dsh-timeout-auto-reject

jiesou/dsh-timeout-auto-reject

自动拒绝超时未应答的权限请求,同时向模型输出可见超时提示,无需额外配置超时规则,开箱即用,可避免权限请求阻塞正常对话流程。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
16 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:jiesou/dsh-timeout-auto-reject
git clone https://github.com/jiesou/dsh-timeout-auto-reject.git
git clone git@github.com:jiesou/dsh-timeout-auto-reject.git
README.md main

dsh-timeout-auto-reject

Auto-reject unanswered permission requests.

English

timeout reject 截图 2026-08-18 16-37-55 timeout reject 截图 2026-08-18 16-33-19

自动拒绝未应答的权限请求。

任何 permission 请求如果在 180s 内无人应答,插件会自动拒绝,同时向 agent 注入一条模型可见的 SYSTEM 提示,agent 不停止,自动继续运行。

别再被“auto-mode”的安全感骗了,fail-close 才是真安全

安装

从 npm 安装(预构建产物,推荐):

dsh plugin --profile web add @jiesou/dsh-timeout-auto-reject

或从 GitHub 安装:

dsh plugin --profile web add github:jiesou/dsh-timeout-auto-reject

安装之后

无需任何配置。

代码实现非常简单小巧,你可以随意修改 src/index.ts

License

MIT