返回探索

使用Jev (TypeSafe)构建代理无关权限门

作者分享了他构建的一个代理无关的权限门,使用Jev (TypeSafe)和hooks。在YOLO模式下,chmod -R等危险命令会被阻止,代理会请求用户确认,每次执行都需要重新授权。

Been building an agent-agnostic permission gate: Jev (TypeSafe) + hooks. Many harnesses copy Claude Code's hook format. Some barely have hooks at all. This makes me happy: agy in YOLO mode. chmod -R gets blocked, the agent asks me, I say yes, it runs once. Again? Blocked again.

使用Jev (TypeSafe)构建代理无关权限门 1
· 1 次赞在 X 打开