lazycodex-ai 5.1.35 → 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 +211 -189
- package/dist/cli-node/index.js +211 -189
- 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 +2 -2
- 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 +18 -17
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/shared/package.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/index.js +4 -4
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +2 -2
- package/packages/omo-codex/plugin/skills/frontend/SKILL.md +8 -1
- package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +3 -2
- package/packages/omo-codex/plugin/skills/frontend/references/perfection/README.md +2 -1
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/color.ts +132 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/css-parse.ts +103 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/declarations.ts +156 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/findings.ts +34 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/gradient.ts +70 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/lint.ts +110 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/markup.ts +148 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/selector.ts +46 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/accent-stripes/tailwind.ts +117 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/check-accent-stripes.ts +50 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/exempt-states.css +4 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/flat-stripe-side.tsx +11 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/full-surface-gradients.css +34 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/inline-ok.tsx +7 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/neutral-and-flat.css +6 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/pseudo-overlays.css +3 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/tailwind-ok.tsx +11 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/uniform-and-rings.css +3 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/wide-blocks-and-hairlines.css +3 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/apply.css +3 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/border-top-card.css +5 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/cva-variant.ts +1 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/gradient-edges.css +26 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/inline-styles.tsx +6 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/inset-shadow.css +4 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/non-visible-focus-and-nested.tsx +6 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/pseudo-bar.css +13 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/split-rule-and-token.scss +14 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/styled-components.tsx +14 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-cards.tsx +8 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-inset-and-style.vue +11 -0
- package/packages/omo-codex/plugin/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-pseudo.html +3 -0
- 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 +180 -169
- package/packages/shared-skills/skills/browser/runtime/omowright/index.js +4 -4
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +2 -2
- package/packages/shared-skills/skills/frontend/SKILL.md +8 -1
- package/packages/shared-skills/skills/frontend/references/design/README.md +3 -2
- package/packages/shared-skills/skills/frontend/references/perfection/README.md +2 -1
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/color.ts +132 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/css-parse.ts +103 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/declarations.ts +156 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/findings.ts +34 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/gradient.ts +70 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/lint.ts +110 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/markup.ts +148 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/selector.ts +46 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/accent-stripes/tailwind.ts +117 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/check-accent-stripes.test.ts +86 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/check-accent-stripes.ts +50 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/exempt-states.css +4 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/flat-stripe-side.tsx +11 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/full-surface-gradients.css +34 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/inline-ok.tsx +7 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/neutral-and-flat.css +6 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/pseudo-overlays.css +3 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/tailwind-ok.tsx +11 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/uniform-and-rings.css +3 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/wide-blocks-and-hairlines.css +3 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/apply.css +3 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/border-top-card.css +5 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/cva-variant.ts +1 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/gradient-edges.css +26 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/inline-styles.tsx +6 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/inset-shadow.css +4 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/non-visible-focus-and-nested.tsx +6 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/pseudo-bar.css +13 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/split-rule-and-token.scss +14 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/styled-components.tsx +14 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-cards.tsx +8 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-inset-and-style.vue +11 -0
- package/packages/shared-skills/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-pseudo.html +3 -0
- 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.
|
|
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:*",
|
|
@@ -2347,15 +2347,17 @@ var init_package = __esm(() => {
|
|
|
2347
2347
|
"@oh-my-opencode/utils": "workspace:*",
|
|
2348
2348
|
"@opencode-ai/plugin": "1.18.31",
|
|
2349
2349
|
"@opencode-ai/sdk": "1.18.31",
|
|
2350
|
+
"@opencode/plugin": "2.0.32",
|
|
2350
2351
|
"@opentui/core": "^0.5.11",
|
|
2351
2352
|
"@opentui/keymap": "^0.5.11",
|
|
2352
2353
|
"@types/js-yaml": "^4.0.9",
|
|
2354
|
+
"@types/node": "26.6.2",
|
|
2353
2355
|
"@types/picomatch": "^4.0.3",
|
|
2354
2356
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
2355
2357
|
"@typescript/typescript6": "6.0.2",
|
|
2356
2358
|
"@xterm/addon-unicode11": "^0.9.0",
|
|
2357
2359
|
"@xterm/xterm": "^6.0.0",
|
|
2358
|
-
"bun-types": "1.4.
|
|
2360
|
+
"bun-types": "1.4.3",
|
|
2359
2361
|
commander: "^15.0.0",
|
|
2360
2362
|
diff: "^9.0.0",
|
|
2361
2363
|
"js-yaml": "^5.4.2",
|
|
@@ -2369,18 +2371,18 @@ var init_package = __esm(() => {
|
|
|
2369
2371
|
typescript: "^7.0.2"
|
|
2370
2372
|
},
|
|
2371
2373
|
optionalDependencies: {
|
|
2372
|
-
"oh-my-opencode-darwin-arm64": "5.1.
|
|
2373
|
-
"oh-my-opencode-darwin-x64": "5.1.
|
|
2374
|
-
"oh-my-opencode-darwin-x64-baseline": "5.1.
|
|
2375
|
-
"oh-my-opencode-linux-arm64": "5.1.
|
|
2376
|
-
"oh-my-opencode-linux-arm64-musl": "5.1.
|
|
2377
|
-
"oh-my-opencode-linux-x64": "5.1.
|
|
2378
|
-
"oh-my-opencode-linux-x64-baseline": "5.1.
|
|
2379
|
-
"oh-my-opencode-linux-x64-musl": "5.1.
|
|
2380
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.1.
|
|
2381
|
-
"oh-my-opencode-windows-arm64": "5.1.
|
|
2382
|
-
"oh-my-opencode-windows-x64": "5.1.
|
|
2383
|
-
"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"
|
|
2384
2386
|
},
|
|
2385
2387
|
overrides: {
|
|
2386
2388
|
hono: "^4.13.8",
|
|
@@ -9547,6 +9549,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
9547
9549
|
},
|
|
9548
9550
|
{ providers: ["xiaomi", "opencode-go"], model: "mimo-v2.6-pro", variant: "max" },
|
|
9549
9551
|
{ providers: ["xai", "github-copilot", "opencode-go"], model: "grok-4.7", variant: "xhigh" },
|
|
9552
|
+
{ providers: ["zai-coding-plan", "opencode-go"], model: "glm-5.3", variant: "high" },
|
|
9550
9553
|
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6.1-sol", variant: "medium" },
|
|
9551
9554
|
{
|
|
9552
9555
|
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
@@ -76857,17 +76860,23 @@ var init_computer = __esm(() => {
|
|
|
76857
76860
|
});
|
|
76858
76861
|
|
|
76859
76862
|
// packages/omo-config-core/src/schema/git-master.ts
|
|
76860
|
-
var OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
|
|
76863
|
+
var GIT_ENV_ASSIGNMENT_PATTERN, GitEnvPrefixSchema, OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
|
|
76861
76864
|
var init_git_master = __esm(() => {
|
|
76862
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
|
+
});
|
|
76863
76870
|
OmoGitMasterSettingsShape = {
|
|
76864
76871
|
commit_footer: union([boolean2(), string2()]),
|
|
76865
|
-
include_co_authored_by: boolean2()
|
|
76872
|
+
include_co_authored_by: boolean2(),
|
|
76873
|
+
git_env_prefix: GitEnvPrefixSchema
|
|
76866
76874
|
};
|
|
76867
76875
|
OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
|
|
76868
76876
|
OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
|
|
76869
76877
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
76870
|
-
include_co_authored_by: boolean2().default(false)
|
|
76878
|
+
include_co_authored_by: boolean2().default(false),
|
|
76879
|
+
git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
|
|
76871
76880
|
}).strict();
|
|
76872
76881
|
});
|
|
76873
76882
|
|
|
@@ -82602,6 +82611,163 @@ var init_event_id = __esm(() => {
|
|
|
82602
82611
|
fallbackEventId = createUuidV7Generator();
|
|
82603
82612
|
});
|
|
82604
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
|
+
|
|
82605
82771
|
// node_modules/.bun/posthog-node@5.52.4/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
82606
82772
|
import { dirname as dirname18, posix as posix7, sep as sep7 } from "path";
|
|
82607
82773
|
function createModulerModifier() {
|
|
@@ -91975,18 +92141,7 @@ var init_index_node = __esm(() => {
|
|
|
91975
92141
|
};
|
|
91976
92142
|
});
|
|
91977
92143
|
|
|
91978
|
-
// packages/telemetry-core/src/
|
|
91979
|
-
import { createHash as createHash5 } from "node:crypto";
|
|
91980
|
-
import os4 from "node:os";
|
|
91981
|
-
function getDefaultTelemetryOsProvider() {
|
|
91982
|
-
return os4;
|
|
91983
|
-
}
|
|
91984
|
-
function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
|
|
91985
|
-
return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
|
|
91986
|
-
}
|
|
91987
|
-
var init_machine_id = () => {};
|
|
91988
|
-
|
|
91989
|
-
// packages/telemetry-core/src/posthog-client.ts
|
|
92144
|
+
// packages/telemetry-core/src/posthog-transport.ts
|
|
91990
92145
|
class PostHogTelemetryTransport {
|
|
91991
92146
|
#client;
|
|
91992
92147
|
constructor(apiKey, options) {
|
|
@@ -92005,161 +92160,21 @@ class PostHogTelemetryTransport {
|
|
|
92005
92160
|
function createDefaultPostHogTransport(apiKey, options) {
|
|
92006
92161
|
return new PostHogTelemetryTransport(apiKey, options);
|
|
92007
92162
|
}
|
|
92008
|
-
|
|
92009
|
-
const env = input.env ?? process.env;
|
|
92010
|
-
return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
|
|
92011
|
-
}
|
|
92012
|
-
function createTelemetryClient(input) {
|
|
92013
|
-
if (!isTelemetryClientEnabled(input)) {
|
|
92014
|
-
return NO_OP_CLIENT;
|
|
92015
|
-
}
|
|
92016
|
-
const transport = createTransport(input);
|
|
92017
|
-
if (transport === null) {
|
|
92018
|
-
return NO_OP_CLIENT;
|
|
92019
|
-
}
|
|
92020
|
-
const sharedProperties = getSharedProperties(input);
|
|
92021
|
-
return {
|
|
92022
|
-
enabled: true,
|
|
92023
|
-
trackActive: ({ dayUTC, distinctId, reason }) => {
|
|
92024
|
-
try {
|
|
92025
|
-
transport.capture({
|
|
92026
|
-
distinctId,
|
|
92027
|
-
event: input.product.eventName,
|
|
92028
|
-
properties: {
|
|
92029
|
-
...sharedProperties,
|
|
92030
|
-
$process_person_profile: false,
|
|
92031
|
-
day_utc: dayUTC,
|
|
92032
|
-
reason
|
|
92033
|
-
}
|
|
92034
|
-
});
|
|
92035
|
-
} catch (error) {
|
|
92036
|
-
input.diagnostics?.({
|
|
92037
|
-
event: "telemetry_capture_failed",
|
|
92038
|
-
source: input.source,
|
|
92039
|
-
error,
|
|
92040
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92041
|
-
});
|
|
92042
|
-
}
|
|
92043
|
-
},
|
|
92044
|
-
flush: async () => {
|
|
92045
|
-
if (transport.flush === undefined) {
|
|
92046
|
-
return;
|
|
92047
|
-
}
|
|
92048
|
-
await transport.flush();
|
|
92049
|
-
},
|
|
92050
|
-
shutdown: async () => {
|
|
92051
|
-
try {
|
|
92052
|
-
await transport.shutdown();
|
|
92053
|
-
} catch (error) {
|
|
92054
|
-
input.diagnostics?.({
|
|
92055
|
-
event: "telemetry_shutdown_failed",
|
|
92056
|
-
source: input.source,
|
|
92057
|
-
error,
|
|
92058
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92059
|
-
});
|
|
92060
|
-
}
|
|
92061
|
-
}
|
|
92062
|
-
};
|
|
92063
|
-
}
|
|
92064
|
-
function createTransport(input) {
|
|
92065
|
-
const env = input.env ?? process.env;
|
|
92066
|
-
const factory = input.transportFactory ?? createDefaultPostHogTransport;
|
|
92067
|
-
try {
|
|
92068
|
-
return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
|
|
92069
|
-
enableExceptionAutocapture: false,
|
|
92070
|
-
enableLocalEvaluation: false,
|
|
92071
|
-
strictLocalEvaluation: true,
|
|
92072
|
-
disableRemoteConfig: true,
|
|
92073
|
-
flushAt: 1,
|
|
92074
|
-
flushInterval: 0,
|
|
92075
|
-
host: getTelemetryHost(env, input.product.defaultHost),
|
|
92076
|
-
disableGeoip: input.product.disableGeoip ?? false,
|
|
92077
|
-
...input.product.transportOptions
|
|
92078
|
-
});
|
|
92079
|
-
} catch (error) {
|
|
92080
|
-
input.diagnostics?.({
|
|
92081
|
-
event: "telemetry_posthog_init_failed",
|
|
92082
|
-
source: input.source,
|
|
92083
|
-
error,
|
|
92084
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92085
|
-
});
|
|
92086
|
-
return null;
|
|
92087
|
-
}
|
|
92088
|
-
}
|
|
92089
|
-
function getSharedProperties(input) {
|
|
92090
|
-
const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
|
|
92091
|
-
const cpuInfo = getSafeCpuInfo(osProvider, input);
|
|
92092
|
-
return {
|
|
92093
|
-
platform: input.product.platform,
|
|
92094
|
-
product_name: input.product.productName,
|
|
92095
|
-
package_name: input.product.packageName,
|
|
92096
|
-
package_version: input.product.packageVersion,
|
|
92097
|
-
runtime: "bun",
|
|
92098
|
-
runtime_version: process.versions.bun ?? process.version,
|
|
92099
|
-
source: input.source,
|
|
92100
|
-
$os: osProvider.platform(),
|
|
92101
|
-
$os_version: osProvider.release(),
|
|
92102
|
-
os_arch: osProvider.arch(),
|
|
92103
|
-
os_type: osProvider.type(),
|
|
92104
|
-
cpu_count: cpuInfo.count,
|
|
92105
|
-
cpu_model: cpuInfo.model,
|
|
92106
|
-
total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
|
|
92107
|
-
locale: Intl.DateTimeFormat().resolvedOptions().locale,
|
|
92108
|
-
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
92109
|
-
shell: process.env.SHELL,
|
|
92110
|
-
ci: Boolean(process.env.CI),
|
|
92111
|
-
terminal: process.env.TERM_PROGRAM,
|
|
92112
|
-
...input.product.additionalProperties
|
|
92113
|
-
};
|
|
92114
|
-
}
|
|
92115
|
-
function getSafeCpuInfo(osProvider, input) {
|
|
92116
|
-
try {
|
|
92117
|
-
const cpuInfo = osProvider.cpus();
|
|
92118
|
-
return {
|
|
92119
|
-
count: cpuInfo.length,
|
|
92120
|
-
model: cpuInfo[0]?.model
|
|
92121
|
-
};
|
|
92122
|
-
} catch (error) {
|
|
92123
|
-
input.diagnostics?.({
|
|
92124
|
-
event: "telemetry_cpu_info_unavailable",
|
|
92125
|
-
source: "shared",
|
|
92126
|
-
error,
|
|
92127
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92128
|
-
});
|
|
92129
|
-
return {
|
|
92130
|
-
count: 0,
|
|
92131
|
-
model: undefined
|
|
92132
|
-
};
|
|
92133
|
-
}
|
|
92134
|
-
}
|
|
92135
|
-
var NO_OP_CLIENT;
|
|
92136
|
-
var init_posthog_client = __esm(() => {
|
|
92163
|
+
var init_posthog_transport = __esm(() => {
|
|
92137
92164
|
init_index_node();
|
|
92138
|
-
init_env();
|
|
92139
|
-
init_machine_id();
|
|
92140
|
-
NO_OP_CLIENT = {
|
|
92141
|
-
enabled: false,
|
|
92142
|
-
trackActive: () => {
|
|
92143
|
-
return;
|
|
92144
|
-
},
|
|
92145
|
-
flush: async () => {
|
|
92146
|
-
return;
|
|
92147
|
-
},
|
|
92148
|
-
shutdown: async () => {
|
|
92149
|
-
return;
|
|
92150
|
-
}
|
|
92151
|
-
};
|
|
92152
92165
|
});
|
|
92153
92166
|
|
|
92154
92167
|
// packages/telemetry-core/src/events.ts
|
|
92155
|
-
var
|
|
92156
|
-
|
|
92157
|
-
|
|
92158
|
-
|
|
92159
|
-
|
|
92160
|
-
|
|
92161
|
-
|
|
92162
|
-
|
|
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();
|
|
92163
92178
|
});
|
|
92164
92179
|
|
|
92165
92180
|
// packages/telemetry-core/src/record-daily-active.ts
|
|
@@ -92183,7 +92198,7 @@ var package_default2;
|
|
|
92183
92198
|
var init_package2 = __esm(() => {
|
|
92184
92199
|
package_default2 = {
|
|
92185
92200
|
name: "@oh-my-opencode/omo-codex",
|
|
92186
|
-
version: "5.1.
|
|
92201
|
+
version: "5.1.40",
|
|
92187
92202
|
type: "module",
|
|
92188
92203
|
private: true,
|
|
92189
92204
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -92218,7 +92233,7 @@ var init_package2 = __esm(() => {
|
|
|
92218
92233
|
"@oh-my-opencode/utils": "workspace:*"
|
|
92219
92234
|
},
|
|
92220
92235
|
devDependencies: {
|
|
92221
|
-
"bun-types": "1.4.
|
|
92236
|
+
"bun-types": "1.4.3"
|
|
92222
92237
|
}
|
|
92223
92238
|
};
|
|
92224
92239
|
});
|
|
@@ -92313,7 +92328,7 @@ function resolveActivityStateProvider(options) {
|
|
|
92313
92328
|
return () => getPostHogActivityCaptureState(options.now ?? new Date);
|
|
92314
92329
|
}
|
|
92315
92330
|
function createPostHogClient(source, options = {}) {
|
|
92316
|
-
const client =
|
|
92331
|
+
const client = createTelemetryClient2({
|
|
92317
92332
|
diagnostics: writeTelemetryDiagnostic2,
|
|
92318
92333
|
env: options.env ?? process.env,
|
|
92319
92334
|
osProvider: options.osProvider ?? resolveOsProvider(),
|
|
@@ -99482,6 +99497,12 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
|
|
|
99482
99497
|
join63("extensions", "omo-memory-doctor.js"),
|
|
99483
99498
|
join63("extensions", "omo-memory-memfs.js"),
|
|
99484
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"),
|
|
99485
99506
|
join63("extensions", "omo-thread-client.js"),
|
|
99486
99507
|
join63("extensions", "assets.generated.json"),
|
|
99487
99508
|
join63("extensions", "omo-member.js"),
|
|
@@ -103811,21 +103832,21 @@ var GoalConfigSchema = object({
|
|
|
103811
103832
|
});
|
|
103812
103833
|
// packages/skills-loader-core/src/config/git-env-prefix.ts
|
|
103813
103834
|
init_zod();
|
|
103814
|
-
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_-]*)*$/;
|
|
103815
103836
|
var GIT_ENV_PREFIX_VALIDATION_MESSAGE = 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"';
|
|
103816
103837
|
function isValidGitEnvPrefix(value) {
|
|
103817
103838
|
if (value === "") {
|
|
103818
103839
|
return true;
|
|
103819
103840
|
}
|
|
103820
|
-
return
|
|
103841
|
+
return GIT_ENV_ASSIGNMENT_PATTERN2.test(value);
|
|
103821
103842
|
}
|
|
103822
|
-
var
|
|
103843
|
+
var GitEnvPrefixSchema2 = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
|
|
103823
103844
|
// packages/omo-opencode/src/config/schema/git-master.ts
|
|
103824
103845
|
init_zod();
|
|
103825
103846
|
var GitMasterConfigSchema = object({
|
|
103826
103847
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
103827
103848
|
include_co_authored_by: boolean2().default(false),
|
|
103828
|
-
git_env_prefix:
|
|
103849
|
+
git_env_prefix: GitEnvPrefixSchema2
|
|
103829
103850
|
});
|
|
103830
103851
|
// packages/omo-opencode/src/config/schema/hooks.ts
|
|
103831
103852
|
init_zod();
|
|
@@ -106091,7 +106112,7 @@ function createPostHogClient2(source, options = {}) {
|
|
|
106091
106112
|
if (shouldDisablePostHog(env, options.configEnabled)) {
|
|
106092
106113
|
return NO_OP_POSTHOG2;
|
|
106093
106114
|
}
|
|
106094
|
-
const client =
|
|
106115
|
+
const client = createTelemetryClient2({
|
|
106095
106116
|
diagnostics: logTelemetryDiagnostic,
|
|
106096
106117
|
env: createCoreCompatibleTelemetryEnv(env),
|
|
106097
106118
|
osProvider: resolveOsProvider2(),
|
|
@@ -108557,6 +108578,7 @@ var package_default3 = {
|
|
|
108557
108578
|
"@oh-my-opencode/utils": "workspace:*",
|
|
108558
108579
|
"@opencode-ai/plugin": "1.18.31",
|
|
108559
108580
|
"@opencode-ai/sdk": "1.18.31",
|
|
108581
|
+
"@opencode/plugin": "2.0.32",
|
|
108560
108582
|
commander: "^15.0.0",
|
|
108561
108583
|
"jsonc-parser": "^3.3.1",
|
|
108562
108584
|
picocolors: "^1.1.1",
|
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",
|