@darkbear9494/dsh-model-manager 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@darkbear9494/dsh-model-manager",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
- "description": "Role-based model manager for DeepSeek Harness: assign models to planning, execution, vision and main roles, route subagent work by role, escalate sessions that invoke a planning skill (grilling / grill-me) to the planning role, run /readimage messages with images on the vision role for one turn, run /quicktask messages on the execution role for one turn, report which model every subagent used, prompt the top-level agent to delegate, ship a /autoplan skill that plans on the planning tier then implements on main without stopping for approval, and switch models through agent.model.select() on DSH 0.2.x, and check npm for updates.",
5
+ "description": "Role-based model manager for DeepSeek Harness: assign models to planning, execution, vision and main roles, route subagent work by role, pin a role to a model for the whole session with a message-authored @model directive, escalate sessions that invoke a planning skill (grilling / grill-me) to the planning role, run /readimage messages with images on the vision role for one turn, run /quicktask messages on the execution role for one turn, report which model every subagent used, prompt the top-level agent to delegate, ship a /autoplan skill that plans on the planning tier then implements on main without stopping for approval, and switch models through agent.model.select() on DSH 0.2.x, and check npm for updates.",
6
6
  "license": "MIT",
7
7
  "keywords": [
8
8
  "dsh",
@@ -13,6 +13,7 @@
13
13
  "deepseek-harness",
14
14
  "cordis",
15
15
  "model-routing",
16
+ "model-directives",
16
17
  "subagent",
17
18
  "auto-delegation",
18
19
  "update-check"
@@ -37,7 +38,7 @@
37
38
  },
38
39
  "meta": {
39
40
  "title": "Model manager",
40
- "description": "Assign models to planning, execution, vision and main roles, see which model each subagent used, auto-delegate, run /autoplan (plan on the planning tier, then implement on main without an approval gate), read images with /readimage (one turn on the vision tier), run simple tasks with /quicktask (one turn on the execution tier), and get update notices."
41
+ "description": "Assign models to planning, execution, vision and main roles, pin a role with an @model message, see which model each subagent used, auto-delegate, run /autoplan (plan on the planning tier, then implement on main without an approval gate), read images with /readimage (one turn on the vision tier), run simple tasks with /quicktask (one turn on the execution tier), and get update notices."
41
42
  },
42
43
  "exports": {
43
44
  ".": "./lib/index.js",
@@ -11,8 +11,8 @@ Gather the facts you need first — files, commands, docs. Never ask the user fo
11
11
 
12
12
  Dispatch the plan design as one delegation:
13
13
 
14
- - Call `subagent_fork` with the description `plan: design the implementation plan for <short task name>`. The `plan:` prefix routes this unit to the planning tier's more capable model, and the fork inherits this conversation, so the planner already has the full context.
15
- - Ask it for a decision-complete plan: the goal and success criteria, the changes grouped by file or subsystem, schema/API/data-flow impact, edge cases and failure modes, the tests to add or run, and explicit assumptions where the request was ambiguous.
14
+ - Call `subagent_fork` with the description `plan: design the implementation plan for <short task name>`. The `plan:` prefix routes this unit to the planning tier's more capable model, and the fork inherits this conversation, so the planner already has the full context. Keep it to this one delegation: a fork re-reads the entire conversation on every one of its steps, so it is the right tool for the plan and the wrong one for the implementation units that follow.
15
+ - Ask it for a decision-complete plan: the goal and success criteria, the changes grouped by file or subsystem, schema/API/data-flow impact, edge cases and failure modes, the tests to add or run, and explicit assumptions where the request was ambiguous. Have it return the changes as a **dispatch-ready unit list**: for each unit, a one-line goal, the exact files it may touch, the files it must NOT touch (its parallel siblings), a self-contained brief an execution-tier subagent can run without this conversation, and an explicit mark of which units are independent and can be dispatched together.
16
16
  - If `subagent_fork` is not available to you, use `subagent` with the same `plan:` description and a self-contained prompt carrying every fact the planner needs.
17
17
  - If you are already running as a delegated subagent, do not delegate again: write the plan yourself in a few lines and move on.
18
18
 
@@ -25,7 +25,8 @@ If the delegation fails or comes back empty, retry once. If it still fails, writ
25
25
  Start implementing the moment the plan comes back.
26
26
 
27
27
  - Do not ask for confirmation or permission, and do not ask the user to choose between options you can decide yourself. Make the sensible choice, record the assumption, and carry on. The user can correct course on the result.
28
- - Implement it yourself, or dispatch independent parts as plain (execution-tier) units per the active delegation policy. Label only image, screenshot, or OCR work with `vision:`.
28
+ - Dispatch the plan's independent units as plain (execution-tier) `subagent` delegations, all of them together in a single message — that is why the plan returns a unit list. Keep for yourself the integration, the cross-unit consistency checks, and the final verification. Implement a unit yourself only when the plan returned a single trivial unit, or one that needs this session's interactive tools. Label only image, screenshot, or OCR work with `vision:`.
29
+ - Each unit's brief is self-contained by construction — do not assume the child saw this conversation. When two units must touch the same files, run them sequentially in the order the plan gives rather than dispatching them together.
29
30
  - Follow the plan as written. Where reality forces a deviation, deviate minimally and note it.
30
31
  - Keep the harness's normal safety surface: approval prompts for risky operations, sandbox limits, and destructive-operation confirmations are not part of what this skill skips. Only plan review is.
31
32