oh-my-opencode 4.18.2 → 4.19.0
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/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +4 -4
- package/README.ru.md +2 -2
- package/README.zh-cn.md +2 -2
- package/dist/agents/atlas/agent.d.ts +6 -5
- 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/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 +648 -136
- package/dist/cli-node/index.js +648 -136
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/browser-automation.d.ts +1 -0
- package/dist/config/schema/commands.d.ts +1 -3
- package/dist/config/schema/default-mode.d.ts +1 -1
- 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 +6 -10
- 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/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/index.js +3515 -4365
- package/dist/oh-my-opencode.schema.json +23 -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/system-directive.d.ts +0 -1
- package/dist/skills/ulw-plan/SKILL.md +11 -7
- 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/tools/delegate-task/types.d.ts +0 -1
- package/dist/tui.js +73 -25
- package/package.json +14 -14
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +352 -17
- 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 +7 -6
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +97 -30
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/AGENTS.md +1 -0
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/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/momus.toml +3 -3
- 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 +11 -7
- 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/ulw-loop/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-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 +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/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 +13 -13
- 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/skills/ulw-plan/SKILL.md +11 -7
- 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 +2 -2
- 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 +353 -18
- package/packages/omo-codex/scripts/install-generated-bundle.test.mjs +39 -2
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +11 -7
- 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
package/dist/tui.js
CHANGED
|
@@ -19890,7 +19890,8 @@ var init_browser_automation = __esm(() => {
|
|
|
19890
19890
|
"playwright-cli"
|
|
19891
19891
|
]);
|
|
19892
19892
|
BrowserAutomationConfigSchema = exports_external.object({
|
|
19893
|
-
provider: BrowserAutomationProviderSchema.default("playwright")
|
|
19893
|
+
provider: BrowserAutomationProviderSchema.default("playwright"),
|
|
19894
|
+
playwright_mcp_args: exports_external.array(exports_external.string()).optional()
|
|
19894
19895
|
});
|
|
19895
19896
|
});
|
|
19896
19897
|
|
|
@@ -19978,9 +19979,7 @@ var BuiltinCommandNameSchema;
|
|
|
19978
19979
|
var init_commands = __esm(() => {
|
|
19979
19980
|
init_zod();
|
|
19980
19981
|
BuiltinCommandNameSchema = exports_external.enum([
|
|
19981
|
-
"
|
|
19982
|
-
"ulw-loop",
|
|
19983
|
-
"cancel-ralph",
|
|
19982
|
+
"goal",
|
|
19984
19983
|
"refactor",
|
|
19985
19984
|
"start-work",
|
|
19986
19985
|
"stop-continuation",
|
|
@@ -19995,7 +19994,7 @@ var init_default_mode = __esm(() => {
|
|
|
19995
19994
|
init_zod();
|
|
19996
19995
|
DefaultModeConfigSchema = exports_external.object({
|
|
19997
19996
|
ultrawork: exports_external.boolean().default(false),
|
|
19998
|
-
|
|
19997
|
+
goal: exports_external.boolean().default(false)
|
|
19999
19998
|
});
|
|
20000
19999
|
});
|
|
20001
20000
|
|
|
@@ -20056,6 +20055,17 @@ var init_experimental = __esm(() => {
|
|
|
20056
20055
|
});
|
|
20057
20056
|
});
|
|
20058
20057
|
|
|
20058
|
+
// packages/omo-opencode/src/config/schema/goal.ts
|
|
20059
|
+
var GoalConfigSchema;
|
|
20060
|
+
var init_goal = __esm(() => {
|
|
20061
|
+
init_zod();
|
|
20062
|
+
GoalConfigSchema = exports_external.object({
|
|
20063
|
+
enabled: exports_external.boolean().default(false),
|
|
20064
|
+
auto_start: exports_external.boolean().default(false),
|
|
20065
|
+
default_max_iterations: exports_external.number().min(1).max(1000).default(100)
|
|
20066
|
+
});
|
|
20067
|
+
});
|
|
20068
|
+
|
|
20059
20069
|
// packages/skills-loader-core/src/config/git-env-prefix.ts
|
|
20060
20070
|
function isValidGitEnvPrefix(value) {
|
|
20061
20071
|
if (value === "") {
|
|
@@ -20116,7 +20126,7 @@ var init_hooks = __esm(() => {
|
|
|
20116
20126
|
"interactive-bash-session",
|
|
20117
20127
|
"tool-pair-validator",
|
|
20118
20128
|
"monitor-status-injector",
|
|
20119
|
-
"
|
|
20129
|
+
"goal",
|
|
20120
20130
|
"category-skill-reminder",
|
|
20121
20131
|
"compaction-context-injector",
|
|
20122
20132
|
"compaction-todo-preserver",
|
|
@@ -20264,18 +20274,6 @@ var init_monitor = __esm(() => {
|
|
|
20264
20274
|
});
|
|
20265
20275
|
});
|
|
20266
20276
|
|
|
20267
|
-
// packages/omo-opencode/src/config/schema/ralph-loop.ts
|
|
20268
|
-
var RalphLoopConfigSchema;
|
|
20269
|
-
var init_ralph_loop = __esm(() => {
|
|
20270
|
-
init_zod();
|
|
20271
|
-
RalphLoopConfigSchema = exports_external.object({
|
|
20272
|
-
enabled: exports_external.boolean().default(false),
|
|
20273
|
-
default_max_iterations: exports_external.number().min(1).max(1000).default(100),
|
|
20274
|
-
state_dir: exports_external.string().optional(),
|
|
20275
|
-
default_strategy: exports_external.enum(["reset", "continue"]).default("continue")
|
|
20276
|
-
});
|
|
20277
|
-
});
|
|
20278
|
-
|
|
20279
20277
|
// packages/omo-opencode/src/config/schema/runtime-fallback.ts
|
|
20280
20278
|
var RuntimeFallbackConfigSchema;
|
|
20281
20279
|
var init_runtime_fallback = __esm(() => {
|
|
@@ -20536,8 +20534,8 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
20536
20534
|
init_notification();
|
|
20537
20535
|
init_openclaw();
|
|
20538
20536
|
init_model_capabilities();
|
|
20537
|
+
init_goal();
|
|
20539
20538
|
init_monitor();
|
|
20540
|
-
init_ralph_loop();
|
|
20541
20539
|
init_runtime_fallback();
|
|
20542
20540
|
init_team_mode();
|
|
20543
20541
|
init_skills();
|
|
@@ -20572,7 +20570,8 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
20572
20570
|
experimental: ExperimentalConfigSchema.optional(),
|
|
20573
20571
|
auto_update: exports_external.boolean().optional(),
|
|
20574
20572
|
skills: SkillsConfigSchema.optional(),
|
|
20575
|
-
|
|
20573
|
+
goal: GoalConfigSchema.optional(),
|
|
20574
|
+
ralph_loop: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
|
|
20576
20575
|
runtime_fallback: exports_external.union([exports_external.boolean(), RuntimeFallbackConfigSchema]).optional(),
|
|
20577
20576
|
background_task: BackgroundTaskConfigSchema.optional(),
|
|
20578
20577
|
notification: NotificationConfigSchema.optional(),
|
|
@@ -20617,6 +20616,7 @@ var init_schema = __esm(() => {
|
|
|
20617
20616
|
init_dynamic_context_pruning();
|
|
20618
20617
|
init_experimental();
|
|
20619
20618
|
init_fallback_models();
|
|
20619
|
+
init_goal();
|
|
20620
20620
|
init_git_env_prefix2();
|
|
20621
20621
|
init_git_master();
|
|
20622
20622
|
init_hooks();
|
|
@@ -20625,7 +20625,6 @@ var init_schema = __esm(() => {
|
|
|
20625
20625
|
init_model_capabilities();
|
|
20626
20626
|
init_notification();
|
|
20627
20627
|
init_oh_my_opencode_config();
|
|
20628
|
-
init_ralph_loop();
|
|
20629
20628
|
init_runtime_fallback();
|
|
20630
20629
|
init_team_mode();
|
|
20631
20630
|
init_skills();
|
|
@@ -20671,6 +20670,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
20671
20670
|
model: "claude-opus-4-7",
|
|
20672
20671
|
variant: "max"
|
|
20673
20672
|
},
|
|
20673
|
+
{ providers: ["opencode-go", "kimi-for-coding", "moonshotai", "opencode", "vercel"], model: "kimi-k3" },
|
|
20674
20674
|
{ providers: ["opencode-go", "vercel"], model: "kimi-k2.6" },
|
|
20675
20675
|
{ providers: ["kimi-for-coding"], model: "k2p5" },
|
|
20676
20676
|
{
|
|
@@ -20803,12 +20803,12 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
20803
20803
|
fallbackChain: [
|
|
20804
20804
|
{
|
|
20805
20805
|
providers: ["openai", "vercel"],
|
|
20806
|
-
model: "gpt-5.6-
|
|
20807
|
-
variant: "
|
|
20806
|
+
model: "gpt-5.6-terra",
|
|
20807
|
+
variant: "high"
|
|
20808
20808
|
},
|
|
20809
20809
|
{
|
|
20810
20810
|
providers: ["github-copilot"],
|
|
20811
|
-
model: "gpt-5.6-
|
|
20811
|
+
model: "gpt-5.6-terra",
|
|
20812
20812
|
variant: "high"
|
|
20813
20813
|
},
|
|
20814
20814
|
{
|
|
@@ -21381,6 +21381,21 @@ var init_runtime_fallback_model = () => {};
|
|
|
21381
21381
|
var SUPPLEMENTAL_MODEL_CAPABILITIES;
|
|
21382
21382
|
var init_supplemental_entries = __esm(() => {
|
|
21383
21383
|
SUPPLEMENTAL_MODEL_CAPABILITIES = {
|
|
21384
|
+
"kimi-k3": {
|
|
21385
|
+
id: "kimi-k3",
|
|
21386
|
+
family: "kimi",
|
|
21387
|
+
reasoning: true,
|
|
21388
|
+
temperature: true,
|
|
21389
|
+
toolCall: true,
|
|
21390
|
+
modalities: {
|
|
21391
|
+
input: ["text", "image", "video"],
|
|
21392
|
+
output: ["text"]
|
|
21393
|
+
},
|
|
21394
|
+
limit: {
|
|
21395
|
+
context: 262144,
|
|
21396
|
+
output: 262144
|
|
21397
|
+
}
|
|
21398
|
+
},
|
|
21384
21399
|
"kimi-k2.6": {
|
|
21385
21400
|
id: "kimi-k2.6",
|
|
21386
21401
|
family: "kimi",
|
|
@@ -76229,13 +76244,45 @@ function mergeLoadedConfig(userLayersNearestFirst, projectLayersNearestFirst) {
|
|
|
76229
76244
|
config3 = mergeConfigs(config3, layer.config);
|
|
76230
76245
|
}
|
|
76231
76246
|
const userMcpEnvAllowlist = config3.mcp_env_allowlist ?? [];
|
|
76247
|
+
const userPlaywrightMcpArgs = config3.browser_automation_engine?.playwright_mcp_args;
|
|
76232
76248
|
for (const layer of [...projectLayersNearestFirst].reverse()) {
|
|
76233
76249
|
if (layer.config)
|
|
76234
76250
|
config3 = mergeConfigs(config3, layer.config);
|
|
76235
76251
|
}
|
|
76236
76252
|
config3 = { ...config3, mcp_env_allowlist: userMcpEnvAllowlist };
|
|
76253
|
+
if (config3.browser_automation_engine) {
|
|
76254
|
+
const {
|
|
76255
|
+
playwright_mcp_args: _projectPlaywrightMcpArgs,
|
|
76256
|
+
...browserAutomationEngine
|
|
76257
|
+
} = config3.browser_automation_engine;
|
|
76258
|
+
config3 = {
|
|
76259
|
+
...config3,
|
|
76260
|
+
browser_automation_engine: userPlaywrightMcpArgs !== undefined ? { ...browserAutomationEngine, playwright_mcp_args: userPlaywrightMcpArgs } : browserAutomationEngine
|
|
76261
|
+
};
|
|
76262
|
+
}
|
|
76237
76263
|
return applyDisabledProviders(config3);
|
|
76238
76264
|
}
|
|
76265
|
+
function migrateRalphLoopConfig(config3) {
|
|
76266
|
+
const legacy = config3.ralph_loop;
|
|
76267
|
+
if (legacy === undefined) {
|
|
76268
|
+
return config3;
|
|
76269
|
+
}
|
|
76270
|
+
const enabled = typeof legacy.enabled === "boolean" ? legacy.enabled : undefined;
|
|
76271
|
+
const defaultMaxIterations = typeof legacy.default_max_iterations === "number" ? legacy.default_max_iterations : undefined;
|
|
76272
|
+
if (enabled === undefined && defaultMaxIterations === undefined) {
|
|
76273
|
+
return config3;
|
|
76274
|
+
}
|
|
76275
|
+
log2("[config] ralph_loop is deprecated and will be removed in a future release. Use goal instead.");
|
|
76276
|
+
const existingGoal = config3.goal;
|
|
76277
|
+
return {
|
|
76278
|
+
...config3,
|
|
76279
|
+
goal: {
|
|
76280
|
+
enabled: existingGoal?.enabled ?? enabled ?? false,
|
|
76281
|
+
auto_start: existingGoal?.auto_start ?? false,
|
|
76282
|
+
default_max_iterations: existingGoal?.default_max_iterations ?? defaultMaxIterations ?? 100
|
|
76283
|
+
}
|
|
76284
|
+
};
|
|
76285
|
+
}
|
|
76239
76286
|
function validatePluginConfig(directory) {
|
|
76240
76287
|
const userLayersNearestFirst = discoverUserLayers().map((layer) => parseLayerConfig(layer.path));
|
|
76241
76288
|
const projectLayersNearestFirst = discoverProjectLayersNearestFirst(directory).map((layer) => parseLayerConfig(layer.path));
|
|
@@ -76245,7 +76292,7 @@ function validatePluginConfig(directory) {
|
|
|
76245
76292
|
valid: messages.length === 0,
|
|
76246
76293
|
messages,
|
|
76247
76294
|
path: firstFailingPath(layers) ?? firstPath(layers),
|
|
76248
|
-
config: mergeLoadedConfig(userLayersNearestFirst, projectLayersNearestFirst)
|
|
76295
|
+
config: migrateRalphLoopConfig(mergeLoadedConfig(userLayersNearestFirst, projectLayersNearestFirst))
|
|
76249
76296
|
};
|
|
76250
76297
|
}
|
|
76251
76298
|
var init_validate = __esm(() => {
|
|
@@ -76254,6 +76301,7 @@ var init_validate = __esm(() => {
|
|
|
76254
76301
|
init_single_config_loader();
|
|
76255
76302
|
init_shared();
|
|
76256
76303
|
init_disabled_providers();
|
|
76304
|
+
init_logger2();
|
|
76257
76305
|
init_plugin_identity();
|
|
76258
76306
|
init_schema();
|
|
76259
76307
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"install:codex-dev": "bun run script/build-codex-install.ts && bun run script/install-codex-dev.ts",
|
|
111
111
|
"build:codex-plugin": "npm --prefix packages/omo-codex/plugin ci && bun run --cwd packages/omo-codex/plugin build",
|
|
112
112
|
"build:senpi-plugin": "bun run build:lsp-daemon && bun run build:senpi-plugin:stage",
|
|
113
|
-
"build:senpi-plugin:stage": "node packages/omo-senpi/plugin/scripts/stage-lsp-daemon-runtime.mjs && node packages/omo-senpi/plugin/scripts/build-extension.mjs && node packages/omo-senpi/plugin/scripts/sync-skills.mjs && node packages/omo-senpi/plugin/scripts/embed-directive.mjs --check && node packages/omo-senpi/plugin/scripts/build-install.mjs",
|
|
113
|
+
"build:senpi-plugin:stage": "bun run build:materialize-frontend && node packages/omo-senpi/plugin/scripts/stage-lsp-daemon-runtime.mjs && node packages/omo-senpi/plugin/scripts/build-extension.mjs && node packages/omo-senpi/plugin/scripts/sync-skills.mjs && node packages/omo-senpi/plugin/scripts/embed-directive.mjs --check && node packages/omo-senpi/plugin/scripts/build-install.mjs",
|
|
114
114
|
"build:materialize-frontend": "node packages/omo-codex/plugin/scripts/materialize-shared-upstreams.mjs --strict",
|
|
115
115
|
"build:shared-skills-assets": "bun run build:materialize-frontend && rm -rf dist/skills && cp -R packages/shared-skills/skills dist/skills",
|
|
116
116
|
"build:lsp-tools-mcp": "npm --prefix packages/lsp-tools-mcp ci && npm --prefix packages/lsp-tools-mcp run build",
|
|
@@ -212,18 +212,18 @@
|
|
|
212
212
|
"typescript": "^6.0.3"
|
|
213
213
|
},
|
|
214
214
|
"optionalDependencies": {
|
|
215
|
-
"oh-my-opencode-darwin-arm64": "4.
|
|
216
|
-
"oh-my-opencode-darwin-x64": "4.
|
|
217
|
-
"oh-my-opencode-darwin-x64-baseline": "4.
|
|
218
|
-
"oh-my-opencode-linux-arm64": "4.
|
|
219
|
-
"oh-my-opencode-linux-arm64-musl": "4.
|
|
220
|
-
"oh-my-opencode-linux-x64": "4.
|
|
221
|
-
"oh-my-opencode-linux-x64-baseline": "4.
|
|
222
|
-
"oh-my-opencode-linux-x64-musl": "4.
|
|
223
|
-
"oh-my-opencode-linux-x64-musl-baseline": "4.
|
|
224
|
-
"oh-my-opencode-windows-arm64": "4.
|
|
225
|
-
"oh-my-opencode-windows-x64": "4.
|
|
226
|
-
"oh-my-opencode-windows-x64-baseline": "4.
|
|
215
|
+
"oh-my-opencode-darwin-arm64": "4.19.0",
|
|
216
|
+
"oh-my-opencode-darwin-x64": "4.19.0",
|
|
217
|
+
"oh-my-opencode-darwin-x64-baseline": "4.19.0",
|
|
218
|
+
"oh-my-opencode-linux-arm64": "4.19.0",
|
|
219
|
+
"oh-my-opencode-linux-arm64-musl": "4.19.0",
|
|
220
|
+
"oh-my-opencode-linux-x64": "4.19.0",
|
|
221
|
+
"oh-my-opencode-linux-x64-baseline": "4.19.0",
|
|
222
|
+
"oh-my-opencode-linux-x64-musl": "4.19.0",
|
|
223
|
+
"oh-my-opencode-linux-x64-musl-baseline": "4.19.0",
|
|
224
|
+
"oh-my-opencode-windows-arm64": "4.19.0",
|
|
225
|
+
"oh-my-opencode-windows-x64": "4.19.0",
|
|
226
|
+
"oh-my-opencode-windows-x64-baseline": "4.19.0"
|
|
227
227
|
},
|
|
228
228
|
"overrides": {
|
|
229
229
|
"@earendil-works/pi-agent-core": "0.80.3",
|