oh-my-opencode 4.12.0 → 4.12.1
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/dist/cli/index.js +36 -17
- package/dist/cli-node/index.js +36 -17
- package/dist/index.js +361 -254
- package/dist/skills/ultraresearch/SKILL.md +11 -2
- package/dist/tools/background-task/constants.d.ts +1 -1
- package/dist/tui.js +9 -3
- package/package.json +13 -13
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +3 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +327 -171
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +275 -31
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/src/cli.ts +11 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +12 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +34 -0
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +40 -3
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +6 -5
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +49 -87
- package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +48 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +1 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +142 -0
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/dist/cli.js +94 -0
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +17 -0
- package/packages/omo-codex/plugin/components/teammode/package.json +26 -0
- package/packages/omo-codex/plugin/components/teammode/src/cli.ts +12 -0
- package/packages/omo-codex/plugin/components/teammode/src/codex-hook.ts +125 -0
- package/packages/omo-codex/plugin/components/teammode/test/thread-title-hook.test.ts +116 -0
- package/packages/omo-codex/plugin/components/teammode/tsconfig.json +25 -0
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +17 -0
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +17 -0
- package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +30 -12
- package/packages/omo-codex/plugin/package.json +2 -1
- package/packages/omo-codex/plugin/scripts/hook-status-message.mjs +1 -0
- package/packages/omo-codex/plugin/skills/ultraresearch/SKILL.md +11 -2
- package/packages/omo-codex/plugin/test/aggregate-hooks.test.mjs +36 -0
- package/packages/omo-codex/plugin/test/aggregate-manifest.test.mjs +2 -1
- package/packages/omo-codex/plugin/test/aggregate-plugin-fixture.mjs +1 -1
- package/packages/omo-codex/plugin/test/component-bundled-cli.test.mjs +1 -0
- package/packages/omo-codex/plugin/test/component-hook-contract-cases.mjs +24 -0
- package/packages/omo-codex/plugin/test/hook-status-message.test.mjs +1 -0
- package/packages/omo-codex/plugin/test/ultraresearch-skill-contract.test.mjs +48 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +14 -1
- package/packages/shared-skills/skills/ultraresearch/SKILL.md +11 -2
|
@@ -51,6 +51,14 @@ The research is done when all of these hold:
|
|
|
51
51
|
- Every claim in the deliverable cites a source or a verification artifact.
|
|
52
52
|
- The session journal reconstructs what was searched, found, and expanded, wave by wave.
|
|
53
53
|
|
|
54
|
+
## Run the swarm as a cooperating team
|
|
55
|
+
|
|
56
|
+
Saturation research is the textbook case for a cooperating team, not isolated fire-and-forget workers: a lead one worker surfaces almost always reshapes what another should search next. So when your harness gives you real cooperating members — Codex: the `teammode` skill (`codex_app` threads); OpenCode: `team_mode` — run this swarm as a team. Fall back to the background-worker swarm below only when team mode is unavailable, or the axes are genuinely independent with no cross-pollination expected.
|
|
57
|
+
|
|
58
|
+
- **One member per axis — by part, ownership, or perspective, never a job title.** Each Phase 0 axis is one member owning one concrete slice: a codebase part, a source territory, or a question lens. No two members share an angle. "Backend researcher" or "the web person" gives no real boundary and invites overlap — name what the member owns.
|
|
59
|
+
- **The raise law — broadcast every lead the instant it surfaces.** Members over-communicate relentlessly: every new lead, finding, contradiction, and dead end is raised to you the moment it surfaces, never hoarded for a final dump. Through long passes they send `WORKING: <axis> - <phase>`, and `BLOCKED: <reason>` the moment progress stops, so you always know a member is alive. Too many small updates is correct here; going quiet is the only failure.
|
|
60
|
+
- **You lead; expand on each raised lead.** Members raise via message text, never write session files. Journal each lead and spawn its expansion the instant it lands (Phase 2), not only when a member's final reply arrives.
|
|
61
|
+
|
|
54
62
|
## Worker ground rules
|
|
55
63
|
|
|
56
64
|
Research workers (explore, librarian, browsing) differ by harness, but assume:
|
|
@@ -106,7 +114,7 @@ Append each digest the moment its worker returns, not in a batch at the end —
|
|
|
106
114
|
|
|
107
115
|
## Phase 1 — Saturation wave
|
|
108
116
|
|
|
109
|
-
Launch
|
|
117
|
+
Launch the entire first wave in one turn — every axis at once, as team members if you formed a team, else as background workers. Sequential launches and "start with one and see" defeat the mode.
|
|
110
118
|
|
|
111
119
|
Scaling floor — more angles always justify more workers:
|
|
112
120
|
|
|
@@ -137,7 +145,7 @@ End your reply with the ## EXPAND tail: '- LEAD: <discovery> — WHY: <why> —
|
|
|
137
145
|
|
|
138
146
|
## Phase 2 — Expand until convergence
|
|
139
147
|
|
|
140
|
-
This loop is what makes the mode research rather than search. Collect
|
|
148
|
+
This loop is what makes the mode research rather than search. Collect returns as they land — and in team mode, act on each lead the moment a member raises it, never waiting for the full wave or a member's final reply:
|
|
141
149
|
|
|
142
150
|
1. Journal the return: digest plus verbatim EXPAND markers into `wave-<N>-<kind>-<axis>.md`.
|
|
143
151
|
2. Deduplicate new markers against `expansion-log.md` — every lead ever seen, not just confirmed ones, or rejected leads resurface each wave.
|
|
@@ -221,6 +229,7 @@ High-yield combinations: official docs (`site:<docs domain>`), GitHub implementa
|
|
|
221
229
|
| Failure | Correction |
|
|
222
230
|
|---|---|
|
|
223
231
|
| Sequential spawning, or trimming the first wave | All first-wave workers in one turn, background, scaling floor respected |
|
|
232
|
+
| A team member hoards leads for one final dump | Raise law — every lead, finding, and dead end broadcast the moment it surfaces |
|
|
224
233
|
| Worker reply without the EXPAND tail | One follow-up demanding it; the lane stays open until it lands |
|
|
225
234
|
| Stopping after wave 1 because "enough was found" | Convergence rules only: 2+ expansion waves, leads run dry |
|
|
226
235
|
| Obeying a surrounding "stop exploring" rule mid-research | Authority section — those rules do not bind this mode |
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const BACKGROUND_TASK_DESCRIPTION = "Run agent task in background. Returns a background task ID (`bg_...`) immediately
|
|
1
|
+
export declare const BACKGROUND_TASK_DESCRIPTION = "Run agent task in background. Returns a background task ID (`bg_...`) immediately and notifies on completion.\n\nDo NOT poll for results. The system delivers a <system-reminder> when the task finishes.\n\nPrompts MUST be in English.";
|
|
2
2
|
export declare const BACKGROUND_OUTPUT_DESCRIPTION = "Get output from background task. Use full_session=true to fetch session messages with filters. System notifies on completion, so block=true rarely needed. - Timeout values are in milliseconds (ms), NOT seconds.\n\nIMPORTANT: ONLY call this tool AFTER receiving a <system-reminder> notification for the task. Do NOT call immediately after launching a background task - wait for the notification first.";
|
|
3
3
|
export declare const BACKGROUND_CANCEL_DESCRIPTION = "Cancel running background task(s). Use all=true to cancel ALL before final answer.";
|
package/dist/tui.js
CHANGED
|
@@ -4163,6 +4163,14 @@ var init_ast_grep = __esm(() => {
|
|
|
4163
4163
|
|
|
4164
4164
|
// packages/utils/src/codegraph/env.ts
|
|
4165
4165
|
var init_env = () => {};
|
|
4166
|
+
|
|
4167
|
+
// packages/utils/src/codegraph/workspace.ts
|
|
4168
|
+
var init_workspace = () => {};
|
|
4169
|
+
|
|
4170
|
+
// packages/utils/src/codegraph/guidance.ts
|
|
4171
|
+
var init_guidance = __esm(() => {
|
|
4172
|
+
init_workspace();
|
|
4173
|
+
});
|
|
4166
4174
|
// packages/utils/src/codegraph/manifest.ts
|
|
4167
4175
|
var init_manifest = () => {};
|
|
4168
4176
|
|
|
@@ -4183,12 +4191,10 @@ var init_resolve2 = __esm(() => {
|
|
|
4183
4191
|
requireFromHere = createRequire(import.meta.url);
|
|
4184
4192
|
});
|
|
4185
4193
|
|
|
4186
|
-
// packages/utils/src/codegraph/workspace.ts
|
|
4187
|
-
var init_workspace = () => {};
|
|
4188
|
-
|
|
4189
4194
|
// packages/utils/src/codegraph/index.ts
|
|
4190
4195
|
var init_codegraph = __esm(() => {
|
|
4191
4196
|
init_env();
|
|
4197
|
+
init_guidance();
|
|
4192
4198
|
init_provision();
|
|
4193
4199
|
init_resolve2();
|
|
4194
4200
|
init_workspace();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.1",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -170,18 +170,18 @@
|
|
|
170
170
|
"typescript": "^6.0.3"
|
|
171
171
|
},
|
|
172
172
|
"optionalDependencies": {
|
|
173
|
-
"oh-my-opencode-darwin-arm64": "4.12.
|
|
174
|
-
"oh-my-opencode-darwin-x64": "4.12.
|
|
175
|
-
"oh-my-opencode-darwin-x64-baseline": "4.12.
|
|
176
|
-
"oh-my-opencode-linux-arm64": "4.12.
|
|
177
|
-
"oh-my-opencode-linux-arm64-musl": "4.12.
|
|
178
|
-
"oh-my-opencode-linux-x64": "4.12.
|
|
179
|
-
"oh-my-opencode-linux-x64-baseline": "4.12.
|
|
180
|
-
"oh-my-opencode-linux-x64-musl": "4.12.
|
|
181
|
-
"oh-my-opencode-linux-x64-musl-baseline": "4.12.
|
|
182
|
-
"oh-my-opencode-windows-arm64": "4.12.
|
|
183
|
-
"oh-my-opencode-windows-x64": "4.12.
|
|
184
|
-
"oh-my-opencode-windows-x64-baseline": "4.12.
|
|
173
|
+
"oh-my-opencode-darwin-arm64": "4.12.1",
|
|
174
|
+
"oh-my-opencode-darwin-x64": "4.12.1",
|
|
175
|
+
"oh-my-opencode-darwin-x64-baseline": "4.12.1",
|
|
176
|
+
"oh-my-opencode-linux-arm64": "4.12.1",
|
|
177
|
+
"oh-my-opencode-linux-arm64-musl": "4.12.1",
|
|
178
|
+
"oh-my-opencode-linux-x64": "4.12.1",
|
|
179
|
+
"oh-my-opencode-linux-x64-baseline": "4.12.1",
|
|
180
|
+
"oh-my-opencode-linux-x64-musl": "4.12.1",
|
|
181
|
+
"oh-my-opencode-linux-x64-musl-baseline": "4.12.1",
|
|
182
|
+
"oh-my-opencode-windows-arm64": "4.12.1",
|
|
183
|
+
"oh-my-opencode-windows-x64": "4.12.1",
|
|
184
|
+
"oh-my-opencode-windows-x64-baseline": "4.12.1"
|
|
185
185
|
},
|
|
186
186
|
"overrides": {
|
|
187
187
|
"hono": "^4.12.18",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omo",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.1",
|
|
4
4
|
"description": "One Codex plugin namespace for Yeongyu's local Codex components.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Yeongyu Kim",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"./hooks/pre-tool-use-enforcing-unlimited-goal-budget.json",
|
|
33
33
|
"./hooks/post-tool-use-checking-comments.json",
|
|
34
34
|
"./hooks/post-tool-use-checking-lsp-diagnostics.json",
|
|
35
|
+
"./hooks/post-tool-use-checking-codegraph-init-guidance.json",
|
|
35
36
|
"./hooks/post-tool-use-matching-project-rules.json",
|
|
37
|
+
"./hooks/post-tool-use-checking-thread-title-hygiene.json",
|
|
36
38
|
"./hooks/post-compact-resetting-git-bash-mcp-reminder.json",
|
|
37
39
|
"./hooks/post-compact-resetting-project-rule-cache.json",
|
|
38
40
|
"./hooks/post-compact-resetting-lsp-diagnostics-cache.json",
|