Developer reports fewer DSH prompts with sandbox-tuning plugin
After recording 517 approval prompts in one day while using DSH for AI-assisted coding, a developer created dsh-sandbox-tune to reduce interruptions without globally enabling danger-full-access. The plugin redirects tool caches, offers opt-in user-directory permissions, validates commands under opt-in approval rules, and supports session-level overrides for eligible settings. The developer reports that prompts no longer appeared in several common commands after installation and that daily development was largely uninterrupted. The same account says the project has about 3,700 lines of code, 171 unit tests, 10 integration tests, and support for macOS, Linux, and Windows; no independent testing or adoption data was provided.
The report presents a targeted alternative to granting blanket danger-full-access: it separates cache-path handling, directory permissions, command approval, and session-level configuration while leaving potentially dangerous command approval disabled by default. The claimed reduction in interruptions comes from the developer’s own account rather than an independent comparison.
DSH 插件 / 沙箱
一天被问几十次"允许",我统计了 517 次,然后写了个插件
翻完记录才发现,一半以上的弹窗根本不需要弹
一、从一次 go build 说起
用 DSH 写 Go 代码的人大概都经历过这个循环:
- 让 AI 帮我改代码
- 它跑
go build ./...验证 - 弹窗:需要完全访问权限
- 点允许
- 它跑
go test ./... - 又弹窗
- 点允许
- ……