rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:WangZW928/dsh-model-router-lite
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Task-based model preferences for native DSH subagents.
After setup, the parent agent is guided to choose an authorized model for each fresh subagent task. No extra routing-model call, scheduler, or dashboard.
| Without this plugin's policy | With model permission and preferences configured |
|---|---|
| A subagent normally inherits the parent/default model when no route is specified. DSH already supports explicit model selection. | Routine tasks, complex work, and independent reviews receive your chosen model preferences. |
| You give model-selection instructions yourself. | The parent gets a short, reusable policy and checks the native allowed-model catalog before explicitly routing. |
| The main conversation keeps its selected model. | Still unchanged. Only fresh subagent calls are covered. |
Task → parent agent classifies it
├─ routine → your routine model preference
├─ complex → your complex model preference
└─ review → your review model preference
High risk / uncertainty → complex takes priority
Missing default preference → inherit parent model
This is advisory prompt guidance, not enforced routing. It does not benchmark models or guarantee lower cost, greater speed, or better answers. Explicit user choices take priority when authorized; an unavailable explicit choice must be reported, not silently replaced.
Requires DSH 0.2.1-rc.5 or compatible 0.2.x stable releases. Use your active profile's plugin manager to install the public npm package:
dsh-model-router-lite@0.1.0
For a CLI-managed installation:
dsh plugin --profile YOUR_PROFILE add dsh-model-router-lite@0.1.0
Alternatively, install the prebuilt GitHub release archive. Replace YOUR_PROFILE with the actual profile. Desktop users should install through the app, not assume their profile is web. No build or install scripts are shipped.
Public npm/GitHub availability is separate from catalog acceptance and index synchronization. Track the market submission for its current review status.
Installing alone does not select different models. Public defaults contain no model IDs and grant no permissions.
routes in its native plugin configuration. Use exact provider and model IDs from DSH, not display names. Each category accepts at most one preference; omitted categories inherit the parent model.Example plugin config — replace these placeholders with authorized IDs:
enabled: true
routes:
- task: routine
provider: YOUR_PROVIDER_ID
model: YOUR_ROUTINE_MODEL_ID
- task: complex
provider: YOUR_PROVIDER_ID
model: YOUR_COMPLEX_MODEL_ID
- task: review
provider: YOUR_PROVIDER_ID
model: YOUR_REVIEW_MODEL_ID
routine: bounded lookup, extraction, summaries, mechanical edits.complex: implementation, architecture, hard debugging, uncertain or high-risk work.review: independent review of ordinary-risk work; high-risk review belongs to complex.Ask normally: “Split the independent research and implementation work into subagents where useful. Briefly explain each model choice.” The agent need not delegate when it can finish the task directly.
list_subagent_models lazily and native subagent parameters; it creates no tools, background jobs, telemetry, or network calls of its own.Policy/schema/resource tests cover scope gating, exact IDs, duplicate rules, fallback instructions, safe defaults, and package contents. The original local implementation activated on DSH 0.2.1-rc.5; unit tests do not establish live provider connectivity, comparative quality, or real cross-model execution. Rendered GUI metadata and a full live cross-provider run remain unverified.
pnpm install --ignore-scripts
pnpm check
pnpm test
pnpm pack
MIT licensed. The branching-route icon is original artwork. Dependency: the DSH Schemastery peer; no compiled assets or lifecycle scripts are required.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。