wangzhaonan16/dsh-fs-allowlist0

dsh-fs-allowlist

白名单目录写入免审批插件:包装写入/编辑接口,对白名单目录内的写入及 Bash 提权操作实行自动放行,提供可视化设置页。

AI 分析

核心用途是免除特定安全目录下的频繁审批。适合有固定工作目录(如 Obsidian 库),希望 Agent 在其中自由读写而无需反复手动确认的用户。

包名
dsh-fs-allowlist
版本
0.2.1
许可证
MIT
最近更新
2026年9月2日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangzhaonan16/dsh-fs-allowlist

Configuration

$DSH_HOME/fs-allowlist.json (default: ~/Library/Application Support/dsh-desktop/harness/fs-allowlist.json on macOS; the resolver also understands $DSH_HOME, Windows %APPDATA%, Linux XDG paths, and the open-source ~/.dsh layout):

{
  "extraWritableRoots": [
    "/Users/you/ObsidianVault"
  ],
  "bashAutoApprove": true
}
  • Prefer the Settings → Plugins → Directory Allowlist page — no hand editing;
  • Missing file / invalid JSON / empty list → empty allowlist, the plugin is fully transparent (= uninstalled behavior): one-step rollback;
  • bashAutoApprove defaults to true when absent.