Skip to content
dsh.fish
Bundle

@dsh-external/dsh-preset-switch

Optional mid-session agent-preset switching: /preset command with a settings toggle, Web popup picker, and status API

Source
aorucshiea
stars
2 stars
License
MIT
Updated
Updated 11 days ago

Readme

# dsh-preset-switch

Switch DeepSeek Harness agent presets in a running session.

## Screenshots

Slash-menu popup picker:

![Preset switch slash menu popup picker](docs/slash-menu.png)

Header dropdown:

![Agent preset dropdown in session header](docs/header-dropdown.png)

## Features

- `/preset <id>` command to switch the agent preset live.
- **Web popup picker**: in the browser slash-menu, picking `/preset` opens a searchable second-level menu; select a preset instead of typing it.
- `/preset <number>` also works as a keyboard fallback (e.g. `/preset 2`).
- `/preset-toggle [on|off]` to enable/disable the feature.
- HTTP endpoint for UI integration.
- Allows deliberate mid-session switching; the official blank-session lock is bypassed and a warning is shown because old tool calls may not match the new preset.

## Install

```bash
dsh plugin --profile web add github:aorucshiea/dsh-preset-switch
```

## Usage

```text
/preset                       show current preset and numbered menu
/preset <id>                  switch preset on a blank session
/preset <number>              same as /preset <id>, picked by menu number
/preset-toggle on|off         enable / disable the command
```

## Notes

- No API keys or credentials are stored in this repository.

## License

MIT

Install

dsh plugin --profile web add github:aorucshiea/dsh-preset-switch

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source