oh-my-openagent 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/agents/gpt-prompt-identity.d.ts +1 -1
- package/dist/cli/index.js +211 -189
- package/dist/cli-node/index.js +211 -189
- package/dist/index.d.ts +7 -3
- package/dist/index.js +40398 -40353
- package/dist/opencode-v2/server-entry.d.ts +2 -0
- package/dist/opencode-v2/startup-notice.d.ts +3 -0
- package/dist/opencode-v2/tui-entry.d.ts +16 -0
- package/dist/skills/browser/runtime/omowright/index.js +4 -4
- package/dist/skills/browser/runtime/omowright/manifest.json +2 -2
- package/dist/skills/frontend/SKILL.md +8 -1
- package/dist/skills/frontend/references/design/README.md +3 -2
- package/dist/skills/frontend/references/perfection/README.md +2 -1
- package/dist/skills/frontend/scripts/perfection/accent-stripes/color.ts +132 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/css-parse.ts +103 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/declarations.ts +156 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/findings.ts +34 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/gradient.ts +70 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/lint.ts +110 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/markup.ts +148 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/selector.ts +46 -0
- package/dist/skills/frontend/scripts/perfection/accent-stripes/tailwind.ts +117 -0
- package/dist/skills/frontend/scripts/perfection/check-accent-stripes.test.ts +86 -0
- package/dist/skills/frontend/scripts/perfection/check-accent-stripes.ts +50 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/exempt-states.css +4 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/flat-stripe-side.tsx +11 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/full-surface-gradients.css +34 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/inline-ok.tsx +7 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/neutral-and-flat.css +6 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/pseudo-overlays.css +3 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/tailwind-ok.tsx +11 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/uniform-and-rings.css +3 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/negative/wide-blocks-and-hairlines.css +3 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/apply.css +3 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/border-top-card.css +5 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/cva-variant.ts +1 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/gradient-edges.css +26 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/inline-styles.tsx +6 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/inset-shadow.css +4 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/non-visible-focus-and-nested.tsx +6 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/pseudo-bar.css +13 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/split-rule-and-token.scss +14 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/styled-components.tsx +14 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-cards.tsx +8 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-inset-and-style.vue +11 -0
- package/dist/skills/frontend/scripts/perfection/fixtures/accent-stripes/positive/tailwind-pseudo.html +3 -0
- package/dist/skills/git-master/SKILL.md +1 -1
- package/dist/skills/ulw-plan/SKILL.md +1 -1
- package/dist/skills/ulw-plan/references/full-workflow.md +5 -4
- package/dist/tui.d.ts +7 -3
- package/dist/tui.js +64 -24
- package/package.json +17 -15
- package/packages/git-bash-mcp/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
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type GptPromptIdentityKey = "gpt-5.5" | "gpt-5.6-sol" | "gpt-6-astra" | "gpt-6-sol" | "gpt-family";
|
|
1
|
+
export type GptPromptIdentityKey = "gpt-5.5" | "gpt-5.6-sol" | "gpt-6-astra" | "gpt-6-sol" | "gpt-6.1-sol" | "gpt-6-luna" | "gpt-family";
|
|
2
2
|
export declare function getGptPromptIdentityKey(model?: string): GptPromptIdentityKey;
|
|
3
3
|
export declare function getGptPromptIdentity(model?: string): string;
|
package/dist/cli/index.js
CHANGED
|
@@ -2132,7 +2132,7 @@ var package_default;
|
|
|
2132
2132
|
var init_package = __esm(() => {
|
|
2133
2133
|
package_default = {
|
|
2134
2134
|
name: "oh-my-opencode",
|
|
2135
|
-
version: "5.1.
|
|
2135
|
+
version: "5.1.40",
|
|
2136
2136
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
2137
2137
|
main: "./dist/index.js",
|
|
2138
2138
|
types: "dist/index.d.ts",
|
|
@@ -2309,7 +2309,7 @@ var init_package = __esm(() => {
|
|
|
2309
2309
|
},
|
|
2310
2310
|
devDependencies: {
|
|
2311
2311
|
"@clack/prompts": "^1.8.1",
|
|
2312
|
-
"@code-yeongyu/senpi": "2026.10.
|
|
2312
|
+
"@code-yeongyu/senpi": "2026.10.19-2",
|
|
2313
2313
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
2314
2314
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
2315
2315
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
@@ -2346,15 +2346,17 @@ var init_package = __esm(() => {
|
|
|
2346
2346
|
"@oh-my-opencode/utils": "workspace:*",
|
|
2347
2347
|
"@opencode-ai/plugin": "1.18.31",
|
|
2348
2348
|
"@opencode-ai/sdk": "1.18.31",
|
|
2349
|
+
"@opencode/plugin": "2.0.32",
|
|
2349
2350
|
"@opentui/core": "^0.5.11",
|
|
2350
2351
|
"@opentui/keymap": "^0.5.11",
|
|
2351
2352
|
"@types/js-yaml": "^4.0.9",
|
|
2353
|
+
"@types/node": "26.6.2",
|
|
2352
2354
|
"@types/picomatch": "^4.0.3",
|
|
2353
2355
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
2354
2356
|
"@typescript/typescript6": "6.0.2",
|
|
2355
2357
|
"@xterm/addon-unicode11": "^0.9.0",
|
|
2356
2358
|
"@xterm/xterm": "^6.0.0",
|
|
2357
|
-
"bun-types": "1.4.
|
|
2359
|
+
"bun-types": "1.4.3",
|
|
2358
2360
|
commander: "^15.0.0",
|
|
2359
2361
|
diff: "^9.0.0",
|
|
2360
2362
|
"js-yaml": "^5.4.2",
|
|
@@ -2368,18 +2370,18 @@ var init_package = __esm(() => {
|
|
|
2368
2370
|
typescript: "^7.0.2"
|
|
2369
2371
|
},
|
|
2370
2372
|
optionalDependencies: {
|
|
2371
|
-
"oh-my-opencode-darwin-arm64": "5.1.
|
|
2372
|
-
"oh-my-opencode-darwin-x64": "5.1.
|
|
2373
|
-
"oh-my-opencode-darwin-x64-baseline": "5.1.
|
|
2374
|
-
"oh-my-opencode-linux-arm64": "5.1.
|
|
2375
|
-
"oh-my-opencode-linux-arm64-musl": "5.1.
|
|
2376
|
-
"oh-my-opencode-linux-x64": "5.1.
|
|
2377
|
-
"oh-my-opencode-linux-x64-baseline": "5.1.
|
|
2378
|
-
"oh-my-opencode-linux-x64-musl": "5.1.
|
|
2379
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.1.
|
|
2380
|
-
"oh-my-opencode-windows-arm64": "5.1.
|
|
2381
|
-
"oh-my-opencode-windows-x64": "5.1.
|
|
2382
|
-
"oh-my-opencode-windows-x64-baseline": "5.1.
|
|
2373
|
+
"oh-my-opencode-darwin-arm64": "5.1.40",
|
|
2374
|
+
"oh-my-opencode-darwin-x64": "5.1.40",
|
|
2375
|
+
"oh-my-opencode-darwin-x64-baseline": "5.1.40",
|
|
2376
|
+
"oh-my-opencode-linux-arm64": "5.1.40",
|
|
2377
|
+
"oh-my-opencode-linux-arm64-musl": "5.1.40",
|
|
2378
|
+
"oh-my-opencode-linux-x64": "5.1.40",
|
|
2379
|
+
"oh-my-opencode-linux-x64-baseline": "5.1.40",
|
|
2380
|
+
"oh-my-opencode-linux-x64-musl": "5.1.40",
|
|
2381
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.1.40",
|
|
2382
|
+
"oh-my-opencode-windows-arm64": "5.1.40",
|
|
2383
|
+
"oh-my-opencode-windows-x64": "5.1.40",
|
|
2384
|
+
"oh-my-opencode-windows-x64-baseline": "5.1.40"
|
|
2383
2385
|
},
|
|
2384
2386
|
overrides: {
|
|
2385
2387
|
hono: "^4.13.8",
|
|
@@ -9546,6 +9548,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
9546
9548
|
},
|
|
9547
9549
|
{ providers: ["xiaomi", "opencode-go"], model: "mimo-v2.6-pro", variant: "max" },
|
|
9548
9550
|
{ providers: ["xai", "github-copilot", "opencode-go"], model: "grok-4.7", variant: "xhigh" },
|
|
9551
|
+
{ providers: ["zai-coding-plan", "opencode-go"], model: "glm-5.3", variant: "high" },
|
|
9549
9552
|
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6.1-sol", variant: "medium" },
|
|
9550
9553
|
{
|
|
9551
9554
|
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
@@ -76778,17 +76781,23 @@ var init_computer = __esm(() => {
|
|
|
76778
76781
|
});
|
|
76779
76782
|
|
|
76780
76783
|
// packages/omo-config-core/src/schema/git-master.ts
|
|
76781
|
-
var OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
|
|
76784
|
+
var GIT_ENV_ASSIGNMENT_PATTERN, GitEnvPrefixSchema, OmoGitMasterSettingsShape, OmoGitMasterSettingsLayerSchema, OmoGitMasterSettingsSchema;
|
|
76782
76785
|
var init_git_master = __esm(() => {
|
|
76783
76786
|
init_zod();
|
|
76787
|
+
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_-]*)*$/;
|
|
76788
|
+
GitEnvPrefixSchema = string2().refine((value) => value === "" || GIT_ENV_ASSIGNMENT_PATTERN.test(value), {
|
|
76789
|
+
message: 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"'
|
|
76790
|
+
});
|
|
76784
76791
|
OmoGitMasterSettingsShape = {
|
|
76785
76792
|
commit_footer: union([boolean2(), string2()]),
|
|
76786
|
-
include_co_authored_by: boolean2()
|
|
76793
|
+
include_co_authored_by: boolean2(),
|
|
76794
|
+
git_env_prefix: GitEnvPrefixSchema
|
|
76787
76795
|
};
|
|
76788
76796
|
OmoGitMasterSettingsLayerSchema = object(OmoGitMasterSettingsShape).partial().strict();
|
|
76789
76797
|
OmoGitMasterSettingsSchema = OmoGitMasterSettingsLayerSchema.extend({
|
|
76790
76798
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
76791
|
-
include_co_authored_by: boolean2().default(false)
|
|
76799
|
+
include_co_authored_by: boolean2().default(false),
|
|
76800
|
+
git_env_prefix: GitEnvPrefixSchema.default("GIT_MASTER=1")
|
|
76792
76801
|
}).strict();
|
|
76793
76802
|
});
|
|
76794
76803
|
|
|
@@ -82523,6 +82532,163 @@ var init_event_id = __esm(() => {
|
|
|
82523
82532
|
fallbackEventId = createUuidV7Generator();
|
|
82524
82533
|
});
|
|
82525
82534
|
|
|
82535
|
+
// packages/telemetry-core/src/machine-id.ts
|
|
82536
|
+
import { createHash as createHash5 } from "crypto";
|
|
82537
|
+
import os4 from "os";
|
|
82538
|
+
function getDefaultTelemetryOsProvider() {
|
|
82539
|
+
return os4;
|
|
82540
|
+
}
|
|
82541
|
+
function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
|
|
82542
|
+
return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
|
|
82543
|
+
}
|
|
82544
|
+
var init_machine_id = () => {};
|
|
82545
|
+
|
|
82546
|
+
// packages/telemetry-core/src/injected-client.ts
|
|
82547
|
+
function isTelemetryClientEnabled(input) {
|
|
82548
|
+
const env = input.env ?? process.env;
|
|
82549
|
+
return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
|
|
82550
|
+
}
|
|
82551
|
+
function createTelemetryClient(input) {
|
|
82552
|
+
if (!isTelemetryClientEnabled(input)) {
|
|
82553
|
+
return NO_OP_CLIENT;
|
|
82554
|
+
}
|
|
82555
|
+
const transport = createTransport(input);
|
|
82556
|
+
if (transport === null) {
|
|
82557
|
+
return NO_OP_CLIENT;
|
|
82558
|
+
}
|
|
82559
|
+
const sharedProperties = getSharedProperties(input);
|
|
82560
|
+
return {
|
|
82561
|
+
enabled: true,
|
|
82562
|
+
trackActive: ({ dayUTC, distinctId, reason }) => {
|
|
82563
|
+
try {
|
|
82564
|
+
transport.capture({
|
|
82565
|
+
distinctId,
|
|
82566
|
+
event: input.product.eventName,
|
|
82567
|
+
properties: {
|
|
82568
|
+
...sharedProperties,
|
|
82569
|
+
$process_person_profile: false,
|
|
82570
|
+
day_utc: dayUTC,
|
|
82571
|
+
reason
|
|
82572
|
+
}
|
|
82573
|
+
});
|
|
82574
|
+
} catch (error) {
|
|
82575
|
+
input.diagnostics?.({
|
|
82576
|
+
event: "telemetry_capture_failed",
|
|
82577
|
+
source: input.source,
|
|
82578
|
+
error,
|
|
82579
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82580
|
+
});
|
|
82581
|
+
}
|
|
82582
|
+
},
|
|
82583
|
+
flush: async () => {
|
|
82584
|
+
if (transport.flush === undefined) {
|
|
82585
|
+
return;
|
|
82586
|
+
}
|
|
82587
|
+
await transport.flush();
|
|
82588
|
+
},
|
|
82589
|
+
shutdown: async () => {
|
|
82590
|
+
try {
|
|
82591
|
+
await transport.shutdown();
|
|
82592
|
+
} catch (error) {
|
|
82593
|
+
input.diagnostics?.({
|
|
82594
|
+
event: "telemetry_shutdown_failed",
|
|
82595
|
+
source: input.source,
|
|
82596
|
+
error,
|
|
82597
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82598
|
+
});
|
|
82599
|
+
}
|
|
82600
|
+
}
|
|
82601
|
+
};
|
|
82602
|
+
}
|
|
82603
|
+
function createTransport(input) {
|
|
82604
|
+
const env = input.env ?? process.env;
|
|
82605
|
+
const factory = input.transportFactory;
|
|
82606
|
+
try {
|
|
82607
|
+
return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
|
|
82608
|
+
enableExceptionAutocapture: false,
|
|
82609
|
+
enableLocalEvaluation: false,
|
|
82610
|
+
strictLocalEvaluation: true,
|
|
82611
|
+
disableRemoteConfig: true,
|
|
82612
|
+
flushAt: 1,
|
|
82613
|
+
flushInterval: 0,
|
|
82614
|
+
host: getTelemetryHost(env, input.product.defaultHost),
|
|
82615
|
+
disableGeoip: input.product.disableGeoip ?? false,
|
|
82616
|
+
...input.product.transportOptions
|
|
82617
|
+
});
|
|
82618
|
+
} catch (error) {
|
|
82619
|
+
input.diagnostics?.({
|
|
82620
|
+
event: "telemetry_posthog_init_failed",
|
|
82621
|
+
source: input.source,
|
|
82622
|
+
error,
|
|
82623
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82624
|
+
});
|
|
82625
|
+
return null;
|
|
82626
|
+
}
|
|
82627
|
+
}
|
|
82628
|
+
function getSharedProperties(input) {
|
|
82629
|
+
const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
|
|
82630
|
+
const cpuInfo = getSafeCpuInfo(osProvider, input);
|
|
82631
|
+
return {
|
|
82632
|
+
platform: input.product.platform,
|
|
82633
|
+
product_name: input.product.productName,
|
|
82634
|
+
package_name: input.product.packageName,
|
|
82635
|
+
package_version: input.product.packageVersion,
|
|
82636
|
+
runtime: "bun",
|
|
82637
|
+
runtime_version: process.versions.bun ?? process.version,
|
|
82638
|
+
source: input.source,
|
|
82639
|
+
$os: osProvider.platform(),
|
|
82640
|
+
$os_version: osProvider.release(),
|
|
82641
|
+
os_arch: osProvider.arch(),
|
|
82642
|
+
os_type: osProvider.type(),
|
|
82643
|
+
cpu_count: cpuInfo.count,
|
|
82644
|
+
cpu_model: cpuInfo.model,
|
|
82645
|
+
total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
|
|
82646
|
+
locale: Intl.DateTimeFormat().resolvedOptions().locale,
|
|
82647
|
+
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
82648
|
+
shell: process.env.SHELL,
|
|
82649
|
+
ci: Boolean(process.env.CI),
|
|
82650
|
+
terminal: process.env.TERM_PROGRAM,
|
|
82651
|
+
...input.product.additionalProperties
|
|
82652
|
+
};
|
|
82653
|
+
}
|
|
82654
|
+
function getSafeCpuInfo(osProvider, input) {
|
|
82655
|
+
try {
|
|
82656
|
+
const cpuInfo = osProvider.cpus();
|
|
82657
|
+
return {
|
|
82658
|
+
count: cpuInfo.length,
|
|
82659
|
+
model: cpuInfo[0]?.model
|
|
82660
|
+
};
|
|
82661
|
+
} catch (error) {
|
|
82662
|
+
input.diagnostics?.({
|
|
82663
|
+
event: "telemetry_cpu_info_unavailable",
|
|
82664
|
+
source: "shared",
|
|
82665
|
+
error,
|
|
82666
|
+
errorKind: error instanceof Error ? "error" : "non_error"
|
|
82667
|
+
});
|
|
82668
|
+
return {
|
|
82669
|
+
count: 0,
|
|
82670
|
+
model: undefined
|
|
82671
|
+
};
|
|
82672
|
+
}
|
|
82673
|
+
}
|
|
82674
|
+
var NO_OP_CLIENT;
|
|
82675
|
+
var init_injected_client = __esm(() => {
|
|
82676
|
+
init_env();
|
|
82677
|
+
init_machine_id();
|
|
82678
|
+
NO_OP_CLIENT = {
|
|
82679
|
+
enabled: false,
|
|
82680
|
+
trackActive: () => {
|
|
82681
|
+
return;
|
|
82682
|
+
},
|
|
82683
|
+
flush: async () => {
|
|
82684
|
+
return;
|
|
82685
|
+
},
|
|
82686
|
+
shutdown: async () => {
|
|
82687
|
+
return;
|
|
82688
|
+
}
|
|
82689
|
+
};
|
|
82690
|
+
});
|
|
82691
|
+
|
|
82526
82692
|
// node_modules/.bun/posthog-node@5.52.4/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
82527
82693
|
import { dirname as dirname18, posix as posix7, sep as sep7 } from "path";
|
|
82528
82694
|
function createModulerModifier() {
|
|
@@ -91896,18 +92062,7 @@ var init_index_node = __esm(() => {
|
|
|
91896
92062
|
};
|
|
91897
92063
|
});
|
|
91898
92064
|
|
|
91899
|
-
// packages/telemetry-core/src/
|
|
91900
|
-
import { createHash as createHash5 } from "crypto";
|
|
91901
|
-
import os4 from "os";
|
|
91902
|
-
function getDefaultTelemetryOsProvider() {
|
|
91903
|
-
return os4;
|
|
91904
|
-
}
|
|
91905
|
-
function getTelemetryDistinctId(machineIdPrefix, osProvider = getDefaultTelemetryOsProvider()) {
|
|
91906
|
-
return createHash5("sha256").update(`${machineIdPrefix}${osProvider.hostname()}`).digest("hex");
|
|
91907
|
-
}
|
|
91908
|
-
var init_machine_id = () => {};
|
|
91909
|
-
|
|
91910
|
-
// packages/telemetry-core/src/posthog-client.ts
|
|
92065
|
+
// packages/telemetry-core/src/posthog-transport.ts
|
|
91911
92066
|
class PostHogTelemetryTransport {
|
|
91912
92067
|
#client;
|
|
91913
92068
|
constructor(apiKey, options) {
|
|
@@ -91926,161 +92081,21 @@ class PostHogTelemetryTransport {
|
|
|
91926
92081
|
function createDefaultPostHogTransport(apiKey, options) {
|
|
91927
92082
|
return new PostHogTelemetryTransport(apiKey, options);
|
|
91928
92083
|
}
|
|
91929
|
-
|
|
91930
|
-
const env = input.env ?? process.env;
|
|
91931
|
-
return !shouldDisableTelemetry({ env, productEnvPrefix: input.product.productEnvPrefix }) && hasTelemetryApiKey(env, input.product.defaultApiKey);
|
|
91932
|
-
}
|
|
91933
|
-
function createTelemetryClient(input) {
|
|
91934
|
-
if (!isTelemetryClientEnabled(input)) {
|
|
91935
|
-
return NO_OP_CLIENT;
|
|
91936
|
-
}
|
|
91937
|
-
const transport = createTransport(input);
|
|
91938
|
-
if (transport === null) {
|
|
91939
|
-
return NO_OP_CLIENT;
|
|
91940
|
-
}
|
|
91941
|
-
const sharedProperties = getSharedProperties(input);
|
|
91942
|
-
return {
|
|
91943
|
-
enabled: true,
|
|
91944
|
-
trackActive: ({ dayUTC, distinctId, reason }) => {
|
|
91945
|
-
try {
|
|
91946
|
-
transport.capture({
|
|
91947
|
-
distinctId,
|
|
91948
|
-
event: input.product.eventName,
|
|
91949
|
-
properties: {
|
|
91950
|
-
...sharedProperties,
|
|
91951
|
-
$process_person_profile: false,
|
|
91952
|
-
day_utc: dayUTC,
|
|
91953
|
-
reason
|
|
91954
|
-
}
|
|
91955
|
-
});
|
|
91956
|
-
} catch (error) {
|
|
91957
|
-
input.diagnostics?.({
|
|
91958
|
-
event: "telemetry_capture_failed",
|
|
91959
|
-
source: input.source,
|
|
91960
|
-
error,
|
|
91961
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
91962
|
-
});
|
|
91963
|
-
}
|
|
91964
|
-
},
|
|
91965
|
-
flush: async () => {
|
|
91966
|
-
if (transport.flush === undefined) {
|
|
91967
|
-
return;
|
|
91968
|
-
}
|
|
91969
|
-
await transport.flush();
|
|
91970
|
-
},
|
|
91971
|
-
shutdown: async () => {
|
|
91972
|
-
try {
|
|
91973
|
-
await transport.shutdown();
|
|
91974
|
-
} catch (error) {
|
|
91975
|
-
input.diagnostics?.({
|
|
91976
|
-
event: "telemetry_shutdown_failed",
|
|
91977
|
-
source: input.source,
|
|
91978
|
-
error,
|
|
91979
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
91980
|
-
});
|
|
91981
|
-
}
|
|
91982
|
-
}
|
|
91983
|
-
};
|
|
91984
|
-
}
|
|
91985
|
-
function createTransport(input) {
|
|
91986
|
-
const env = input.env ?? process.env;
|
|
91987
|
-
const factory = input.transportFactory ?? createDefaultPostHogTransport;
|
|
91988
|
-
try {
|
|
91989
|
-
return factory(getTelemetryApiKey(env, input.product.defaultApiKey), {
|
|
91990
|
-
enableExceptionAutocapture: false,
|
|
91991
|
-
enableLocalEvaluation: false,
|
|
91992
|
-
strictLocalEvaluation: true,
|
|
91993
|
-
disableRemoteConfig: true,
|
|
91994
|
-
flushAt: 1,
|
|
91995
|
-
flushInterval: 0,
|
|
91996
|
-
host: getTelemetryHost(env, input.product.defaultHost),
|
|
91997
|
-
disableGeoip: input.product.disableGeoip ?? false,
|
|
91998
|
-
...input.product.transportOptions
|
|
91999
|
-
});
|
|
92000
|
-
} catch (error) {
|
|
92001
|
-
input.diagnostics?.({
|
|
92002
|
-
event: "telemetry_posthog_init_failed",
|
|
92003
|
-
source: input.source,
|
|
92004
|
-
error,
|
|
92005
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92006
|
-
});
|
|
92007
|
-
return null;
|
|
92008
|
-
}
|
|
92009
|
-
}
|
|
92010
|
-
function getSharedProperties(input) {
|
|
92011
|
-
const osProvider = input.osProvider ?? getDefaultTelemetryOsProvider();
|
|
92012
|
-
const cpuInfo = getSafeCpuInfo(osProvider, input);
|
|
92013
|
-
return {
|
|
92014
|
-
platform: input.product.platform,
|
|
92015
|
-
product_name: input.product.productName,
|
|
92016
|
-
package_name: input.product.packageName,
|
|
92017
|
-
package_version: input.product.packageVersion,
|
|
92018
|
-
runtime: "bun",
|
|
92019
|
-
runtime_version: process.versions.bun ?? process.version,
|
|
92020
|
-
source: input.source,
|
|
92021
|
-
$os: osProvider.platform(),
|
|
92022
|
-
$os_version: osProvider.release(),
|
|
92023
|
-
os_arch: osProvider.arch(),
|
|
92024
|
-
os_type: osProvider.type(),
|
|
92025
|
-
cpu_count: cpuInfo.count,
|
|
92026
|
-
cpu_model: cpuInfo.model,
|
|
92027
|
-
total_memory_gb: Math.round(osProvider.totalmem() / 1024 / 1024 / 1024),
|
|
92028
|
-
locale: Intl.DateTimeFormat().resolvedOptions().locale,
|
|
92029
|
-
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
92030
|
-
shell: process.env.SHELL,
|
|
92031
|
-
ci: Boolean(process.env.CI),
|
|
92032
|
-
terminal: process.env.TERM_PROGRAM,
|
|
92033
|
-
...input.product.additionalProperties
|
|
92034
|
-
};
|
|
92035
|
-
}
|
|
92036
|
-
function getSafeCpuInfo(osProvider, input) {
|
|
92037
|
-
try {
|
|
92038
|
-
const cpuInfo = osProvider.cpus();
|
|
92039
|
-
return {
|
|
92040
|
-
count: cpuInfo.length,
|
|
92041
|
-
model: cpuInfo[0]?.model
|
|
92042
|
-
};
|
|
92043
|
-
} catch (error) {
|
|
92044
|
-
input.diagnostics?.({
|
|
92045
|
-
event: "telemetry_cpu_info_unavailable",
|
|
92046
|
-
source: "shared",
|
|
92047
|
-
error,
|
|
92048
|
-
errorKind: error instanceof Error ? "error" : "non_error"
|
|
92049
|
-
});
|
|
92050
|
-
return {
|
|
92051
|
-
count: 0,
|
|
92052
|
-
model: undefined
|
|
92053
|
-
};
|
|
92054
|
-
}
|
|
92055
|
-
}
|
|
92056
|
-
var NO_OP_CLIENT;
|
|
92057
|
-
var init_posthog_client = __esm(() => {
|
|
92084
|
+
var init_posthog_transport = __esm(() => {
|
|
92058
92085
|
init_index_node();
|
|
92059
|
-
init_env();
|
|
92060
|
-
init_machine_id();
|
|
92061
|
-
NO_OP_CLIENT = {
|
|
92062
|
-
enabled: false,
|
|
92063
|
-
trackActive: () => {
|
|
92064
|
-
return;
|
|
92065
|
-
},
|
|
92066
|
-
flush: async () => {
|
|
92067
|
-
return;
|
|
92068
|
-
},
|
|
92069
|
-
shutdown: async () => {
|
|
92070
|
-
return;
|
|
92071
|
-
}
|
|
92072
|
-
};
|
|
92073
92086
|
});
|
|
92074
92087
|
|
|
92075
92088
|
// packages/telemetry-core/src/events.ts
|
|
92076
|
-
var
|
|
92077
|
-
|
|
92078
|
-
|
|
92079
|
-
|
|
92080
|
-
|
|
92081
|
-
|
|
92082
|
-
|
|
92083
|
-
|
|
92089
|
+
var init_events = () => {};
|
|
92090
|
+
|
|
92091
|
+
// packages/telemetry-core/src/posthog-client.ts
|
|
92092
|
+
function createTelemetryClient2(input) {
|
|
92093
|
+
return createTelemetryClient({ ...input, transportFactory: input.transportFactory ?? createDefaultPostHogTransport });
|
|
92094
|
+
}
|
|
92095
|
+
var init_posthog_client = __esm(() => {
|
|
92096
|
+
init_injected_client();
|
|
92097
|
+
init_posthog_transport();
|
|
92098
|
+
init_posthog_transport();
|
|
92084
92099
|
});
|
|
92085
92100
|
|
|
92086
92101
|
// packages/telemetry-core/src/record-daily-active.ts
|
|
@@ -92104,7 +92119,7 @@ var package_default2;
|
|
|
92104
92119
|
var init_package2 = __esm(() => {
|
|
92105
92120
|
package_default2 = {
|
|
92106
92121
|
name: "@oh-my-opencode/omo-codex",
|
|
92107
|
-
version: "5.1.
|
|
92122
|
+
version: "5.1.40",
|
|
92108
92123
|
type: "module",
|
|
92109
92124
|
private: true,
|
|
92110
92125
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -92139,7 +92154,7 @@ var init_package2 = __esm(() => {
|
|
|
92139
92154
|
"@oh-my-opencode/utils": "workspace:*"
|
|
92140
92155
|
},
|
|
92141
92156
|
devDependencies: {
|
|
92142
|
-
"bun-types": "1.4.
|
|
92157
|
+
"bun-types": "1.4.3"
|
|
92143
92158
|
}
|
|
92144
92159
|
};
|
|
92145
92160
|
});
|
|
@@ -92234,7 +92249,7 @@ function resolveActivityStateProvider(options) {
|
|
|
92234
92249
|
return () => getPostHogActivityCaptureState(options.now ?? new Date);
|
|
92235
92250
|
}
|
|
92236
92251
|
function createPostHogClient(source, options = {}) {
|
|
92237
|
-
const client =
|
|
92252
|
+
const client = createTelemetryClient2({
|
|
92238
92253
|
diagnostics: writeTelemetryDiagnostic2,
|
|
92239
92254
|
env: options.env ?? process.env,
|
|
92240
92255
|
osProvider: options.osProvider ?? resolveOsProvider(),
|
|
@@ -99403,6 +99418,12 @@ var REQUIRED_PLUGIN_ARTIFACTS = [
|
|
|
99403
99418
|
join63("extensions", "omo-memory-doctor.js"),
|
|
99404
99419
|
join63("extensions", "omo-memory-memfs.js"),
|
|
99405
99420
|
join63("extensions", "omo-memory-palace.js"),
|
|
99421
|
+
join63("extensions", "omo-session-history.js"),
|
|
99422
|
+
join63("extensions", "omo-recall-store.js"),
|
|
99423
|
+
join63("extensions", "omo-telemetry-posthog.js"),
|
|
99424
|
+
join63("extensions", "omo-memory-sync.js"),
|
|
99425
|
+
join63("extensions", "loro_wasm_bg.wasm"),
|
|
99426
|
+
join63("extensions", "CaseFolding.txt"),
|
|
99406
99427
|
join63("extensions", "omo-thread-client.js"),
|
|
99407
99428
|
join63("extensions", "assets.generated.json"),
|
|
99408
99429
|
join63("extensions", "omo-member.js"),
|
|
@@ -103732,21 +103753,21 @@ var GoalConfigSchema = object({
|
|
|
103732
103753
|
});
|
|
103733
103754
|
// packages/skills-loader-core/src/config/git-env-prefix.ts
|
|
103734
103755
|
init_zod();
|
|
103735
|
-
var
|
|
103756
|
+
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_-]*)*$/;
|
|
103736
103757
|
var GIT_ENV_PREFIX_VALIDATION_MESSAGE = 'git_env_prefix must be empty or use shell-safe env assignments like "GIT_MASTER=1"';
|
|
103737
103758
|
function isValidGitEnvPrefix(value) {
|
|
103738
103759
|
if (value === "") {
|
|
103739
103760
|
return true;
|
|
103740
103761
|
}
|
|
103741
|
-
return
|
|
103762
|
+
return GIT_ENV_ASSIGNMENT_PATTERN2.test(value);
|
|
103742
103763
|
}
|
|
103743
|
-
var
|
|
103764
|
+
var GitEnvPrefixSchema2 = string2().refine(isValidGitEnvPrefix, { message: GIT_ENV_PREFIX_VALIDATION_MESSAGE }).default("GIT_MASTER=1");
|
|
103744
103765
|
// packages/omo-opencode/src/config/schema/git-master.ts
|
|
103745
103766
|
init_zod();
|
|
103746
103767
|
var GitMasterConfigSchema = object({
|
|
103747
103768
|
commit_footer: union([boolean2(), string2()]).default(false),
|
|
103748
103769
|
include_co_authored_by: boolean2().default(false),
|
|
103749
|
-
git_env_prefix:
|
|
103770
|
+
git_env_prefix: GitEnvPrefixSchema2
|
|
103750
103771
|
});
|
|
103751
103772
|
// packages/omo-opencode/src/config/schema/hooks.ts
|
|
103752
103773
|
init_zod();
|
|
@@ -106012,7 +106033,7 @@ function createPostHogClient2(source, options = {}) {
|
|
|
106012
106033
|
if (shouldDisablePostHog(env, options.configEnabled)) {
|
|
106013
106034
|
return NO_OP_POSTHOG2;
|
|
106014
106035
|
}
|
|
106015
|
-
const client =
|
|
106036
|
+
const client = createTelemetryClient2({
|
|
106016
106037
|
diagnostics: logTelemetryDiagnostic,
|
|
106017
106038
|
env: createCoreCompatibleTelemetryEnv(env),
|
|
106018
106039
|
osProvider: resolveOsProvider2(),
|
|
@@ -108478,6 +108499,7 @@ var package_default3 = {
|
|
|
108478
108499
|
"@oh-my-opencode/utils": "workspace:*",
|
|
108479
108500
|
"@opencode-ai/plugin": "1.18.31",
|
|
108480
108501
|
"@opencode-ai/sdk": "1.18.31",
|
|
108502
|
+
"@opencode/plugin": "2.0.32",
|
|
108481
108503
|
commander: "^15.0.0",
|
|
108482
108504
|
"jsonc-parser": "^3.3.1",
|
|
108483
108505
|
picocolors: "^1.1.1",
|