NattoCB/dsh-safe-delete ↗★ 0

dsh-safe-delete

拦截删除命令并移至macOS废纸篓 适合担心智能体误删本地文件,需要安全防护的macOS用户。

套件
dsh-safe-delete
相容性
待驗證
版本
0.2.0
授權
MIT
最近更新
2026年9月3日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:NattoCB/dsh-safe-delete

Configuration

SurfaceHow
Web GUISettings → General → Safe Delete — the switch takes effect on the next bash call, no reload
HTTPGET /safe-delete/config → { "enabled": bool }; POST /safe-delete/config with { "enabled": bool }
File$DSH_HOME/storages/safe-delete.json — { "enabled": bool }

Default: enabled. A missing or corrupt state file also resolves to enabled — installing the plugin expresses the intent to have the guard, and a corrupt file never silently downgrades protection.