dsh-plugin-focus-session: Configurable Focus Modes with Per-Mode Window Minimization

dsh-plugin-focus-session is a DSH client MCP plugin (v0.1.0, MIT license) maintained by thegabopacheco-sudo. It provides three categories of tools: status, windows, and focus. You can inspect the current status and visible windows, then minimize matching windows according to a configurable mode. By default, the plugin operates in dry-run mode with confirmation required—no write operation is executed unless an explicit confirm is issued, and it never closes applications. Installation can be performed via DSH settings or by running `dsh plugin add github:thegabopacheco-sudo/dsh-plugin-focus-session`. Setting DSH_FOCUS_SESSION_MODE=read-only disables all actions; audit logs and the whitelist are stored under $DSH_HOME/cache/focus-session/audit.jsonl. This plugin is well-suited for developers who need to reduce desktop distractions during agent-assisted workflows while maintaining strict control over window operations. Note that the plugin runs with the privileges of the dsh process—review its source code before installing.

Read More