oh-my-opencode 4.15.1 → 4.16.1
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/.agents/skills/codex-qa/SKILL.md +9 -7
- package/.agents/skills/codex-qa/references/logging-debug.md +6 -4
- package/.agents/skills/opencode-qa/SKILL.md +9 -9
- package/.agents/skills/opencode-qa/references/tui-tmux.md +10 -8
- package/dist/cli/codex-ulw-loop.d.ts +8 -0
- package/dist/cli/doctor/checks/tui-plugin-config.d.ts +4 -4
- package/dist/cli/get-local-version/types.d.ts +1 -1
- package/dist/cli/index.js +792 -744
- package/dist/cli/install-senpi/index.d.ts +1 -0
- package/dist/cli/run/poll-for-completion.d.ts +4 -0
- package/dist/cli/run/session-resolver.d.ts +1 -0
- package/dist/cli/senpi-platform-flag.d.ts +4 -0
- package/dist/cli/types.d.ts +2 -1
- package/dist/cli-node/index.js +792 -744
- package/dist/features/background-agent/manager.d.ts +16 -0
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
- package/dist/features/monitor/process.d.ts +17 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/aggressive-truncation-strategy.d.ts +1 -0
- package/dist/index.js +2206 -1971
- package/dist/skills/debugging/references/methodology/06-fix.md +6 -0
- package/dist/skills/frontend/ATTRIBUTION.md +10 -1
- package/dist/skills/frontend/SKILL.md +12 -7
- package/dist/skills/frontend/references/design/README.md +8 -4
- package/dist/skills/frontend/references/design/_INDEX.md +2 -2
- package/dist/skills/frontend/references/design/design-system-architecture.md +24 -2
- package/dist/skills/frontend/references/design/lazyweb.md +77 -0
- package/dist/skills/frontend/references/design/stitch-design-example.md +121 -0
- package/dist/skills/frontend/references/designpowers/README.md +2 -2
- package/dist/skills/frontend/references/designpowers/lane-b-execution.md +1 -1
- package/dist/skills/programming/SKILL.md +10 -1
- package/dist/skills/programming/references/logging.md +91 -0
- package/dist/skills/start-work/SKILL.md +2 -2
- package/dist/skills/ulw-plan/SKILL.md +5 -5
- package/dist/skills/ulw-plan/references/full-workflow.md +7 -7
- package/dist/skills/ulw-plan/references/intent-unclear.md +3 -3
- package/dist/skills/ulw-research/ATTRIBUTION.md +2 -2
- package/dist/skills/ulw-research/SKILL.md +28 -7
- package/dist/skills/visual-qa/SKILL.md +13 -17
- package/dist/tools/skill/description-formatter.d.ts +1 -0
- package/dist/tools/skill/description-formatter.test-support.d.ts +9 -0
- package/dist/tools/skill/zauc-mocks-skill-tools/test-support.d.ts +25 -0
- package/dist/tui.js +121 -419
- package/docs/reference/web-terminal-visual-qa.md +39 -45
- package/package.json +48 -25
- package/packages/git-bash-mcp/dist/cli.js +2 -2
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/AGENTS.md +55 -0
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +19 -16
- 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/codegraph/AGENTS.md +51 -0
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +936 -248
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +233 -135
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/src/cache-gc.ts +29 -0
- package/packages/omo-codex/plugin/components/codegraph/src/cli.ts +13 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook-sweep.ts +25 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +3 -1
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +30 -1
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +16 -2
- package/packages/omo-codex/plugin/components/codegraph/src/sweep-cli.ts +80 -0
- package/packages/omo-codex/plugin/components/codegraph/test/cache-gc.test.ts +34 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +107 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-registration.test.ts +26 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-sweep.test.ts +29 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +8 -21
- package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +108 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve-built-wrapper.test.ts +76 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +17 -111
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +45 -67
- package/packages/omo-codex/plugin/components/codegraph/test/sweep-cli.test.ts +56 -0
- 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/AGENTS.md +31 -0
- 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/AGENTS.md +45 -0
- 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/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/bundled-rules/hephaestus.md +37 -102
- 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/start-work-continuation/directive.md +2 -2
- package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/AGENTS.md +46 -0
- 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 +6 -0
- package/packages/omo-codex/plugin/components/telemetry/dist/posthog.js +6 -0
- 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/AGENTS.md +5 -2
- package/packages/omo-codex/plugin/components/ultrawork/CHANGELOG.md +2 -0
- package/packages/omo-codex/plugin/components/ultrawork/README.md +3 -3
- package/packages/omo-codex/plugin/components/ultrawork/directive.md +18 -10
- package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +51 -2
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +2 -1
- package/packages/omo-codex/plugin/components/ultrawork/scripts/sync-directive.mjs +14 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ultrawork/SKILL.md +388 -0
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +16 -2
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +4 -4
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/intent-unclear.md +2 -2
- package/packages/omo-codex/plugin/components/ultrawork/src/codex-hook.ts +5 -3
- package/packages/omo-codex/plugin/components/ultrawork/src/skill-pointer.ts +56 -0
- package/packages/omo-codex/plugin/components/ultrawork/test/codex-hook.test.ts +26 -5
- package/packages/omo-codex/plugin/components/ultrawork/test/directive-source.test.ts +12 -0
- package/packages/omo-codex/plugin/components/ultrawork/test/package-smoke.test.ts +1 -0
- package/packages/omo-codex/plugin/components/ultrawork/test/skill-pointer.test.ts +82 -0
- package/packages/omo-codex/plugin/components/ulw-loop/CHANGELOG.md +5 -0
- package/packages/omo-codex/plugin/components/ulw-loop/directive.md +18 -10
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-commands.js +15 -2
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-steering.js +2 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +145 -32
- package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-hook.d.ts +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-hook.js +5 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/plan-io.d.ts +6 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/plan-io.js +55 -9
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-snapshot.d.ts +15 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-snapshot.js +33 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-types.d.ts +10 -3
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering.js +15 -11
- package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-directive.d.ts +2 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-directive.js +5 -3
- package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-skill-pointer.d.ts +7 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-skill-pointer.js +46 -0
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +7 -7
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-commands.ts +17 -2
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-steering.ts +2 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/codex-hook.ts +5 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/plan-io.ts +59 -11
- package/packages/omo-codex/plugin/components/ulw-loop/src/steering-snapshot.ts +38 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/steering-types.ts +11 -3
- package/packages/omo-codex/plugin/components/ulw-loop/src/steering.ts +15 -7
- package/packages/omo-codex/plugin/components/ulw-loop/src/ultrawork-directive.ts +9 -3
- package/packages/omo-codex/plugin/components/ulw-loop/src/ultrawork-skill-pointer.ts +55 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/cli-create-goals.test.ts +16 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/plan-io.test.ts +260 -2
- package/packages/omo-codex/plugin/components/ulw-loop/test/steering-snapshot.test.ts +124 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/steering.test.ts +101 -2
- package/packages/omo-codex/plugin/components/ulw-loop/test/ultrawork-directive.test.ts +49 -0
- 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-codegraph-init-guidance.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/pre-tool-use-enforcing-unlimited-goal-budget.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-checking-codegraph-bootstrap.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-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.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 +13 -13
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/scripts/build-components.mjs +63 -17
- package/packages/omo-codex/plugin/scripts/hook-status-message.mjs +10 -6
- package/packages/omo-codex/plugin/scripts/materialize-shared-upstreams.mjs +10 -3
- package/packages/omo-codex/plugin/scripts/sync-skills.mjs +1 -0
- package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +18 -0
- package/packages/omo-codex/plugin/skills/debugging/references/methodology/06-fix.md +6 -0
- package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +10 -1
- package/packages/omo-codex/plugin/skills/frontend/SKILL.md +12 -7
- package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +8 -4
- package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +2 -2
- package/packages/omo-codex/plugin/skills/frontend/references/design/design-system-architecture.md +24 -2
- package/packages/omo-codex/plugin/skills/frontend/references/design/lazyweb.md +77 -0
- package/packages/omo-codex/plugin/skills/frontend/references/design/stitch-design-example.md +121 -0
- package/packages/omo-codex/plugin/skills/frontend/references/designpowers/README.md +2 -2
- package/packages/omo-codex/plugin/skills/frontend/references/designpowers/lane-b-execution.md +1 -1
- package/packages/omo-codex/plugin/skills/programming/SKILL.md +10 -1
- package/packages/omo-codex/plugin/skills/programming/references/logging.md +91 -0
- package/packages/omo-codex/plugin/skills/start-work/SKILL.md +2 -2
- package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +388 -0
- package/packages/omo-codex/plugin/skills/ultrawork/agents/openai.yaml +2 -0
- package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +7 -7
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +16 -2
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +4 -4
- package/packages/omo-codex/plugin/skills/ulw-plan/references/intent-unclear.md +2 -2
- package/packages/omo-codex/plugin/skills/ulw-research/ATTRIBUTION.md +2 -2
- package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +28 -7
- package/packages/omo-codex/plugin/skills/visual-qa/SKILL.md +13 -17
- package/packages/omo-codex/plugin/test/aggregate-hooks.test.mjs +4 -4
- package/packages/omo-codex/plugin/test/bootstrap-hooks.test.mjs +1 -1
- package/packages/omo-codex/plugin/test/hook-status-message.test.mjs +22 -9
- package/packages/omo-codex/plugin/test/install-time-build-runtime.test.mjs +1 -1
- package/packages/omo-codex/plugin/test/sync-hook-status-messages.test.mjs +6 -6
- package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +2 -0
- package/packages/omo-codex/plugin/test/ultrawork-skill-pointer.test.mjs +56 -0
- package/packages/omo-codex/plugin/test/ulw-plan-skill-contract.test.mjs +52 -0
- package/packages/omo-codex/plugin/test/ulw-research-epistemic-contract.test.mjs +98 -0
- package/packages/omo-codex/plugin/test/ulw-research-skill-contract.test.mjs +6 -6
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +310 -3979
- package/packages/omo-codex/scripts/install-lazycodex-version-stamp.test.mjs +2 -2
- package/packages/shared-skills/skills/debugging/references/methodology/06-fix.md +6 -0
- package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +10 -1
- package/packages/shared-skills/skills/frontend/SKILL.md +12 -7
- package/packages/shared-skills/skills/frontend/references/design/README.md +8 -4
- package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +2 -2
- package/packages/shared-skills/skills/frontend/references/design/design-system-architecture.md +24 -2
- package/packages/shared-skills/skills/frontend/references/design/lazyweb.md +77 -0
- package/packages/shared-skills/skills/frontend/references/design/stitch-design-example.md +121 -0
- package/packages/shared-skills/skills/frontend/references/designpowers/README.md +2 -2
- package/packages/shared-skills/skills/frontend/references/designpowers/lane-b-execution.md +1 -1
- package/packages/shared-skills/skills/programming/SKILL.md +10 -1
- package/packages/shared-skills/skills/programming/references/logging.md +91 -0
- package/packages/shared-skills/skills/start-work/SKILL.md +2 -2
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +5 -5
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +7 -7
- package/packages/shared-skills/skills/ulw-plan/references/intent-unclear.md +3 -3
- package/packages/shared-skills/skills/ulw-research/ATTRIBUTION.md +2 -2
- package/packages/shared-skills/skills/ulw-research/SKILL.md +28 -7
- package/packages/shared-skills/skills/visual-qa/SKILL.md +13 -17
- package/script/qa/strip-ansi.mjs +10 -0
- package/script/qa/web-terminal-visual-qa.mjs +112 -195
- package/script/qa/xterm-live-terminal.mjs +180 -0
- package/script/qa/web-terminal-renderer.mjs +0 -218
package/dist/tui.js
CHANGED
|
@@ -154,14 +154,10 @@ var init_config_section_parser = __esm(() => {
|
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
// packages/utils/src/env-expansion.ts
|
|
157
|
-
var init_env_expansion =
|
|
158
|
-
init_deep_merge();
|
|
159
|
-
});
|
|
157
|
+
var init_env_expansion = () => {};
|
|
160
158
|
|
|
161
159
|
// packages/utils/src/snake-case.ts
|
|
162
|
-
var init_snake_case =
|
|
163
|
-
init_deep_merge();
|
|
164
|
-
});
|
|
160
|
+
var init_snake_case = () => {};
|
|
165
161
|
|
|
166
162
|
// packages/utils/src/record-type-guard.ts
|
|
167
163
|
function isRecord(value) {
|
|
@@ -170,6 +166,7 @@ function isRecord(value) {
|
|
|
170
166
|
function isPlainRecord(value) {
|
|
171
167
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
172
168
|
}
|
|
169
|
+
|
|
173
170
|
// node_modules/.bun/js-yaml@4.2.0/node_modules/js-yaml/dist/js-yaml.mjs
|
|
174
171
|
var __create2, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf2, __hasOwnProp2, __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports), __copyProps = (to, from, except, desc) => {
|
|
175
172
|
if (from && typeof from === "object" || typeof from === "function")
|
|
@@ -2971,6 +2968,7 @@ var init_port_utils = () => {};
|
|
|
2971
2968
|
|
|
2972
2969
|
// packages/utils/src/tool-name.ts
|
|
2973
2970
|
var init_tool_name = () => {};
|
|
2971
|
+
|
|
2974
2972
|
// node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/scanner.js
|
|
2975
2973
|
function createScanner(text, ignoreTrivia = false) {
|
|
2976
2974
|
const len = text.length;
|
|
@@ -4110,27 +4108,13 @@ function log(message, data) {
|
|
|
4110
4108
|
var sharedSubunitLogger = () => {};
|
|
4111
4109
|
|
|
4112
4110
|
// packages/utils/src/omo-config.ts
|
|
4113
|
-
var
|
|
4114
|
-
var init_omo_config = __esm(() => {
|
|
4115
|
-
HARNESS_IDS = ["codex", "opencode", "omo"];
|
|
4116
|
-
});
|
|
4117
|
-
|
|
4118
|
-
// packages/utils/src/omo-config/env-overrides.ts
|
|
4119
|
-
var init_env_overrides = () => {};
|
|
4111
|
+
var init_omo_config = () => {};
|
|
4120
4112
|
|
|
4121
4113
|
// packages/utils/src/omo-config/resolve.ts
|
|
4122
4114
|
var init_resolve = () => {};
|
|
4123
4115
|
|
|
4124
4116
|
// packages/utils/src/omo-config/loader.ts
|
|
4125
|
-
var
|
|
4126
|
-
var init_loader = __esm(() => {
|
|
4127
|
-
init_deep_merge();
|
|
4128
|
-
init_jsonc_parser();
|
|
4129
|
-
init_omo_config();
|
|
4130
|
-
init_env_overrides();
|
|
4131
|
-
init_resolve();
|
|
4132
|
-
HARNESS_BLOCK_KEYS = HARNESS_IDS.map((harness) => `[${harness}]`);
|
|
4133
|
-
});
|
|
4117
|
+
var init_loader = () => {};
|
|
4134
4118
|
|
|
4135
4119
|
// packages/utils/src/archive-entry-validator.ts
|
|
4136
4120
|
var init_archive_entry_validator = () => {};
|
|
@@ -4139,19 +4123,13 @@ var init_archive_entry_validator = () => {};
|
|
|
4139
4123
|
var init_sg_manifest = () => {};
|
|
4140
4124
|
|
|
4141
4125
|
// packages/utils/src/ast-grep/sg-provisioner.ts
|
|
4142
|
-
var init_sg_provisioner =
|
|
4143
|
-
|
|
4144
|
-
});
|
|
4126
|
+
var init_sg_provisioner = () => {};
|
|
4127
|
+
|
|
4145
4128
|
// packages/utils/src/ast-grep/sg-resolver.ts
|
|
4146
|
-
var init_sg_resolver =
|
|
4147
|
-
init_which();
|
|
4148
|
-
init_sg_manifest();
|
|
4149
|
-
});
|
|
4129
|
+
var init_sg_resolver = () => {};
|
|
4150
4130
|
|
|
4151
4131
|
// packages/utils/src/ast-grep/install-script.ts
|
|
4152
|
-
var init_install_script =
|
|
4153
|
-
init_sg_manifest();
|
|
4154
|
-
});
|
|
4132
|
+
var init_install_script = () => {};
|
|
4155
4133
|
|
|
4156
4134
|
// packages/utils/src/ast-grep/index.ts
|
|
4157
4135
|
var init_ast_grep = __esm(() => {
|
|
@@ -4194,6 +4172,7 @@ var init_env = __esm(() => {
|
|
|
4194
4172
|
"CODEGRAPH_ALLOW_UNSAFE_NODE",
|
|
4195
4173
|
"CODEGRAPH_BIN",
|
|
4196
4174
|
"CODEGRAPH_FAKE_LOG",
|
|
4175
|
+
"CODEGRAPH_NO_DAEMON",
|
|
4197
4176
|
"CODEGRAPH_NODE_BIN",
|
|
4198
4177
|
"OMO_CODEGRAPH_BIN",
|
|
4199
4178
|
"OMO_CODEGRAPH_PROJECT_CWD",
|
|
@@ -4205,26 +4184,23 @@ var init_env = __esm(() => {
|
|
|
4205
4184
|
var init_workspace = () => {};
|
|
4206
4185
|
|
|
4207
4186
|
// packages/utils/src/codegraph/guidance.ts
|
|
4208
|
-
var init_guidance =
|
|
4209
|
-
init_workspace();
|
|
4210
|
-
});
|
|
4211
|
-
// packages/utils/src/codegraph/manifest.ts
|
|
4212
|
-
var init_manifest = () => {};
|
|
4187
|
+
var init_guidance = () => {};
|
|
4213
4188
|
|
|
4214
4189
|
// packages/utils/src/codegraph/provision.ts
|
|
4215
4190
|
import { execFile } from "child_process";
|
|
4216
4191
|
import { promisify } from "util";
|
|
4217
4192
|
var execFileAsync;
|
|
4218
4193
|
var init_provision = __esm(() => {
|
|
4219
|
-
init_manifest();
|
|
4220
4194
|
execFileAsync = promisify(execFile);
|
|
4221
4195
|
});
|
|
4222
4196
|
|
|
4197
|
+
// packages/utils/src/codegraph/process-sweep.ts
|
|
4198
|
+
var init_process_sweep = () => {};
|
|
4199
|
+
|
|
4223
4200
|
// packages/utils/src/codegraph/resolve.ts
|
|
4224
4201
|
import { createRequire } from "module";
|
|
4225
4202
|
var requireFromHere;
|
|
4226
4203
|
var init_resolve2 = __esm(() => {
|
|
4227
|
-
init_which();
|
|
4228
4204
|
requireFromHere = createRequire(import.meta.url);
|
|
4229
4205
|
});
|
|
4230
4206
|
|
|
@@ -4233,56 +4209,16 @@ var init_codegraph = __esm(() => {
|
|
|
4233
4209
|
init_env();
|
|
4234
4210
|
init_guidance();
|
|
4235
4211
|
init_provision();
|
|
4212
|
+
init_process_sweep();
|
|
4236
4213
|
init_resolve2();
|
|
4237
4214
|
init_workspace();
|
|
4238
4215
|
});
|
|
4239
4216
|
|
|
4240
|
-
// packages/utils/src/command-executor/home-directory.ts
|
|
4241
|
-
var init_home_directory = () => {};
|
|
4242
|
-
|
|
4243
|
-
// packages/utils/src/command-executor/shell-path.ts
|
|
4244
|
-
var init_shell_path = () => {};
|
|
4245
|
-
|
|
4246
|
-
// packages/utils/src/command-executor/execute-hook-command.ts
|
|
4247
|
-
var init_execute_hook_command = __esm(() => {
|
|
4248
|
-
init_home_directory();
|
|
4249
|
-
init_shell_path();
|
|
4250
|
-
});
|
|
4251
|
-
|
|
4252
|
-
// packages/utils/src/command-executor/execute-command.ts
|
|
4253
|
-
import { exec } from "child_process";
|
|
4254
|
-
import { promisify as promisify2 } from "util";
|
|
4255
|
-
var execAsync;
|
|
4256
|
-
var init_execute_command = __esm(() => {
|
|
4257
|
-
execAsync = promisify2(exec);
|
|
4258
|
-
});
|
|
4259
|
-
|
|
4260
|
-
// packages/utils/src/command-executor/embedded-commands.ts
|
|
4261
|
-
var init_embedded_commands = () => {};
|
|
4262
|
-
|
|
4263
|
-
// packages/utils/src/command-executor/resolve-commands-in-text.ts
|
|
4264
|
-
var init_resolve_commands_in_text = __esm(() => {
|
|
4265
|
-
init_execute_command();
|
|
4266
|
-
init_embedded_commands();
|
|
4267
|
-
});
|
|
4268
|
-
|
|
4269
4217
|
// packages/utils/src/command-executor.ts
|
|
4270
|
-
var init_command_executor =
|
|
4271
|
-
|
|
4272
|
-
init_execute_command();
|
|
4273
|
-
init_resolve_commands_in_text();
|
|
4274
|
-
});
|
|
4275
|
-
// packages/utils/src/git-worktree/parse-status-porcelain.ts
|
|
4276
|
-
var init_parse_status_porcelain = () => {};
|
|
4277
|
-
// packages/utils/src/git-worktree/collect-git-diff-stats.ts
|
|
4278
|
-
var init_collect_git_diff_stats = __esm(() => {
|
|
4279
|
-
init_parse_status_porcelain();
|
|
4280
|
-
});
|
|
4218
|
+
var init_command_executor = () => {};
|
|
4219
|
+
|
|
4281
4220
|
// packages/utils/src/git-worktree/index.ts
|
|
4282
|
-
var init_git_worktree =
|
|
4283
|
-
init_parse_status_porcelain();
|
|
4284
|
-
init_collect_git_diff_stats();
|
|
4285
|
-
});
|
|
4221
|
+
var init_git_worktree = () => {};
|
|
4286
4222
|
|
|
4287
4223
|
// packages/utils/src/internal-initiator-marker.ts
|
|
4288
4224
|
function hasInternalInitiatorMarker(text) {
|
|
@@ -4322,36 +4258,6 @@ var init_internal_initiator_marker = __esm(() => {
|
|
|
4322
4258
|
INTERNAL_NOREPLY_MARKER_DETECT_PATTERN = /<!--\s*OMO_INTERNAL_NOREPLY\s*-->/;
|
|
4323
4259
|
});
|
|
4324
4260
|
|
|
4325
|
-
// packages/utils/src/migration/agent-names.ts
|
|
4326
|
-
var BUILTIN_AGENT_NAMES;
|
|
4327
|
-
var init_agent_names = __esm(() => {
|
|
4328
|
-
BUILTIN_AGENT_NAMES = new Set([
|
|
4329
|
-
"sisyphus",
|
|
4330
|
-
"oracle",
|
|
4331
|
-
"librarian",
|
|
4332
|
-
"explore",
|
|
4333
|
-
"multimodal-looker",
|
|
4334
|
-
"metis",
|
|
4335
|
-
"momus",
|
|
4336
|
-
"prometheus",
|
|
4337
|
-
"atlas",
|
|
4338
|
-
"build"
|
|
4339
|
-
]);
|
|
4340
|
-
});
|
|
4341
|
-
|
|
4342
|
-
// packages/utils/src/migration/hook-names.ts
|
|
4343
|
-
var init_hook_names = () => {};
|
|
4344
|
-
|
|
4345
|
-
// packages/utils/src/migration/model-versions.ts
|
|
4346
|
-
var CURRENT_USER_SELECTABLE_MODELS;
|
|
4347
|
-
var init_model_versions = __esm(() => {
|
|
4348
|
-
CURRENT_USER_SELECTABLE_MODELS = new Set([
|
|
4349
|
-
"anthropic/claude-opus-4-5",
|
|
4350
|
-
"anthropic/claude-opus-4-6",
|
|
4351
|
-
"anthropic/claude-sonnet-4-5"
|
|
4352
|
-
]);
|
|
4353
|
-
});
|
|
4354
|
-
|
|
4355
4261
|
// packages/utils/src/migration/agent-category.ts
|
|
4356
4262
|
function configureMigrationCategoryDefaults(defaults) {
|
|
4357
4263
|
categoryDefaults = defaults ?? {};
|
|
@@ -4361,33 +4267,9 @@ var init_agent_category = __esm(() => {
|
|
|
4361
4267
|
categoryDefaults = {};
|
|
4362
4268
|
});
|
|
4363
4269
|
|
|
4364
|
-
// packages/utils/src/write-file-atomically.ts
|
|
4365
|
-
var init_write_file_atomically = __esm(() => {
|
|
4366
|
-
init_atomic_write();
|
|
4367
|
-
});
|
|
4368
|
-
|
|
4369
|
-
// packages/utils/src/migration/migrations-sidecar.ts
|
|
4370
|
-
var init_migrations_sidecar = __esm(() => {
|
|
4371
|
-
init_write_file_atomically();
|
|
4372
|
-
});
|
|
4373
|
-
|
|
4374
|
-
// packages/utils/src/migration/config-migration.ts
|
|
4375
|
-
var init_config_migration = __esm(() => {
|
|
4376
|
-
init_write_file_atomically();
|
|
4377
|
-
init_agent_names();
|
|
4378
|
-
init_hook_names();
|
|
4379
|
-
init_model_versions();
|
|
4380
|
-
init_migrations_sidecar();
|
|
4381
|
-
});
|
|
4382
|
-
|
|
4383
4270
|
// packages/utils/src/migration.ts
|
|
4384
|
-
var init_migration =
|
|
4385
|
-
|
|
4386
|
-
init_hook_names();
|
|
4387
|
-
init_model_versions();
|
|
4388
|
-
init_agent_category();
|
|
4389
|
-
init_config_migration();
|
|
4390
|
-
});
|
|
4271
|
+
var init_migration = () => {};
|
|
4272
|
+
|
|
4391
4273
|
// packages/utils/src/prompt-async-gate/route-resolver.ts
|
|
4392
4274
|
function configurePromptDispatchRouteResolver(resolver) {
|
|
4393
4275
|
routeResolver = resolver ?? {};
|
|
@@ -5064,55 +4946,13 @@ var init_queue = __esm(() => {
|
|
|
5064
4946
|
});
|
|
5065
4947
|
});
|
|
5066
4948
|
|
|
5067
|
-
// packages/utils/src/prompt-async-gate/semantic-dedupe.ts
|
|
5068
|
-
var init_semantic_dedupe = __esm(() => {
|
|
5069
|
-
init_internal_initiator_marker();
|
|
5070
|
-
init_recent_dispatches();
|
|
5071
|
-
});
|
|
5072
|
-
|
|
5073
4949
|
// packages/utils/src/prompt-async-gate.ts
|
|
5074
4950
|
var init_prompt_async_gate = __esm(() => {
|
|
5075
|
-
init_route_resolver();
|
|
5076
|
-
init_session_idle_settle();
|
|
5077
4951
|
init_queue();
|
|
5078
|
-
init_recent_dispatches();
|
|
5079
|
-
init_reservations();
|
|
5080
|
-
init_session_idle_dispatch();
|
|
5081
|
-
init_semantic_dedupe();
|
|
5082
|
-
});
|
|
5083
|
-
// packages/utils/src/zip-entry-listing/python-zip-entry-listing.ts
|
|
5084
|
-
var init_python_zip_entry_listing = __esm(() => {
|
|
5085
|
-
init_runtime();
|
|
5086
|
-
});
|
|
5087
|
-
|
|
5088
|
-
// packages/utils/src/zip-entry-listing/powershell-zip-entry-listing.ts
|
|
5089
|
-
var init_powershell_zip_entry_listing = __esm(() => {
|
|
5090
|
-
init_runtime();
|
|
5091
|
-
});
|
|
5092
|
-
|
|
5093
|
-
// packages/utils/src/zip-entry-listing/tar-zip-entry-listing.ts
|
|
5094
|
-
var init_tar_zip_entry_listing = __esm(() => {
|
|
5095
|
-
init_runtime();
|
|
5096
|
-
});
|
|
5097
|
-
|
|
5098
|
-
// packages/utils/src/zip-entry-listing/read-zip-symlink-target.ts
|
|
5099
|
-
var init_read_zip_symlink_target = __esm(() => {
|
|
5100
|
-
init_runtime();
|
|
5101
|
-
});
|
|
5102
|
-
|
|
5103
|
-
// packages/utils/src/zip-entry-listing/zipinfo-zip-entry-listing.ts
|
|
5104
|
-
var init_zipinfo_zip_entry_listing = __esm(() => {
|
|
5105
|
-
init_runtime();
|
|
5106
|
-
init_read_zip_symlink_target();
|
|
5107
4952
|
});
|
|
5108
4953
|
|
|
5109
4954
|
// packages/utils/src/zip-entry-listing.ts
|
|
5110
|
-
var init_zip_entry_listing =
|
|
5111
|
-
init_python_zip_entry_listing();
|
|
5112
|
-
init_powershell_zip_entry_listing();
|
|
5113
|
-
init_tar_zip_entry_listing();
|
|
5114
|
-
init_zipinfo_zip_entry_listing();
|
|
5115
|
-
});
|
|
4955
|
+
var init_zip_entry_listing = () => {};
|
|
5116
4956
|
|
|
5117
4957
|
// packages/utils/src/index.ts
|
|
5118
4958
|
var init_src = __esm(() => {
|
|
@@ -5196,7 +5036,7 @@ var init_tolerant_fsync = __esm(() => {
|
|
|
5196
5036
|
});
|
|
5197
5037
|
|
|
5198
5038
|
// packages/omo-opencode/src/shared/write-file-atomically.ts
|
|
5199
|
-
var
|
|
5039
|
+
var init_write_file_atomically = __esm(() => {
|
|
5200
5040
|
init_tolerant_fsync();
|
|
5201
5041
|
});
|
|
5202
5042
|
|
|
@@ -19851,7 +19691,7 @@ var init_config_merger = __esm(() => {
|
|
|
19851
19691
|
|
|
19852
19692
|
// packages/omo-opencode/src/config/schema/agent-names.ts
|
|
19853
19693
|
var BuiltinAgentNameSchema, BuiltinSkillNameSchema, OverridableAgentNameSchema;
|
|
19854
|
-
var
|
|
19694
|
+
var init_agent_names = __esm(() => {
|
|
19855
19695
|
init_zod();
|
|
19856
19696
|
BuiltinAgentNameSchema = exports_external.enum([
|
|
19857
19697
|
"sisyphus",
|
|
@@ -20455,18 +20295,18 @@ var init_runtime_fallback = __esm(() => {
|
|
|
20455
20295
|
var TeamModeConfigSchema;
|
|
20456
20296
|
var init_config = __esm(() => {
|
|
20457
20297
|
init_zod();
|
|
20458
|
-
TeamModeConfigSchema =
|
|
20459
|
-
enabled:
|
|
20460
|
-
tmux_visualization:
|
|
20461
|
-
max_parallel_members:
|
|
20462
|
-
max_members:
|
|
20463
|
-
max_messages_per_run:
|
|
20464
|
-
max_wall_clock_minutes:
|
|
20465
|
-
max_member_turns:
|
|
20466
|
-
base_dir:
|
|
20467
|
-
message_payload_max_bytes:
|
|
20468
|
-
recipient_unread_max_bytes:
|
|
20469
|
-
mailbox_poll_interval_ms:
|
|
20298
|
+
TeamModeConfigSchema = object({
|
|
20299
|
+
enabled: boolean2().default(false),
|
|
20300
|
+
tmux_visualization: boolean2().default(false),
|
|
20301
|
+
max_parallel_members: number2().int().min(1).max(8).default(4),
|
|
20302
|
+
max_members: number2().int().min(1).max(8).default(8),
|
|
20303
|
+
max_messages_per_run: number2().int().min(1).default(1e4),
|
|
20304
|
+
max_wall_clock_minutes: number2().int().min(1).default(120),
|
|
20305
|
+
max_member_turns: number2().int().min(1).default(500),
|
|
20306
|
+
base_dir: string2().optional(),
|
|
20307
|
+
message_payload_max_bytes: number2().int().min(1024).default(32768),
|
|
20308
|
+
recipient_unread_max_bytes: number2().int().min(1024).default(262144),
|
|
20309
|
+
mailbox_poll_interval_ms: number2().int().min(500).default(3000)
|
|
20470
20310
|
});
|
|
20471
20311
|
});
|
|
20472
20312
|
|
|
@@ -20558,10 +20398,10 @@ var init_constants = __esm(() => {
|
|
|
20558
20398
|
SESSION_TIMEOUT_MS = 60 * 60 * 1000;
|
|
20559
20399
|
SESSION_MISSING_GRACE_MS = 30 * 1000;
|
|
20560
20400
|
});
|
|
20401
|
+
|
|
20561
20402
|
// packages/tmux-core/src/runner.ts
|
|
20562
|
-
var init_runner =
|
|
20563
|
-
|
|
20564
|
-
});
|
|
20403
|
+
var init_runner = () => {};
|
|
20404
|
+
|
|
20565
20405
|
// packages/tmux-core/src/tmux-utils/server-health.ts
|
|
20566
20406
|
var SERVER_RUNNING_KEY;
|
|
20567
20407
|
var init_server_health = __esm(() => {
|
|
@@ -20569,63 +20409,37 @@ var init_server_health = __esm(() => {
|
|
|
20569
20409
|
});
|
|
20570
20410
|
|
|
20571
20411
|
// packages/tmux-core/src/tmux-utils/pane-dimensions.ts
|
|
20572
|
-
var init_pane_dimensions =
|
|
20573
|
-
init_runner();
|
|
20574
|
-
});
|
|
20412
|
+
var init_pane_dimensions = () => {};
|
|
20575
20413
|
|
|
20576
20414
|
// packages/tmux-core/src/tmux-utils/pane-command.ts
|
|
20577
|
-
var init_pane_command =
|
|
20578
|
-
init_src();
|
|
20579
|
-
});
|
|
20415
|
+
var init_pane_command = () => {};
|
|
20580
20416
|
|
|
20581
20417
|
// packages/tmux-core/src/tmux-utils/pane-spawn.ts
|
|
20582
|
-
var init_pane_spawn =
|
|
20583
|
-
|
|
20584
|
-
init_pane_command();
|
|
20585
|
-
});
|
|
20418
|
+
var init_pane_spawn = () => {};
|
|
20419
|
+
|
|
20586
20420
|
// packages/tmux-core/src/tmux-utils/pane-replace.ts
|
|
20587
|
-
var init_pane_replace =
|
|
20588
|
-
init_pane_command();
|
|
20589
|
-
});
|
|
20421
|
+
var init_pane_replace = () => {};
|
|
20590
20422
|
|
|
20591
20423
|
// packages/tmux-core/src/tmux-utils/pane-activate.ts
|
|
20592
|
-
var init_pane_activate =
|
|
20593
|
-
init_runner();
|
|
20594
|
-
init_pane_command();
|
|
20595
|
-
});
|
|
20424
|
+
var init_pane_activate = () => {};
|
|
20596
20425
|
|
|
20597
20426
|
// packages/tmux-core/src/tmux-utils/window-spawn.ts
|
|
20598
|
-
var init_window_spawn =
|
|
20599
|
-
init_server_health();
|
|
20600
|
-
init_pane_command();
|
|
20601
|
-
});
|
|
20427
|
+
var init_window_spawn = () => {};
|
|
20602
20428
|
|
|
20603
20429
|
// packages/tmux-core/src/tmux-utils/session-spawn.ts
|
|
20604
|
-
var init_session_spawn =
|
|
20605
|
-
init_server_health();
|
|
20606
|
-
init_pane_command();
|
|
20607
|
-
});
|
|
20430
|
+
var init_session_spawn = () => {};
|
|
20608
20431
|
|
|
20609
20432
|
// packages/tmux-core/src/tmux-utils/session-kill.ts
|
|
20610
|
-
var init_session_kill =
|
|
20611
|
-
init_runner();
|
|
20612
|
-
});
|
|
20433
|
+
var init_session_kill = () => {};
|
|
20613
20434
|
|
|
20614
20435
|
// packages/tmux-core/src/tmux-utils/stale-session-sweep.ts
|
|
20615
|
-
var init_stale_session_sweep =
|
|
20616
|
-
init_runner();
|
|
20617
|
-
init_session_kill();
|
|
20618
|
-
});
|
|
20436
|
+
var init_stale_session_sweep = () => {};
|
|
20619
20437
|
|
|
20620
20438
|
// packages/tmux-core/src/tmux-utils/layout.ts
|
|
20621
|
-
var init_layout =
|
|
20622
|
-
init_runner();
|
|
20623
|
-
});
|
|
20439
|
+
var init_layout = () => {};
|
|
20624
20440
|
|
|
20625
20441
|
// packages/tmux-core/src/tmux-utils/spawn-process.ts
|
|
20626
|
-
var init_spawn_process =
|
|
20627
|
-
init_runtime();
|
|
20628
|
-
});
|
|
20442
|
+
var init_spawn_process = () => {};
|
|
20629
20443
|
|
|
20630
20444
|
// packages/tmux-core/src/tmux-utils.ts
|
|
20631
20445
|
var init_tmux_utils = __esm(() => {
|
|
@@ -20789,7 +20603,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
20789
20603
|
// packages/omo-opencode/src/config/schema.ts
|
|
20790
20604
|
var init_schema = __esm(() => {
|
|
20791
20605
|
init_types();
|
|
20792
|
-
|
|
20606
|
+
init_agent_names();
|
|
20793
20607
|
init_agent_overrides();
|
|
20794
20608
|
init_babysitting();
|
|
20795
20609
|
init_background_task();
|
|
@@ -20828,9 +20642,7 @@ var init_config2 = __esm(() => {
|
|
|
20828
20642
|
});
|
|
20829
20643
|
|
|
20830
20644
|
// packages/omo-opencode/src/shared/frontmatter.ts
|
|
20831
|
-
var init_frontmatter2 =
|
|
20832
|
-
init_src();
|
|
20833
|
-
});
|
|
20645
|
+
var init_frontmatter2 = () => {};
|
|
20834
20646
|
|
|
20835
20647
|
// packages/omo-opencode/src/shared/command-executor.ts
|
|
20836
20648
|
var init_command_executor2 = __esm(() => {
|
|
@@ -21406,22 +21218,10 @@ var init_model_capability_heuristics = __esm(() => {
|
|
|
21406
21218
|
});
|
|
21407
21219
|
|
|
21408
21220
|
// packages/model-core/src/model-capability-guardrails.ts
|
|
21409
|
-
var init_model_capability_guardrails =
|
|
21410
|
-
init_model_capability_aliases();
|
|
21411
|
-
init_model_requirements();
|
|
21412
|
-
});
|
|
21221
|
+
var init_model_capability_guardrails = () => {};
|
|
21413
21222
|
|
|
21414
21223
|
// packages/model-core/src/model-settings-compatibility.ts
|
|
21415
|
-
var init_model_settings_compatibility =
|
|
21416
|
-
init_model_capability_heuristics();
|
|
21417
|
-
});
|
|
21418
|
-
// packages/model-core/src/provider-model-id-transform.ts
|
|
21419
|
-
var init_provider_model_id_transform = () => {};
|
|
21420
|
-
|
|
21421
|
-
// packages/model-core/src/model-resolution-pipeline.ts
|
|
21422
|
-
var init_model_resolution_pipeline = __esm(() => {
|
|
21423
|
-
init_provider_model_id_transform();
|
|
21424
|
-
});
|
|
21224
|
+
var init_model_settings_compatibility = () => {};
|
|
21425
21225
|
|
|
21426
21226
|
// packages/model-core/src/known-variants.ts
|
|
21427
21227
|
var KNOWN_VARIANTS;
|
|
@@ -21439,9 +21239,6 @@ var init_known_variants = __esm(() => {
|
|
|
21439
21239
|
]);
|
|
21440
21240
|
});
|
|
21441
21241
|
|
|
21442
|
-
// packages/model-core/src/connected-providers-cache.ts
|
|
21443
|
-
var init_connected_providers_cache = () => {};
|
|
21444
|
-
|
|
21445
21242
|
// packages/model-core/src/model-resolver.ts
|
|
21446
21243
|
function normalizeFallbackModels(models) {
|
|
21447
21244
|
if (!models)
|
|
@@ -21450,11 +21247,8 @@ function normalizeFallbackModels(models) {
|
|
|
21450
21247
|
return [models];
|
|
21451
21248
|
return models;
|
|
21452
21249
|
}
|
|
21453
|
-
var init_model_resolver =
|
|
21454
|
-
|
|
21455
|
-
init_known_variants();
|
|
21456
|
-
init_connected_providers_cache();
|
|
21457
|
-
});
|
|
21250
|
+
var init_model_resolver = () => {};
|
|
21251
|
+
|
|
21458
21252
|
// packages/model-core/src/model-string-parser.ts
|
|
21459
21253
|
var KNOWN_VARIANTS2;
|
|
21460
21254
|
var init_model_string_parser = __esm(() => {
|
|
@@ -21470,16 +21264,13 @@ var init_model_string_parser = __esm(() => {
|
|
|
21470
21264
|
"thinking"
|
|
21471
21265
|
]);
|
|
21472
21266
|
});
|
|
21267
|
+
|
|
21473
21268
|
// packages/model-core/src/fallback-chain-from-models.ts
|
|
21474
|
-
var init_fallback_chain_from_models =
|
|
21475
|
-
init_model_resolver();
|
|
21476
|
-
init_known_variants();
|
|
21477
|
-
});
|
|
21269
|
+
var init_fallback_chain_from_models = () => {};
|
|
21478
21270
|
|
|
21479
21271
|
// packages/model-core/src/model-error-classifier.ts
|
|
21480
21272
|
var RETRYABLE_ERROR_NAMES, STOP_ERROR_NAMES, NON_RETRYABLE_ERROR_NAMES;
|
|
21481
21273
|
var init_model_error_classifier = __esm(() => {
|
|
21482
|
-
init_connected_providers_cache();
|
|
21483
21274
|
RETRYABLE_ERROR_NAMES = new Set([
|
|
21484
21275
|
"providermodelnotfounderror",
|
|
21485
21276
|
"ratelimiterror",
|
|
@@ -21510,21 +21301,13 @@ var init_runtime_fallback_auto_retry_signal = () => {};
|
|
|
21510
21301
|
var init_runtime_fallback_error_shape = () => {};
|
|
21511
21302
|
|
|
21512
21303
|
// packages/model-core/src/runtime-fallback-error-classifier.ts
|
|
21513
|
-
var init_runtime_fallback_error_classifier =
|
|
21514
|
-
init_runtime_fallback_auto_retry_signal();
|
|
21515
|
-
init_runtime_fallback_error_shape();
|
|
21516
|
-
init_runtime_fallback_error_shape();
|
|
21517
|
-
});
|
|
21304
|
+
var init_runtime_fallback_error_classifier = () => {};
|
|
21518
21305
|
|
|
21519
21306
|
// packages/model-core/src/provider-exhaustion-fallback-policy.ts
|
|
21520
|
-
var init_provider_exhaustion_fallback_policy =
|
|
21521
|
-
init_runtime_fallback_error_classifier();
|
|
21522
|
-
});
|
|
21307
|
+
var init_provider_exhaustion_fallback_policy = () => {};
|
|
21523
21308
|
|
|
21524
21309
|
// packages/model-core/src/runtime-fallback-model.ts
|
|
21525
|
-
var init_runtime_fallback_model =
|
|
21526
|
-
init_model_string_parser();
|
|
21527
|
-
});
|
|
21310
|
+
var init_runtime_fallback_model = () => {};
|
|
21528
21311
|
|
|
21529
21312
|
// packages/model-core/src/model-capabilities/supplemental-entries.ts
|
|
21530
21313
|
var SUPPLEMENTAL_MODEL_CAPABILITIES;
|
|
@@ -21931,11 +21714,10 @@ async function fetchModelCapabilitiesSnapshot(args = {}) {
|
|
|
21931
21714
|
};
|
|
21932
21715
|
}
|
|
21933
21716
|
var MODELS_DEV_SOURCE_URL = "https://models.dev/api.json";
|
|
21717
|
+
|
|
21934
21718
|
// packages/model-core/src/index.ts
|
|
21935
21719
|
var init_src3 = __esm(() => {
|
|
21936
21720
|
init_model_resolver();
|
|
21937
|
-
init_provider_model_id_transform();
|
|
21938
|
-
init_model_resolution_pipeline();
|
|
21939
21721
|
init_model_requirements();
|
|
21940
21722
|
init_model_family_detectors();
|
|
21941
21723
|
init_model_capability_aliases();
|
|
@@ -21956,19 +21738,13 @@ var init_src3 = __esm(() => {
|
|
|
21956
21738
|
});
|
|
21957
21739
|
|
|
21958
21740
|
// packages/omo-opencode/src/shared/model-sanitizer.ts
|
|
21959
|
-
var init_model_sanitizer =
|
|
21960
|
-
init_src3();
|
|
21961
|
-
});
|
|
21741
|
+
var init_model_sanitizer = () => {};
|
|
21962
21742
|
|
|
21963
21743
|
// packages/omo-opencode/src/shared/snake-case.ts
|
|
21964
|
-
var init_snake_case2 =
|
|
21965
|
-
init_src();
|
|
21966
|
-
});
|
|
21744
|
+
var init_snake_case2 = () => {};
|
|
21967
21745
|
|
|
21968
21746
|
// packages/omo-opencode/src/shared/tool-name.ts
|
|
21969
|
-
var init_tool_name2 =
|
|
21970
|
-
init_src();
|
|
21971
|
-
});
|
|
21747
|
+
var init_tool_name2 = () => {};
|
|
21972
21748
|
|
|
21973
21749
|
// packages/omo-opencode/src/shared/pattern-matcher.ts
|
|
21974
21750
|
var regexCache;
|
|
@@ -21976,19 +21752,13 @@ var init_pattern_matcher = __esm(() => {
|
|
|
21976
21752
|
regexCache = new Map;
|
|
21977
21753
|
});
|
|
21978
21754
|
// packages/omo-opencode/src/shared/deep-merge.ts
|
|
21979
|
-
var init_deep_merge2 =
|
|
21980
|
-
init_src();
|
|
21981
|
-
});
|
|
21755
|
+
var init_deep_merge2 = () => {};
|
|
21982
21756
|
|
|
21983
21757
|
// packages/omo-opencode/src/shared/file-utils.ts
|
|
21984
|
-
var init_file_utils2 =
|
|
21985
|
-
init_src();
|
|
21986
|
-
});
|
|
21758
|
+
var init_file_utils2 = () => {};
|
|
21987
21759
|
|
|
21988
21760
|
// packages/omo-opencode/src/shared/context-limit-resolver.ts
|
|
21989
|
-
var init_context_limit_resolver2 =
|
|
21990
|
-
init_src3();
|
|
21991
|
-
});
|
|
21761
|
+
var init_context_limit_resolver2 = () => {};
|
|
21992
21762
|
// packages/omo-opencode/src/shared/context-window-usage.ts
|
|
21993
21763
|
var usageCacheByClient;
|
|
21994
21764
|
var init_context_window_usage = __esm(() => {
|
|
@@ -22294,9 +22064,7 @@ function isGpt5_5Model(model) {
|
|
|
22294
22064
|
const modelName = extractModelName(model).toLowerCase();
|
|
22295
22065
|
return modelName.includes("gpt-5.5") || modelName.includes("gpt-5-5");
|
|
22296
22066
|
}
|
|
22297
|
-
var init_types3 =
|
|
22298
|
-
init_src3();
|
|
22299
|
-
});
|
|
22067
|
+
var init_types3 = () => {};
|
|
22300
22068
|
|
|
22301
22069
|
// packages/omo-opencode/src/tools/delegate-task/openai-categories.ts
|
|
22302
22070
|
function resolveDeepCategoryPromptAppend(model) {
|
|
@@ -22595,7 +22363,6 @@ var init_resolve_agent_definition_paths = __esm(() => {
|
|
|
22595
22363
|
// packages/omo-opencode/src/shared/opencode-version.ts
|
|
22596
22364
|
var NOT_CACHED;
|
|
22597
22365
|
var init_opencode_version = __esm(() => {
|
|
22598
|
-
init_src();
|
|
22599
22366
|
NOT_CACHED = Symbol("NOT_CACHED");
|
|
22600
22367
|
});
|
|
22601
22368
|
|
|
@@ -22622,9 +22389,7 @@ var init_external_plugin_detector = __esm(() => {
|
|
|
22622
22389
|
});
|
|
22623
22390
|
|
|
22624
22391
|
// packages/omo-opencode/src/shared/bun-spawn-shim.ts
|
|
22625
|
-
var init_bun_spawn_shim =
|
|
22626
|
-
init_runtime();
|
|
22627
|
-
});
|
|
22392
|
+
var init_bun_spawn_shim = () => {};
|
|
22628
22393
|
|
|
22629
22394
|
// packages/omo-opencode/src/shared/archive-entry-validator.ts
|
|
22630
22395
|
var init_archive_entry_validator2 = __esm(() => {
|
|
@@ -22648,9 +22413,7 @@ var init_zip_extractor = __esm(() => {
|
|
|
22648
22413
|
});
|
|
22649
22414
|
|
|
22650
22415
|
// packages/omo-opencode/src/shared/bun-file-shim.ts
|
|
22651
|
-
var init_bun_file_shim =
|
|
22652
|
-
init_runtime();
|
|
22653
|
-
});
|
|
22416
|
+
var init_bun_file_shim = () => {};
|
|
22654
22417
|
|
|
22655
22418
|
// packages/omo-opencode/src/shared/binary-downloader.ts
|
|
22656
22419
|
var init_binary_downloader = __esm(() => {
|
|
@@ -22679,9 +22442,7 @@ var init_session_cursor = __esm(() => {
|
|
|
22679
22442
|
});
|
|
22680
22443
|
|
|
22681
22444
|
// packages/omo-opencode/src/shared/shell-env.ts
|
|
22682
|
-
var init_shell_env =
|
|
22683
|
-
init_src();
|
|
22684
|
-
});
|
|
22445
|
+
var init_shell_env = () => {};
|
|
22685
22446
|
|
|
22686
22447
|
// packages/omo-opencode/src/shared/system-directive.ts
|
|
22687
22448
|
var init_system_directive = () => {};
|
|
@@ -22772,8 +22533,8 @@ var init_json_file_cache_store = __esm(() => {
|
|
|
22772
22533
|
});
|
|
22773
22534
|
|
|
22774
22535
|
// packages/omo-opencode/src/shared/connected-providers-cache.ts
|
|
22775
|
-
var
|
|
22776
|
-
__export(
|
|
22536
|
+
var exports_connected_providers_cache = {};
|
|
22537
|
+
__export(exports_connected_providers_cache, {
|
|
22777
22538
|
writeProviderModelsCache: () => writeProviderModelsCache,
|
|
22778
22539
|
updateConnectedProvidersCache: () => updateConnectedProvidersCache,
|
|
22779
22540
|
readProviderModelsCache: () => readProviderModelsCache,
|
|
@@ -22948,7 +22709,7 @@ function findProviderModelMetadata(providerID, modelID, cache = defaultConnected
|
|
|
22948
22709
|
return;
|
|
22949
22710
|
}
|
|
22950
22711
|
var providerModelsCacheWrittenInCurrentProcess = false, CONNECTED_PROVIDERS_CACHE_FILE = "connected-providers.json", PROVIDER_MODELS_CACHE_FILE = "provider-models.json", defaultConnectedProvidersCacheStore, readConnectedProvidersCache, hasConnectedProvidersCache, readProviderModelsCache, hasProviderModelsCache, writeProviderModelsCache, updateConnectedProvidersCache, _resetMemCacheForTesting;
|
|
22951
|
-
var
|
|
22712
|
+
var init_connected_providers_cache = __esm(() => {
|
|
22952
22713
|
init_src();
|
|
22953
22714
|
init_logger2();
|
|
22954
22715
|
init_data_path();
|
|
@@ -22968,25 +22729,22 @@ var init_connected_providers_cache2 = __esm(() => {
|
|
|
22968
22729
|
// packages/omo-opencode/src/shared/model-resolver.ts
|
|
22969
22730
|
var init_model_resolver2 = __esm(() => {
|
|
22970
22731
|
init_src3();
|
|
22971
|
-
|
|
22732
|
+
init_connected_providers_cache();
|
|
22972
22733
|
});
|
|
22973
22734
|
|
|
22974
22735
|
// packages/omo-opencode/src/shared/model-normalization.ts
|
|
22975
|
-
var init_model_normalization =
|
|
22976
|
-
init_src3();
|
|
22977
|
-
});
|
|
22736
|
+
var init_model_normalization = () => {};
|
|
22978
22737
|
|
|
22979
22738
|
// packages/omo-opencode/src/shared/model-resolution-pipeline.ts
|
|
22980
|
-
var
|
|
22981
|
-
|
|
22982
|
-
init_connected_providers_cache2();
|
|
22739
|
+
var init_model_resolution_pipeline = __esm(() => {
|
|
22740
|
+
init_connected_providers_cache();
|
|
22983
22741
|
});
|
|
22984
22742
|
|
|
22985
22743
|
// packages/omo-opencode/src/shared/model-availability.ts
|
|
22986
22744
|
var init_model_availability = __esm(() => {
|
|
22987
22745
|
init_logger2();
|
|
22988
22746
|
init_data_path();
|
|
22989
|
-
|
|
22747
|
+
init_connected_providers_cache();
|
|
22990
22748
|
});
|
|
22991
22749
|
|
|
22992
22750
|
// packages/omo-opencode/src/generated/model-capabilities.generated.json
|
|
@@ -73086,12 +72844,12 @@ function getModelCapabilities2(input) {
|
|
|
73086
72844
|
return getModelCapabilities({
|
|
73087
72845
|
...input,
|
|
73088
72846
|
bundledSnapshot: input.bundledSnapshot ?? getBundledModelCapabilitiesSnapshotForRuntime(),
|
|
73089
|
-
providerCache: input.providerCache ??
|
|
72847
|
+
providerCache: input.providerCache ?? exports_connected_providers_cache
|
|
73090
72848
|
});
|
|
73091
72849
|
}
|
|
73092
72850
|
var init_model_capabilities3 = __esm(() => {
|
|
73093
72851
|
init_src3();
|
|
73094
|
-
|
|
72852
|
+
init_connected_providers_cache();
|
|
73095
72853
|
init_model_capabilities_generated();
|
|
73096
72854
|
});
|
|
73097
72855
|
|
|
@@ -73139,13 +72897,11 @@ var init_model_capabilities_cache = __esm(() => {
|
|
|
73139
72897
|
});
|
|
73140
72898
|
|
|
73141
72899
|
// packages/omo-opencode/src/shared/model-settings-compatibility.ts
|
|
73142
|
-
var init_model_settings_compatibility2 =
|
|
73143
|
-
init_src3();
|
|
73144
|
-
});
|
|
72900
|
+
var init_model_settings_compatibility2 = () => {};
|
|
73145
72901
|
|
|
73146
72902
|
// packages/omo-opencode/src/shared/fallback-model-availability.ts
|
|
73147
72903
|
var init_fallback_model_availability = __esm(() => {
|
|
73148
|
-
|
|
72904
|
+
init_connected_providers_cache();
|
|
73149
72905
|
init_logger2();
|
|
73150
72906
|
init_model_availability();
|
|
73151
72907
|
});
|
|
@@ -73167,9 +72923,7 @@ var init_compaction_marker = __esm(() => {
|
|
|
73167
72923
|
});
|
|
73168
72924
|
|
|
73169
72925
|
// packages/omo-opencode/src/shared/record-type-guard.ts
|
|
73170
|
-
var init_record_type_guard =
|
|
73171
|
-
init_src();
|
|
73172
|
-
});
|
|
72926
|
+
var init_record_type_guard = () => {};
|
|
73173
72927
|
|
|
73174
72928
|
// packages/omo-opencode/src/features/hook-message-injector/json-message-lookup.ts
|
|
73175
72929
|
var init_json_message_lookup = __esm(() => {
|
|
@@ -73265,39 +73019,25 @@ var init_event_session_id = __esm(() => {
|
|
|
73265
73019
|
init_record_type_guard();
|
|
73266
73020
|
});
|
|
73267
73021
|
// packages/omo-opencode/src/shared/tmux/constants.ts
|
|
73268
|
-
var init_constants4 =
|
|
73269
|
-
init_src2();
|
|
73270
|
-
});
|
|
73022
|
+
var init_constants4 = () => {};
|
|
73271
73023
|
|
|
73272
73024
|
// packages/omo-opencode/src/shared/tmux/cmux-detect.ts
|
|
73273
|
-
var init_cmux_detect =
|
|
73274
|
-
init_src2();
|
|
73275
|
-
});
|
|
73025
|
+
var init_cmux_detect = () => {};
|
|
73276
73026
|
|
|
73277
73027
|
// packages/omo-opencode/src/shared/tmux/runner.ts
|
|
73278
|
-
var init_runner2 =
|
|
73279
|
-
init_src2();
|
|
73280
|
-
});
|
|
73028
|
+
var init_runner2 = () => {};
|
|
73281
73029
|
|
|
73282
73030
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/environment.ts
|
|
73283
|
-
var init_environment =
|
|
73284
|
-
init_src2();
|
|
73285
|
-
});
|
|
73031
|
+
var init_environment = () => {};
|
|
73286
73032
|
|
|
73287
73033
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/server-health.ts
|
|
73288
|
-
var init_server_health2 =
|
|
73289
|
-
init_src2();
|
|
73290
|
-
});
|
|
73034
|
+
var init_server_health2 = () => {};
|
|
73291
73035
|
|
|
73292
73036
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/pane-dimensions.ts
|
|
73293
|
-
var init_pane_dimensions2 =
|
|
73294
|
-
init_src2();
|
|
73295
|
-
});
|
|
73037
|
+
var init_pane_dimensions2 = () => {};
|
|
73296
73038
|
|
|
73297
73039
|
// packages/omo-opencode/src/shared/bun-which-shim.ts
|
|
73298
|
-
var init_bun_which_shim =
|
|
73299
|
-
init_runtime();
|
|
73300
|
-
});
|
|
73040
|
+
var init_bun_which_shim = () => {};
|
|
73301
73041
|
|
|
73302
73042
|
// packages/omo-opencode/src/tools/interactive-bash/tmux-path-resolver.ts
|
|
73303
73043
|
var init_tmux_path_resolver = __esm(() => {
|
|
@@ -73317,61 +73057,46 @@ var init_adapter_deps = __esm(() => {
|
|
|
73317
73057
|
|
|
73318
73058
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/pane-spawn.ts
|
|
73319
73059
|
var init_pane_spawn2 = __esm(() => {
|
|
73320
|
-
init_src2();
|
|
73321
73060
|
init_adapter_deps();
|
|
73322
73061
|
});
|
|
73323
73062
|
|
|
73324
73063
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/pane-close.ts
|
|
73325
|
-
var init_pane_close =
|
|
73326
|
-
init_src2();
|
|
73327
|
-
});
|
|
73064
|
+
var init_pane_close = () => {};
|
|
73328
73065
|
|
|
73329
73066
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/pane-replace.ts
|
|
73330
73067
|
var init_pane_replace2 = __esm(() => {
|
|
73331
|
-
init_src2();
|
|
73332
73068
|
init_adapter_deps();
|
|
73333
73069
|
});
|
|
73334
73070
|
|
|
73335
73071
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/pane-activate.ts
|
|
73336
73072
|
var init_pane_activate2 = __esm(() => {
|
|
73337
|
-
init_src2();
|
|
73338
73073
|
init_adapter_deps();
|
|
73339
73074
|
});
|
|
73340
73075
|
|
|
73341
73076
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/window-spawn.ts
|
|
73342
73077
|
var init_window_spawn2 = __esm(() => {
|
|
73343
|
-
init_src2();
|
|
73344
73078
|
init_adapter_deps();
|
|
73345
73079
|
});
|
|
73346
73080
|
|
|
73347
73081
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/session-spawn.ts
|
|
73348
73082
|
var init_session_spawn2 = __esm(() => {
|
|
73349
|
-
init_src2();
|
|
73350
73083
|
init_adapter_deps();
|
|
73351
73084
|
});
|
|
73352
73085
|
|
|
73353
73086
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/session-kill.ts
|
|
73354
|
-
var init_session_kill2 =
|
|
73355
|
-
init_src2();
|
|
73356
|
-
});
|
|
73087
|
+
var init_session_kill2 = () => {};
|
|
73357
73088
|
|
|
73358
73089
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/stale-session-sweep.ts
|
|
73359
|
-
var init_stale_session_sweep2 =
|
|
73360
|
-
init_src2();
|
|
73361
|
-
});
|
|
73090
|
+
var init_stale_session_sweep2 = () => {};
|
|
73362
73091
|
|
|
73363
73092
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/stale-attach-pane-sweep.ts
|
|
73364
73093
|
var init_stale_attach_pane_sweep = () => {};
|
|
73365
73094
|
|
|
73366
73095
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/pane-command.ts
|
|
73367
|
-
var init_pane_command2 =
|
|
73368
|
-
init_src2();
|
|
73369
|
-
});
|
|
73096
|
+
var init_pane_command2 = () => {};
|
|
73370
73097
|
|
|
73371
73098
|
// packages/omo-opencode/src/shared/tmux/tmux-utils/layout.ts
|
|
73372
|
-
var init_layout2 =
|
|
73373
|
-
init_src2();
|
|
73374
|
-
});
|
|
73099
|
+
var init_layout2 = () => {};
|
|
73375
73100
|
|
|
73376
73101
|
// packages/omo-opencode/src/shared/tmux/tmux-utils.ts
|
|
73377
73102
|
var init_tmux_utils2 = __esm(() => {
|
|
@@ -75511,7 +75236,7 @@ function getOrBuildLiveClient(registration) {
|
|
|
75511
75236
|
registration.liveClient = client3;
|
|
75512
75237
|
return registration.liveClient;
|
|
75513
75238
|
}
|
|
75514
|
-
function
|
|
75239
|
+
function tryResolveDispatchClientSync(client3, sessionID) {
|
|
75515
75240
|
const registration = registrations.get(client3);
|
|
75516
75241
|
if (!registration) {
|
|
75517
75242
|
return { client: client3, route: "in-process", reason: "identity" };
|
|
@@ -75538,8 +75263,8 @@ function tryResolveDispatchClientSync2(client3, sessionID) {
|
|
|
75538
75263
|
}
|
|
75539
75264
|
return { client: resolvedLiveClient, route: "live", reason: "live" };
|
|
75540
75265
|
}
|
|
75541
|
-
async function
|
|
75542
|
-
const syncResult =
|
|
75266
|
+
async function resolveDispatchClient(client3, sessionID) {
|
|
75267
|
+
const syncResult = tryResolveDispatchClientSync(client3, sessionID);
|
|
75543
75268
|
if (syncResult) {
|
|
75544
75269
|
return syncResult;
|
|
75545
75270
|
}
|
|
@@ -75557,7 +75282,7 @@ async function resolveDispatchClient2(client3, sessionID) {
|
|
|
75557
75282
|
}
|
|
75558
75283
|
return { client: resolvedLiveClient, route: "live", reason: "live" };
|
|
75559
75284
|
}
|
|
75560
|
-
function
|
|
75285
|
+
function isPreSendConnectionFailure(error51) {
|
|
75561
75286
|
if (!(error51 instanceof Error)) {
|
|
75562
75287
|
return false;
|
|
75563
75288
|
}
|
|
@@ -75584,7 +75309,7 @@ function isPreSendConnectionFailure2(error51) {
|
|
|
75584
75309
|
}
|
|
75585
75310
|
return false;
|
|
75586
75311
|
}
|
|
75587
|
-
function
|
|
75312
|
+
function markLiveRouteUnavailable(reason) {
|
|
75588
75313
|
for (const registration of registrations.values()) {
|
|
75589
75314
|
registration.available = false;
|
|
75590
75315
|
registration.probeTimestamp = Date.now();
|
|
@@ -75609,10 +75334,10 @@ var init_prompt_async_gate2 = __esm(() => {
|
|
|
75609
75334
|
init_prompt_async_gate();
|
|
75610
75335
|
configureSharedSubunitLogger(log2);
|
|
75611
75336
|
configurePromptDispatchRouteResolver({
|
|
75612
|
-
tryResolveDispatchClientSync
|
|
75613
|
-
resolveDispatchClient
|
|
75614
|
-
isPreSendConnectionFailure
|
|
75615
|
-
markLiveRouteUnavailable
|
|
75337
|
+
tryResolveDispatchClientSync,
|
|
75338
|
+
resolveDispatchClient,
|
|
75339
|
+
isPreSendConnectionFailure,
|
|
75340
|
+
markLiveRouteUnavailable
|
|
75616
75341
|
});
|
|
75617
75342
|
});
|
|
75618
75343
|
|
|
@@ -75621,7 +75346,6 @@ var init_prompt_failure_classifier = () => {};
|
|
|
75621
75346
|
|
|
75622
75347
|
// packages/omo-opencode/src/shared/model-suggestion-retry.ts
|
|
75623
75348
|
var init_model_suggestion_retry = __esm(() => {
|
|
75624
|
-
init_src3();
|
|
75625
75349
|
init_logger2();
|
|
75626
75350
|
init_prompt_async_gate2();
|
|
75627
75351
|
init_prompt_failure_classifier();
|
|
@@ -75629,7 +75353,6 @@ var init_model_suggestion_retry = __esm(() => {
|
|
|
75629
75353
|
|
|
75630
75354
|
// packages/omo-opencode/src/shared/opencode-provider-auth.ts
|
|
75631
75355
|
var init_opencode_provider_auth = __esm(() => {
|
|
75632
|
-
init_src();
|
|
75633
75356
|
init_data_path();
|
|
75634
75357
|
init_logger2();
|
|
75635
75358
|
});
|
|
@@ -75642,9 +75365,7 @@ var init_opencode_http_api = __esm(() => {
|
|
|
75642
75365
|
});
|
|
75643
75366
|
|
|
75644
75367
|
// packages/omo-opencode/src/shared/port-utils.ts
|
|
75645
|
-
var init_port_utils2 =
|
|
75646
|
-
init_src();
|
|
75647
|
-
});
|
|
75368
|
+
var init_port_utils2 = () => {};
|
|
75648
75369
|
|
|
75649
75370
|
// packages/omo-opencode/src/shared/git-worktree/index.ts
|
|
75650
75371
|
var init_git_worktree2 = __esm(() => {
|
|
@@ -75760,9 +75481,7 @@ var init_logger3 = __esm(() => {
|
|
|
75760
75481
|
});
|
|
75761
75482
|
|
|
75762
75483
|
// packages/claude-code-compat-core/src/shared/contains-path.ts
|
|
75763
|
-
var init_contains_path3 =
|
|
75764
|
-
init_src();
|
|
75765
|
-
});
|
|
75484
|
+
var init_contains_path3 = () => {};
|
|
75766
75485
|
|
|
75767
75486
|
// packages/claude-code-compat-core/src/features/claude-code-plugin-loader/scope-filter.ts
|
|
75768
75487
|
var init_scope_filter = __esm(() => {
|
|
@@ -75824,19 +75543,13 @@ var init_discovery = __esm(() => {
|
|
|
75824
75543
|
});
|
|
75825
75544
|
|
|
75826
75545
|
// packages/claude-code-compat-core/src/shared/frontmatter.ts
|
|
75827
|
-
var init_frontmatter3 =
|
|
75828
|
-
init_src();
|
|
75829
|
-
});
|
|
75546
|
+
var init_frontmatter3 = () => {};
|
|
75830
75547
|
|
|
75831
75548
|
// packages/claude-code-compat-core/src/shared/file-utils.ts
|
|
75832
|
-
var init_file_utils3 =
|
|
75833
|
-
init_src();
|
|
75834
|
-
});
|
|
75549
|
+
var init_file_utils3 = () => {};
|
|
75835
75550
|
|
|
75836
75551
|
// packages/claude-code-compat-core/src/shared/model-sanitizer.ts
|
|
75837
|
-
var init_model_sanitizer2 =
|
|
75838
|
-
init_src3();
|
|
75839
|
-
});
|
|
75552
|
+
var init_model_sanitizer2 = () => {};
|
|
75840
75553
|
// packages/claude-code-compat-core/src/features/claude-code-plugin-loader/command-loader.ts
|
|
75841
75554
|
var init_command_loader = __esm(() => {
|
|
75842
75555
|
init_frontmatter3();
|
|
@@ -75857,14 +75570,10 @@ var init_skill_loader = __esm(() => {
|
|
|
75857
75570
|
init_logger3();
|
|
75858
75571
|
});
|
|
75859
75572
|
// packages/claude-code-compat-core/src/shared/model-format-normalizer.ts
|
|
75860
|
-
var init_model_format_normalizer =
|
|
75861
|
-
init_src3();
|
|
75862
|
-
});
|
|
75573
|
+
var init_model_format_normalizer = () => {};
|
|
75863
75574
|
|
|
75864
75575
|
// packages/claude-code-compat-core/src/shared/model-normalization.ts
|
|
75865
|
-
var init_model_normalization2 =
|
|
75866
|
-
init_src3();
|
|
75867
|
-
});
|
|
75576
|
+
var init_model_normalization2 = () => {};
|
|
75868
75577
|
|
|
75869
75578
|
// packages/claude-code-compat-core/src/features/claude-code-agent-loader/claude-model-mapper.ts
|
|
75870
75579
|
var ANTHROPIC_PREFIX = "anthropic/", CLAUDE_CODE_ALIAS_MAP;
|
|
@@ -75894,7 +75603,6 @@ var init_configure_allowed_env_vars = __esm(() => {
|
|
|
75894
75603
|
|
|
75895
75604
|
// packages/claude-code-compat-core/src/features/claude-code-mcp-loader/env-expander.ts
|
|
75896
75605
|
var init_env_expander = __esm(() => {
|
|
75897
|
-
init_src();
|
|
75898
75606
|
init_logger3();
|
|
75899
75607
|
init_configure_allowed_env_vars();
|
|
75900
75608
|
});
|
|
@@ -75910,9 +75618,7 @@ var init_transformer = __esm(() => {
|
|
|
75910
75618
|
});
|
|
75911
75619
|
|
|
75912
75620
|
// packages/claude-code-compat-core/src/shared/bun-file-shim.ts
|
|
75913
|
-
var init_bun_file_shim2 =
|
|
75914
|
-
init_runtime();
|
|
75915
|
-
});
|
|
75621
|
+
var init_bun_file_shim2 = () => {};
|
|
75916
75622
|
|
|
75917
75623
|
// packages/claude-code-compat-core/src/features/claude-code-plugin-loader/mcp-server-loader.ts
|
|
75918
75624
|
var init_mcp_server_loader = __esm(() => {
|
|
@@ -76009,9 +75715,7 @@ var init_legacy_workspace_migration = __esm(() => {
|
|
|
76009
75715
|
init_logger2();
|
|
76010
75716
|
});
|
|
76011
75717
|
// packages/omo-opencode/src/shared/model-string-parser.ts
|
|
76012
|
-
var init_model_string_parser2 =
|
|
76013
|
-
init_src3();
|
|
76014
|
-
});
|
|
75718
|
+
var init_model_string_parser2 = () => {};
|
|
76015
75719
|
|
|
76016
75720
|
// packages/omo-opencode/src/shared/excluded-dirs.ts
|
|
76017
75721
|
var EXCLUDED_DIR_NAMES, EXCLUDED_DIRS;
|
|
@@ -76036,15 +75740,13 @@ var init_excluded_dirs = __esm(() => {
|
|
|
76036
75740
|
});
|
|
76037
75741
|
|
|
76038
75742
|
// packages/omo-opencode/src/shared/replace-tool-args.ts
|
|
76039
|
-
var init_replace_tool_args =
|
|
76040
|
-
init_src();
|
|
76041
|
-
});
|
|
75743
|
+
var init_replace_tool_args = () => {};
|
|
76042
75744
|
|
|
76043
75745
|
// packages/omo-opencode/src/shared/index.ts
|
|
76044
75746
|
var init_shared = __esm(() => {
|
|
76045
75747
|
init_model_normalization();
|
|
76046
75748
|
init_model_resolver2();
|
|
76047
|
-
|
|
75749
|
+
init_model_resolution_pipeline();
|
|
76048
75750
|
init_session_category_registry();
|
|
76049
75751
|
init_model_string_parser2();
|
|
76050
75752
|
init_excluded_dirs();
|
|
@@ -76072,7 +75774,7 @@ var init_shared = __esm(() => {
|
|
|
76072
75774
|
init_external_plugin_detector();
|
|
76073
75775
|
init_zip_extractor();
|
|
76074
75776
|
init_binary_downloader();
|
|
76075
|
-
|
|
75777
|
+
init_write_file_atomically();
|
|
76076
75778
|
init_agent_variant();
|
|
76077
75779
|
init_session_cursor();
|
|
76078
75780
|
init_shell_env();
|
|
@@ -76085,7 +75787,7 @@ var init_shared = __esm(() => {
|
|
|
76085
75787
|
init_model_capabilities_cache();
|
|
76086
75788
|
init_model_settings_compatibility2();
|
|
76087
75789
|
init_fallback_model_availability();
|
|
76088
|
-
|
|
75790
|
+
init_connected_providers_cache();
|
|
76089
75791
|
init_context_limit_resolver2();
|
|
76090
75792
|
init_session_utils();
|
|
76091
75793
|
init_event_session_id();
|
|
@@ -76807,7 +76509,7 @@ function compareJobs(left, right) {
|
|
|
76807
76509
|
|
|
76808
76510
|
// packages/omo-opencode/src/features/tui-sidebar/mirror-io.ts
|
|
76809
76511
|
import { mkdirSync as mkdirSync2, readFileSync as readFileSync2 } from "fs";
|
|
76810
|
-
|
|
76512
|
+
init_write_file_atomically();
|
|
76811
76513
|
|
|
76812
76514
|
// packages/omo-opencode/src/features/tui-sidebar/mirror-path.ts
|
|
76813
76515
|
import { createHash } from "crypto";
|