# thinking-level-selector A compact **thinking / reasoning level** picker for the DeepSeek Harness (DSH) Web UI composer. ## Features - Adds a selector to the composer activity bar (slot `conversation.input.activity`) listing the reasoning efforts the current model advertises (e.g. off / low / medium / high / xhigh). - Uses the same model-selection data the model seat renders from, so it always matches the active provider/model. - Friendlier labels (`xhigh` is shown as **Extra**); English and Chinese strings built in. ## How it works | File | Role | | --- | --- | | `client.js` | Web client module (`@local/thinking-level-selector`). | | `index.js` | Empty Host half. | | `cordis.patch.yml` | Bundle patch inserting the plugin row. | ## Installation Requirements: a working DeepSeek Harness (`dsh`) install with the **web** profile (or any profile that includes the Web UI). ### Option A — install from git (recommended) ```bash dsh plugin --profile web add git+https://git.rizzy.dev/DSH-Plugins/thinking-level-selector.git ``` You can also paste `git+https://git.rizzy.dev/DSH-Plugins/thinking-level-selector.git` into **Settings → Plugins → Install** in the Web UI, or ask the agent to install it with its `plugin_manager` tool (`install_bundle`). The plugin manager adds `@local/thinking-level-selector` to `dependencies` and to `dsh.profile.bundles` in `~/.dsh/profiles/web/package.json`. ### Option B — local checkout (for development) ```bash git clone https://git.rizzy.dev/DSH-Plugins/thinking-level-selector.git ~/dsh-plugins/thinking-level-selector dsh plugin --profile web add link:$HOME/dsh-plugins/thinking-level-selector ``` With a `link:` install, edits in the checkout are picked up directly (client changes reload on page refresh, Host changes after a DSH restart or HMR reload). ### Enable / verify 1. Make sure `@local/thinking-level-selector` is listed in `dsh.profile.bundles` of `~/.dsh/profiles/web/package.json` (the installer does this; add it by hand if you edited `package.json` manually). 2. Restart DSH (`dsh web`) or reload the page. 3. Check **Settings → Plugins**: the `@local/thinking-level-selector` bundle should be enabled. ### Uninstall ```bash dsh plugin --profile web remove @local/thinking-level-selector ``` ### Updating Re-run the `add` command from Option A (or `git pull` in your Option B checkout). ## Configuration None. Pick a model that supports reasoning efforts and the selector appears next to the composer input.