Skip to content

The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.

chore: sync Codex marketplace v5.1.8

github-actions[bot]0fafa289aa95
diff --git a/plugins/omo/.codex-plugin/plugin.json b/plugins/omo/.codex-plugin/plugin.json
index 56eb8d84..68832c7d 100644
--- a/plugins/omo/.codex-plugin/plugin.json
+++ b/plugins/omo/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "omo",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "One Codex plugin namespace for Yeongyu's local Codex components.",
"author": {
"name": "Yeongyu Kim",
diff --git a/plugins/omo/components/bootstrap/dist/cli.js b/plugins/omo/components/bootstrap/dist/cli.js
index 9135de8e..cac550c5 100755
--- a/plugins/omo/components/bootstrap/dist/cli.js
+++ b/plugins/omo/components/bootstrap/dist/cli.js
@@ -7148,7 +7148,8 @@ var OmoMemoryRecallSchema = object({
event_caps: OmoMemoryRecallEventCapsSchema.default({ tool_args: 400, result_head: 600, assistant: 1500, prompt: 4000 }),
sidecar_max_tokens: number2().int().positive().default(48000),
max_concurrent_wakes: number2().int().positive().default(2),
- tool_budget: number2().int().positive().default(8)
+ tool_budget: number2().int().positive().default(8),
+ query_expansion: boolean2().default(false)
}).strict();
var OmoMemoryNudgeSchema = object({
enabled: boolean2().default(true),
@@ -7209,7 +7210,8 @@ var OmoMemoryRecallLayerSchema = object({
event_caps: OmoMemoryRecallEventCapsLayerSchema.optional(),
sidecar_max_tokens: number2().int().positive().optional(),
max_concurrent_wakes: number2().int().positive().optional(),
- tool_budget: number2().int().positive().optional()
+ tool_budget: number2().int().positive().optional(),
+ query_expansion: boolean2().optional()
}).strict();
var OmoMemoryNudgeLayerSchema = object({
enabled: boolean2().optional(),
@@ -7286,7 +7288,8 @@ var OmoMemorySettingsSchema = object({
event_caps: { tool_args: 400, result_head: 600, assistant: 1500, prompt: 4000 },
sidecar_max_tokens: 48000,
max_concurrent_wakes: 2,
- tool_budget: 8
+ tool_budget: 8,
+ query_expansion: false
}),
compile_warn_tokens: number2().int().positive().default(30000),
agents: record(string2(), OmoMemoryAgentOverridesSchema).default({})
diff --git a/plugins/omo/components/bootstrap/hooks/hooks.json b/plugins/omo/components/bootstrap/hooks/hooks.json
index aa62d4c7..2adfcd3a 100644
--- a/plugins/omo/components/bootstrap/hooks/hooks.json
+++ b/plugins/omo/components/bootstrap/hooks/hooks.json
@@ -8,7 +8,7 @@
"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
"timeout": 30,
- "statusMessage": "(OmO 5.1.7) Checking Bootstrap Provisioning"
+ "statusMessage": "(OmO 5.1.8) Checking Bootstrap Provisioning"
}
]
}
diff --git a/plugins/omo/components/bootstrap/package.json b/plugins/omo/components/bootstrap/package.json
index c7428faa..47c3c194 100644
--- a/plugins/omo/components/bootstrap/package.json
+++ b/plugins/omo/components/bootstrap/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/codex-bootstrap",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex SessionStart bootstrap component that provisions LazyCodex runtime dependencies from a detached worker.",
"type": "module",
"private": true,
diff --git a/plugins/omo/components/bootstrap/test/download.test.ts b/plugins/omo/components/bootstrap/test/download.test.ts
index 63ca2adb..8fcbbec3 100644
--- a/plugins/omo/components/bootstrap/test/download.test.ts
+++ b/plugins/omo/components/bootstrap/test/download.test.ts
@@ -262,22 +262,6 @@ describe("downloadFromManifest", () => {
});
describe("committed manifests", () => {
- it("#given the committed ast-grep manifest #when loaded #then every required platform pins an https URL and a sha256", async () => {
- // given / when
- const manifest = await loadAssetManifest("ast-grep");
-
- // then
- expect(manifest.name).toBe("ast-grep");
- expect(manifest.version).toMatch(/^\d+\.\d+\.\d+$/);
- for (const platformKey of ["darwin-arm64", "darwin-x64", "linux-x64", "win32-x64"]) {
- const asset = manifest.platforms[platformKey];
- if (asset === undefined) throw new Error(`missing platform ${platformKey}`);
- expect(asset.url).toStartWith("https://");
- expect(asset.url).toContain(manifest.version);
- expect(asset.sha256).toMatch(/^[a-f0-9]{64}$/);
- }
- });
-
it("#given the committed node manifest #when loaded #then the win32-x64 LTS zip pins an https URL and a sha256", async () => {
// given / when
const manifest = await loadAssetManifest("node");
diff --git a/plugins/omo/components/bootstrap/test/environment.test.ts b/plugins/omo/components/bootstrap/test/environment.test.ts
index 35693600..0ee67325 100644
--- a/plugins/omo/components/bootstrap/test/environment.test.ts
+++ b/plugins/omo/components/bootstrap/test/environment.test.ts
@@ -373,4 +373,7 @@ async function writeSyncSourceFixture(sourceRoot: string): Promise<void> {
await writeExecutableStub(join(sourceRoot, "packages", "git-bash-mcp", "dist", "cli.js"));
await writeExecutableStub(join(sourceRoot, "packages", "lsp-tools-mcp", "dist", "cli.js"));
await writeExecutableStub(join(sourceRoot, "packages", "lsp-daemon", "dist", "cli.js"));
+ // The sync bundles the root CLI and its node fallback too (script/lazycodex-runtime-dists.ts).
+ await writeExecutableStub(join(sourceRoot, "dist", "cli", "index.js"));
+ await writeExecutableStub(join(sourceRoot, "dist", "cli-node", "index.js"));
}
diff --git a/plugins/omo/components/comment-checker/hooks/hooks.json b/plugins/omo/components/comment-checker/hooks/hooks.json
index 08cd8387..5138e8c9 100644
--- a/plugins/omo/components/comment-checker/hooks/hooks.json
+++ b/plugins/omo/components/comment-checker/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 30,
- "statusMessage": "(OmO 5.1.7) Checking Comments"
+ "statusMessage": "(OmO 5.1.8) Checking Comments"
}
]
}
diff --git a/plugins/omo/components/comment-checker/package.json b/plugins/omo/components/comment-checker/package.json
index 460981a3..fd76e27a 100644
--- a/plugins/omo/components/comment-checker/package.json
+++ b/plugins/omo/components/comment-checker/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-comment-checker",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex plugin that runs comment-checker after edit-like PostToolUse hooks.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/git-bash/hooks/hooks.json b/plugins/omo/components/git-bash/hooks/hooks.json
index f51ffb47..d4b94a23 100644
--- a/plugins/omo/components/git-bash/hooks/hooks.json
+++ b/plugins/omo/components/git-bash/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Recommending Git Bash MCP"
+ "statusMessage": "(OmO 5.1.8) Recommending Git Bash MCP"
}
]
}
@@ -20,7 +20,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Resetting Git Bash MCP Reminder"
+ "statusMessage": "(OmO 5.1.8) Resetting Git Bash MCP Reminder"
}
]
}
diff --git a/plugins/omo/components/git-bash/package.json b/plugins/omo/components/git-bash/package.json
index 77e98c42..9e6afd1b 100644
--- a/plugins/omo/components/git-bash/package.json
+++ b/plugins/omo/components/git-bash/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/codex-git-bash-hook",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex hook component that reminds Windows sessions to prefer the OMO git_bash MCP.",
"type": "module",
"private": true,
diff --git a/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json b/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json
index 785e4db5..32491c9e 100644
--- a/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json
+++ b/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Verifying LazyCodex Executor Evidence"
+ "statusMessage": "(OmO 5.1.8) Verifying LazyCodex Executor Evidence"
}
]
}
diff --git a/plugins/omo/components/lazycodex-executor-verify/package.json b/plugins/omo/components/lazycodex-executor-verify/package.json
index 2554b36d..28630e2b 100644
--- a/plugins/omo/components/lazycodex-executor-verify/package.json
+++ b/plugins/omo/components/lazycodex-executor-verify/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-lazycodex-executor-verify",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex SubagentStop evidence verifier for LazyCodex executor completions.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json b/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json
index 48f5e96e..ff4729d2 100644
--- a/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json
+++ b/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
- "version": "5.1.7",
- "inputDigest": "sha256:7628ae176ffa5fe1657de3e04fb8944d413281370d4c46b5df7085db4f1ec720",
+ "version": "5.1.8",
+ "inputDigest": "sha256:7c96b2202dae9f1403113570ac78a39817b8af2dc767c2c49ff084673798c1c0",
"outputs": [
{
"path": "cli.d.ts",
diff --git a/plugins/omo/components/lsp/hooks/hooks.json b/plugins/omo/components/lsp/hooks/hooks.json
index d7504d1a..42342dc7 100644
--- a/plugins/omo/components/lsp/hooks/hooks.json
+++ b/plugins/omo/components/lsp/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 60,
- "statusMessage": "(OmO 5.1.7) Checking LSP Diagnostics"
+ "statusMessage": "(OmO 5.1.8) Checking LSP Diagnostics"
}
]
}
@@ -21,7 +21,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Resetting LSP Diagnostics Cache"
+ "statusMessage": "(OmO 5.1.8) Resetting LSP Diagnostics Cache"
}
]
}
diff --git a/plugins/omo/components/lsp/package.json b/plugins/omo/components/lsp/package.json
index ce4b56a1..cabd3705 100644
--- a/plugins/omo/components/lsp/package.json
+++ b/plugins/omo/components/lsp/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-lsp",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex plugin that exposes Language Server Protocol tools and post-edit diagnostics.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/lsp/test/package-smoke.test.ts b/plugins/omo/components/lsp/test/package-smoke.test.ts
index 831f10a4..e6971c69 100644
--- a/plugins/omo/components/lsp/test/package-smoke.test.ts
+++ b/plugins/omo/components/lsp/test/package-smoke.test.ts
@@ -16,9 +16,6 @@ describe("plugin package metadata", () => {
const hooksJson = readHooksJson("hooks/hooks.json");
const mcpJson = readMcpJson(".mcp.json");
const cliSource = readTextFile("src/cli.ts");
- const daemonCliPathSource = readTextFile("src/daemon-cli-path.ts");
- const codexHookCliSource = readTextFile("src/codex-hook-cli.ts");
- const codexHookSource = readTextFile("src/codex-hook.ts");
const sourceFiles = listDirectoryEntries("src");
const scripts = requireScripts(packageJson, "package.json");
@@ -55,30 +52,6 @@ describe("plugin package metadata", () => {
},
},
});
- expect(cliSource).not.toContain("./lazy-lsp-mcp.js");
- expect(cliSource).toContain("resolveLspDaemonCliPath");
- expect(daemonCliPathSource).toContain("@code-yeongyu/lsp-daemon/cli");
- expect(daemonCliPathSource).toContain("../../lsp-daemon/dist/cli.js");
- expect(daemonCliPathSource).toContain("OMO_LSP_DAEMON_VERSION");
- expect(cliSource).not.toContain("../../../../../lsp-daemon/dist/cli.js");
- expect(codexHookSource).toContain("ensureLspDaemonCliEnv");
- expect(codexHookCliSource).not.toContain("@code-yeongyu/lsp-daemon");
- expect(codexHookSource).toContain("@code-yeongyu/lsp-daemon/client");
- expect(codexHookSource).toContain("@oh-my-opencode/lsp-core/post-edit");
- expect(codexHookSource).toContain("CODEX_HOME");
- expect(codexHookCliSource).not.toContain("../../../../../lsp-daemon");
- expect(codexHookSource).not.toContain("../../../../../lsp-daemon");
expect(sourceFiles.filter((name) => name.startsWith("lazy-mcp") || name === "lazy-lsp-mcp.ts")).toEqual([]);
});
-
- it("#given built component CLI #when runtime imports are inspected #then it is self-contained except Node builtins", () => {
- const cliSource = readTextFile("dist/cli.js");
- const imports = [
- ...cliSource.matchAll(/\bimport\s+(?:[^'";]+?\s+from\s+)?["']([^"']+)["']/g),
- ...cliSource.matchAll(/\bimport\s*\(\s*["']([^"']+)["']\s*\)/g),
- ].flatMap((match) => (match[1] === undefined ? [] : [match[1]]));
- expect(imports.filter((specifier) => !specifier.startsWith("node:"))).toEqual([]);
- expect(cliSource).not.toContain("@code-yeongyu/lsp-daemon/client");
- expect(cliSource).not.toContain("@oh-my-opencode/lsp-core");
- });
});
diff --git a/plugins/omo/components/rules/hooks/hooks.json b/plugins/omo/components/rules/hooks/hooks.json
index 906bc758..19f4b19b 100644
--- a/plugins/omo/components/rules/hooks/hooks.json
+++ b/plugins/omo/components/rules/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Loading Project Rules"
+ "statusMessage": "(OmO 5.1.8) Loading Project Rules"
}
]
}
@@ -19,7 +19,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Loading Project Rules"
+ "statusMessage": "(OmO 5.1.8) Loading Project Rules"
}
]
}
@@ -32,7 +32,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Matching Project Rules"
+ "statusMessage": "(OmO 5.1.8) Matching Project Rules"
}
]
}
@@ -45,7 +45,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Resetting Project Rule Cache"
+ "statusMessage": "(OmO 5.1.8) Resetting Project Rule Cache"
}
]
}
diff --git a/plugins/omo/components/rules/package.json b/plugins/omo/components/rules/package.json
index bca2eb5e..b5b0584a 100644
--- a/plugins/omo/components/rules/package.json
+++ b/plugins/omo/components/rules/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-rules",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex plugin that injects project rule files into model context through lifecycle hooks.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/teammode/hooks/hooks.json b/plugins/omo/components/teammode/hooks/hooks.json
index 02dfce0f..d002e227 100644
--- a/plugins/omo/components/teammode/hooks/hooks.json
+++ b/plugins/omo/components/teammode/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Thread Title Hygiene"
+ "statusMessage": "(OmO 5.1.8) Checking Thread Title Hygiene"
}
]
}
diff --git a/plugins/omo/components/teammode/package.json b/plugins/omo/components/teammode/package.json
index 5f6ab758..a590d123 100644
--- a/plugins/omo/components/teammode/package.json
+++ b/plugins/omo/components/teammode/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/codex-teammode",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex team-mode hook component that keeps background thread titles descriptive after create_thread.",
"type": "module",
"private": true,
diff --git a/plugins/omo/components/telemetry/hooks/hooks.json b/plugins/omo/components/telemetry/hooks/hooks.json
index 827b7eaf..d8c1c1cc 100644
--- a/plugins/omo/components/telemetry/hooks/hooks.json
+++ b/plugins/omo/components/telemetry/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Recording Session Telemetry"
+ "statusMessage": "(OmO 5.1.8) Recording Session Telemetry"
}
]
}
diff --git a/plugins/omo/components/telemetry/package.json b/plugins/omo/components/telemetry/package.json
index d6c0d287..bb9feca9 100644
--- a/plugins/omo/components/telemetry/package.json
+++ b/plugins/omo/components/telemetry/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-telemetry",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex plugin component that emits omo-codex anonymous daily-active telemetry on SessionStart.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/ultrawork/hooks/hooks.json b/plugins/omo/components/ultrawork/hooks/hooks.json
index 020dc0ce..5bf76bfc 100644
--- a/plugins/omo/components/ultrawork/hooks/hooks.json
+++ b/plugins/omo/components/ultrawork/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Checking Ultrawork Trigger"
+ "statusMessage": "(OmO 5.1.8) Checking Ultrawork Trigger"
}
]
}
diff --git a/plugins/omo/components/ultrawork/package.json b/plugins/omo/components/ultrawork/package.json
index 7bea6464..acd7daf3 100644
--- a/plugins/omo/components/ultrawork/package.json
+++ b/plugins/omo/components/ultrawork/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-ultrawork",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex plugin that injects the ultrawork orchestration directive and ships LazyCodex planning, review, QA, and gate agent roles.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/ultrawork/test/directive-source.test.ts b/plugins/omo/components/ultrawork/test/directive-source.test.ts
index baa09e4e..0f1a5dc5 100644
--- a/plugins/omo/components/ultrawork/test/directive-source.test.ts
+++ b/plugins/omo/components/ultrawork/test/directive-source.test.ts
@@ -21,14 +21,8 @@ describe("codex ultrawork directive source", () => {
// given
const directiveSource = readFileSync(new URL("../src/directive.ts", import.meta.url), "utf8");
- // when
- const importsBundledConstant = directiveSource.includes(
- 'import { ULTRAWORK_DIRECTIVE_TEXT } from "./directive-content.js"',
- );
-
// then
// prompts-core's contract: markdown is bundled at build time, never read from disk at runtime.
- expect(importsBundledConstant).toBe(true);
expect(directiveSource).not.toMatch(/readFileSync|readFile\(/);
});
});
diff --git a/plugins/omo/components/ultrawork/test/package-smoke.test.ts b/plugins/omo/components/ultrawork/test/package-smoke.test.ts
index eed0d2ed..3ea295ce 100644
--- a/plugins/omo/components/ultrawork/test/package-smoke.test.ts
+++ b/plugins/omo/components/ultrawork/test/package-smoke.test.ts
@@ -1,4 +1,3 @@
-import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";
import {
collectHookCommandsFromValue,
@@ -6,43 +5,29 @@ import {
readPackageJson,
readTextFile,
requireFiles,
- requireScripts,
} from "../../test-support/package-smoke-fixture.js";
-import { ULTRAWORK_DIRECTIVE } from "../src/directive.js";
describe("codex ultrawork package metadata", () => {
it("#given package metadata #when inspected #then hook ships as bundled CLI", () => {
// given
- const canonicalDirective = readFileSync(
- new URL(import.meta.resolve("@oh-my-opencode/prompts-core/prompts/ultrawork/codex.md")),
- "utf8",
- );
const packageJson = readPackageJson("package.json");
const hooksJson = readJsonFile("hooks/hooks.json");
const cliSource = readTextFile("src/cli.ts");
// when
const packageFiles = requireFiles(packageJson, "package.json");
- const scripts = requireScripts(packageJson, "package.json");
const hookCommands = collectHookCommandsFromValue(hooksJson);
const pluginRoot = ["$", "{PLUGIN_ROOT}"].join("");
// then
expect(packageJson.type).toBe("module");
- expect(packageJson.packageManager).toBe("[email protected]");
expect(packageJson.bin["omo-ultrawork"]).toBe("./dist/cli.js");
- expect(scripts["build"]).toBe(
- "node scripts/sync-directive.mjs && node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && bun build src/cli.ts --target node --format esm --outfile dist/cli.js",
- );
- expect(scripts["test"]).toBe("vitest --run");
expect(packageFiles).toContain("dist");
expect(packageFiles).toContain("skills");
// The directive is no longer a published file: it ships compiled into dist/cli.js via the
// generated src/directive-content.ts, so assert the bundled contract instead of files-list
// membership.
expect(packageFiles).not.toContain("directive.md");
- expect(ULTRAWORK_DIRECTIVE.length).toBeGreaterThan(0);
- expect(ULTRAWORK_DIRECTIVE).toBe(canonicalDirective);
expect(packageFiles).not.toContain("hooks/ultrawork-detector.py");
expect(cliSource.startsWith("#!/usr/bin/env node")).toBe(true);
expect(hookCommands).toContain(`node "${pluginRoot}/dist/cli.js" hook user-prompt-submit`);
diff --git a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
index 4fbf4534..2bc35792 100644
--- a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
+++ b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Ulw-Execute Continuation"
+ "statusMessage": "(OmO 5.1.8) Checking Ulw-Execute Continuation"
}
]
}
diff --git a/plugins/omo/components/ulw-execute-continuation/package.json b/plugins/omo/components/ulw-execute-continuation/package.json
index 6c0ed204..afe37930 100644
--- a/plugins/omo/components/ulw-execute-continuation/package.json
+++ b/plugins/omo/components/ulw-execute-continuation/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-ulw-execute-continuation",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex Stop hook continuation injector for omo-codex ulw-execute plans.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/ulw-loop/hooks/hooks.json b/plugins/omo/components/ulw-loop/hooks/hooks.json
index 1c808a2a..960d4849 100644
--- a/plugins/omo/components/ulw-loop/hooks/hooks.json
+++ b/plugins/omo/components/ulw-loop/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit --with-ultrawork",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Ulw-Loop Steering"
+ "statusMessage": "(OmO 5.1.8) Checking Ulw-Loop Steering"
}
]
}
@@ -20,7 +20,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Recording Spawn Admission"
+ "statusMessage": "(OmO 5.1.8) Recording Spawn Admission"
}
]
}
@@ -33,7 +33,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Enforcing Unlimited Ulw-Loop Budget"
+ "statusMessage": "(OmO 5.1.8) Enforcing Unlimited Ulw-Loop Budget"
}
]
},
@@ -44,7 +44,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Guarding Ulw-Loop Spawns"
+ "statusMessage": "(OmO 5.1.8) Guarding Ulw-Loop Spawns"
}
]
}
@@ -56,7 +56,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Ulw-Loop Resume"
+ "statusMessage": "(OmO 5.1.8) Checking Ulw-Loop Resume"
}
]
}
diff --git a/plugins/omo/components/ulw-loop/package.json b/plugins/omo/components/ulw-loop/package.json
index f847e908..2ee583fd 100644
--- a/plugins/omo/components/ulw-loop/package.json
+++ b/plugins/omo/components/ulw-loop/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-ulw-loop",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Codex plugin: durable repo-native multi-goal orchestration with embedded success criteria and observable evidence audit.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/dist/cli-node/index.js b/plugins/omo/dist/cli-node/index.js
index 59b2a5a0..8c350e39 100755
--- a/plugins/omo/dist/cli-node/index.js
+++ b/plugins/omo/dist/cli-node/index.js
@@ -65,7 +65,7 @@ var package_default;
var init_package = __esm(() => {
package_default = {
name: "oh-my-opencode",
- version: "5.1.7",
+ version: "5.1.8",
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
main: "./dist/index.js",
types: "dist/index.d.ts",
@@ -242,7 +242,7 @@ var init_package = __esm(() => {
},
devDependencies: {
"@clack/prompts": "^1.8.1",
- "@code-yeongyu/senpi": "2026.9.30",
+ "@code-yeongyu/senpi": "2026.10.1-2",
"@modelcontextprotocol/sdk": "^1.30.0",
"@oh-my-opencode/agents-md-core": "workspace:*",
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
@@ -300,18 +300,18 @@ var init_package = __esm(() => {
typescript: "^7.0.2"
},
optionalDependencies: {
- "oh-my-opencode-darwin-arm64": "5.1.7",
- "oh-my-opencode-darwin-x64": "5.1.7",
- "oh-my-opencode-darwin-x64-baseline": "5.1.7",
- "oh-my-opencode-linux-arm64": "5.1.7",
- "oh-my-opencode-linux-arm64-musl": "5.1.7",
- "oh-my-opencode-linux-x64": "5.1.7",
- "oh-my-opencode-linux-x64-baseline": "5.1.7",
- "oh-my-opencode-linux-x64-musl": "5.1.7",
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.7",
- "oh-my-opencode-windows-arm64": "5.1.7",
- "oh-my-opencode-windows-x64": "5.1.7",
- "oh-my-opencode-windows-x64-baseline": "5.1.7"
+ "oh-my-opencode-darwin-arm64": "5.1.8",
+ "oh-my-opencode-darwin-x64": "5.1.8",
+ "oh-my-opencode-darwin-x64-baseline": "5.1.8",
+ "oh-my-opencode-linux-arm64": "5.1.8",
+ "oh-my-opencode-linux-arm64-musl": "5.1.8",
+ "oh-my-opencode-linux-x64": "5.1.8",
+ "oh-my-opencode-linux-x64-baseline": "5.1.8",
+ "oh-my-opencode-linux-x64-musl": "5.1.8",
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.8",
+ "oh-my-opencode-windows-arm64": "5.1.8",
+ "oh-my-opencode-windows-x64": "5.1.8",
+ "oh-my-opencode-windows-x64-baseline": "5.1.8"
},
overrides: {
hono: "^4.13.8",
@@ -7408,7 +7408,7 @@ var init_category_model_requirements = __esm(() => {
{
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
model: "gpt-6-astra",
- variant: "xhigh"
+ variant: "high"
}
]
},
@@ -9517,7 +9517,7 @@ var init_openai_categories = __esm(() => {
},
{
name: "deep-high",
- config: { model: "openai/gpt-6-astra", variant: "xhigh" },
+ config: { model: "openai/gpt-6-astra", variant: "high" },
description: "Escalation deep lane: a goal whose central decision cannot be settled from evidence alone. Same one-goal, one-deliverable contract as deep-low.",
callerGuidance: DEEP_HIGH_CATEGORY_CALLER_GUIDANCE,
promptAppend: DEEP_HIGH_CATEGORY_PROMPT_APPEND,
@@ -68270,28 +68270,6 @@ var init_legacy_workspace_migration = __esm(() => {
// packages/omo-opencode/src/shared/model-string-parser.ts
var init_model_string_parser2 = () => {};
-// packages/omo-opencode/src/shared/excluded-dirs.ts
-var EXCLUDED_DIR_NAMES, EXCLUDED_DIRS;
-var init_excluded_dirs = __esm(() => {
- EXCLUDED_DIR_NAMES = [
- "node_modules",
- ".git",
- "dist",
- "build",
- ".next",
- ".omo",
- ".sisyphus",
- ".turbo",
- "coverage",
- "out",
- ".cache",
- ".vscode-test",
- "target",
- ".local-ignore"
- ];
- EXCLUDED_DIRS = Object.freeze(new Set(EXCLUDED_DIR_NAMES));
-});
-
// packages/omo-opencode/src/shared/replace-tool-args.ts
var init_replace_tool_args = () => {};
@@ -68302,7 +68280,6 @@ var init_shared = __esm(() => {
init_model_resolution_pipeline();
init_session_category_registry();
init_model_string_parser2();
- init_excluded_dirs();
init_frontmatter2();
init_command_executor2();
init_contains_path2();
@@ -74689,7 +74666,8 @@ var init_memory = __esm(() => {
event_caps: OmoMemoryRecallEventCapsSchema.default({ tool_args: 400, result_head: 600, assistant: 1500, prompt: 4000 }),
sidecar_max_tokens: number2().int().positive().default(48000),
max_concurrent_wakes: number2().int().positive().default(2),
- tool_budget: number2().int().positive().default(8)
+ tool_budget: number2().int().positive().default(8),
+ query_expansion: boolean2().default(false)
}).strict();
OmoMemoryNudgeSchema = object({
enabled: boolean2().default(true),
@@ -74750,7 +74728,8 @@ var init_memory = __esm(() => {
event_caps: OmoMemoryRecallEventCapsLayerSchema.optional(),
sidecar_max_tokens: number2().int().positive().optional(),
max_concurrent_wakes: number2().int().positive().optional(),
- tool_budget: number2().int().positive().optional()
+ tool_budget: number2().int().positive().optional(),
+ query_expansion: boolean2().optional()
}).strict();
OmoMemoryNudgeLayerSchema = object({
enabled: boolean2().optional(),
@@ -74827,7 +74806,8 @@ var init_memory = __esm(() => {
event_caps: { tool_args: 400, result_head: 600, assistant: 1500, prompt: 4000 },
sidecar_max_tokens: 48000,
max_concurrent_wakes: 2,
- tool_budget: 8
+ tool_budget: 8,
+ query_expansion: false
}),
compile_warn_tokens: number2().int().positive().default(30000),
agents: record(string2(), OmoMemoryAgentOverridesSchema).default({})
@@ -89456,7 +89436,7 @@ var package_default2;
var init_package2 = __esm(() => {
package_default2 = {
name: "@oh-my-opencode/omo-codex",
- version: "5.1.7",
+ version: "5.1.8",
type: "module",
private: true,
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
diff --git a/plugins/omo/dist/cli/index.js b/plugins/omo/dist/cli/index.js
index 0c5b6202..c067c743 100755
--- a/plugins/omo/dist/cli/index.js
+++ b/plugins/omo/dist/cli/index.js
@@ -64,7 +64,7 @@ var package_default;
var init_package = __esm(() => {
package_default = {
name: "oh-my-opencode",
- version: "5.1.7",
+ version: "5.1.8",
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
main: "./dist/index.js",
types: "dist/index.d.ts",
@@ -241,7 +241,7 @@ var init_package = __esm(() => {
},
devDependencies: {
"@clack/prompts": "^1.8.1",
- "@code-yeongyu/senpi": "2026.9.30",
+ "@code-yeongyu/senpi": "2026.10.1-2",
"@modelcontextprotocol/sdk": "^1.30.0",
"@oh-my-opencode/agents-md-core": "workspace:*",
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
@@ -299,18 +299,18 @@ var init_package = __esm(() => {
typescript: "^7.0.2"
},
optionalDependencies: {
- "oh-my-opencode-darwin-arm64": "5.1.7",
- "oh-my-opencode-darwin-x64": "5.1.7",
- "oh-my-opencode-darwin-x64-baseline": "5.1.7",
- "oh-my-opencode-linux-arm64": "5.1.7",
- "oh-my-opencode-linux-arm64-musl": "5.1.7",
- "oh-my-opencode-linux-x64": "5.1.7",
- "oh-my-opencode-linux-x64-baseline": "5.1.7",
- "oh-my-opencode-linux-x64-musl": "5.1.7",
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.7",
- "oh-my-opencode-windows-arm64": "5.1.7",
- "oh-my-opencode-windows-x64": "5.1.7",
- "oh-my-opencode-windows-x64-baseline": "5.1.7"
+ "oh-my-opencode-darwin-arm64": "5.1.8",
+ "oh-my-opencode-darwin-x64": "5.1.8",
+ "oh-my-opencode-darwin-x64-baseline": "5.1.8",
+ "oh-my-opencode-linux-arm64": "5.1.8",
+ "oh-my-opencode-linux-arm64-musl": "5.1.8",
+ "oh-my-opencode-linux-x64": "5.1.8",
+ "oh-my-opencode-linux-x64-baseline": "5.1.8",
+ "oh-my-opencode-linux-x64-musl": "5.1.8",
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.8",
+ "oh-my-opencode-windows-arm64": "5.1.8",
+ "oh-my-opencode-windows-x64": "5.1.8",
+ "oh-my-opencode-windows-x64-baseline": "5.1.8"
},
overrides: {
hono: "^4.13.8",
@@ -7407,7 +7407,7 @@ var init_category_model_requirements = __esm(() => {
{
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
model: "gpt-6-astra",
- variant: "xhigh"
+ variant: "high"
}
]
},
@@ -9516,7 +9516,7 @@ var init_openai_categories = __esm(() => {
},
{
name: "deep-high",
- config: { model: "openai/gpt-6-astra", variant: "xhigh" },
+ config: { model: "openai/gpt-6-astra", variant: "high" },
description: "Escalation deep lane: a goal whose central decision cannot be settled from evidence alone. Same one-goal, one-deliverable contract as deep-low.",
callerGuidance: DEEP_HIGH_CATEGORY_CALLER_GUIDANCE,
promptAppend: DEEP_HIGH_CATEGORY_PROMPT_APPEND,
@@ -68191,28 +68191,6 @@ var init_legacy_workspace_migration = __esm(() => {
// packages/omo-opencode/src/shared/model-string-parser.ts
var init_model_string_parser2 = () => {};
-// packages/omo-opencode/src/shared/excluded-dirs.ts
-var EXCLUDED_DIR_NAMES, EXCLUDED_DIRS;
-var init_excluded_dirs = __esm(() => {
- EXCLUDED_DIR_NAMES = [
- "node_modules",
- ".git",
- "dist",
- "build",
- ".next",
- ".omo",
- ".sisyphus",
- ".turbo",
- "coverage",
- "out",
- ".cache",
- ".vscode-test",
- "target",
- ".local-ignore"
- ];
- EXCLUDED_DIRS = Object.freeze(new Set(EXCLUDED_DIR_NAMES));
-});
-
// packages/omo-opencode/src/shared/replace-tool-args.ts
var init_replace_tool_args = () => {};
@@ -68223,7 +68201,6 @@ var init_shared = __esm(() => {
init_model_resolution_pipeline();
init_session_category_registry();
init_model_string_parser2();
- init_excluded_dirs();
init_frontmatter2();
init_command_executor2();
init_contains_path2();
@@ -74610,7 +74587,8 @@ var init_memory = __esm(() => {
event_caps: OmoMemoryRecallEventCapsSchema.default({ tool_args: 400, result_head: 600, assistant: 1500, prompt: 4000 }),
sidecar_max_tokens: number2().int().positive().default(48000),
max_concurrent_wakes: number2().int().positive().default(2),
- tool_budget: number2().int().positive().default(8)
+ tool_budget: number2().int().positive().default(8),
+ query_expansion: boolean2().default(false)
}).strict();
OmoMemoryNudgeSchema = object({
enabled: boolean2().default(true),
@@ -74671,7 +74649,8 @@ var init_memory = __esm(() => {
event_caps: OmoMemoryRecallEventCapsLayerSchema.optional(),
sidecar_max_tokens: number2().int().positive().optional(),
max_concurrent_wakes: number2().int().positive().optional(),
- tool_budget: number2().int().positive().optional()
+ tool_budget: number2().int().positive().optional(),
+ query_expansion: boolean2().optional()
}).strict();
OmoMemoryNudgeLayerSchema = object({
enabled: boolean2().optional(),
@@ -74748,7 +74727,8 @@ var init_memory = __esm(() => {
event_caps: { tool_args: 400, result_head: 600, assistant: 1500, prompt: 4000 },
sidecar_max_tokens: 48000,
max_concurrent_wakes: 2,
- tool_budget: 8
+ tool_budget: 8,
+ query_expansion: false
}),
compile_warn_tokens: number2().int().positive().default(30000),
agents: record(string2(), OmoMemoryAgentOverridesSchema).default({})
@@ -89377,7 +89357,7 @@ var package_default2;
var init_package2 = __esm(() => {
package_default2 = {
name: "@oh-my-opencode/omo-codex",
- version: "5.1.7",
+ version: "5.1.8",
type: "module",
private: true,
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
diff --git a/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json b/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json
index 9b212410..52dadaa0 100644
--- a/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json
+++ b/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/git-bash/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Resetting Git Bash MCP Reminder",
+ "statusMessage": "(OmO 5.1.8) Resetting Git Bash MCP Reminder",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\git-bash\\dist\\cli.js\" hook post-compact"
}
],
diff --git a/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json b/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json
index 52fcb68e..0d5bac48 100644
--- a/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json
+++ b/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Resetting LSP Diagnostics Cache",
+ "statusMessage": "(OmO 5.1.8) Resetting LSP Diagnostics Cache",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lsp\\dist\\cli.js\" hook post-compact"
}
],
diff --git a/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json b/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json
index 74f6ba7e..2b8bca65 100644
--- a/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json
+++ b/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-compact",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Resetting Project Rule Cache",
+ "statusMessage": "(OmO 5.1.8) Resetting Project Rule Cache",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook post-compact"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-checking-comments.json b/plugins/omo/hooks/post-tool-use-checking-comments.json
index b1c6ced5..1119202f 100644
--- a/plugins/omo/hooks/post-tool-use-checking-comments.json
+++ b/plugins/omo/hooks/post-tool-use-checking-comments.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/comment-checker/dist/cli.js\" hook post-tool-use",
"timeout": 30,
- "statusMessage": "(OmO 5.1.7) Checking Comments",
+ "statusMessage": "(OmO 5.1.8) Checking Comments",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\comment-checker\\dist\\cli.js\" hook post-tool-use"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json b/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json
index e32fa55f..f4db864a 100644
--- a/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json
+++ b/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-tool-use",
"timeout": 60,
- "statusMessage": "(OmO 5.1.7) Checking LSP Diagnostics",
+ "statusMessage": "(OmO 5.1.8) Checking LSP Diagnostics",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lsp\\dist\\cli.js\" hook post-tool-use"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json b/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json
index 79bd2d71..da1c4d5d 100644
--- a/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json
+++ b/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/teammode/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Thread Title Hygiene",
+ "statusMessage": "(OmO 5.1.8) Checking Thread Title Hygiene",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\teammode\\dist\\cli.js\" hook post-tool-use"
}
]
diff --git a/plugins/omo/hooks/post-tool-use-matching-project-rules.json b/plugins/omo/hooks/post-tool-use-matching-project-rules.json
index 61baa16a..2924836a 100644
--- a/plugins/omo/hooks/post-tool-use-matching-project-rules.json
+++ b/plugins/omo/hooks/post-tool-use-matching-project-rules.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Matching Project Rules",
+ "statusMessage": "(OmO 5.1.8) Matching Project Rules",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook post-tool-use"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json b/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json
index 6f38f990..b21f7a3c 100644
--- a/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json
+++ b/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook post-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Recording Spawn Admission",
+ "statusMessage": "(OmO 5.1.8) Recording Spawn Admission",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook post-tool-use-spawn"
}
]
diff --git a/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json b/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json
index a2358f83..3d3d8b04 100644
--- a/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json
+++ b/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Enforcing Unlimited Goal Budget",
+ "statusMessage": "(OmO 5.1.8) Enforcing Unlimited Goal Budget",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook pre-tool-use"
}
],
diff --git a/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json b/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json
index 5de7baea..db734af2 100644
--- a/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json
+++ b/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Guarding Ulw-Loop Spawns",
+ "statusMessage": "(OmO 5.1.8) Guarding Ulw-Loop Spawns",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook pre-tool-use-spawn"
}
]
diff --git a/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json b/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json
index 90bc14be..44fd12ec 100644
--- a/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json
+++ b/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/git-bash/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Recommending Git Bash MCP",
+ "statusMessage": "(OmO 5.1.8) Recommending Git Bash MCP",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\git-bash\\dist\\cli.js\" hook pre-tool-use"
}
],
diff --git a/plugins/omo/hooks/session-start-checking-auto-update.json b/plugins/omo/hooks/session-start-checking-auto-update.json
index b52c4043..4ec84a84 100644
--- a/plugins/omo/hooks/session-start-checking-auto-update.json
+++ b/plugins/omo/hooks/session-start-checking-auto-update.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/scripts/auto-update.mjs\" hook session-start",
"timeout": 15,
- "statusMessage": "(OmO 5.1.7) Checking Auto Update",
+ "statusMessage": "(OmO 5.1.8) Checking Auto Update",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\scripts\\auto-update.mjs\" hook session-start"
}
],
diff --git a/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json b/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json
index aa62d4c7..2adfcd3a 100644
--- a/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json
+++ b/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json
@@ -8,7 +8,7 @@
"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
"timeout": 30,
- "statusMessage": "(OmO 5.1.7) Checking Bootstrap Provisioning"
+ "statusMessage": "(OmO 5.1.8) Checking Bootstrap Provisioning"
}
]
}
diff --git a/plugins/omo/hooks/session-start-loading-project-rules.json b/plugins/omo/hooks/session-start-loading-project-rules.json
index c46ac7c2..17c6f6ac 100644
--- a/plugins/omo/hooks/session-start-loading-project-rules.json
+++ b/plugins/omo/hooks/session-start-loading-project-rules.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook session-start",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Loading Project Rules",
+ "statusMessage": "(OmO 5.1.8) Loading Project Rules",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook session-start"
}
]
diff --git a/plugins/omo/hooks/session-start-recording-session-telemetry.json b/plugins/omo/hooks/session-start-recording-session-telemetry.json
index e181ed08..a123e962 100644
--- a/plugins/omo/hooks/session-start-recording-session-telemetry.json
+++ b/plugins/omo/hooks/session-start-recording-session-telemetry.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/telemetry/dist/cli.js\" hook session-start",
"timeout": 15,
- "statusMessage": "(OmO 5.1.7) Recording Session Telemetry",
+ "statusMessage": "(OmO 5.1.8) Recording Session Telemetry",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\telemetry\\dist\\cli.js\" hook session-start"
}
]
diff --git a/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json b/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json
index 25824d29..950cc94a 100644
--- a/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json
+++ b/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Ulw-Execute Continuation",
+ "statusMessage": "(OmO 5.1.8) Checking Ulw-Execute Continuation",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-execute-continuation\\dist\\cli.js\" hook stop"
}
]
diff --git a/plugins/omo/hooks/stop-checking-ulw-loop-resume.json b/plugins/omo/hooks/stop-checking-ulw-loop-resume.json
index 8b364fc7..2fd0cb1b 100644
--- a/plugins/omo/hooks/stop-checking-ulw-loop-resume.json
+++ b/plugins/omo/hooks/stop-checking-ulw-loop-resume.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Ulw-Loop Resume",
+ "statusMessage": "(OmO 5.1.8) Checking Ulw-Loop Resume",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook stop"
}
]
diff --git a/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json b/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json
index 87204bbc..8f56968a 100644
--- a/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json
+++ b/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Verifying LazyCodex Executor Evidence",
+ "statusMessage": "(OmO 5.1.8) Verifying LazyCodex Executor Evidence",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lazycodex-executor-verify\\dist\\cli.js\" hook subagent-stop"
}
],
diff --git a/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json b/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json
index 0f8d1c6e..3aec5165 100644
--- a/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json
+++ b/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ultrawork/dist/cli.js\" hook user-prompt-submit",
"timeout": 5,
- "statusMessage": "(OmO 5.1.7) Checking Ultrawork Trigger",
+ "statusMessage": "(OmO 5.1.8) Checking Ultrawork Trigger",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ultrawork\\dist\\cli.js\" hook user-prompt-submit"
}
]
diff --git a/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json b/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json
index 78282f8d..fe50ba22 100644
--- a/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json
+++ b/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook user-prompt-submit",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Checking Ulw-Loop Steering",
+ "statusMessage": "(OmO 5.1.8) Checking Ulw-Loop Steering",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook user-prompt-submit"
}
]
diff --git a/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json b/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json
index c4b2e110..b1386084 100644
--- a/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json
+++ b/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit",
"timeout": 10,
- "statusMessage": "(OmO 5.1.7) Loading Project Rules",
+ "statusMessage": "(OmO 5.1.8) Loading Project Rules",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook user-prompt-submit"
}
]
diff --git a/plugins/omo/package-lock.json b/plugins/omo/package-lock.json
index 76106603..d6661fab 100644
--- a/plugins/omo/package-lock.json
+++ b/plugins/omo/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.7",
+ "version": "5.1.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.7",
+ "version": "5.1.8",
"workspaces": [
"components/comment-checker",
"components/git-bash",
@@ -95,7 +95,7 @@
},
"components/comment-checker": {
"name": "@code-yeongyu/codex-comment-checker",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"bin": {
"omo-comment-checker": "dist/cli.js"
@@ -117,7 +117,7 @@
},
"components/git-bash": {
"name": "@sisyphuslabs/codex-git-bash-hook",
- "version": "5.1.7",
+ "version": "5.1.8",
"bin": {
"omo-git-bash-hook": "dist/cli.js"
},
@@ -131,7 +131,7 @@
},
"components/lazycodex-executor-verify": {
"name": "@code-yeongyu/codex-lazycodex-executor-verify",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"bin": {
"lazycodex-executor-verify": "dist/cli.js"
@@ -149,7 +149,7 @@
},
"components/lsp": {
"name": "@code-yeongyu/codex-lsp",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"dependencies": {
"@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",
@@ -171,7 +171,7 @@
},
"components/rules": {
"name": "@code-yeongyu/codex-rules",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"dependencies": {
"picomatch": "^4.0.7"
@@ -194,7 +194,7 @@
},
"components/teammode": {
"name": "@sisyphuslabs/codex-teammode",
- "version": "5.1.7",
+ "version": "5.1.8",
"devDependencies": {
"@types/node": "^26.6.2",
"@vitest/coverage-v8": "5.0.1",
@@ -208,7 +208,7 @@
},
"components/telemetry": {
"name": "@code-yeongyu/codex-telemetry",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"bin": {
"omo-telemetry": "dist/cli.js"
@@ -227,7 +227,7 @@
},
"components/ultrawork": {
"name": "@code-yeongyu/codex-ultrawork",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"bin": {
"omo-ultrawork": "dist/cli.js"
@@ -246,7 +246,7 @@
},
"components/ulw-execute-continuation": {
"name": "@code-yeongyu/codex-ulw-execute-continuation",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"bin": {
"omo-ulw-execute-continuation": "dist/cli.js"
@@ -264,7 +264,7 @@
},
"components/ulw-loop": {
"name": "@code-yeongyu/codex-ulw-loop",
- "version": "5.1.7",
+ "version": "5.1.8",
"license": "MIT",
"bin": {
"omo-ulw-loop": "dist/cli.js",
diff --git a/plugins/omo/package.json b/plugins/omo/package.json
index 6f402162..f71b3dcc 100644
--- a/plugins/omo/package.json
+++ b/plugins/omo/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.7",
+ "version": "5.1.8",
"description": "Aggregate Codex plugin root for OMO components.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/skills/browser/runtime/omowright/manifest.json b/plugins/omo/skills/browser/runtime/omowright/manifest.json
index 7a078d93..0283f203 100644
--- a/plugins/omo/skills/browser/runtime/omowright/manifest.json
+++ b/plugins/omo/skills/browser/runtime/omowright/manifest.json
@@ -5,5 +5,5 @@
"index.js": "b6b064fab277031c6c51f5a58b84b31040f9960bf767bf646adc0540c1d25c1b",
"page-bundle.js": "bfd51e8383cf47200d57387bbbed258bce5a3a3d00c38fc108034d2888e23f0c"
},
- "stagedAtUtc": "2026-09-30T23:59:26.366Z"
+ "stagedAtUtc": "2026-10-01T15:00:20.344Z"
}
diff --git a/plugins/omo/skills/debugging/SKILL.md b/plugins/omo/skills/debugging/SKILL.md
index b67561ed..dd32a856 100644
--- a/plugins/omo/skills/debugging/SKILL.md
+++ b/plugins/omo/skills/debugging/SKILL.md
@@ -73,7 +73,7 @@ Each phase has exactly one reference. Read it as you enter the phase — not in
| 4 | **Oracle Triple** — after 2 consecutive failed rounds, spawn three Oracles with orthogonal framings and synthesize | [references/methodology/04-oracle-triple.md](references/methodology/04-oracle-triple.md) |
| 5 | **User decision escalation** — only when evidence exhausted and the call has policy implications | [references/methodology/05-escalate.md](references/methodology/05-escalate.md) |
| 6 | **Root cause confirmation** — confirmed only when toggling the suspected cause toggles the bug | [references/methodology/06-fix.md](references/methodology/06-fix.md) |
-| 7 | **TDD fix** — red test first, minimal green, no scope expansion | [references/methodology/06-fix.md](references/methodology/06-fix.md) |
+| 7 | **Fix locked by a failing proof** — reuse the owner test that already fails or add one regression that fails on the pre-fix code, minimal green, no scope expansion | [references/methodology/06-fix.md](references/methodology/06-fix.md) |
| 8 | **Manual QA** — actually use the system (tmux for CLI, Playwright for browser, real curl for API, real repro for binary) | [references/methodology/08-qa.md](references/methodology/08-qa.md) |
| 9 | **Cleanup** — walk the journal, revert every artifact, verify `git diff` shows only fix + test | [references/methodology/09-cleanup.md](references/methodology/09-cleanup.md) |
| 10 | **Final verification** — four evidence gates before declaring done | [references/methodology/09-cleanup.md](references/methodology/09-cleanup.md) |
diff --git a/plugins/omo/skills/debugging/references/methodology/06-fix.md b/plugins/omo/skills/debugging/references/methodology/06-fix.md
index d2e02ef7..9663a025 100644
--- a/plugins/omo/skills/debugging/references/methodology/06-fix.md
+++ b/plugins/omo/skills/debugging/references/methodology/06-fix.md
@@ -51,6 +51,14 @@ The "mechanism" field is the acid test. If you can't write the causal chain from
Red, green, refactor. No shortcuts.
+### 0. Look for the owner test first
+
+Before writing a reproduction test, find the test that already owns this contract at the strongest boundary. Run it on the pre-fix code:
+
+- **It already fails for this bug.** It is the red proof. Record its failure and skip step 1.
+- **It passes but covers the path.** Extend it with the failing case (a table row, a fixture case) instead of adding a parallel test.
+- **No owner exists.** Write the new reproduction test in step 1, and apply the repository's test-authoring gate if it has one.
+
### 1. Red — the reproduction as a test
Write a test that fails *specifically because of this bug*. Requirements:
diff --git a/plugins/omo/test/AGENTS.md b/plugins/omo/test/AGENTS.md
index 886e664e..6baa2d1c 100644
--- a/plugins/omo/test/AGENTS.md
+++ b/plugins/omo/test/AGENTS.md
@@ -41,6 +41,17 @@
- Hooks must fail closed/silent on malformed input; migration must not mutate user-owned settings or change bytes on repeat runs.
- Never assert prompt/skill prose wording — machine-consumed fields and shipped-copy equality only.
+## TEST AUTHORING GATE
+
+Before adding or changing a suite here, answer all four. A missing answer means do not add it yet:
+
+1. What observable contract over the generated or installed artifact does it protect?
+2. What credible regression in the build, sync, or install makes it fail?
+3. Why does an existing suite not already catch it? Extend the family's owner suite or shared fixture instead of adding a near-duplicate.
+4. Does it need a seam no shipped artifact needs? If yes, check the real artifact instead.
+
+Reject the following unless the case independently guards a manifest, hook, migration, install, or cross-platform contract (and say which one): copied inventories, exact string greps over sources, replays of a shared fixture through a wrapper, and assertions that restate a manifest field. A retained suite that fails on the base is a product bug to fix, never a suite to delete. The full list is `.omo/rules/test-discipline.md` `## AUTHORING GATE` in the OmO repository.
+
## COMMANDS
- `npm test` (from `plugin/`, after `npm run build`)
diff --git a/plugins/omo/test/component-bundled-cli.test.mjs b/plugins/omo/test/component-bundled-cli.test.mjs
index b5089713..f81d5095 100644
--- a/plugins/omo/test/component-bundled-cli.test.mjs
+++ b/plugins/omo/test/component-bundled-cli.test.mjs
@@ -340,56 +340,6 @@ function smokeImportComponent(component, event) {
}
}
-function writeFakeLspDaemonCli(path) {
- writeFileSync(
- path,
- [
- "#!/usr/bin/env node",
- 'import { createHash } from "node:crypto";',
- 'import { appendFileSync, mkdirSync, readdirSync, unlinkSync } from "node:fs";',
- 'import { tmpdir } from "node:os";',
- 'import { dirname, join } from "node:path";',
- 'import { createServer } from "node:net";',
- "",
- "appendFileSync(process.env.FAKE_LSP_DAEMON_LOG, `${JSON.stringify(process.argv.slice(2))}\\n`);",
- "const baseDir = process.env.OMO_LSP_DAEMON_DIR;",
- 'const versionDirName = readdirSync(baseDir).find((entry) => entry.startsWith("v")) ?? "v0";',
- "const version = versionDirName.slice(1);",
- "const dir = join(baseDir, versionDirName);",
- 'const naturalSocket = join(dir, "daemon.sock");',
- 'const digest = createHash("sha256").update(dir).digest("hex").slice(0, 16);',
- "const socketPath = process.platform === \"win32\"",
- "\t? `\\\\\\\\.\\\\pipe\\\\omo-lsp-${version}-${digest}`",
- "\t: naturalSocket.length < 100 ? naturalSocket : join(tmpdir(), `omo-lsp-${version}-${digest}.sock`);",
- "if (process.platform !== \"win32\") {",
- "\tmkdirSync(dirname(socketPath), { recursive: true });",
- "\ttry { unlinkSync(socketPath); } catch {}",
- "}",
- "const server = createServer((socket) => {",
- '\tlet raw = "";',
- '\tsocket.setEncoding("utf8");',
- '\tsocket.on("data", (chunk) => {',
- "\t\traw += chunk;",
- '\t\tif (!raw.includes("\\n")) return;',
- "\t\tconst request = JSON.parse(raw.trim());",
- "\t\tconst response = {",
- '\t\t\tjsonrpc: "2.0",',
- "\t\t\tid: request.id,",
- "\t\t\tresult: {",
- '\t\t\t\tcontent: [{ type: "text", text: "error[fake] (1) at 1:1: Missing fake symbol." }],',
- "\t\t\t},",
- "\t\t};",
- '\t\tsocket.end(`${JSON.stringify(response)}\\n`);',
- "\t\tserver.close(() => process.exit(0));",
- "\t});",
- "});",
- "server.listen(socketPath);",
- "setTimeout(() => process.exit(1), 10000).unref();",
- "",
- ].join("\n"),
- );
-}
-
async function stopTestDaemons(daemonRoot) {
if (!existsSync(daemonRoot)) return;
for (const versionDir of readdirSync(daemonRoot)) {