@cloudpftc/opencode-orchestrator 3.5.15 → 3.6.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/opencode.json +35 -78
- package/package.json +2 -6
- package/v3/@claude-flow/cli/dist/src/commands/init.js +7 -7
- package/v3/@claude-flow/cli/dist/src/init/executor.js +181 -133
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js +20 -20
- package/v3/@claude-flow/cli/dist/src/init/index.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/init/index.js +1 -1
- package/v3/@claude-flow/cli/dist/src/init/mcp-generator.d.ts +2 -2
- package/v3/@claude-flow/cli/dist/src/init/mcp-generator.js +15 -15
- package/v3/@claude-flow/cli/dist/src/init/opencode-generator.d.ts +42 -0
- package/v3/@claude-flow/cli/dist/src/init/opencode-generator.js +107 -0
- package/v3/@claude-flow/cli/dist/src/init/settings-generator.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/init/settings-generator.js +18 -18
- package/v3/@claude-flow/cli/dist/src/init/skillmd-generator.d.ts +25 -0
- package/v3/@claude-flow/cli/dist/src/init/skillmd-generator.js +486 -0
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.d.ts +1 -1
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.js +39 -23
- package/v3/@claude-flow/cli/dist/src/init/types.d.ts +14 -10
- package/v3/@claude-flow/cli/dist/src/init/types.js +3 -3
package/opencode.json
CHANGED
|
@@ -1,84 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://opencode.
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"name": "opencode-orchestrator",
|
|
5
|
-
"description": "OpenCode Orchestrator - Multi-agent coordination system",
|
|
2
|
+
"$schema": "https://opencode.ai/config.json",
|
|
6
3
|
"mcp": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"description": "Flow Nexus platform integration"
|
|
22
|
-
}
|
|
4
|
+
"claude-flow": {
|
|
5
|
+
"type": "local",
|
|
6
|
+
"command": ["npx", "-y", "claude-flow@v3alpha", "mcp", "start"],
|
|
7
|
+
"enabled": true
|
|
8
|
+
},
|
|
9
|
+
"ruv-swarm": {
|
|
10
|
+
"type": "local",
|
|
11
|
+
"command": ["npx", "-y", "ruv-swarm", "mcp", "start"],
|
|
12
|
+
"enabled": true
|
|
13
|
+
},
|
|
14
|
+
"flow-nexus": {
|
|
15
|
+
"type": "local",
|
|
16
|
+
"command": ["npx", "-y", "flow-nexus@latest", "mcp", "start"],
|
|
17
|
+
"enabled": true
|
|
23
18
|
}
|
|
24
19
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
"agents": {
|
|
33
|
-
"directory": ".opencode/agents",
|
|
34
|
-
"definitions": [
|
|
35
|
-
"coordinator.yaml",
|
|
36
|
-
"researcher.yaml",
|
|
37
|
-
"architect.yaml",
|
|
38
|
-
"coder.yaml",
|
|
39
|
-
"reviewer.yaml",
|
|
40
|
-
"tester.yaml",
|
|
41
|
-
"security-architect.yaml",
|
|
42
|
-
"performance-engineer.yaml"
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"permissions": {
|
|
46
|
-
"allow": [
|
|
47
|
-
"read",
|
|
48
|
-
"write",
|
|
49
|
-
"edit",
|
|
50
|
-
"glob",
|
|
51
|
-
"grep",
|
|
52
|
-
"ast_grep_search",
|
|
53
|
-
"ast_grep_replace",
|
|
54
|
-
"bash",
|
|
55
|
-
"lsp_goto_definition",
|
|
56
|
-
"lsp_find_references",
|
|
57
|
-
"lsp_rename",
|
|
58
|
-
"lsp_diagnostics",
|
|
59
|
-
"read",
|
|
60
|
-
"question",
|
|
61
|
-
"skill"
|
|
62
|
-
],
|
|
63
|
-
"requireApproval": [
|
|
64
|
-
"bash:rm -rf",
|
|
65
|
-
"bash:git push",
|
|
66
|
-
"bash:git force",
|
|
67
|
-
"write:.env",
|
|
68
|
-
"write:credentials"
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
"defaults": {
|
|
72
|
-
"model": "sonnet",
|
|
73
|
-
"maxTokens": 100000,
|
|
74
|
-
"temperature": 0.7
|
|
20
|
+
"agent": {
|
|
21
|
+
"orchestrator": {
|
|
22
|
+
"description": "AI coding orchestrator that delegates tasks to specialist agents",
|
|
23
|
+
"model": "opencode-go/glm-5",
|
|
24
|
+
"mode": "primary"
|
|
25
|
+
}
|
|
75
26
|
},
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
27
|
+
"permission": {
|
|
28
|
+
"edit": "allow",
|
|
29
|
+
"bash": "allow",
|
|
30
|
+
"webfetch": "allow",
|
|
31
|
+
"read": "allow",
|
|
32
|
+
"grep": "allow",
|
|
33
|
+
"glob": "allow",
|
|
34
|
+
"list": "allow",
|
|
35
|
+
"skill": "allow",
|
|
36
|
+
"todowrite": "allow",
|
|
37
|
+
"todoread": "allow",
|
|
38
|
+
"websearch": "allow",
|
|
39
|
+
"question": "allow"
|
|
83
40
|
}
|
|
84
|
-
}
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudpftc/opencode-orchestrator",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "OpenCode Orchestrator - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "
|
|
17
|
+
"url": "https://github.com/ruvnet/claude-flow.git"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"bin/**",
|
|
@@ -80,10 +80,6 @@
|
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=20.0.0"
|
|
82
82
|
},
|
|
83
|
-
"repository": {
|
|
84
|
-
"type": "git",
|
|
85
|
-
"url": "https://github.com/ruvnet/claude-flow.git"
|
|
86
|
-
},
|
|
87
83
|
"keywords": [
|
|
88
84
|
"ruvflow",
|
|
89
85
|
"claude",
|
|
@@ -70,7 +70,7 @@ const initAction = async (ctx) => {
|
|
|
70
70
|
options.components.helpers = false;
|
|
71
71
|
options.components.statusline = false;
|
|
72
72
|
options.components.mcp = false;
|
|
73
|
-
options.components.
|
|
73
|
+
options.components.opencodeMd = false;
|
|
74
74
|
}
|
|
75
75
|
if (onlyClaude) {
|
|
76
76
|
options.components.runtime = false;
|
|
@@ -104,9 +104,9 @@ const initAction = async (ctx) => {
|
|
|
104
104
|
output.printBox(summary.join('\n'), 'Summary');
|
|
105
105
|
output.writeln();
|
|
106
106
|
// Show what was created
|
|
107
|
-
if (options.components.
|
|
107
|
+
if (options.components.opencodeMd || options.components.settings || options.components.skills || options.components.commands || options.components.agents) {
|
|
108
108
|
output.printBox([
|
|
109
|
-
options.components.
|
|
109
|
+
options.components.opencodeMd ? `CLAUDE.md: Swarm guidance & configuration` : '',
|
|
110
110
|
options.components.settings ? `Settings: .claude/settings.json` : '',
|
|
111
111
|
options.components.skills ? `Skills: .claude/skills/ (${result.summary.skillsCount} skills)` : '',
|
|
112
112
|
options.components.commands ? `Commands: .claude/commands/ (${result.summary.commandsCount} commands)` : '',
|
|
@@ -264,7 +264,7 @@ const wizardCommand = {
|
|
|
264
264
|
const components = await multiSelect({
|
|
265
265
|
message: 'Select components to initialize:',
|
|
266
266
|
options: [
|
|
267
|
-
{ value: '
|
|
267
|
+
{ value: 'opencodeMd', label: 'CLAUDE.md', hint: 'Swarm guidance and project configuration', selected: true },
|
|
268
268
|
{ value: 'settings', label: 'settings.json', hint: 'Claude Code hooks configuration', selected: true },
|
|
269
269
|
{ value: 'skills', label: 'Skills', hint: 'Claude Code skills in .claude/skills/', selected: true },
|
|
270
270
|
{ value: 'commands', label: 'Commands', hint: 'Claude Code commands in .claude/commands/', selected: true },
|
|
@@ -275,7 +275,7 @@ const wizardCommand = {
|
|
|
275
275
|
{ value: 'runtime', label: 'Runtime', hint: '.claude-flow/ directory for V3 runtime', selected: true },
|
|
276
276
|
],
|
|
277
277
|
});
|
|
278
|
-
options.components.
|
|
278
|
+
options.components.opencodeMd = components.includes('opencodeMd');
|
|
279
279
|
options.components.settings = components.includes('settings');
|
|
280
280
|
options.components.skills = components.includes('skills');
|
|
281
281
|
options.components.commands = components.includes('commands');
|
|
@@ -525,7 +525,7 @@ const skillsCommand = {
|
|
|
525
525
|
statusline: false,
|
|
526
526
|
mcp: false,
|
|
527
527
|
runtime: false,
|
|
528
|
-
|
|
528
|
+
opencodeMd: false,
|
|
529
529
|
},
|
|
530
530
|
skills: {
|
|
531
531
|
all: ctx.flags.all,
|
|
@@ -575,7 +575,7 @@ const hooksCommand = {
|
|
|
575
575
|
statusline: false,
|
|
576
576
|
mcp: false,
|
|
577
577
|
runtime: false,
|
|
578
|
-
|
|
578
|
+
opencodeMd: false,
|
|
579
579
|
},
|
|
580
580
|
hooks: minimal
|
|
581
581
|
? {
|