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.40

YeonGyu-Kimbca7c59b870b
diff --git a/plugins/omo/.codex-plugin/plugin.json b/plugins/omo/.codex-plugin/plugin.json
index 7c79e7ba..7995339e 100644
--- a/plugins/omo/.codex-plugin/plugin.json
+++ b/plugins/omo/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "omo",
- "version": "5.1.38",
+ "version": "5.1.40",
"description": "One Codex plugin namespace for Yeongyu's local Codex components.",
"author": {
"name": "Yeongyu Kim",
diff --git a/plugins/omo/components/bootstrap/dist/cli.js b/plugins/omo/components/bootstrap/dist/cli.js
index ada67cc4..5242856b 100755
--- a/plugins/omo/components/bootstrap/dist/cli.js
+++ b/plugins/omo/components/bootstrap/dist/cli.js
@@ -7100,14 +7100,20 @@ var OmoComputerSettingsLayerSchema = object({
var OmoComputerSettingsSchema = OmoComputerSettingsLayerSchema;
// ../../omo-config-core/src/schema/git-master.ts
+var GIT_ENV_ASSIGNMENT_PATTERN = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
+var GitEnvPrefixSchema = string2().refine((value) => value === "" || GIT_ENV_ASSIGNMENT_PATTERN.test(value), {
+ message: 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"'
+});
var OmoGitMasterSettingsShape = {
commit_footer: union([boolean2(), string2()]),
- include_co_authored_by: boolean2()
+ include_co_authored_by: boolean2(),
+ git_env_prefix: GitEnvPrefixSchema
};
var OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
var OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
commit_footer: union([boolean2(), string2()]).default(false),
- include_co_authored_by: boolean2().default(false)
+ include_co_authored_by: boolean2().default(false),
+ git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
}).strict();
// ../../omo-config-core/src/schema/harness.ts
diff --git a/plugins/omo/components/bootstrap/hooks/hooks.json b/plugins/omo/components/bootstrap/hooks/hooks.json
index 485648f9..1a1c4548 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.38) Checking Bootstrap Provisioning"
+ "statusMessage": "(OmO 5.1.40) Checking Bootstrap Provisioning"
}
]
}
diff --git a/plugins/omo/components/bootstrap/package.json b/plugins/omo/components/bootstrap/package.json
index 3c371242..d54862d6 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.38",
+ "version": "5.1.40",
"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 e9ce5ae1..bc2c2a65 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.38) Checking Comments"
+ "statusMessage": "(OmO 5.1.40) Checking Comments"
}
]
}
diff --git a/plugins/omo/components/comment-checker/package.json b/plugins/omo/components/comment-checker/package.json
index c8d14456..e471c6df 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.38",
+ "version": "5.1.40",
"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 0135e2bd..e57f9cc5 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.38) Recommending Git Bash MCP"
+ "statusMessage": "(OmO 5.1.40) 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.38) Resetting Git Bash MCP Reminder"
+ "statusMessage": "(OmO 5.1.40) Resetting Git Bash MCP Reminder"
}
]
}
diff --git a/plugins/omo/components/git-bash/package.json b/plugins/omo/components/git-bash/package.json
index f1f146cb..20d9cbb9 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.38",
+ "version": "5.1.40",
"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 e01082b7..8db8c9ec 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.38) Verifying LazyCodex Executor Evidence"
+ "statusMessage": "(OmO 5.1.40) 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 b169de6f..8efe2872 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.38",
+ "version": "5.1.40",
"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 ce46c764..a881b780 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.38",
- "inputDigest": "sha256:243e2955ac73aa061ab27152dc6f31cf118025bce72b0f52537519d2f687a54e",
+ "version": "5.1.40",
+ "inputDigest": "sha256:eaaf8bb00a532c1ad018f45d3d10f940405a9e73197aaea75389780b8a77fcaa",
"outputs": [
{
"path": "cli.d.ts",
diff --git a/plugins/omo/components/lsp/hooks/hooks.json b/plugins/omo/components/lsp/hooks/hooks.json
index 35812fe3..734e443b 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.38) Checking LSP Diagnostics"
+ "statusMessage": "(OmO 5.1.40) 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.38) Resetting LSP Diagnostics Cache"
+ "statusMessage": "(OmO 5.1.40) Resetting LSP Diagnostics Cache"
}
]
}
diff --git a/plugins/omo/components/lsp/package.json b/plugins/omo/components/lsp/package.json
index a3e8f714..317630a6 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.38",
+ "version": "5.1.40",
"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 2487f9f2..50c25eee 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.38) Loading Project Rules"
+ "statusMessage": "(OmO 5.1.40) 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.38) Loading Project Rules"
+ "statusMessage": "(OmO 5.1.40) 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.38) Matching Project Rules"
+ "statusMessage": "(OmO 5.1.40) 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.38) Resetting Project Rule Cache"
+ "statusMessage": "(OmO 5.1.40) Resetting Project Rule Cache"
}
]
}
diff --git a/plugins/omo/components/rules/package.json b/plugins/omo/components/rules/package.json
index 97e5d016..80fae83e 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.38",
+ "version": "5.1.40",
"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 5dab6851..32bccf85 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.38) Checking Thread Title Hygiene"
+ "statusMessage": "(OmO 5.1.40) Checking Thread Title Hygiene"
}
]
}
diff --git a/plugins/omo/components/teammode/package.json b/plugins/omo/components/teammode/package.json
index 52ea0845..3f4fd1de 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.38",
+ "version": "5.1.40",
"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 565afbd1..64b86f9a 100755
--- a/plugins/omo/components/telemetry/dist/cli.js
+++ b/plugins/omo/components/telemetry/dist/cli.js
@@ -386,6 +386,157 @@ function getTelemetryHost(env = process.env, defaultHost = DEFAULT_POSTHOG_HOST)
return env["POSTHOG_HOST"]?.trim() || defaultHost;
}
+// ../../telemetry-core/src/machine-id.ts
+import { createHash } from "node:crypto";
+import os2 from "node:os";
+function getDefaultTelemetryOsProvider() {
+ return os2;
+}
+function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
+ return createHash("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
+}
+
+// ../../telemetry-core/src/injected-client.ts
+var NO_OP_CLIENT = {
+ enabled: false,
+ trackActive: () => {
+ return;
+ },
+ flush: async () => {
+ return;
+ },
+ shutdown: async () => {
+ return;
+ }
+};
+function isTelemetryClientEnabled(input) {
+ const env = input.env ?? process.env;
+ return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
+}
+function createTelemetryClient(input) {
+ if (!isTelemetryClientEnabled(input)) {
+ return NO_OP_CLIENT;
+ }
+ const transport = createTransport(input);
+ if (transport === null) {
+ return NO_OP_CLIENT;
+ }
+ const sharedProperties = getSharedProperties(input);
+ return {
+ enabled: true,
+ trackActive: ({ dayUTC, distinctId, reason }) => {
+ try {
+ transport.capture({
+ distinctId,
+ event: input.product.eventName,
+ properties: {
+ ...sharedProperties,
+ $process_person_profile: false,
+ day_utc: dayUTC,
+ reason
+ }
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_capture_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ },
+ flush: async () => {
+ if (transport.flush === undefined) {
+ return;
+ }
+ await transport.flush();
+ },
+ shutdown: async () => {
+ try {
+ await transport.shutdown();
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_shutdown_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ }
+ };
+}
+function createTransport(input) {
+ const env = input.env ?? process.env;
+ const factory = input.transportFactory;
+ try {
+ return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
+ enableExceptionAutocapture: false,
+ enableLocalEvaluation: false,
+ strictLocalEvaluation: true,
+ disableRemoteConfig: true,
+ flushAt: 1,
+ flushInterval: 0,
+ host: getTelemetryHost(env, input.product.defaultHost),
+ disableGeoip: input.product.disableGeoip ?? false,
+ ...input.product.transportOptions
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_posthog_init_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return null;
+ }
+}
+function getSharedProperties(input) {
+ const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
+ const cpuInfo = getSafeCpuInfo(osProvider, input);
+ return {
+ platform: input.product.platform,
+ product_name: input.product.productName,
+ package_name: input.product.packageName,
+ package_version: input.product.packageVersion,
+ runtime: "bun",
+ runtime_version: process.versions.bun ?? process.version,
+ source: input.source,
+ $os: osProvider.platform(),
+ $os_version: osProvider.release(),
+ os_arch: osProvider.arch(),
+ os_type: osProvider.type(),
+ cpu_count: cpuInfo.count,
+ cpu_model: cpuInfo.model,
+ total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
+ locale: Intl.DateTimeFormat().resolvedOptions().locale,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
+ shell: process.env.SHELL,
+ ci: Boolean(process.env.CI),
+ terminal: process.env.TERM_PROGRAM,
+ ...input.product.additionalProperties
+ };
+}
+function getSafeCpuInfo(osProvider, input) {
+ try {
+ const cpuInfo = osProvider.cpus();
+ return {
+ count: cpuInfo.length,
+ model: cpuInfo[0]?.model
+ };
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_cpu_info_unavailable",
+ source: "shared",
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return {
+ count: 0,
+ model: undefined
+ };
+ }
+}
+
// ../../../node_modules/.bun/[email protected]/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
import { dirname as dirname2, posix, sep } from "node:path";
function createModulerModifier() {
@@ -9452,30 +9603,7 @@ class PostHog extends PostHogBackendClient {
}
}
-// ../../telemetry-core/src/machine-id.ts
-import { createHash } from "node:crypto";
-import os2 from "node:os";
-function getDefaultTelemetryOsProvider() {
- return os2;
-}
-function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
- return createHash("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
-}
-
-// ../../telemetry-core/src/posthog-client.ts
-var NO_OP_CLIENT = {
- enabled: false,
- trackActive: () => {
- return;
- },
- flush: async () => {
- return;
- },
- shutdown: async () => {
- return;
- }
-};
-
+// ../../telemetry-core/src/posthog-transport.ts
class PostHogTelemetryTransport {
#client;
constructor(apiKey, options) {
@@ -9494,132 +9622,10 @@ class PostHogTelemetryTransport {
function createDefaultPostHogTransport(apiKey, options) {
return new PostHogTelemetryTransport(apiKey, options);
}
-function isTelemetryClientEnabled(input) {
- const env = input.env ?? process.env;
- return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
-}
-function createTelemetryClient(input) {
- if (!isTelemetryClientEnabled(input)) {
- return NO_OP_CLIENT;
- }
- const transport = createTransport(input);
- if (transport === null) {
- return NO_OP_CLIENT;
- }
- const sharedProperties = getSharedProperties(input);
- return {
- enabled: true,
- trackActive: ({ dayUTC, distinctId, reason }) => {
- try {
- transport.capture({
- distinctId,
- event: input.product.eventName,
- properties: {
- ...sharedProperties,
- $process_person_profile: false,
- day_utc: dayUTC,
- reason
- }
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_capture_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- },
- flush: async () => {
- if (transport.flush === undefined) {
- return;
- }
- await transport.flush();
- },
- shutdown: async () => {
- try {
- await transport.shutdown();
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_shutdown_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- }
- };
-}
-function createTransport(input) {
- const env = input.env ?? process.env;
- const factory = input.transportFactory ?? createDefaultPostHogTransport;
- try {
- return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
- enableExceptionAutocapture: false,
- enableLocalEvaluation: false,
- strictLocalEvaluation: true,
- disableRemoteConfig: true,
- flushAt: 1,
- flushInterval: 0,
- host: getTelemetryHost(env, input.product.defaultHost),
- disableGeoip: input.product.disableGeoip ?? false,
- ...input.product.transportOptions
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_posthog_init_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return null;
- }
-}
-function getSharedProperties(input) {
- const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
- const cpuInfo = getSafeCpuInfo(osProvider, input);
- return {
- platform: input.product.platform,
- product_name: input.product.productName,
- package_name: input.product.packageName,
- package_version: input.product.packageVersion,
- runtime: "bun",
- runtime_version: process.versions.bun ?? process.version,
- source: input.source,
- $os: osProvider.platform(),
- $os_version: osProvider.release(),
- os_arch: osProvider.arch(),
- os_type: osProvider.type(),
- cpu_count: cpuInfo.count,
- cpu_model: cpuInfo.model,
- total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
- locale: Intl.DateTimeFormat().resolvedOptions().locale,
- timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
- shell: process.env.SHELL,
- ci: Boolean(process.env.CI),
- terminal: process.env.TERM_PROGRAM,
- ...input.product.additionalProperties
- };
-}
-function getSafeCpuInfo(osProvider, input) {
- try {
- const cpuInfo = osProvider.cpus();
- return {
- count: cpuInfo.length,
- model: cpuInfo[0]?.model
- };
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_cpu_info_unavailable",
- source: "shared",
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return {
- count: 0,
- model: undefined
- };
- }
+
+// ../../telemetry-core/src/posthog-client.ts
+function createTelemetryClient2(input) {
+ return createTelemetryClient({ ...input, transportFactory: input.transportFactory ?? createDefaultPostHogTransport });
}
// components/telemetry/src/product-identity.ts
@@ -9729,7 +9735,7 @@ function createPluginPostHogClient(options = {}) {
}),
source: "plugin"
};
- const client = createTelemetryClient(options.transportFactory === undefined ? clientInput : {
+ const client = createTelemetryClient2(options.transportFactory === undefined ? clientInput : {
...clientInput,
transportFactory: options.transportFactory
});
diff --git a/plugins/omo/components/telemetry/dist/posthog.js b/plugins/omo/components/telemetry/dist/posthog.js
index 3444ffba..7a62100e 100644
--- a/plugins/omo/components/telemetry/dist/posthog.js
+++ b/plugins/omo/components/telemetry/dist/posthog.js
@@ -381,6 +381,157 @@ function getTelemetryHost(env = process.env, defaultHost = DEFAULT_POSTHOG_HOST)
return env["POSTHOG_HOST"]?.trim() || defaultHost;
}
+// ../../../../telemetry-core/src/machine-id.ts
+import { createHash } from "node:crypto";
+import os2 from "node:os";
+function getDefaultTelemetryOsProvider() {
+ return os2;
+}
+function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
+ return createHash("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
+}
+
+// ../../../../telemetry-core/src/injected-client.ts
+var NO_OP_CLIENT = {
+ enabled: false,
+ trackActive: () => {
+ return;
+ },
+ flush: async () => {
+ return;
+ },
+ shutdown: async () => {
+ return;
+ }
+};
+function isTelemetryClientEnabled(input) {
+ const env = input.env ?? process.env;
+ return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
+}
+function createTelemetryClient(input) {
+ if (!isTelemetryClientEnabled(input)) {
+ return NO_OP_CLIENT;
+ }
+ const transport = createTransport(input);
+ if (transport === null) {
+ return NO_OP_CLIENT;
+ }
+ const sharedProperties = getSharedProperties(input);
+ return {
+ enabled: true,
+ trackActive: ({ dayUTC, distinctId, reason }) => {
+ try {
+ transport.capture({
+ distinctId,
+ event: input.product.eventName,
+ properties: {
+ ...sharedProperties,
+ $process_person_profile: false,
+ day_utc: dayUTC,
+ reason
+ }
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_capture_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ },
+ flush: async () => {
+ if (transport.flush === undefined) {
+ return;
+ }
+ await transport.flush();
+ },
+ shutdown: async () => {
+ try {
+ await transport.shutdown();
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_shutdown_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ }
+ };
+}
+function createTransport(input) {
+ const env = input.env ?? process.env;
+ const factory = input.transportFactory;
+ try {
+ return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
+ enableExceptionAutocapture: false,
+ enableLocalEvaluation: false,
+ strictLocalEvaluation: true,
+ disableRemoteConfig: true,
+ flushAt: 1,
+ flushInterval: 0,
+ host: getTelemetryHost(env, input.product.defaultHost),
+ disableGeoip: input.product.disableGeoip ?? false,
+ ...input.product.transportOptions
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_posthog_init_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return null;
+ }
+}
+function getSharedProperties(input) {
+ const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
+ const cpuInfo = getSafeCpuInfo(osProvider, input);
+ return {
+ platform: input.product.platform,
+ product_name: input.product.productName,
+ package_name: input.product.packageName,
+ package_version: input.product.packageVersion,
+ runtime: "bun",
+ runtime_version: process.versions.bun ?? process.version,
+ source: input.source,
+ $os: osProvider.platform(),
+ $os_version: osProvider.release(),
+ os_arch: osProvider.arch(),
+ os_type: osProvider.type(),
+ cpu_count: cpuInfo.count,
+ cpu_model: cpuInfo.model,
+ total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
+ locale: Intl.DateTimeFormat().resolvedOptions().locale,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
+ shell: process.env.SHELL,
+ ci: Boolean(process.env.CI),
+ terminal: process.env.TERM_PROGRAM,
+ ...input.product.additionalProperties
+ };
+}
+function getSafeCpuInfo(osProvider, input) {
+ try {
+ const cpuInfo = osProvider.cpus();
+ return {
+ count: cpuInfo.length,
+ model: cpuInfo[0]?.model
+ };
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_cpu_info_unavailable",
+ source: "shared",
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return {
+ count: 0,
+ model: undefined
+ };
+ }
+}
+
// ../../../../../node_modules/.bun/[email protected]/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
import { dirname as dirname2, posix, sep } from "path";
function createModulerModifier() {
@@ -9447,30 +9598,7 @@ class PostHog extends PostHogBackendClient {
}
}
-// ../../../../telemetry-core/src/machine-id.ts
-import { createHash } from "node:crypto";
-import os2 from "node:os";
-function getDefaultTelemetryOsProvider() {
- return os2;
-}
-function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
- return createHash("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
-}
-
-// ../../../../telemetry-core/src/posthog-client.ts
-var NO_OP_CLIENT = {
- enabled: false,
- trackActive: () => {
- return;
- },
- flush: async () => {
- return;
- },
- shutdown: async () => {
- return;
- }
-};
-
+// ../../../../telemetry-core/src/posthog-transport.ts
class PostHogTelemetryTransport {
#client;
constructor(apiKey, options) {
@@ -9489,132 +9617,10 @@ class PostHogTelemetryTransport {
function createDefaultPostHogTransport(apiKey, options) {
return new PostHogTelemetryTransport(apiKey, options);
}
-function isTelemetryClientEnabled(input) {
- const env = input.env ?? process.env;
- return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
-}
-function createTelemetryClient(input) {
- if (!isTelemetryClientEnabled(input)) {
- return NO_OP_CLIENT;
- }
- const transport = createTransport(input);
- if (transport === null) {
- return NO_OP_CLIENT;
- }
- const sharedProperties = getSharedProperties(input);
- return {
- enabled: true,
- trackActive: ({ dayUTC, distinctId, reason }) => {
- try {
- transport.capture({
- distinctId,
- event: input.product.eventName,
- properties: {
- ...sharedProperties,
- $process_person_profile: false,
- day_utc: dayUTC,
- reason
- }
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_capture_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- },
- flush: async () => {
- if (transport.flush === undefined) {
- return;
- }
- await transport.flush();
- },
- shutdown: async () => {
- try {
- await transport.shutdown();
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_shutdown_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- }
- };
-}
-function createTransport(input) {
- const env = input.env ?? process.env;
- const factory = input.transportFactory ?? createDefaultPostHogTransport;
- try {
- return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
- enableExceptionAutocapture: false,
- enableLocalEvaluation: false,
- strictLocalEvaluation: true,
- disableRemoteConfig: true,
- flushAt: 1,
- flushInterval: 0,
- host: getTelemetryHost(env, input.product.defaultHost),
- disableGeoip: input.product.disableGeoip ?? false,
- ...input.product.transportOptions
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_posthog_init_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return null;
- }
-}
-function getSharedProperties(input) {
- const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
- const cpuInfo = getSafeCpuInfo(osProvider, input);
- return {
- platform: input.product.platform,
- product_name: input.product.productName,
- package_name: input.product.packageName,
- package_version: input.product.packageVersion,
- runtime: "bun",
- runtime_version: process.versions.bun ?? process.version,
- source: input.source,
- $os: osProvider.platform(),
- $os_version: osProvider.release(),
- os_arch: osProvider.arch(),
- os_type: osProvider.type(),
- cpu_count: cpuInfo.count,
- cpu_model: cpuInfo.model,
- total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
- locale: Intl.DateTimeFormat().resolvedOptions().locale,
- timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
- shell: process.env.SHELL,
- ci: Boolean(process.env.CI),
- terminal: process.env.TERM_PROGRAM,
- ...input.product.additionalProperties
- };
-}
-function getSafeCpuInfo(osProvider, input) {
- try {
- const cpuInfo = osProvider.cpus();
- return {
- count: cpuInfo.length,
- model: cpuInfo[0]?.model
- };
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_cpu_info_unavailable",
- source: "shared",
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return {
- count: 0,
- model: undefined
- };
- }
+
+// ../../../../telemetry-core/src/posthog-client.ts
+function createTelemetryClient2(input) {
+ return createTelemetryClient({ ...input, transportFactory: input.transportFactory ?? createDefaultPostHogTransport });
}
// src/product-identity.ts
@@ -9724,7 +9730,7 @@ function createPluginPostHogClient(options = {}) {
}),
source: "plugin"
};
- const client = createTelemetryClient(options.transportFactory === undefined ? clientInput : {
+ const client = createTelemetryClient2(options.transportFactory === undefined ? clientInput : {
...clientInput,
transportFactory: options.transportFactory
});
diff --git a/plugins/omo/components/telemetry/hooks/hooks.json b/plugins/omo/components/telemetry/hooks/hooks.json
index 827628cb..94eb5371 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.38) Recording Session Telemetry"
+ "statusMessage": "(OmO 5.1.40) Recording Session Telemetry"
}
]
}
diff --git a/plugins/omo/components/telemetry/package.json b/plugins/omo/components/telemetry/package.json
index 2c63a92b..f8096af2 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.38",
+ "version": "5.1.40",
"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 572a052a..e27eff86 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.38) Checking Ultrawork Trigger"
+ "statusMessage": "(OmO 5.1.40) Checking Ultrawork Trigger"
}
]
}
diff --git a/plugins/omo/components/ultrawork/package.json b/plugins/omo/components/ultrawork/package.json
index 417be4f4..fe5c0f73 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.38",
+ "version": "5.1.40",
"description": "Codex plugin that injects the ultrawork orchestration directive and ships LazyCodex planning, review, QA, and gate agent roles.",
"type": "module",
"packageManager": "[email protected]",
diff --git a/plugins/omo/components/ultrawork/skills/ulw-plan/SKILL.md b/plugins/omo/components/ultrawork/skills/ulw-plan/SKILL.md
index 6d32d4a8..44a54755 100644
--- a/plugins/omo/components/ultrawork/skills/ulw-plan/SKILL.md
+++ b/plugins/omo/components/ultrawork/skills/ulw-plan/SKILL.md
@@ -34,7 +34,7 @@ Example opening (adapt the wording, keep every commitment):
## INTENT ROUTING - pick ONE intent reference
-**Review modifiers are a gate trigger, not a style cue.** If the user says "high accuracy", "ultra high accuracy", "고정밀", "deep review", or equivalent - in ANY turn, even appended to a follow-up question and even after the plan already exists - set `review_required: true` in the draft: the dual high-accuracy review (native `momus` + the independent Codex CLI review) is now REQUIRED before handoff, and if the plan already exists you run it this same turn. The review runs under the bounded convergence contract in `full-workflow.md`: a 5-round cap (unlimited only on explicit user request), evidence-backed blocker eligibility, and approval-with-notes counting as approval. Answering the current question more carefully does NOT satisfy it. This does NOT choose CLEAR/UNCLEAR and does NOT suppress interview.
+**Review modifiers are a gate trigger, not a style cue.** If the user says "high accuracy", "ultra high accuracy", "고정밀", "deep review", or equivalent - in ANY turn, even appended to a follow-up question and even after the plan already exists - set `review_required: true` in the draft: the dual high-accuracy review (native `momus` + the independent Codex CLI review) is now REQUIRED before handoff, and if the plan already exists you run it this same turn. The review runs under the bounded convergence contract in `full-workflow.md`: convergence-bounded rounds (another round only while the previous one raised a new blocker-eligible finding or closed a ledger blocker; a round with neither that still does not approve stops the review), evidence-backed blocker eligibility, and approval-with-notes counting as approval. Answering the current question more carefully does NOT satisfy it. This does NOT choose CLEAR/UNCLEAR and does NOT suppress interview.
After grounding, make ONE judgment, record `intent: clear|unclear` plus `review_required`, **ANNOUNCE both to the user in one line**, then load ONE intent reference (you ALSO read `references/full-workflow.md` for the shared mechanics - see below). The test keys on whether the desired **OUTCOME** is clear, NOT on request length. This verdict line and the opening announcement above are the two mandatory user-visible signals of a planning session - it tells the user whether they will be interviewed and whether high-accuracy review is already requested; never skip either.
diff --git a/plugins/omo/components/ultrawork/skills/ulw-plan/references/full-workflow.md b/plugins/omo/components/ultrawork/skills/ulw-plan/references/full-workflow.md
index 3d7a0841..975a88c7 100644
--- a/plugins/omo/components/ultrawork/skills/ulw-plan/references/full-workflow.md
+++ b/plugins/omo/components/ultrawork/skills/ulw-plan/references/full-workflow.md
@@ -213,14 +213,15 @@ Every reviewer prompt must carry this intake contract with all angle-bracket val
The first action must open the literal workspace root as a directory descriptor, then traverse `.omo`, `plans`, and the final target with descriptor-relative no-follow opens, `fstat` each ancestor as a directory and the final descriptor as a regular file, and hash all bytes read from that same final descriptor. If the platform cannot guarantee this chain, or any path/runtime/launch/receipt/digest check drifts, return `INCONCLUSIVE` before reviewing. Echo the literal workspace, runtime home, target, digest, round, and launch ID; the parent separately matches the completion envelope to the persisted session/process receipt. Never search or use another artifact.
### Bounded convergence (the review must terminate)
-Review rounds are capped at 5 (unlimited only on explicit user request), and an approval whose only remaining items are notes counts as approval. A finding may BLOCK only when it names at least one `blocker_eligibility` category below with its concrete evidence - an IS row no todo closes, no QA scenario proves, or the approach cannot reach for the named user is such a category; every other finding - speculative durability, replay/crash-recovery, schema, CLI-parsing, state-machine, or hardening concerns the accepted scope never required - is recorded as a non-blocking note and becomes implementation/test work, never plan expansion. After round 1 the blocker ledger FREEZES: later rounds verify accepted ledger blockers, regressions introduced by fixes, and new findings that pass eligibility - they never rediscover the plan from scratch. Fixes apply the smallest edit that resolves the cited blocker; neither reviews nor fixes grow the plan's scope. Every reviewer prompt carries this convergence contract alongside the intake contract. On cap exhaustion without approval: STOP, report outstanding blockers, ask the user - continue / accept / adjust.
+Review continues until unconditional approval, but a further round runs only while the previous round made progress: it raised at least one NEW blocker-eligible finding (one not already in the ledger and not a restatement of a closed blocker), or it confirmed at least one ledger blocker closed. A round that does neither and still does not approve ends the review: stop, report the outstanding blockers, and ask the user. This is the non-convergence guard, so there is no fixed round count; it terminates because the ledger is frozen after round 1, so every closure shrinks it. An approval whose only remaining items are notes counts as approval. A finding may BLOCK only when it names at least one `blocker_eligibility` category below with its concrete evidence - an IS row no todo closes, no QA scenario proves, or the approach cannot reach for the named user is such a category; every other finding - speculative durability, replay/crash-recovery, schema, CLI-parsing, state-machine, or hardening concerns the accepted scope never required - is recorded as a non-blocking note and becomes implementation/test work, never plan expansion. After round 1 the blocker ledger FREEZES: later rounds verify accepted ledger blockers, regressions introduced by fixes, and new findings that pass eligibility - they never rediscover the plan from scratch. Fixes apply the smallest edit that resolves the cited blocker; neither reviews nor fixes grow the plan's scope. Every reviewer prompt carries this convergence contract alongside the intake contract. On cap exhaustion without approval: STOP, report outstanding blockers, ask the user - continue / accept / adjust.
<!-- ulw-plan-review-convergence-contract -->
```json
{
- "max_rounds": 5,
- "max_rounds_override": "explicit_user_request_only",
- "on_cap_reached": "stop_report_outstanding_blockers_ask_user",
+ "max_rounds": null,
+ "continue_while": "previous_round_raised_new_blocker_eligible_finding_or_closed_ledger_blocker",
+ "stop_on": "round_without_new_blocker_eligible_finding_or_ledger_blocker_closure",
+ "on_stop_without_approval": "stop_report_outstanding_blockers_ask_user",
"blocker_eligibility": [
"explicit_requirement_or_accepted_decision",
"existing_failing_regression",
diff --git a/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json b/plugins/omo/components/ulw-execute-continuation/hooks/hooks.json
index 8d4a3618..b6c28db9 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.38) Checking Ulw-Execute Continuation"
+ "statusMessage": "(OmO 5.1.40) 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 87564e5f..960bba47 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.38",
+ "version": "5.1.40",
"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 88aa5f2e..1cd3ab73 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.38) Checking Ulw-Loop Steering"
+ "statusMessage": "(OmO 5.1.40) 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.38) Recording Spawn Admission"
+ "statusMessage": "(OmO 5.1.40) 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.38) Enforcing Unlimited Ulw-Loop Budget"
+ "statusMessage": "(OmO 5.1.40) 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.38) Guarding Ulw-Loop Spawns"
+ "statusMessage": "(OmO 5.1.40) 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.38) Checking Ulw-Loop Resume"
+ "statusMessage": "(OmO 5.1.40) Checking Ulw-Loop Resume"
}
]
}
diff --git a/plugins/omo/components/ulw-loop/package.json b/plugins/omo/components/ulw-loop/package.json
index c34ca5e2..487ac7e1 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.38",
+ "version": "5.1.40",
"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 30cd422e..c6cf81db 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.38",
+ version: "5.1.40",
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",
@@ -2310,7 +2310,7 @@ var init_package = __esm(() => {
},
devDependencies: {
"@clack/prompts": "^1.8.1",
- "@code-yeongyu/senpi": "2026.10.19",
+ "@code-yeongyu/senpi": "2026.10.19-2",
"@modelcontextprotocol/sdk": "^1.30.0",
"@oh-my-opencode/agents-md-core": "workspace:*",
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
@@ -2351,6 +2351,7 @@ var init_package = __esm(() => {
"@opentui/core": "^0.5.11",
"@opentui/keymap": "^0.5.11",
"@types/js-yaml": "^4.0.9",
+ "@types/node": "26.6.2",
"@types/picomatch": "^4.0.3",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"@typescript/typescript6": "6.0.2",
@@ -2370,18 +2371,18 @@ var init_package = __esm(() => {
typescript: "^7.0.2"
},
optionalDependencies: {
- "oh-my-opencode-darwin-arm64": "5.1.38",
- "oh-my-opencode-darwin-x64": "5.1.38",
- "oh-my-opencode-darwin-x64-baseline": "5.1.38",
- "oh-my-opencode-linux-arm64": "5.1.38",
- "oh-my-opencode-linux-arm64-musl": "5.1.38",
- "oh-my-opencode-linux-x64": "5.1.38",
- "oh-my-opencode-linux-x64-baseline": "5.1.38",
- "oh-my-opencode-linux-x64-musl": "5.1.38",
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.38",
- "oh-my-opencode-windows-arm64": "5.1.38",
- "oh-my-opencode-windows-x64": "5.1.38",
- "oh-my-opencode-windows-x64-baseline": "5.1.38"
+ "oh-my-opencode-darwin-arm64": "5.1.40",
+ "oh-my-opencode-darwin-x64": "5.1.40",
+ "oh-my-opencode-darwin-x64-baseline": "5.1.40",
+ "oh-my-opencode-linux-arm64": "5.1.40",
+ "oh-my-opencode-linux-arm64-musl": "5.1.40",
+ "oh-my-opencode-linux-x64": "5.1.40",
+ "oh-my-opencode-linux-x64-baseline": "5.1.40",
+ "oh-my-opencode-linux-x64-musl": "5.1.40",
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.40",
+ "oh-my-opencode-windows-arm64": "5.1.40",
+ "oh-my-opencode-windows-x64": "5.1.40",
+ "oh-my-opencode-windows-x64-baseline": "5.1.40"
},
overrides: {
hono: "^4.13.8",
@@ -76859,17 +76860,23 @@ var init_computer = __esm(() => {
});
// packages/omo-config-core/src/schema/git-master.ts
-var OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
+var GIT_ENV_ASSIGNMENT_PATTERN, GitEnvPrefixSchema, OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
var init_git_master = __esm(() => {
init_zod();
+ GIT_ENV_ASSIGNMENT_PATTERN = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
+ GitEnvPrefixSchema = string2().refine((value) => value === "" || GIT_ENV_ASSIGNMENT_PATTERN.test(value), {
+ message: 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"'
+ });
OmoGitMasterSettingsShape = {
commit_footer: union([boolean2(), string2()]),
- include_co_authored_by: boolean2()
+ include_co_authored_by: boolean2(),
+ git_env_prefix: GitEnvPrefixSchema
};
OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
commit_footer: union([boolean2(), string2()]).default(false),
- include_co_authored_by: boolean2().default(false)
+ include_co_authored_by: boolean2().default(false),
+ git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
}).strict();
});
@@ -82604,6 +82611,163 @@ var init_event_id = __esm(() => {
fallbackEventId = createUuidV7Generator();
});
+// packages/telemetry-core/src/machine-id.ts
+import { createHash as createHash5 } from "node:crypto";
+import os4 from "node:os";
+function getDefaultTelemetryOsProvider() {
+ return os4;
+}
+function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
+ return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
+}
+var init_machine_id = () => {};
+
+// packages/telemetry-core/src/injected-client.ts
+function isTelemetryClientEnabled(input) {
+ const env = input.env ?? process.env;
+ return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
+}
+function createTelemetryClient(input) {
+ if (!isTelemetryClientEnabled(input)) {
+ return NO_OP_CLIENT;
+ }
+ const transport = createTransport(input);
+ if (transport === null) {
+ return NO_OP_CLIENT;
+ }
+ const sharedProperties = getSharedProperties(input);
+ return {
+ enabled: true,
+ trackActive: ({ dayUTC, distinctId, reason }) => {
+ try {
+ transport.capture({
+ distinctId,
+ event: input.product.eventName,
+ properties: {
+ ...sharedProperties,
+ $process_person_profile: false,
+ day_utc: dayUTC,
+ reason
+ }
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_capture_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ },
+ flush: async () => {
+ if (transport.flush === undefined) {
+ return;
+ }
+ await transport.flush();
+ },
+ shutdown: async () => {
+ try {
+ await transport.shutdown();
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_shutdown_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ }
+ };
+}
+function createTransport(input) {
+ const env = input.env ?? process.env;
+ const factory = input.transportFactory;
+ try {
+ return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
+ enableExceptionAutocapture: false,
+ enableLocalEvaluation: false,
+ strictLocalEvaluation: true,
+ disableRemoteConfig: true,
+ flushAt: 1,
+ flushInterval: 0,
+ host: getTelemetryHost(env, input.product.defaultHost),
+ disableGeoip: input.product.disableGeoip ?? false,
+ ...input.product.transportOptions
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_posthog_init_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return null;
+ }
+}
+function getSharedProperties(input) {
+ const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
+ const cpuInfo = getSafeCpuInfo(osProvider, input);
+ return {
+ platform: input.product.platform,
+ product_name: input.product.productName,
+ package_name: input.product.packageName,
+ package_version: input.product.packageVersion,
+ runtime: "bun",
+ runtime_version: process.versions.bun ?? process.version,
+ source: input.source,
+ $os: osProvider.platform(),
+ $os_version: osProvider.release(),
+ os_arch: osProvider.arch(),
+ os_type: osProvider.type(),
+ cpu_count: cpuInfo.count,
+ cpu_model: cpuInfo.model,
+ total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
+ locale: Intl.DateTimeFormat().resolvedOptions().locale,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
+ shell: process.env.SHELL,
+ ci: Boolean(process.env.CI),
+ terminal: process.env.TERM_PROGRAM,
+ ...input.product.additionalProperties
+ };
+}
+function getSafeCpuInfo(osProvider, input) {
+ try {
+ const cpuInfo = osProvider.cpus();
+ return {
+ count: cpuInfo.length,
+ model: cpuInfo[0]?.model
+ };
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_cpu_info_unavailable",
+ source: "shared",
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return {
+ count: 0,
+ model: undefined
+ };
+ }
+}
+var NO_OP_CLIENT;
+var init_injected_client = __esm(() => {
+ init_env();
+ init_machine_id();
+ NO_OP_CLIENT = {
+ enabled: false,
+ trackActive: () => {
+ return;
+ },
+ flush: async () => {
+ return;
+ },
+ shutdown: async () => {
+ return;
+ }
+ };
+});
+
// 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() {
@@ -91977,18 +92141,7 @@ var init_index_node = __esm(() => {
};
});
-// packages/telemetry-core/src/machine-id.ts
-import { createHash as createHash5 } from "node:crypto";
-import os4 from "node:os";
-function getDefaultTelemetryOsProvider() {
- return os4;
-}
-function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
- return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
-}
-var init_machine_id = () => {};
-
-// packages/telemetry-core/src/posthog-client.ts
+// packages/telemetry-core/src/posthog-transport.ts
class PostHogTelemetryTransport {
#client;
constructor(apiKey, options) {
@@ -92007,161 +92160,21 @@ class PostHogTelemetryTransport {
function createDefaultPostHogTransport(apiKey, options) {
return new PostHogTelemetryTransport(apiKey, options);
}
-function isTelemetryClientEnabled(input) {
- const env = input.env ?? process.env;
- return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
-}
-function createTelemetryClient(input) {
- if (!isTelemetryClientEnabled(input)) {
- return NO_OP_CLIENT;
- }
- const transport = createTransport(input);
- if (transport === null) {
- return NO_OP_CLIENT;
- }
- const sharedProperties = getSharedProperties(input);
- return {
- enabled: true,
- trackActive: ({ dayUTC, distinctId, reason }) => {
- try {
- transport.capture({
- distinctId,
- event: input.product.eventName,
- properties: {
- ...sharedProperties,
- $process_person_profile: false,
- day_utc: dayUTC,
- reason
- }
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_capture_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- },
- flush: async () => {
- if (transport.flush === undefined) {
- return;
- }
- await transport.flush();
- },
- shutdown: async () => {
- try {
- await transport.shutdown();
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_shutdown_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- }
- };
-}
-function createTransport(input) {
- const env = input.env ?? process.env;
- const factory = input.transportFactory ?? createDefaultPostHogTransport;
- try {
- return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
- enableExceptionAutocapture: false,
- enableLocalEvaluation: false,
- strictLocalEvaluation: true,
- disableRemoteConfig: true,
- flushAt: 1,
- flushInterval: 0,
- host: getTelemetryHost(env, input.product.defaultHost),
- disableGeoip: input.product.disableGeoip ?? false,
- ...input.product.transportOptions
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_posthog_init_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return null;
- }
-}
-function getSharedProperties(input) {
- const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
- const cpuInfo = getSafeCpuInfo(osProvider, input);
- return {
- platform: input.product.platform,
- product_name: input.product.productName,
- package_name: input.product.packageName,
- package_version: input.product.packageVersion,
- runtime: "bun",
- runtime_version: process.versions.bun ?? process.version,
- source: input.source,
- $os: osProvider.platform(),
- $os_version: osProvider.release(),
- os_arch: osProvider.arch(),
- os_type: osProvider.type(),
- cpu_count: cpuInfo.count,
- cpu_model: cpuInfo.model,
- total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
- locale: Intl.DateTimeFormat().resolvedOptions().locale,
- timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
- shell: process.env.SHELL,
- ci: Boolean(process.env.CI),
- terminal: process.env.TERM_PROGRAM,
- ...input.product.additionalProperties
- };
-}
-function getSafeCpuInfo(osProvider, input) {
- try {
- const cpuInfo = osProvider.cpus();
- return {
- count: cpuInfo.length,
- model: cpuInfo[0]?.model
- };
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_cpu_info_unavailable",
- source: "shared",
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return {
- count: 0,
- model: undefined
- };
- }
-}
-var NO_OP_CLIENT;
-var init_posthog_client = __esm(() => {
+var init_posthog_transport = __esm(() => {
init_index_node();
- init_env();
- init_machine_id();
- NO_OP_CLIENT = {
- enabled: false,
- trackActive: () => {
- return;
- },
- flush: async () => {
- return;
- },
- shutdown: async () => {
- return;
- }
- };
});
// packages/telemetry-core/src/events.ts
-var ALLOWED_DOLLAR_KEYS;
-var init_events = __esm(() => {
- ALLOWED_DOLLAR_KEYS = new Set([
- "$os",
- "$os_version",
- "$process_person_profile",
- "$session_id"
- ]);
+var init_events = () => {};
+
+// packages/telemetry-core/src/posthog-client.ts
+function createTelemetryClient2(input) {
+ return createTelemetryClient({ ...input, transportFactory: input.transportFactory ?? createDefaultPostHogTransport });
+}
+var init_posthog_client = __esm(() => {
+ init_injected_client();
+ init_posthog_transport();
+ init_posthog_transport();
});
// packages/telemetry-core/src/record-daily-active.ts
@@ -92185,7 +92198,7 @@ var package_default2;
var init_package2 = __esm(() => {
package_default2 = {
name: "@oh-my-opencode/omo-codex",
- version: "5.1.38",
+ version: "5.1.40",
type: "module",
private: true,
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
@@ -92315,7 +92328,7 @@ function resolveActivityStateProvider(options) {
return () => getPostHogActivityCaptureState(options.now ?? new Date);
}
function createPostHogClient(source, options = {}) {
- const client = createTelemetryClient({
+ const client = createTelemetryClient2({
diagnostics: writeTelemetryDiagnostic2,
env: options.env ?? process.env,
osProvider: options.osProvider ?? resolveOsProvider(),
@@ -99484,6 +99497,12 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
join63("extensions", "omo-memory-doctor.js"),
join63("extensions", "omo-memory-memfs.js"),
join63("extensions", "omo-memory-palace.js"),
+ join63("extensions", "omo-session-history.js"),
+ join63("extensions", "omo-recall-store.js"),
+ join63("extensions", "omo-telemetry-posthog.js"),
+ join63("extensions", "omo-memory-sync.js"),
+ join63("extensions", "loro_wasm_bg.wasm"),
+ join63("extensions", "CaseFolding.txt"),
join63("extensions", "omo-thread-client.js"),
join63("extensions", "assets.generated.json"),
join63("extensions", "omo-member.js"),
@@ -103813,21 +103832,21 @@ var GoalConfigSchema = object({
});
// packages/skills-loader-core/src/config/git-env-prefix.ts
init_zod();
-var GIT_ENV_ASSIGNMENT_PATTERN = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
+var GIT_ENV_ASSIGNMENT_PATTERN2 = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
var GIT_ENV_PREFIX_VALIDATION_MESSAGE = 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"';
function isValidGitEnvPrefix(value) {
if (value === "") {
return true;
}
- return GIT_ENV_ASSIGNMENT_PATTERN.test(value);
+ return GIT_ENV_ASSIGNMENT_PATTERN2.test(value);
}
-var GitEnvPrefixSchema = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
+var GitEnvPrefixSchema2 = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
// packages/omo-opencode/src/config/schema/git-master.ts
init_zod();
var GitMasterConfigSchema = object({
commit_footer: union([boolean2(), string2()]).default(false),
include_co_authored_by: boolean2().default(false),
- git_env_prefix: GitEnvPrefixSchema
+ git_env_prefix: GitEnvPrefixSchema2
});
// packages/omo-opencode/src/config/schema/hooks.ts
init_zod();
@@ -106093,7 +106112,7 @@ function createPostHogClient2(source, options = {}) {
if (shouldDisablePostHog(env, options.configEnabled)) {
return NO_OP_POSTHOG2;
}
- const client = createTelemetryClient({
+ const client = createTelemetryClient2({
diagnostics: logTelemetryDiagnostic,
env: createCoreCompatibleTelemetryEnv(env),
osProvider: resolveOsProvider2(),
diff --git a/plugins/omo/dist/cli/index.js b/plugins/omo/dist/cli/index.js
index 90eaff9e..f896d7a4 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.38",
+ version: "5.1.40",
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",
@@ -2309,7 +2309,7 @@ var init_package = __esm(() => {
},
devDependencies: {
"@clack/prompts": "^1.8.1",
- "@code-yeongyu/senpi": "2026.10.19",
+ "@code-yeongyu/senpi": "2026.10.19-2",
"@modelcontextprotocol/sdk": "^1.30.0",
"@oh-my-opencode/agents-md-core": "workspace:*",
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
@@ -2350,6 +2350,7 @@ var init_package = __esm(() => {
"@opentui/core": "^0.5.11",
"@opentui/keymap": "^0.5.11",
"@types/js-yaml": "^4.0.9",
+ "@types/node": "26.6.2",
"@types/picomatch": "^4.0.3",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"@typescript/typescript6": "6.0.2",
@@ -2369,18 +2370,18 @@ var init_package = __esm(() => {
typescript: "^7.0.2"
},
optionalDependencies: {
- "oh-my-opencode-darwin-arm64": "5.1.38",
- "oh-my-opencode-darwin-x64": "5.1.38",
- "oh-my-opencode-darwin-x64-baseline": "5.1.38",
- "oh-my-opencode-linux-arm64": "5.1.38",
- "oh-my-opencode-linux-arm64-musl": "5.1.38",
- "oh-my-opencode-linux-x64": "5.1.38",
- "oh-my-opencode-linux-x64-baseline": "5.1.38",
- "oh-my-opencode-linux-x64-musl": "5.1.38",
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.38",
- "oh-my-opencode-windows-arm64": "5.1.38",
- "oh-my-opencode-windows-x64": "5.1.38",
- "oh-my-opencode-windows-x64-baseline": "5.1.38"
+ "oh-my-opencode-darwin-arm64": "5.1.40",
+ "oh-my-opencode-darwin-x64": "5.1.40",
+ "oh-my-opencode-darwin-x64-baseline": "5.1.40",
+ "oh-my-opencode-linux-arm64": "5.1.40",
+ "oh-my-opencode-linux-arm64-musl": "5.1.40",
+ "oh-my-opencode-linux-x64": "5.1.40",
+ "oh-my-opencode-linux-x64-baseline": "5.1.40",
+ "oh-my-opencode-linux-x64-musl": "5.1.40",
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.40",
+ "oh-my-opencode-windows-arm64": "5.1.40",
+ "oh-my-opencode-windows-x64": "5.1.40",
+ "oh-my-opencode-windows-x64-baseline": "5.1.40"
},
overrides: {
hono: "^4.13.8",
@@ -76780,17 +76781,23 @@ var init_computer = __esm(() => {
});
// packages/omo-config-core/src/schema/git-master.ts
-var OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
+var GIT_ENV_ASSIGNMENT_PATTERN, GitEnvPrefixSchema, OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
var init_git_master = __esm(() => {
init_zod();
+ GIT_ENV_ASSIGNMENT_PATTERN = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
+ GitEnvPrefixSchema = string2().refine((value) => value === "" || GIT_ENV_ASSIGNMENT_PATTERN.test(value), {
+ message: 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"'
+ });
OmoGitMasterSettingsShape = {
commit_footer: union([boolean2(), string2()]),
- include_co_authored_by: boolean2()
+ include_co_authored_by: boolean2(),
+ git_env_prefix: GitEnvPrefixSchema
};
OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
commit_footer: union([boolean2(), string2()]).default(false),
- include_co_authored_by: boolean2().default(false)
+ include_co_authored_by: boolean2().default(false),
+ git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
}).strict();
});
@@ -82525,6 +82532,163 @@ var init_event_id = __esm(() => {
fallbackEventId = createUuidV7Generator();
});
+// packages/telemetry-core/src/machine-id.ts
+import { createHash as createHash5 } from "crypto";
+import os4 from "os";
+function getDefaultTelemetryOsProvider() {
+ return os4;
+}
+function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
+ return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
+}
+var init_machine_id = () => {};
+
+// packages/telemetry-core/src/injected-client.ts
+function isTelemetryClientEnabled(input) {
+ const env = input.env ?? process.env;
+ return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
+}
+function createTelemetryClient(input) {
+ if (!isTelemetryClientEnabled(input)) {
+ return NO_OP_CLIENT;
+ }
+ const transport = createTransport(input);
+ if (transport === null) {
+ return NO_OP_CLIENT;
+ }
+ const sharedProperties = getSharedProperties(input);
+ return {
+ enabled: true,
+ trackActive: ({ dayUTC, distinctId, reason }) => {
+ try {
+ transport.capture({
+ distinctId,
+ event: input.product.eventName,
+ properties: {
+ ...sharedProperties,
+ $process_person_profile: false,
+ day_utc: dayUTC,
+ reason
+ }
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_capture_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ },
+ flush: async () => {
+ if (transport.flush === undefined) {
+ return;
+ }
+ await transport.flush();
+ },
+ shutdown: async () => {
+ try {
+ await transport.shutdown();
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_shutdown_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ }
+ }
+ };
+}
+function createTransport(input) {
+ const env = input.env ?? process.env;
+ const factory = input.transportFactory;
+ try {
+ return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
+ enableExceptionAutocapture: false,
+ enableLocalEvaluation: false,
+ strictLocalEvaluation: true,
+ disableRemoteConfig: true,
+ flushAt: 1,
+ flushInterval: 0,
+ host: getTelemetryHost(env, input.product.defaultHost),
+ disableGeoip: input.product.disableGeoip ?? false,
+ ...input.product.transportOptions
+ });
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_posthog_init_failed",
+ source: input.source,
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return null;
+ }
+}
+function getSharedProperties(input) {
+ const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
+ const cpuInfo = getSafeCpuInfo(osProvider, input);
+ return {
+ platform: input.product.platform,
+ product_name: input.product.productName,
+ package_name: input.product.packageName,
+ package_version: input.product.packageVersion,
+ runtime: "bun",
+ runtime_version: process.versions.bun ?? process.version,
+ source: input.source,
+ $os: osProvider.platform(),
+ $os_version: osProvider.release(),
+ os_arch: osProvider.arch(),
+ os_type: osProvider.type(),
+ cpu_count: cpuInfo.count,
+ cpu_model: cpuInfo.model,
+ total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
+ locale: Intl.DateTimeFormat().resolvedOptions().locale,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
+ shell: process.env.SHELL,
+ ci: Boolean(process.env.CI),
+ terminal: process.env.TERM_PROGRAM,
+ ...input.product.additionalProperties
+ };
+}
+function getSafeCpuInfo(osProvider, input) {
+ try {
+ const cpuInfo = osProvider.cpus();
+ return {
+ count: cpuInfo.length,
+ model: cpuInfo[0]?.model
+ };
+ } catch (error) {
+ input.diagnostics?.({
+ event: "telemetry_cpu_info_unavailable",
+ source: "shared",
+ error,
+ errorKind: error instanceof Error ? "error" : "non_error"
+ });
+ return {
+ count: 0,
+ model: undefined
+ };
+ }
+}
+var NO_OP_CLIENT;
+var init_injected_client = __esm(() => {
+ init_env();
+ init_machine_id();
+ NO_OP_CLIENT = {
+ enabled: false,
+ trackActive: () => {
+ return;
+ },
+ flush: async () => {
+ return;
+ },
+ shutdown: async () => {
+ return;
+ }
+ };
+});
+
// 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() {
@@ -91898,18 +92062,7 @@ var init_index_node = __esm(() => {
};
});
-// packages/telemetry-core/src/machine-id.ts
-import { createHash as createHash5 } from "crypto";
-import os4 from "os";
-function getDefaultTelemetryOsProvider() {
- return os4;
-}
-function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
- return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
-}
-var init_machine_id = () => {};
-
-// packages/telemetry-core/src/posthog-client.ts
+// packages/telemetry-core/src/posthog-transport.ts
class PostHogTelemetryTransport {
#client;
constructor(apiKey, options) {
@@ -91928,161 +92081,21 @@ class PostHogTelemetryTransport {
function createDefaultPostHogTransport(apiKey, options) {
return new PostHogTelemetryTransport(apiKey, options);
}
-function isTelemetryClientEnabled(input) {
- const env = input.env ?? process.env;
- return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
-}
-function createTelemetryClient(input) {
- if (!isTelemetryClientEnabled(input)) {
- return NO_OP_CLIENT;
- }
- const transport = createTransport(input);
- if (transport === null) {
- return NO_OP_CLIENT;
- }
- const sharedProperties = getSharedProperties(input);
- return {
- enabled: true,
- trackActive: ({ dayUTC, distinctId, reason }) => {
- try {
- transport.capture({
- distinctId,
- event: input.product.eventName,
- properties: {
- ...sharedProperties,
- $process_person_profile: false,
- day_utc: dayUTC,
- reason
- }
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_capture_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- },
- flush: async () => {
- if (transport.flush === undefined) {
- return;
- }
- await transport.flush();
- },
- shutdown: async () => {
- try {
- await transport.shutdown();
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_shutdown_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- }
- }
- };
-}
-function createTransport(input) {
- const env = input.env ?? process.env;
- const factory = input.transportFactory ?? createDefaultPostHogTransport;
- try {
- return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
- enableExceptionAutocapture: false,
- enableLocalEvaluation: false,
- strictLocalEvaluation: true,
- disableRemoteConfig: true,
- flushAt: 1,
- flushInterval: 0,
- host: getTelemetryHost(env, input.product.defaultHost),
- disableGeoip: input.product.disableGeoip ?? false,
- ...input.product.transportOptions
- });
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_posthog_init_failed",
- source: input.source,
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return null;
- }
-}
-function getSharedProperties(input) {
- const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
- const cpuInfo = getSafeCpuInfo(osProvider, input);
- return {
- platform: input.product.platform,
- product_name: input.product.productName,
- package_name: input.product.packageName,
- package_version: input.product.packageVersion,
- runtime: "bun",
- runtime_version: process.versions.bun ?? process.version,
- source: input.source,
- $os: osProvider.platform(),
- $os_version: osProvider.release(),
- os_arch: osProvider.arch(),
- os_type: osProvider.type(),
- cpu_count: cpuInfo.count,
- cpu_model: cpuInfo.model,
- total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
- locale: Intl.DateTimeFormat().resolvedOptions().locale,
- timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
- shell: process.env.SHELL,
- ci: Boolean(process.env.CI),
- terminal: process.env.TERM_PROGRAM,
- ...input.product.additionalProperties
- };
-}
-function getSafeCpuInfo(osProvider, input) {
- try {
- const cpuInfo = osProvider.cpus();
- return {
- count: cpuInfo.length,
- model: cpuInfo[0]?.model
- };
- } catch (error) {
- input.diagnostics?.({
- event: "telemetry_cpu_info_unavailable",
- source: "shared",
- error,
- errorKind: error instanceof Error ? "error" : "non_error"
- });
- return {
- count: 0,
- model: undefined
- };
- }
-}
-var NO_OP_CLIENT;
-var init_posthog_client = __esm(() => {
+var init_posthog_transport = __esm(() => {
init_index_node();
- init_env();
- init_machine_id();
- NO_OP_CLIENT = {
- enabled: false,
- trackActive: () => {
- return;
- },
- flush: async () => {
- return;
- },
- shutdown: async () => {
- return;
- }
- };
});
// packages/telemetry-core/src/events.ts
-var ALLOWED_DOLLAR_KEYS;
-var init_events = __esm(() => {
- ALLOWED_DOLLAR_KEYS = new Set([
- "$os",
- "$os_version",
- "$process_person_profile",
- "$session_id"
- ]);
+var init_events = () => {};
+
+// packages/telemetry-core/src/posthog-client.ts
+function createTelemetryClient2(input) {
+ return createTelemetryClient({ ...input, transportFactory: input.transportFactory ?? createDefaultPostHogTransport });
+}
+var init_posthog_client = __esm(() => {
+ init_injected_client();
+ init_posthog_transport();
+ init_posthog_transport();
});
// packages/telemetry-core/src/record-daily-active.ts
@@ -92106,7 +92119,7 @@ var package_default2;
var init_package2 = __esm(() => {
package_default2 = {
name: "@oh-my-opencode/omo-codex",
- version: "5.1.38",
+ version: "5.1.40",
type: "module",
private: true,
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
@@ -92236,7 +92249,7 @@ function resolveActivityStateProvider(options) {
return () => getPostHogActivityCaptureState(options.now ?? new Date);
}
function createPostHogClient(source, options = {}) {
- const client = createTelemetryClient({
+ const client = createTelemetryClient2({
diagnostics: writeTelemetryDiagnostic2,
env: options.env ?? process.env,
osProvider: options.osProvider ?? resolveOsProvider(),
@@ -99405,6 +99418,12 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
join63("extensions", "omo-memory-doctor.js"),
join63("extensions", "omo-memory-memfs.js"),
join63("extensions", "omo-memory-palace.js"),
+ join63("extensions", "omo-session-history.js"),
+ join63("extensions", "omo-recall-store.js"),
+ join63("extensions", "omo-telemetry-posthog.js"),
+ join63("extensions", "omo-memory-sync.js"),
+ join63("extensions", "loro_wasm_bg.wasm"),
+ join63("extensions", "CaseFolding.txt"),
join63("extensions", "omo-thread-client.js"),
join63("extensions", "assets.generated.json"),
join63("extensions", "omo-member.js"),
@@ -103734,21 +103753,21 @@ var GoalConfigSchema = object({
});
// packages/skills-loader-core/src/config/git-env-prefix.ts
init_zod();
-var GIT_ENV_ASSIGNMENT_PATTERN = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
+var GIT_ENV_ASSIGNMENT_PATTERN2 = /^(?:[A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)(?: [A-Za-z_][A-Za-z0-9_]*=[A-Za-z0-9_-]*)*$/;
var GIT_ENV_PREFIX_VALIDATION_MESSAGE = 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"';
function isValidGitEnvPrefix(value) {
if (value === "") {
return true;
}
- return GIT_ENV_ASSIGNMENT_PATTERN.test(value);
+ return GIT_ENV_ASSIGNMENT_PATTERN2.test(value);
}
-var GitEnvPrefixSchema = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
+var GitEnvPrefixSchema2 = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
// packages/omo-opencode/src/config/schema/git-master.ts
init_zod();
var GitMasterConfigSchema = object({
commit_footer: union([boolean2(), string2()]).default(false),
include_co_authored_by: boolean2().default(false),
- git_env_prefix: GitEnvPrefixSchema
+ git_env_prefix: GitEnvPrefixSchema2
});
// packages/omo-opencode/src/config/schema/hooks.ts
init_zod();
@@ -106014,7 +106033,7 @@ function createPostHogClient2(source, options = {}) {
if (shouldDisablePostHog(env, options.configEnabled)) {
return NO_OP_POSTHOG2;
}
- const client = createTelemetryClient({
+ const client = createTelemetryClient2({
diagnostics: logTelemetryDiagnostic,
env: createCoreCompatibleTelemetryEnv(env),
osProvider: resolveOsProvider2(),
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 5ccff41f..75584df3 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.38) Resetting Git Bash MCP Reminder",
+ "statusMessage": "(OmO 5.1.40) 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 836666b7..cd6e7f2c 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.38) Resetting LSP Diagnostics Cache",
+ "statusMessage": "(OmO 5.1.40) 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 fb004ed2..f9ea82fd 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.38) Resetting Project Rule Cache",
+ "statusMessage": "(OmO 5.1.40) 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 ff2b1b00..09214702 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.38) Checking Comments",
+ "statusMessage": "(OmO 5.1.40) 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 0a51ca90..9fbdbf09 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.38) Checking LSP Diagnostics",
+ "statusMessage": "(OmO 5.1.40) 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 d7dbdc01..a7299156 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.38) Checking Thread Title Hygiene",
+ "statusMessage": "(OmO 5.1.40) 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 8f1e8a5d..fbf6733c 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.38) Matching Project Rules",
+ "statusMessage": "(OmO 5.1.40) 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 44f3af43..39f0f186 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.38) Recording Spawn Admission",
+ "statusMessage": "(OmO 5.1.40) 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 f158db13..3e2d1047 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.38) Enforcing Unlimited Goal Budget",
+ "statusMessage": "(OmO 5.1.40) 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 d0b1d483..8687e829 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.38) Guarding Ulw-Loop Spawns",
+ "statusMessage": "(OmO 5.1.40) 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 df450d1e..6e1c1a5e 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.38) Recommending Git Bash MCP",
+ "statusMessage": "(OmO 5.1.40) 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 d70f56de..96bc267f 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.38) Checking Auto Update",
+ "statusMessage": "(OmO 5.1.40) 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 485648f9..1a1c4548 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.38) Checking Bootstrap Provisioning"
+ "statusMessage": "(OmO 5.1.40) 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 c45e862d..f6dbbec8 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.38) Loading Project Rules",
+ "statusMessage": "(OmO 5.1.40) 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 0092bada..8ddc0c68 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.38) Recording Session Telemetry",
+ "statusMessage": "(OmO 5.1.40) 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 5c6caf88..be0e7df4 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.38) Checking Ulw-Execute Continuation",
+ "statusMessage": "(OmO 5.1.40) 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 12e2f942..6b566065 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.38) Checking Ulw-Loop Resume",
+ "statusMessage": "(OmO 5.1.40) 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 29a1f396..fa496cac 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.38) Verifying LazyCodex Executor Evidence",
+ "statusMessage": "(OmO 5.1.40) 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 0b142a5b..c28829c3 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.38) Checking Ultrawork Trigger",
+ "statusMessage": "(OmO 5.1.40) 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 bcad35fd..dd02e9e6 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.38) Checking Ulw-Loop Steering",
+ "statusMessage": "(OmO 5.1.40) 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 a9806201..2f93659f 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.38) Loading Project Rules",
+ "statusMessage": "(OmO 5.1.40) 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 e6d1bd1a..394ff8d7 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.38",
+ "version": "5.1.40",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.38",
+ "version": "5.1.40",
"workspaces": [
"components/comment-checker",
"components/git-bash",
@@ -95,7 +95,7 @@
},
"components/comment-checker": {
"name": "@code-yeongyu/codex-comment-checker",
- "version": "5.1.38",
+ "version": "5.1.40",
"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.38",
+ "version": "5.1.40",
"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.38",
+ "version": "5.1.40",
"license": "MIT",
"bin": {
"lazycodex-executor-verify": "dist/cli.js"
@@ -149,7 +149,7 @@
},
"components/lsp": {
"name": "@code-yeongyu/codex-lsp",
- "version": "5.1.38",
+ "version": "5.1.40",
"license": "MIT",
"dependencies": {
"@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",
@@ -171,7 +171,7 @@
},
"components/rules": {
"name": "@code-yeongyu/codex-rules",
- "version": "5.1.38",
+ "version": "5.1.40",
"license": "MIT",
"dependencies": {
"picomatch": "^4.0.7"
@@ -194,7 +194,7 @@
},
"components/teammode": {
"name": "@sisyphuslabs/codex-teammode",
- "version": "5.1.38",
+ "version": "5.1.40",
"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.38",
+ "version": "5.1.40",
"license": "MIT",
"bin": {
"omo-telemetry": "dist/cli.js"
@@ -227,7 +227,7 @@
},
"components/ultrawork": {
"name": "@code-yeongyu/codex-ultrawork",
- "version": "5.1.38",
+ "version": "5.1.40",
"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.38",
+ "version": "5.1.40",
"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.38",
+ "version": "5.1.40",
"license": "MIT",
"bin": {
"omo-ulw-loop": "dist/cli.js",
diff --git a/plugins/omo/package.json b/plugins/omo/package.json
index 52ba8831..bd3e6a09 100644
--- a/plugins/omo/package.json
+++ b/plugins/omo/package.json
@@ -1,6 +1,6 @@
{
"name": "@sisyphuslabs/omo-codex-plugin",
- "version": "5.1.38",
+ "version": "5.1.40",
"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 03ae381a..6b265f11 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": "d67d3a847fe0bbc43e824feded48b280890d31879538309e671cd5f671133995",
"page-bundle.js": "bfd51e8383cf47200d57387bbbed258bce5a3a3d00c38fc108034d2888e23f0c"
},
- "stagedAtUtc": "2026-10-19T10:38:15.452Z"
+ "stagedAtUtc": "2026-10-20T14:14:03.044Z"
}
diff --git a/plugins/omo/skills/git-master/SKILL.md b/plugins/omo/skills/git-master/SKILL.md
index ba21cad8..640995d3 100644
--- a/plugins/omo/skills/git-master/SKILL.md
+++ b/plugins/omo/skills/git-master/SKILL.md
@@ -1,6 +1,6 @@
---
name: git-master
-description: "Handles git work: atomic commits, rebase, squash, blame, bisect, reflog, and history questions. Use whenever a task needs a commit or a git-history investigation; skip for ordinary code edits."
+description: "MUST USE for ANY git operations: atomic commits, rebase/squash/fixup, and history search (blame, bisect, log -S, reflog). Load it before running git yourself, or pass load_skills=['git-master'] to the task that commits. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'."
---
# Git Master
diff --git a/plugins/omo/skills/ulw-plan/SKILL.md b/plugins/omo/skills/ulw-plan/SKILL.md
index 6d32d4a8..44a54755 100644
--- a/plugins/omo/skills/ulw-plan/SKILL.md
+++ b/plugins/omo/skills/ulw-plan/SKILL.md
@@ -34,7 +34,7 @@ Example opening (adapt the wording, keep every commitment):
## INTENT ROUTING - pick ONE intent reference
-**Review modifiers are a gate trigger, not a style cue.** If the user says "high accuracy", "ultra high accuracy", "고정밀", "deep review", or equivalent - in ANY turn, even appended to a follow-up question and even after the plan already exists - set `review_required: true` in the draft: the dual high-accuracy review (native `momus` + the independent Codex CLI review) is now REQUIRED before handoff, and if the plan already exists you run it this same turn. The review runs under the bounded convergence contract in `full-workflow.md`: a 5-round cap (unlimited only on explicit user request), evidence-backed blocker eligibility, and approval-with-notes counting as approval. Answering the current question more carefully does NOT satisfy it. This does NOT choose CLEAR/UNCLEAR and does NOT suppress interview.
+**Review modifiers are a gate trigger, not a style cue.** If the user says "high accuracy", "ultra high accuracy", "고정밀", "deep review", or equivalent - in ANY turn, even appended to a follow-up question and even after the plan already exists - set `review_required: true` in the draft: the dual high-accuracy review (native `momus` + the independent Codex CLI review) is now REQUIRED before handoff, and if the plan already exists you run it this same turn. The review runs under the bounded convergence contract in `full-workflow.md`: convergence-bounded rounds (another round only while the previous one raised a new blocker-eligible finding or closed a ledger blocker; a round with neither that still does not approve stops the review), evidence-backed blocker eligibility, and approval-with-notes counting as approval. Answering the current question more carefully does NOT satisfy it. This does NOT choose CLEAR/UNCLEAR and does NOT suppress interview.
After grounding, make ONE judgment, record `intent: clear|unclear` plus `review_required`, **ANNOUNCE both to the user in one line**, then load ONE intent reference (you ALSO read `references/full-workflow.md` for the shared mechanics - see below). The test keys on whether the desired **OUTCOME** is clear, NOT on request length. This verdict line and the opening announcement above are the two mandatory user-visible signals of a planning session - it tells the user whether they will be interviewed and whether high-accuracy review is already requested; never skip either.
diff --git a/plugins/omo/skills/ulw-plan/references/full-workflow.md b/plugins/omo/skills/ulw-plan/references/full-workflow.md
index 3d7a0841..975a88c7 100644
--- a/plugins/omo/skills/ulw-plan/references/full-workflow.md
+++ b/plugins/omo/skills/ulw-plan/references/full-workflow.md
@@ -213,14 +213,15 @@ Every reviewer prompt must carry this intake contract with all angle-bracket val
The first action must open the literal workspace root as a directory descriptor, then traverse `.omo`, `plans`, and the final target with descriptor-relative no-follow opens, `fstat` each ancestor as a directory and the final descriptor as a regular file, and hash all bytes read from that same final descriptor. If the platform cannot guarantee this chain, or any path/runtime/launch/receipt/digest check drifts, return `INCONCLUSIVE` before reviewing. Echo the literal workspace, runtime home, target, digest, round, and launch ID; the parent separately matches the completion envelope to the persisted session/process receipt. Never search or use another artifact.
### Bounded convergence (the review must terminate)
-Review rounds are capped at 5 (unlimited only on explicit user request), and an approval whose only remaining items are notes counts as approval. A finding may BLOCK only when it names at least one `blocker_eligibility` category below with its concrete evidence - an IS row no todo closes, no QA scenario proves, or the approach cannot reach for the named user is such a category; every other finding - speculative durability, replay/crash-recovery, schema, CLI-parsing, state-machine, or hardening concerns the accepted scope never required - is recorded as a non-blocking note and becomes implementation/test work, never plan expansion. After round 1 the blocker ledger FREEZES: later rounds verify accepted ledger blockers, regressions introduced by fixes, and new findings that pass eligibility - they never rediscover the plan from scratch. Fixes apply the smallest edit that resolves the cited blocker; neither reviews nor fixes grow the plan's scope. Every reviewer prompt carries this convergence contract alongside the intake contract. On cap exhaustion without approval: STOP, report outstanding blockers, ask the user - continue / accept / adjust.
+Review continues until unconditional approval, but a further round runs only while the previous round made progress: it raised at least one NEW blocker-eligible finding (one not already in the ledger and not a restatement of a closed blocker), or it confirmed at least one ledger blocker closed. A round that does neither and still does not approve ends the review: stop, report the outstanding blockers, and ask the user. This is the non-convergence guard, so there is no fixed round count; it terminates because the ledger is frozen after round 1, so every closure shrinks it. An approval whose only remaining items are notes counts as approval. A finding may BLOCK only when it names at least one `blocker_eligibility` category below with its concrete evidence - an IS row no todo closes, no QA scenario proves, or the approach cannot reach for the named user is such a category; every other finding - speculative durability, replay/crash-recovery, schema, CLI-parsing, state-machine, or hardening concerns the accepted scope never required - is recorded as a non-blocking note and becomes implementation/test work, never plan expansion. After round 1 the blocker ledger FREEZES: later rounds verify accepted ledger blockers, regressions introduced by fixes, and new findings that pass eligibility - they never rediscover the plan from scratch. Fixes apply the smallest edit that resolves the cited blocker; neither reviews nor fixes grow the plan's scope. Every reviewer prompt carries this convergence contract alongside the intake contract. On cap exhaustion without approval: STOP, report outstanding blockers, ask the user - continue / accept / adjust.
<!-- ulw-plan-review-convergence-contract -->
```json
{
- "max_rounds": 5,
- "max_rounds_override": "explicit_user_request_only",
- "on_cap_reached": "stop_report_outstanding_blockers_ask_user",
+ "max_rounds": null,
+ "continue_while": "previous_round_raised_new_blocker_eligible_finding_or_closed_ledger_blocker",
+ "stop_on": "round_without_new_blocker_eligible_finding_or_ledger_blocker_closure",
+ "on_stop_without_approval": "stop_report_outstanding_blockers_ask_user",
"blocker_eligibility": [
"explicit_requirement_or_accepted_decision",
"existing_failing_regression",