dsh-four-modes: Switching Between Four Agent Modes in an Active DSH Session

DSH's built-in preset selector is only available when creating a new session; once a session has produced output, you can no longer switch modes within the same conversation. dsh-four-modes provides mode chips in the input toolbar, registers a /mode command, and calls recompose() between turns to switch among standard, code (PTC), minimal, and cordis modes without reopening the session. It supports roster parsing for ptc/code aliases, disables mode switching during execution, and remembers the model per mode. Install with: dsh plugin --profile <name> add github:chentao326/dsh-four-modes. Requires DSH >= 0.1.1-rc.2 and Node >= 20. MIT licensed, maintained by chentao326.

Read More