sleep-not-permitted

禁止 Agent 前台等待:sleep / wait / tail -f / watch / ping 等等待型命令、wait_agent 与 job_output(wait) 等阻塞等待工具,用反复 check 代替等待的轮询(同一条命令在窗口内重复出现),以及需要人输入/确认的命令(sudo 不加 -n、ssh 不开 BatchMode、登录流程、交互式编辑器、docker -it)都会被拒绝,并给出改用后台作业或结束本轮等唤醒的可执行指令;等待预算与轮询窗口可配、文案跟随系统语言(中/英)、零运行时依赖。

插件介绍

禁止 Agent 前台等待:sleep / wait / tail -f / watch / ping 等等待型命令、wait_agent 与 job_output(wait) 等阻塞等待工具,用反复 check 代替等待的轮询(同一条命令在窗口内重复出现),以及需要人输入/确认的命令(sudo 不加 -n、ssh 不开 BatchMode、登录流程、交互式编辑器、docker -it)都会被拒绝,并给出改用后台作业或结束本轮等唤醒的可执行指令;等待预算与轮询窗口可配、文案跟随系统语言(中/英)、零运行时依赖。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:JJJACKsong/sleep-not-permitted

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令