opencode-orchestrator 0.5.20 → 0.5.22
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 +13 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16474,22 +16474,31 @@ var OrchestratorPlugin = async (input) => {
|
|
|
16474
16474
|
description: "Autonomous orchestrator - executes until mission complete",
|
|
16475
16475
|
mode: "primary",
|
|
16476
16476
|
prompt: AGENTS.commander.systemPrompt,
|
|
16477
|
+
maxTokens: 64e3,
|
|
16477
16478
|
thinking: { type: "enabled", budgetTokens: 32e3 },
|
|
16478
16479
|
color: "#FF6B6B"
|
|
16479
16480
|
},
|
|
16480
16481
|
[AGENT_NAMES.LIBRARIAN]: {
|
|
16481
16482
|
name: AGENT_NAMES.LIBRARIAN,
|
|
16482
16483
|
description: "Documentation research specialist - reduces hallucination",
|
|
16483
|
-
|
|
16484
|
+
mode: "subagent",
|
|
16485
|
+
prompt: AGENTS.librarian?.systemPrompt || "",
|
|
16486
|
+
maxTokens: 16e3,
|
|
16487
|
+
color: "#4ECDC4"
|
|
16484
16488
|
},
|
|
16485
16489
|
[AGENT_NAMES.RESEARCHER]: {
|
|
16486
16490
|
name: AGENT_NAMES.RESEARCHER,
|
|
16487
16491
|
description: "Pre-task investigation - gathers all info before implementation",
|
|
16488
|
-
|
|
16492
|
+
mode: "subagent",
|
|
16493
|
+
prompt: AGENTS.researcher?.systemPrompt || "",
|
|
16494
|
+
maxTokens: 16e3,
|
|
16495
|
+
color: "#45B7D1"
|
|
16489
16496
|
}
|
|
16490
16497
|
};
|
|
16491
|
-
config2.command = { ...
|
|
16492
|
-
config2.agent = { ...
|
|
16498
|
+
config2.command = { ...existingCommands, ...orchestratorCommands };
|
|
16499
|
+
config2.agent = { ...existingAgents, ...orchestratorAgents };
|
|
16500
|
+
console.log(`[orchestrator] Registered agents: ${Object.keys(orchestratorAgents).join(", ")}`);
|
|
16501
|
+
console.log(`[orchestrator] Commander prompt length: ${(AGENTS.commander.systemPrompt || "").length}`);
|
|
16493
16502
|
},
|
|
16494
16503
|
// -----------------------------------------------------------------
|
|
16495
16504
|
// 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.22",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dev:test": "node dist/scripts/postinstall.js && echo '---' && node dist/scripts/preuninstall.js",
|
|
59
59
|
"dev:cache": "npm run build && rm -rf ~/.cache/opencode/node_modules/opencode-orchestrator && cp -r . ~/.cache/opencode/node_modules/opencode-orchestrator && echo 'SUCCESS: Copied to OpenCode cache. Restart OpenCode.'",
|
|
60
60
|
"reset:local": "brew uninstall opencode 2>/dev/null; rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode ~/.cache/opencode/node_modules/opencode-orchestrator && echo '=== Clean done ===' && brew install opencode && echo '{\"plugin\": [\"opencode-orchestrator\"], \"$schema\": \"https://opencode.ai/config.json\"}' > ~/.config/opencode/opencode.json && echo '=== Reset (Dev) complete. Run: opencode ==='",
|
|
61
|
-
"reset:prod": "brew uninstall opencode 2>/dev/null; rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode ~/.cache/opencode/node_modules/opencode-orchestrator && echo '=== Clean done ===' && brew install opencode && echo '{\"plugin\": [\"opencode-orchestrator\"], \"$schema\": \"https://opencode.ai/config.json\"}' > ~/.config/opencode/opencode.json && echo '=== Reset (Prod) complete. Run: opencode ==='"
|
|
61
|
+
"reset:prod": "brew uninstall opencode 2>/dev/null; rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode ~/.cache/opencode/node_modules/opencode-orchestrator && echo '=== Clean done ===' && brew install opencode && echo '{\"plugin\": [\"opencode-orchestrator\"], \"$schema\": \"https://opencode.ai/config.json\"}' > ~/.config/opencode/opencode.json && npm install -g opencode-orchestrator && echo '=== Reset (Prod) complete. Run: opencode ==='"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@opencode-ai/plugin": "^1.1.1",
|