sailoflight/dsh-bash-escalation

sailoflight★ 0JavaScript最后同步: 2026-08-21

在 GitHub 打开

README 摘要

dsh-bash-escalation Local DSH plugins that stop models from sending redundant / non-widening sandbox permissions on the bash tool, which previously hard-failed with: Two plugins, both installed per DSH profile ( web , dsh-tui , headless ): Plugin Referenced as (relative) Type What it does bash-escalation ./plugins/bash-escalation/index.js prompt Adds a system-prompt section: only set sandbox permissions when the requested mode is STRICTLY WIDER than the session's current mode; equal/narrower → omit it. bash-redundant-escalation-noop ./plugins/bash-redundant-escalation-noop/index.js mechanism Wraps the execute of every escalation-capable tool (bash, the fs write / edit tools, pwsh — anything whose parameter schema declares sandbox permissions ) in place, at resolution time , so global and per-agent (preset-mounted) definitions are covered no matter when they appear — and strips sandbox permissions / justification ONLY when requested ≤ current (never a real escalation). Genuine escalation passes through untouched. Bash variants without escalation support (PTY-backed persistent/terminal bash from custom agent presets) fail loud with the stock message instead of silently ignoring a gen…

在 GitHub 查看完整 README →
终端/TUIdsh-plugintui

分类