Skip to content

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

chore: sync Codex marketplace v5.1.35

YeonGyu-Kim50cc15e71ad8
diff --git a/plugins/omo/.codex-plugin/plugin.json b/plugins/omo/.codex-plugin/plugin.json
index 7426d123..657dd38e 100644
--- a/plugins/omo/.codex-plugin/plugin.json
+++ b/plugins/omo/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "omo",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "One Codex plugin namespace for Yeongyu's local Codex components.",
"author": {
"name": "Yeongyu Kim",
diff --git a/plugins/omo/components/bootstrap/hooks/hooks.json b/plugins/omo/components/bootstrap/hooks/hooks.json
index 451d87b6..35e839a5 100644
--- a/plugins/omo/components/bootstrap/hooks/hooks.json
+++ b/plugins/omo/components/bootstrap/hooks/hooks.json
@@ -8,7 +8,7 @@
"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
"timeout": 30,
- "statusMessage": "(OmO 5.1.34) Checking Bootstrap Provisioning"
+ "statusMessage": "(OmO 5.1.35) Checking Bootstrap Provisioning"
}
]
}
diff --git a/plugins/omo/components/bootstrap/package.json b/plugins/omo/components/bootstrap/package.json
index e5a54044..fbcabe52 100644
--- a/plugins/omo/components/bootstrap/package.json
+++ b/plugins/omo/components/bootstrap/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/codex-bootstrap",
- "version": "5.1.34",
+ "version": "5.1.35",
"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.json
index 63e8dc27..42bfaf5e 100644
--- a/plugins/omo/components/comment-checker/hooks/hooks.json
+++ b/plugins/omo/components/comment-checker/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 30,
- "statusMessage": "(OmO 5.1.34) Checking Comments"
+ "statusMessage": "(OmO 5.1.35) Checking Comments"
}
]
}
diff --git a/plugins/omo/components/comment-checker/package.json b/plugins/omo/components/comment-checker/package.json
index 594bce9a..eb6fcdb1 100644
--- a/plugins/omo/components/comment-checker/package.json
+++ b/plugins/omo/components/comment-checker/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-comment-checker",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex plugin that runs comment-checker after edit-like PostToolUse hooks.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/git-bash/hooks/hooks.json b/plugins/omo/components/git-bash/hooks/hooks.json
index f9c49822..5a1f4b53 100644
--- a/plugins/omo/components/git-bash/hooks/hooks.json
+++ b/plugins/omo/components/git-bash/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Recommending Git Bash MCP"
+ "statusMessage": "(OmO 5.1.35) Recommending Git Bash MCP"
}
]
}
@@ -20,7 +20,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Resetting Git Bash MCP Reminder"
+ "statusMessage": "(OmO 5.1.35) Resetting Git Bash MCP Reminder"
}
]
}
diff --git a/plugins/omo/components/git-bash/package.json b/plugins/omo/components/git-bash/package.json
index ff446661..9f3aa9ec 100644
--- a/plugins/omo/components/git-bash/package.json
+++ b/plugins/omo/components/git-bash/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/codex-git-bash-hook",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex hook component that reminds Windows sessions to prefer the OMO git_bash MCP.",
"type": "module",
"private": true,
diff --git a/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json b/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json
index b110d444..aed6f218 100644
--- a/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json
+++ b/plugins/omo/components/lazycodex-executor-verify/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Verifying LazyCodex Executor Evidence"
+ "statusMessage": "(OmO 5.1.35) Verifying LazyCodex Executor Evidence"
}
]
}
diff --git a/plugins/omo/components/lazycodex-executor-verify/package.json b/plugins/omo/components/lazycodex-executor-verify/package.json
index 1f9e7905..3b74bc7b 100644
--- a/plugins/omo/components/lazycodex-executor-verify/package.json
+++ b/plugins/omo/components/lazycodex-executor-verify/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-lazycodex-executor-verify",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex SubagentStop evidence verifier for LazyCodex executor completions.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json b/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json
index 7759db5b..534ccd0c 100644
--- a/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json
+++ b/plugins/omo/components/lsp/dist/.omo-runtime-manifest.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
- "version": "5.1.34",
- "inputDigest": "sha256:131335f4533ab5a61ada2cf0caf0c1bb90fc1ba51063a470c4797aa887f5a390",
+ "version": "5.1.35",
+ "inputDigest": "sha256:d7e2b8f2976901140ef492b1d88a9c90e2422b44c0cd3a9a1a3ce85c83e32096",
"outputs": [
{
"path": "cli.d.ts",
diff --git a/plugins/omo/components/lsp/hooks/hooks.json b/plugins/omo/components/lsp/hooks/hooks.json
index e4f29c63..1ad06c15 100644
--- a/plugins/omo/components/lsp/hooks/hooks.json
+++ b/plugins/omo/components/lsp/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 60,
- "statusMessage": "(OmO 5.1.34) Checking LSP Diagnostics"
+ "statusMessage": "(OmO 5.1.35) Checking LSP Diagnostics"
}
]
}
@@ -21,7 +21,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Resetting LSP Diagnostics Cache"
+ "statusMessage": "(OmO 5.1.35) Resetting LSP Diagnostics Cache"
}
]
}
diff --git a/plugins/omo/components/lsp/package.json b/plugins/omo/components/lsp/package.json
index 397c32c2..145216c7 100644
--- a/plugins/omo/components/lsp/package.json
+++ b/plugins/omo/components/lsp/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-lsp",
- "version": "5.1.34",
+ "version": "5.1.35",
"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.json
index 140b8aab..c0562b25 100644
--- a/plugins/omo/components/rules/hooks/hooks.json
+++ b/plugins/omo/components/rules/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Loading Project Rules"
+ "statusMessage": "(OmO 5.1.35) Loading Project Rules"
}
]
}
@@ -19,7 +19,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Loading Project Rules"
+ "statusMessage": "(OmO 5.1.35) Loading Project Rules"
}
]
}
@@ -32,7 +32,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Matching Project Rules"
+ "statusMessage": "(OmO 5.1.35) Matching Project Rules"
}
]
}
@@ -45,7 +45,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Resetting Project Rule Cache"
+ "statusMessage": "(OmO 5.1.35) Resetting Project Rule Cache"
}
]
}
diff --git a/plugins/omo/components/rules/package.json b/plugins/omo/components/rules/package.json
index c309a9e3..ca7c84b2 100644
--- a/plugins/omo/components/rules/package.json
+++ b/plugins/omo/components/rules/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-rules",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex plugin that injects project rule files into model context through lifecycle hooks.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/teammode/hooks/hooks.json b/plugins/omo/components/teammode/hooks/hooks.json
index 3302312f..bfb5796d 100644
--- a/plugins/omo/components/teammode/hooks/hooks.json
+++ b/plugins/omo/components/teammode/hooks/hooks.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Thread Title Hygiene"
+ "statusMessage": "(OmO 5.1.35) Checking Thread Title Hygiene"
}
]
}
diff --git a/plugins/omo/components/teammode/package.json b/plugins/omo/components/teammode/package.json
index cffcf407..e700f07c 100644
--- a/plugins/omo/components/teammode/package.json
+++ b/plugins/omo/components/teammode/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/codex-teammode",
- "version": "5.1.34",
+ "version": "5.1.35",
"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/dist/cli.js b/plugins/omo/components/telemetry/dist/cli.js
index 2fc03a09..565afbd1 100755
--- a/plugins/omo/components/telemetry/dist/cli.js
+++ b/plugins/omo/components/telemetry/dist/cli.js
@@ -270,6 +270,7 @@ function toDiagnosticRecord(input, now) {
timestamp: now.toISOString(),
event: input.event,
source: input.source,
+ ...input.count === undefined ? {} : { count: input.count },
...serializeError(input.error, input.errorKind)
};
}
@@ -358,7 +359,7 @@ function shouldDisableTelemetry(input) {
const env = input.env ?? process.env;
const globalPrefix = input.globalEnvPrefix ?? "OMO";
const prefixes = Array.from(new Set([globalPrefix, input.productEnvPrefix]));
- if (isDisableFlag(env["DO_NOT_TRACK"])) {
+ if (isDisableFlag(env["DO_NOT_TRACK"]) || isDisableFlag(env[`${globalPrefix}_DISABLE_TELEMETRY`])) {
return true;
}
for (const prefix of prefixes) {
diff --git a/plugins/omo/components/telemetry/dist/posthog.js b/plugins/omo/components/telemetry/dist/posthog.js
index 811961e0..3444ffba 100644
--- a/plugins/omo/components/telemetry/dist/posthog.js
+++ b/plugins/omo/components/telemetry/dist/posthog.js
@@ -265,6 +265,7 @@ function toDiagnosticRecord(input, now) {
timestamp: now.toISOString(),
event: input.event,
source: input.source,
+ ...input.count === undefined ? {} : { count: input.count },
...serializeError(input.error, input.errorKind)
};
}
@@ -353,7 +354,7 @@ function shouldDisableTelemetry(input) {
const env = input.env ?? process.env;
const globalPrefix = input.globalEnvPrefix ?? "OMO";
const prefixes = Array.from(new Set([globalPrefix, input.productEnvPrefix]));
- if (isDisableFlag(env["DO_NOT_TRACK"])) {
+ if (isDisableFlag(env["DO_NOT_TRACK"]) || isDisableFlag(env[`${globalPrefix}_DISABLE_TELEMETRY`])) {
return true;
}
for (const prefix of prefixes) {
diff --git a/plugins/omo/components/telemetry/hooks/hooks.json b/plugins/omo/components/telemetry/hooks/hooks.json
index 4d7f1332..eea956b5 100644
--- a/plugins/omo/components/telemetry/hooks/hooks.json
+++ b/plugins/omo/components/telemetry/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Recording Session Telemetry"
+ "statusMessage": "(OmO 5.1.35) Recording Session Telemetry"
}
]
}
diff --git a/plugins/omo/components/telemetry/package.json b/plugins/omo/components/telemetry/package.json
index 156b0dfa..df7d04f2 100644
--- a/plugins/omo/components/telemetry/package.json
+++ b/plugins/omo/components/telemetry/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-telemetry",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex plugin component that emits omo-codex anonymous daily-active telemetry on SessionStart.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/ultrawork/hooks/hooks.json b/plugins/omo/components/ultrawork/hooks/hooks.json
index d0d9f064..5132ce96 100644
--- a/plugins/omo/components/ultrawork/hooks/hooks.json
+++ b/plugins/omo/components/ultrawork/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Checking Ultrawork Trigger"
+ "statusMessage": "(OmO 5.1.35) Checking Ultrawork Trigger"
}
]
}
diff --git a/plugins/omo/components/ultrawork/package.json b/plugins/omo/components/ultrawork/package.json
index e054d9a8..ea12f1ec 100644
--- a/plugins/omo/components/ultrawork/package.json
+++ b/plugins/omo/components/ultrawork/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-ultrawork",
- "version": "5.1.34",
+ "version": "5.1.35",
"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/hooks/hooks.json b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
index 835ff9dc..a66f59af 100644
--- a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
+++ b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Ulw-Execute Continuation"
+ "statusMessage": "(OmO 5.1.35) Checking Ulw-Execute Continuation"
}
]
}
diff --git a/plugins/omo/components/ulw-execute-continuation/package.json b/plugins/omo/components/ulw-execute-continuation/package.json
index 50ee1847..35bfeaed 100644
--- a/plugins/omo/components/ulw-execute-continuation/package.json
+++ b/plugins/omo/components/ulw-execute-continuation/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-ulw-execute-continuation",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex Stop hook continuation injector for omo-codex ulw-execute plans.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/ulw-loop/hooks/hooks.json b/plugins/omo/components/ulw-loop/hooks/hooks.json
index 119574ce..45d1ff46 100644
--- a/plugins/omo/components/ulw-loop/hooks/hooks.json
+++ b/plugins/omo/components/ulw-loop/hooks/hooks.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit --with-ultrawork",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Ulw-Loop Steering"
+ "statusMessage": "(OmO 5.1.35) Checking Ulw-Loop Steering"
}
]
}
@@ -20,7 +20,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Recording Spawn Admission"
+ "statusMessage": "(OmO 5.1.35) Recording Spawn Admission"
}
]
}
@@ -33,7 +33,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Enforcing Unlimited Ulw-Loop Budget"
+ "statusMessage": "(OmO 5.1.35) Enforcing Unlimited Ulw-Loop Budget"
}
]
},
@@ -44,7 +44,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Guarding Ulw-Loop Spawns"
+ "statusMessage": "(OmO 5.1.35) Guarding Ulw-Loop Spawns"
}
]
}
@@ -56,7 +56,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Ulw-Loop Resume"
+ "statusMessage": "(OmO 5.1.35) Checking Ulw-Loop Resume"
}
]
}
diff --git a/plugins/omo/components/ulw-loop/package.json b/plugins/omo/components/ulw-loop/package.json
index b91c5f43..2eed879a 100644
--- a/plugins/omo/components/ulw-loop/package.json
+++ b/plugins/omo/components/ulw-loop/package.json
@@ -1,6 +1,6 @@
{
"name": "@code-yeongyu/codex-ulw-loop",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Codex plugin: durable repo-native multi-goal orchestration with embedded success criteria and observable evidence audit.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/dist/cli-node/index.js b/plugins/omo/dist/cli-node/index.js
index 3a5bb4c9..ba61827e 100755
--- a/plugins/omo/dist/cli-node/index.js
+++ b/plugins/omo/dist/cli-node/index.js
@@ -2133,7 +2133,7 @@ var package_default;
var init_package = __esm(() => {
package_default = {
name: "oh-my-opencode",
- version: "5.1.34",
+ version: "5.1.35",
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",
@@ -2369,18 +2369,18 @@ var init_package = __esm(() => {
typescript: "^7.0.2"
},
optionalDependencies: {
- "oh-my-opencode-darwin-arm64": "5.1.34",
- "oh-my-opencode-darwin-x64": "5.1.34",
- "oh-my-opencode-darwin-x64-baseline": "5.1.34",
- "oh-my-opencode-linux-arm64": "5.1.34",
- "oh-my-opencode-linux-arm64-musl": "5.1.34",
- "oh-my-opencode-linux-x64": "5.1.34",
- "oh-my-opencode-linux-x64-baseline": "5.1.34",
- "oh-my-opencode-linux-x64-musl": "5.1.34",
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.34",
- "oh-my-opencode-windows-arm64": "5.1.34",
- "oh-my-opencode-windows-x64": "5.1.34",
- "oh-my-opencode-windows-x64-baseline": "5.1.34"
+ "oh-my-opencode-darwin-arm64": "5.1.35",
+ "oh-my-opencode-darwin-x64": "5.1.35",
+ "oh-my-opencode-darwin-x64-baseline": "5.1.35",
+ "oh-my-opencode-linux-arm64": "5.1.35",
+ "oh-my-opencode-linux-arm64-musl": "5.1.35",
+ "oh-my-opencode-linux-x64": "5.1.35",
+ "oh-my-opencode-linux-x64-baseline": "5.1.35",
+ "oh-my-opencode-linux-x64-musl": "5.1.35",
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.35",
+ "oh-my-opencode-windows-arm64": "5.1.35",
+ "oh-my-opencode-windows-x64": "5.1.35",
+ "oh-my-opencode-windows-x64-baseline": "5.1.35"
},
overrides: {
hono: "^4.13.8",
@@ -82386,6 +82386,9 @@ var init_activity_state = __esm(() => {
capturedDaysByStateDir = new Map;
});
+// packages/telemetry-core/src/consent-gated-fetch.ts
+var init_consent_gated_fetch = () => {};
+
// packages/telemetry-core/src/constants.ts
var DEFAULT_POSTHOG_HOST = "https://us.i.posthog.com", DEFAULT_POSTHOG_API_KEY = "phc_CFJhj5HyvA62QPhvyaUCtaq23aUfznnijg5VaaGkNk74", UNCONFIGURED_POSTHOG_API_KEY = "phc_REPLACE_ME_OMO_NATIVE";
@@ -82433,6 +82436,7 @@ function toDiagnosticRecord(input, now) {
timestamp: now.toISOString(),
event: input.event,
source: input.source,
+ ...input.count === undefined ? {} : { count: input.count },
...serializeError(input.error, input.errorKind)
};
}
@@ -82525,7 +82529,7 @@ function shouldDisableTelemetry(input) {
const env = input.env ?? process.env;
const globalPrefix = input.globalEnvPrefix ?? "OMO";
const prefixes = Array.from(new Set([globalPrefix, input.productEnvPrefix]));
- if (isDisableFlag(env["DO_NOT_TRACK"])) {
+ if (isDisableFlag(env["DO_NOT_TRACK"]) || isDisableFlag(env[`${globalPrefix}_DISABLE_TELEMETRY`])) {
return true;
}
for (const prefix of prefixes) {
@@ -82557,6 +82561,47 @@ var init_env = __esm(() => {
SEND_OPT_OUT_VALUES = ["0", "false", "no", "yes"];
});
+// packages/telemetry-core/src/event-id.ts
+import { randomBytes as nodeRandomBytes } from "node:crypto";
+function createUuidV7Generator(source = {}) {
+ const now = source.now ?? Date.now;
+ const randomBytes = source.randomBytes ?? ((size) => new Uint8Array(nodeRandomBytes(size)));
+ let lastMs = -1;
+ let counter = 0;
+ return () => {
+ const random = randomBytes(10);
+ const wallMs = Math.floor(now());
+ if (wallMs > lastMs) {
+ lastMs = wallMs;
+ counter = (random[0] << 8 | random[1]) & COUNTER_SEED_MASK;
+ } else if (counter < MAX_COUNTER) {
+ counter += 1;
+ } else {
+ lastMs += 1;
+ counter = (random[0] << 8 | random[1]) & COUNTER_SEED_MASK;
+ }
+ const bytes = new Uint8Array(16);
+ let timestamp = lastMs;
+ for (let index = 5;index >= 0; index -= 1) {
+ bytes[index] = timestamp % 256;
+ timestamp = Math.floor(timestamp / 256);
+ }
+ bytes[6] = 112 | counter >> 8;
+ bytes[7] = counter & 255;
+ bytes[8] = 128 | random[2] & 63;
+ bytes.set(random.subarray(3, 10), 9);
+ return formatUuid(bytes);
+ };
+}
+function formatUuid(bytes) {
+ const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
+ return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
+}
+var MAX_COUNTER = 4095, COUNTER_SEED_MASK = 2047, fallbackEventId;
+var init_event_id = __esm(() => {
+ fallbackEventId = createUuidV7Generator();
+});
+
// node_modules/.bun/[email protected]/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
import { dirname as dirname18, posix as posix7, sep as sep7 } from "path";
function createModulerModifier() {
@@ -92123,8 +92168,10 @@ var init_record_daily_active = () => {};
// packages/telemetry-core/src/index.ts
var init_src5 = __esm(() => {
init_activity_state();
+ init_consent_gated_fetch();
init_diagnostics();
init_env();
+ init_event_id();
init_events();
init_machine_id();
init_posthog_client();
@@ -92136,7 +92183,7 @@ var package_default2;
var init_package2 = __esm(() => {
package_default2 = {
name: "@oh-my-opencode/omo-codex",
- version: "5.1.34",
+ version: "5.1.35",
type: "module",
private: true,
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
@@ -99434,6 +99481,7 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
join63("extensions", "omo-computer-use.js"),
join63("extensions", "omo-memory-doctor.js"),
join63("extensions", "omo-memory-memfs.js"),
+ join63("extensions", "omo-memory-palace.js"),
join63("extensions", "omo-thread-client.js"),
join63("extensions", "assets.generated.json"),
join63("extensions", "omo-member.js"),
@@ -110573,7 +110621,11 @@ function compareUtf16(left, right) {
const b = Buffer2.from(right, "utf16le").swap16();
return Buffer2.compare(a, b);
}
-function serializeValue(value, out) {
+var MAX_SERIALIZE_DEPTH = 64;
+function serializeValue(value, out, depth = 0) {
+ if (typeof value === "object" && value !== null && depth >= MAX_SERIALIZE_DEPTH) {
+ throw new CanonicalJsonError("json", `nesting deeper than ${MAX_SERIALIZE_DEPTH}`);
+ }
if (value === null)
out.push("null");
else if (typeof value === "boolean")
@@ -110587,7 +110639,7 @@ function serializeValue(value, out) {
value.forEach((element, index) => {
if (index > 0)
out.push(",");
- serializeValue(element, out);
+ serializeValue(element, out, depth + 1);
});
out.push("]");
} else {
@@ -110596,7 +110648,7 @@ function serializeValue(value, out) {
if (index > 0)
out.push(",");
out.push(escapeCanonicalString(key), ":");
- serializeValue(value[key], out);
+ serializeValue(value[key], out, depth + 1);
});
out.push("}");
}
@@ -110608,9 +110660,12 @@ function canonicalizeJson(value) {
}
// packages/memory-core/src/sync/canonical-json.ts
+var MAX_CANONICAL_DEPTH = 64;
+
class Parser {
text;
position = 0;
+ depth = 0;
constructor(text) {
this.text = text;
}
@@ -110624,10 +110679,14 @@ class Parser {
parseValue() {
this.skipInsignificant();
const char = this.text[this.position];
- if (char === "{")
- return this.parseObject();
- if (char === "[")
- return this.parseArray();
+ if (char === "{" || char === "[") {
+ if (this.depth >= MAX_CANONICAL_DEPTH)
+ throw this.fail("json", `nesting deeper than ${MAX_CANONICAL_DEPTH}`);
+ this.depth++;
+ const value = char === "{" ? this.parseObject() : this.parseArray();
+ this.depth--;
+ return value;
+ }
if (char === '"')
return this.parseString().value;
if (char === "-" || char >= "0" && char <= "9")
@@ -110823,7 +110882,14 @@ function openHpkeSealedBox(sealingPrivateRaw, sealingPublicRaw, wrap, info = Buf
},
format: "jwk"
});
- const dh = diffieHellman({ privateKey, publicKey: x25519PublicKeyFromRaw(enc) });
+ let dh;
+ try {
+ dh = diffieHellman({ privateKey, publicKey: x25519PublicKeyFromRaw(enc) });
+ } catch {
+ throw new Error("sealed box does not open: wrong recipient or corrupted wrap");
+ }
+ if (dh.every((byte) => byte === 0))
+ throw new Error("sealed box does not open: wrong recipient or corrupted wrap");
const kem = Buffer4.concat([Buffer4.from("KEM"), KEM_ID]);
const suite = Buffer4.concat([Buffer4.from("HPKE"), KEM_ID, KDF_ID, AEAD_ID]);
const sharedSecret = labeledExpand(kem, "shared_secret", labeledExtract(kem, "eae_prk", dh, Buffer4.alloc(0)), Buffer4.concat([Buffer4.from(enc), Buffer4.from(sealingPublicRaw)]), 32);
@@ -110863,6 +110929,24 @@ var SIGNING_DOMAIN_TAGS = {
function domainSeparatedMessage(purpose, payload) {
return Buffer5.concat([Buffer5.from(SIGNING_DOMAIN_TAGS[purpose], "ascii"), Buffer5.from([0]), Buffer5.from(payload)]);
}
+var CANONICAL_REASONS = {
+ json: "record-json",
+ "duplicate-key": "record-canonical-duplicate-key",
+ number: "record-canonical-number",
+ order: "record-canonical-order",
+ escape: "record-canonical-escape",
+ whitespace: "record-canonical-whitespace",
+ encoding: "record-canonical-encoding"
+};
+function parseCanonical(bytes, what) {
+ try {
+ return requireCanonicalJson(bytes);
+ } catch (error) {
+ if (!(error instanceof CanonicalJsonError))
+ throw error;
+ throw new DeviceKeyringSignError(CANONICAL_REASONS[error.violation], `sign: ${what} preimage is not RFC 8785 canonical JSON: ${error.message}`);
+ }
+}
function validateSignRequest(request) {
if (typeof request !== "object" || request === null) {
throw new DeviceKeyringSignError("unknown-purpose", "sign: request must be a typed sign request");
@@ -110877,16 +110961,7 @@ function validateSignRequest(request) {
if (!(request.canonicalJson instanceof Uint8Array)) {
throw new DeviceKeyringSignError("record-json", "sign: record needs RFC 8785 canonical JSON bytes");
}
- let parsed;
- try {
- parsed = requireCanonicalJson(request.canonicalJson);
- } catch (error) {
- if (error instanceof CanonicalJsonError) {
- const reason = error.violation === "json" ? "record-json" : error.violation === "duplicate-key" ? "record-canonical-duplicate-key" : error.violation === "number" ? "record-canonical-number" : error.violation === "order" ? "record-canonical-order" : error.violation === "escape" ? "record-canonical-escape" : error.violation === "whitespace" ? "record-canonical-whitespace" : "record-canonical-encoding";
- throw new DeviceKeyringSignError(reason, `sign: record preimage is not RFC 8785 canonical JSON: ${error.message}`);
- }
- throw error;
- }
+ const parsed = parseCanonical(request.canonicalJson, "record");
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed) || typeof parsed.t !== "string") {
throw new DeviceKeyringSignError("record-json", 'sign: record preimage needs a top-level "t" string');
}
@@ -110894,8 +110969,8 @@ function validateSignRequest(request) {
if (!t.startsWith("omo-sync/v1/")) {
throw new DeviceKeyringSignError("record-prefix", 'sign: record "t" must start with "omo-sync/v1/"');
}
- if (t === SIGNING_DOMAIN_TAGS["object-digest"]) {
- throw new DeviceKeyringSignError("record-prefix", 'sign: record "t" must name a record or snapshot type, not the object-digest tag');
+ if (t === SIGNING_DOMAIN_TAGS["object-digest"] || t === SIGNING_DOMAIN_TAGS.snapshot) {
+ throw new DeviceKeyringSignError("record-prefix", `sign: record "t" must name a keyring record type, not another purpose's tag`);
}
return request.canonicalJson;
}
@@ -110903,15 +110978,7 @@ function validateSignRequest(request) {
if (!(request.canonicalJson instanceof Uint8Array)) {
throw new DeviceKeyringSignError("record-json", "sign: snapshot needs RFC 8785 canonical JSON bytes");
}
- let parsed;
- try {
- parsed = requireCanonicalJson(request.canonicalJson);
- } catch (error) {
- if (error instanceof CanonicalJsonError) {
- throw new DeviceKeyringSignError("record-canonical", `sign: snapshot preimage is not RFC 8785 canonical JSON: ${error.message}`);
- }
- throw error;
- }
+ const parsed = parseCanonical(request.canonicalJson, "snapshot");
const t = typeof parsed === "object" && parsed !== null ? parsed.t : undefined;
if (t !== SIGNING_DOMAIN_TAGS.snapshot) {
throw new DeviceKeyringSignError("snapshot-prefix", 'sign: snapshot preimage "t" must be exactly "omo-sync/v1/snapshot"');
@@ -110921,7 +110988,11 @@ function validateSignRequest(request) {
throw new DeviceKeyringSignError("unknown-purpose", `sign: unsupported purpose ${JSON.stringify(request.purpose ?? null)}`);
}
var WRAP_INFO = Buffer5.concat([Buffer5.from("omo-sync/v1/wrap", "ascii"), Buffer5.from([0])]);
-var wrapAad = (binding) => Buffer5.from(`{"account":${JSON.stringify(binding.account)},"epoch":${binding.epoch},"id":${JSON.stringify(binding.id)}}`, "utf8");
+var wrapAad = (binding) => {
+ if (!Number.isSafeInteger(binding.epoch) || binding.epoch < 0)
+ throw new Error("unseal: the wrap epoch must be a non-negative integer");
+ return canonicalizeJson({ account: binding.account, epoch: binding.epoch, id: binding.id });
+};
function generateDeviceKeyMaterial() {
const signing = generateKeyPairSync("ed25519");
const sealing = generateKeyPairSync("x25519");
diff --git a/plugins/omo/dist/cli/index.js b/plugins/omo/dist/cli/index.js
index 7e1cdd9c..4e4c997e 100755
--- a/plugins/omo/dist/cli/index.js
+++ b/plugins/omo/dist/cli/index.js
@@ -2132,7 +2132,7 @@ var package_default;
var init_package = __esm(() => {
package_default = {
name: "oh-my-opencode",
- version: "5.1.34",
+ version: "5.1.35",
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",
@@ -2368,18 +2368,18 @@ var init_package = __esm(() => {
typescript: "^7.0.2"
},
optionalDependencies: {
- "oh-my-opencode-darwin-arm64": "5.1.34",
- "oh-my-opencode-darwin-x64": "5.1.34",
- "oh-my-opencode-darwin-x64-baseline": "5.1.34",
- "oh-my-opencode-linux-arm64": "5.1.34",
- "oh-my-opencode-linux-arm64-musl": "5.1.34",
- "oh-my-opencode-linux-x64": "5.1.34",
- "oh-my-opencode-linux-x64-baseline": "5.1.34",
- "oh-my-opencode-linux-x64-musl": "5.1.34",
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.34",
- "oh-my-opencode-windows-arm64": "5.1.34",
- "oh-my-opencode-windows-x64": "5.1.34",
- "oh-my-opencode-windows-x64-baseline": "5.1.34"
+ "oh-my-opencode-darwin-arm64": "5.1.35",
+ "oh-my-opencode-darwin-x64": "5.1.35",
+ "oh-my-opencode-darwin-x64-baseline": "5.1.35",
+ "oh-my-opencode-linux-arm64": "5.1.35",
+ "oh-my-opencode-linux-arm64-musl": "5.1.35",
+ "oh-my-opencode-linux-x64": "5.1.35",
+ "oh-my-opencode-linux-x64-baseline": "5.1.35",
+ "oh-my-opencode-linux-x64-musl": "5.1.35",
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.35",
+ "oh-my-opencode-windows-arm64": "5.1.35",
+ "oh-my-opencode-windows-x64": "5.1.35",
+ "oh-my-opencode-windows-x64-baseline": "5.1.35"
},
overrides: {
hono: "^4.13.8",
@@ -82307,6 +82307,9 @@ var init_activity_state = __esm(() => {
capturedDaysByStateDir = new Map;
});
+// packages/telemetry-core/src/consent-gated-fetch.ts
+var init_consent_gated_fetch = () => {};
+
// packages/telemetry-core/src/constants.ts
var DEFAULT_POSTHOG_HOST = "https://us.i.posthog.com", DEFAULT_POSTHOG_API_KEY = "phc_CFJhj5HyvA62QPhvyaUCtaq23aUfznnijg5VaaGkNk74", UNCONFIGURED_POSTHOG_API_KEY = "phc_REPLACE_ME_OMO_NATIVE";
@@ -82354,6 +82357,7 @@ function toDiagnosticRecord(input, now) {
timestamp: now.toISOString(),
event: input.event,
source: input.source,
+ ...input.count === undefined ? {} : { count: input.count },
...serializeError(input.error, input.errorKind)
};
}
@@ -82446,7 +82450,7 @@ function shouldDisableTelemetry(input) {
const env = input.env ?? process.env;
const globalPrefix = input.globalEnvPrefix ?? "OMO";
const prefixes = Array.from(new Set([globalPrefix, input.productEnvPrefix]));
- if (isDisableFlag(env["DO_NOT_TRACK"])) {
+ if (isDisableFlag(env["DO_NOT_TRACK"]) || isDisableFlag(env[`${globalPrefix}_DISABLE_TELEMETRY`])) {
return true;
}
for (const prefix of prefixes) {
@@ -82478,6 +82482,47 @@ var init_env = __esm(() => {
SEND_OPT_OUT_VALUES = ["0", "false", "no", "yes"];
});
+// packages/telemetry-core/src/event-id.ts
+import { randomBytes as nodeRandomBytes } from "crypto";
+function createUuidV7Generator(source = {}) {
+ const now = source.now ?? Date.now;
+ const randomBytes = source.randomBytes ?? ((size) => new Uint8Array(nodeRandomBytes(size)));
+ let lastMs = -1;
+ let counter = 0;
+ return () => {
+ const random = randomBytes(10);
+ const wallMs = Math.floor(now());
+ if (wallMs > lastMs) {
+ lastMs = wallMs;
+ counter = (random[0] << 8 | random[1]) & COUNTER_SEED_MASK;
+ } else if (counter < MAX_COUNTER) {
+ counter += 1;
+ } else {
+ lastMs += 1;
+ counter = (random[0] << 8 | random[1]) & COUNTER_SEED_MASK;
+ }
+ const bytes = new Uint8Array(16);
+ let timestamp = lastMs;
+ for (let index = 5;index >= 0; index -= 1) {
+ bytes[index] = timestamp % 256;
+ timestamp = Math.floor(timestamp / 256);
+ }
+ bytes[6] = 112 | counter >> 8;
+ bytes[7] = counter & 255;
+ bytes[8] = 128 | random[2] & 63;
+ bytes.set(random.subarray(3, 10), 9);
+ return formatUuid(bytes);
+ };
+}
+function formatUuid(bytes) {
+ const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
+ return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
+}
+var MAX_COUNTER = 4095, COUNTER_SEED_MASK = 2047, fallbackEventId;
+var init_event_id = __esm(() => {
+ fallbackEventId = createUuidV7Generator();
+});
+
// node_modules/.bun/[email protected]/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
import { dirname as dirname18, posix as posix7, sep as sep7 } from "path";
function createModulerModifier() {
@@ -92044,8 +92089,10 @@ var init_record_daily_active = () => {};
// packages/telemetry-core/src/index.ts
var init_src5 = __esm(() => {
init_activity_state();
+ init_consent_gated_fetch();
init_diagnostics();
init_env();
+ init_event_id();
init_events();
init_machine_id();
init_posthog_client();
@@ -92057,7 +92104,7 @@ var package_default2;
var init_package2 = __esm(() => {
package_default2 = {
name: "@oh-my-opencode/omo-codex",
- version: "5.1.34",
+ version: "5.1.35",
type: "module",
private: true,
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
@@ -99355,6 +99402,7 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
join63("extensions", "omo-computer-use.js"),
join63("extensions", "omo-memory-doctor.js"),
join63("extensions", "omo-memory-memfs.js"),
+ join63("extensions", "omo-memory-palace.js"),
join63("extensions", "omo-thread-client.js"),
join63("extensions", "assets.generated.json"),
join63("extensions", "omo-member.js"),
@@ -110494,7 +110542,11 @@ function compareUtf16(left, right) {
const b = Buffer2.from(right, "utf16le").swap16();
return Buffer2.compare(a, b);
}
-function serializeValue(value, out) {
+var MAX_SERIALIZE_DEPTH = 64;
+function serializeValue(value, out, depth = 0) {
+ if (typeof value === "object" && value !== null && depth >= MAX_SERIALIZE_DEPTH) {
+ throw new CanonicalJsonError("json", `nesting deeper than ${MAX_SERIALIZE_DEPTH}`);
+ }
if (value === null)
out.push("null");
else if (typeof value === "boolean")
@@ -110508,7 +110560,7 @@ function serializeValue(value, out) {
value.forEach((element, index) => {
if (index > 0)
out.push(",");
- serializeValue(element, out);
+ serializeValue(element, out, depth + 1);
});
out.push("]");
} else {
@@ -110517,7 +110569,7 @@ function serializeValue(value, out) {
if (index > 0)
out.push(",");
out.push(escapeCanonicalString(key), ":");
- serializeValue(value[key], out);
+ serializeValue(value[key], out, depth + 1);
});
out.push("}");
}
@@ -110529,9 +110581,12 @@ function canonicalizeJson(value) {
}
// packages/memory-core/src/sync/canonical-json.ts
+var MAX_CANONICAL_DEPTH = 64;
+
class Parser {
text;
position = 0;
+ depth = 0;
constructor(text) {
this.text = text;
}
@@ -110545,10 +110600,14 @@ class Parser {
parseValue() {
this.skipInsignificant();
const char = this.text[this.position];
- if (char === "{")
- return this.parseObject();
- if (char === "[")
- return this.parseArray();
+ if (char === "{" || char === "[") {
+ if (this.depth >= MAX_CANONICAL_DEPTH)
+ throw this.fail("json", `nesting deeper than ${MAX_CANONICAL_DEPTH}`);
+ this.depth++;
+ const value = char === "{" ? this.parseObject() : this.parseArray();
+ this.depth--;
+ return value;
+ }
if (char === '"')
return this.parseString().value;
if (char === "-" || char >= "0" && char <= "9")
@@ -110744,7 +110803,14 @@ function openHpkeSealedBox(sealingPrivateRaw, sealingPublicRaw, wrap, info = Buf
},
format: "jwk"
});
- const dh = diffieHellman({ privateKey, publicKey: x25519PublicKeyFromRaw(enc) });
+ let dh;
+ try {
+ dh = diffieHellman({ privateKey, publicKey: x25519PublicKeyFromRaw(enc) });
+ } catch {
+ throw new Error("sealed box does not open: wrong recipient or corrupted wrap");
+ }
+ if (dh.every((byte) => byte === 0))
+ throw new Error("sealed box does not open: wrong recipient or corrupted wrap");
const kem = Buffer4.concat([Buffer4.from("KEM"), KEM_ID]);
const suite = Buffer4.concat([Buffer4.from("HPKE"), KEM_ID, KDF_ID, AEAD_ID]);
const sharedSecret = labeledExpand(kem, "shared_secret", labeledExtract(kem, "eae_prk", dh, Buffer4.alloc(0)), Buffer4.concat([Buffer4.from(enc), Buffer4.from(sealingPublicRaw)]), 32);
@@ -110784,6 +110850,24 @@ var SIGNING_DOMAIN_TAGS = {
function domainSeparatedMessage(purpose, payload) {
return Buffer5.concat([Buffer5.from(SIGNING_DOMAIN_TAGS[purpose], "ascii"), Buffer5.from([0]), Buffer5.from(payload)]);
}
+var CANONICAL_REASONS = {
+ json: "record-json",
+ "duplicate-key": "record-canonical-duplicate-key",
+ number: "record-canonical-number",
+ order: "record-canonical-order",
+ escape: "record-canonical-escape",
+ whitespace: "record-canonical-whitespace",
+ encoding: "record-canonical-encoding"
+};
+function parseCanonical(bytes, what) {
+ try {
+ return requireCanonicalJson(bytes);
+ } catch (error) {
+ if (!(error instanceof CanonicalJsonError))
+ throw error;
+ throw new DeviceKeyringSignError(CANONICAL_REASONS[error.violation], `sign: ${what} preimage is not RFC 8785 canonical JSON: ${error.message}`);
+ }
+}
function validateSignRequest(request) {
if (typeof request !== "object" || request === null) {
throw new DeviceKeyringSignError("unknown-purpose", "sign: request must be a typed sign request");
@@ -110798,16 +110882,7 @@ function validateSignRequest(request) {
if (!(request.canonicalJson instanceof Uint8Array)) {
throw new DeviceKeyringSignError("record-json", "sign: record needs RFC 8785 canonical JSON bytes");
}
- let parsed;
- try {
- parsed = requireCanonicalJson(request.canonicalJson);
- } catch (error) {
- if (error instanceof CanonicalJsonError) {
- const reason = error.violation === "json" ? "record-json" : error.violation === "duplicate-key" ? "record-canonical-duplicate-key" : error.violation === "number" ? "record-canonical-number" : error.violation === "order" ? "record-canonical-order" : error.violation === "escape" ? "record-canonical-escape" : error.violation === "whitespace" ? "record-canonical-whitespace" : "record-canonical-encoding";
- throw new DeviceKeyringSignError(reason, `sign: record preimage is not RFC 8785 canonical JSON: ${error.message}`);
- }
- throw error;
- }
+ const parsed = parseCanonical(request.canonicalJson, "record");
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed) || typeof parsed.t !== "string") {
throw new DeviceKeyringSignError("record-json", 'sign: record preimage needs a top-level "t" string');
}
@@ -110815,8 +110890,8 @@ function validateSignRequest(request) {
if (!t.startsWith("omo-sync/v1/")) {
throw new DeviceKeyringSignError("record-prefix", 'sign: record "t" must start with "omo-sync/v1/"');
}
- if (t === SIGNING_DOMAIN_TAGS["object-digest"]) {
- throw new DeviceKeyringSignError("record-prefix", 'sign: record "t" must name a record or snapshot type, not the object-digest tag');
+ if (t === SIGNING_DOMAIN_TAGS["object-digest"] || t === SIGNING_DOMAIN_TAGS.snapshot) {
+ throw new DeviceKeyringSignError("record-prefix", `sign: record "t" must name a keyring record type, not another purpose's tag`);
}
return request.canonicalJson;
}
@@ -110824,15 +110899,7 @@ function validateSignRequest(request) {
if (!(request.canonicalJson instanceof Uint8Array)) {
throw new DeviceKeyringSignError("record-json", "sign: snapshot needs RFC 8785 canonical JSON bytes");
}
- let parsed;
- try {
- parsed = requireCanonicalJson(request.canonicalJson);
- } catch (error) {
- if (error instanceof CanonicalJsonError) {
- throw new DeviceKeyringSignError("record-canonical", `sign: snapshot preimage is not RFC 8785 canonical JSON: ${error.message}`);
- }
- throw error;
- }
+ const parsed = parseCanonical(request.canonicalJson, "snapshot");
const t = typeof parsed === "object" && parsed !== null ? parsed.t : undefined;
if (t !== SIGNING_DOMAIN_TAGS.snapshot) {
throw new DeviceKeyringSignError("snapshot-prefix", 'sign: snapshot preimage "t" must be exactly "omo-sync/v1/snapshot"');
@@ -110842,7 +110909,11 @@ function validateSignRequest(request) {
throw new DeviceKeyringSignError("unknown-purpose", `sign: unsupported purpose ${JSON.stringify(request.purpose ?? null)}`);
}
var WRAP_INFO = Buffer5.concat([Buffer5.from("omo-sync/v1/wrap", "ascii"), Buffer5.from([0])]);
-var wrapAad = (binding) => Buffer5.from(`{"account":${JSON.stringify(binding.account)},"epoch":${binding.epoch},"id":${JSON.stringify(binding.id)}}`, "utf8");
+var wrapAad = (binding) => {
+ if (!Number.isSafeInteger(binding.epoch) || binding.epoch < 0)
+ throw new Error("unseal: the wrap epoch must be a non-negative integer");
+ return canonicalizeJson({ account: binding.account, epoch: binding.epoch, id: binding.id });
+};
function generateDeviceKeyMaterial() {
const signing = generateKeyPairSync("ed25519");
const sealing = generateKeyPairSync("x25519");
diff --git a/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json b/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json
index 7cff8a36..36ef5d22 100644
--- a/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json
+++ b/plugins/omo/hooks/post-compact-resetting-git-bash-mcp-reminder.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/git-bash/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Resetting Git Bash MCP Reminder",
+ "statusMessage": "(OmO 5.1.35) Resetting Git Bash MCP Reminder",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\git-bash\\dist\\cli.js\" hook post-compact"
}
],
diff --git a/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json b/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json
index bc7caeb2..af308b82 100644
--- a/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json
+++ b/plugins/omo/hooks/post-compact-resetting-lsp-diagnostics-cache.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-compact",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Resetting LSP Diagnostics Cache",
+ "statusMessage": "(OmO 5.1.35) Resetting LSP Diagnostics Cache",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lsp\\dist\\cli.js\" hook post-compact"
}
],
diff --git a/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json b/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json
index 83957da2..e214b431 100644
--- a/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json
+++ b/plugins/omo/hooks/post-compact-resetting-project-rule-cache.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-compact",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Resetting Project Rule Cache",
+ "statusMessage": "(OmO 5.1.35) Resetting Project Rule Cache",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook post-compact"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-checking-comments.json b/plugins/omo/hooks/post-tool-use-checking-comments.json
index 3e92a7b2..56538ea4 100644
--- a/plugins/omo/hooks/post-tool-use-checking-comments.json
+++ b/plugins/omo/hooks/post-tool-use-checking-comments.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/comment-checker/dist/cli.js\" hook post-tool-use",
"timeout": 30,
- "statusMessage": "(OmO 5.1.34) Checking Comments",
+ "statusMessage": "(OmO 5.1.35) Checking Comments",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\comment-checker\\dist\\cli.js\" hook post-tool-use"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json b/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json
index 05fc7843..f0c7ead1 100644
--- a/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json
+++ b/plugins/omo/hooks/post-tool-use-checking-lsp-diagnostics.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-tool-use",
"timeout": 60,
- "statusMessage": "(OmO 5.1.34) Checking LSP Diagnostics",
+ "statusMessage": "(OmO 5.1.35) Checking LSP Diagnostics",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lsp\\dist\\cli.js\" hook post-tool-use"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json b/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json
index e46f1f3f..83d6b16a 100644
--- a/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json
+++ b/plugins/omo/hooks/post-tool-use-checking-thread-title-hygiene.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/teammode/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Thread Title Hygiene",
+ "statusMessage": "(OmO 5.1.35) Checking Thread Title Hygiene",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\teammode\\dist\\cli.js\" hook post-tool-use"
}
]
diff --git a/plugins/omo/hooks/post-tool-use-matching-project-rules.json b/plugins/omo/hooks/post-tool-use-matching-project-rules.json
index 5377b7ae..760f1c7d 100644
--- a/plugins/omo/hooks/post-tool-use-matching-project-rules.json
+++ b/plugins/omo/hooks/post-tool-use-matching-project-rules.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-tool-use",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Matching Project Rules",
+ "statusMessage": "(OmO 5.1.35) Matching Project Rules",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook post-tool-use"
}
],
diff --git a/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json b/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json
index d86189a3..40df9cd2 100644
--- a/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json
+++ b/plugins/omo/hooks/post-tool-use-recording-spawn-admission.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook post-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Recording Spawn Admission",
+ "statusMessage": "(OmO 5.1.35) Recording Spawn Admission",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook post-tool-use-spawn"
}
]
diff --git a/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json b/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json
index 94c98bd7..07e2a69f 100644
--- a/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json
+++ b/plugins/omo/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Enforcing Unlimited Goal Budget",
+ "statusMessage": "(OmO 5.1.35) Enforcing Unlimited Goal Budget",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook pre-tool-use"
}
],
diff --git a/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json b/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json
index 1154c599..62db4f6d 100644
--- a/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json
+++ b/plugins/omo/hooks/pre-tool-use-guarding-ulw-loop-spawns.json
@@ -8,7 +8,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use-spawn",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Guarding Ulw-Loop Spawns",
+ "statusMessage": "(OmO 5.1.35) Guarding Ulw-Loop Spawns",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook pre-tool-use-spawn"
}
]
diff --git a/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json b/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json
index 1cfbcfbb..e6920bb7 100644
--- a/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json
+++ b/plugins/omo/hooks/pre-tool-use-recommending-git-bash-mcp.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/git-bash/dist/cli.js\" hook pre-tool-use",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Recommending Git Bash MCP",
+ "statusMessage": "(OmO 5.1.35) Recommending Git Bash MCP",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\git-bash\\dist\\cli.js\" hook pre-tool-use"
}
],
diff --git a/plugins/omo/hooks/session-start-checking-auto-update.json b/plugins/omo/hooks/session-start-checking-auto-update.json
index d616494d..d8272513 100644
--- a/plugins/omo/hooks/session-start-checking-auto-update.json
+++ b/plugins/omo/hooks/session-start-checking-auto-update.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/scripts/auto-update.mjs\" hook session-start",
"timeout": 15,
- "statusMessage": "(OmO 5.1.34) Checking Auto Update",
+ "statusMessage": "(OmO 5.1.35) Checking Auto Update",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\scripts\\auto-update.mjs\" hook session-start"
}
],
diff --git a/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json b/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json
index 451d87b6..35e839a5 100644
--- a/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json
+++ b/plugins/omo/hooks/session-start-checking-bootstrap-provisioning.json
@@ -8,7 +8,7 @@
"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
"timeout": 30,
- "statusMessage": "(OmO 5.1.34) Checking Bootstrap Provisioning"
+ "statusMessage": "(OmO 5.1.35) Checking Bootstrap Provisioning"
}
]
}
diff --git a/plugins/omo/hooks/session-start-loading-project-rules.json b/plugins/omo/hooks/session-start-loading-project-rules.json
index 4cba91ab..26028307 100644
--- a/plugins/omo/hooks/session-start-loading-project-rules.json
+++ b/plugins/omo/hooks/session-start-loading-project-rules.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook session-start",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Loading Project Rules",
+ "statusMessage": "(OmO 5.1.35) Loading Project Rules",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook session-start"
}
]
diff --git a/plugins/omo/hooks/session-start-recording-session-telemetry.json b/plugins/omo/hooks/session-start-recording-session-telemetry.json
index b1014bdc..81ecd090 100644
--- a/plugins/omo/hooks/session-start-recording-session-telemetry.json
+++ b/plugins/omo/hooks/session-start-recording-session-telemetry.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/telemetry/dist/cli.js\" hook session-start",
"timeout": 15,
- "statusMessage": "(OmO 5.1.34) Recording Session Telemetry",
+ "statusMessage": "(OmO 5.1.35) Recording Session Telemetry",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\telemetry\\dist\\cli.js\" hook session-start"
}
]
diff --git a/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json b/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json
index 65dad3d6..3fd471f9 100644
--- a/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json
+++ b/plugins/omo/hooks/stop-checking-ulw-execute-continuation.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Ulw-Execute Continuation",
+ "statusMessage": "(OmO 5.1.35) Checking Ulw-Execute Continuation",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-execute-continuation\\dist\\cli.js\" hook stop"
}
]
diff --git a/plugins/omo/hooks/stop-checking-ulw-loop-resume.json b/plugins/omo/hooks/stop-checking-ulw-loop-resume.json
index 3f4fbe72..8e018db2 100644
--- a/plugins/omo/hooks/stop-checking-ulw-loop-resume.json
+++ b/plugins/omo/hooks/stop-checking-ulw-loop-resume.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Ulw-Loop Resume",
+ "statusMessage": "(OmO 5.1.35) Checking Ulw-Loop Resume",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook stop"
}
]
diff --git a/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json b/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json
index 18b4b8d9..5bd1aa18 100644
--- a/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json
+++ b/plugins/omo/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Verifying LazyCodex Executor Evidence",
+ "statusMessage": "(OmO 5.1.35) Verifying LazyCodex Executor Evidence",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\lazycodex-executor-verify\\dist\\cli.js\" hook subagent-stop"
}
],
diff --git a/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json b/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json
index bfa6f587..cdfa101e 100644
--- a/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json
+++ b/plugins/omo/hooks/user-prompt-submit-checking-ultrawork-trigger.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ultrawork/dist/cli.js\" hook user-prompt-submit",
"timeout": 5,
- "statusMessage": "(OmO 5.1.34) Checking Ultrawork Trigger",
+ "statusMessage": "(OmO 5.1.35) Checking Ultrawork Trigger",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ultrawork\\dist\\cli.js\" hook user-prompt-submit"
}
]
diff --git a/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json b/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json
index 7aa8f7bb..b3dae0b2 100644
--- a/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json
+++ b/plugins/omo/hooks/user-prompt-submit-checking-ulw-loop-steering.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook user-prompt-submit",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Checking Ulw-Loop Steering",
+ "statusMessage": "(OmO 5.1.35) Checking Ulw-Loop Steering",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\ulw-loop\\dist\\cli.js\" hook user-prompt-submit"
}
]
diff --git a/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json b/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json
index 6d4b2370..1b4d49ca 100644
--- a/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json
+++ b/plugins/omo/hooks/user-prompt-submit-loading-project-rules.json
@@ -7,7 +7,7 @@
"type": "command",
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit",
"timeout": 10,
- "statusMessage": "(OmO 5.1.34) Loading Project Rules",
+ "statusMessage": "(OmO 5.1.35) Loading Project Rules",
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook user-prompt-submit"
}
]
diff --git a/plugins/omo/package-lock.json b/plugins/omo/package-lock.json
index 01b98340..996a264d 100644
--- a/plugins/omo/package-lock.json
+++ b/plugins/omo/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.34",
+ "version": "5.1.35",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.34",
+ "version": "5.1.35",
"workspaces": [
"components/comment-checker",
"components/git-bash",
@@ -95,7 +95,7 @@
},
"components/comment-checker": {
"name": "@code-yeongyu/codex-comment-checker",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"bin": {
"omo-comment-checker": "dist/cli.js"
@@ -117,7 +117,7 @@
},
"components/git-bash": {
"name": "@sisyphuslabs/codex-git-bash-hook",
- "version": "5.1.34",
+ "version": "5.1.35",
"bin": {
"omo-git-bash-hook": "dist/cli.js"
},
@@ -131,7 +131,7 @@
},
"components/lazycodex-executor-verify": {
"name": "@code-yeongyu/codex-lazycodex-executor-verify",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"bin": {
"lazycodex-executor-verify": "dist/cli.js"
@@ -149,7 +149,7 @@
},
"components/lsp": {
"name": "@code-yeongyu/codex-lsp",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"dependencies": {
"@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",
@@ -171,7 +171,7 @@
},
"components/rules": {
"name": "@code-yeongyu/codex-rules",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"dependencies": {
"picomatch": "^4.0.7"
@@ -194,7 +194,7 @@
},
"components/teammode": {
"name": "@sisyphuslabs/codex-teammode",
- "version": "5.1.34",
+ "version": "5.1.35",
"devDependencies": {
"@types/node": "^26.6.2",
"@vitest/coverage-v8": "5.0.1",
@@ -208,7 +208,7 @@
},
"components/telemetry": {
"name": "@code-yeongyu/codex-telemetry",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"bin": {
"omo-telemetry": "dist/cli.js"
@@ -227,7 +227,7 @@
},
"components/ultrawork": {
"name": "@code-yeongyu/codex-ultrawork",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"bin": {
"omo-ultrawork": "dist/cli.js"
@@ -246,7 +246,7 @@
},
"components/ulw-execute-continuation": {
"name": "@code-yeongyu/codex-ulw-execute-continuation",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"bin": {
"omo-ulw-execute-continuation": "dist/cli.js"
@@ -264,7 +264,7 @@
},
"components/ulw-loop": {
"name": "@code-yeongyu/codex-ulw-loop",
- "version": "5.1.34",
+ "version": "5.1.35",
"license": "MIT",
"bin": {
"omo-ulw-loop": "dist/cli.js",
diff --git a/plugins/omo/package.json b/plugins/omo/package.json
index a89b3b85..da4b3356 100644
--- a/plugins/omo/package.json
+++ b/plugins/omo/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.34",
+ "version": "5.1.35",
"description": "Aggregate Codex plugin root for OMO components.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/skills/browser/runtime/omowright/manifest.json b/plugins/omo/skills/browser/runtime/omowright/manifest.json
index ec2eb943..3e8c796d 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": "f577c49fe18bcc78293e136e112a83861e86cca5d908ebceaaec524dff8b8ccc",
"page-bundle.js": "bfd51e8383cf47200d57387bbbed258bce5a3a3d00c38fc108034d2888e23f0c"
},
- "stagedAtUtc": "2026-10-16T07:28:58.751Z"
+ "stagedAtUtc": "2026-10-17T03:49:40.898Z"
}
diff --git a/plugins/omo/skills/ulw-research/references/report-gates.md b/plugins/omo/skills/ulw-research/references/report-gates.md
index 0c1df31d..e0590b36 100644
--- a/plugins/omo/skills/ulw-research/references/report-gates.md
+++ b/plugins/omo/skills/ulw-research/references/report-gates.md
@@ -19,7 +19,7 @@ This reference catalogs every defect code the report gates (`static`, `layout`,
| `chart_without_figure` | major | false | An image or chart lacks a figure wrapper with a caption. Uncaptioned charts isolate visuals from narrative flow. | Wrap the image or chart in a figure container with a caption. |
| `chart_svg_no_text` | major | false | An SVG chart or diagram lacks a title, axis labels, units, or value labels. Visuals cannot stand alone without text guidance. | Give the chart a title, axis labels, units, and value labels as SVG text. |
| `chart_svg_missing_labels` | minor | false | An SVG chart has some labels (e.g., title) but is missing others (e.g., axis ticks or unit). | Add the missing title, axis ticks, or unit label to the chart. |
-| `report_without_visual` | major | false | The report body has no chart, diagram, or figure image at all (header logos, icons, and images marked decorative do not count; only rendered output counts, so a Mermaid source block or a zero-size image does not). A text-only report hides structure and trends the reader would see at a glance. | Add at least one captioned visual of the findings: a chart from the data table, a rendered Mermaid diagram, or a figure image (references/report-visualization.md). |
+| `report_without_visual` | major | false | The report body has no chart, diagram, or figure image at all (header logos, icons, and images marked decorative do not count; only rendered output counts, so a Mermaid source block or an image with any zero dimension (attribute, inline style, or viewBox) does not; an element with no declared size counts, because the browser sizes it, and the layout gate is where rendering is proven). A text-only report hides structure and trends the reader would see at a glance. | Add at least one captioned visual of the findings: a chart from the data table, a rendered Mermaid diagram, or a figure image (references/report-visualization.md). |
| `image_missing_alt` | minor | false | A figure image has a missing or empty `alt` and is not marked decorative. Screen readers and failed image loads leave the reader with nothing. An image is decorative only with an empty `alt` plus `role="presentation"` (or `role="none"`, or `aria-hidden="true"`): it raises nothing here and does not count as a visual. | Give the image an alt attribute that states what it shows, not its file name; mark a purely decorative image alt="" with role="presentation". |
| `korean_serif_font` | major | false | A serif or brush Korean font family is applied to Korean text. The design spec mandates gothic (sans) Korean typefaces. | Use a gothic (sans) Korean family; serif and brush families are banned by the design spec. |
| `section_without_citation` | major | false | A major section or subsection contains no in-text citations or reference marks. Source attribution is missing. | Cite at least one source inside this section or merge it into a cited one. |
diff --git a/plugins/omo/skills/ulw-research/scripts/gates-figures.mjs b/plugins/omo/skills/ulw-research/scripts/gates-figures.mjs
index 94fab817..dd95a4ad 100644
--- a/plugins/omo/skills/ulw-research/scripts/gates-figures.mjs
+++ b/plugins/omo/skills/ulw-research/scripts/gates-figures.mjs
@@ -27,14 +27,30 @@ function pixels(value) {
return match ? Number(match[1]) : null
}
+function fromStyle(node, prop) {
+ return pixels(new RegExp(`(?:^|;)\\s*${prop}\\s*:\\s*([^;]+)`, "i").exec(node.attrs.style ?? "")?.[1])
+}
+
+function viewBoxSize(node) {
+ const box = String(node.attrs.viewbox ?? "").trim().split(/[\s,]+/).map(Number)
+ return box.length === 4 && box.every(Number.isFinite) ? { width: box[2], height: box[3] } : null
+}
+
/** Largest declared dimension: width/height attributes or style, else the viewBox. */
function declaredSize(node) {
- const style = node.attrs.style ?? ""
- const fromStyle = (prop) => pixels(new RegExp(`(?:^|;)\\s*${prop}\\s*:\\s*([^;]+)`, "i").exec(style)?.[1])
- const sizes = [pixels(node.attrs.width), pixels(node.attrs.height), fromStyle("width"), fromStyle("height")].filter((n) => n !== null)
+ const sizes = [pixels(node.attrs.width), pixels(node.attrs.height), fromStyle(node, "width"), fromStyle(node, "height")].filter((n) => n !== null)
if (sizes.length) return Math.max(...sizes)
- const box = String(node.attrs.viewbox ?? "").trim().split(/[\s,]+/).map(Number)
- return box.length === 4 && box.every(Number.isFinite) ? Math.max(box[2], box[3]) : null
+ const box = viewBoxSize(node)
+ return box ? Math.max(box.width, box.height) : null
+}
+
+/**
+ * True when any declared dimension is zero, so the element cannot render visibly. Each axis reads its inline
+ * style first, then its attribute, then the viewBox. An undeclared axis is not zero: the browser sizes it.
+ */
+function hasZeroDimension(node) {
+ const box = viewBoxSize(node)
+ return ["width", "height"].some((axis) => (fromStyle(node, axis) ?? pixels(node.attrs[axis]) ?? box?.[axis] ?? null) === 0)
}
function isIcon(ctx, node) {
@@ -174,7 +190,7 @@ export const figureGates = [
{
codes: ["report_without_visual"],
run(ctx) {
- if (visuals(ctx).some((node) => declaredSize(node) !== 0 && !isDecorative(node))) return []
+ if (visuals(ctx).some((node) => !hasZeroDimension(node) && !isDecorative(node))) return []
return [ctx.defect("report_without_visual", ctx.body, "the report has no chart, diagram, or figure image")]
},
},