AuraxM/dsh-plugin-confirm-check ↗★ 0
dsh-confirm-mode
DSH 确认模式插件:提供任务级权限管理,在永久变更前进行一次性申请,随后进行基于信任的方向监控。
AI 分析
核心用途是平衡 Agent 执行效率与系统安全,避免频繁弹窗打扰。适合需要授权 Agent 执行批量操作但又想把控方向的用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Usage
For the agent (model tools)
mission_permission- file the one complete permission application before permanent changes:summary(the paragraph the user approves), optionalpaths(code/config prefixes),capabilities(files-write, commands),duration. The user approves or rejects once.permission_status- read-only view of the current grant and the drift log.
For the user
- Composer toggle
Confirm Mode: on/off(next to Full access / Read Only). Off = monitoring stops, reminders stop, andmission_permissionshort-circuits without asking (the two model tools remain registered). /confirm-mode on|off|toggle|status- the same switch as a command.
Configuration
Constants at the top of lib/index.js:
DRIFT_WARN(5) - drift events before the summary reminder asks for a new application.SUMMARY_EVERY(5) - turns between summary reminders while the mode is on.DOC_EXTS- extensions treated as plan/note writes (never monitored).READ_ONLY_PREFIXES- command prefixes treated as read-only.
Grants are keyed by session and live in memory: they do not survive a process restart. The on/off toggle is process-wide under a host-plane mount, and per-session under a preset mount (each session mounts its own row instance).