@mstar-harness/opencode 1.8.1 → 1.8.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/harness-skills/mstar-host/SKILL.md +9 -8
- package/harness-skills/mstar-host/references/codex.md +1 -1
- package/harness-skills/mstar-host/references/kimi.md +1 -1
- package/harness-skills/mstar-host/references/omp.md +15 -1
- package/harness-skills/mstar-host/references/zcode.md +1 -1
- package/package.json +1 -1
|
@@ -23,19 +23,20 @@ Load topic skills **on demand** per `mstar-roles` (do not read every `mstar-*` s
|
|
|
23
23
|
|
|
24
24
|
## Detect active host
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Detect from **session tool shapes and available commands** — not from plugin markers on disk. The `*-plugin/plugin.json` files **cannot** identify the host: they all coexist in this harness source repo and in any multi-host install.
|
|
27
27
|
|
|
28
28
|
| Signal | Host | Next read |
|
|
29
29
|
|--------|------|-----------|
|
|
30
|
-
|
|
|
31
|
-
| **`question`** tool or
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
| **`Agent`** / **`
|
|
35
|
-
|
|
|
36
|
-
| **`task`** tool with **`agent`** / **`tasks[]`** batch, **`ask`**, **`hub`**, omp plugin (`.omp-plugin/plugin.json` / `.claude-plugin/plugin.json`), `/skill:pm` + `/iteration-*` filename commands | `omp` | `references/omp.md`; Plan mode also `references/omp-plan-mode-bridge.md` |
|
|
30
|
+
| **`subagent_type`** param on the Task tool (plus **CreatePlan**/**SwitchMode** when Plan mode is active) | `cursor` | `references/cursor.md`; Plan mode also `references/cursor-plan-mode-bridge.md` |
|
|
31
|
+
| **`question`** tool, or **`task`** tool with **`subagent`** (singular) — no `tasks[]` batch | `opencode` | `references/opencode.md` |
|
|
32
|
+
| **`task`** tool with **`agent`** / **`tasks[]`** batch, **`ask`**, **`hub`** | `omp` | `references/omp.md`; Plan mode also `references/omp-plan-mode-bridge.md` |
|
|
33
|
+
| **`Agent`** / **`AskUserQuestion`** / **`EnterPlanMode`** + **`AgentSwarm`** (Kimi-only) | `kimi` | `references/kimi.md`; Plan mode also `references/kimi-plan-mode-bridge.md` |
|
|
34
|
+
| **`Agent`** / **`AskUserQuestion`** / **`EnterPlanMode`** / **`TodoWrite`**, **no `AgentSwarm`** | `zcode` | `references/zcode.md`; Plan mode also `references/zcode-plan-mode-bridge.md` |
|
|
35
|
+
| `/plan`, `/goal` slash commands; **Goal tools**; `functions.*` / `codex_app.*` tool namespaces; `tool_search`; Browser plugin tools | `codex` | `references/codex.md`; Plan/Goal mode also `references/codex-plan-goal-mode-bridge.md` |
|
|
37
36
|
| Still ambiguous | - | Read sections in **`cursor.md`**, **`opencode.md`**, **`codex.md`**, **`kimi.md`**, **`zcode.md`**, and **`omp.md`** that match tools you have; **`mstar-harness-core` wins** on conflict |
|
|
38
37
|
|
|
38
|
+
Order matters: check `cursor` → `opencode` → `omp` → `kimi` → `zcode` → `codex`. `subagent_type` (Cursor) vs `subagent` (OpenCode) vs `agent`/`tasks[]` (omp) is the sharpest split among the Task-based hosts.
|
|
39
|
+
|
|
39
40
|
## Parallel dispatch (invoke-capable hosts)
|
|
40
41
|
|
|
41
42
|
When PM dispatches **N >= 2** concurrent assignees (QC tri-review, dual-track implement, etc.) and the host exposes actual invoke / Task / subagent tools, read **`references/parallel-dispatch.md`** in the dispatch round (shared with `mstar-dispatch-gates`). Without a callable invoke tool when dispatch is required → **`Blocked`**; Assignment Markdown alone is not dispatch.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Codex host reference
|
|
2
2
|
|
|
3
|
-
Load when **`mstar-host`** detection resolves **codex** (Codex app/CLI session,
|
|
3
|
+
Load when **`mstar-host`** detection resolves **codex** (Codex app/CLI session, `/plan` / `/goal` slash commands, Goal tools, or Codex tool namespaces such as `functions.*`, `codex_app.*`, `tool_search`, `image_gen`, or Browser plugin tools).
|
|
4
4
|
|
|
5
5
|
Plan / Goal Mode: read **`codex-plan-goal-mode-bridge.md`** when Codex Plan Mode (`/plan`) or Goal Mode (`/goal`, goal tools, or goal progress controls) is active. Codex session plans, UI todos, and goal text are not durable harness SSOT.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kimi host reference
|
|
2
2
|
|
|
3
|
-
Load when **`mstar-host`** detection resolves **kimi** (Kimi Code CLI session,
|
|
3
|
+
Load when **`mstar-host`** detection resolves **kimi** (Kimi Code CLI session, `Agent` / `AgentSwarm` / `AskUserQuestion` / `EnterPlanMode` tools, or `/morning-star-harness:*` plugin commands).
|
|
4
4
|
|
|
5
5
|
Plan mode: read **`kimi-plan-mode-bridge.md`** when `EnterPlanMode` / `ExitPlanMode`, `/plan`, or `kimi --plan` is active.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# omp host reference
|
|
2
2
|
|
|
3
|
-
Load when **`mstar-host`** detection resolves **omp** (Oh My Pi / `omp` session,
|
|
3
|
+
Load when **`mstar-host`** detection resolves **omp** (Oh My Pi / `omp` session, **`task`** tool with **`agent`** / **`tasks[]`** batch shape, **`ask`** tool, **`hub`** tool, or `/skill:pm` / `/iteration-*` from this plugin).
|
|
4
4
|
|
|
5
5
|
Plan mode: read **`omp-plan-mode-bridge.md`** when `/plan`, plan-yolo, or plan-model / read-only-with-resolve plan UX is active.
|
|
6
6
|
|
|
@@ -30,6 +30,20 @@ Parallel PM dispatch: read **`parallel-dispatch.md`** when dispatching **N ≥ 2
|
|
|
30
30
|
|
|
31
31
|
Use skill names in prompts and references. Prefer `skill://<name>/…` / `/skill:<name>` over absolute local paths unless maintaining this repository.
|
|
32
32
|
|
|
33
|
+
## Internal URLs
|
|
34
|
+
|
|
35
|
+
omp resolves **internal URL schemes** natively (see <https://omp.sh/#urls>), so skills and shared content stay addressable wherever omp installs the plugin — prefer URLs over absolute local paths:
|
|
36
|
+
|
|
37
|
+
| Scheme | Use |
|
|
38
|
+
|--------|-----|
|
|
39
|
+
| `skill://<name>` | Load a skill's `SKILL.md` — e.g. `skill://mstar-harness-core`, `skill://mstar-host` |
|
|
40
|
+
| `skill://<name>/<path>` | Read a file inside a skill — e.g. `skill://mstar-host/references/omp.md` |
|
|
41
|
+
| `local://<name>.md` | Share context / assignments with subagents — prefer over pasting large payloads inline |
|
|
42
|
+
| `artifact://<id>` / `agent://<id>` | Read a subagent's output artifact / a nested child's output |
|
|
43
|
+
| `history://<id>` | Read-only transcript of a (sub)agent session |
|
|
44
|
+
|
|
45
|
+
`/skill:<name>` (slash command to **invoke**) and `skill://<name>` (URL the model can **`Read`**) resolve to the same skill. Put URLs in `task` assignment bodies and skill **Read next** lists so a role subagent loads the right skill regardless of install path — this is what makes cross-host skill references portable on omp.
|
|
46
|
+
|
|
33
47
|
## Tools map (default agent)
|
|
34
48
|
|
|
35
49
|
| omp tool | Harness use |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ZCode host reference
|
|
2
2
|
|
|
3
|
-
Load when **`mstar-host`** detection resolves **zcode** (ZCode client session,
|
|
3
|
+
Load when **`mstar-host`** detection resolves **zcode** (ZCode client session, `Agent` / `AskUserQuestion` / `EnterPlanMode` / `TodoWrite` tools, or `/morning-star-harness:*` plugin commands).
|
|
4
4
|
|
|
5
5
|
Plan mode: read **`zcode-plan-mode-bridge.md`** when `EnterPlanMode` / `ExitPlanMode` is active.
|
|
6
6
|
|