@mstar-harness/dsh 3.7.1 → 3.7.3

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/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # Blob hashes (git hash-object) of each side as of the last confirmation that
3
3
  # both languages say the same thing (dsh i18n contract: a pair is three
4
4
  # sibling files; editing either side obligates re-confirming and re-recording).
5
- README.md: 189bec515fe5fce73de5afad7e2d1678e0f55ea5
6
- README.zh.md: 05affb493e99da9b45d0b8dd2743ccedaecc0b11
5
+ README.md: fb2ad637cae0077f6552dc675fe05d53e9c52e56
6
+ README.zh.md: 479f8559eef7d262644d05b37b540d3f305f4b3e
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  English | [中文](README.zh.md)
4
4
 
5
- ![dsh](https://img.shields.io/badge/dsh-0.1.2--rc.1-4B32C3.svg)
5
+ ![dsh](https://img.shields.io/badge/dsh-0.1.5--rc.1-4B32C3.svg)
6
6
 
7
7
  [Morning Star](https://github.com/btspoony/mstar-harness) as a first-class dsh (DeepSeek Harness) host — a cordis function plugin that mounts the mstar engine in-process, implements the engine `HostAdapter` (`host: 'dsh'`), guards `{HARNESS_DIR}/status.json` writes (validate + advisory; repair-escape under hard), blocks disallowed subagent dispatches when `Enforcement: hard` is on, lints `SKILL.md` writes under the mounted skill roots, mounts the mstar `skills/` mirror through the dsh skill-filesystem provider (single canonical mount), and appends a durable `mstar-engine-status` catalog row to every composed agent step. Boot with a dsh Loader app; everything acts through the seam's refusal/advisory channels, never by patching the tools.
8
8
 
package/README.zh.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- ![dsh](https://img.shields.io/badge/dsh-0.1.2--rc.1-4B32C3.svg)
5
+ ![dsh](https://img.shields.io/badge/dsh-0.1.5--rc.1-4B32C3.svg)
6
6
 
7
7
  让 [Morning Star](https://github.com/btspoony/mstar-harness) 成为一等公民的 dsh(DeepSeek Harness)宿主——一个 cordis 函数插件,将 mstar engine 进程内挂载,实现 engine `HostAdapter`(`host: 'dsh'`),守护 `{HARNESS_DIR}/status.json` 写入(校验 + 咨询;hard 下按修复逃生放行),在 `Enforcement: hard` 开启时阻止被禁止的 subagent 派发,对挂载技能根下的 `SKILL.md` 写入执行技能撰写 lint,通过 dsh skill-filesystem 提供者挂载 mstar `skills/` 镜像(单一规范挂载),并向每个组合后的 agent 步骤追加一条持久化的 `mstar-engine-status` catalog 行。随 dsh Loader 应用启动;一切均通过 seam 的拒绝/咨询通道行使职责,从不改动工具本身。
8
8
 
@@ -11,7 +11,7 @@ Parallel PM dispatch: read **`parallel-dispatch.md`** when dispatching **N ≥ 2
11
11
  - Plugin markers: **`.omp-plugin/plugin.json`** (Morning Star host marker) and **`.claude-plugin/plugin.json`** (Claude-compatible marketplace discovery). The **npm package** (`@mstar-harness/omp`) ships its own package-root `plugin.json` + `skills/` + `commands/` + `agents/` + `hooks/` + `tools/` mirrors; the **maintainer link path** is now `<repo>/packages/omp` (built) — hooks/tools moved into the package (2026-09-03), so linking the repo root provides skills/commands/agents only, with NO runtime gates.
12
12
  - Runtime skills: package `skills/` (or repo `skills/` on the link path) discovered after `omp plugin install` / `omp plugin link` (OMP extension-package sub-discovery) or Claude marketplace install.
13
13
  - Plugin commands: `commands/<name>.md` → slash **`/<name>`** (e.g. `/iteration-start`). omp uses the **filename** as the command name (no `morning-star-harness:` prefix).
14
- - Plugin agents: **`agents/*.md`** are discovered into the live **`task.agent`** list after install/link + reload. Morning Star **subagent** role ids (`product-manager`, `architect`, `fullstack-dev`, `qc-specialist`, …) are valid `agent` values **when listed** — see C5. `project-manager` is **`mode: primary`** (orchestration seat), not a typical `task` dispatch target.
14
+ - Plugin agents: **`agents/*.md`** are discovered into the live **`task.agent`** list after install/link + reload. Morning Star **subagent** role ids (`product-manager`, `architect`, `fullstack-dev`, `qc-specialist`, …) are valid `agent` values **when listed** — see C5. `project-manager` ships **no agent shell here** — the `mode: primary` seat is OpenCode-only (`packages/opencode/agents/`); PM enters via the `pm` skill and is never a `task` dispatch target.
15
15
  - **No Kimi-style `sessionStart.skill`** — enter PM manually via **`/skill:pm`** (or the `pm` skill), then **Read next** → `mstar-harness-core` → `project-manager.md`.
16
16
  - Install (user-scoped, recommended):
17
17
  - `omp plugin install @mstar-harness/omp`
@@ -101,7 +101,7 @@ Single-task shorthand may exist depending on host version — always match the l
101
101
 
102
102
  ### Notes
103
103
 
104
- - `project-manager` is the **primary** orchestration agent (`agents/project-manager.md` `mode: primary`). Do not dispatch PM-to-PM via `task` unless the live schema explicitly lists it **and** the Assignment requires it.
104
+ - PM is the **primary** orchestration seat via the `pm` skill (no PM agent shell is bundled here — the `mode: primary` shell is OpenCode-only, `packages/opencode/agents/`). Do not dispatch PM-to-PM via `task` unless the live schema explicitly lists it **and** the Assignment requires it.
105
105
  - Host generics (`scout`, `reviewer`, `designer`, …) remain useful for non-role orientation / assist — they do not replace a listed Morning Star role agent for role-owned deliverables.
106
106
 
107
107
  ### Role binding in prompt (C5b — required)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mstar-harness/dsh",
3
- "version": "3.7.1",
3
+ "version": "3.7.3",
4
4
  "description": "Morning Star harness dsh (DeepSeek Harness) cordis function plugin — in-process engine gates (status/dispatch/lease) with hard refusal channels.",
5
5
  "keywords": [
6
6
  "dsh",
@@ -66,31 +66,67 @@
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@deepseek-ai/cordis": "^4.0.2",
69
- "@deepseek-ai/dsh-agent": "^0.1.2-rc.1",
70
- "@deepseek-ai/dsh-api-session-controller": "^0.1.2-rc.1",
71
- "@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
72
- "@deepseek-ai/dsh-client-store": "^0.1.2-rc.1",
73
- "@deepseek-ai/dsh-client-ui-chat": "^0.1.2-rc.1",
74
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-rc.1",
75
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-rc.1",
76
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
77
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-rc.1",
78
- "@deepseek-ai/dsh-commands": "^0.1.2-rc.1",
79
- "@deepseek-ai/dsh-fs": "^0.1.2-rc.1",
80
- "@deepseek-ai/dsh-invariants": "^0.1.2-rc.1",
81
- "@deepseek-ai/dsh-jobs": "^0.1.2-rc.1",
82
- "@deepseek-ai/dsh-llm": "^0.1.2-rc.1",
83
- "@deepseek-ai/dsh-scope": "^0.1.2-rc.1",
84
- "@deepseek-ai/dsh-session": "^0.1.2-rc.1",
85
- "@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
86
- "@deepseek-ai/dsh-skill": "^0.1.2-rc.1",
87
- "@deepseek-ai/dsh-skill-filesystem": "^0.1.2-rc.1",
88
- "@deepseek-ai/dsh-subagent": "^0.1.2-rc.1",
89
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-rc.1",
90
- "@deepseek-ai/dsh-tools": "^0.1.2-rc.1",
91
- "@deepseek-ai/dsh-typert-protocol": "^0.1.2-rc.1",
92
- "@deepseek-ai/dsh-util-time": "^0.1.2-rc.1",
93
- "@deepseek-ai/dsh-util-workspace-path": "^0.1.2-rc.1",
69
+ "@deepseek-ai/dsh-agent": "^0.1.5-rc.1",
70
+ "@deepseek-ai/dsh-agent-default-model": "^0.1.5-rc.1",
71
+ "@deepseek-ai/dsh-agent-presets": "^0.1.5-rc.1",
72
+ "@deepseek-ai/dsh-api-gateway": "^0.1.5-rc.1",
73
+ "@deepseek-ai/dsh-api-remotes": "^0.1.5-rc.1",
74
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.1",
75
+ "@deepseek-ai/dsh-atomic-write": "^0.1.5-rc.1",
76
+ "@deepseek-ai/dsh-attachment": "^0.1.5-rc.1",
77
+ "@deepseek-ai/dsh-brand": "^0.1.5-rc.1",
78
+ "@deepseek-ai/dsh-chunked-list": "^0.1.5-rc.1",
79
+ "@deepseek-ai/dsh-client-connection": "^0.1.5-rc.1",
80
+ "@deepseek-ai/dsh-client-file-upload": "^0.1.5-rc.1",
81
+ "@deepseek-ai/dsh-client-locale": "^0.1.5-rc.1",
82
+ "@deepseek-ai/dsh-client-store": "^0.1.5-rc.1",
83
+ "@deepseek-ai/dsh-client-ui-chat": "^0.1.5-rc.1",
84
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.1",
85
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.1",
86
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.1",
87
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.1",
88
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.5-rc.1",
89
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.1",
90
+ "@deepseek-ai/dsh-code-runtime": "^0.1.5-rc.1",
91
+ "@deepseek-ai/dsh-commands": "^0.1.5-rc.1",
92
+ "@deepseek-ai/dsh-credentials": "^0.1.5-rc.1",
93
+ "@deepseek-ai/dsh-deque": "^0.1.5-rc.1",
94
+ "@deepseek-ai/dsh-file-reference": "^0.1.5-rc.1",
95
+ "@deepseek-ai/dsh-fs": "^0.1.5-rc.1",
96
+ "@deepseek-ai/dsh-home-paths": "^0.1.5-rc.1",
97
+ "@deepseek-ai/dsh-invariants": "^0.1.5-rc.1",
98
+ "@deepseek-ai/dsh-jobs": "^0.1.5-rc.1",
99
+ "@deepseek-ai/dsh-llm": "^0.1.5-rc.1",
100
+ "@deepseek-ai/dsh-llm-retry": "^0.1.5-rc.1",
101
+ "@deepseek-ai/dsh-native-command": "^0.1.5-rc.1",
102
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-rc.1",
103
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-rc.1",
104
+ "@deepseek-ai/dsh-scope": "^0.1.5-rc.1",
105
+ "@deepseek-ai/dsh-session": "^0.1.5-rc.1",
106
+ "@deepseek-ai/dsh-session-persistence": "^0.1.5-rc.1",
107
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-rc.1",
108
+ "@deepseek-ai/dsh-session-projection-cache": "^0.1.5-rc.1",
109
+ "@deepseek-ai/dsh-session-query": "^0.1.5-rc.1",
110
+ "@deepseek-ai/dsh-session-title": "^0.1.5-rc.1",
111
+ "@deepseek-ai/dsh-settings": "^0.1.5-rc.1",
112
+ "@deepseek-ai/dsh-skill": "^0.1.5-rc.1",
113
+ "@deepseek-ai/dsh-skill-filesystem": "^0.1.5-rc.1",
114
+ "@deepseek-ai/dsh-storage": "^0.1.5-rc.1",
115
+ "@deepseek-ai/dsh-storage-domain": "^0.1.5-rc.1",
116
+ "@deepseek-ai/dsh-subagent": "^0.1.5-rc.1",
117
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.1",
118
+ "@deepseek-ai/dsh-timeout": "^0.1.5-rc.1",
119
+ "@deepseek-ai/dsh-tool-subagent": "^0.1.5-rc.1",
120
+ "@deepseek-ai/dsh-tool-todo": "^0.1.5-rc.1",
121
+ "@deepseek-ai/dsh-tools": "^0.1.5-rc.1",
122
+ "@deepseek-ai/dsh-typert-protocol": "^0.1.5-rc.1",
123
+ "@deepseek-ai/dsh-typert-registry": "^0.1.5-rc.1",
124
+ "@deepseek-ai/dsh-user-approval": "^0.1.5-rc.1",
125
+ "@deepseek-ai/dsh-util-crypto": "^0.1.5-rc.1",
126
+ "@deepseek-ai/dsh-util-time": "^0.1.5-rc.1",
127
+ "@deepseek-ai/dsh-util-values": "^0.1.5-rc.1",
128
+ "@deepseek-ai/dsh-util-workspace-path": "^0.1.5-rc.1",
129
+ "@deepseek-ai/dsh-workspace": "^0.1.5-rc.1",
94
130
  "@deepseek-ai/schemastery": "^3.18.1"
95
131
  },
96
132
  "publishConfig": {
@@ -98,15 +134,36 @@
98
134
  },
99
135
  "devDependencies": {
100
136
  "@mstar-harness/engine": "workspace:*",
137
+ "@shikijs/langs": "^4.3.1",
138
+ "@types/mdast": "^4.0.4",
101
139
  "@types/node": "^25.6.0",
102
140
  "@types/react": "~18.3.1",
103
- "js-yaml": "^4.1.0",
141
+ "anser": "^2.3.5",
104
142
  "bun-types": "^1.2.17",
143
+ "clsx": "^2.0.0",
105
144
  "dsh-llm-fallbacks": "0.4.1",
145
+ "immer": "^10.1.1",
146
+ "js-yaml": "^4.1.0",
147
+ "katex": "^0.16.47",
148
+ "mdast-util-from-markdown": "^2.0.3",
149
+ "mdast-util-gfm": "^3.1.0",
150
+ "mdast-util-math": "^3.0.0",
151
+ "micromark-core-commonmark": "^2.0.3",
152
+ "micromark-extension-gfm": "^3.0.0",
153
+ "micromark-extension-math": "^3.1.0",
154
+ "micromark-factory-space": "^2.0.1",
155
+ "micromark-util-character": "^2.1.1",
156
+ "micromark-util-classify-character": "^2.0.1",
157
+ "micromark-util-sanitize-uri": "^2.0.1",
158
+ "micromark-util-symbol": "^2.0.1",
159
+ "micromark-util-types": "^2.0.2",
160
+ "react": "^18.3.1",
161
+ "react-dom": "^18.3.1",
106
162
  "schemastery": "^3.18.0",
163
+ "shiki": "^4.3.1",
107
164
  "typescript": "^5.9.3",
165
+ "use-sync-external-store": "1.2.0",
108
166
  "vitest": "^4.1.8",
109
- "react": "^18.3.1",
110
- "react-dom": "^18.3.1"
167
+ "zustand": "~4.4.7"
111
168
  }
112
169
  }
@@ -1,30 +0,0 @@
1
- ---
2
- name: project-manager
3
- description: "Project Manager - coordinate the team, track progress, and orchestrate execution across roles."
4
- mode: primary
5
- tools:
6
- write: true
7
- edit: true
8
- bash: true
9
- permission:
10
- task:
11
- "*": allow
12
- ---
13
-
14
- ## Morning Star Role Binding
15
-
16
- You are `project-manager`. The complete role prompt is provided by the `mstar-roles` skill.
17
-
18
- - Skill: `mstar-roles` skill
19
- - Role reference: `references/project-manager.md` in the `mstar-roles` skill
20
- - Role parameters: `role_id=project-manager`, `mode=primary`
21
-
22
- ## Mandatory First Steps
23
-
24
- This file is a routing shell — NOT your complete role prompt. **Before any work, load in order:**
25
-
26
- 1. `skill` → `mstar-harness-core` (state machine, gates, routing — global SSOT)
27
- 2. `skill` → `mstar-roles` (role mapping & parameter table)
28
- 3. `Read` → `references/project-manager.md` listed above
29
-
30
- System reminders like "ALREADY LOADED" refer to prior sessions — you MUST load these for THIS session.