hytime/dsh-thinking-effort
dsh-thinking-effort
Configurable reasoning levels for hand-declared DSH llm-pi-ai models, with bilingual settings and subagent defaults.
Install
npx @deepseek-ai/dsh plugin --profile <profile> add @hytime/dsh-thinking-effortRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-thinking-effort)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from hytime/dsh-thinking-effort, cleaned of badges and images.
dsh-thinking-effort
A DSH (DeepSeek Harness) plugin that adds configurable reasoning effort levels to hand-declared llm-pi-ai models and sets a default reasoning effort for subagents.
- 中文 README
- 日本語 README
- 한국어 README
- Installation guide
- 中文安装指南
- 日本語インストールガイド
- 한국어 설치 안내
- Changelog
- 日本語 changelog
- 한국어 changelog
Compatibility note: Version
0.1.7includes Japanese (ja) and Korean (ko) dictionaries and selector entries, but the current official DSH releases expose onlyzhandenthroughLocaleRuntime. On stock DSH, selectingjaorkofails withlocale "<id>" is not registered. These languages will work after official DSH adds the locale IDs. Advanced users can use a DSH fork that updatespackages/client/locale/src/locale-settings.ts(LOCALE_IDS) andpackages/client/locale/src/client/index.ts(LOCALESlabels), together with the corresponding core dictionaries and tests, then rebuild and run the forked DSH. Changing this plugin alone cannot extend DSH's global locale list.
Why use it?
The llm-pi-ai adapter supports hand-declared third-party models, but those entries often do not declare reasoningEfforts. As a result, Composer does not show a reasoning effort selector, and gateway-specific values such as ultra cannot be mapped to DSH's standard levels.
This plugin provides the configuration layer needed to:
- Add default
off,high, andmaxoptions to models without a declaration; - Configure reasoning levels per model from the DSH settings page;
- Map a DSH level such as
highto a gateway value such asultra; - Set a default reasoning effort for subagents while preserving explicit request values;
- Keep existing user-defined model declarations unchanged.
The plugin is usually unnecessary when you only use built-in DSH models and their reasoning controls already work.
Identifiers
These identifiers have different responsibilities:
| Identifier | Purpose |
|---|---|
@hytime/dsh-thinking-effort | npm package, browser bundle path, loader ID, and host/client runtime ID |
thinking-effort | Cordis composition entry ID and settings Slot ID |
Features
| Feature | Description |
|---|---|
| Default levels | Adds off, high, and max without overwriting custom values |
| Per-model editor | Select levels and configure their gateway values from Settings |
| Gateway mapping | Send ultra when the user selects DSH high |
| Subagent default | Apply a default effort only when a subagent request has no explicit value |
| Multilingual settings | Includes Chinese, English, Japanese, and Korean dictionaries; Japanese/Korean switching requires DSH core locale support |
| Version watermark | Show the installed plugin version in the bottom-right corner |
Install, upgrade, and remove
Use the official DSH CLI to manage the plugin profile. A plain npm install does not register a DSH profile bundle.
# Install the latest version
dsh plugin --profile <profile> add @hytime/dsh-thinking-effort
# Install a specific version
dsh plugin --profile <profile> add @hytime/[email protected]
# Upgrade
dsh plugin --profile <profile> update @hytime/dsh-thinking-effort
…

