oh-my-opencode 4.18.2 → 4.19.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/command/omomomo.md +1 -1
- package/.agents/skills/omomomo/SKILL.md +1 -1
- package/.opencode/command/omomomo.md +1 -1
- package/README.ja.md +6 -6
- package/README.ko.md +6 -6
- package/README.md +8 -8
- package/README.ru.md +6 -6
- package/README.zh-cn.md +6 -6
- package/dist/agents/atlas/agent.d.ts +7 -6
- package/dist/agents/gpt-prompt-identity.d.ts +3 -0
- package/dist/agents/sisyphus/gpt-5-5.d.ts +1 -1
- package/dist/agents/sisyphus/gpt-task-system-guide.d.ts +1 -0
- package/dist/agents/sisyphus/index.d.ts +5 -0
- package/dist/agents/sisyphus/kimi-k3.d.ts +19 -0
- package/dist/agents/sisyphus-agent-factory.d.ts +1 -1
- package/dist/agents/sisyphus-junior/agent.d.ts +8 -4
- package/dist/agents/sisyphus-junior/gpt-5-5.d.ts +2 -2
- package/dist/agents/sisyphus-junior/index.d.ts +2 -0
- package/dist/agents/sisyphus-junior/kimi-k3.d.ts +12 -0
- package/dist/agents/types.d.ts +2 -2
- package/dist/cli/index.js +781 -215
- package/dist/cli-node/index.js +781 -215
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/agent-overrides.d.ts +48 -48
- package/dist/config/schema/browser-automation.d.ts +1 -0
- package/dist/config/schema/categories.d.ts +6 -6
- package/dist/config/schema/codegraph.d.ts +2 -0
- package/dist/config/schema/commands.d.ts +1 -3
- package/dist/config/schema/default-mode.d.ts +1 -1
- package/dist/config/schema/fallback-models.d.ts +5 -5
- package/dist/config/schema/goal.d.ts +7 -0
- package/dist/config/schema/hooks.d.ts +1 -1
- package/dist/config/schema/oh-my-opencode-config.d.ts +56 -58
- package/dist/config/schema/ralph-loop.d.ts +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/create-hooks.d.ts +1 -1
- package/dist/features/builtin-commands/templates/goal.d.ts +1 -0
- package/dist/features/builtin-commands/templates/stop-continuation.d.ts +1 -1
- package/dist/features/builtin-commands/types.d.ts +1 -1
- package/dist/hooks/auto-slash-command/executor.d.ts +1 -0
- package/dist/hooks/codegraph-bootstrap/hook.d.ts +3 -2
- package/dist/hooks/goal/command-arguments.d.ts +13 -0
- package/dist/hooks/goal/controller.d.ts +26 -0
- package/dist/hooks/goal/index.d.ts +23 -0
- package/dist/hooks/goal/prompt.d.ts +3 -0
- package/dist/hooks/goal/store.d.ts +8 -0
- package/dist/hooks/goal/tools.d.ts +10 -0
- package/dist/hooks/goal/types.d.ts +93 -0
- package/dist/hooks/goal/validation.d.ts +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/keyword-detector/hook.d.ts +1 -2
- package/dist/hooks/ralph-loop/types.d.ts +1 -1
- package/dist/hooks/sisyphus-junior-notepad/constants.d.ts +1 -1
- package/dist/hooks/start-work/notepad-scaffold.d.ts +10 -0
- package/dist/index.js +5398 -5109
- package/dist/oh-my-opencode.schema.json +34 -19
- package/dist/plugin/chat-message/loop-commands.d.ts +1 -1
- package/dist/plugin/chat-message/types.d.ts +23 -10
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +3 -2
- package/dist/plugin/hooks/create-transform-hooks.d.ts +0 -2
- package/dist/plugin/stop-continuation.d.ts +2 -2
- package/dist/shared/omo-process-sweep.d.ts +18 -0
- package/dist/shared/system-directive.d.ts +0 -1
- package/dist/skills/programming/scripts/typescript/check-no-excuse-rules.test.ts +87 -0
- package/dist/skills/programming/scripts/typescript/check-no-excuse-rules.ts +35 -5
- package/dist/skills/ulw-plan/SKILL.md +31 -8
- package/dist/skills/ulw-plan/references/full-workflow.md +117 -6
- package/dist/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/dist/skills/ulw-research/SKILL.md +3 -3
- package/dist/testing/create-plugin-module.d.ts +1 -0
- package/dist/tools/delegate-task/types.d.ts +0 -1
- package/dist/tui.js +138 -80
- package/package.json +14 -14
- package/packages/git-bash-mcp/dist/cli.js +54 -8
- package/packages/lsp-core/src/lsp/client-diagnostics-freshness.integration.test.ts +60 -0
- package/packages/lsp-core/src/lsp/client.ts +14 -1
- package/packages/lsp-core/src/lsp/fixtures/diagnostics-freshness-contract-probe.ts +2 -2
- package/packages/lsp-core/src/mcp.ts +9 -0
- package/packages/lsp-daemon/dist/cli.js +319 -51
- package/packages/lsp-daemon/dist/client.js +136 -48
- package/packages/lsp-daemon/dist/daemon-client.d.ts +0 -10
- package/packages/lsp-daemon/dist/daemon-client.js +4 -34
- package/packages/lsp-daemon/dist/daemon-failure-result.d.ts +3 -0
- package/packages/lsp-daemon/dist/daemon-failure-result.js +38 -0
- package/packages/lsp-daemon/dist/daemon-request-error.d.ts +14 -0
- package/packages/lsp-daemon/dist/daemon-request-error.js +26 -0
- package/packages/lsp-daemon/dist/daemon-server.js +5 -1
- package/packages/lsp-daemon/dist/index.js +137 -48
- package/packages/lsp-daemon/dist/proxy.d.ts +2 -0
- package/packages/lsp-daemon/dist/proxy.js +1 -0
- package/packages/lsp-daemon/dist/version-reap.d.ts +26 -0
- package/packages/lsp-daemon/dist/version-reap.js +182 -0
- package/packages/lsp-tools-mcp/dist/cli.js +61 -10
- package/packages/lsp-tools-mcp/dist/lsp/manager.js +6 -1
- package/packages/lsp-tools-mcp/dist/mcp.js +61 -10
- package/packages/lsp-tools-mcp/dist/tools.js +6 -1
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +416 -25
- 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/bootstrap/src/setup.ts +22 -2
- package/packages/omo-codex/plugin/components/codegraph/AGENTS.md +7 -6
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +638 -267
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +178 -89
- package/packages/omo-codex/plugin/components/codegraph/package.json +2 -2
- package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +3 -1
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +3 -1
- package/packages/omo-codex/plugin/components/codegraph/src/mcp-bridge.ts +98 -32
- package/packages/omo-codex/plugin/components/codegraph/src/mcp-unavailable.ts +5 -0
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +15 -6
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +6 -2
- package/packages/omo-codex/plugin/components/codegraph/src/sweep-cli.ts +1 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/hook-store-upgrade.test.ts +148 -0
- package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +31 -2
- package/packages/omo-codex/plugin/components/codegraph/test/package-runtime.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge-lifecycle.test.ts +65 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +3 -7
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +57 -3
- package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +41 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +109 -8
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +2 -2
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +43 -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/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/AGENTS.md +1 -0
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +3 -3
- package/packages/omo-codex/plugin/components/lsp/dist/cli.js +80 -40
- 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/dist/cli.js +11 -0
- 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/rules/src/post-compact-budget.ts +11 -0
- package/packages/omo-codex/plugin/components/rules/test/post-compact-budget.test.ts +60 -0
- package/packages/omo-codex/plugin/components/start-work-continuation/AGENTS.md +8 -0
- package/packages/omo-codex/plugin/components/start-work-continuation/dist/cli.js +147 -60
- 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/start-work-continuation/src/boulder-reader.ts +3 -71
- package/packages/omo-codex/plugin/components/start-work-continuation/src/plan-checklist.ts +171 -0
- package/packages/omo-codex/plugin/components/start-work-continuation/test/boulder-reader.test.ts +198 -23
- package/packages/omo-codex/plugin/components/start-work-continuation/test/cli.test.ts +4 -3
- package/packages/omo-codex/plugin/components/start-work-continuation/test/codex-hook.test.ts +6 -5
- package/packages/omo-codex/plugin/components/start-work-continuation/test/fixtures/plan-scaffold.md +15 -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/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 +10 -10
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-clone-fidelity-reviewer.toml +2 -2
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-code-reviewer.toml +2 -2
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-gate-reviewer.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-worker-high.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-worker-medium.toml +2 -2
- package/packages/omo-codex/plugin/components/ultrawork/agents/momus.toml +3 -3
- package/packages/omo-codex/plugin/components/ultrawork/agents/plan.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +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 +31 -8
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +117 -6
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/packages/omo-codex/plugin/components/ultrawork/src/codex-hook.ts +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/test/codex-hook-trigger-policy.test.ts +42 -0
- package/packages/omo-codex/plugin/components/ulw-loop/README.md +6 -4
- package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-continuation.d.ts +21 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-continuation.js +64 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint.js +15 -2
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-arg-parser.js +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-commands.js +2 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-output.d.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-output.js +3 -3
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-steering.d.ts +3 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-steering.js +85 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-subcommands.d.ts +0 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-subcommands.js +13 -33
- package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +998 -593
- package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-goal-instruction.js +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/constants.d.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/constants.js +2 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/domain-types.d.ts +6 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/goal-status.d.ts +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/goal-status.js +3 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/plan-crud.d.ts +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/plan-crud.js +4 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/plan-io.d.ts +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/plan-io.js +10 -2
- package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-verdicts.js +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-batch.d.ts +15 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-batch.js +84 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-mutations.d.ts +5 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering-mutations.js +81 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/steering.js +7 -59
- package/packages/omo-codex/plugin/components/ulw-loop/dist/stop-resume-hook.js +12 -4
- package/packages/omo-codex/plugin/components/ulw-loop/dist/validation-batch.d.ts +9 -0
- package/packages/omo-codex/plugin/components/ulw-loop/dist/validation-batch.js +122 -0
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +8 -6
- package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint-continuation.ts +84 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint.ts +13 -2
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-arg-parser.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-commands.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-output.ts +3 -3
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-steering.ts +49 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/cli-subcommands.ts +13 -45
- package/packages/omo-codex/plugin/components/ulw-loop/src/codex-goal-instruction.ts +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/constants.ts +2 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/domain-types.ts +7 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/goal-status.ts +4 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/plan-crud.ts +4 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/plan-io.ts +20 -2
- package/packages/omo-codex/plugin/components/ulw-loop/src/quality-gate-verdicts.ts +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/src/steering-batch.ts +125 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/steering-mutations.ts +59 -0
- package/packages/omo-codex/plugin/components/ulw-loop/src/steering.ts +6 -58
- package/packages/omo-codex/plugin/components/ulw-loop/src/stop-resume-hook.ts +12 -4
- package/packages/omo-codex/plugin/components/ulw-loop/src/validation-batch.ts +122 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/checkpoint-continuation.test.ts +76 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/cli-checkpoint-continuation.test.ts +111 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/cli-steering-batch.test.ts +67 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/cli-validation-batch.test.ts +57 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/paths.test.ts +1 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/steering-batch.test.ts +152 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/stop-resume-hook.test.ts +29 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/validation-batch-checkpoint.test.ts +147 -0
- package/packages/omo-codex/plugin/components/ulw-loop/test/validation-batch.test.ts +73 -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-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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/packages/omo-codex/plugin/hooks/stop-checking-start-work-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-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 +41 -41
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/multi-agent-v2-guard.mjs +32 -28
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/subagent-limit-guard.mjs +17 -45
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/toml-section-editor.mjs +455 -0
- package/packages/omo-codex/plugin/scripts/sync-skills.mjs +3 -18
- package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +43 -0
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/check-no-excuse-rules.ts +35 -5
- package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +8 -6
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +31 -8
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +117 -6
- package/packages/omo-codex/plugin/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/packages/omo-codex/plugin/test/aggregate-agents.test.mjs +11 -11
- package/packages/omo-codex/plugin/test/aggregate-hooks.test.mjs +26 -0
- package/packages/omo-codex/plugin/test/bootstrap-setup.test.mjs +41 -0
- package/packages/omo-codex/plugin/test/lcx-bug-skills.test.mjs +2 -2
- package/packages/omo-codex/plugin/test/migrate-codex-config.test.mjs +6 -6
- package/packages/omo-codex/plugin/test/multi-agent-v2-regression.test.mjs +3 -3
- package/packages/omo-codex/plugin/test/scaffold-plan.test.mjs +62 -0
- package/packages/omo-codex/plugin/test/subagent-limit-migration.test.mjs +271 -14
- package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +3 -18
- package/packages/omo-codex/plugin/test/sync-skills.test.mjs +0 -5
- package/packages/omo-codex/plugin/test/ulw-plan-review-state-contract.test.mjs +293 -0
- package/packages/omo-codex/scripts/install-config.test.mjs +10 -10
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +401 -22
- package/packages/omo-codex/scripts/install-generated-bundle.test.mjs +39 -2
- package/packages/omo-codex/scripts/install-marketplace-cache.test.mjs +4 -1
- package/packages/shared-skills/skills/programming/scripts/typescript/check-no-excuse-rules.test.ts +87 -0
- package/packages/shared-skills/skills/programming/scripts/typescript/check-no-excuse-rules.ts +35 -5
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +31 -8
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +117 -6
- package/packages/shared-skills/skills/ulw-plan/scripts/scaffold-plan.mjs +46 -10
- package/packages/shared-skills/skills/ulw-research/SKILL.md +3 -3
- package/dist/features/builtin-commands/templates/ralph-loop.d.ts +0 -3
- package/dist/skills/ultraresearch/SKILL.md +0 -10
- package/packages/shared-skills/skills/lcx-contribute-bug-fix/SKILL.md +0 -273
- package/packages/shared-skills/skills/lcx-contribute-bug-fix/agents/openai.yaml +0 -12
- package/packages/shared-skills/skills/lcx-contribute-bug-fix/scripts/create-pr-body.mjs +0 -107
- package/packages/shared-skills/skills/lcx-doctor/SKILL.md +0 -128
- package/packages/shared-skills/skills/lcx-doctor/agents/openai.yaml +0 -11
- package/packages/shared-skills/skills/lcx-report-bug/SKILL.md +0 -268
- package/packages/shared-skills/skills/lcx-report-bug/agents/openai.yaml +0 -11
- package/packages/shared-skills/skills/ultraresearch/SKILL.md +0 -10
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-contribute-bug-fix/SKILL.md +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-contribute-bug-fix/agents/openai.yaml +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-contribute-bug-fix/scripts/create-pr-body.mjs +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-doctor/SKILL.md +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-doctor/agents/openai.yaml +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-report-bug/SKILL.md +0 -0
- /package/{dist → packages/omo-codex/plugin/components/lcx}/skills/lcx-report-bug/agents/openai.yaml +0 -0
|
@@ -11,9 +11,7 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
11
11
|
disabled_hooks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
12
|
disabled_commands: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13
13
|
"remove-ai-slops": "remove-ai-slops";
|
|
14
|
-
|
|
15
|
-
"ulw-loop": "ulw-loop";
|
|
16
|
-
"cancel-ralph": "cancel-ralph";
|
|
14
|
+
goal: "goal";
|
|
17
15
|
refactor: "refactor";
|
|
18
16
|
"start-work": "start-work";
|
|
19
17
|
"stop-continuation": "stop-continuation";
|
|
@@ -34,8 +32,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
34
32
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
35
33
|
max: "max";
|
|
36
34
|
medium: "medium";
|
|
37
|
-
high: "high";
|
|
38
35
|
xhigh: "xhigh";
|
|
36
|
+
high: "high";
|
|
39
37
|
low: "low";
|
|
40
38
|
none: "none";
|
|
41
39
|
minimal: "minimal";
|
|
@@ -56,8 +54,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
56
54
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
57
55
|
max: "max";
|
|
58
56
|
medium: "medium";
|
|
59
|
-
high: "high";
|
|
60
57
|
xhigh: "xhigh";
|
|
58
|
+
high: "high";
|
|
61
59
|
low: "low";
|
|
62
60
|
none: "none";
|
|
63
61
|
minimal: "minimal";
|
|
@@ -141,8 +139,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
141
139
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
142
140
|
max: "max";
|
|
143
141
|
medium: "medium";
|
|
144
|
-
high: "high";
|
|
145
142
|
xhigh: "xhigh";
|
|
143
|
+
high: "high";
|
|
146
144
|
low: "low";
|
|
147
145
|
none: "none";
|
|
148
146
|
minimal: "minimal";
|
|
@@ -170,8 +168,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
170
168
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
171
169
|
max: "max";
|
|
172
170
|
medium: "medium";
|
|
173
|
-
high: "high";
|
|
174
171
|
xhigh: "xhigh";
|
|
172
|
+
high: "high";
|
|
175
173
|
low: "low";
|
|
176
174
|
none: "none";
|
|
177
175
|
minimal: "minimal";
|
|
@@ -192,8 +190,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
192
190
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
193
191
|
max: "max";
|
|
194
192
|
medium: "medium";
|
|
195
|
-
high: "high";
|
|
196
193
|
xhigh: "xhigh";
|
|
194
|
+
high: "high";
|
|
197
195
|
low: "low";
|
|
198
196
|
none: "none";
|
|
199
197
|
minimal: "minimal";
|
|
@@ -277,8 +275,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
277
275
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
278
276
|
max: "max";
|
|
279
277
|
medium: "medium";
|
|
280
|
-
high: "high";
|
|
281
278
|
xhigh: "xhigh";
|
|
279
|
+
high: "high";
|
|
282
280
|
low: "low";
|
|
283
281
|
none: "none";
|
|
284
282
|
minimal: "minimal";
|
|
@@ -306,8 +304,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
306
304
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
307
305
|
max: "max";
|
|
308
306
|
medium: "medium";
|
|
309
|
-
high: "high";
|
|
310
307
|
xhigh: "xhigh";
|
|
308
|
+
high: "high";
|
|
311
309
|
low: "low";
|
|
312
310
|
none: "none";
|
|
313
311
|
minimal: "minimal";
|
|
@@ -328,8 +326,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
328
326
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
329
327
|
max: "max";
|
|
330
328
|
medium: "medium";
|
|
331
|
-
high: "high";
|
|
332
329
|
xhigh: "xhigh";
|
|
330
|
+
high: "high";
|
|
333
331
|
low: "low";
|
|
334
332
|
none: "none";
|
|
335
333
|
minimal: "minimal";
|
|
@@ -413,8 +411,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
413
411
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
414
412
|
max: "max";
|
|
415
413
|
medium: "medium";
|
|
416
|
-
high: "high";
|
|
417
414
|
xhigh: "xhigh";
|
|
415
|
+
high: "high";
|
|
418
416
|
low: "low";
|
|
419
417
|
none: "none";
|
|
420
418
|
minimal: "minimal";
|
|
@@ -442,8 +440,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
442
440
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
443
441
|
max: "max";
|
|
444
442
|
medium: "medium";
|
|
445
|
-
high: "high";
|
|
446
443
|
xhigh: "xhigh";
|
|
444
|
+
high: "high";
|
|
447
445
|
low: "low";
|
|
448
446
|
none: "none";
|
|
449
447
|
minimal: "minimal";
|
|
@@ -464,8 +462,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
464
462
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
465
463
|
max: "max";
|
|
466
464
|
medium: "medium";
|
|
467
|
-
high: "high";
|
|
468
465
|
xhigh: "xhigh";
|
|
466
|
+
high: "high";
|
|
469
467
|
low: "low";
|
|
470
468
|
none: "none";
|
|
471
469
|
minimal: "minimal";
|
|
@@ -549,8 +547,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
549
547
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
550
548
|
max: "max";
|
|
551
549
|
medium: "medium";
|
|
552
|
-
high: "high";
|
|
553
550
|
xhigh: "xhigh";
|
|
551
|
+
high: "high";
|
|
554
552
|
low: "low";
|
|
555
553
|
none: "none";
|
|
556
554
|
minimal: "minimal";
|
|
@@ -579,8 +577,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
579
577
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
580
578
|
max: "max";
|
|
581
579
|
medium: "medium";
|
|
582
|
-
high: "high";
|
|
583
580
|
xhigh: "xhigh";
|
|
581
|
+
high: "high";
|
|
584
582
|
low: "low";
|
|
585
583
|
none: "none";
|
|
586
584
|
minimal: "minimal";
|
|
@@ -601,8 +599,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
601
599
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
602
600
|
max: "max";
|
|
603
601
|
medium: "medium";
|
|
604
|
-
high: "high";
|
|
605
602
|
xhigh: "xhigh";
|
|
603
|
+
high: "high";
|
|
606
604
|
low: "low";
|
|
607
605
|
none: "none";
|
|
608
606
|
minimal: "minimal";
|
|
@@ -686,8 +684,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
686
684
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
687
685
|
max: "max";
|
|
688
686
|
medium: "medium";
|
|
689
|
-
high: "high";
|
|
690
687
|
xhigh: "xhigh";
|
|
688
|
+
high: "high";
|
|
691
689
|
low: "low";
|
|
692
690
|
none: "none";
|
|
693
691
|
minimal: "minimal";
|
|
@@ -715,8 +713,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
715
713
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
716
714
|
max: "max";
|
|
717
715
|
medium: "medium";
|
|
718
|
-
high: "high";
|
|
719
716
|
xhigh: "xhigh";
|
|
717
|
+
high: "high";
|
|
720
718
|
low: "low";
|
|
721
719
|
none: "none";
|
|
722
720
|
minimal: "minimal";
|
|
@@ -737,8 +735,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
737
735
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
738
736
|
max: "max";
|
|
739
737
|
medium: "medium";
|
|
740
|
-
high: "high";
|
|
741
738
|
xhigh: "xhigh";
|
|
739
|
+
high: "high";
|
|
742
740
|
low: "low";
|
|
743
741
|
none: "none";
|
|
744
742
|
minimal: "minimal";
|
|
@@ -822,8 +820,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
822
820
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
823
821
|
max: "max";
|
|
824
822
|
medium: "medium";
|
|
825
|
-
high: "high";
|
|
826
823
|
xhigh: "xhigh";
|
|
824
|
+
high: "high";
|
|
827
825
|
low: "low";
|
|
828
826
|
none: "none";
|
|
829
827
|
minimal: "minimal";
|
|
@@ -851,8 +849,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
851
849
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
852
850
|
max: "max";
|
|
853
851
|
medium: "medium";
|
|
854
|
-
high: "high";
|
|
855
852
|
xhigh: "xhigh";
|
|
853
|
+
high: "high";
|
|
856
854
|
low: "low";
|
|
857
855
|
none: "none";
|
|
858
856
|
minimal: "minimal";
|
|
@@ -873,8 +871,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
873
871
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
874
872
|
max: "max";
|
|
875
873
|
medium: "medium";
|
|
876
|
-
high: "high";
|
|
877
874
|
xhigh: "xhigh";
|
|
875
|
+
high: "high";
|
|
878
876
|
low: "low";
|
|
879
877
|
none: "none";
|
|
880
878
|
minimal: "minimal";
|
|
@@ -958,8 +956,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
958
956
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
959
957
|
max: "max";
|
|
960
958
|
medium: "medium";
|
|
961
|
-
high: "high";
|
|
962
959
|
xhigh: "xhigh";
|
|
960
|
+
high: "high";
|
|
963
961
|
low: "low";
|
|
964
962
|
none: "none";
|
|
965
963
|
minimal: "minimal";
|
|
@@ -987,8 +985,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
987
985
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
988
986
|
max: "max";
|
|
989
987
|
medium: "medium";
|
|
990
|
-
high: "high";
|
|
991
988
|
xhigh: "xhigh";
|
|
989
|
+
high: "high";
|
|
992
990
|
low: "low";
|
|
993
991
|
none: "none";
|
|
994
992
|
minimal: "minimal";
|
|
@@ -1009,8 +1007,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1009
1007
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1010
1008
|
max: "max";
|
|
1011
1009
|
medium: "medium";
|
|
1012
|
-
high: "high";
|
|
1013
1010
|
xhigh: "xhigh";
|
|
1011
|
+
high: "high";
|
|
1014
1012
|
low: "low";
|
|
1015
1013
|
none: "none";
|
|
1016
1014
|
minimal: "minimal";
|
|
@@ -1094,8 +1092,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1094
1092
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1095
1093
|
max: "max";
|
|
1096
1094
|
medium: "medium";
|
|
1097
|
-
high: "high";
|
|
1098
1095
|
xhigh: "xhigh";
|
|
1096
|
+
high: "high";
|
|
1099
1097
|
low: "low";
|
|
1100
1098
|
none: "none";
|
|
1101
1099
|
minimal: "minimal";
|
|
@@ -1123,8 +1121,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1123
1121
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1124
1122
|
max: "max";
|
|
1125
1123
|
medium: "medium";
|
|
1126
|
-
high: "high";
|
|
1127
1124
|
xhigh: "xhigh";
|
|
1125
|
+
high: "high";
|
|
1128
1126
|
low: "low";
|
|
1129
1127
|
none: "none";
|
|
1130
1128
|
minimal: "minimal";
|
|
@@ -1145,8 +1143,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1145
1143
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1146
1144
|
max: "max";
|
|
1147
1145
|
medium: "medium";
|
|
1148
|
-
high: "high";
|
|
1149
1146
|
xhigh: "xhigh";
|
|
1147
|
+
high: "high";
|
|
1150
1148
|
low: "low";
|
|
1151
1149
|
none: "none";
|
|
1152
1150
|
minimal: "minimal";
|
|
@@ -1230,8 +1228,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1230
1228
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1231
1229
|
max: "max";
|
|
1232
1230
|
medium: "medium";
|
|
1233
|
-
high: "high";
|
|
1234
1231
|
xhigh: "xhigh";
|
|
1232
|
+
high: "high";
|
|
1235
1233
|
low: "low";
|
|
1236
1234
|
none: "none";
|
|
1237
1235
|
minimal: "minimal";
|
|
@@ -1259,8 +1257,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1259
1257
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1260
1258
|
max: "max";
|
|
1261
1259
|
medium: "medium";
|
|
1262
|
-
high: "high";
|
|
1263
1260
|
xhigh: "xhigh";
|
|
1261
|
+
high: "high";
|
|
1264
1262
|
low: "low";
|
|
1265
1263
|
none: "none";
|
|
1266
1264
|
minimal: "minimal";
|
|
@@ -1281,8 +1279,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1281
1279
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1282
1280
|
max: "max";
|
|
1283
1281
|
medium: "medium";
|
|
1284
|
-
high: "high";
|
|
1285
1282
|
xhigh: "xhigh";
|
|
1283
|
+
high: "high";
|
|
1286
1284
|
low: "low";
|
|
1287
1285
|
none: "none";
|
|
1288
1286
|
minimal: "minimal";
|
|
@@ -1366,8 +1364,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1366
1364
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1367
1365
|
max: "max";
|
|
1368
1366
|
medium: "medium";
|
|
1369
|
-
high: "high";
|
|
1370
1367
|
xhigh: "xhigh";
|
|
1368
|
+
high: "high";
|
|
1371
1369
|
low: "low";
|
|
1372
1370
|
none: "none";
|
|
1373
1371
|
minimal: "minimal";
|
|
@@ -1395,8 +1393,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1395
1393
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1396
1394
|
max: "max";
|
|
1397
1395
|
medium: "medium";
|
|
1398
|
-
high: "high";
|
|
1399
1396
|
xhigh: "xhigh";
|
|
1397
|
+
high: "high";
|
|
1400
1398
|
low: "low";
|
|
1401
1399
|
none: "none";
|
|
1402
1400
|
minimal: "minimal";
|
|
@@ -1417,8 +1415,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1417
1415
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1418
1416
|
max: "max";
|
|
1419
1417
|
medium: "medium";
|
|
1420
|
-
high: "high";
|
|
1421
1418
|
xhigh: "xhigh";
|
|
1419
|
+
high: "high";
|
|
1422
1420
|
low: "low";
|
|
1423
1421
|
none: "none";
|
|
1424
1422
|
minimal: "minimal";
|
|
@@ -1502,8 +1500,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1502
1500
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1503
1501
|
max: "max";
|
|
1504
1502
|
medium: "medium";
|
|
1505
|
-
high: "high";
|
|
1506
1503
|
xhigh: "xhigh";
|
|
1504
|
+
high: "high";
|
|
1507
1505
|
low: "low";
|
|
1508
1506
|
none: "none";
|
|
1509
1507
|
minimal: "minimal";
|
|
@@ -1531,8 +1529,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1531
1529
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1532
1530
|
max: "max";
|
|
1533
1531
|
medium: "medium";
|
|
1534
|
-
high: "high";
|
|
1535
1532
|
xhigh: "xhigh";
|
|
1533
|
+
high: "high";
|
|
1536
1534
|
low: "low";
|
|
1537
1535
|
none: "none";
|
|
1538
1536
|
minimal: "minimal";
|
|
@@ -1553,8 +1551,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1553
1551
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1554
1552
|
max: "max";
|
|
1555
1553
|
medium: "medium";
|
|
1556
|
-
high: "high";
|
|
1557
1554
|
xhigh: "xhigh";
|
|
1555
|
+
high: "high";
|
|
1558
1556
|
low: "low";
|
|
1559
1557
|
none: "none";
|
|
1560
1558
|
minimal: "minimal";
|
|
@@ -1638,8 +1636,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1638
1636
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1639
1637
|
max: "max";
|
|
1640
1638
|
medium: "medium";
|
|
1641
|
-
high: "high";
|
|
1642
1639
|
xhigh: "xhigh";
|
|
1640
|
+
high: "high";
|
|
1643
1641
|
low: "low";
|
|
1644
1642
|
none: "none";
|
|
1645
1643
|
minimal: "minimal";
|
|
@@ -1667,8 +1665,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1667
1665
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1668
1666
|
max: "max";
|
|
1669
1667
|
medium: "medium";
|
|
1670
|
-
high: "high";
|
|
1671
1668
|
xhigh: "xhigh";
|
|
1669
|
+
high: "high";
|
|
1672
1670
|
low: "low";
|
|
1673
1671
|
none: "none";
|
|
1674
1672
|
minimal: "minimal";
|
|
@@ -1689,8 +1687,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1689
1687
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1690
1688
|
max: "max";
|
|
1691
1689
|
medium: "medium";
|
|
1692
|
-
high: "high";
|
|
1693
1690
|
xhigh: "xhigh";
|
|
1691
|
+
high: "high";
|
|
1694
1692
|
low: "low";
|
|
1695
1693
|
none: "none";
|
|
1696
1694
|
minimal: "minimal";
|
|
@@ -1774,8 +1772,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1774
1772
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1775
1773
|
max: "max";
|
|
1776
1774
|
medium: "medium";
|
|
1777
|
-
high: "high";
|
|
1778
1775
|
xhigh: "xhigh";
|
|
1776
|
+
high: "high";
|
|
1779
1777
|
low: "low";
|
|
1780
1778
|
none: "none";
|
|
1781
1779
|
minimal: "minimal";
|
|
@@ -1803,8 +1801,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1803
1801
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1804
1802
|
max: "max";
|
|
1805
1803
|
medium: "medium";
|
|
1806
|
-
high: "high";
|
|
1807
1804
|
xhigh: "xhigh";
|
|
1805
|
+
high: "high";
|
|
1808
1806
|
low: "low";
|
|
1809
1807
|
none: "none";
|
|
1810
1808
|
minimal: "minimal";
|
|
@@ -1825,8 +1823,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1825
1823
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1826
1824
|
max: "max";
|
|
1827
1825
|
medium: "medium";
|
|
1828
|
-
high: "high";
|
|
1829
1826
|
xhigh: "xhigh";
|
|
1827
|
+
high: "high";
|
|
1830
1828
|
low: "low";
|
|
1831
1829
|
none: "none";
|
|
1832
1830
|
minimal: "minimal";
|
|
@@ -1910,8 +1908,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1910
1908
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1911
1909
|
max: "max";
|
|
1912
1910
|
medium: "medium";
|
|
1913
|
-
high: "high";
|
|
1914
1911
|
xhigh: "xhigh";
|
|
1912
|
+
high: "high";
|
|
1915
1913
|
low: "low";
|
|
1916
1914
|
none: "none";
|
|
1917
1915
|
minimal: "minimal";
|
|
@@ -1939,8 +1937,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1939
1937
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1940
1938
|
max: "max";
|
|
1941
1939
|
medium: "medium";
|
|
1942
|
-
high: "high";
|
|
1943
1940
|
xhigh: "xhigh";
|
|
1941
|
+
high: "high";
|
|
1944
1942
|
low: "low";
|
|
1945
1943
|
none: "none";
|
|
1946
1944
|
minimal: "minimal";
|
|
@@ -1961,8 +1959,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1961
1959
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1962
1960
|
max: "max";
|
|
1963
1961
|
medium: "medium";
|
|
1964
|
-
high: "high";
|
|
1965
1962
|
xhigh: "xhigh";
|
|
1963
|
+
high: "high";
|
|
1966
1964
|
low: "low";
|
|
1967
1965
|
none: "none";
|
|
1968
1966
|
minimal: "minimal";
|
|
@@ -2046,8 +2044,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2046
2044
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2047
2045
|
max: "max";
|
|
2048
2046
|
medium: "medium";
|
|
2049
|
-
high: "high";
|
|
2050
2047
|
xhigh: "xhigh";
|
|
2048
|
+
high: "high";
|
|
2051
2049
|
low: "low";
|
|
2052
2050
|
none: "none";
|
|
2053
2051
|
minimal: "minimal";
|
|
@@ -2076,8 +2074,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2076
2074
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2077
2075
|
max: "max";
|
|
2078
2076
|
medium: "medium";
|
|
2079
|
-
high: "high";
|
|
2080
2077
|
xhigh: "xhigh";
|
|
2078
|
+
high: "high";
|
|
2081
2079
|
low: "low";
|
|
2082
2080
|
none: "none";
|
|
2083
2081
|
minimal: "minimal";
|
|
@@ -2098,8 +2096,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2098
2096
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2099
2097
|
max: "max";
|
|
2100
2098
|
medium: "medium";
|
|
2101
|
-
high: "high";
|
|
2102
2099
|
xhigh: "xhigh";
|
|
2100
|
+
high: "high";
|
|
2103
2101
|
low: "low";
|
|
2104
2102
|
none: "none";
|
|
2105
2103
|
minimal: "minimal";
|
|
@@ -2129,8 +2127,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2129
2127
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2130
2128
|
max: "max";
|
|
2131
2129
|
medium: "medium";
|
|
2132
|
-
high: "high";
|
|
2133
2130
|
xhigh: "xhigh";
|
|
2131
|
+
high: "high";
|
|
2134
2132
|
low: "low";
|
|
2135
2133
|
none: "none";
|
|
2136
2134
|
minimal: "minimal";
|
|
@@ -2228,15 +2226,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2228
2226
|
"allowed-tools": z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2229
2227
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2230
2228
|
}, z.core.$strip>]>>>]>>;
|
|
2231
|
-
|
|
2229
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
2232
2230
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2231
|
+
auto_start: z.ZodDefault<z.ZodBoolean>;
|
|
2233
2232
|
default_max_iterations: z.ZodDefault<z.ZodNumber>;
|
|
2234
|
-
state_dir: z.ZodOptional<z.ZodString>;
|
|
2235
|
-
default_strategy: z.ZodDefault<z.ZodEnum<{
|
|
2236
|
-
reset: "reset";
|
|
2237
|
-
continue: "continue";
|
|
2238
|
-
}>>;
|
|
2239
2233
|
}, z.core.$strip>>;
|
|
2234
|
+
ralph_loop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2240
2235
|
runtime_fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2241
2236
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2242
2237
|
retry_on_errors: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -2323,7 +2318,9 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2323
2318
|
codegraph: z.ZodOptional<z.ZodObject<{
|
|
2324
2319
|
auto_init: z.ZodDefault<z.ZodBoolean>;
|
|
2325
2320
|
auto_provision: z.ZodDefault<z.ZodBoolean>;
|
|
2321
|
+
daemon: z.ZodDefault<z.ZodBoolean>;
|
|
2326
2322
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2323
|
+
excluded_roots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2327
2324
|
install_dir: z.ZodOptional<z.ZodString>;
|
|
2328
2325
|
telemetry: z.ZodOptional<z.ZodBoolean>;
|
|
2329
2326
|
watch_debounce_ms: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2370,6 +2367,7 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2370
2367
|
"dev-browser": "dev-browser";
|
|
2371
2368
|
"playwright-cli": "playwright-cli";
|
|
2372
2369
|
}>>;
|
|
2370
|
+
playwright_mcp_args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2373
2371
|
}, z.core.$strip>>;
|
|
2374
2372
|
websearch: z.ZodOptional<z.ZodObject<{
|
|
2375
2373
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2412,7 +2410,7 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2412
2410
|
}, z.core.$strip>>;
|
|
2413
2411
|
default_mode: z.ZodOptional<z.ZodObject<{
|
|
2414
2412
|
ultrawork: z.ZodDefault<z.ZodBoolean>;
|
|
2415
|
-
|
|
2413
|
+
goal: z.ZodDefault<z.ZodBoolean>;
|
|
2416
2414
|
}, z.core.$strip>>;
|
|
2417
2415
|
_migrations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2418
2416
|
}, z.core.$strip>;
|
|
@@ -4,8 +4,8 @@ export declare const RalphLoopConfigSchema: z.ZodObject<{
|
|
|
4
4
|
default_max_iterations: z.ZodDefault<z.ZodNumber>;
|
|
5
5
|
state_dir: z.ZodOptional<z.ZodString>;
|
|
6
6
|
default_strategy: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
reset: "reset";
|
|
8
7
|
continue: "continue";
|
|
8
|
+
reset: "reset";
|
|
9
9
|
}>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
export type RalphLoopConfig = z.infer<typeof RalphLoopConfigSchema>;
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./schema/default-mode";
|
|
|
12
12
|
export * from "./schema/dynamic-context-pruning";
|
|
13
13
|
export * from "./schema/experimental";
|
|
14
14
|
export * from "./schema/fallback-models";
|
|
15
|
+
export * from "./schema/goal";
|
|
15
16
|
export * from "./schema/git-env-prefix";
|
|
16
17
|
export * from "./schema/git-master";
|
|
17
18
|
export * from "./schema/hooks";
|
|
@@ -20,7 +21,6 @@ export * from "./schema/keyword-detector";
|
|
|
20
21
|
export * from "./schema/model-capabilities";
|
|
21
22
|
export * from "./schema/notification";
|
|
22
23
|
export * from "./schema/oh-my-opencode-config";
|
|
23
|
-
export * from "./schema/ralph-loop";
|
|
24
24
|
export * from "./schema/runtime-fallback";
|
|
25
25
|
export * from "./schema/team-mode";
|
|
26
26
|
export * from "./schema/skills";
|
package/dist/create-hooks.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export declare function createHooks(args: {
|
|
|
77
77
|
agentUsageReminder: ReturnType<typeof import("./hooks").createAgentUsageReminderHook> | null;
|
|
78
78
|
nonInteractiveEnv: ReturnType<typeof import("./hooks").createNonInteractiveEnvHook> | null;
|
|
79
79
|
interactiveBashSession: ReturnType<typeof import("./hooks").createInteractiveBashSessionHook> | null;
|
|
80
|
-
|
|
80
|
+
goal: ReturnType<typeof import("./hooks").createGoalHook> | null;
|
|
81
81
|
editErrorRecovery: ReturnType<typeof import("./hooks").createEditErrorRecoveryHook> | null;
|
|
82
82
|
delegateTaskRetry: ReturnType<typeof import("./hooks").createDelegateTaskRetryHook> | null;
|
|
83
83
|
startWork: ReturnType<typeof import("./hooks").createStartWorkHook> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GOAL_TEMPLATE = "You are setting a thread Goal - a persistent objective that the agent will pursue continuously until paused, cleared, or completed.\n\n## How Goal Works\n\n1. The goal stays active for this thread/session\n2. When idle, the system will automatically inject a continuation prompt to keep working toward the goal\n3. The agent can call update_goal({ status: \"complete\" }) when the objective is actually achieved\n4. You can pause, resume, or clear the goal with /goal pause, /goal resume, /goal clear\n\n## Rules\n\n- Focus on completing the objective fully, not partially\n- Do not mark the goal complete until a completion audit confirms it is done\n- Each turn should make meaningful progress toward the goal\n- If stuck, try different approaches\n- Use todos to track your progress\n\n## Commands\n\n- /goal <objective> - Set or replace the active goal\n- /goal - Show the current goal\n- /goal pause - Pause the active goal (stops idle continuations)\n- /goal resume - Resume a paused goal\n- /goal clear - Clear the current goal\n\n## Your Task\n\nParse the arguments below and set the goal. The format is:\n`<objective>` or one of: pause, resume, clear";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const STOP_CONTINUATION_TEMPLATE = "Stop all continuation mechanisms for the current session.\n\nThis command will:\n1. Stop the todo-continuation-enforcer from automatically continuing incomplete tasks\n2. Cancel any active Ralph Loop\n3. Clear the boulder state for the current project\n\nAfter running this command:\n- The session will not auto-continue when idle\n- You can manually continue work when ready\n- The stop state is per-session and clears when the session ends\n\nUse this when you need to pause automated continuation and take manual control.";
|
|
1
|
+
export declare const STOP_CONTINUATION_TEMPLATE = "Stop all continuation mechanisms for the current session.\n\nThis command will:\n1. Stop the todo-continuation-enforcer from automatically continuing incomplete tasks\n2. Cancel any active Ralph Loop\n3. Clear the active Goal for this session\n4. Clear the boulder state for the current project\n\nAfter running this command:\n- The session will not auto-continue when idle\n- You can manually continue work when ready\n- The stop state is per-session and clears when the session ends\n\nUse this when you need to pause automated continuation and take manual control.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CommandDefinition } from "../claude-code-command-loader";
|
|
2
|
-
export type BuiltinCommandName = "
|
|
2
|
+
export type BuiltinCommandName = "goal" | "refactor" | "start-work" | "stop-continuation" | "handoff" | "remove-ai-slops" | "hyperplan";
|
|
3
3
|
export interface BuiltinCommandConfig {
|
|
4
4
|
disabled_commands?: BuiltinCommandName[];
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuildCodegraphEnvOptions, type CodegraphCommandResolution, type CodegraphNodeSupport, type CodegraphProvisionResult, type CodegraphWorkspacePreparation, type PrepareCodegraphWorkspaceOptions, type ResolveCodegraphCommandOptions } from "@oh-my-opencode/utils";
|
|
1
|
+
import { CODEGRAPH_PINNED_VERSION, type BuildCodegraphEnvOptions, type CodegraphCommandResolution, type CodegraphProjectExclusionDecision, type CodegraphProjectExclusionOptions, type CodegraphNodeSupport, type CodegraphProvisionResult, type CodegraphWorkspacePreparation, type PrepareCodegraphWorkspaceOptions, type ResolveCodegraphCommandOptions } from "@oh-my-opencode/utils";
|
|
2
2
|
import type { CodegraphConfig } from "../../config";
|
|
3
3
|
import type { CodegraphCommandResult } from "./command-runner";
|
|
4
4
|
export interface CodegraphBootstrapContext {
|
|
@@ -13,10 +13,11 @@ export interface CodegraphBootstrapEventInput {
|
|
|
13
13
|
export interface CodegraphBootstrapDeps {
|
|
14
14
|
readonly buildEnv: (options?: BuildCodegraphEnvOptions) => Record<string, string>;
|
|
15
15
|
readonly ensureGitignored: (projectRoot: string) => boolean;
|
|
16
|
+
readonly excludeProject: (projectRoot: string, options?: CodegraphProjectExclusionOptions) => CodegraphProjectExclusionDecision;
|
|
16
17
|
readonly ensureProvisioned: (options: {
|
|
17
18
|
readonly installDir?: string;
|
|
18
19
|
readonly lockDir: string;
|
|
19
|
-
readonly version:
|
|
20
|
+
readonly version: typeof CODEGRAPH_PINNED_VERSION;
|
|
20
21
|
}) => Promise<CodegraphProvisionResult>;
|
|
21
22
|
readonly log: (message: string, data?: Record<string, unknown>) => void;
|
|
22
23
|
readonly nodeSupport: () => CodegraphNodeSupport;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { GoalStatus } from "./types";
|
|
2
|
+
export type ParsedGoalCommand = {
|
|
3
|
+
readonly kind: "show";
|
|
4
|
+
} | {
|
|
5
|
+
readonly kind: "clear";
|
|
6
|
+
} | {
|
|
7
|
+
readonly kind: "setStatus";
|
|
8
|
+
readonly status: Extract<GoalStatus, "active" | "paused">;
|
|
9
|
+
} | {
|
|
10
|
+
readonly kind: "setObjective";
|
|
11
|
+
readonly objective: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function parseGoalCommand(rawArgs: string): ParsedGoalCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Goal, GoalStatus, TokenUsageSnapshot } from "./types";
|
|
2
|
+
export type GoalControllerOptions = {
|
|
3
|
+
readonly projectDir: string;
|
|
4
|
+
};
|
|
5
|
+
export type TuiLoopSnapshot = {
|
|
6
|
+
readonly version: 1;
|
|
7
|
+
readonly activeGoalId: string | undefined;
|
|
8
|
+
readonly goals: readonly {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly title: string;
|
|
11
|
+
readonly status: "in_progress" | "complete";
|
|
12
|
+
readonly successCriteria: readonly [];
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export type GoalController = ReturnType<typeof createGoalController>;
|
|
16
|
+
export declare function createGoalController(options: GoalControllerOptions): {
|
|
17
|
+
setGoal(sessionID: string, rawObjective: string): Goal;
|
|
18
|
+
getGoal(sessionID: string): Goal | null;
|
|
19
|
+
pauseGoal(sessionID: string): Goal | null;
|
|
20
|
+
resumeGoal(sessionID: string): Goal | null;
|
|
21
|
+
clearGoal(sessionID: string): boolean;
|
|
22
|
+
markComplete(sessionID: string): Goal | null;
|
|
23
|
+
accountUsage(sessionID: string, usage: TokenUsageSnapshot, elapsedSeconds: number): Goal | null;
|
|
24
|
+
updateTui(sessionID: string): void;
|
|
25
|
+
};
|
|
26
|
+
export declare function goalStatusForTui(status: GoalStatus): "in_progress" | "complete";
|