oh-my-claudecode-opencode 0.3.0 → 0.4.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/assets/AGENTS.md +20 -20
- package/assets/agents/executor.md +1 -1
- package/assets/omco.schema.json +3 -3
- package/dist/config/index.d.ts +1 -1
- package/dist/index.js +40 -37
- package/package.json +1 -1
package/assets/AGENTS.md
CHANGED
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
## Porting Context
|
|
6
6
|
|
|
7
|
-
oh-my-claudecode 설정 스키마를 OpenCode 형식으로 변환한 JSON 스키마.
|
|
7
|
+
oh-my-claudecode 설정 스키마를 OpenCode 형식으로 변환한 JSON 스키마. OMCO.schema.json은 oh-my-claudecode의 설정 스키마를 기반으로 하며, OpenCode 환경에 맞게 조정되었다. IDE 자동완성 및 검증 지원을 제공한다.
|
|
8
8
|
|
|
9
9
|
## Overview
|
|
10
10
|
|
|
11
|
-
This directory contains static project assets, primarily the JSON schema definition for
|
|
11
|
+
This directory contains static project assets, primarily the JSON schema definition for OMCO configuration validation.
|
|
12
12
|
|
|
13
13
|
## Key Files
|
|
14
14
|
|
|
15
|
-
### `
|
|
15
|
+
### `OMCO.schema.json`
|
|
16
16
|
**Purpose**: JSON Schema for configuration file validation
|
|
17
17
|
**Schema Version**: Draft-07
|
|
18
|
-
**Usage**: Provides IDE autocomplete and validation for `.opencode/
|
|
18
|
+
**Usage**: Provides IDE autocomplete and validation for `.opencode/OMCO.json`
|
|
19
19
|
|
|
20
20
|
## Schema Structure
|
|
21
21
|
|
|
22
22
|
### Root Configuration Object
|
|
23
23
|
|
|
24
|
-
The schema defines a comprehensive configuration structure for the
|
|
24
|
+
The schema defines a comprehensive configuration structure for the OMCO plugin:
|
|
25
25
|
|
|
26
26
|
```json
|
|
27
27
|
{
|
|
28
28
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
29
|
-
"title": "
|
|
30
|
-
"description": "Configuration schema for
|
|
29
|
+
"title": "OMCO Configuration",
|
|
30
|
+
"description": "Configuration schema for oh-my-claudecode-opencode (OMCO) plugin",
|
|
31
31
|
"type": "object"
|
|
32
32
|
}
|
|
33
33
|
```
|
|
@@ -127,7 +127,7 @@ Enable schema validation in VSCode:
|
|
|
127
127
|
1. **Option 1: In config file**
|
|
128
128
|
```json
|
|
129
129
|
{
|
|
130
|
-
"$schema": "node_modules/oh-my-
|
|
130
|
+
"$schema": "node_modules/oh-my-claudecode-opencode/assets/OMCO.schema.json",
|
|
131
131
|
"disabled_hooks": []
|
|
132
132
|
}
|
|
133
133
|
```
|
|
@@ -137,8 +137,8 @@ Enable schema validation in VSCode:
|
|
|
137
137
|
{
|
|
138
138
|
"json.schemas": [
|
|
139
139
|
{
|
|
140
|
-
"fileMatch": [".opencode/
|
|
141
|
-
"url": "./node_modules/oh-my-
|
|
140
|
+
"fileMatch": [".opencode/OMCO.json"],
|
|
141
|
+
"url": "./node_modules/oh-my-claudecode-opencode/assets/OMCO.schema.json"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -155,7 +155,7 @@ Enable schema validation in VSCode:
|
|
|
155
155
|
### Valid Configuration
|
|
156
156
|
```json
|
|
157
157
|
{
|
|
158
|
-
"$schema": "node_modules/oh-my-
|
|
158
|
+
"$schema": "node_modules/oh-my-claudecode-opencode/assets/OMCO.schema.json",
|
|
159
159
|
"disabled_hooks": ["agent-usage-reminder"],
|
|
160
160
|
"background_task": {
|
|
161
161
|
"max_concurrent": 8,
|
|
@@ -214,7 +214,7 @@ When adding new config options:
|
|
|
214
214
|
});
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
2. **Add to JSON schema** (`assets/
|
|
217
|
+
2. **Add to JSON schema** (`assets/OMCO.schema.json`):
|
|
218
218
|
```json
|
|
219
219
|
{
|
|
220
220
|
"properties": {
|
|
@@ -249,7 +249,7 @@ The schema is exported via package.json:
|
|
|
249
249
|
```json
|
|
250
250
|
{
|
|
251
251
|
"exports": {
|
|
252
|
-
"./schema.json": "./assets/
|
|
252
|
+
"./schema.json": "./assets/OMCO.schema.json"
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
```
|
|
@@ -257,7 +257,7 @@ The schema is exported via package.json:
|
|
|
257
257
|
Usage in user projects:
|
|
258
258
|
```json
|
|
259
259
|
{
|
|
260
|
-
"$schema": "node_modules/oh-my-
|
|
260
|
+
"$schema": "node_modules/oh-my-claudecode-opencode/schema.json"
|
|
261
261
|
}
|
|
262
262
|
```
|
|
263
263
|
|
|
@@ -271,15 +271,15 @@ npm install -g ajv-cli
|
|
|
271
271
|
|
|
272
272
|
# Validate config
|
|
273
273
|
ajv validate \
|
|
274
|
-
-s node_modules/oh-my-
|
|
275
|
-
-d .opencode/
|
|
274
|
+
-s node_modules/oh-my-claudecode-opencode/assets/OMCO.schema.json \
|
|
275
|
+
-d .opencode/OMCO.json
|
|
276
276
|
```
|
|
277
277
|
|
|
278
278
|
### Programmatic Validation
|
|
279
279
|
|
|
280
280
|
```typescript
|
|
281
281
|
import Ajv from 'ajv';
|
|
282
|
-
import schema from 'oh-my-
|
|
282
|
+
import schema from 'oh-my-claudecode-opencode/schema.json';
|
|
283
283
|
|
|
284
284
|
const ajv = new Ajv();
|
|
285
285
|
const validate = ajv.compile(schema);
|
|
@@ -326,9 +326,9 @@ Use relative paths from project root:
|
|
|
326
326
|
|
|
327
327
|
## Integration Points
|
|
328
328
|
|
|
329
|
-
- **Config Loader**: `/home/calvin/workspace/
|
|
330
|
-
- **Documentation**: `/home/calvin/workspace/
|
|
331
|
-
- **Tests**: `/home/calvin/workspace/
|
|
329
|
+
- **Config Loader**: `/home/calvin/workspace/OMCO/src/config/` - Uses Zod for runtime validation
|
|
330
|
+
- **Documentation**: `/home/calvin/workspace/OMCO/docs/` - Schema usage in README
|
|
331
|
+
- **Tests**: `/home/calvin/workspace/OMCO/tests/` - Schema validation tests
|
|
332
332
|
|
|
333
333
|
## Future Enhancements
|
|
334
334
|
|
package/assets/omco.schema.json
CHANGED
|
@@ -537,14 +537,14 @@
|
|
|
537
537
|
},
|
|
538
538
|
"additionalProperties": false
|
|
539
539
|
},
|
|
540
|
-
"
|
|
540
|
+
"omco_agent": {
|
|
541
541
|
"type": "object",
|
|
542
|
-
"description": "
|
|
542
|
+
"description": "OMCO agent configuration",
|
|
543
543
|
"properties": {
|
|
544
544
|
"disabled": {
|
|
545
545
|
"type": "boolean",
|
|
546
546
|
"default": false,
|
|
547
|
-
"description": "Disable
|
|
547
|
+
"description": "Disable OMCO agent"
|
|
548
548
|
},
|
|
549
549
|
"planner_enabled": {
|
|
550
550
|
"type": "boolean",
|
package/dist/config/index.d.ts
CHANGED
|
@@ -274,7 +274,7 @@ declare const OmoOmcsConfigSchema: z.ZodObject<{
|
|
|
274
274
|
toastDuration: z.ZodOptional<z.ZodNumber>;
|
|
275
275
|
trackMetrics: z.ZodOptional<z.ZodBoolean>;
|
|
276
276
|
}, z.core.$strip>>;
|
|
277
|
-
|
|
277
|
+
omco_agent: z.ZodOptional<z.ZodObject<{
|
|
278
278
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
279
279
|
planner_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
280
280
|
replace_plan: z.ZodOptional<z.ZodBoolean>;
|
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
|