lazycodex-ai 5.1.38 → 5.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +206 -187
- package/dist/cli-node/index.js +206 -187
- package/package.json +1 -1
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +8 -2
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/dist/cli.js +157 -151
- package/packages/omo-codex/plugin/components/telemetry/dist/posthog.js +157 -151
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +5 -4
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/omo-codex/plugin/skills/git-master/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +5 -4
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +179 -168
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/shared-skills/skills/git-master/SKILL.md +1 -1
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +1 -1
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +5 -4
package/dist/cli-node/index.js
CHANGED
|
@@ -2133,7 +2133,7 @@ var package_default;
|
|
|
2133
2133
|
var init_package = __esm(() => {
|
|
2134
2134
|
package_default = {
|
|
2135
2135
|
name: "oh-my-opencode",
|
|
2136
|
-
version: "5.1.
|
|
2136
|
+
version: "5.1.40",
|
|
2137
2137
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
2138
2138
|
main: "./dist/index.js",
|
|
2139
2139
|
types: "dist/index.d.ts",
|
|
@@ -2310,7 +2310,7 @@ var init_package = __esm(() => {
|
|
|
2310
2310
|
},
|
|
2311
2311
|
devDependencies: {
|
|
2312
2312
|
"@clack/prompts": "^1.8.1",
|
|
2313
|
-
"@code-yeongyu/senpi": "2026.10.19",
|
|
2313
|
+
"@code-yeongyu/senpi": "2026.10.19-2",
|
|
2314
2314
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
2315
2315
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
2316
2316
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
@@ -2351,6 +2351,7 @@ var init_package = __esm(() => {
|
|
|
2351
2351
|
"@opentui/core": "^0.5.11",
|
|
2352
2352
|
"@opentui/keymap": "^0.5.11",
|
|
2353
2353
|
"@types/js-yaml": "^4.0.9",
|
|
2354
|
+
"@types/node": "26.6.2",
|
|
2354
2355
|
"@types/picomatch": "^4.0.3",
|
|
2355
2356
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
2356
2357
|
"@typescript/typescript6": "6.0.2",
|
|
@@ -2370,18 +2371,18 @@ var init_package = __esm(() => {
|
|
|
2370
2371
|
typescript: "^7.0.2"
|
|
2371
2372
|
},
|
|
2372
2373
|
optionalDependencies: {
|
|
2373
|
-
"oh-my-opencode-darwin-arm64": "5.1.
|
|
2374
|
-
"oh-my-opencode-darwin-x64": "5.1.
|
|
2375
|
-
"oh-my-opencode-darwin-x64-baseline": "5.1.
|
|
2376
|
-
"oh-my-opencode-linux-arm64": "5.1.
|
|
2377
|
-
"oh-my-opencode-linux-arm64-musl": "5.1.
|
|
2378
|
-
"oh-my-opencode-linux-x64": "5.1.
|
|
2379
|
-
"oh-my-opencode-linux-x64-baseline": "5.1.
|
|
2380
|
-
"oh-my-opencode-linux-x64-musl": "5.1.
|
|
2381
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.1.
|
|
2382
|
-
"oh-my-opencode-windows-arm64": "5.1.
|
|
2383
|
-
"oh-my-opencode-windows-x64": "5.1.
|
|
2384
|
-
"oh-my-opencode-windows-x64-baseline": "5.1.
|
|
2374
|
+
"oh-my-opencode-darwin-arm64": "5.1.40",
|
|
2375
|
+
"oh-my-opencode-darwin-x64": "5.1.40",
|
|
2376
|
+
"oh-my-opencode-darwin-x64-baseline": "5.1.40",
|
|
2377
|
+
"oh-my-opencode-linux-arm64": "5.1.40",
|
|
2378
|
+
"oh-my-opencode-linux-arm64-musl": "5.1.40",
|
|
2379
|
+
"oh-my-opencode-linux-x64": "5.1.40",
|
|
2380
|
+
"oh-my-opencode-linux-x64-baseline": "5.1.40",
|
|
2381
|
+
"oh-my-opencode-linux-x64-musl": "5.1.40",
|
|
2382
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.1.40",
|
|
2383
|
+
"oh-my-opencode-windows-arm64": "5.1.40",
|
|
2384
|
+
"oh-my-opencode-windows-x64": "5.1.40",
|
|
2385
|
+
"oh-my-opencode-windows-x64-baseline": "5.1.40"
|
|
2385
2386
|
},
|
|
2386
2387
|
overrides: {
|
|
2387
2388
|
hono: "^4.13.8",
|
|
@@ -76859,17 +76860,23 @@ var init_computer = __esm(() => {
|
|
|
76859
76860
|
});
|
|
76860
76861
|
|
|
76861
76862
|
// packages/omo-config-core/src/schema/git-master.ts
|
|
76862
|
-
var OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
|
|
76863
|
+
var GIT_ENV_ASSIGNMENT_PATTERN, GitEnvPrefixSchema, OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
|
|
76863
76864
|
var init_git_master = __esm(() => {
|
|
76864
76865
|
init_zod();
|
|
76866
|
+
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_-]*)*$/;
|
|
76867
|
+
GitEnvPrefixSchema = string2().refine((value) => value === "" || GIT_ENV_ASSIGNMENT_PATTERN.test(value), {
|
|
76868
|
+
message: 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"'
|
|
76869
|
+
});
|
|
76865
76870
|
OmoGitMasterSettingsShape = {
|
|
76866
76871
|
commit_footer: union([boolean2(), string2()]),
|
|
76867
|
-
include_co_authored_by: boolean2()
|
|
76872
|
+
include_co_authored_by: boolean2(),
|
|
76873
|
+
git_env_prefix: GitEnvPrefixSchema
|
|
76868
76874
|
};
|
|
76869
76875
|
OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
|
|
76870
76876
|
OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
|
|
76871
76877
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
76872
|
-
include_co_authored_by: boolean2().default(false)
|
|
76878
|
+
include_co_authored_by: boolean2().default(false),
|
|
76879
|
+
git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
|
|
76873
76880
|
}).strict();
|
|
76874
76881
|
});
|
|
76875
76882
|
|
|
@@ -82604,6 +82611,163 @@ var init_event_id = __esm(() => {
|
|
|
82604
82611
|
fallbackEventId = createUuidV7Generator();
|
|
82605
82612
|
});
|
|
82606
82613
|
|
|
82614
|
+
// packages/telemetry-core/src/machine-id.ts
|
|
82615
|
+
import { createHash as createHash5 } from "node:crypto";
|
|
82616
|
+
import os4 from "node:os";
|
|
82617
|
+
function getDefaultTelemetryOsProvider() {
|
|
82618
|
+
return os4;
|
|
82619
|
+
}
|
|
82620
|
+
function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
|
|
82621
|
+
return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
|
|
82622
|
+
}
|
|
82623
|
+
var init_machine_id = () => {};
|
|
82624
|
+
|
|
82625
|
+
// packages/telemetry-core/src/injected-client.ts
|
|
82626
|
+
function isTelemetryClientEnabled(input) {
|
|
82627
|
+
const env = input.env ?? process.env;
|
|
82628
|
+
return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
|
|
82629
|
+
}
|
|
82630
|
+
function createTelemetryClient(input) {
|
|
82631
|
+
if (!isTelemetryClientEnabled(input)) {
|
|
82632
|
+
return NO_OP_CLIENT;
|
|
82633
|
+
}
|
|
82634
|
+
const transport = createTransport(input);
|
|
82635
|
+
if (transport === null) {
|
|
82636
|
+
return NO_OP_CLIENT;
|
|
82637
|
+
}
|
|
82638
|
+
const sharedProperties = getSharedProperties(input);
|
|
82639
|
+
return {
|
|
82640
|
+
enabled: true,
|
|
82641
|
+
trackActive: ({ dayUTC, distinctId, reason }) => {
|
|
82642
|
+
try {
|
|
82643
|
+
transport.capture({
|
|
82644
|
+
distinctId,
|
|
82645
|
+
event: input.product.eventName,
|
|
82646
|
+
properties: {
|
|
82647
|
+
...sharedProperties,
|
|
82648
|
+
$process_person_profile: false,
|
|
82649
|
+
day_utc: dayUTC,
|
|
82650
|
+
reason
|
|
82651
|
+
}
|
|
82652
|
+
});
|
|
82653
|
+
} catch (error) {
|
|
82654
|
+
input.diagnostics?.({
|
|
82655
|
+
event: "telemetry_capture_failed",
|
|
82656
|
+
source: input.source,
|
|
82657
|
+
error,
|
|
82658
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82659
|
+
});
|
|
82660
|
+
}
|
|
82661
|
+
},
|
|
82662
|
+
flush: async () => {
|
|
82663
|
+
if (transport.flush === undefined) {
|
|
82664
|
+
return;
|
|
82665
|
+
}
|
|
82666
|
+
await transport.flush();
|
|
82667
|
+
},
|
|
82668
|
+
shutdown: async () => {
|
|
82669
|
+
try {
|
|
82670
|
+
await transport.shutdown();
|
|
82671
|
+
} catch (error) {
|
|
82672
|
+
input.diagnostics?.({
|
|
82673
|
+
event: "telemetry_shutdown_failed",
|
|
82674
|
+
source: input.source,
|
|
82675
|
+
error,
|
|
82676
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82677
|
+
});
|
|
82678
|
+
}
|
|
82679
|
+
}
|
|
82680
|
+
};
|
|
82681
|
+
}
|
|
82682
|
+
function createTransport(input) {
|
|
82683
|
+
const env = input.env ?? process.env;
|
|
82684
|
+
const factory = input.transportFactory;
|
|
82685
|
+
try {
|
|
82686
|
+
return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
|
|
82687
|
+
enableExceptionAutocapture: false,
|
|
82688
|
+
enableLocalEvaluation: false,
|
|
82689
|
+
strictLocalEvaluation: true,
|
|
82690
|
+
disableRemoteConfig: true,
|
|
82691
|
+
flushAt: 1,
|
|
82692
|
+
flushInterval: 0,
|
|
82693
|
+
host: getTelemetryHost(env, input.product.defaultHost),
|
|
82694
|
+
disableGeoip: input.product.disableGeoip ?? false,
|
|
82695
|
+
...input.product.transportOptions
|
|
82696
|
+
});
|
|
82697
|
+
} catch (error) {
|
|
82698
|
+
input.diagnostics?.({
|
|
82699
|
+
event: "telemetry_posthog_init_failed",
|
|
82700
|
+
source: input.source,
|
|
82701
|
+
error,
|
|
82702
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82703
|
+
});
|
|
82704
|
+
return null;
|
|
82705
|
+
}
|
|
82706
|
+
}
|
|
82707
|
+
function getSharedProperties(input) {
|
|
82708
|
+
const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
|
|
82709
|
+
const cpuInfo = getSafeCpuInfo(osProvider, input);
|
|
82710
|
+
return {
|
|
82711
|
+
platform: input.product.platform,
|
|
82712
|
+
product_name: input.product.productName,
|
|
82713
|
+
package_name: input.product.packageName,
|
|
82714
|
+
package_version: input.product.packageVersion,
|
|
82715
|
+
runtime: "bun",
|
|
82716
|
+
runtime_version: process.versions.bun ?? process.version,
|
|
82717
|
+
source: input.source,
|
|
82718
|
+
$os: osProvider.platform(),
|
|
82719
|
+
$os_version: osProvider.release(),
|
|
82720
|
+
os_arch: osProvider.arch(),
|
|
82721
|
+
os_type: osProvider.type(),
|
|
82722
|
+
cpu_count: cpuInfo.count,
|
|
82723
|
+
cpu_model: cpuInfo.model,
|
|
82724
|
+
total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
|
|
82725
|
+
locale: Intl.DateTimeFormat().resolvedOptions().locale,
|
|
82726
|
+
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
82727
|
+
shell: process.env.SHELL,
|
|
82728
|
+
ci: Boolean(process.env.CI),
|
|
82729
|
+
terminal: process.env.TERM_PROGRAM,
|
|
82730
|
+
...input.product.additionalProperties
|
|
82731
|
+
};
|
|
82732
|
+
}
|
|
82733
|
+
function getSafeCpuInfo(osProvider, input) {
|
|
82734
|
+
try {
|
|
82735
|
+
const cpuInfo = osProvider.cpus();
|
|
82736
|
+
return {
|
|
82737
|
+
count: cpuInfo.length,
|
|
82738
|
+
model: cpuInfo[0]?.model
|
|
82739
|
+
};
|
|
82740
|
+
} catch (error) {
|
|
82741
|
+
input.diagnostics?.({
|
|
82742
|
+
event: "telemetry_cpu_info_unavailable",
|
|
82743
|
+
source: "shared",
|
|
82744
|
+
error,
|
|
82745
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82746
|
+
});
|
|
82747
|
+
return {
|
|
82748
|
+
count: 0,
|
|
82749
|
+
model: undefined
|
|
82750
|
+
};
|
|
82751
|
+
}
|
|
82752
|
+
}
|
|
82753
|
+
var NO_OP_CLIENT;
|
|
82754
|
+
var init_injected_client = __esm(() => {
|
|
82755
|
+
init_env();
|
|
82756
|
+
init_machine_id();
|
|
82757
|
+
NO_OP_CLIENT = {
|
|
82758
|
+
enabled: false,
|
|
82759
|
+
trackActive: () => {
|
|
82760
|
+
return;
|
|
82761
|
+
},
|
|
82762
|
+
flush: async () => {
|
|
82763
|
+
return;
|
|
82764
|
+
},
|
|
82765
|
+
shutdown: async () => {
|
|
82766
|
+
return;
|
|
82767
|
+
}
|
|
82768
|
+
};
|
|
82769
|
+
});
|
|
82770
|
+
|
|
82607
82771
|
// node_modules/.bun/posthog-node@5.52.4/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
82608
82772
|
import { dirname as dirname18, posix as posix7, sep as sep7 } from "path";
|
|
82609
82773
|
function createModulerModifier() {
|
|
@@ -91977,18 +92141,7 @@ var init_index_node = __esm(() => {
|
|
|
91977
92141
|
};
|
|
91978
92142
|
});
|
|
91979
92143
|
|
|
91980
|
-
// packages/telemetry-core/src/
|
|
91981
|
-
import { createHash as createHash5 } from "node:crypto";
|
|
91982
|
-
import os4 from "node:os";
|
|
91983
|
-
function getDefaultTelemetryOsProvider() {
|
|
91984
|
-
return os4;
|
|
91985
|
-
}
|
|
91986
|
-
function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
|
|
91987
|
-
return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
|
|
91988
|
-
}
|
|
91989
|
-
var init_machine_id = () => {};
|
|
91990
|
-
|
|
91991
|
-
// packages/telemetry-core/src/posthog-client.ts
|
|
92144
|
+
// packages/telemetry-core/src/posthog-transport.ts
|
|
91992
92145
|
class PostHogTelemetryTransport {
|
|
91993
92146
|
#client;
|
|
91994
92147
|
constructor(apiKey, options) {
|
|
@@ -92007,161 +92160,21 @@ class PostHogTelemetryTransport {
|
|
|
92007
92160
|
function createDefaultPostHogTransport(apiKey, options) {
|
|
92008
92161
|
return new PostHogTelemetryTransport(apiKey, options);
|
|
92009
92162
|
}
|
|
92010
|
-
|
|
92011
|
-
const env = input.env ?? process.env;
|
|
92012
|
-
return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
|
|
92013
|
-
}
|
|
92014
|
-
function createTelemetryClient(input) {
|
|
92015
|
-
if (!isTelemetryClientEnabled(input)) {
|
|
92016
|
-
return NO_OP_CLIENT;
|
|
92017
|
-
}
|
|
92018
|
-
const transport = createTransport(input);
|
|
92019
|
-
if (transport === null) {
|
|
92020
|
-
return NO_OP_CLIENT;
|
|
92021
|
-
}
|
|
92022
|
-
const sharedProperties = getSharedProperties(input);
|
|
92023
|
-
return {
|
|
92024
|
-
enabled: true,
|
|
92025
|
-
trackActive: ({ dayUTC, distinctId, reason }) => {
|
|
92026
|
-
try {
|
|
92027
|
-
transport.capture({
|
|
92028
|
-
distinctId,
|
|
92029
|
-
event: input.product.eventName,
|
|
92030
|
-
properties: {
|
|
92031
|
-
...sharedProperties,
|
|
92032
|
-
$process_person_profile: false,
|
|
92033
|
-
day_utc: dayUTC,
|
|
92034
|
-
reason
|
|
92035
|
-
}
|
|
92036
|
-
});
|
|
92037
|
-
} catch (error) {
|
|
92038
|
-
input.diagnostics?.({
|
|
92039
|
-
event: "telemetry_capture_failed",
|
|
92040
|
-
source: input.source,
|
|
92041
|
-
error,
|
|
92042
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92043
|
-
});
|
|
92044
|
-
}
|
|
92045
|
-
},
|
|
92046
|
-
flush: async () => {
|
|
92047
|
-
if (transport.flush === undefined) {
|
|
92048
|
-
return;
|
|
92049
|
-
}
|
|
92050
|
-
await transport.flush();
|
|
92051
|
-
},
|
|
92052
|
-
shutdown: async () => {
|
|
92053
|
-
try {
|
|
92054
|
-
await transport.shutdown();
|
|
92055
|
-
} catch (error) {
|
|
92056
|
-
input.diagnostics?.({
|
|
92057
|
-
event: "telemetry_shutdown_failed",
|
|
92058
|
-
source: input.source,
|
|
92059
|
-
error,
|
|
92060
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92061
|
-
});
|
|
92062
|
-
}
|
|
92063
|
-
}
|
|
92064
|
-
};
|
|
92065
|
-
}
|
|
92066
|
-
function createTransport(input) {
|
|
92067
|
-
const env = input.env ?? process.env;
|
|
92068
|
-
const factory = input.transportFactory ?? createDefaultPostHogTransport;
|
|
92069
|
-
try {
|
|
92070
|
-
return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
|
|
92071
|
-
enableExceptionAutocapture: false,
|
|
92072
|
-
enableLocalEvaluation: false,
|
|
92073
|
-
strictLocalEvaluation: true,
|
|
92074
|
-
disableRemoteConfig: true,
|
|
92075
|
-
flushAt: 1,
|
|
92076
|
-
flushInterval: 0,
|
|
92077
|
-
host: getTelemetryHost(env, input.product.defaultHost),
|
|
92078
|
-
disableGeoip: input.product.disableGeoip ?? false,
|
|
92079
|
-
...input.product.transportOptions
|
|
92080
|
-
});
|
|
92081
|
-
} catch (error) {
|
|
92082
|
-
input.diagnostics?.({
|
|
92083
|
-
event: "telemetry_posthog_init_failed",
|
|
92084
|
-
source: input.source,
|
|
92085
|
-
error,
|
|
92086
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92087
|
-
});
|
|
92088
|
-
return null;
|
|
92089
|
-
}
|
|
92090
|
-
}
|
|
92091
|
-
function getSharedProperties(input) {
|
|
92092
|
-
const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
|
|
92093
|
-
const cpuInfo = getSafeCpuInfo(osProvider, input);
|
|
92094
|
-
return {
|
|
92095
|
-
platform: input.product.platform,
|
|
92096
|
-
product_name: input.product.productName,
|
|
92097
|
-
package_name: input.product.packageName,
|
|
92098
|
-
package_version: input.product.packageVersion,
|
|
92099
|
-
runtime: "bun",
|
|
92100
|
-
runtime_version: process.versions.bun ?? process.version,
|
|
92101
|
-
source: input.source,
|
|
92102
|
-
$os: osProvider.platform(),
|
|
92103
|
-
$os_version: osProvider.release(),
|
|
92104
|
-
os_arch: osProvider.arch(),
|
|
92105
|
-
os_type: osProvider.type(),
|
|
92106
|
-
cpu_count: cpuInfo.count,
|
|
92107
|
-
cpu_model: cpuInfo.model,
|
|
92108
|
-
total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
|
|
92109
|
-
locale: Intl.DateTimeFormat().resolvedOptions().locale,
|
|
92110
|
-
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
92111
|
-
shell: process.env.SHELL,
|
|
92112
|
-
ci: Boolean(process.env.CI),
|
|
92113
|
-
terminal: process.env.TERM_PROGRAM,
|
|
92114
|
-
...input.product.additionalProperties
|
|
92115
|
-
};
|
|
92116
|
-
}
|
|
92117
|
-
function getSafeCpuInfo(osProvider, input) {
|
|
92118
|
-
try {
|
|
92119
|
-
const cpuInfo = osProvider.cpus();
|
|
92120
|
-
return {
|
|
92121
|
-
count: cpuInfo.length,
|
|
92122
|
-
model: cpuInfo[0]?.model
|
|
92123
|
-
};
|
|
92124
|
-
} catch (error) {
|
|
92125
|
-
input.diagnostics?.({
|
|
92126
|
-
event: "telemetry_cpu_info_unavailable",
|
|
92127
|
-
source: "shared",
|
|
92128
|
-
error,
|
|
92129
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92130
|
-
});
|
|
92131
|
-
return {
|
|
92132
|
-
count: 0,
|
|
92133
|
-
model: undefined
|
|
92134
|
-
};
|
|
92135
|
-
}
|
|
92136
|
-
}
|
|
92137
|
-
var NO_OP_CLIENT;
|
|
92138
|
-
var init_posthog_client = __esm(() => {
|
|
92163
|
+
var init_posthog_transport = __esm(() => {
|
|
92139
92164
|
init_index_node();
|
|
92140
|
-
init_env();
|
|
92141
|
-
init_machine_id();
|
|
92142
|
-
NO_OP_CLIENT = {
|
|
92143
|
-
enabled: false,
|
|
92144
|
-
trackActive: () => {
|
|
92145
|
-
return;
|
|
92146
|
-
},
|
|
92147
|
-
flush: async () => {
|
|
92148
|
-
return;
|
|
92149
|
-
},
|
|
92150
|
-
shutdown: async () => {
|
|
92151
|
-
return;
|
|
92152
|
-
}
|
|
92153
|
-
};
|
|
92154
92165
|
});
|
|
92155
92166
|
|
|
92156
92167
|
// packages/telemetry-core/src/events.ts
|
|
92157
|
-
var
|
|
92158
|
-
|
|
92159
|
-
|
|
92160
|
-
|
|
92161
|
-
|
|
92162
|
-
|
|
92163
|
-
|
|
92164
|
-
|
|
92168
|
+
var init_events = () => {};
|
|
92169
|
+
|
|
92170
|
+
// packages/telemetry-core/src/posthog-client.ts
|
|
92171
|
+
function createTelemetryClient2(input) {
|
|
92172
|
+
return createTelemetryClient({ ...input, transportFactory: input.transportFactory ?? createDefaultPostHogTransport });
|
|
92173
|
+
}
|
|
92174
|
+
var init_posthog_client = __esm(() => {
|
|
92175
|
+
init_injected_client();
|
|
92176
|
+
init_posthog_transport();
|
|
92177
|
+
init_posthog_transport();
|
|
92165
92178
|
});
|
|
92166
92179
|
|
|
92167
92180
|
// packages/telemetry-core/src/record-daily-active.ts
|
|
@@ -92185,7 +92198,7 @@ var package_default2;
|
|
|
92185
92198
|
var init_package2 = __esm(() => {
|
|
92186
92199
|
package_default2 = {
|
|
92187
92200
|
name: "@oh-my-opencode/omo-codex",
|
|
92188
|
-
version: "5.1.
|
|
92201
|
+
version: "5.1.40",
|
|
92189
92202
|
type: "module",
|
|
92190
92203
|
private: true,
|
|
92191
92204
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -92315,7 +92328,7 @@ function resolveActivityStateProvider(options) {
|
|
|
92315
92328
|
return () => getPostHogActivityCaptureState(options.now ?? new Date);
|
|
92316
92329
|
}
|
|
92317
92330
|
function createPostHogClient(source, options = {}) {
|
|
92318
|
-
const client =
|
|
92331
|
+
const client = createTelemetryClient2({
|
|
92319
92332
|
diagnostics: writeTelemetryDiagnostic2,
|
|
92320
92333
|
env: options.env ?? process.env,
|
|
92321
92334
|
osProvider: options.osProvider ?? resolveOsProvider(),
|
|
@@ -99484,6 +99497,12 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
|
|
|
99484
99497
|
join63("extensions", "omo-memory-doctor.js"),
|
|
99485
99498
|
join63("extensions", "omo-memory-memfs.js"),
|
|
99486
99499
|
join63("extensions", "omo-memory-palace.js"),
|
|
99500
|
+
join63("extensions", "omo-session-history.js"),
|
|
99501
|
+
join63("extensions", "omo-recall-store.js"),
|
|
99502
|
+
join63("extensions", "omo-telemetry-posthog.js"),
|
|
99503
|
+
join63("extensions", "omo-memory-sync.js"),
|
|
99504
|
+
join63("extensions", "loro_wasm_bg.wasm"),
|
|
99505
|
+
join63("extensions", "CaseFolding.txt"),
|
|
99487
99506
|
join63("extensions", "omo-thread-client.js"),
|
|
99488
99507
|
join63("extensions", "assets.generated.json"),
|
|
99489
99508
|
join63("extensions", "omo-member.js"),
|
|
@@ -103813,21 +103832,21 @@ var GoalConfigSchema = object({
|
|
|
103813
103832
|
});
|
|
103814
103833
|
// packages/skills-loader-core/src/config/git-env-prefix.ts
|
|
103815
103834
|
init_zod();
|
|
103816
|
-
var
|
|
103835
|
+
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_-]*)*$/;
|
|
103817
103836
|
var GIT_ENV_PREFIX_VALIDATION_MESSAGE = 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"';
|
|
103818
103837
|
function isValidGitEnvPrefix(value) {
|
|
103819
103838
|
if (value === "") {
|
|
103820
103839
|
return true;
|
|
103821
103840
|
}
|
|
103822
|
-
return
|
|
103841
|
+
return GIT_ENV_ASSIGNMENT_PATTERN2.test(value);
|
|
103823
103842
|
}
|
|
103824
|
-
var
|
|
103843
|
+
var GitEnvPrefixSchema2 = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
|
|
103825
103844
|
// packages/omo-opencode/src/config/schema/git-master.ts
|
|
103826
103845
|
init_zod();
|
|
103827
103846
|
var GitMasterConfigSchema = object({
|
|
103828
103847
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
103829
103848
|
include_co_authored_by: boolean2().default(false),
|
|
103830
|
-
git_env_prefix:
|
|
103849
|
+
git_env_prefix: GitEnvPrefixSchema2
|
|
103831
103850
|
});
|
|
103832
103851
|
// packages/omo-opencode/src/config/schema/hooks.ts
|
|
103833
103852
|
init_zod();
|
|
@@ -106093,7 +106112,7 @@ function createPostHogClient2(source, options = {}) {
|
|
|
106093
106112
|
if (shouldDisablePostHog(env, options.configEnabled)) {
|
|
106094
106113
|
return NO_OP_POSTHOG2;
|
|
106095
106114
|
}
|
|
106096
|
-
const client =
|
|
106115
|
+
const client = createTelemetryClient2({
|
|
106097
106116
|
diagnostics: logTelemetryDiagnostic,
|
|
106098
106117
|
env: createCoreCompatibleTelemetryEnv(env),
|
|
106099
106118
|
osProvider: resolveOsProvider2(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lazycodex-ai",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.40",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -7100,14 +7100,20 @@ var OmoComputerSettingsLayerSchema = object({
|
|
|
7100
7100
|
var OmoComputerSettingsSchema = OmoComputerSettingsLayerSchema;
|
|
7101
7101
|
|
|
7102
7102
|
// ../../omo-config-core/src/schema/git-master.ts
|
|
7103
|
+
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_-]*)*$/;
|
|
7104
|
+
var GitEnvPrefixSchema = string2().refine((value) => value === "" || GIT_ENV_ASSIGNMENT_PATTERN.test(value), {
|
|
7105
|
+
message: 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"'
|
|
7106
|
+
});
|
|
7103
7107
|
var OmoGitMasterSettingsShape = {
|
|
7104
7108
|
commit_footer: union([boolean2(), string2()]),
|
|
7105
|
-
include_co_authored_by: boolean2()
|
|
7109
|
+
include_co_authored_by: boolean2(),
|
|
7110
|
+
git_env_prefix: GitEnvPrefixSchema
|
|
7106
7111
|
};
|
|
7107
7112
|
var OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
|
|
7108
7113
|
var OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
|
|
7109
7114
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
7110
|
-
include_co_authored_by: boolean2().default(false)
|
|
7115
|
+
include_co_authored_by: boolean2().default(false),
|
|
7116
|
+
git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
|
|
7111
7117
|
}).strict();
|
|
7112
7118
|
|
|
7113
7119
|
// ../../omo-config-core/src/schema/harness.ts
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
|
|
9
9
|
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
|
|
10
10
|
"timeout": 30,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.40) Checking Bootstrap Provisioning"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
|
|
10
10
|
"timeout": 5,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.40) Recommending Git Bash MCP"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"type": "command",
|
|
21
21
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
|
|
22
22
|
"timeout": 5,
|
|
23
|
-
"statusMessage": "(OmO 5.1.
|
|
23
|
+
"statusMessage": "(OmO 5.1.40) Resetting Git Bash MCP Reminder"
|
|
24
24
|
}
|
|
25
25
|
]
|
|
26
26
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
|
|
10
10
|
"timeout": 10,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.40) Verifying LazyCodex Executor Evidence"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "5.1.
|
|
4
|
-
"inputDigest": "sha256:
|
|
3
|
+
"version": "5.1.40",
|
|
4
|
+
"inputDigest": "sha256:eaaf8bb00a532c1ad018f45d3d10f940405a9e73197aaea75389780b8a77fcaa",
|
|
5
5
|
"outputs": [
|
|
6
6
|
{
|
|
7
7
|
"path": "cli.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
|
|
10
10
|
"timeout": 60,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.40) Checking LSP Diagnostics"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type": "command",
|
|
22
22
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
|
|
23
23
|
"timeout": 5,
|
|
24
|
-
"statusMessage": "(OmO 5.1.
|
|
24
|
+
"statusMessage": "(OmO 5.1.40) Resetting LSP Diagnostics Cache"
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
}
|