wzn16/dsh-fs-allowlist ↗★ 0

dsh-fs-allowlist

实现白名单目录写入免审批,支持可视化设置。 适合需要频繁读写特定目录、免去繁琐提权审批的用户。

套件
dsh-fs-allowlist
相容性
待驗證
版本
0.3.0
授權
MIT
最近更新
2026年9月18日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wzn16/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.