opencode-orchestrator 0.5.20 → 0.5.21

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -16474,18 +16474,25 @@ 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
- prompt: AGENTS.librarian?.systemPrompt || ""
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
- prompt: AGENTS.researcher?.systemPrompt || ""
16492
+ mode: "subagent",
16493
+ prompt: AGENTS.researcher?.systemPrompt || "",
16494
+ maxTokens: 16e3,
16495
+ color: "#45B7D1"
16489
16496
  }
16490
16497
  };
16491
16498
  config2.command = { ...orchestratorCommands, ...existingCommands };
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.20",
5
+ "version": "0.5.21",
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",