opencode-swarm 7.65.0 → 7.65.1

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.65.0",
55
+ version: "7.65.1",
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.65.0",
72
+ version: "7.65.1",
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",
@@ -91661,8 +91661,17 @@ function createAgents(config3, projectContext = emptyProjectContext()) {
91661
91661
  const swarms = config3?.swarms;
91662
91662
  if (swarms && Object.keys(swarms).length > 0) {
91663
91663
  for (const swarmId of Object.keys(swarms)) {
91664
- const swarmConfig = swarms[swarmId];
91664
+ let swarmConfig = swarms[swarmId];
91665
91665
  const isDefault = swarmId === "default";
91666
+ if (config3?.agents) {
91667
+ swarmConfig = {
91668
+ ...swarmConfig,
91669
+ agents: {
91670
+ ...config3.agents,
91671
+ ...swarmConfig.agents ?? {}
91672
+ }
91673
+ };
91674
+ }
91666
91675
  const swarmAgents = createSwarmAgents(swarmId, swarmConfig, isDefault, config3, projectContext);
91667
91676
  allAgents.push(...swarmAgents);
91668
91677
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.65.0",
3
+ "version": "7.65.1",
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",