Introduction¶
DeepSeek Harness (DSH) native reasoning settings are typically configured globally or for specific models, making it difficult to adjust them flexibly at the session level. When it is necessary to set different reasoning levels for different sessions within the same instance, or when sub-agents are required to automatically inherit a level based on session context, manual configuration is inefficient. The dsh-think-level plugin refines the control of reasoning levels to the session level. It supports switching between six tiers (Off/Low/Medium/High/Max/Ultra) and ensures that sub-agents correctly inherit the level along the ownership chain.
Core Features¶
- Session-Level Independent Configuration: Set the level via the “Thinking ▾” selector in the session input area; different sessions do not interfere with each other.
- Sub-agent Inheritance: Sub-agents traverse the
session.header.parentSessionownership chain to find the nearest configured session level. - Model Capability Convergence: Based on the actual support range of the target model’s
reasoningEfforts, the setting is automatically converged to a level recognizable by the model (e.g., Medium→High, Max→Ultra on a four-tier model). - Interface Simplification: Hides the native DSH “Reasoning Level” entry point to maintain a clean interface.
- Unified Write Path: The UI selector and the
set_thinking_leveltool share the same write channel, taking effect in real-time.
Installation¶
dsh plugin --profile web add github:373831615/dsh-think-level
Usage¶
- UI Selection: Click “Thinking ▾” in the session input area and select the reasoning level for the current session from the dropdown menu.
- Tool Command: Ask the assistant directly, “Set the thinking for this session to Ultra,” triggering the
set_thinking_leveltool. - Set Default Level: Use the
set_thinking_level target=defaultcommand to set the global default level.
Compatibility & Dependencies¶
- DSH Kernel: Requires the 0.2.x series (tested on version 0.2.1-alpha.1). 0.1.x is untested and unsupported; 0.3.x is pending verification.
- Node.js: The installation environment requires >= 20.18.1.
- Dependencies: Relies on
@deepseek-ai/schemastery. - Hot Updates: Modifications to Host.js are subject to module generation cache constraints and require a kernel restart; modifications to Client.js support hot replacement.
Summary¶
By providing session-level reasoning level control, this plugin solves the problem where a single setting is insufficient for complex workflows. It is suitable for developers who need to distinguish reasoning intensity across different sessions within the same Harness instance. For more details, please see the GitHub Repository.