opencode-swarm 7.51.4 → 7.51.5

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/cli/index.js CHANGED
@@ -52,7 +52,7 @@ var package_default;
52
52
  var init_package = __esm(() => {
53
53
  package_default = {
54
54
  name: "opencode-swarm",
55
- version: "7.51.4",
55
+ version: "7.51.5",
56
56
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
57
57
  main: "dist/index.js",
58
58
  types: "dist/index.d.ts",
package/dist/index.js CHANGED
@@ -69,7 +69,7 @@ var package_default;
69
69
  var init_package = __esm(() => {
70
70
  package_default = {
71
71
  name: "opencode-swarm",
72
- version: "7.51.4",
72
+ version: "7.51.5",
73
73
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
74
74
  main: "dist/index.js",
75
75
  types: "dist/index.d.ts",
@@ -86511,20 +86511,34 @@ If you call @coder instead of @${swarmId}_coder, the call will FAIL or go to the
86511
86511
  agents.push(applyOverrides(testEngineer, swarmAgents, swarmPrefix, quiet));
86512
86512
  }
86513
86513
  if (pluginConfig?.council?.general?.enabled === true) {
86514
+ let councilAgentsCreated = 0;
86514
86515
  if (!isAgentDisabled("reviewer", swarmAgents, swarmPrefix)) {
86515
86516
  const councilGeneralist = createReviewerAgent(getModel("reviewer"), GENERALIST_COUNCIL_PROMPT);
86516
86517
  councilGeneralist.name = prefixName("council_generalist");
86517
86518
  agents.push(applyOverrides(councilGeneralist, swarmAgents, swarmPrefix, quiet));
86519
+ councilAgentsCreated++;
86518
86520
  }
86519
86521
  if (!isAgentDisabled("critic", swarmAgents, swarmPrefix)) {
86520
86522
  const councilSkeptic = createCriticAgent(getModel("critic"), SKEPTIC_COUNCIL_PROMPT);
86521
86523
  councilSkeptic.name = prefixName("council_skeptic");
86522
86524
  agents.push(applyOverrides(councilSkeptic, swarmAgents, swarmPrefix, quiet));
86525
+ councilAgentsCreated++;
86523
86526
  }
86524
86527
  if (!isAgentDisabled("sme", swarmAgents, swarmPrefix)) {
86525
86528
  const councilDomainExpert = createSMEAgent(getModel("sme"), DOMAIN_EXPERT_COUNCIL_PROMPT);
86526
86529
  councilDomainExpert.name = prefixName("council_domain_expert");
86527
86530
  agents.push(applyOverrides(councilDomainExpert, swarmAgents, swarmPrefix, quiet));
86531
+ councilAgentsCreated++;
86532
+ }
86533
+ if (councilAgentsCreated < 3) {
86534
+ const missing = [];
86535
+ if (isAgentDisabled("reviewer", swarmAgents, swarmPrefix))
86536
+ missing.push("council_generalist (requires reviewer)");
86537
+ if (isAgentDisabled("critic", swarmAgents, swarmPrefix))
86538
+ missing.push("council_skeptic (requires critic)");
86539
+ if (isAgentDisabled("sme", swarmAgents, swarmPrefix))
86540
+ missing.push("council_domain_expert (requires sme)");
86541
+ addDeferredWarning(`[opencode-swarm] council.general.enabled is true but only ${councilAgentsCreated}/3 council agents could be registered because the following base agents are disabled: ${missing.join(", ")}. Re-enable those agents or accept a reduced council.`);
86528
86542
  }
86529
86543
  if (pluginConfig?.council?.general?.moderatorModel !== undefined) {
86530
86544
  addDeferredWarning("[opencode-swarm] council.general.moderatorModel is deprecated and ignored. The architect now synthesizes the final answer directly using inline output rules. Remove this field (and council.general.moderator if set) from opencode-swarm.json to silence this warning.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.51.4",
3
+ "version": "7.51.5",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",