opencode-orchestrator 0.1.51 → 0.1.52
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/bin/orchestrator-linux-arm64 +0 -0
- package/bin/orchestrator-linux-x64 +0 -0
- package/dist/index.js +38 -2
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -671,22 +671,58 @@ var OrchestratorPlugin = async (input) => {
|
|
|
671
671
|
grep_search: grepSearchTool(directory),
|
|
672
672
|
glob_search: globSearchTool(directory)
|
|
673
673
|
},
|
|
674
|
-
// Register commands so they appear in OpenCode's
|
|
674
|
+
// Register commands and agents so they appear in OpenCode's UI
|
|
675
675
|
config: async (config) => {
|
|
676
676
|
const existingCommands = config.command ?? {};
|
|
677
|
+
const existingAgents = config.agent ?? {};
|
|
677
678
|
const orchestratorCommands = {};
|
|
678
679
|
for (const [name, cmd] of Object.entries(COMMANDS)) {
|
|
679
680
|
orchestratorCommands[name] = {
|
|
680
681
|
description: cmd.description,
|
|
681
682
|
template: cmd.template,
|
|
682
683
|
argumentHint: cmd.argumentHint
|
|
683
|
-
// Crucial for autocomplete menu
|
|
684
684
|
};
|
|
685
685
|
}
|
|
686
|
+
const orchestratorAgents = {
|
|
687
|
+
orchestrator: {
|
|
688
|
+
name: "Orchestrator",
|
|
689
|
+
description: "Mission Commander - coordinates the 6-agent team",
|
|
690
|
+
systemPrompt: AGENTS.orchestrator.systemPrompt
|
|
691
|
+
},
|
|
692
|
+
planner: {
|
|
693
|
+
name: "Planner",
|
|
694
|
+
description: "Architect - decomposes work into atomic tasks",
|
|
695
|
+
systemPrompt: AGENTS.planner.systemPrompt
|
|
696
|
+
},
|
|
697
|
+
coder: {
|
|
698
|
+
name: "Coder",
|
|
699
|
+
description: "Implementation - executes atomic tasks",
|
|
700
|
+
systemPrompt: AGENTS.coder.systemPrompt
|
|
701
|
+
},
|
|
702
|
+
reviewer: {
|
|
703
|
+
name: "Reviewer",
|
|
704
|
+
description: "Style Guardian - quality gate",
|
|
705
|
+
systemPrompt: AGENTS.reviewer.systemPrompt
|
|
706
|
+
},
|
|
707
|
+
fixer: {
|
|
708
|
+
name: "Fixer",
|
|
709
|
+
description: "Error resolution specialist",
|
|
710
|
+
systemPrompt: AGENTS.fixer.systemPrompt
|
|
711
|
+
},
|
|
712
|
+
searcher: {
|
|
713
|
+
name: "Searcher",
|
|
714
|
+
description: "Context Oracle - finds patterns",
|
|
715
|
+
systemPrompt: AGENTS.searcher.systemPrompt
|
|
716
|
+
}
|
|
717
|
+
};
|
|
686
718
|
config.command = {
|
|
687
719
|
...orchestratorCommands,
|
|
688
720
|
...existingCommands
|
|
689
721
|
};
|
|
722
|
+
config.agent = {
|
|
723
|
+
...orchestratorAgents,
|
|
724
|
+
...existingAgents
|
|
725
|
+
};
|
|
690
726
|
},
|
|
691
727
|
"chat.message": async (input2, output) => {
|
|
692
728
|
const parts = output.parts;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.52",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|