opencode-orchestrator 0.5.25 → 0.5.27
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/dist/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16479,7 +16479,7 @@ var OrchestratorPlugin = async (input) => {
|
|
|
16479
16479
|
name: AGENT_NAMES.COMMANDER,
|
|
16480
16480
|
description: "Autonomous orchestrator - executes until mission complete",
|
|
16481
16481
|
mode: "primary",
|
|
16482
|
-
prompt: AGENTS.
|
|
16482
|
+
prompt: AGENTS[AGENT_NAMES.COMMANDER].systemPrompt,
|
|
16483
16483
|
maxTokens: 64e3,
|
|
16484
16484
|
thinking: { type: "enabled", budgetTokens: 32e3 },
|
|
16485
16485
|
color: "#FF6B6B"
|
|
@@ -16488,7 +16488,7 @@ var OrchestratorPlugin = async (input) => {
|
|
|
16488
16488
|
name: AGENT_NAMES.LIBRARIAN,
|
|
16489
16489
|
description: "Documentation research specialist - reduces hallucination",
|
|
16490
16490
|
mode: "subagent",
|
|
16491
|
-
prompt: AGENTS.
|
|
16491
|
+
prompt: AGENTS[AGENT_NAMES.LIBRARIAN]?.systemPrompt || "",
|
|
16492
16492
|
maxTokens: 16e3,
|
|
16493
16493
|
color: "#4ECDC4"
|
|
16494
16494
|
},
|
|
@@ -16496,15 +16496,16 @@ var OrchestratorPlugin = async (input) => {
|
|
|
16496
16496
|
name: AGENT_NAMES.RESEARCHER,
|
|
16497
16497
|
description: "Pre-task investigation - gathers all info before implementation",
|
|
16498
16498
|
mode: "subagent",
|
|
16499
|
-
prompt: AGENTS.
|
|
16499
|
+
prompt: AGENTS[AGENT_NAMES.RESEARCHER]?.systemPrompt || "",
|
|
16500
16500
|
maxTokens: 16e3,
|
|
16501
16501
|
color: "#45B7D1"
|
|
16502
16502
|
}
|
|
16503
16503
|
};
|
|
16504
16504
|
config2.command = { ...existingCommands, ...orchestratorCommands };
|
|
16505
16505
|
config2.agent = { ...existingAgents, ...orchestratorAgents };
|
|
16506
|
+
config2.default_agent = AGENT_NAMES.COMMANDER;
|
|
16506
16507
|
console.log(`[orchestrator] Registered agents: ${Object.keys(orchestratorAgents).join(", ")}`);
|
|
16507
|
-
console.log(`[orchestrator]
|
|
16508
|
+
console.log(`[orchestrator] Default agent: ${AGENT_NAMES.COMMANDER}`);
|
|
16508
16509
|
},
|
|
16509
16510
|
// -----------------------------------------------------------------
|
|
16510
16511
|
// chat.message hook - runs when user sends a message
|
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.5.
|
|
5
|
+
"version": "0.5.27",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|