klarkxy's DSH plugins

Subagents

@klarkxy/dsh-model-hub
Plugin Models and the web includes a Web UI

Configure subagent models and reasoning effort, review their last-used models, and enable Delegation Mode per session.

Install

 dsh plugin --profile web add @klarkxy/dsh-model-hub

This plugin depends on Delegation Mode、Model Route、Plugin Kit; they are installed with it automatically.

Replace web with your profile name. Restart the profile after installing; the plugin then shows up under Settings → Plugins.

About

Downloads

Daily npm downloads trend

Usage

  • Configure subagent models: Open Settings → Subagents to add, replace, or remove allowed models, choose a reasoning effort for each route, and enter optional task tendencies (saved on blur). Add at least one model before turning on Enable subagent model selection; these settings guide delegation while the agent makes the final choice. When subagent model selection is enabled with at least one model and the chosen model uses high reasoning effort or is slow, the guidance asks the main agent to split work into fewer parallel tracks.
  • Optional picker upgrade: When the optional Model Picker (@klarkxy/dsh-model-picker) plugin is installed, model menus here upgrade to the shared searchable picker with a reasoning-effort slider; without it, the built-in menus keep working as-is.
  • Inspect last-used models: In a conversation, open the subagent count or breadcrumb switcher to view each child's last-used model and reasoning effort in read-only mode.
  • Delegation Mode: Select Delegate when creating a session so the main agent decomposes and reviews work while subagents execute it. The prompts require a self-contained task brief (goal, boundaries, contracts, dependencies, acceptance checks, and report format) and evidence-based executor reports; the host still controls tools and approvals. Installing this plugin also enables Delegation Mode; @klarkxy/dsh-delegation remains available as a standalone compatibility entry.

Limitations

  • List changes apply only to new conversations; existing conversations keep their saved lists. Effort preferences apply to new subagents and do not alter running ones.
  • Explicit model selection requires host delegation tools that support specifying a subagent model; omitting a model still inherits the parent model.
  • Model and effort options come from the host catalog; if loading fails, click Retry, while other available providers remain usable.
  • Delegation Mode requires a preset with subagent tools, locks after a session starts, and provides prompt guidance only; it does not change tools, approvals, or permissions.
  • The popup relies on the host's private tree and style contracts and shows routes only for subagents that have sent a model request (external subagents and children with no model request yet have no route to show).
  • Settings changed elsewhere sync automatically; if a conflicting edit occurs, refresh and review before saving again.

License

SATA License 2.1

The parallelism guidance for slow or high-effort subagent routes follows google-gemini/demolab (Apache-2.0); see NOTICE.md.