The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
JavaScript aiai-agentsclaudeclaude-codeclicodexdeveloper-toolslazylazycodexoh-my-openagentomoopenaiorchestrationtypescript
chore: sync Codex marketplace v5.1.0
github-actions[bot]a6cfaf1c678f
diff --git a/plugins/omo/.codex-plugin/plugin.json b/plugins/omo/.codex-plugin/plugin.jsonindex c5b73a4b..6b3aef67 100644--- a/plugins/omo/.codex-plugin/plugin.json+++ b/plugins/omo/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "omo",- "version": "5.0.1",+ "version": "5.1.0","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.jsindex d7827b79..a5c7b1ac 100755--- a/plugins/omo/components/bootstrap/dist/cli.js+++ b/plugins/omo/components/bootstrap/dist/cli.js@@ -7059,6 +7059,25 @@ var OmoCategoryConfigObjectSchema = object({var OmoCategoryConfigSchema = preprocess((value) => isRecord4(value) ? normalizeLegacyModelFields(value) : value, OmoCategoryConfigObjectSchema);var OmoCategoriesConfigSchema = record(string2(), OmoCategoryConfigSchema);+// ../../omo-config-core/src/schema/computer.ts+var positiveInteger = number2().int().positive();+var nonNegativeInteger = number2().int().nonnegative();+var OmoComputerSettingsLayerSchema = object({+ enabled: boolean2().describe("Experimental: register the computer tool in OmO Native sessions (default: on where the host is supported; false leaves it unregistered)"),+ display: string2().min(1),+ max_width: positiveInteger,+ max_height: positiveInteger,+ screenshot_max_bytes: positiveInteger,+ stop_hotkey: string2().min(1),+ allow_host_relay_only_stop: boolean2(),+ macos_canary: _enum(["session", "off"]),+ audit_log: object({ enabled: boolean2() }).partial().strict(),+ screenshot_gc: object({ enabled: boolean2(), stale_ms: nonNegativeInteger, scan_interval_ms: nonNegativeInteger }).partial().strict(),+ engine_path: string2().min(1),+ cua_adapter: boolean2()+}).partial().strict().describe("Experimental computer use in OmO Native: screenshots, windows, accessibility trees and native mouse and keyboard input. Every key is optional; defaults depend on the host.");+var OmoComputerSettingsSchema = OmoComputerSettingsLayerSchema;+// ../../omo-config-core/src/schema/git-master.tsvar OmoGitMasterSettingsShape = {commit_footer: union([boolean2(), string2()]),@@ -7304,7 +7323,7 @@ var OmoModelProfilesLayerSchema = record(string2(), OmoModelProfileLayerSchema);// ../../omo-config-core/src/schema/task.tsimport { availableParallelism } from "node:os";-var DEFAULT_RESIDENCY_MAX_CHILDREN = 16;+var DEFAULT_RESIDENCY_MAX_CHILDREN = "unlimited";var ResidencyMaxChildrenInputSchema = union([number2().int().nonnegative(), literal("unlimited")]);var OmoTaskWaitSchema = object({min_ms: number2().int().positive().default(5000),@@ -7365,7 +7384,7 @@ var OmoTaskSettingsSchema = object({provider_concurrency: record(string2(), number2().int().nonnegative()).optional(),model_concurrency: record(string2(), number2().int().nonnegative()).optional(),max_depth: number2().int().nonnegative().default(1),- residency_max_children: ResidencyMaxChildrenInputSchema.default(8),+ residency_max_children: ResidencyMaxChildrenInputSchema.default(DEFAULT_RESIDENCY_MAX_CHILDREN),resident_idle_timeout_ms: number2().int().positive().max(Number.MAX_SAFE_INTEGER).default(900000),ttl_ms: number2().int().positive().default(86400000),state_dir: string2().optional(),@@ -7429,7 +7448,7 @@ function resolveOmoTaskSettings(input, resolveParallelism = availableParallelismconst record2 = record(string2(), unknown()).parse(input);return OmoTaskSettingsSchema.parse({...record2,- residency_max_children: record2["residency_max_children"] ?? Math.min(DEFAULT_RESIDENCY_MAX_CHILDREN, Math.max(8, resolveParallelism() * 2)),+ residency_max_children: record2["residency_max_children"] ?? DEFAULT_RESIDENCY_MAX_CHILDREN,global_concurrency: record2["global_concurrency"] ?? Math.max(8, resolveParallelism() * 2)});}@@ -7520,6 +7539,7 @@ var OmoTypedHarnessConfigSchema = object({model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional()}).strict();var OmoConfigProfileSchema = object({@@ -7534,6 +7554,7 @@ var OmoConfigProfileSchema = object({model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -7553,6 +7574,7 @@ var OmoConfigSchema = object({model_profile: string2().optional(),memory: OmoMemorySettingsSchema.optional(),telemetry: OmoTelemetrySettingsSchema.optional(),+ computer: OmoComputerSettingsSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -7575,6 +7597,7 @@ var OmoConfigLayerSchema = object({model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),diff --git a/plugins/omo/components/bootstrap/hooks/hooks.json b/plugins/omo/components/bootstrap/hooks/hooks.jsonindex f4466475..cf3790a2 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.0.1) Checking Bootstrap Provisioning"+ "statusMessage": "(OmO 5.1.0) Checking Bootstrap Provisioning"}]}diff --git a/plugins/omo/components/bootstrap/package.json b/plugins/omo/components/bootstrap/package.jsonindex ae6087bb..c91b3277 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.0.1",+ "version": "5.1.0","description": "Codex SessionStart bootstrap component that provisions LazyCodex runtime dependencies from a detached worker.","type": "module","private": true,diff --git a/plugins/omo/components/comment-checker/hooks/hooks.json b/plugins/omo/components/comment-checker/hooks/hooks.jsonindex 4bae53fe..4116807f 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.0.1) Checking Comments"+ "statusMessage": "(OmO 5.1.0) Checking Comments"}]}diff --git a/plugins/omo/components/comment-checker/package.json b/plugins/omo/components/comment-checker/package.jsonindex dca6daac..d9b3913d 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.0.1",+ "version": "5.1.0","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.jsonindex 9626beac..296e2791 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.0.1) Recommending Git Bash MCP"+ "statusMessage": "(OmO 5.1.0) 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.0.1) Resetting Git Bash MCP Reminder"+ "statusMessage": "(OmO 5.1.0) Resetting Git Bash MCP Reminder"}]}diff --git a/plugins/omo/components/git-bash/package.json b/plugins/omo/components/git-bash/package.jsonindex 8740779b..2b18d644 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.0.1",+ "version": "5.1.0","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.jsonindex 572fbe45..0d2b6443 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.0.1) Verifying LazyCodex Executor Evidence"+ "statusMessage": "(OmO 5.1.0) Verifying LazyCodex Executor Evidence"}]}diff --git a/plugins/omo/components/lazycodex-executor-verify/package.json b/plugins/omo/components/lazycodex-executor-verify/package.jsonindex c28740b4..90ab3998 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.0.1",+ "version": "5.1.0","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.jsonindex 4527f5e1..ea5dd8a1 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.0.1",- "inputDigest": "sha256:88aa873d30cdfeb3fd564cb466008d972119d6c7c72176021c38a615b8069998",+ "version": "5.1.0",+ "inputDigest": "sha256:402aa7e2b95ae6db7704d08ed85f10a6b069ec83aaef7afa7a383c073c29a003","outputs": [{"path": "cli.d.ts",diff --git a/plugins/omo/components/lsp/hooks/hooks.json b/plugins/omo/components/lsp/hooks/hooks.jsonindex 6e7196c4..957f4c1b 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.0.1) Checking LSP Diagnostics"+ "statusMessage": "(OmO 5.1.0) Checking LSP Diagnostics"}]}@@ -21,7 +21,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact","timeout": 5,- "statusMessage": "(OmO 5.0.1) Resetting LSP Diagnostics Cache"+ "statusMessage": "(OmO 5.1.0) Resetting LSP Diagnostics Cache"}]}diff --git a/plugins/omo/components/lsp/package.json b/plugins/omo/components/lsp/package.jsonindex 30bca3fa..370f42eb 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.0.1",+ "version": "5.1.0","description": "Codex plugin that exposes Language Server Protocol tools and post-edit diagnostics.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/rules/hooks/hooks.json b/plugins/omo/components/rules/hooks/hooks.jsonindex aa7a2c89..a9374a6b 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.0.1) Loading Project Rules"+ "statusMessage": "(OmO 5.1.0) 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.0.1) Loading Project Rules"+ "statusMessage": "(OmO 5.1.0) 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.0.1) Matching Project Rules"+ "statusMessage": "(OmO 5.1.0) Matching Project Rules"}]}@@ -45,7 +45,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact","timeout": 10,- "statusMessage": "(OmO 5.0.1) Resetting Project Rule Cache"+ "statusMessage": "(OmO 5.1.0) Resetting Project Rule Cache"}]}diff --git a/plugins/omo/components/rules/package.json b/plugins/omo/components/rules/package.jsonindex befdf69c..3b1c095d 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.0.1",+ "version": "5.1.0","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.jsonindex 159a681a..53859e39 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.0.1) Checking Thread Title Hygiene"+ "statusMessage": "(OmO 5.1.0) Checking Thread Title Hygiene"}]}diff --git a/plugins/omo/components/teammode/package.json b/plugins/omo/components/teammode/package.jsonindex 9a0cafbc..677bf622 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.0.1",+ "version": "5.1.0","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.jsonindex 1071d959..33d0e694 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.0.1) Recording Session Telemetry"+ "statusMessage": "(OmO 5.1.0) Recording Session Telemetry"}]}diff --git a/plugins/omo/components/telemetry/package.json b/plugins/omo/components/telemetry/package.jsonindex b852b556..261aa5a7 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.0.1",+ "version": "5.1.0","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.jsonindex e0fbe3f5..7a1e03a7 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.0.1) Checking Ultrawork Trigger"+ "statusMessage": "(OmO 5.1.0) Checking Ultrawork Trigger"}]}diff --git a/plugins/omo/components/ultrawork/package.json b/plugins/omo/components/ultrawork/package.jsonindex bf22e617..fddfaa77 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.0.1",+ "version": "5.1.0","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/ulw-execute-continuation/AGENTS.md b/plugins/omo/components/ulw-execute-continuation/AGENTS.mdindex f785709b..8b6347c5 100644--- a/plugins/omo/components/ulw-execute-continuation/AGENTS.md+++ b/plugins/omo/components/ulw-execute-continuation/AGENTS.md@@ -32,7 +32,7 @@ Conventions for human contributors and AI agents working on this repository.## Layout- `src/boulder-reader.ts`: reads `.omo/boulder.json`, resolves the active work for the session, re-exports `getPlanChecklist`/`PlanChecklist` from `plan-checklist.ts`. `readContinuationState` returns null in four cases: `boulder.json` is missing or unparseable, no work matches the session, the work status is not continuable (only `active` and `paused` continue - `completed`/`abandoned` stop), or `checklist.total === 0`.-- `src/plan-checklist.ts`: `PlanChecklist` (`completed`/`remaining`/`total`/`nextTaskLabel`) and `getPlanChecklist`/`parsePlanChecklist`. Counts structured `## TODOs` rows (`N. <title>`) and `## Final Verification Wave` rows (`F<number>. <title>`); falls back to simple top-level `- [ ]`/`- [x]` checkboxes. Skips fenced blocks and respects `#`/`##` section boundaries.+- `src/plan-checklist.ts`: `PlanChecklist` (`completed`/`remaining`/`total`/`nextTaskLabel`) and `getPlanChecklist`/`parsePlanChecklist`. Mirrors `@oh-my-opencode/boulder-state`'s grammar: counts structured `## TODOs` rows (`N` / `T<n>[.<n>[a]]`) and `## Final Verification Wave` rows (`F<n>` / `H<n>`), each followed by `.`, space, `-` or em-dash; falls back to simple top-level checkboxes when there are no structured sections, or when they count nothing while checkboxes sit under another heading. `[~]` (blocked) counts toward `total` only, never `completed` or `remaining`. Skips fenced blocks and respects `#`/`##` section boundaries.- `src/codex-hook.ts`: Stop hook; fills nine placeholders into `directive.md` - `PLAN_NAME`, `PLAN_PATH`, `BOULDER_PATH`, `REMAINING_COUNT`, `TOTAL_COUNT`, `NEXT_TASK_LABEL`, `WORKTREE_BLOCK`, `LEDGER_PATH`, `SESSION_ID`. `WORKTREE_BLOCK` renders empty when the work has no worktree. When `remaining === 0`, `nextTaskLabel` is null and renders as "none (final gate pending)". SubagentStop is intentionally accepted by the CLI as a no-op for compatibility, but never injects a root plan.- **Context-pressure suppression:** the hook reads `input.transcript_path` through the injected `ReadonlyFileSystem` and returns `""` (no continuation) when the transcript carries any context-pressure marker (`context compacted`, `context_length_exceeded`, `context_too_large`, `codex ran out of room in the model's context window`, and related phrasings). This is the safety valve against an infinite continuation loop once the context window is exhausted; it is pinned by a `#given context-window pressure` test.- `directive.md`: directive template with placeholders, applied per invocation.diff --git a/plugins/omo/components/ulw-execute-continuation/dist/cli.js b/plugins/omo/components/ulw-execute-continuation/dist/cli.jsindex 5c2b7842..927ad380 100755--- a/plugins/omo/components/ulw-execute-continuation/dist/cli.js+++ b/plugins/omo/components/ulw-execute-continuation/dist/cli.js@@ -14,9 +14,10 @@ var TODO_HEADING_PATTERN = /^##[ \t]+TODOs(?:[ \t]+#+)?[ \t]*$/i;var FINAL_VERIFICATION_HEADING_PATTERN = /^##[ \t]+Final Verification Wave(?:[ \t]+#+)?[ \t]*$/i;var SECTION_BOUNDARY_HEADING_PATTERN = /^#{1,2}(?:[ \t]+|$)/;var FENCE_PATTERN = /^[ \t]{0,3}(`{3,}|~{3,})(.*)$/;-var SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX]?)[ \t]*\][ \t]+(.+)$/;-var TODO_CHECKBOX_PATTERN = /^- \[([ xX])\] ([1-9]\d*\. .+)$/;-var FINAL_WAVE_CHECKBOX_PATTERN = /^- \[([ xX])\] (F[1-9]\d*\. .+)$/i;+var SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX~]?)[ \t]*\][ \t]+(.+)$/;+var STRUCTURED_CHECKBOX_PATTERN = /^- \[([ xX~])\] (.+)$/;+var TODO_TASK_LABEL_PATTERN = /^([1-9]\d*|T[1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;+var FINAL_WAVE_TASK_LABEL_PATTERN = /^([FH][1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;function getPlanChecklist(planPath) {if (!existsSync(planPath))return emptyChecklist();@@ -32,9 +33,8 @@ function parsePlanChecklist(markdown) {const lines = markdown.split(/\r?\n/);if (!hasStructuredSection(lines))return parseSimpleChecklist(lines);- let completed = 0;- let remaining = 0;- let nextTaskLabel = null;+ const counter = emptyCounter();+ let hasUntrackedTopLevelCheckbox = false;let section = "other";let fence = null;for (const line of lines) {@@ -52,19 +52,30 @@ function parsePlanChecklist(markdown) {section = parseStructuredSectionHeading(line);continue;}- if (section === "other")+ if (section === "other") {+ if (parseSimpleTopLevelCheckbox(line) !== null)+ hasUntrackedTopLevelCheckbox = true;continue;- const checkbox = parseStructuredCheckbox(line, section);- if (checkbox === null)- continue;- if (checkbox.checked)- completed += 1;- else {- remaining += 1;- nextTaskLabel = nextTaskLabel ?? checkbox.label;}+ const checkbox = parseStructuredCheckbox(line, section);+ if (checkbox !== null)+ countCheckbox(counter, checkbox);+ }+ if (counter.total === 0 && hasUntrackedTopLevelCheckbox)+ return parseSimpleChecklist(lines);+ return { ...counter };+}+function emptyCounter() {+ return { completed: 0, remaining: 0, total: 0, nextTaskLabel: null };+}+function countCheckbox(counter, checkbox) {+ counter.total += 1;+ if (checkbox.status === "done")+ counter.completed += 1;+ else if (checkbox.status === "open") {+ counter.remaining += 1;+ counter.nextTaskLabel = counter.nextTaskLabel ?? checkbox.label;}- return { completed, remaining, total: completed + remaining, nextTaskLabel };}function hasStructuredSection(lines) {let fence = null;@@ -85,9 +96,7 @@ function hasStructuredSection(lines) {return false;}function parseSimpleChecklist(lines) {- let completed = 0;- let remaining = 0;- let nextTaskLabel = null;+ const counter = emptyCounter();let fence = null;for (const line of lines) {if (fence !== null) {@@ -101,16 +110,10 @@ function parseSimpleChecklist(lines) {continue;}const checkbox = parseSimpleTopLevelCheckbox(line);- if (checkbox === null)- continue;- if (checkbox.checked)- completed += 1;- else {- remaining += 1;- nextTaskLabel = nextTaskLabel ?? checkbox.label;- }+ if (checkbox !== null)+ countCheckbox(counter, checkbox);}- return { completed, remaining, total: completed + remaining, nextTaskLabel };+ return { ...counter };}function parseStructuredSectionHeading(line) {if (TODO_HEADING_PATTERN.test(line))@@ -120,13 +123,15 @@ function parseStructuredSectionHeading(line) {return "other";}function parseStructuredCheckbox(line, section) {- const pattern = section === "todo" ? TODO_CHECKBOX_PATTERN : FINAL_WAVE_CHECKBOX_PATTERN;- const match = line.match(pattern);+ const match = line.match(STRUCTURED_CHECKBOX_PATTERN);const marker = match?.[1];const label = match?.[2];if (marker === undefined || label === undefined)return null;- return { checked: marker.toLowerCase() === "x", label };+ const labelPattern = section === "todo" ? TODO_TASK_LABEL_PATTERN : FINAL_WAVE_TASK_LABEL_PATTERN;+ if (!labelPattern.test(label))+ return null;+ return { status: parseCheckboxStatus(marker), label };}function parseSimpleTopLevelCheckbox(line) {const match = line.match(SIMPLE_CHECKBOX_PATTERN);@@ -134,7 +139,12 @@ function parseSimpleTopLevelCheckbox(line) {const label = match?.[2];if (marker === undefined || label === undefined)return null;- return { checked: marker.toLowerCase() === "x", label };+ return { status: parseCheckboxStatus(marker), label };+}+function parseCheckboxStatus(marker) {+ if (marker.toLowerCase() === "x")+ return "done";+ return marker === "~" ? "in-progress" : "open";}function parseOpeningFence(line) {const match = line.match(FENCE_PATTERN);diff --git a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.jsonindex b576e2d3..31d467ca 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.0.1) Checking Ulw-Execute Continuation"+ "statusMessage": "(OmO 5.1.0) Checking Ulw-Execute Continuation"}]}diff --git a/plugins/omo/components/ulw-execute-continuation/package.json b/plugins/omo/components/ulw-execute-continuation/package.jsonindex 27d6079c..8844c187 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.0.1",+ "version": "5.1.0","description": "Codex Stop hook continuation injector for omo-codex ulw-execute plans.","type": "module","packageManager": "[email protected]",diff --git a/plugins/omo/components/ulw-execute-continuation/src/plan-checklist.ts b/plugins/omo/components/ulw-execute-continuation/src/plan-checklist.tsindex 9f363b87..47badcd6 100644--- a/plugins/omo/components/ulw-execute-continuation/src/plan-checklist.ts+++ b/plugins/omo/components/ulw-execute-continuation/src/plan-checklist.ts@@ -11,17 +11,31 @@ const TODO_HEADING_PATTERN = /^##[ \t]+TODOs(?:[ \t]+#+)?[ \t]*$/i;const FINAL_VERIFICATION_HEADING_PATTERN = /^##[ \t]+Final Verification Wave(?:[ \t]+#+)?[ \t]*$/i;const SECTION_BOUNDARY_HEADING_PATTERN = /^#{1,2}(?:[ \t]+|$)/;const FENCE_PATTERN = /^[ \t]{0,3}(`{3,}|~{3,})(.*)$/;-const SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX]?)[ \t]*\][ \t]+(.+)$/;-const TODO_CHECKBOX_PATTERN = /^- \[([ xX])\] ([1-9]\d*\. .+)$/;-const FINAL_WAVE_CHECKBOX_PATTERN = /^- \[([ xX])\] (F[1-9]\d*\. .+)$/i;+const SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX~]?)[ \t]*\][ \t]+(.+)$/;+const STRUCTURED_CHECKBOX_PATTERN = /^- \[([ xX~])\] (.+)$/;+const TODO_TASK_LABEL_PATTERN =+ /^([1-9]\d*|T[1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;+const FINAL_WAVE_TASK_LABEL_PATTERN =+ /^([FH][1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;type ChecklistSection = "todo" | "final-wave" | "other";+// Mirrors @oh-my-opencode/boulder-state's plan grammar: `[~]` marks a blocked task that counts toward+// the total but is neither completed nor remaining work.+type CheckboxStatus = "open" | "done" | "in-progress";+type ParsedCheckbox = {- readonly checked: boolean;+ readonly status: CheckboxStatus;readonly label: string;};+type ChecklistCounter = {+ completed: number;+ remaining: number;+ total: number;+ nextTaskLabel: string | null;+};+type MarkdownFence = {readonly marker: "`" | "~";readonly length: number;@@ -42,9 +56,8 @@ export function parsePlanChecklist(markdown: string): PlanChecklist {const lines = markdown.split(/\r?\n/);if (!hasStructuredSection(lines)) return parseSimpleChecklist(lines);- let completed = 0;- let remaining = 0;- let nextTaskLabel: string | null = null;+ const counter = emptyCounter();+ let hasUntrackedTopLevelCheckbox = false;let section: ChecklistSection = "other";let fence: MarkdownFence | null = null;@@ -63,18 +76,32 @@ export function parsePlanChecklist(markdown: string): PlanChecklist {section = parseStructuredSectionHeading(line);continue;}- if (section === "other") continue;+ if (section === "other") {+ if (parseSimpleTopLevelCheckbox(line) !== null) hasUntrackedTopLevelCheckbox = true;+ continue;+ }const checkbox = parseStructuredCheckbox(line, section);- if (checkbox === null) continue;- if (checkbox.checked) completed += 1;- else {- remaining += 1;- nextTaskLabel = nextTaskLabel ?? checkbox.label;- }+ if (checkbox !== null) countCheckbox(counter, checkbox);}- return { completed, remaining, total: completed + remaining, nextTaskLabel };+ // Canonical headings that hold only template text while the real rows live under another heading+ // would otherwise count nothing; fall back to every top-level checkbox in that case.+ if (counter.total === 0 && hasUntrackedTopLevelCheckbox) return parseSimpleChecklist(lines);+ return { ...counter };+}++function emptyCounter(): ChecklistCounter {+ return { completed: 0, remaining: 0, total: 0, nextTaskLabel: null };+}++function countCheckbox(counter: ChecklistCounter, checkbox: ParsedCheckbox): void {+ counter.total += 1;+ if (checkbox.status === "done") counter.completed += 1;+ else if (checkbox.status === "open") {+ counter.remaining += 1;+ counter.nextTaskLabel = counter.nextTaskLabel ?? checkbox.label;+ }}function hasStructuredSection(lines: readonly string[]): boolean {@@ -95,9 +122,7 @@ function hasStructuredSection(lines: readonly string[]): boolean {}function parseSimpleChecklist(lines: readonly string[]): PlanChecklist {- let completed = 0;- let remaining = 0;- let nextTaskLabel: string | null = null;+ const counter = emptyCounter();let fence: MarkdownFence | null = null;for (const line of lines) {@@ -112,15 +137,10 @@ function parseSimpleChecklist(lines: readonly string[]): PlanChecklist {}const checkbox = parseSimpleTopLevelCheckbox(line);- if (checkbox === null) continue;- if (checkbox.checked) completed += 1;- else {- remaining += 1;- nextTaskLabel = nextTaskLabel ?? checkbox.label;- }+ if (checkbox !== null) countCheckbox(counter, checkbox);}- return { completed, remaining, total: completed + remaining, nextTaskLabel };+ return { ...counter };}function parseStructuredSectionHeading(line: string): ChecklistSection {@@ -130,12 +150,13 @@ function parseStructuredSectionHeading(line: string): ChecklistSection {}function parseStructuredCheckbox(line: string, section: "todo" | "final-wave"): ParsedCheckbox | null {- const pattern = section === "todo" ? TODO_CHECKBOX_PATTERN : FINAL_WAVE_CHECKBOX_PATTERN;- const match = line.match(pattern);+ const match = line.match(STRUCTURED_CHECKBOX_PATTERN);const marker = match?.[1];const label = match?.[2];if (marker === undefined || label === undefined) return null;- return { checked: marker.toLowerCase() === "x", label };+ const labelPattern = section === "todo" ? TODO_TASK_LABEL_PATTERN : FINAL_WAVE_TASK_LABEL_PATTERN;+ if (!labelPattern.test(label)) return null;+ return { status: parseCheckboxStatus(marker), label };}function parseSimpleTopLevelCheckbox(line: string): ParsedCheckbox | null {@@ -143,7 +164,12 @@ function parseSimpleTopLevelCheckbox(line: string): ParsedCheckbox | null {const marker = match?.[1];const label = match?.[2];if (marker === undefined || label === undefined) return null;- return { checked: marker.toLowerCase() === "x", label };+ return { status: parseCheckboxStatus(marker), label };+}++function parseCheckboxStatus(marker: string): CheckboxStatus {+ if (marker.toLowerCase() === "x") return "done";+ return marker === "~" ? "in-progress" : "open";}function parseOpeningFence(line: string): MarkdownFence | null {diff --git a/plugins/omo/components/ulw-execute-continuation/test/boulder-reader.test.ts b/plugins/omo/components/ulw-execute-continuation/test/boulder-reader.test.tsindex 60fc7d14..cf66b773 100644--- a/plugins/omo/components/ulw-execute-continuation/test/boulder-reader.test.ts+++ b/plugins/omo/components/ulw-execute-continuation/test/boulder-reader.test.ts@@ -64,6 +64,57 @@ describe("ulw-execute plan checklist consumption", () => {expect(checklist).toEqual({ completed: 1, remaining: 2, total: 3, nextTaskLabel: "1. Build hook" });});+ it("#given T, F and H task IDs and blocked rows #when parsed #then they count like the shared boulder-state parser", () => {+ // given+ const planPath = createPlan(+ [+ "## TODOs",+ "- [x] T1.1 Completed implementation",+ "- [~] T1.2 \u2014 Blocked on a user decision",+ "- [ ] T6.3a Remaining implementation",+ "## Final Verification Wave",+ "- [ ] F1 \u2014 Plan compliance audit",+ "- [x] H1 \u2014 User approval",+ ].join("\n"),+ );++ // when+ const checklist = getPlanChecklist(planPath);++ // then+ expect(checklist).toEqual({+ completed: 2,+ remaining: 2,+ total: 5,+ nextTaskLabel: "T6.3a Remaining implementation",+ });+ });++ it("#given template-only counted sections and rows under another heading #when parsed #then top-level rows are counted", () => {+ // given+ const planPath = createPlan(+ [+ "## TODOs",+ "Template task guidance.",+ "## Progress Tracker",+ "- [x] T1.1 \u2014 Schema",+ "- [~] T5.1 \u2014 Verification engine \u2014 BLOCKED: user decision",+ "- [ ] F5 \u2014 Delta verification",+ ].join("\n"),+ );++ // when+ const checklist = getPlanChecklist(planPath);++ // then+ expect(checklist).toEqual({+ completed: 1,+ remaining: 1,+ total: 3,+ nextTaskLabel: "F5 \u2014 Delta verification",+ });+ });+it("#given all top-level tasks complete #when parsed #then next task is null", () => {// givenconst planPath = createPlan(diff --git a/plugins/omo/components/ulw-loop/hooks/hooks.json b/plugins/omo/components/ulw-loop/hooks/hooks.jsonindex 487b8141..927afbed 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.0.1) Checking Ulw-Loop Steering"+ "statusMessage": "(OmO 5.1.0) 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.0.1) Recording Spawn Admission"+ "statusMessage": "(OmO 5.1.0) 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.0.1) Enforcing Unlimited Ulw-Loop Budget"+ "statusMessage": "(OmO 5.1.0) 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.0.1) Guarding Ulw-Loop Spawns"+ "statusMessage": "(OmO 5.1.0) Guarding Ulw-Loop Spawns"}]}@@ -56,7 +56,7 @@"type": "command","command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook stop","timeout": 10,- "statusMessage": "(OmO 5.0.1) Checking Ulw-Loop Resume"+ "statusMessage": "(OmO 5.1.0) Checking Ulw-Loop Resume"}]}diff --git a/plugins/omo/components/ulw-loop/package.json b/plugins/omo/components/ulw-loop/package.jsonindex 77777455..6ee705f1 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.0.1",+ "version": "5.1.0","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.jsindex 843701d0..c059de61 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.0.1",+ version: "5.1.0",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",@@ -98,6 +98,11 @@ var init_package = __esm(() => {"packages/omo-codex","packages/omo-senpi","packages/senpi-task",+ "packages/senpi-desktop-protocol",+ "packages/senpi-desktop-engine",+ "packages/senpi-desktop-prelude",+ "packages/senpi-desktop-service",+ "packages/senpi-desktop-tool","packages/omo-opencode","packages/omo-native"],@@ -199,7 +204,7 @@ var init_package = __esm(() => {prepublishOnly: "bun run clean && bun run build:lsp-tools-mcp && bun run build:lsp-daemon && bun run build","test:model-capabilities": "bun test --timeout 20000 packages/model-core/src/model-capability-aliases.test.ts packages/model-core/src/model-capability-guardrails.test.ts packages/model-core/src/model-capabilities.test.ts packages/omo-opencode/src/cli/doctor/checks/model-resolution.test.ts --bail",typecheck: "tsgo --noEmit && bun run typecheck:script && bun run typecheck:packages",- "typecheck:packages": "tsgo --noEmit -p packages/rules-engine/tsconfig.json && tsgo --noEmit -p packages/delegate-core/tsconfig.json && tsgo --noEmit -p packages/mcp-stdio-core/tsconfig.json && tsgo --noEmit -p packages/mcp-client-core/tsconfig.json && tsgo --noEmit -p packages/git-bash-mcp/tsconfig.json && tsgo --noEmit -p packages/ast-grep-mcp/tsconfig.json && tsgo --noEmit -p packages/lsp-core/tsconfig.json && tsgo --noEmit -p packages/utils/tsconfig.json && tsgo --noEmit -p packages/model-core/tsconfig.json && tsgo --noEmit -p packages/omo-config-core/tsconfig.json && tsgo --noEmit -p packages/prompts-core/tsconfig.json && tsgo --noEmit -p packages/comment-checker-core/tsconfig.json && tsgo --noEmit -p packages/hashline-core/tsconfig.json && tsgo --noEmit -p packages/tmux-core/tsconfig.json && tsgo --noEmit -p packages/team-core/tsconfig.json && tsgo --noEmit -p packages/openclaw-core/tsconfig.json && tsgo --noEmit -p packages/boulder-state/tsconfig.json && tsgo --noEmit -p packages/isolation-core/tsconfig.json && tsgo --noEmit -p packages/memory-core/tsconfig.json && tsgo --noEmit -p packages/telemetry-core/tsconfig.json && tsgo --noEmit -p packages/claude-code-compat-core/tsconfig.json && tsgo --noEmit -p packages/skills-loader-core/tsconfig.json && tsgo --noEmit -p packages/agents-md-core/tsconfig.json && tsgo --noEmit -p packages/omo-codex/plugin/shared/tsconfig.json && tsgo --noEmit -p packages/omo-codex/tsconfig.json && tsgo --noEmit -p packages/omo-senpi/tsconfig.json && tsgo --noEmit -p packages/senpi-task/tsconfig.json && tsgo --noEmit -p packages/omo-opencode/tsconfig.json && tsgo --noEmit -p packages/omo-native/tsconfig.json",+ "typecheck:packages": "tsgo --noEmit -p packages/rules-engine/tsconfig.json && tsgo --noEmit -p packages/delegate-core/tsconfig.json && tsgo --noEmit -p packages/mcp-stdio-core/tsconfig.json && tsgo --noEmit -p packages/mcp-client-core/tsconfig.json && tsgo --noEmit -p packages/git-bash-mcp/tsconfig.json && tsgo --noEmit -p packages/ast-grep-mcp/tsconfig.json && tsgo --noEmit -p packages/lsp-core/tsconfig.json && tsgo --noEmit -p packages/utils/tsconfig.json && tsgo --noEmit -p packages/model-core/tsconfig.json && tsgo --noEmit -p packages/omo-config-core/tsconfig.json && tsgo --noEmit -p packages/prompts-core/tsconfig.json && tsgo --noEmit -p packages/comment-checker-core/tsconfig.json && tsgo --noEmit -p packages/hashline-core/tsconfig.json && tsgo --noEmit -p packages/tmux-core/tsconfig.json && tsgo --noEmit -p packages/team-core/tsconfig.json && tsgo --noEmit -p packages/openclaw-core/tsconfig.json && tsgo --noEmit -p packages/boulder-state/tsconfig.json && tsgo --noEmit -p packages/isolation-core/tsconfig.json && tsgo --noEmit -p packages/memory-core/tsconfig.json && tsgo --noEmit -p packages/telemetry-core/tsconfig.json && tsgo --noEmit -p packages/claude-code-compat-core/tsconfig.json && tsgo --noEmit -p packages/skills-loader-core/tsconfig.json && tsgo --noEmit -p packages/agents-md-core/tsconfig.json && tsgo --noEmit -p packages/omo-codex/plugin/shared/tsconfig.json && tsgo --noEmit -p packages/omo-codex/tsconfig.json && tsgo --noEmit -p packages/omo-senpi/tsconfig.json && tsgo --noEmit -p packages/senpi-task/tsconfig.json && tsgo --noEmit -p packages/omo-opencode/tsconfig.json && tsgo --noEmit -p packages/omo-native/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-protocol/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-engine/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-prelude/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-service/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-tool/tsconfig.json","typecheck:script": "tsgo --noEmit -p script/tsconfig.json",test: "bun test --timeout 20000","changelog:section": "bun script/changelog-section.ts",@@ -208,7 +213,8 @@ var init_package = __esm(() => {"test:senpi": "bun run build:senpi-plugin && tsgo --noEmit -p packages/omo-senpi/tsconfig.json && bun test --timeout 20000 packages/omo-senpi && bun test ./.agents/skills/senpi-qa/scripts/resolve-evidence-dir.test.mjs","test:windows-codex": "bun run test:codex","build:git-bash-mcp": "bun run --cwd packages/git-bash-mcp build",- "build:ast-grep-mcp": "bun run --cwd packages/ast-grep-mcp build"+ "build:ast-grep-mcp": "bun run --cwd packages/ast-grep-mcp build",+ "test:desktop": "bun script/check-cargo-pinned-deps.mjs && bun run --cwd packages/senpi-desktop-protocol test && bun run --cwd packages/senpi-desktop-engine test && bun run --cwd packages/senpi-desktop-prelude test && bun run --cwd packages/senpi-desktop-service test && bun run --cwd packages/senpi-desktop-tool test"},keywords: ["opencode",@@ -248,7 +254,7 @@ var init_package = __esm(() => {zod: "^4.6.5"},devDependencies: {- "@code-yeongyu/senpi": "2026.9.27",+ "@code-yeongyu/senpi": "2026.9.28-7","@oh-my-opencode/agents-md-core": "workspace:*","@oh-my-opencode/ast-grep-mcp": "workspace:*","@oh-my-opencode/boulder-state": "workspace:*",@@ -257,11 +263,11 @@ var init_package = __esm(() => {"@oh-my-opencode/delegate-core": "workspace:*","@oh-my-opencode/git-bash-mcp": "workspace:*","@oh-my-opencode/hashline-core": "workspace:*",- "@oh-my-opencode/lsp-core": "workspace:*","@oh-my-opencode/isolation-core": "workspace:*",- "@oh-my-opencode/memory-core": "workspace:*",+ "@oh-my-opencode/lsp-core": "workspace:*","@oh-my-opencode/mcp-client-core": "workspace:*","@oh-my-opencode/mcp-stdio-core": "workspace:*",+ "@oh-my-opencode/memory-core": "workspace:*","@oh-my-opencode/model-core": "workspace:*","@oh-my-opencode/omo-codex": "workspace:*","@oh-my-opencode/omo-config-core": "workspace:*",@@ -270,6 +276,11 @@ var init_package = __esm(() => {"@oh-my-opencode/openclaw-core": "workspace:*","@oh-my-opencode/prompts-core": "workspace:*","@oh-my-opencode/rules-engine": "workspace:*",+ "@oh-my-opencode/senpi-desktop-engine": "workspace:*",+ "@oh-my-opencode/senpi-desktop-prelude": "workspace:*",+ "@oh-my-opencode/senpi-desktop-protocol": "workspace:*",+ "@oh-my-opencode/senpi-desktop-service": "workspace:*",+ "@oh-my-opencode/senpi-desktop-tool": "workspace:*","@oh-my-opencode/senpi-task": "workspace:*","@oh-my-opencode/shared-skills": "workspace:*","@oh-my-opencode/skills-loader-core": "workspace:*",@@ -289,18 +300,18 @@ var init_package = __esm(() => {typescript: "^7.0.2"},optionalDependencies: {- "oh-my-opencode-darwin-arm64": "5.0.1",- "oh-my-opencode-darwin-x64": "5.0.1",- "oh-my-opencode-darwin-x64-baseline": "5.0.1",- "oh-my-opencode-linux-arm64": "5.0.1",- "oh-my-opencode-linux-arm64-musl": "5.0.1",- "oh-my-opencode-linux-x64": "5.0.1",- "oh-my-opencode-linux-x64-baseline": "5.0.1",- "oh-my-opencode-linux-x64-musl": "5.0.1",- "oh-my-opencode-linux-x64-musl-baseline": "5.0.1",- "oh-my-opencode-windows-arm64": "5.0.1",- "oh-my-opencode-windows-x64": "5.0.1",- "oh-my-opencode-windows-x64-baseline": "5.0.1"+ "oh-my-opencode-darwin-arm64": "5.1.0",+ "oh-my-opencode-darwin-x64": "5.1.0",+ "oh-my-opencode-darwin-x64-baseline": "5.1.0",+ "oh-my-opencode-linux-arm64": "5.1.0",+ "oh-my-opencode-linux-arm64-musl": "5.1.0",+ "oh-my-opencode-linux-x64": "5.1.0",+ "oh-my-opencode-linux-x64-baseline": "5.1.0",+ "oh-my-opencode-linux-x64-musl": "5.1.0",+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.0",+ "oh-my-opencode-windows-arm64": "5.1.0",+ "oh-my-opencode-windows-x64": "5.1.0",+ "oh-my-opencode-windows-x64-baseline": "5.1.0"},overrides: {"@earendil-works/pi-agent-core": "0.84.2",@@ -6397,6 +6408,9 @@ function getActiveReservation(sessionID) {pruneExpiredReservations();return promptAsyncReservations.get(sessionID);}+function reservedDispatchResult(reservation) {+ return reservation.expiresAt === undefined ? { status: "reserved", reservedBy: reservation.source } : { status: "reserved", reservedBy: reservation.source, expiresAt: reservation.expiresAt };+}function setPromptReservation(sessionID, reservation) {promptAsyncReservations.set(sessionID, reservation);}@@ -6446,7 +6460,7 @@ async function dispatchAfterSessionIdle(args) {reservedBy: existing.source,reservedAgeMs: Date.now() - existing.reservedAt});- return { status: "reserved", reservedBy: existing.source };+ return reservedDispatchResult(existing);}const reservation = {source,@@ -6984,7 +6998,7 @@ async function dispatchInternalPrompt(args) {if (queueBehavior === "defer") {const activeReservation = getActiveReservation(sessionID);if (activeReservation) {- return { status: "reserved", reservedBy: activeReservation.source };+ return reservedDispatchResult(activeReservation);}const queuedBy = getQueuedPromptBlocker(sessionID);if (queuedBy !== undefined || isPromptQueueDraining(sessionID)) {@@ -8041,8 +8055,17 @@ var init_model_resolver = () => {};// packages/model-core/src/fallback-chain-from-models.tsvar init_fallback_chain_from_models = () => {};+// packages/model-core/src/runtime-fallback-auto-retry-signal.ts+var init_runtime_fallback_auto_retry_signal = () => {};++// packages/model-core/src/runtime-fallback-error-shape.ts+var init_runtime_fallback_error_shape = () => {};++// packages/model-core/src/runtime-fallback-error-classifier.ts+var init_runtime_fallback_error_classifier = () => {};+// packages/model-core/src/model-error-classifier.ts-var RETRYABLE_ERROR_NAMES, STOP_ERROR_NAMES, NON_RETRYABLE_ERROR_NAMES;+var RETRYABLE_ERROR_NAMES, NON_RETRYABLE_ERROR_NAMES;var init_model_error_classifier = __esm(() => {RETRYABLE_ERROR_NAMES = new Set(["providermodelnotfounderror",@@ -8051,11 +8074,6 @@ var init_model_error_classifier = __esm(() => {"providerconnectionerror","authenticationerror"]);- STOP_ERROR_NAMES = new Set([- "quotaexceedederror",- "insufficientcreditserror",- "freeusagelimiterror"- ]);NON_RETRYABLE_ERROR_NAMES = new Set(["messageabortederror","permissiondeniederror",@@ -8067,15 +8085,6 @@ var init_model_error_classifier = __esm(() => {]);});-// packages/model-core/src/runtime-fallback-auto-retry-signal.ts-var init_runtime_fallback_auto_retry_signal = () => {};--// packages/model-core/src/runtime-fallback-error-shape.ts-var init_runtime_fallback_error_shape = () => {};--// packages/model-core/src/runtime-fallback-error-classifier.ts-var init_runtime_fallback_error_classifier = () => {};-// packages/model-core/src/provider-exhaustion-fallback-policy.tsvar init_provider_exhaustion_fallback_policy = () => {};@@ -74415,6 +74424,29 @@ var init_category = __esm(() => {OmoCategoriesConfigSchema = record(string2(), OmoCategoryConfigSchema);});+// packages/omo-config-core/src/schema/computer.ts+var positiveInteger, nonNegativeInteger, OmoComputerSettingsLayerSchema, OmoComputerSettingsSchema;+var init_computer = __esm(() => {+ init_zod();+ positiveInteger = number2().int().positive();+ nonNegativeInteger = number2().int().nonnegative();+ OmoComputerSettingsLayerSchema = object({+ enabled: boolean2().describe("Experimental: register the computer tool in OmO Native sessions (default: on where the host is supported; false leaves it unregistered)"),+ display: string2().min(1),+ max_width: positiveInteger,+ max_height: positiveInteger,+ screenshot_max_bytes: positiveInteger,+ stop_hotkey: string2().min(1),+ allow_host_relay_only_stop: boolean2(),+ macos_canary: _enum(["session", "off"]),+ audit_log: object({ enabled: boolean2() }).partial().strict(),+ screenshot_gc: object({ enabled: boolean2(), stale_ms: nonNegativeInteger, scan_interval_ms: nonNegativeInteger }).partial().strict(),+ engine_path: string2().min(1),+ cua_adapter: boolean2()+ }).partial().strict().describe("Experimental computer use in OmO Native: screenshots, windows, accessibility trees and native mouse and keyboard input. Every key is optional; defaults depend on the host.");+ OmoComputerSettingsSchema = OmoComputerSettingsLayerSchema;+});+// packages/omo-config-core/src/schema/git-master.tsvar OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;var init_git_master = __esm(() => {@@ -74687,11 +74719,11 @@ function resolveOmoTaskSettings(input, resolveParallelism = availableParallelismconst record2 = record(string2(), unknown()).parse(input);return OmoTaskSettingsSchema.parse({...record2,- residency_max_children: record2["residency_max_children"] ?? Math.min(DEFAULT_RESIDENCY_MAX_CHILDREN, Math.max(8, resolveParallelism() * 2)),+ residency_max_children: record2["residency_max_children"] ?? DEFAULT_RESIDENCY_MAX_CHILDREN,global_concurrency: record2["global_concurrency"] ?? Math.max(8, resolveParallelism() * 2)});}-var DEFAULT_RESIDENCY_MAX_CHILDREN = 16, ResidencyMaxChildrenInputSchema, OmoTaskWaitSchema, OmoTaskTeamSettingsSchema, OmoTaskWarningsSchema, IsolationBackendKindSchema, OmoTaskIsolationSchema, isolationDefaults, OmoTaskIsolationLayerSchema, OmoTaskDagSettingsSchema, OmoTaskSettingsSchema, OmoTaskDagSettingsLayerSchema, OmoTaskWaitLayerSchema, OmoTaskTeamSettingsLayerSchema, OmoTaskWarningsLayerSchema, OmoTaskSettingsLayerSchema;+var DEFAULT_RESIDENCY_MAX_CHILDREN = "unlimited", ResidencyMaxChildrenInputSchema, OmoTaskWaitSchema, OmoTaskTeamSettingsSchema, OmoTaskWarningsSchema, IsolationBackendKindSchema, OmoTaskIsolationSchema, isolationDefaults, OmoTaskIsolationLayerSchema, OmoTaskDagSettingsSchema, OmoTaskSettingsSchema, OmoTaskDagSettingsLayerSchema, OmoTaskWaitLayerSchema, OmoTaskTeamSettingsLayerSchema, OmoTaskWarningsLayerSchema, OmoTaskSettingsLayerSchema;var init_task = __esm(() => {init_zod();ResidencyMaxChildrenInputSchema = union([number2().int().nonnegative(), literal("unlimited")]);@@ -74754,7 +74786,7 @@ var init_task = __esm(() => {provider_concurrency: record(string2(), number2().int().nonnegative()).optional(),model_concurrency: record(string2(), number2().int().nonnegative()).optional(),max_depth: number2().int().nonnegative().default(1),- residency_max_children: ResidencyMaxChildrenInputSchema.default(8),+ residency_max_children: ResidencyMaxChildrenInputSchema.default(DEFAULT_RESIDENCY_MAX_CHILDREN),resident_idle_timeout_ms: number2().int().positive().max(Number.MAX_SAFE_INTEGER).default(900000),ttl_ms: number2().int().positive().default(86400000),state_dir: string2().optional(),@@ -74905,6 +74937,7 @@ var init_config = __esm(() => {init_zod();init_agent();init_category();+ init_computer();init_git_master();init_memory();init_model_catalog();@@ -74927,6 +74960,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional()}).strict();OmoConfigProfileSchema = object({@@ -74941,6 +74975,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -74960,6 +74995,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsSchema.optional(),telemetry: OmoTelemetrySettingsSchema.optional(),+ computer: OmoComputerSettingsSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -74982,6 +75018,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -75127,6 +75164,7 @@ var init_schema = __esm(() => {init_task();init_team();init_telemetry();+ init_computer();});// packages/omo-config-core/src/loader/disabled-skills.ts@@ -85438,7 +85476,7 @@ class SyncSpanContextManager {var init_context = () => {};// node_modules/.bun/@[email protected]/node_modules/@posthog/core/dist/traces/config.mjs-function positiveInteger(value, fallback) {+function positiveInteger2(value, fallback) {return typeof value == "number" && Number.isInteger(value) && value >= 1 ? value : fallback;}function withUsableIdentityKeys(attributes) {@@ -85473,22 +85511,22 @@ function resolveTracesConfig(config, hostResourceAttributes, logger) {const resourceAttributes = assignUserAttributes({...hostResourceAttributes}, withUsableIdentityKeys(config?.resourceAttributes));- const maxExportBatchSize = positiveInteger(config?.maxExportBatchSize, DEFAULT_MAX_EXPORT_BATCH_SIZE);+ const maxExportBatchSize = positiveInteger2(config?.maxExportBatchSize, DEFAULT_MAX_EXPORT_BATCH_SIZE);return {serviceName: resourceAttributes?.["service.name"] ?? config?.serviceName,serviceVersion: resourceAttributes?.["service.version"] ?? config?.serviceVersion,environment: resourceAttributes?.["deployment.environment"] ?? config?.environment,resourceAttributes,beforeSpanSend: resolveBeforeSpanSend(config?.beforeSpanSend, logger),- maxAttributesPerSpan: positiveInteger(config?.maxAttributesPerSpan, DEFAULT_MAX_ATTRIBUTES_PER_SPAN),- maxEventsPerSpan: positiveInteger(config?.maxEventsPerSpan, DEFAULT_MAX_EVENTS_PER_SPAN),+ maxAttributesPerSpan: positiveInteger2(config?.maxAttributesPerSpan, DEFAULT_MAX_ATTRIBUTES_PER_SPAN),+ maxEventsPerSpan: positiveInteger2(config?.maxEventsPerSpan, DEFAULT_MAX_EVENTS_PER_SPAN),maxAttributesPerEvent: DEFAULT_MAX_ATTRIBUTES_PER_EVENT,- maxAttributeValueLength: positiveInteger(config?.maxAttributeValueLength, DEFAULT_MAX_ATTRIBUTE_VALUE_LENGTH),- flushIntervalMs: positiveInteger(config?.flushIntervalMs, DEFAULT_FLUSH_INTERVAL_MS2),+ maxAttributeValueLength: positiveInteger2(config?.maxAttributeValueLength, DEFAULT_MAX_ATTRIBUTE_VALUE_LENGTH),+ flushIntervalMs: positiveInteger2(config?.flushIntervalMs, DEFAULT_FLUSH_INTERVAL_MS2),maxExportBatchSize,- maxQueueSize: Math.max(positiveInteger(config?.maxQueueSize, DEFAULT_MAX_QUEUE_SIZE), maxExportBatchSize),- maxLiveSpans: positiveInteger(config?.maxLiveSpans, DEFAULT_MAX_LIVE_SPANS),- maxSpanAgeMs: positiveInteger(config?.maxSpanAgeMs, DEFAULT_MAX_SPAN_AGE_MS)+ maxQueueSize: Math.max(positiveInteger2(config?.maxQueueSize, DEFAULT_MAX_QUEUE_SIZE), maxExportBatchSize),+ maxLiveSpans: positiveInteger2(config?.maxLiveSpans, DEFAULT_MAX_LIVE_SPANS),+ maxSpanAgeMs: positiveInteger2(config?.maxSpanAgeMs, DEFAULT_MAX_SPAN_AGE_MS)};}var DEFAULT_FLUSH_INTERVAL_MS2 = 5000, DEFAULT_MAX_EXPORT_BATCH_SIZE = 512, DEFAULT_MAX_QUEUE_SIZE = 2048, DEFAULT_MAX_ATTRIBUTES_PER_SPAN = 128, DEFAULT_MAX_EVENTS_PER_SPAN = 128, DEFAULT_MAX_ATTRIBUTES_PER_EVENT = 128, DEFAULT_MAX_ATTRIBUTE_VALUE_LENGTH = 8192, DEFAULT_MAX_LIVE_SPANS = 1e4, DEFAULT_MAX_SPAN_AGE_MS = 3600000, IDENTITY_KEYS;@@ -89028,7 +89066,7 @@ var package_default2;var init_package2 = __esm(() => {package_default2 = {name: "@oh-my-opencode/omo-codex",- version: "5.0.1",+ version: "5.1.0",type: "module",private: true,description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",@@ -98178,6 +98216,8 @@ function isErrno(error, code) {var REQUIRED_PLUGIN_ARTIFACTS = [join62("extensions", "omo.js"),join62("extensions", "omo-task.js"),+ join62("extensions", "omo-computer-use.js"),+ join62("extensions", "assets.generated.json"),join62("extensions", "omo-member.js"),join62("extensions", "memory-run-supervisor.mjs"),...PERSONA_ASSET_FILES.map((filename) => join62("extensions", filename)),@@ -98369,7 +98409,7 @@ async function runNativeDevInstaller(options) {return runSenpiInstaller(options);}// packages/omo-opencode/src/cli/install-native/legacy-omo-bin.ts-import { lstatSync as lstatSync4, readFileSync as readFileSync15, realpathSync as realpathSync8 } from "node:fs";+import { lstatSync as lstatSync4, readFileSync as readFileSync15, realpathSync as realpathSync8, statSync as statSync4 } from "node:fs";import { dirname as dirname26, isAbsolute as isAbsolute12, join as join64, posix as posix9, win32 as win325 } from "node:path";var NATIVE_OMO_PACKAGE = "omo-ai";var LEGACY_OMO_BIN_PACKAGES = ["oh-my-openagent", "oh-my-opencode", "lazycodex"];@@ -98451,12 +98491,11 @@ function resolveOwner(binPath) {if (fromLink !== null)return fromLink;const shim = readShimText(binPath);- if (shim === null)- return null;- const lightWrapper = codexLightWrapperOwner(shim);+ const lightWrapper = shim === null ? null : codexLightWrapperOwner(shim);if (lightWrapper !== null)return lightWrapper;- for (const entry of shimEntryPaths(shim, dirname26(binPath))) {+ const entries = [...shim === null ? [] : shimEntryPaths(shim, dirname26(binPath)), ...bunxEntryPaths(binPath)];+ for (const entry of entries) {if (!isInsideNodeModules(entry) || !pathExists(entry))continue;const owner = ownerOfFile(entry);@@ -98477,6 +98516,23 @@ function shimEntryPaths(shim, shimDirectory) {}return paths;}+function bunxEntryPaths(binPath) {+ if (!/\.exe$/i.test(binPath))+ return [];+ const sidecar = `${binPath.slice(0, -4)}.bunx`;+ let contents;+ try {+ if (!statSync4(sidecar).isFile())+ return [];+ contents = readFileSync15(sidecar).toString("utf16le");+ } catch {+ return [];+ }+ const end = contents.indexOf('"\x00');+ if (end <= 0)+ return [];+ return [join64(dirname26(dirname26(binPath)), contents.slice(0, end).replace(/\\/g, "/"))];+}function codexLightWrapperOwner(shim) {if (!shim.includes(CODEX_LIGHT_WRAPPER_MARKER))return null;@@ -103406,20 +103462,41 @@ var BOULDER_FILE = "boulder.json";var BOULDER_STATE_PATH = `${BOULDER_DIR}/${BOULDER_FILE}`;var NOTEPAD_DIR = "notepads";var NOTEPAD_BASE_PATH = `${BOULDER_DIR}/${NOTEPAD_DIR}`;+// packages/boulder-state/src/markdown-fence.ts+var FENCE_PATTERN = /^[ \t]{0,3}(`{3,}|~{3,})(.*)$/;+function parseOpeningFence(line) {+ const match = line.match(FENCE_PATTERN);+ const run = match?.[1];+ const info = match?.[2];+ const marker = run?.charAt(0);+ if (run === undefined || info === undefined || marker !== "`" && marker !== "~" || marker === "`" && info.includes("`")) {+ return null;+ }+ return { marker, length: run.length };+}+function isClosingFence(line, fence) {+ const run = line.match(/^[ \t]{0,3}(`{3,}|~{3,})[ \t]*$/)?.[1];+ return run?.charAt(0) === fence.marker && run.length >= fence.length;+}+// packages/boulder-state/src/plan-checklist.ts-var SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX]?)[ \t]*\][ \t]+(.+)$/;+var SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX~]?)[ \t]*\][ \t]+(.+)$/;var TODO_HEADING_PATTERN = /^##[ \t]+TODOs(?:[ \t]+#+)?[ \t]*$/i;var FINAL_VERIFICATION_HEADING_PATTERN = /^##[ \t]+Final Verification Wave(?:[ \t]+#+)?[ \t]*$/i;var SECTION_BOUNDARY_HEADING_PATTERN = /^#{1,2}(?:[ \t]+|$)/;-var FENCE_PATTERN = /^[ \t]{0,3}(`{3,}|~{3,})(.*)$/;-var TODO_CHECKBOX_PATTERN = /^- \[([ xX])\] ([1-9]\d*\. .+)$/;-var FINAL_WAVE_CHECKBOX_PATTERN = /^- \[([ xX])\] (F[1-9]\d*\. .+)$/i;+var STRUCTURED_CHECKBOX_PATTERN = /^- \[([ xX~])\] (.+)$/;+var TODO_TASK_LABEL_PATTERN = /^([1-9]\d*|T[1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;+var FINAL_WAVE_TASK_LABEL_PATTERN = /^([FH][1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;function parsePlanChecklist(markdown) {const lines = markdown.split(/\r?\n/);if (!hasStructuredSection(lines)) {return parseSimpleChecklist(lines);}- return parseStructuredPlan(lines).checklist;+ const structuredPlan = parseStructuredPlan(lines);+ if (structuredPlan.checklist.total === 0 && structuredPlan.hasUntrackedTopLevelCheckbox) {+ return parseSimpleChecklist(lines);+ }+ return structuredPlan.checklist;}function parseCurrentTopLevelTask(markdown) {const lines = markdown.split(/\r?\n/);@@ -103429,10 +103506,12 @@ function parseCurrentTopLevelTask(markdown) {return parseStructuredPlan(lines).nextTask;}function parseStructuredPlan(lines) {+ let completed = 0;let remaining = 0;let total = 0;let nextTaskLabel = null;let nextTask = null;+ let hasUntrackedTopLevelCheckbox = false;let section = "other";let fence = null;for (const line of lines) {@@ -103452,6 +103531,9 @@ function parseStructuredPlan(lines) {continue;}if (section === "other") {+ if (parseSimpleTopLevelCheckbox(line) !== null) {+ hasUntrackedTopLevelCheckbox = true;+ }continue;}const checkbox = parseStructuredTopLevelCheckbox(line, section);@@ -103459,7 +103541,11 @@ function parseStructuredPlan(lines) {continue;}total += 1;- if (checkbox.checked) {+ if (checkbox.status === "done") {+ completed += 1;+ continue;+ }+ if (checkbox.status === "in-progress") {continue;}remaining += 1;@@ -103470,15 +103556,17 @@ function parseStructuredPlan(lines) {}return {checklist: {- completed: total - remaining,+ completed,remaining,total,nextTaskLabel},- nextTask+ nextTask,+ hasUntrackedTopLevelCheckbox};}function parseSimpleChecklist(lines) {+ let completed = 0;let remaining = 0;let total = 0;let nextTaskLabel = null;@@ -103500,7 +103588,11 @@ function parseSimpleChecklist(lines) {continue;}total += 1;- if (checkbox.checked) {+ if (checkbox.status === "done") {+ completed += 1;+ continue;+ }+ if (checkbox.status === "in-progress") {continue;}remaining += 1;@@ -103508,7 +103600,7 @@ function parseSimpleChecklist(lines) {nextTaskLabel = checkbox.label;}}- return { completed: total - remaining, remaining, total, nextTaskLabel };+ return { completed, remaining, total, nextTaskLabel };}function parseSimpleTopLevelCheckbox(line) {const match = line.match(SIMPLE_CHECKBOX_PATTERN);@@ -103517,7 +103609,13 @@ function parseSimpleTopLevelCheckbox(line) {if (marker === undefined || label === undefined) {return null;}- return { checked: marker.toLowerCase() === "x", label };+ return { status: parseCheckboxStatus(marker), label };+}+function parseCheckboxStatus(marker) {+ if (marker.toLowerCase() === "x") {+ return "done";+ }+ return marker === "~" ? "in-progress" : "open";}function hasStructuredSection(lines) {let fence = null;@@ -103549,8 +103647,7 @@ function parseStructuredSectionHeading(line) {return "other";}function parseStructuredTopLevelCheckbox(line, section) {- const pattern = section === "todo" ? TODO_CHECKBOX_PATTERN : FINAL_WAVE_CHECKBOX_PATTERN;- const match = line.match(pattern);+ const match = line.match(STRUCTURED_CHECKBOX_PATTERN);const marker = match?.[1];const label = match?.[2];if (marker === undefined || label === undefined) {@@ -103560,10 +103657,10 @@ function parseStructuredTopLevelCheckbox(line, section) {if (task === null) {return null;}- return { checked: marker.toLowerCase() === "x", label, task };+ return { status: parseCheckboxStatus(marker), label, task };}function buildTaskRef(section, label) {- const pattern = section === "todo" ? /^([1-9]\d*)\. (.+)$/ : /^(F[1-9]\d*)\. (.+)$/i;+ const pattern = section === "todo" ? TODO_TASK_LABEL_PATTERN : FINAL_WAVE_TASK_LABEL_PATTERN;const match = label.match(pattern);const rawLabel = match?.[1];const title = match?.[2];@@ -103577,20 +103674,6 @@ function buildTaskRef(section, label) {title};}-function parseOpeningFence(line) {- const match = line.match(FENCE_PATTERN);- const run = match?.[1];- const info = match?.[2];- const marker = run?.charAt(0);- if (run === undefined || info === undefined || marker !== "`" && marker !== "~" || marker === "`" && info.includes("`")) {- return null;- }- return { marker, length: run.length };-}-function isClosingFence(line, fence) {- const run = line.match(/^[ \t]{0,3}(`{3,}|~{3,})[ \t]*$/)?.[1];- return run?.charAt(0) === fence.marker && run.length >= fence.length;-}// packages/boulder-state/src/top-level-task.tsimport { existsSync as existsSync36, readFileSync as readFileSync19 } from "node:fs";function readCurrentTopLevelTask(planPath) {@@ -103632,7 +103715,7 @@ function resolveBoulderPlanPathForWork(directory, work) {return resolveBoulderPlanPath(directory, work);}// packages/boulder-state/src/storage/plan-progress.ts-import { existsSync as existsSync38, readFileSync as readFileSync20, readdirSync as readdirSync9, statSync as statSync4 } from "node:fs";+import { existsSync as existsSync38, readFileSync as readFileSync20, readdirSync as readdirSync9, statSync as statSync5 } from "node:fs";function getPlanProgress(planPath) {if (!existsSync38(planPath)) {return { total: 0, completed: 0, isComplete: false };@@ -104051,7 +104134,7 @@ async function hasActiveBoulderContinuation(directory, sessionID, client) {if (!boulder || !boulder.active_plan)return false;const progress = getPlanProgress(resolveBoulderPlanPath(directory, boulder));- if (progress.isComplete)+ if (progress.isComplete || progress.total === 0)return false;if (!client)return false;@@ -106249,13 +106332,14 @@ init_src();import { existsSync as existsSync55 } from "node:fs";import { createRequire as createRequire3 } from "node:module";import { homedir as homedir20 } from "node:os";-import { dirname as dirname33, join as join86 } from "node:path";+import { dirname as dirname33, join as join87 } from "node:path";// packages/omo-opencode/src/hooks/comment-checker/downloader.ts-import { join as join85 } from "path";+import { join as join86 } from "path";import { homedir as homedir19, tmpdir as tmpdir4 } from "os";// packages/comment-checker-core/src/release.tsimport { join as join84 } from "node:path";+var COMMENT_CHECKER_RELEASE_VERSION = "0.8.0";function commentCheckerBinaryName(platform) {return platform === "win32" ? "comment-checker.exe" : "comment-checker";}@@ -106268,12 +106352,23 @@ function commentCheckerCacheDir(input) {const base = input.env.XDG_CACHE_HOME || join84(input.homedir, ".cache");return join84(base, input.cacheDirName, "bin");}+// packages/comment-checker-core/src/cached-release.ts+import { readFileSync as readFileSync37, writeFileSync as writeFileSync12 } from "node:fs";+import { join as join85 } from "node:path";+var COMMENT_CHECKER_VERSION_MARKER = "comment-checker.version";+function isCachedCommentCheckerCurrent(cacheDir, readFile = (path) => readFileSync37(path, "utf-8")) {+ try {+ return readFile(join85(cacheDir, COMMENT_CHECKER_VERSION_MARKER)).trim() === COMMENT_CHECKER_RELEASE_VERSION;+ } catch {+ return false;+ }+}// packages/omo-opencode/src/hooks/comment-checker/downloader.tsinit_binary_downloader();init_logger2();init_plugin_identity();var DEBUG = process.env.COMMENT_CHECKER_DEBUG === "1";-var DEBUG_FILE = join85(tmpdir4(), "comment-checker-debug.log");+var DEBUG_FILE = join86(tmpdir4(), "comment-checker-debug.log");function getCacheDir2() {return commentCheckerCacheDir({platform: process.platform,@@ -106286,7 +106381,9 @@ function getBinaryName() {return commentCheckerBinaryName(process.platform);}function getCachedBinaryPath2() {- return getCachedBinaryPath(getCacheDir2(), getBinaryName());+ const cacheDir = getCacheDir2();+ const cached = getCachedBinaryPath(cacheDir, getBinaryName());+ return cached !== null && isCachedCommentCheckerCurrent(cacheDir) ? cached : null;}// packages/omo-opencode/src/cli/doctor/checks/dependencies.ts@@ -106330,7 +106427,7 @@ async function getBinaryVersion(binary) {}}async function checkAstGrepCli() {- const runtimeDir = astGrepRuntimeDir(join86(homedir20(), ".omo"));+ const runtimeDir = astGrepRuntimeDir(join87(homedir20(), ".omo"));const sgPath = findSgBinarySync({ runtimeDir });if (sgPath === null) {return {@@ -106360,10 +106457,10 @@ function findCommentCheckerPackageBinary(baseDirOverride, resolvePackageJsonPathconst platformKey = `${process.platform}-${process.arch === "x64" ? "x64" : process.arch}`;try {const packageDir = baseDirOverride ?? dirname33(resolvePackageJsonPath());- const vendorPath = join86(packageDir, "vendor", platformKey, binaryName);+ const vendorPath = join87(packageDir, "vendor", platformKey, binaryName);if (existsSync55(vendorPath))return vendorPath;- const binPath = join86(packageDir, "bin", binaryName);+ const binPath = join87(packageDir, "bin", binaryName);if (existsSync55(binPath))return binPath;} catch (error) {@@ -106510,7 +106607,7 @@ async function getGhCliInfo(dependencies = {}) {// packages/omo-opencode/src/mcp/lsp.tsinit_zod();init_opencode_config_dir();-import { existsSync as existsSync56, readFileSync as readFileSync37 } from "node:fs";+import { existsSync as existsSync56, readFileSync as readFileSync38 } from "node:fs";import { delimiter as delimiter3, dirname as dirname34, resolve as resolve23 } from "node:path";import { fileURLToPath as fileURLToPath7 } from "node:url";@@ -106654,7 +106751,7 @@ function findBootstrapRoot(candidates, pathExists) {}function readDaemonPackageVersion(root) {try {- const packageJson = JSON.parse(readFileSync37(resolve23(root, PACKAGE_REL, "package.json"), "utf-8"));+ const packageJson = JSON.parse(readFileSync38(resolve23(root, PACKAGE_REL, "package.json"), "utf-8"));return DaemonPackageSchema.parse(packageJson).version;} catch (error) {if (!(error instanceof Error))@@ -106737,15 +106834,15 @@ function getInstalledLspServers(options = {}) {// packages/omo-opencode/src/cli/doctor/checks/tools-mcp.tsinit_shared();-import { existsSync as existsSync57, readFileSync as readFileSync38 } from "node:fs";+import { existsSync as existsSync57, readFileSync as readFileSync39 } from "node:fs";import { homedir as homedir21 } from "node:os";-import { join as join87 } from "node:path";+import { join as join88 } from "node:path";var BUILTIN_MCP_SERVERS = ["websearch", "context7", "grep_app", "lsp"];function getMcpConfigPaths() {return [- join87(homedir21(), ".claude", ".mcp.json"),- join87(process.cwd(), ".mcp.json"),- join87(process.cwd(), ".claude", ".mcp.json")+ join88(homedir21(), ".claude", ".mcp.json"),+ join88(process.cwd(), ".mcp.json"),+ join88(process.cwd(), ".claude", ".mcp.json")];}function loadUserMcpConfig() {@@ -106754,7 +106851,7 @@ function loadUserMcpConfig() {if (!existsSync57(configPath))continue;try {- const content = readFileSync38(configPath, "utf-8");+ const content = readFileSync39(configPath, "utf-8");const config = parseJsonc(content);if (config.mcpServers) {Object.assign(servers, config.mcpServers);@@ -106889,7 +106986,7 @@ async function checkTools() {// packages/omo-opencode/src/cli/doctor/checks/telemetry.tsinit_src5();-import { existsSync as existsSync58, readFileSync as readFileSync39 } from "node:fs";+import { existsSync as existsSync58, readFileSync as readFileSync40 } from "node:fs";function isTelemetryState(value) {return value !== null && typeof value === "object" && !Array.isArray(value);}@@ -106899,7 +106996,7 @@ function readLastActiveDay(stateFilePath) {}let parsed;try {- parsed = JSON.parse(readFileSync39(stateFilePath, "utf-8"));+ parsed = JSON.parse(readFileSync40(stateFilePath, "utf-8"));} catch (error) {if (error instanceof Error) {return "unreadable";@@ -107027,7 +107124,7 @@ init_src();import { existsSync as existsSync59 } from "node:fs";import { lstat as lstat16, readdir as readdir14, readFile as readFile28 } from "node:fs/promises";import { homedir as homedir23 } from "node:os";-import { basename as basename12, join as join88, resolve as resolve24 } from "node:path";+import { basename as basename12, join as join89, resolve as resolve24 } from "node:path";// packages/omo-opencode/package.jsonvar package_default3 = {name: "@oh-my-opencode/omo-opencode",@@ -107097,13 +107194,13 @@ var CODEX_BIN_NAMES = ["omo-git-bash-hook"];async function gatherCodexSummary(deps = {}) {- const codexHome = resolve24(deps.codexHome ?? process.env.CODEX_HOME ?? join88(homedir23(), ".codex"));+ const codexHome = resolve24(deps.codexHome ?? process.env.CODEX_HOME ?? join89(homedir23(), ".codex"));const binDir = resolveCodexInstallerBinDir({ binDir: deps.binDir, codexHome, env: process.env });const detection = await (deps.detectCodexInstallation ?? detectCodexInstallation)();const pluginRoot = await resolveInstalledPluginRoot(codexHome);- const manifest = pluginRoot === null ? null : await readJson(join88(pluginRoot, ".codex-plugin", "plugin.json"));- const installSnapshot = pluginRoot === null ? null : await readJson(join88(pluginRoot, "lazycodex-install.json"));- const configPath = join88(codexHome, "config.toml");+ const manifest = pluginRoot === null ? null : await readJson(join89(pluginRoot, ".codex-plugin", "plugin.json"));+ const installSnapshot = pluginRoot === null ? null : await readJson(join89(pluginRoot, "lazycodex-install.json"));+ const configPath = join89(codexHome, "config.toml");const pluginVersion = stringField(manifest, "version");return {codexPath: detection.found && "path" in detection ? detection.path : null,@@ -107160,7 +107257,7 @@ function buildCodexIssues(summary) {if (summary.pluginRoot === null) {issues.push({title: "OMO Codex plugin is not installed",- description: `Expected cached plugin at ${join88("plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2, DEFAULT_PLUGIN_VERSION)} under CODEX_HOME.`,+ description: `Expected cached plugin at ${join89("plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2, DEFAULT_PLUGIN_VERSION)} under CODEX_HOME.`,fix: "Run: npx lazycodex-ai install",severity: "error",affects: ["plugin loading"]@@ -107225,12 +107322,12 @@ function buildCodexIssues(summary) {return issues;}async function resolveInstalledPluginRoot(codexHome) {- const pluginRoot = join88(codexHome, "plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2);+ const pluginRoot = join89(codexHome, "plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2);if (!existsSync59(pluginRoot))return null;const versions = await readdir14(pluginRoot, { withFileTypes: true });const candidates = versions.filter((entry) => entry.isDirectory()).map((entry) => entry.name).sort(compareVersionsDescending);- return candidates.length === 0 ? null : join88(pluginRoot, candidates[0] ?? DEFAULT_PLUGIN_VERSION);+ return candidates.length === 0 ? null : join89(pluginRoot, candidates[0] ?? DEFAULT_PLUGIN_VERSION);}async function readCodexConfigSummary(configPath) {if (!existsSync59(configPath)) {@@ -107258,13 +107355,13 @@ async function readCodexConfigSummary(configPath) {async function readLinkedBins(binDir) {const linked = [];for (const name of CODEX_BIN_NAMES) {- if (await pathExists3(join88(binDir, process.platform === "win32" ? `${name}.cmd` : name)))+ if (await pathExists3(join89(binDir, process.platform === "win32" ? `${name}.cmd` : name)))linked.push(name);}return linked;}async function readLinkedAgents(codexHome) {- const agentsDir = join88(codexHome, "agents");+ const agentsDir = join89(codexHome, "agents");if (!existsSync59(agentsDir))return [];const entries = await readdir14(agentsDir, { withFileTypes: true });@@ -107398,7 +107495,7 @@ function resolveLatestVersion(input) {init_src();import { readdir as readdir15, readFile as readFile29, stat as stat7 } from "node:fs/promises";import { homedir as homedir24 } from "node:os";-import { dirname as dirname35, isAbsolute as isAbsolute14, join as join89, relative as relative9, resolve as resolve25, sep as sep9 } from "node:path";+import { dirname as dirname35, isAbsolute as isAbsolute14, join as join90, relative as relative9, resolve as resolve25, sep as sep9 } from "node:path";var CODEX_COMPONENTS_CHECK_ID = "codex-components";var CODEX_COMPONENTS_CHECK_NAME = "codex-components";var PLUGIN_DATA_DIR_NAME = "omo-sisyphuslabs";@@ -107408,7 +107505,7 @@ async function checkCodexComponents(deps = {}) {const env = deps.env ?? process.env;const platform = deps.platform ?? process.platform;const arch = deps.arch ?? process.arch;- const codexHome = resolve25(deps.codexHome ?? env["CODEX_HOME"] ?? join89(homedir24(), ".codex"));+ const codexHome = resolve25(deps.codexHome ?? env["CODEX_HOME"] ?? join90(homedir24(), ".codex"));const summary = await gatherCodexSummary({ ...deps, codexHome });if (summary.pluginRoot === null) {return {@@ -107433,7 +107530,7 @@ async function checkCodexComponents(deps = {}) {});}const runtimeSgDir = runtimeSgDirectory(codexHome, platform, arch);- const runtimeSgPath = join89(runtimeSgDir, sgBinaryName(platform));+ const runtimeSgPath = join90(runtimeSgDir, sgBinaryName(platform));const sg = findSgBinarySync({arch,env,@@ -107545,7 +107642,7 @@ async function findManifestPaths(root, manifestName) {for (const entry of entries) {if (entry.name === "node_modules" || entry.name === ".git")continue;- const entryPath = join89(root, entry.name);+ const entryPath = join90(root, entry.name);if (entry.isDirectory()) {paths.push(...await findManifestPaths(entryPath, manifestName));continue;@@ -107589,18 +107686,18 @@ function isPluginRuntimePathArg(arg) {return normalized.endsWith(".js") && normalized.includes("/dist/") && (normalized.startsWith("./") || normalized.startsWith("../") || normalized.startsWith("components/") || normalized.startsWith("/") || isAbsolute14(arg));}function runtimeSgDirectory(codexHome, platform, arch) {- return join89(codexHome, "runtime", "ast-grep", runtimeSlug(platform, arch));+ return join90(codexHome, "runtime", "ast-grep", runtimeSlug(platform, arch));}function describeSgSource(sgPath, env, runtimeSgDir, platform) {const override = env[SG_PATH_ENV_KEY]?.trim();if (override !== undefined && override.length > 0 && sgPath === override)return `env override ${SG_PATH_ENV_KEY}`;- if (sgPath === join89(runtimeSgDir, sgBinaryName(platform)))+ if (sgPath === join90(runtimeSgDir, sgBinaryName(platform)))return "runtime dir";return "PATH";}async function readBootstrapStateSummary(codexHome) {- const statePath = join89(codexHome, "plugins", "data", PLUGIN_DATA_DIR_NAME, "bootstrap", "state.json");+ const statePath = join90(codexHome, "plugins", "data", PLUGIN_DATA_DIR_NAME, "bootstrap", "state.json");const raw = await readJson2(statePath);if (raw === null)return null;@@ -107679,16 +107776,16 @@ function isRecord18(value) {import { existsSync as existsSync60 } from "node:fs";import { readFile as readFile30 } from "node:fs/promises";import { homedir as homedir25 } from "node:os";-import { join as join90, resolve as resolve26 } from "node:path";+import { join as join91, resolve as resolve26 } from "node:path";var RUNTIME_WRAPPER_MARKER2 = "OMO_GENERATED_RUNTIME_WRAPPER";var CHECK_NAME = "codex-runtime-wrapper";var REINSTALL_COMMAND = "npx --yes lazycodex-ai@latest install --no-tui";async function checkCodexRuntimeWrapper(deps = {}) {- const codexHome = resolve26(deps.codexHome ?? process.env.CODEX_HOME ?? join90(homedir25(), ".codex"));+ const codexHome = resolve26(deps.codexHome ?? process.env.CODEX_HOME ?? join91(homedir25(), ".codex"));const binDir = resolveCodexInstallerBinDir({ binDir: deps.binDir, codexHome, env: process.env });const platform = deps.platform ?? process.platform;- const wrapperPath = join90(binDir, platform === "win32" ? "omo-agent-toolkit.cmd" : "omo-agent-toolkit");- const legacyWrapperPath = join90(binDir, platform === "win32" ? "omo.cmd" : "omo");+ const wrapperPath = join91(binDir, platform === "win32" ? "omo-agent-toolkit.cmd" : "omo-agent-toolkit");+ const legacyWrapperPath = join91(binDir, platform === "win32" ? "omo.cmd" : "omo");const [wrapper, legacyWrapper] = await Promise.all([readRuntimeWrapper(wrapperPath), readRuntimeWrapper(legacyWrapperPath)]);const issues = [];if (wrapper?.includes(RUNTIME_WRAPPER_MARKER2) === true) {@@ -108219,17 +108316,17 @@ import {existsSync as existsSync63,mkdirSync as mkdirSync17,readdirSync as readdirSync13,- readFileSync as readFileSync41,+ readFileSync as readFileSync42,renameSync as renameSync8,unlinkSync as unlinkSync9,- writeFileSync as writeFileSync13+ writeFileSync as writeFileSync14} from "node:fs";-import { basename as basename13, dirname as dirname36, join as join93 } from "node:path";+import { basename as basename13, dirname as dirname36, join as join94 } from "node:path";// packages/mcp-client-core/src/config-dir.tsimport { existsSync as existsSync61, realpathSync as realpathSync10 } from "node:fs";import { homedir as homedir26 } from "node:os";-import { join as join91, resolve as resolve27 } from "node:path";+import { join as join92, resolve as resolve27 } from "node:path";function resolveConfigPath2(pathValue) {const resolvedPath = resolve27(pathValue);if (!existsSync61(resolvedPath))@@ -108247,13 +108344,13 @@ function getOpenCodeCliConfigDir(env = process.env) {if (customConfigDir) {return resolveConfigPath2(customConfigDir);}- const xdgConfigDir = env["XDG_CONFIG_HOME"]?.trim() || join91(homedir26(), ".config");- return resolveConfigPath2(join91(xdgConfigDir, "opencode"));+ const xdgConfigDir = env["XDG_CONFIG_HOME"]?.trim() || join92(homedir26(), ".config");+ return resolveConfigPath2(join92(xdgConfigDir, "opencode"));}// packages/mcp-client-core/src/mcp-oauth/storage-index.ts-import { chmodSync as chmodSync4, existsSync as existsSync62, readFileSync as readFileSync40, renameSync as renameSync7, writeFileSync as writeFileSync12 } from "node:fs";-import { join as join92 } from "node:path";+import { chmodSync as chmodSync4, existsSync as existsSync62, readFileSync as readFileSync41, renameSync as renameSync7, writeFileSync as writeFileSync13 } from "node:fs";+import { join as join93 } from "node:path";var INDEX_FILE_NAME = "index.json";function isTokenIndex(value) {if (typeof value !== "object" || value === null || Array.isArray(value))@@ -108261,14 +108358,14 @@ function isTokenIndex(value) {return Object.values(value).every((entry) => typeof entry === "string");}function getIndexPath(storageDir) {- return join92(storageDir, INDEX_FILE_NAME);+ return join93(storageDir, INDEX_FILE_NAME);}function readTokenIndex(storageDir) {const indexPath = getIndexPath(storageDir);if (!existsSync62(indexPath))return {};try {- const parsed = JSON.parse(readFileSync40(indexPath, "utf-8"));+ const parsed = JSON.parse(readFileSync41(indexPath, "utf-8"));return isTokenIndex(parsed) ? parsed : {};} catch (readError) {if (!(readError instanceof Error))@@ -108280,7 +108377,7 @@ function writeTokenIndex(storageDir, index) {try {const indexPath = getIndexPath(storageDir);const tempPath = `${indexPath}.tmp.${Date.now()}`;- writeFileSync12(tempPath, JSON.stringify(index, null, 2), { encoding: "utf-8", mode: 384 });+ writeFileSync13(tempPath, JSON.stringify(index, null, 2), { encoding: "utf-8", mode: 384 });chmodSync4(tempPath, 384);renameSync7(tempPath, indexPath);return true;@@ -108305,16 +108402,16 @@ function deleteTokenIndexEntry(storageDir, hash) {var STORAGE_DIR_NAME = "mcp-oauth";var LEGACY_STORAGE_FILE_NAME = "mcp-oauth.json";function getMcpOauthStorageDir() {- return join93(getOpenCodeCliConfigDir(), STORAGE_DIR_NAME);+ return join94(getOpenCodeCliConfigDir(), STORAGE_DIR_NAME);}function getMcpOauthServerHash(serverHost, resource) {return createHash7("sha256").update(buildKey(serverHost, resource)).digest("hex").slice(0, 32);}function getMcpOauthStoragePath(serverHost, resource) {- return join93(getMcpOauthStorageDir(), `${getMcpOauthServerHash(serverHost, resource)}.json`);+ return join94(getMcpOauthStorageDir(), `${getMcpOauthServerHash(serverHost, resource)}.json`);}function getLegacyStoragePath() {- return join93(getOpenCodeCliConfigDir(), LEGACY_STORAGE_FILE_NAME);+ return join94(getOpenCodeCliConfigDir(), LEGACY_STORAGE_FILE_NAME);}function normalizeHost2(serverHost) {let host = serverHost.trim();@@ -108378,7 +108475,7 @@ function readTokenFile(filePath) {if (!existsSync63(filePath))return null;try {- const parsed = JSON.parse(readFileSync41(filePath, "utf-8"));+ const parsed = JSON.parse(readFileSync42(filePath, "utf-8"));return isOAuthTokenData(parsed) ? parsed : null;} catch (readError) {if (!(readError instanceof Error))@@ -108391,7 +108488,7 @@ function readLegacyStore() {if (!existsSync63(filePath))return null;try {- const parsed = JSON.parse(readFileSync41(filePath, "utf-8"));+ const parsed = JSON.parse(readFileSync42(filePath, "utf-8"));if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed))return null;const result = {};@@ -108413,7 +108510,7 @@ function writeTokenFile(filePath, token) {mkdirSync17(dir, { recursive: true });}const tempPath = `${filePath}.tmp.${Date.now()}`;- writeFileSync13(tempPath, JSON.stringify(token, null, 2), { encoding: "utf-8", mode: 384 });+ writeFileSync14(tempPath, JSON.stringify(token, null, 2), { encoding: "utf-8", mode: 384 });chmodSync5(tempPath, 384);renameSync8(tempPath, filePath);return true;@@ -108469,7 +108566,7 @@ function deleteLegacyToken(serverHost, resource) {function writeLegacyStore(store) {try {const filePath = getLegacyStoragePath();- writeFileSync13(filePath, JSON.stringify(store, null, 2), { encoding: "utf-8", mode: 384 });+ writeFileSync14(filePath, JSON.stringify(store, null, 2), { encoding: "utf-8", mode: 384 });chmodSync5(filePath, 384);return true;} catch (writeError) {@@ -108493,7 +108590,7 @@ function listTokensByHost(serverHost) {for (const [hash, indexedKey] of Object.entries(index)) {if (!indexedKey.startsWith(prefix))continue;- const indexedToken = readTokenFile(join93(getMcpOauthStorageDir(), `${hash}.json`));+ const indexedToken = readTokenFile(join94(getMcpOauthStorageDir(), `${hash}.json`));if (indexedToken)result[indexedKey] = indexedToken;}@@ -108508,7 +108605,7 @@ function listAllTokens() {for (const entry of readdirSync13(dir, { withFileTypes: true })) {if (!entry.isFile() || !entry.name.endsWith(".json") || entry.name === "index.json")continue;- const token = readTokenFile(join93(dir, entry.name));+ const token = readTokenFile(join94(dir, entry.name));const hash = basename13(entry.name, ".json");if (token)result[index[hash] ?? hash] = token;@@ -109232,7 +109329,7 @@ async function boulder(options) {}// packages/omo-opencode/src/cli/codex-ulw-loop.tsimport { spawn as spawn5 } from "node:child_process";-import { existsSync as existsSync65, readFileSync as readFileSync42, realpathSync as realpathSync11 } from "node:fs";+import { existsSync as existsSync65, readFileSync as readFileSync43, realpathSync as realpathSync11 } from "node:fs";import { homedir as homedir27 } from "node:os";var ULW_LOOP_DELEGATION_SENTINEL = "OMO_ULW_LOOP_DELEGATED";function resolveCodexUlwLoopCommand(input = {}) {@@ -109282,7 +109379,7 @@ function resolveLegacyLocalOmoBin(env, homeDir, currentExecutablePaths) {}function isGeneratedRuntimeWrapper(candidate) {try {- return readFileSync42(candidate, "utf8").includes(RUNTIME_WRAPPER_MARKER);+ return readFileSync43(candidate, "utf8").includes(RUNTIME_WRAPPER_MARKER);} catch (error) {if (error instanceof Error)return false;diff --git a/plugins/omo/dist/cli/index.js b/plugins/omo/dist/cli/index.jsindex 5e8e6612..580fe518 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.0.1",+ version: "5.1.0",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",@@ -97,6 +97,11 @@ var init_package = __esm(() => {"packages/omo-codex","packages/omo-senpi","packages/senpi-task",+ "packages/senpi-desktop-protocol",+ "packages/senpi-desktop-engine",+ "packages/senpi-desktop-prelude",+ "packages/senpi-desktop-service",+ "packages/senpi-desktop-tool","packages/omo-opencode","packages/omo-native"],@@ -198,7 +203,7 @@ var init_package = __esm(() => {prepublishOnly: "bun run clean && bun run build:lsp-tools-mcp && bun run build:lsp-daemon && bun run build","test:model-capabilities": "bun test --timeout 20000 packages/model-core/src/model-capability-aliases.test.ts packages/model-core/src/model-capability-guardrails.test.ts packages/model-core/src/model-capabilities.test.ts packages/omo-opencode/src/cli/doctor/checks/model-resolution.test.ts --bail",typecheck: "tsgo --noEmit && bun run typecheck:script && bun run typecheck:packages",- "typecheck:packages": "tsgo --noEmit -p packages/rules-engine/tsconfig.json && tsgo --noEmit -p packages/delegate-core/tsconfig.json && tsgo --noEmit -p packages/mcp-stdio-core/tsconfig.json && tsgo --noEmit -p packages/mcp-client-core/tsconfig.json && tsgo --noEmit -p packages/git-bash-mcp/tsconfig.json && tsgo --noEmit -p packages/ast-grep-mcp/tsconfig.json && tsgo --noEmit -p packages/lsp-core/tsconfig.json && tsgo --noEmit -p packages/utils/tsconfig.json && tsgo --noEmit -p packages/model-core/tsconfig.json && tsgo --noEmit -p packages/omo-config-core/tsconfig.json && tsgo --noEmit -p packages/prompts-core/tsconfig.json && tsgo --noEmit -p packages/comment-checker-core/tsconfig.json && tsgo --noEmit -p packages/hashline-core/tsconfig.json && tsgo --noEmit -p packages/tmux-core/tsconfig.json && tsgo --noEmit -p packages/team-core/tsconfig.json && tsgo --noEmit -p packages/openclaw-core/tsconfig.json && tsgo --noEmit -p packages/boulder-state/tsconfig.json && tsgo --noEmit -p packages/isolation-core/tsconfig.json && tsgo --noEmit -p packages/memory-core/tsconfig.json && tsgo --noEmit -p packages/telemetry-core/tsconfig.json && tsgo --noEmit -p packages/claude-code-compat-core/tsconfig.json && tsgo --noEmit -p packages/skills-loader-core/tsconfig.json && tsgo --noEmit -p packages/agents-md-core/tsconfig.json && tsgo --noEmit -p packages/omo-codex/plugin/shared/tsconfig.json && tsgo --noEmit -p packages/omo-codex/tsconfig.json && tsgo --noEmit -p packages/omo-senpi/tsconfig.json && tsgo --noEmit -p packages/senpi-task/tsconfig.json && tsgo --noEmit -p packages/omo-opencode/tsconfig.json && tsgo --noEmit -p packages/omo-native/tsconfig.json",+ "typecheck:packages": "tsgo --noEmit -p packages/rules-engine/tsconfig.json && tsgo --noEmit -p packages/delegate-core/tsconfig.json && tsgo --noEmit -p packages/mcp-stdio-core/tsconfig.json && tsgo --noEmit -p packages/mcp-client-core/tsconfig.json && tsgo --noEmit -p packages/git-bash-mcp/tsconfig.json && tsgo --noEmit -p packages/ast-grep-mcp/tsconfig.json && tsgo --noEmit -p packages/lsp-core/tsconfig.json && tsgo --noEmit -p packages/utils/tsconfig.json && tsgo --noEmit -p packages/model-core/tsconfig.json && tsgo --noEmit -p packages/omo-config-core/tsconfig.json && tsgo --noEmit -p packages/prompts-core/tsconfig.json && tsgo --noEmit -p packages/comment-checker-core/tsconfig.json && tsgo --noEmit -p packages/hashline-core/tsconfig.json && tsgo --noEmit -p packages/tmux-core/tsconfig.json && tsgo --noEmit -p packages/team-core/tsconfig.json && tsgo --noEmit -p packages/openclaw-core/tsconfig.json && tsgo --noEmit -p packages/boulder-state/tsconfig.json && tsgo --noEmit -p packages/isolation-core/tsconfig.json && tsgo --noEmit -p packages/memory-core/tsconfig.json && tsgo --noEmit -p packages/telemetry-core/tsconfig.json && tsgo --noEmit -p packages/claude-code-compat-core/tsconfig.json && tsgo --noEmit -p packages/skills-loader-core/tsconfig.json && tsgo --noEmit -p packages/agents-md-core/tsconfig.json && tsgo --noEmit -p packages/omo-codex/plugin/shared/tsconfig.json && tsgo --noEmit -p packages/omo-codex/tsconfig.json && tsgo --noEmit -p packages/omo-senpi/tsconfig.json && tsgo --noEmit -p packages/senpi-task/tsconfig.json && tsgo --noEmit -p packages/omo-opencode/tsconfig.json && tsgo --noEmit -p packages/omo-native/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-protocol/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-engine/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-prelude/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-service/tsconfig.json && tsgo --noEmit -p packages/senpi-desktop-tool/tsconfig.json","typecheck:script": "tsgo --noEmit -p script/tsconfig.json",test: "bun test --timeout 20000","changelog:section": "bun script/changelog-section.ts",@@ -207,7 +212,8 @@ var init_package = __esm(() => {"test:senpi": "bun run build:senpi-plugin && tsgo --noEmit -p packages/omo-senpi/tsconfig.json && bun test --timeout 20000 packages/omo-senpi && bun test ./.agents/skills/senpi-qa/scripts/resolve-evidence-dir.test.mjs","test:windows-codex": "bun run test:codex","build:git-bash-mcp": "bun run --cwd packages/git-bash-mcp build",- "build:ast-grep-mcp": "bun run --cwd packages/ast-grep-mcp build"+ "build:ast-grep-mcp": "bun run --cwd packages/ast-grep-mcp build",+ "test:desktop": "bun script/check-cargo-pinned-deps.mjs && bun run --cwd packages/senpi-desktop-protocol test && bun run --cwd packages/senpi-desktop-engine test && bun run --cwd packages/senpi-desktop-prelude test && bun run --cwd packages/senpi-desktop-service test && bun run --cwd packages/senpi-desktop-tool test"},keywords: ["opencode",@@ -247,7 +253,7 @@ var init_package = __esm(() => {zod: "^4.6.5"},devDependencies: {- "@code-yeongyu/senpi": "2026.9.27",+ "@code-yeongyu/senpi": "2026.9.28-7","@oh-my-opencode/agents-md-core": "workspace:*","@oh-my-opencode/ast-grep-mcp": "workspace:*","@oh-my-opencode/boulder-state": "workspace:*",@@ -256,11 +262,11 @@ var init_package = __esm(() => {"@oh-my-opencode/delegate-core": "workspace:*","@oh-my-opencode/git-bash-mcp": "workspace:*","@oh-my-opencode/hashline-core": "workspace:*",- "@oh-my-opencode/lsp-core": "workspace:*","@oh-my-opencode/isolation-core": "workspace:*",- "@oh-my-opencode/memory-core": "workspace:*",+ "@oh-my-opencode/lsp-core": "workspace:*","@oh-my-opencode/mcp-client-core": "workspace:*","@oh-my-opencode/mcp-stdio-core": "workspace:*",+ "@oh-my-opencode/memory-core": "workspace:*","@oh-my-opencode/model-core": "workspace:*","@oh-my-opencode/omo-codex": "workspace:*","@oh-my-opencode/omo-config-core": "workspace:*",@@ -269,6 +275,11 @@ var init_package = __esm(() => {"@oh-my-opencode/openclaw-core": "workspace:*","@oh-my-opencode/prompts-core": "workspace:*","@oh-my-opencode/rules-engine": "workspace:*",+ "@oh-my-opencode/senpi-desktop-engine": "workspace:*",+ "@oh-my-opencode/senpi-desktop-prelude": "workspace:*",+ "@oh-my-opencode/senpi-desktop-protocol": "workspace:*",+ "@oh-my-opencode/senpi-desktop-service": "workspace:*",+ "@oh-my-opencode/senpi-desktop-tool": "workspace:*","@oh-my-opencode/senpi-task": "workspace:*","@oh-my-opencode/shared-skills": "workspace:*","@oh-my-opencode/skills-loader-core": "workspace:*",@@ -288,18 +299,18 @@ var init_package = __esm(() => {typescript: "^7.0.2"},optionalDependencies: {- "oh-my-opencode-darwin-arm64": "5.0.1",- "oh-my-opencode-darwin-x64": "5.0.1",- "oh-my-opencode-darwin-x64-baseline": "5.0.1",- "oh-my-opencode-linux-arm64": "5.0.1",- "oh-my-opencode-linux-arm64-musl": "5.0.1",- "oh-my-opencode-linux-x64": "5.0.1",- "oh-my-opencode-linux-x64-baseline": "5.0.1",- "oh-my-opencode-linux-x64-musl": "5.0.1",- "oh-my-opencode-linux-x64-musl-baseline": "5.0.1",- "oh-my-opencode-windows-arm64": "5.0.1",- "oh-my-opencode-windows-x64": "5.0.1",- "oh-my-opencode-windows-x64-baseline": "5.0.1"+ "oh-my-opencode-darwin-arm64": "5.1.0",+ "oh-my-opencode-darwin-x64": "5.1.0",+ "oh-my-opencode-darwin-x64-baseline": "5.1.0",+ "oh-my-opencode-linux-arm64": "5.1.0",+ "oh-my-opencode-linux-arm64-musl": "5.1.0",+ "oh-my-opencode-linux-x64": "5.1.0",+ "oh-my-opencode-linux-x64-baseline": "5.1.0",+ "oh-my-opencode-linux-x64-musl": "5.1.0",+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.0",+ "oh-my-opencode-windows-arm64": "5.1.0",+ "oh-my-opencode-windows-x64": "5.1.0",+ "oh-my-opencode-windows-x64-baseline": "5.1.0"},overrides: {"@earendil-works/pi-agent-core": "0.84.2",@@ -6396,6 +6407,9 @@ function getActiveReservation(sessionID) {pruneExpiredReservations();return promptAsyncReservations.get(sessionID);}+function reservedDispatchResult(reservation) {+ return reservation.expiresAt === undefined ? { status: "reserved", reservedBy: reservation.source } : { status: "reserved", reservedBy: reservation.source, expiresAt: reservation.expiresAt };+}function setPromptReservation(sessionID, reservation) {promptAsyncReservations.set(sessionID, reservation);}@@ -6445,7 +6459,7 @@ async function dispatchAfterSessionIdle(args) {reservedBy: existing.source,reservedAgeMs: Date.now() - existing.reservedAt});- return { status: "reserved", reservedBy: existing.source };+ return reservedDispatchResult(existing);}const reservation = {source,@@ -6983,7 +6997,7 @@ async function dispatchInternalPrompt(args) {if (queueBehavior === "defer") {const activeReservation = getActiveReservation(sessionID);if (activeReservation) {- return { status: "reserved", reservedBy: activeReservation.source };+ return reservedDispatchResult(activeReservation);}const queuedBy = getQueuedPromptBlocker(sessionID);if (queuedBy !== undefined || isPromptQueueDraining(sessionID)) {@@ -8040,8 +8054,17 @@ var init_model_resolver = () => {};// packages/model-core/src/fallback-chain-from-models.tsvar init_fallback_chain_from_models = () => {};+// packages/model-core/src/runtime-fallback-auto-retry-signal.ts+var init_runtime_fallback_auto_retry_signal = () => {};++// packages/model-core/src/runtime-fallback-error-shape.ts+var init_runtime_fallback_error_shape = () => {};++// packages/model-core/src/runtime-fallback-error-classifier.ts+var init_runtime_fallback_error_classifier = () => {};+// packages/model-core/src/model-error-classifier.ts-var RETRYABLE_ERROR_NAMES, STOP_ERROR_NAMES, NON_RETRYABLE_ERROR_NAMES;+var RETRYABLE_ERROR_NAMES, NON_RETRYABLE_ERROR_NAMES;var init_model_error_classifier = __esm(() => {RETRYABLE_ERROR_NAMES = new Set(["providermodelnotfounderror",@@ -8050,11 +8073,6 @@ var init_model_error_classifier = __esm(() => {"providerconnectionerror","authenticationerror"]);- STOP_ERROR_NAMES = new Set([- "quotaexceedederror",- "insufficientcreditserror",- "freeusagelimiterror"- ]);NON_RETRYABLE_ERROR_NAMES = new Set(["messageabortederror","permissiondeniederror",@@ -8066,15 +8084,6 @@ var init_model_error_classifier = __esm(() => {]);});-// packages/model-core/src/runtime-fallback-auto-retry-signal.ts-var init_runtime_fallback_auto_retry_signal = () => {};--// packages/model-core/src/runtime-fallback-error-shape.ts-var init_runtime_fallback_error_shape = () => {};--// packages/model-core/src/runtime-fallback-error-classifier.ts-var init_runtime_fallback_error_classifier = () => {};-// packages/model-core/src/provider-exhaustion-fallback-policy.tsvar init_provider_exhaustion_fallback_policy = () => {};@@ -74336,6 +74345,29 @@ var init_category = __esm(() => {OmoCategoriesConfigSchema = record(string2(), OmoCategoryConfigSchema);});+// packages/omo-config-core/src/schema/computer.ts+var positiveInteger, nonNegativeInteger, OmoComputerSettingsLayerSchema, OmoComputerSettingsSchema;+var init_computer = __esm(() => {+ init_zod();+ positiveInteger = number2().int().positive();+ nonNegativeInteger = number2().int().nonnegative();+ OmoComputerSettingsLayerSchema = object({+ enabled: boolean2().describe("Experimental: register the computer tool in OmO Native sessions (default: on where the host is supported; false leaves it unregistered)"),+ display: string2().min(1),+ max_width: positiveInteger,+ max_height: positiveInteger,+ screenshot_max_bytes: positiveInteger,+ stop_hotkey: string2().min(1),+ allow_host_relay_only_stop: boolean2(),+ macos_canary: _enum(["session", "off"]),+ audit_log: object({ enabled: boolean2() }).partial().strict(),+ screenshot_gc: object({ enabled: boolean2(), stale_ms: nonNegativeInteger, scan_interval_ms: nonNegativeInteger }).partial().strict(),+ engine_path: string2().min(1),+ cua_adapter: boolean2()+ }).partial().strict().describe("Experimental computer use in OmO Native: screenshots, windows, accessibility trees and native mouse and keyboard input. Every key is optional; defaults depend on the host.");+ OmoComputerSettingsSchema = OmoComputerSettingsLayerSchema;+});+// packages/omo-config-core/src/schema/git-master.tsvar OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;var init_git_master = __esm(() => {@@ -74608,11 +74640,11 @@ function resolveOmoTaskSettings(input, resolveParallelism = availableParallelismconst record2 = record(string2(), unknown()).parse(input);return OmoTaskSettingsSchema.parse({...record2,- residency_max_children: record2["residency_max_children"] ?? Math.min(DEFAULT_RESIDENCY_MAX_CHILDREN, Math.max(8, resolveParallelism() * 2)),+ residency_max_children: record2["residency_max_children"] ?? DEFAULT_RESIDENCY_MAX_CHILDREN,global_concurrency: record2["global_concurrency"] ?? Math.max(8, resolveParallelism() * 2)});}-var DEFAULT_RESIDENCY_MAX_CHILDREN = 16, ResidencyMaxChildrenInputSchema, OmoTaskWaitSchema, OmoTaskTeamSettingsSchema, OmoTaskWarningsSchema, IsolationBackendKindSchema, OmoTaskIsolationSchema, isolationDefaults, OmoTaskIsolationLayerSchema, OmoTaskDagSettingsSchema, OmoTaskSettingsSchema, OmoTaskDagSettingsLayerSchema, OmoTaskWaitLayerSchema, OmoTaskTeamSettingsLayerSchema, OmoTaskWarningsLayerSchema, OmoTaskSettingsLayerSchema;+var DEFAULT_RESIDENCY_MAX_CHILDREN = "unlimited", ResidencyMaxChildrenInputSchema, OmoTaskWaitSchema, OmoTaskTeamSettingsSchema, OmoTaskWarningsSchema, IsolationBackendKindSchema, OmoTaskIsolationSchema, isolationDefaults, OmoTaskIsolationLayerSchema, OmoTaskDagSettingsSchema, OmoTaskSettingsSchema, OmoTaskDagSettingsLayerSchema, OmoTaskWaitLayerSchema, OmoTaskTeamSettingsLayerSchema, OmoTaskWarningsLayerSchema, OmoTaskSettingsLayerSchema;var init_task = __esm(() => {init_zod();ResidencyMaxChildrenInputSchema = union([number2().int().nonnegative(), literal("unlimited")]);@@ -74675,7 +74707,7 @@ var init_task = __esm(() => {provider_concurrency: record(string2(), number2().int().nonnegative()).optional(),model_concurrency: record(string2(), number2().int().nonnegative()).optional(),max_depth: number2().int().nonnegative().default(1),- residency_max_children: ResidencyMaxChildrenInputSchema.default(8),+ residency_max_children: ResidencyMaxChildrenInputSchema.default(DEFAULT_RESIDENCY_MAX_CHILDREN),resident_idle_timeout_ms: number2().int().positive().max(Number.MAX_SAFE_INTEGER).default(900000),ttl_ms: number2().int().positive().default(86400000),state_dir: string2().optional(),@@ -74826,6 +74858,7 @@ var init_config = __esm(() => {init_zod();init_agent();init_category();+ init_computer();init_git_master();init_memory();init_model_catalog();@@ -74848,6 +74881,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional()}).strict();OmoConfigProfileSchema = object({@@ -74862,6 +74896,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -74881,6 +74916,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsSchema.optional(),telemetry: OmoTelemetrySettingsSchema.optional(),+ computer: OmoComputerSettingsSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -74903,6 +74939,7 @@ var init_config = __esm(() => {model_profile: string2().optional(),memory: OmoMemorySettingsLayerSchema.optional(),telemetry: OmoTelemetrySettingsLayerSchema.optional(),+ computer: OmoComputerSettingsLayerSchema.optional(),disabled_skills: OmoDisabledSkillsSchema.optional(),"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),"[native]": OmoTypedHarnessConfigSchema.optional(),@@ -75048,6 +75085,7 @@ var init_schema = __esm(() => {init_task();init_team();init_telemetry();+ init_computer();});// packages/omo-config-core/src/loader/disabled-skills.ts@@ -85359,7 +85397,7 @@ class SyncSpanContextManager {var init_context = () => {};// node_modules/.bun/@[email protected]/node_modules/@posthog/core/dist/traces/config.mjs-function positiveInteger(value, fallback) {+function positiveInteger2(value, fallback) {return typeof value == "number" && Number.isInteger(value) && value >= 1 ? value : fallback;}function withUsableIdentityKeys(attributes) {@@ -85394,22 +85432,22 @@ function resolveTracesConfig(config, hostResourceAttributes, logger) {const resourceAttributes = assignUserAttributes({...hostResourceAttributes}, withUsableIdentityKeys(config?.resourceAttributes));- const maxExportBatchSize = positiveInteger(config?.maxExportBatchSize, DEFAULT_MAX_EXPORT_BATCH_SIZE);+ const maxExportBatchSize = positiveInteger2(config?.maxExportBatchSize, DEFAULT_MAX_EXPORT_BATCH_SIZE);return {serviceName: resourceAttributes?.["service.name"] ?? config?.serviceName,serviceVersion: resourceAttributes?.["service.version"] ?? config?.serviceVersion,environment: resourceAttributes?.["deployment.environment"] ?? config?.environment,resourceAttributes,beforeSpanSend: resolveBeforeSpanSend(config?.beforeSpanSend, logger),- maxAttributesPerSpan: positiveInteger(config?.maxAttributesPerSpan, DEFAULT_MAX_ATTRIBUTES_PER_SPAN),- maxEventsPerSpan: positiveInteger(config?.maxEventsPerSpan, DEFAULT_MAX_EVENTS_PER_SPAN),+ maxAttributesPerSpan: positiveInteger2(config?.maxAttributesPerSpan, DEFAULT_MAX_ATTRIBUTES_PER_SPAN),+ maxEventsPerSpan: positiveInteger2(config?.maxEventsPerSpan, DEFAULT_MAX_EVENTS_PER_SPAN),maxAttributesPerEvent: DEFAULT_MAX_ATTRIBUTES_PER_EVENT,- maxAttributeValueLength: positiveInteger(config?.maxAttributeValueLength, DEFAULT_MAX_ATTRIBUTE_VALUE_LENGTH),- flushIntervalMs: positiveInteger(config?.flushIntervalMs, DEFAULT_FLUSH_INTERVAL_MS2),+ maxAttributeValueLength: positiveInteger2(config?.maxAttributeValueLength, DEFAULT_MAX_ATTRIBUTE_VALUE_LENGTH),+ flushIntervalMs: positiveInteger2(config?.flushIntervalMs, DEFAULT_FLUSH_INTERVAL_MS2),maxExportBatchSize,- maxQueueSize: Math.max(positiveInteger(config?.maxQueueSize, DEFAULT_MAX_QUEUE_SIZE), maxExportBatchSize),- maxLiveSpans: positiveInteger(config?.maxLiveSpans, DEFAULT_MAX_LIVE_SPANS),- maxSpanAgeMs: positiveInteger(config?.maxSpanAgeMs, DEFAULT_MAX_SPAN_AGE_MS)+ maxQueueSize: Math.max(positiveInteger2(config?.maxQueueSize, DEFAULT_MAX_QUEUE_SIZE), maxExportBatchSize),+ maxLiveSpans: positiveInteger2(config?.maxLiveSpans, DEFAULT_MAX_LIVE_SPANS),+ maxSpanAgeMs: positiveInteger2(config?.maxSpanAgeMs, DEFAULT_MAX_SPAN_AGE_MS)};}var DEFAULT_FLUSH_INTERVAL_MS2 = 5000, DEFAULT_MAX_EXPORT_BATCH_SIZE = 512, DEFAULT_MAX_QUEUE_SIZE = 2048, DEFAULT_MAX_ATTRIBUTES_PER_SPAN = 128, DEFAULT_MAX_EVENTS_PER_SPAN = 128, DEFAULT_MAX_ATTRIBUTES_PER_EVENT = 128, DEFAULT_MAX_ATTRIBUTE_VALUE_LENGTH = 8192, DEFAULT_MAX_LIVE_SPANS = 1e4, DEFAULT_MAX_SPAN_AGE_MS = 3600000, IDENTITY_KEYS;@@ -88949,7 +88987,7 @@ var package_default2;var init_package2 = __esm(() => {package_default2 = {name: "@oh-my-opencode/omo-codex",- version: "5.0.1",+ version: "5.1.0",type: "module",private: true,description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",@@ -98099,6 +98137,8 @@ function isErrno(error, code) {var REQUIRED_PLUGIN_ARTIFACTS = [join62("extensions", "omo.js"),join62("extensions", "omo-task.js"),+ join62("extensions", "omo-computer-use.js"),+ join62("extensions", "assets.generated.json"),join62("extensions", "omo-member.js"),join62("extensions", "memory-run-supervisor.mjs"),...PERSONA_ASSET_FILES.map((filename) => join62("extensions", filename)),@@ -98290,7 +98330,7 @@ async function runNativeDevInstaller(options) {return runSenpiInstaller(options);}// packages/omo-opencode/src/cli/install-native/legacy-omo-bin.ts-import { lstatSync as lstatSync4, readFileSync as readFileSync15, realpathSync as realpathSync8 } from "fs";+import { lstatSync as lstatSync4, readFileSync as readFileSync15, realpathSync as realpathSync8, statSync as statSync4 } from "fs";import { dirname as dirname26, isAbsolute as isAbsolute12, join as join64, posix as posix9, win32 as win325 } from "path";var NATIVE_OMO_PACKAGE = "omo-ai";var LEGACY_OMO_BIN_PACKAGES = ["oh-my-openagent", "oh-my-opencode", "lazycodex"];@@ -98372,12 +98412,11 @@ function resolveOwner(binPath) {if (fromLink !== null)return fromLink;const shim = readShimText(binPath);- if (shim === null)- return null;- const lightWrapper = codexLightWrapperOwner(shim);+ const lightWrapper = shim === null ? null : codexLightWrapperOwner(shim);if (lightWrapper !== null)return lightWrapper;- for (const entry of shimEntryPaths(shim, dirname26(binPath))) {+ const entries = [...shim === null ? [] : shimEntryPaths(shim, dirname26(binPath)), ...bunxEntryPaths(binPath)];+ for (const entry of entries) {if (!isInsideNodeModules(entry) || !pathExists(entry))continue;const owner = ownerOfFile(entry);@@ -98398,6 +98437,23 @@ function shimEntryPaths(shim, shimDirectory) {}return paths;}+function bunxEntryPaths(binPath) {+ if (!/\.exe$/i.test(binPath))+ return [];+ const sidecar = `${binPath.slice(0, -4)}.bunx`;+ let contents;+ try {+ if (!statSync4(sidecar).isFile())+ return [];+ contents = readFileSync15(sidecar).toString("utf16le");+ } catch {+ return [];+ }+ const end = contents.indexOf('"\x00');+ if (end <= 0)+ return [];+ return [join64(dirname26(dirname26(binPath)), contents.slice(0, end).replace(/\\/g, "/"))];+}function codexLightWrapperOwner(shim) {if (!shim.includes(CODEX_LIGHT_WRAPPER_MARKER))return null;@@ -103327,20 +103383,41 @@ var BOULDER_FILE = "boulder.json";var BOULDER_STATE_PATH = `${BOULDER_DIR}/${BOULDER_FILE}`;var NOTEPAD_DIR = "notepads";var NOTEPAD_BASE_PATH = `${BOULDER_DIR}/${NOTEPAD_DIR}`;+// packages/boulder-state/src/markdown-fence.ts+var FENCE_PATTERN = /^[ \t]{0,3}(`{3,}|~{3,})(.*)$/;+function parseOpeningFence(line) {+ const match = line.match(FENCE_PATTERN);+ const run = match?.[1];+ const info = match?.[2];+ const marker = run?.charAt(0);+ if (run === undefined || info === undefined || marker !== "`" && marker !== "~" || marker === "`" && info.includes("`")) {+ return null;+ }+ return { marker, length: run.length };+}+function isClosingFence(line, fence) {+ const run = line.match(/^[ \t]{0,3}(`{3,}|~{3,})[ \t]*$/)?.[1];+ return run?.charAt(0) === fence.marker && run.length >= fence.length;+}+// packages/boulder-state/src/plan-checklist.ts-var SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX]?)[ \t]*\][ \t]+(.+)$/;+var SIMPLE_CHECKBOX_PATTERN = /^[-*][ \t]*\[[ \t]*([xX~]?)[ \t]*\][ \t]+(.+)$/;var TODO_HEADING_PATTERN = /^##[ \t]+TODOs(?:[ \t]+#+)?[ \t]*$/i;var FINAL_VERIFICATION_HEADING_PATTERN = /^##[ \t]+Final Verification Wave(?:[ \t]+#+)?[ \t]*$/i;var SECTION_BOUNDARY_HEADING_PATTERN = /^#{1,2}(?:[ \t]+|$)/;-var FENCE_PATTERN = /^[ \t]{0,3}(`{3,}|~{3,})(.*)$/;-var TODO_CHECKBOX_PATTERN = /^- \[([ xX])\] ([1-9]\d*\. .+)$/;-var FINAL_WAVE_CHECKBOX_PATTERN = /^- \[([ xX])\] (F[1-9]\d*\. .+)$/i;+var STRUCTURED_CHECKBOX_PATTERN = /^- \[([ xX~])\] (.+)$/;+var TODO_TASK_LABEL_PATTERN = /^([1-9]\d*|T[1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;+var FINAL_WAVE_TASK_LABEL_PATTERN = /^([FH][1-9]\d*(?:\.[1-9]\d*[a-z]?)?)(?:\.[ \t]+|[ \t]+(?:[-\u2014][ \t]+)?)(.+)$/i;function parsePlanChecklist(markdown) {const lines = markdown.split(/\r?\n/);if (!hasStructuredSection(lines)) {return parseSimpleChecklist(lines);}- return parseStructuredPlan(lines).checklist;+ const structuredPlan = parseStructuredPlan(lines);+ if (structuredPlan.checklist.total === 0 && structuredPlan.hasUntrackedTopLevelCheckbox) {+ return parseSimpleChecklist(lines);+ }+ return structuredPlan.checklist;}function parseCurrentTopLevelTask(markdown) {const lines = markdown.split(/\r?\n/);@@ -103350,10 +103427,12 @@ function parseCurrentTopLevelTask(markdown) {return parseStructuredPlan(lines).nextTask;}function parseStructuredPlan(lines) {+ let completed = 0;let remaining = 0;let total = 0;let nextTaskLabel = null;let nextTask = null;+ let hasUntrackedTopLevelCheckbox = false;let section = "other";let fence = null;for (const line of lines) {@@ -103373,6 +103452,9 @@ function parseStructuredPlan(lines) {continue;}if (section === "other") {+ if (parseSimpleTopLevelCheckbox(line) !== null) {+ hasUntrackedTopLevelCheckbox = true;+ }continue;}const checkbox = parseStructuredTopLevelCheckbox(line, section);@@ -103380,7 +103462,11 @@ function parseStructuredPlan(lines) {continue;}total += 1;- if (checkbox.checked) {+ if (checkbox.status === "done") {+ completed += 1;+ continue;+ }+ if (checkbox.status === "in-progress") {continue;}remaining += 1;@@ -103391,15 +103477,17 @@ function parseStructuredPlan(lines) {}return {checklist: {- completed: total - remaining,+ completed,remaining,total,nextTaskLabel},- nextTask+ nextTask,+ hasUntrackedTopLevelCheckbox};}function parseSimpleChecklist(lines) {+ let completed = 0;let remaining = 0;let total = 0;let nextTaskLabel = null;@@ -103421,7 +103509,11 @@ function parseSimpleChecklist(lines) {continue;}total += 1;- if (checkbox.checked) {+ if (checkbox.status === "done") {+ completed += 1;+ continue;+ }+ if (checkbox.status === "in-progress") {continue;}remaining += 1;@@ -103429,7 +103521,7 @@ function parseSimpleChecklist(lines) {nextTaskLabel = checkbox.label;}}- return { completed: total - remaining, remaining, total, nextTaskLabel };+ return { completed, remaining, total, nextTaskLabel };}function parseSimpleTopLevelCheckbox(line) {const match = line.match(SIMPLE_CHECKBOX_PATTERN);@@ -103438,7 +103530,13 @@ function parseSimpleTopLevelCheckbox(line) {if (marker === undefined || label === undefined) {return null;}- return { checked: marker.toLowerCase() === "x", label };+ return { status: parseCheckboxStatus(marker), label };+}+function parseCheckboxStatus(marker) {+ if (marker.toLowerCase() === "x") {+ return "done";+ }+ return marker === "~" ? "in-progress" : "open";}function hasStructuredSection(lines) {let fence = null;@@ -103470,8 +103568,7 @@ function parseStructuredSectionHeading(line) {return "other";}function parseStructuredTopLevelCheckbox(line, section) {- const pattern = section === "todo" ? TODO_CHECKBOX_PATTERN : FINAL_WAVE_CHECKBOX_PATTERN;- const match = line.match(pattern);+ const match = line.match(STRUCTURED_CHECKBOX_PATTERN);const marker = match?.[1];const label = match?.[2];if (marker === undefined || label === undefined) {@@ -103481,10 +103578,10 @@ function parseStructuredTopLevelCheckbox(line, section) {if (task === null) {return null;}- return { checked: marker.toLowerCase() === "x", label, task };+ return { status: parseCheckboxStatus(marker), label, task };}function buildTaskRef(section, label) {- const pattern = section === "todo" ? /^([1-9]\d*)\. (.+)$/ : /^(F[1-9]\d*)\. (.+)$/i;+ const pattern = section === "todo" ? TODO_TASK_LABEL_PATTERN : FINAL_WAVE_TASK_LABEL_PATTERN;const match = label.match(pattern);const rawLabel = match?.[1];const title = match?.[2];@@ -103498,20 +103595,6 @@ function buildTaskRef(section, label) {title};}-function parseOpeningFence(line) {- const match = line.match(FENCE_PATTERN);- const run = match?.[1];- const info = match?.[2];- const marker = run?.charAt(0);- if (run === undefined || info === undefined || marker !== "`" && marker !== "~" || marker === "`" && info.includes("`")) {- return null;- }- return { marker, length: run.length };-}-function isClosingFence(line, fence) {- const run = line.match(/^[ \t]{0,3}(`{3,}|~{3,})[ \t]*$/)?.[1];- return run?.charAt(0) === fence.marker && run.length >= fence.length;-}// packages/boulder-state/src/top-level-task.tsimport { existsSync as existsSync36, readFileSync as readFileSync19 } from "fs";function readCurrentTopLevelTask(planPath) {@@ -103553,7 +103636,7 @@ function resolveBoulderPlanPathForWork(directory, work) {return resolveBoulderPlanPath(directory, work);}// packages/boulder-state/src/storage/plan-progress.ts-import { existsSync as existsSync38, readFileSync as readFileSync20, readdirSync as readdirSync9, statSync as statSync4 } from "fs";+import { existsSync as existsSync38, readFileSync as readFileSync20, readdirSync as readdirSync9, statSync as statSync5 } from "fs";function getPlanProgress(planPath) {if (!existsSync38(planPath)) {return { total: 0, completed: 0, isComplete: false };@@ -103972,7 +104055,7 @@ async function hasActiveBoulderContinuation(directory, sessionID, client) {if (!boulder || !boulder.active_plan)return false;const progress = getPlanProgress(resolveBoulderPlanPath(directory, boulder));- if (progress.isComplete)+ if (progress.isComplete || progress.total === 0)return false;if (!client)return false;@@ -106170,13 +106253,14 @@ init_src();import { existsSync as existsSync55 } from "fs";import { createRequire as createRequire2 } from "module";import { homedir as homedir20 } from "os";-import { dirname as dirname33, join as join86 } from "path";+import { dirname as dirname33, join as join87 } from "path";// packages/omo-opencode/src/hooks/comment-checker/downloader.ts-import { join as join85 } from "path";+import { join as join86 } from "path";import { homedir as homedir19, tmpdir as tmpdir4 } from "os";// packages/comment-checker-core/src/release.tsimport { join as join84 } from "path";+var COMMENT_CHECKER_RELEASE_VERSION = "0.8.0";function commentCheckerBinaryName(platform) {return platform === "win32" ? "comment-checker.exe" : "comment-checker";}@@ -106189,12 +106273,23 @@ function commentCheckerCacheDir(input) {const base = input.env.XDG_CACHE_HOME || join84(input.homedir, ".cache");return join84(base, input.cacheDirName, "bin");}+// packages/comment-checker-core/src/cached-release.ts+import { readFileSync as readFileSync37, writeFileSync as writeFileSync12 } from "fs";+import { join as join85 } from "path";+var COMMENT_CHECKER_VERSION_MARKER = "comment-checker.version";+function isCachedCommentCheckerCurrent(cacheDir, readFile = (path) => readFileSync37(path, "utf-8")) {+ try {+ return readFile(join85(cacheDir, COMMENT_CHECKER_VERSION_MARKER)).trim() === COMMENT_CHECKER_RELEASE_VERSION;+ } catch {+ return false;+ }+}// packages/omo-opencode/src/hooks/comment-checker/downloader.tsinit_binary_downloader();init_logger2();init_plugin_identity();var DEBUG = process.env.COMMENT_CHECKER_DEBUG === "1";-var DEBUG_FILE = join85(tmpdir4(), "comment-checker-debug.log");+var DEBUG_FILE = join86(tmpdir4(), "comment-checker-debug.log");function getCacheDir2() {return commentCheckerCacheDir({platform: process.platform,@@ -106207,7 +106302,9 @@ function getBinaryName() {return commentCheckerBinaryName(process.platform);}function getCachedBinaryPath2() {- return getCachedBinaryPath(getCacheDir2(), getBinaryName());+ const cacheDir = getCacheDir2();+ const cached = getCachedBinaryPath(cacheDir, getBinaryName());+ return cached !== null && isCachedCommentCheckerCurrent(cacheDir) ? cached : null;}// packages/omo-opencode/src/cli/doctor/checks/dependencies.ts@@ -106251,7 +106348,7 @@ async function getBinaryVersion(binary) {}}async function checkAstGrepCli() {- const runtimeDir = astGrepRuntimeDir(join86(homedir20(), ".omo"));+ const runtimeDir = astGrepRuntimeDir(join87(homedir20(), ".omo"));const sgPath = findSgBinarySync({ runtimeDir });if (sgPath === null) {return {@@ -106281,10 +106378,10 @@ function findCommentCheckerPackageBinary(baseDirOverride, resolvePackageJsonPathconst platformKey = `${process.platform}-${process.arch === "x64" ? "x64" : process.arch}`;try {const packageDir = baseDirOverride ?? dirname33(resolvePackageJsonPath());- const vendorPath = join86(packageDir, "vendor", platformKey, binaryName);+ const vendorPath = join87(packageDir, "vendor", platformKey, binaryName);if (existsSync55(vendorPath))return vendorPath;- const binPath = join86(packageDir, "bin", binaryName);+ const binPath = join87(packageDir, "bin", binaryName);if (existsSync55(binPath))return binPath;} catch (error) {@@ -106431,7 +106528,7 @@ async function getGhCliInfo(dependencies = {}) {// packages/omo-opencode/src/mcp/lsp.tsinit_zod();init_opencode_config_dir();-import { existsSync as existsSync56, readFileSync as readFileSync37 } from "fs";+import { existsSync as existsSync56, readFileSync as readFileSync38 } from "fs";import { delimiter as delimiter3, dirname as dirname34, resolve as resolve23 } from "path";import { fileURLToPath as fileURLToPath7 } from "url";@@ -106575,7 +106672,7 @@ function findBootstrapRoot(candidates, pathExists) {}function readDaemonPackageVersion(root) {try {- const packageJson = JSON.parse(readFileSync37(resolve23(root, PACKAGE_REL, "package.json"), "utf-8"));+ const packageJson = JSON.parse(readFileSync38(resolve23(root, PACKAGE_REL, "package.json"), "utf-8"));return DaemonPackageSchema.parse(packageJson).version;} catch (error) {if (!(error instanceof Error))@@ -106658,15 +106755,15 @@ function getInstalledLspServers(options = {}) {// packages/omo-opencode/src/cli/doctor/checks/tools-mcp.tsinit_shared();-import { existsSync as existsSync57, readFileSync as readFileSync38 } from "fs";+import { existsSync as existsSync57, readFileSync as readFileSync39 } from "fs";import { homedir as homedir21 } from "os";-import { join as join87 } from "path";+import { join as join88 } from "path";var BUILTIN_MCP_SERVERS = ["websearch", "context7", "grep_app", "lsp"];function getMcpConfigPaths() {return [- join87(homedir21(), ".claude", ".mcp.json"),- join87(process.cwd(), ".mcp.json"),- join87(process.cwd(), ".claude", ".mcp.json")+ join88(homedir21(), ".claude", ".mcp.json"),+ join88(process.cwd(), ".mcp.json"),+ join88(process.cwd(), ".claude", ".mcp.json")];}function loadUserMcpConfig() {@@ -106675,7 +106772,7 @@ function loadUserMcpConfig() {if (!existsSync57(configPath))continue;try {- const content = readFileSync38(configPath, "utf-8");+ const content = readFileSync39(configPath, "utf-8");const config = parseJsonc(content);if (config.mcpServers) {Object.assign(servers, config.mcpServers);@@ -106810,7 +106907,7 @@ async function checkTools() {// packages/omo-opencode/src/cli/doctor/checks/telemetry.tsinit_src5();-import { existsSync as existsSync58, readFileSync as readFileSync39 } from "fs";+import { existsSync as existsSync58, readFileSync as readFileSync40 } from "fs";function isTelemetryState(value) {return value !== null && typeof value === "object" && !Array.isArray(value);}@@ -106820,7 +106917,7 @@ function readLastActiveDay(stateFilePath) {}let parsed;try {- parsed = JSON.parse(readFileSync39(stateFilePath, "utf-8"));+ parsed = JSON.parse(readFileSync40(stateFilePath, "utf-8"));} catch (error) {if (error instanceof Error) {return "unreadable";@@ -106948,7 +107045,7 @@ init_src();import { existsSync as existsSync59 } from "fs";import { lstat as lstat16, readdir as readdir14, readFile as readFile28 } from "fs/promises";import { homedir as homedir23 } from "os";-import { basename as basename12, join as join88, resolve as resolve24 } from "path";+import { basename as basename12, join as join89, resolve as resolve24 } from "path";// packages/omo-opencode/package.jsonvar package_default3 = {name: "@oh-my-opencode/omo-opencode",@@ -107018,13 +107115,13 @@ var CODEX_BIN_NAMES = ["omo-git-bash-hook"];async function gatherCodexSummary(deps = {}) {- const codexHome = resolve24(deps.codexHome ?? process.env.CODEX_HOME ?? join88(homedir23(), ".codex"));+ const codexHome = resolve24(deps.codexHome ?? process.env.CODEX_HOME ?? join89(homedir23(), ".codex"));const binDir = resolveCodexInstallerBinDir({ binDir: deps.binDir, codexHome, env: process.env });const detection = await (deps.detectCodexInstallation ?? detectCodexInstallation)();const pluginRoot = await resolveInstalledPluginRoot(codexHome);- const manifest = pluginRoot === null ? null : await readJson(join88(pluginRoot, ".codex-plugin", "plugin.json"));- const installSnapshot = pluginRoot === null ? null : await readJson(join88(pluginRoot, "lazycodex-install.json"));- const configPath = join88(codexHome, "config.toml");+ const manifest = pluginRoot === null ? null : await readJson(join89(pluginRoot, ".codex-plugin", "plugin.json"));+ const installSnapshot = pluginRoot === null ? null : await readJson(join89(pluginRoot, "lazycodex-install.json"));+ const configPath = join89(codexHome, "config.toml");const pluginVersion = stringField(manifest, "version");return {codexPath: detection.found && "path" in detection ? detection.path : null,@@ -107081,7 +107178,7 @@ function buildCodexIssues(summary) {if (summary.pluginRoot === null) {issues.push({title: "OMO Codex plugin is not installed",- description: `Expected cached plugin at ${join88("plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2, DEFAULT_PLUGIN_VERSION)} under CODEX_HOME.`,+ description: `Expected cached plugin at ${join89("plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2, DEFAULT_PLUGIN_VERSION)} under CODEX_HOME.`,fix: "Run: npx lazycodex-ai install",severity: "error",affects: ["plugin loading"]@@ -107146,12 +107243,12 @@ function buildCodexIssues(summary) {return issues;}async function resolveInstalledPluginRoot(codexHome) {- const pluginRoot = join88(codexHome, "plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2);+ const pluginRoot = join89(codexHome, "plugins", "cache", MARKETPLACE_NAME, PLUGIN_NAME2);if (!existsSync59(pluginRoot))return null;const versions = await readdir14(pluginRoot, { withFileTypes: true });const candidates = versions.filter((entry) => entry.isDirectory()).map((entry) => entry.name).sort(compareVersionsDescending);- return candidates.length === 0 ? null : join88(pluginRoot, candidates[0] ?? DEFAULT_PLUGIN_VERSION);+ return candidates.length === 0 ? null : join89(pluginRoot, candidates[0] ?? DEFAULT_PLUGIN_VERSION);}async function readCodexConfigSummary(configPath) {if (!existsSync59(configPath)) {@@ -107179,13 +107276,13 @@ async function readCodexConfigSummary(configPath) {async function readLinkedBins(binDir) {const linked = [];for (const name of CODEX_BIN_NAMES) {- if (await pathExists3(join88(binDir, process.platform === "win32" ? `${name}.cmd` : name)))+ if (await pathExists3(join89(binDir, process.platform === "win32" ? `${name}.cmd` : name)))linked.push(name);}return linked;}async function readLinkedAgents(codexHome) {- const agentsDir = join88(codexHome, "agents");+ const agentsDir = join89(codexHome, "agents");if (!existsSync59(agentsDir))return [];const entries = await readdir14(agentsDir, { withFileTypes: true });@@ -107319,7 +107416,7 @@ function resolveLatestVersion(input) {init_src();import { readdir as readdir15, readFile as readFile29, stat as stat7 } from "fs/promises";import { homedir as homedir24 } from "os";-import { dirname as dirname35, isAbsolute as isAbsolute14, join as join89, relative as relative9, resolve as resolve25, sep as sep9 } from "path";+import { dirname as dirname35, isAbsolute as isAbsolute14, join as join90, relative as relative9, resolve as resolve25, sep as sep9 } from "path";var CODEX_COMPONENTS_CHECK_ID = "codex-components";var CODEX_COMPONENTS_CHECK_NAME = "codex-components";var PLUGIN_DATA_DIR_NAME = "omo-sisyphuslabs";@@ -107329,7 +107426,7 @@ async function checkCodexComponents(deps = {}) {const env = deps.env ?? process.env;const platform = deps.platform ?? process.platform;const arch = deps.arch ?? process.arch;- const codexHome = resolve25(deps.codexHome ?? env["CODEX_HOME"] ?? join89(homedir24(), ".codex"));+ const codexHome = resolve25(deps.codexHome ?? env["CODEX_HOME"] ?? join90(homedir24(), ".codex"));const summary = await gatherCodexSummary({ ...deps, codexHome });if (summary.pluginRoot === null) {return {@@ -107354,7 +107451,7 @@ async function checkCodexComponents(deps = {}) {});}const runtimeSgDir = runtimeSgDirectory(codexHome, platform, arch);- const runtimeSgPath = join89(runtimeSgDir, sgBinaryName(platform));+ const runtimeSgPath = join90(runtimeSgDir, sgBinaryName(platform));const sg = findSgBinarySync({arch,env,@@ -107466,7 +107563,7 @@ async function findManifestPaths(root, manifestName) {for (const entry of entries) {if (entry.name === "node_modules" || entry.name === ".git")continue;- const entryPath = join89(root, entry.name);+ const entryPath = join90(root, entry.name);if (entry.isDirectory()) {paths.push(...await findManifestPaths(entryPath, manifestName));continue;@@ -107510,18 +107607,18 @@ function isPluginRuntimePathArg(arg) {return normalized.endsWith(".js") && normalized.includes("/dist/") && (normalized.startsWith("./") || normalized.startsWith("../") || normalized.startsWith("components/") || normalized.startsWith("/") || isAbsolute14(arg));}function runtimeSgDirectory(codexHome, platform, arch) {- return join89(codexHome, "runtime", "ast-grep", runtimeSlug(platform, arch));+ return join90(codexHome, "runtime", "ast-grep", runtimeSlug(platform, arch));}function describeSgSource(sgPath, env, runtimeSgDir, platform) {const override = env[SG_PATH_ENV_KEY]?.trim();if (override !== undefined && override.length > 0 && sgPath === override)return `env override ${SG_PATH_ENV_KEY}`;- if (sgPath === join89(runtimeSgDir, sgBinaryName(platform)))+ if (sgPath === join90(runtimeSgDir, sgBinaryName(platform)))return "runtime dir";return "PATH";}async function readBootstrapStateSummary(codexHome) {- const statePath = join89(codexHome, "plugins", "data", PLUGIN_DATA_DIR_NAME, "bootstrap", "state.json");+ const statePath = join90(codexHome, "plugins", "data", PLUGIN_DATA_DIR_NAME, "bootstrap", "state.json");const raw = await readJson2(statePath);if (raw === null)return null;@@ -107600,16 +107697,16 @@ function isRecord18(value) {import { existsSync as existsSync60 } from "fs";import { readFile as readFile30 } from "fs/promises";import { homedir as homedir25 } from "os";-import { join as join90, resolve as resolve26 } from "path";+import { join as join91, resolve as resolve26 } from "path";var RUNTIME_WRAPPER_MARKER2 = "OMO_GENERATED_RUNTIME_WRAPPER";var CHECK_NAME = "codex-runtime-wrapper";var REINSTALL_COMMAND = "npx --yes lazycodex-ai@latest install --no-tui";async function checkCodexRuntimeWrapper(deps = {}) {- const codexHome = resolve26(deps.codexHome ?? process.env.CODEX_HOME ?? join90(homedir25(), ".codex"));+ const codexHome = resolve26(deps.codexHome ?? process.env.CODEX_HOME ?? join91(homedir25(), ".codex"));const binDir = resolveCodexInstallerBinDir({ binDir: deps.binDir, codexHome, env: process.env });const platform = deps.platform ?? process.platform;- const wrapperPath = join90(binDir, platform === "win32" ? "omo-agent-toolkit.cmd" : "omo-agent-toolkit");- const legacyWrapperPath = join90(binDir, platform === "win32" ? "omo.cmd" : "omo");+ const wrapperPath = join91(binDir, platform === "win32" ? "omo-agent-toolkit.cmd" : "omo-agent-toolkit");+ const legacyWrapperPath = join91(binDir, platform === "win32" ? "omo.cmd" : "omo");const [wrapper, legacyWrapper] = await Promise.all([readRuntimeWrapper(wrapperPath), readRuntimeWrapper(legacyWrapperPath)]);const issues = [];if (wrapper?.includes(RUNTIME_WRAPPER_MARKER2) === true) {@@ -108140,17 +108237,17 @@ import {existsSync as existsSync63,mkdirSync as mkdirSync17,readdirSync as readdirSync13,- readFileSync as readFileSync41,+ readFileSync as readFileSync42,renameSync as renameSync8,unlinkSync as unlinkSync9,- writeFileSync as writeFileSync13+ writeFileSync as writeFileSync14} from "fs";-import { basename as basename13, dirname as dirname36, join as join93 } from "path";+import { basename as basename13, dirname as dirname36, join as join94 } from "path";// packages/mcp-client-core/src/config-dir.tsimport { existsSync as existsSync61, realpathSync as realpathSync10 } from "fs";import { homedir as homedir26 } from "os";-import { join as join91, resolve as resolve27 } from "path";+import { join as join92, resolve as resolve27 } from "path";function resolveConfigPath2(pathValue) {const resolvedPath = resolve27(pathValue);if (!existsSync61(resolvedPath))@@ -108168,13 +108265,13 @@ function getOpenCodeCliConfigDir(env = process.env) {if (customConfigDir) {return resolveConfigPath2(customConfigDir);}- const xdgConfigDir = env["XDG_CONFIG_HOME"]?.trim() || join91(homedir26(), ".config");- return resolveConfigPath2(join91(xdgConfigDir, "opencode"));+ const xdgConfigDir = env["XDG_CONFIG_HOME"]?.trim() || join92(homedir26(), ".config");+ return resolveConfigPath2(join92(xdgConfigDir, "opencode"));}// packages/mcp-client-core/src/mcp-oauth/storage-index.ts-import { chmodSync as chmodSync4, existsSync as existsSync62, readFileSync as readFileSync40, renameSync as renameSync7, writeFileSync as writeFileSync12 } from "fs";-import { join as join92 } from "path";+import { chmodSync as chmodSync4, existsSync as existsSync62, readFileSync as readFileSync41, renameSync as renameSync7, writeFileSync as writeFileSync13 } from "fs";+import { join as join93 } from "path";var INDEX_FILE_NAME = "index.json";function isTokenIndex(value) {if (typeof value !== "object" || value === null || Array.isArray(value))@@ -108182,14 +108279,14 @@ function isTokenIndex(value) {return Object.values(value).every((entry) => typeof entry === "string");}function getIndexPath(storageDir) {- return join92(storageDir, INDEX_FILE_NAME);+ return join93(storageDir, INDEX_FILE_NAME);}function readTokenIndex(storageDir) {const indexPath = getIndexPath(storageDir);if (!existsSync62(indexPath))return {};try {- const parsed = JSON.parse(readFileSync40(indexPath, "utf-8"));+ const parsed = JSON.parse(readFileSync41(indexPath, "utf-8"));return isTokenIndex(parsed) ? parsed : {};} catch (readError) {if (!(readError instanceof Error))@@ -108201,7 +108298,7 @@ function writeTokenIndex(storageDir, index) {try {const indexPath = getIndexPath(storageDir);const tempPath = `${indexPath}.tmp.${Date.now()}`;- writeFileSync12(tempPath, JSON.stringify(index, null, 2), { encoding: "utf-8", mode: 384 });+ writeFileSync13(tempPath, JSON.stringify(index, null, 2), { encoding: "utf-8", mode: 384 });chmodSync4(tempPath, 384);renameSync7(tempPath, indexPath);return true;@@ -108226,16 +108323,16 @@ function deleteTokenIndexEntry(storageDir, hash) {var STORAGE_DIR_NAME = "mcp-oauth";var LEGACY_STORAGE_FILE_NAME = "mcp-oauth.json";function getMcpOauthStorageDir() {- return join93(getOpenCodeCliConfigDir(), STORAGE_DIR_NAME);+ return join94(getOpenCodeCliConfigDir(), STORAGE_DIR_NAME);}function getMcpOauthServerHash(serverHost, resource) {return createHash7("sha256").update(buildKey(serverHost, resource)).digest("hex").slice(0, 32);}function getMcpOauthStoragePath(serverHost, resource) {- return join93(getMcpOauthStorageDir(), `${getMcpOauthServerHash(serverHost, resource)}.json`);+ return join94(getMcpOauthStorageDir(), `${getMcpOauthServerHash(serverHost, resource)}.json`);}function getLegacyStoragePath() {- return join93(getOpenCodeCliConfigDir(), LEGACY_STORAGE_FILE_NAME);+ return join94(getOpenCodeCliConfigDir(), LEGACY_STORAGE_FILE_NAME);}function normalizeHost2(serverHost) {let host = serverHost.trim();@@ -108299,7 +108396,7 @@ function readTokenFile(filePath) {if (!existsSync63(filePath))return null;try {- const parsed = JSON.parse(readFileSync41(filePath, "utf-8"));+ const parsed = JSON.parse(readFileSync42(filePath, "utf-8"));return isOAuthTokenData(parsed) ? parsed : null;} catch (readError) {if (!(readError instanceof Error))@@ -108312,7 +108409,7 @@ function readLegacyStore() {if (!existsSync63(filePath))return null;try {- const parsed = JSON.parse(readFileSync41(filePath, "utf-8"));+ const parsed = JSON.parse(readFileSync42(filePath, "utf-8"));if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed))return null;const result = {};@@ -108334,7 +108431,7 @@ function writeTokenFile(filePath, token) {mkdirSync17(dir, { recursive: true });}const tempPath = `${filePath}.tmp.${Date.now()}`;- writeFileSync13(tempPath, JSON.stringify(token, null, 2), { encoding: "utf-8", mode: 384 });+ writeFileSync14(tempPath, JSON.stringify(token, null, 2), { encoding: "utf-8", mode: 384 });chmodSync5(tempPath, 384);renameSync8(tempPath, filePath);return true;@@ -108390,7 +108487,7 @@ function deleteLegacyToken(serverHost, resource) {function writeLegacyStore(store) {try {const filePath = getLegacyStoragePath();- writeFileSync13(filePath, JSON.stringify(store, null, 2), { encoding: "utf-8", mode: 384 });+ writeFileSync14(filePath, JSON.stringify(store, null, 2), { encoding: "utf-8", mode: 384 });chmodSync5(filePath, 384);return true;} catch (writeError) {@@ -108414,7 +108511,7 @@ function listTokensByHost(serverHost) {for (const [hash, indexedKey] of Object.entries(index)) {if (!indexedKey.startsWith(prefix))continue;- const indexedToken = readTokenFile(join93(getMcpOauthStorageDir(), `${hash}.json`));+ const indexedToken = readTokenFile(join94(getMcpOauthStorageDir(), `${hash}.json`));if (indexedToken)result[indexedKey] = indexedToken;}@@ -108429,7 +108526,7 @@ function listAllTokens() {for (const entry of readdirSync13(dir, { withFileTypes: true })) {if (!entry.isFile() || !entry.name.endsWith(".json") || entry.name === "index.json")continue;- const token = readTokenFile(join93(dir, entry.name));+ const token = readTokenFile(join94(dir, entry.name));const hash = basename13(entry.name, ".json");if (token)result[index[hash] ?? hash] = token;@@ -109153,7 +109250,7 @@ async function boulder(options) {}// packages/omo-opencode/src/cli/codex-ulw-loop.tsimport { spawn as spawn5 } from "child_process";-import { existsSync as existsSync65, readFileSync as readFileSync42, realpathSync as realpathSync11 } from "fs";+import { existsSync as existsSync65, readFileSync as readFileSync43, realpathSync as realpathSync11 } from "fs";import { homedir as homedir27 } from "os";var ULW_LOOP_DELEGATION_SENTINEL = "OMO_ULW_LOOP_DELEGATED";function resolveCodexUlwLoopCommand(input = {}) {@@ -109203,7 +109300,7 @@ function resolveLegacyLocalOmoBin(env, homeDir, currentExecutablePaths) {}function isGeneratedRuntimeWrapper(candidate) {try {- return readFileSync42(candidate, "utf8").includes(RUNTIME_WRAPPER_MARKER);+ return readFileSync43(candidate, "utf8").includes(RUNTIME_WRAPPER_MARKER);} catch (error) {if (error instanceof Error)return false;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.jsonindex 233bd10a..97089242 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.0.1) Resetting Git Bash MCP Reminder",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 313535ec..8c5abf63 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.0.1) Resetting LSP Diagnostics Cache",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 84f9f890..ab7c762e 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.0.1) Resetting Project Rule Cache",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 74c7b671..bede33a2 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.0.1) Checking Comments",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex c9d433fb..917b6fc9 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.0.1) Checking LSP Diagnostics",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex ce655768..360e0dba 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.0.1) Checking Thread Title Hygiene",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex ea0c5d70..7160983b 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.0.1) Matching Project Rules",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex c8253071..476aa473 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.0.1) Recording Spawn Admission",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex a5dcf17f..70912e7d 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.0.1) Enforcing Unlimited Goal Budget",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex a08e7420..bc1f273e 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.0.1) Guarding Ulw-Loop Spawns",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 63b263fb..c1d908cb 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.0.1) Recommending Git Bash MCP",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 4e776cfd..918b7f0b 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.0.1) Checking Auto Update",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex f4466475..cf3790a2 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.0.1) Checking Bootstrap Provisioning"+ "statusMessage": "(OmO 5.1.0) Checking Bootstrap Provisioning"}]}diff --git a/plugins/omo/hooks/session-start-loading-project-rules.json b/plugins/omo/hooks/session-start-loading-project-rules.jsonindex 0fad0fa9..4d3a0383 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.0.1) Loading Project Rules",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex fdbe351b..4b55502d 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.0.1) Recording Session Telemetry",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex b408b987..286792c4 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.0.1) Checking Ulw-Execute Continuation",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex e35fa7fd..5adeaac0 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.0.1) Checking Ulw-Loop Resume",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 1bec5db5..cc978755 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.0.1) Verifying LazyCodex Executor Evidence",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 2c31447b..6fcc04c1 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.0.1) Checking Ultrawork Trigger",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex df967b03..dee32564 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.0.1) Checking Ulw-Loop Steering",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex e0931596..aeb7c0b5 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.0.1) Loading Project Rules",+ "statusMessage": "(OmO 5.1.0) 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.jsonindex 70ee304f..2b021e10 100644--- a/plugins/omo/package-lock.json+++ b/plugins/omo/package-lock.json@@ -1,12 +1,12 @@{"name": "@sisyphuslabs/omo-codex-plugin",- "version": "5.0.1",+ "version": "5.1.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@sisyphuslabs/omo-codex-plugin",- "version": "5.0.1",+ "version": "5.1.0","workspaces": ["components/comment-checker","components/git-bash",@@ -95,7 +95,7 @@},"components/comment-checker": {"name": "@code-yeongyu/codex-comment-checker",- "version": "5.0.1",+ "version": "5.1.0","license": "MIT","bin": {"omo-comment-checker": "dist/cli.js"@@ -117,7 +117,7 @@},"components/git-bash": {"name": "@sisyphuslabs/codex-git-bash-hook",- "version": "5.0.1",+ "version": "5.1.0","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.0.1",+ "version": "5.1.0","license": "MIT","bin": {"lazycodex-executor-verify": "dist/cli.js"@@ -149,7 +149,7 @@},"components/lsp": {"name": "@code-yeongyu/codex-lsp",- "version": "5.0.1",+ "version": "5.1.0","license": "MIT","dependencies": {"@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",@@ -171,7 +171,7 @@},"components/rules": {"name": "@code-yeongyu/codex-rules",- "version": "5.0.1",+ "version": "5.1.0","license": "MIT","dependencies": {"picomatch": "^4.0.7"@@ -194,7 +194,7 @@},"components/teammode": {"name": "@sisyphuslabs/codex-teammode",- "version": "5.0.1",+ "version": "5.1.0","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.0.1",+ "version": "5.1.0","license": "MIT","bin": {"omo-telemetry": "dist/cli.js"@@ -227,7 +227,7 @@},"components/ultrawork": {"name": "@code-yeongyu/codex-ultrawork",- "version": "5.0.1",+ "version": "5.1.0","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.0.1",+ "version": "5.1.0","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.0.1",+ "version": "5.1.0","license": "MIT","bin": {"omo-ulw-loop": "dist/cli.js",diff --git a/plugins/omo/package.json b/plugins/omo/package.jsonindex 2f4800ad..e5db9479 100644--- a/plugins/omo/package.json+++ b/plugins/omo/package.json@@ -1,6 +1,6 @@{"name": "@sisyphuslabs/omo-codex-plugin",- "version": "5.0.1",+ "version": "5.1.0","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.jsonindex b78db995..d139c5d5 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-27T06:08:43.269Z"+ "stagedAtUtc": "2026-09-28T19:20:10.720Z"}diff --git a/plugins/omo/skills/coding-agent-sessions/SKILL.md b/plugins/omo/skills/coding-agent-sessions/SKILL.mdindex 85d46065..a58be3f8 100644--- a/plugins/omo/skills/coding-agent-sessions/SKILL.md+++ b/plugins/omo/skills/coding-agent-sessions/SKILL.md@@ -66,7 +66,7 @@ The finder prints JSON for stdout and `jq`. Every result includes:| `detail_hint` | Ready-to-run `read` command for detailed inspection || `match_reasons` | Search-only array explaining which field/content matched each query |-Each `match_reasons` entry includes `query`, `platform`, `field`, and `snippet`, so you can tell which platform matched and what content caused the hit without opening every transcript.+Each `match_reasons` entry includes `query`, `platform`, `field`, and `snippet`, so you can tell which platform matched and what content caused the hit without opening every transcript. `field` is `user_message` when the query matched a user prompt that the `first_user_message`/`last_user_message` previews do not cover, such as a prompt in the middle of the session.## Filtersdiff --git a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.pyindex 358a0452..0cb3bd23 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py@@ -93,6 +93,7 @@ def _aside_session(path: Path, index: dict[str, _StateRow]) -> Session:sid = _dir_session_id(path.parent.name)row = index.get(sid)first_user = last_user = ""+ prompts: list[str] = []provider = model = Nonecreated = updated = Noneusage: JsonMap = {}@@ -107,6 +108,7 @@ def _aside_session(path: Path, index: dict[str, _StateRow]) -> Session:if prompt:first_user = first_user or promptlast_user = prompt+ prompts.append(prompt)elif role == "assistant":provider = provider or text(data.get("provider"))model = model or text(data.get("model"))@@ -125,6 +127,7 @@ def _aside_session(path: Path, index: dict[str, _StateRow]) -> Session:row.parent_id if row is not None else None,row.title if row is not None and row.parent_id is not None else None,last_user,+ tuple(prompts),)diff --git a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/cli.py b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/cli.pyindex 44027ae9..c1e6ef13 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/cli.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/cli.py@@ -226,6 +226,10 @@ def _match_reasons(item: Session, query: str) -> list[JsonMap]:for field, value in _search_fields(item):if needle in value.lower():reasons.append({"query": query, "platform": item.platform, "field": field, "snippet": _snippet(value, needle)})+ if not reasons:+ prompt = next((message for message in item.user_messages or () if needle in message.lower()), "")+ if prompt:+ reasons.append({"query": query, "platform": item.platform, "field": "user_message", "snippet": _snippet(prompt, needle)})return reasonsdiff --git a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.pyindex 177fb61a..92cce395 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py@@ -80,6 +80,7 @@ def scan_aider(extra_roots: tuple[Path, ...], workers: int) -> list[Session]:def _droid_session(path: Path) -> Session:sid = path.stemcwd = model = first_user = last_user = None+ prompts: list[str] = []created = updated = Nonesettings = as_map(read_json(path.with_suffix(".settings.json"))) or {}for data in iter_jsonl(path):@@ -94,7 +95,8 @@ def _droid_session(path: Path) -> Session:if prompt:first_user = first_user or promptlast_user = prompt- return Session("droid", sid, str(path), cwd, created or file_time(path), updated or created or file_time(path), None, text(settings.get("model")) or model, first_user or "", _usage(settings), last_user_message=last_user or "")+ prompts.append(prompt)+ return Session("droid", sid, str(path), cwd, created or file_time(path), updated or created or file_time(path), None, text(settings.get("model")) or model, first_user or "", _usage(settings), last_user_message=last_user or "", user_messages=tuple(prompts))def _amp_sessions(path: Path) -> list[Session]:@@ -136,6 +138,7 @@ def _gemini_sessions(path: Path) -> list[Session]:def _kimi_session(path: Path) -> Session:first_user = last_user = ""+ prompts: list[str] = []created = updated = Nonefor data in iter_jsonl(path):stamp = data.get("timestamp")@@ -146,7 +149,8 @@ def _kimi_session(path: Path) -> Session:if prompt:first_user = first_user or promptlast_user = prompt- return Session("kimi", path.parent.name, str(path), None, created or file_time(path), updated or file_time(path), "moonshot", None, first_user, {}, last_user_message=last_user)+ prompts.append(prompt)+ return Session("kimi", path.parent.name, str(path), None, created or file_time(path), updated or file_time(path), "moonshot", None, first_user, {}, last_user_message=last_user, user_messages=tuple(prompts))def _codebuff_sessions(path: Path) -> list[Session]:diff --git a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/scanners.pyindex 6a29b582..6fd56ab9 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py@@ -1,6 +1,7 @@from __future__ import annotationsfrom concurrent.futures import ThreadPoolExecutor, as_completed+from dataclasses import replacefrom pathlib import Pathfrom typing import Callable, TypeAlias@@ -95,8 +96,13 @@ def _dedupe(sessions: list[Session]) -> list[Session]:for session in sessions:key = (session.platform, session.id)current = found.get(key)- if current is None or _linkage_score(session) > _linkage_score(current):+ if current is None:found[key] = session+ continue+ winner, twin = (session, current) if _linkage_score(session) > _linkage_score(current) else (current, session)+ if winner.user_messages is None and twin.user_messages is not None:+ winner = replace(winner, user_messages=twin.user_messages)+ found[key] = winnerreturn list(found.values())diff --git a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/transcript.pyindex 99bc1345..25843b85 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py@@ -39,6 +39,7 @@ def jsonl_session(platform: str, path: Path, fallback_id: str) -> Session:sid = fallback_idcwd = provider = model = first_user = parent = agent = Nonelast_user = ""+ prompts: list[str] = []created = updated = Noneusage: JsonMap = {}for data in iter_jsonl(path):@@ -65,8 +66,9 @@ def jsonl_session(platform: str, path: Path, fallback_id: str) -> Session:if prompt:first_user = first_user or promptlast_user = prompt+ prompts.append(prompt)merge_usage(usage, as_map(message.get("usage")) or as_map(data.get("usage")))- return Session(platform, sid, str(path), cwd, created or file_time(path), updated or created or file_time(path), provider, model, first_user or "", usage, parent, agent, last_user)+ return Session(platform, sid, str(path), cwd, created or file_time(path), updated or created or file_time(path), provider, model, first_user or "", usage, parent, agent, last_user, tuple(prompts))def spawn_info(source: Json | None) -> tuple[str | None, str | None]:diff --git a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/types.py b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/types.pyindex 66ec7f6f..75e561a4 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/types.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/agent_sessions/types.py@@ -1,6 +1,6 @@from __future__ import annotations-from dataclasses import dataclass+from dataclasses import dataclass, fieldfrom pathlib import Pathfrom typing import TypeAlias@@ -38,6 +38,8 @@ class Session:parent_id: str | None = Noneagent: str | None = Nonelast_user_message: str = ""+ # Every user prompt the scanner already parsed, kept for search only; None when the scanner did not read the whole transcript.+ user_messages: tuple[str, ...] | None = field(default=None, compare=False, repr=False)def to_json(self) -> JsonMap:return {diff --git a/plugins/omo/skills/coding-agent-sessions/scripts/find-agent-sessions.py b/plugins/omo/skills/coding-agent-sessions/scripts/find-agent-sessions.pyindex c363eda3..35112c41 100644--- a/plugins/omo/skills/coding-agent-sessions/scripts/find-agent-sessions.py+++ b/plugins/omo/skills/coding-agent-sessions/scripts/find-agent-sessions.py@@ -16,4 +16,8 @@ sys.path.insert(0, str(Path(__file__).resolve().parent))if __name__ == "__main__":+ if sys.version_info < (3, 11):+ found = ".".join(str(part) for part in sys.version_info[:3])+ _ = sys.stderr.write(f"find-agent-sessions requires Python 3.11 or newer (found {found}); run it with python3.11+ or `uv run`.\n")+ raise SystemExit(2)_ = runpy.run_module("agent_sessions.cli", run_name="__main__")