oh-my-claudecode-opencode 0.3.0 → 0.5.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.md +87 -12
- package/assets/AGENTS.md +20 -20
- package/assets/agents/executor.md +1 -1
- package/assets/omco.schema.json +3 -3
- package/assets/skills/doctor.md +50 -154
- package/bin/doctor.js +264 -0
- package/bin/doctor.ts +358 -0
- package/dist/config/index.d.ts +1 -1
- package/dist/index.js +40 -37
- package/package.json +8 -3
package/dist/index.js
CHANGED
|
@@ -20644,7 +20644,7 @@ var OmoOmcsConfigSchema = exports_external.object({
|
|
|
20644
20644
|
context_recovery: ContextRecoveryConfigSchema.optional(),
|
|
20645
20645
|
edit_error_recovery: EditErrorRecoveryConfigSchema.optional(),
|
|
20646
20646
|
tui_status: TuiStatusConfigSchema.optional(),
|
|
20647
|
-
|
|
20647
|
+
omco_agent: exports_external.object({
|
|
20648
20648
|
disabled: exports_external.boolean().optional(),
|
|
20649
20649
|
planner_enabled: exports_external.boolean().optional(),
|
|
20650
20650
|
replace_plan: exports_external.boolean().optional()
|
|
@@ -20768,7 +20768,7 @@ function loadConfig(directory) {
|
|
|
20768
20768
|
delegationEnforcement: "warn",
|
|
20769
20769
|
auditLogEnabled: true
|
|
20770
20770
|
},
|
|
20771
|
-
|
|
20771
|
+
omco_agent: {
|
|
20772
20772
|
disabled: false
|
|
20773
20773
|
}
|
|
20774
20774
|
};
|
|
@@ -20899,7 +20899,7 @@ var architectMediumAgent = {
|
|
|
20899
20899
|
systemPrompt: architectSystemPrompt
|
|
20900
20900
|
};
|
|
20901
20901
|
var executorSystemPrompt = `<Role>
|
|
20902
|
-
|
|
20902
|
+
OMCO-Junior - Focused executor from OhMyOpenCode.
|
|
20903
20903
|
Execute tasks directly. NEVER delegate or spawn other agents.
|
|
20904
20904
|
</Role>
|
|
20905
20905
|
|
|
@@ -21593,6 +21593,9 @@ var AGENT_ALIASES = {
|
|
|
21593
21593
|
"sisyphus-junior": "executor",
|
|
21594
21594
|
"sisyphus-junior-low": "executor-low",
|
|
21595
21595
|
"sisyphus-junior-high": "executor-high",
|
|
21596
|
+
"omco-junior": "executor",
|
|
21597
|
+
"omco-junior-low": "executor-low",
|
|
21598
|
+
"omco-junior-high": "executor-high",
|
|
21596
21599
|
librarian: "researcher",
|
|
21597
21600
|
"librarian-low": "researcher-low",
|
|
21598
21601
|
"frontend-engineer": "designer",
|
|
@@ -34473,7 +34476,7 @@ $ARGUMENTS
|
|
|
34473
34476
|
|
|
34474
34477
|
Begin working NOW. PARALLEL EVERYTHING.`,
|
|
34475
34478
|
description: "Maximum intensity mode - parallel everything, delegate aggressively",
|
|
34476
|
-
agent: "
|
|
34479
|
+
agent: "OMCO"
|
|
34477
34480
|
},
|
|
34478
34481
|
"ralph-loop": {
|
|
34479
34482
|
template: `[RALPH LOOP ACTIVATED - COMPLETION GUARANTEE]
|
|
@@ -34497,7 +34500,7 @@ The \`<promise>TASK_COMPLETE</promise>\` tag binds you to completion. You may ON
|
|
|
34497
34500
|
|
|
34498
34501
|
Begin working NOW. The loop will not release you until you earn your \`<promise>TASK_COMPLETE</promise>\`.`,
|
|
34499
34502
|
description: "Self-referential development loop until task completion",
|
|
34500
|
-
agent: "
|
|
34503
|
+
agent: "OMCO"
|
|
34501
34504
|
},
|
|
34502
34505
|
"ultrawork-ralph": {
|
|
34503
34506
|
template: `[ULTRAWORK-RALPH ACTIVATED - MAXIMUM INTENSITY + COMPLETION GUARANTEE]
|
|
@@ -34518,7 +34521,7 @@ There is no half-measures. There is no early exit. Work at MAXIMUM INTENSITY unt
|
|
|
34518
34521
|
|
|
34519
34522
|
Begin working NOW. PARALLEL EVERYTHING. The loop will not release you until you earn your \`<promise>TASK_COMPLETE</promise>\`.`,
|
|
34520
34523
|
description: "Maximum intensity mode with completion guarantee",
|
|
34521
|
-
agent: "
|
|
34524
|
+
agent: "OMCO"
|
|
34522
34525
|
},
|
|
34523
34526
|
deepsearch: {
|
|
34524
34527
|
template: `Perform a thorough search across the codebase for:
|
|
@@ -34534,7 +34537,7 @@ Use multiple search strategies:
|
|
|
34534
34537
|
|
|
34535
34538
|
Return comprehensive results with file paths and relevant code snippets.`,
|
|
34536
34539
|
description: "Thorough codebase search",
|
|
34537
|
-
agent: "
|
|
34540
|
+
agent: "OMCO"
|
|
34538
34541
|
},
|
|
34539
34542
|
analyze: {
|
|
34540
34543
|
template: `Perform deep analysis and investigation of:
|
|
@@ -34551,7 +34554,7 @@ Analyze systematically:
|
|
|
34551
34554
|
|
|
34552
34555
|
Return thorough analysis with evidence and recommendations.`,
|
|
34553
34556
|
description: "Deep analysis and investigation",
|
|
34554
|
-
agent: "
|
|
34557
|
+
agent: "OMCO"
|
|
34555
34558
|
},
|
|
34556
34559
|
"update-omco": {
|
|
34557
34560
|
template: `Update oh-my-claudecode-opencode plugin to the latest version.
|
|
@@ -34595,7 +34598,7 @@ This will:
|
|
|
34595
34598
|
|
|
34596
34599
|
The loop has been cancelled. You are now free.`,
|
|
34597
34600
|
description: "Cancel active Ralph Loop",
|
|
34598
|
-
agent: "
|
|
34601
|
+
agent: "OMCO"
|
|
34599
34602
|
},
|
|
34600
34603
|
"cancel-ultrawork": {
|
|
34601
34604
|
template: `[ULTRAWORK CANCELLED]
|
|
@@ -34625,7 +34628,7 @@ Since v3.0, Ralph automatically activates Ultrawork. If you see \`linked_to_ralp
|
|
|
34625
34628
|
- Use \`/cancel-ralph\` to cancel both modes
|
|
34626
34629
|
- If you only cancel ultrawork, Ralph will continue but without parallel execution benefits`,
|
|
34627
34630
|
description: "Cancel active Ultrawork mode",
|
|
34628
|
-
agent: "
|
|
34631
|
+
agent: "OMCO"
|
|
34629
34632
|
},
|
|
34630
34633
|
doctor: {
|
|
34631
34634
|
template: `[DOCTOR MODE ACTIVATED - DIAGNOSTICS]
|
|
@@ -34639,7 +34642,7 @@ Run installation diagnostics for oh-my-claudecode-opencode:
|
|
|
34639
34642
|
|
|
34640
34643
|
Report any issues found and suggest fixes.`,
|
|
34641
34644
|
description: "Diagnose and fix oh-my-claudecode-opencode installation issues",
|
|
34642
|
-
agent: "
|
|
34645
|
+
agent: "OMCO"
|
|
34643
34646
|
},
|
|
34644
34647
|
status: {
|
|
34645
34648
|
template: `[STATUS CHECK - AGENT VISIBILITY]
|
|
@@ -34681,7 +34684,7 @@ echo "=== Ralplan State ===" && cat .omc/ralplan-state.json 2>/dev/null || echo
|
|
|
34681
34684
|
|
|
34682
34685
|
4. **Warn if Stuck** - If any state shows no progress for >5 minutes, warn user`,
|
|
34683
34686
|
description: "Show current status of all omco modes and agents",
|
|
34684
|
-
agent: "
|
|
34687
|
+
agent: "OMCO"
|
|
34685
34688
|
},
|
|
34686
34689
|
"cancel-ultraqa": {
|
|
34687
34690
|
template: `Cancel the currently active UltraQA workflow.
|
|
@@ -34693,7 +34696,7 @@ This will:
|
|
|
34693
34696
|
|
|
34694
34697
|
The UltraQA workflow has been cancelled.`,
|
|
34695
34698
|
description: "Cancel active UltraQA cycling workflow",
|
|
34696
|
-
agent: "
|
|
34699
|
+
agent: "OMCO"
|
|
34697
34700
|
},
|
|
34698
34701
|
ultraqa: {
|
|
34699
34702
|
template: `[ULTRAQA ACTIVATED - AUTONOMOUS QA CYCLING]
|
|
@@ -34716,7 +34719,7 @@ Exit conditions:
|
|
|
34716
34719
|
|
|
34717
34720
|
Begin QA cycling now.`,
|
|
34718
34721
|
description: "QA cycling workflow - test, verify, fix, repeat until goal met",
|
|
34719
|
-
agent: "
|
|
34722
|
+
agent: "OMCO"
|
|
34720
34723
|
},
|
|
34721
34724
|
ralplan: {
|
|
34722
34725
|
template: `[RALPLAN ACTIVATED - ITERATIVE PLANNING]
|
|
@@ -34735,7 +34738,7 @@ Plan saved to .omc/plans/{feature-name}.md
|
|
|
34735
34738
|
|
|
34736
34739
|
Begin planning now.`,
|
|
34737
34740
|
description: "Iterative planning with Planner, Architect, and Critic until consensus",
|
|
34738
|
-
agent: "
|
|
34741
|
+
agent: "OMCO"
|
|
34739
34742
|
},
|
|
34740
34743
|
plan: {
|
|
34741
34744
|
template: `[PLANNING SESSION STARTED]
|
|
@@ -34749,7 +34752,7 @@ Starting strategic planning session. The Planner will:
|
|
|
34749
34752
|
|
|
34750
34753
|
Say "Create the plan" when ready to generate the plan file.`,
|
|
34751
34754
|
description: "Start a planning session with Planner",
|
|
34752
|
-
agent: "
|
|
34755
|
+
agent: "OMCO"
|
|
34753
34756
|
},
|
|
34754
34757
|
review: {
|
|
34755
34758
|
template: `[PLAN REVIEW REQUESTED]
|
|
@@ -34764,7 +34767,7 @@ Spawning Critic agent to evaluate the plan against quality criteria:
|
|
|
34764
34767
|
|
|
34765
34768
|
The Critic will return OKAY or REJECT with specific feedback.`,
|
|
34766
34769
|
description: "Review a plan with Critic",
|
|
34767
|
-
agent: "
|
|
34770
|
+
agent: "OMCO"
|
|
34768
34771
|
},
|
|
34769
34772
|
note: {
|
|
34770
34773
|
template: `Save important context to \`.omc/notepad.md\` that survives conversation compaction.
|
|
@@ -34798,7 +34801,7 @@ The Critic will return OKAY or REJECT with specific feedback.`,
|
|
|
34798
34801
|
|
|
34799
34802
|
Input: $ARGUMENTS`,
|
|
34800
34803
|
description: "Save notes to notepad.md for compaction resilience",
|
|
34801
|
-
agent: "
|
|
34804
|
+
agent: "OMCO"
|
|
34802
34805
|
},
|
|
34803
34806
|
help: {
|
|
34804
34807
|
template: `# How OMC Works
|
|
@@ -34849,7 +34852,7 @@ Just say "stop", "cancel", or "abort" - I'll figure out what to stop based on co
|
|
|
34849
34852
|
|
|
34850
34853
|
*Version: 0.2.0 (synced with omc 3.3.6)*`,
|
|
34851
34854
|
description: "Show oh-my-claudecode-opencode usage guide",
|
|
34852
|
-
agent: "
|
|
34855
|
+
agent: "OMCO"
|
|
34853
34856
|
},
|
|
34854
34857
|
learner: {
|
|
34855
34858
|
template: `[LEARNER - SKILL EXTRACTION MODE]
|
|
@@ -34912,7 +34915,7 @@ The decision-making heuristic, not just code.
|
|
|
34912
34915
|
|
|
34913
34916
|
Now extract a skill from: $ARGUMENTS`,
|
|
34914
34917
|
description: "Extract a learned skill from the current conversation",
|
|
34915
|
-
agent: "
|
|
34918
|
+
agent: "OMCO"
|
|
34916
34919
|
},
|
|
34917
34920
|
deepinit: {
|
|
34918
34921
|
template: `[DEEPINIT - HIERARCHICAL AGENTS.MD GENERATION]
|
|
@@ -34984,7 +34987,7 @@ For each directory:
|
|
|
34984
34987
|
|
|
34985
34988
|
Target: $ARGUMENTS`,
|
|
34986
34989
|
description: "Generate hierarchical AGENTS.md documentation across codebase",
|
|
34987
|
-
agent: "
|
|
34990
|
+
agent: "OMCO"
|
|
34988
34991
|
},
|
|
34989
34992
|
autopilot: {
|
|
34990
34993
|
template: `[AUTOPILOT ACTIVATED - AUTONOMOUS EXECUTION MODE]
|
|
@@ -35031,7 +35034,7 @@ When all phases complete, output:
|
|
|
35031
35034
|
|
|
35032
35035
|
Begin with Phase 1: Expansion. Spawn Analyst agent now.`,
|
|
35033
35036
|
description: "Full autonomous execution from idea to working code",
|
|
35034
|
-
agent: "
|
|
35037
|
+
agent: "OMCO"
|
|
35035
35038
|
},
|
|
35036
35039
|
"cancel-autopilot": {
|
|
35037
35040
|
template: `[AUTOPILOT CANCELLED]
|
|
@@ -35045,7 +35048,7 @@ rm -f .omc/autopilot-state.json
|
|
|
35045
35048
|
|
|
35046
35049
|
You are now free to work normally.`,
|
|
35047
35050
|
description: "Cancel active autopilot session",
|
|
35048
|
-
agent: "
|
|
35051
|
+
agent: "OMCO"
|
|
35049
35052
|
},
|
|
35050
35053
|
research: {
|
|
35051
35054
|
template: `[RESEARCH MODE ACTIVATED - PARALLEL SCIENTIST ORCHESTRATION]
|
|
@@ -35065,7 +35068,7 @@ Use scientist-low for quick lookups, scientist for standard analysis, scientist-
|
|
|
35065
35068
|
|
|
35066
35069
|
Report findings with evidence and confidence levels.`,
|
|
35067
35070
|
description: "Orchestrate parallel scientist agents for comprehensive research",
|
|
35068
|
-
agent: "
|
|
35071
|
+
agent: "OMCO"
|
|
35069
35072
|
},
|
|
35070
35073
|
"ralph-init": {
|
|
35071
35074
|
template: `[RALPH-INIT - PRD CREATION MODE]
|
|
@@ -35115,10 +35118,10 @@ After creating files, report summary and suggest running \`/ralph-loop\` to star
|
|
|
35115
35118
|
|
|
35116
35119
|
Task to break down: $ARGUMENTS`,
|
|
35117
35120
|
description: "Initialize PRD for structured ralph-loop execution",
|
|
35118
|
-
agent: "
|
|
35121
|
+
agent: "OMCO"
|
|
35119
35122
|
}
|
|
35120
35123
|
};
|
|
35121
|
-
function
|
|
35124
|
+
function buildOmcoAgent(_pluginConfig, availableAgents) {
|
|
35122
35125
|
const agentList = availableAgents.map((a) => `- ${a.name}: ${a.description}`).join(`
|
|
35123
35126
|
`);
|
|
35124
35127
|
return {
|
|
@@ -35126,9 +35129,9 @@ function buildSsalsyphusAgent(_pluginConfig, availableAgents) {
|
|
|
35126
35129
|
color: "#F5A742",
|
|
35127
35130
|
mode: "primary",
|
|
35128
35131
|
prompt: `<Role>
|
|
35129
|
-
You are "
|
|
35132
|
+
You are "OMCO" - Powerful AI Agent with orchestration capabilities from oh-my-claudecode-opencode.
|
|
35130
35133
|
|
|
35131
|
-
**Why
|
|
35134
|
+
**Why OMCO?**: Humans tackle tasks persistently every day. So do you. We're not so different\u2014your code should be indistinguishable from a senior engineer's.
|
|
35132
35135
|
|
|
35133
35136
|
**Identity**: SF Bay Area engineer. Work, delegate, verify, ship. No AI slop.
|
|
35134
35137
|
|
|
@@ -35380,19 +35383,19 @@ function buildSubagentConfigs(modelResolver, agentOverrides) {
|
|
|
35380
35383
|
function createConfigHandler(deps) {
|
|
35381
35384
|
const { pluginConfig } = deps;
|
|
35382
35385
|
return async (config3) => {
|
|
35383
|
-
const
|
|
35384
|
-
if (!
|
|
35385
|
-
log("
|
|
35386
|
+
const isOmcoEnabled = pluginConfig.omco_agent?.disabled !== true;
|
|
35387
|
+
if (!isOmcoEnabled) {
|
|
35388
|
+
log("OMCO agent disabled by config");
|
|
35386
35389
|
return;
|
|
35387
35390
|
}
|
|
35388
35391
|
const modelResolver = new ModelResolver(pluginConfig.model_mapping);
|
|
35389
35392
|
const availableAgents = Object.values(agents);
|
|
35390
|
-
const
|
|
35391
|
-
config3.default_agent = "
|
|
35393
|
+
const omcoConfig = buildOmcoAgent(pluginConfig, availableAgents);
|
|
35394
|
+
config3.default_agent = "OMCO";
|
|
35392
35395
|
if (!config3.agent) {
|
|
35393
35396
|
config3.agent = {};
|
|
35394
35397
|
}
|
|
35395
|
-
config3.agent["
|
|
35398
|
+
config3.agent["OMCO"] = omcoConfig;
|
|
35396
35399
|
const subagentConfigs = buildSubagentConfigs(modelResolver, pluginConfig.agents);
|
|
35397
35400
|
for (const [name, agentConfig] of Object.entries(subagentConfigs)) {
|
|
35398
35401
|
config3.agent[name] = agentConfig;
|
|
@@ -35417,7 +35420,7 @@ ${skill.content}
|
|
|
35417
35420
|
|
|
35418
35421
|
ARGUMENTS: $ARGUMENTS`,
|
|
35419
35422
|
description: skill.metadata.description,
|
|
35420
|
-
agent: "
|
|
35423
|
+
agent: "OMCO"
|
|
35421
35424
|
};
|
|
35422
35425
|
dynamicSkillCount++;
|
|
35423
35426
|
}
|
|
@@ -35425,8 +35428,8 @@ ARGUMENTS: $ARGUMENTS`,
|
|
|
35425
35428
|
} catch (e) {
|
|
35426
35429
|
log("Dynamic skill loading failed, using hardcoded commands only", { error: String(e) });
|
|
35427
35430
|
}
|
|
35428
|
-
log("
|
|
35429
|
-
agent: "
|
|
35431
|
+
log("OMCO agent and commands registered", {
|
|
35432
|
+
agent: "OMCO",
|
|
35430
35433
|
subagents: Object.keys(subagentConfigs),
|
|
35431
35434
|
commands: Object.keys(SLASH_COMMANDS).filter((c) => !pluginConfig.disabled_skills?.includes(c)),
|
|
35432
35435
|
dynamicSkills: dynamicSkillCount
|
package/package.json
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-claudecode-opencode",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "OpenCode port of oh-my-claudecode - Multi-agent orchestration plugin (omco)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"omco-doctor": "./bin/doctor.js",
|
|
10
|
+
"oh-my-claudecode-opencode": "./bin/doctor.js"
|
|
11
|
+
},
|
|
8
12
|
"files": [
|
|
9
13
|
"dist",
|
|
10
|
-
"assets"
|
|
14
|
+
"assets",
|
|
15
|
+
"bin"
|
|
11
16
|
],
|
|
12
17
|
"exports": {
|
|
13
18
|
".": {
|
|
@@ -17,7 +22,7 @@
|
|
|
17
22
|
"./schema.json": "./assets/omco.schema.json"
|
|
18
23
|
},
|
|
19
24
|
"scripts": {
|
|
20
|
-
"build": "bun build src/index.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly",
|
|
25
|
+
"build": "bun build src/index.ts --outdir dist --target bun --format esm && bun build bin/doctor.ts --outfile bin/doctor.js --target node --format esm && tsc --emitDeclarationOnly",
|
|
21
26
|
"build:watch": "bun build src/index.ts --outdir dist --target bun --format esm --watch",
|
|
22
27
|
"clean": "rm -rf dist",
|
|
23
28
|
"prepublishOnly": "bun run clean && bun run build",
|