opencode-swarm 7.26.0 → 7.26.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
@@ -34,7 +34,7 @@ var package_default;
34
34
  var init_package = __esm(() => {
35
35
  package_default = {
36
36
  name: "opencode-swarm",
37
- version: "7.26.0",
37
+ version: "7.26.1",
38
38
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
39
39
  main: "dist/index.js",
40
40
  types: "dist/index.d.ts",
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ var package_default;
33
33
  var init_package = __esm(() => {
34
34
  package_default = {
35
35
  name: "opencode-swarm",
36
- version: "7.26.0",
36
+ version: "7.26.1",
37
37
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
38
38
  main: "dist/index.js",
39
39
  types: "dist/index.d.ts",
@@ -26970,15 +26970,15 @@ function createGuardrailsHooks(directory, directoryOrConfig, config2, authorityC
26970
26970
  }
26971
26971
  }
26972
26972
  }
26973
+ const resolved = resolveSessionAndWindow(input.sessionID);
26974
+ if (!resolved)
26975
+ return;
26973
26976
  {
26974
26977
  const prmSession = swarmState.agentSessions.get(input.sessionID);
26975
- if (prmSession?.prmHardStopPending) {
26978
+ if (prmSession?.prmHardStopPending && prmSession.delegationActive) {
26976
26979
  throw new Error("\uD83D\uDED1 PRM HARD STOP: Pattern escalation maximum reached. Stop tool calls and return progress summary.");
26977
26980
  }
26978
26981
  }
26979
- const resolved = resolveSessionAndWindow(input.sessionID);
26980
- if (!resolved)
26981
- return;
26982
26982
  const { agentConfig, window: window2 } = resolved;
26983
26983
  const { repetitionCount, elapsedMinutes } = trackToolCall(window2, input.tool, output.args);
26984
26984
  await checkGateLimits({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.26.0",
3
+ "version": "7.26.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",