@bo_wu/dsh-reasoning
Manifest valid★ 1Codex-style /reasoning command for DeepSeek Harness Web: select the reasoning effort of the current model from the slash menu
dsh-reasoning
Codex-style /reasoning command for DeepSeek Harness Web.
Type /reasoning in the composer, press Enter, and pick a reasoning effort
(Off / Low / High / Max, whatever the current model's adapter
advertises) from the popup — fully keyboard-driven, no mouse required.
Why
The built-in model picker exposes reasoning effort through a two-level menu
in the composer seat. This plugin surfaces the exact same data as a slash
command, so switching effort is three keystrokes instead of a click path:
/reasoning → Enter → ↑↓ (or type to filter) → Enter.
It is a thin client-only plugin:
- no host configuration, no persistence, no settings page;
- registers one
popupSelectcommand contribution through the officialctx.commandUiextension point (the same one/modeluses); - submits picks through the shared per-session model directory
(
ctx.modelDirectories→session.selectModel), i.e. the identical RPC the composer effort pane uses; - never touches the draft, the IME composition, or an in-flight request — a pick applies to the next model request only.
Requirements
- DeepSeek Harness Web host exposing the
model-directoryservice and thecommandUiextension point (both ship with the official Web bundle); - an open ordinary session with a model selected (the model's adapter must advertise reasoning metadata — the popup lists them; without a selected model the popup stays empty and the pick reports the host error).
Install
Add the package to a Web profile dsh.profile.bundles, e.g.:
dsh plugin --profile <profile> add @bo_wu/dsh-reasoning
or reference it from your own cordis.patch.yml:
- insert:
- id: dsh-reasoning
name: '@bo_wu/dsh-reasoning'
Then restart the profile's Web host.
Behavior contract
- The command is hidden for addressed subagent sessions (same rule as
/model). - A pick re-selects the current model with the chosen effort; the popup
lists only the current model's advertised effort levels, plus a
Defaultrow when the adapter has no explicit default. - Selecting the already-active effort closes the popup without a request.
- Rejected selections keep the previous effort and surface the host error in the popup.
- No global keyboard shortcuts — nothing to conflict with other plugins.
Publish (maintainer)
- CI (
pnpm check: typecheck + tests + build) runs on every push/PR. - Tagging
v*publishes the package to npm (public) via GitHub Actions. - Publishing needs the repo secret
NPM_TOKEN: an npm automation token (npmjs.com → Access Tokens → Generate New Token → Automation) for an account owning the@bo_wuscope.
Development
pnpm install
pnpm build # tsc -b && tsdown → lib/
pnpm test # vitest
pnpm check # typecheck + test + build
The browser bundle is produced by tsdown into lib/client.js wrapped in
the DSH lazy module loader.
License
MIT
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 18.3k
CC0-1.0
Python
Oct 10, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.2k
CC0-1.0
Python
Oct 10, 2026
by pax-beehive
Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub
★ 450
MIT
TypeScript
Oct 6, 2026
by xiajiajun516
DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.
★ 176
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile web add dsh-config-managerby yjh051108
推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。
★ 164
TypeScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby jigjoy-ai
A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.
★ 124
MIT
TypeScript
Oct 2, 2026