opencode-swarm 7.20.1 → 7.20.2

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.20.1",
37
+ version: "7.20.2",
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.20.1",
36
+ version: "7.20.2",
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",
@@ -90038,11 +90038,12 @@ function verifyLeanTurboPhaseReady(directory, phase, sessionIDOrConfig, config3)
90038
90038
  }
90039
90039
 
90040
90040
  // src/tools/phase-complete.ts
90041
+ init_logger();
90041
90042
  init_create_tool();
90042
90043
  init_resolve_working_directory();
90043
90044
  function safeWarn(message, error93) {
90044
90045
  try {
90045
- console.warn(message, error93 instanceof Error ? error93.message : String(error93));
90046
+ warn(message, error93 instanceof Error ? error93.message : String(error93));
90046
90047
  } catch {}
90047
90048
  }
90048
90049
  function collectCrossSessionDispatchedAgents(phaseReferenceTimestamp, callerSessionId) {
@@ -90233,7 +90234,7 @@ async function executePhaseComplete(args2, workingDirectory, directory) {
90233
90234
  }, null, 2);
90234
90235
  }
90235
90236
  if (hasActiveTurboMode(sessionID)) {
90236
- console.warn(`[phase_complete] Turbo mode active — skipping completion-verify, drift-verifier, hallucination-guard, mutation-gate, phase-council, and final-council gates for phase ${phase}`);
90237
+ warnings.push(`Turbo mode active — skipped completion-verify, drift-verifier, hallucination-guard, mutation-gate, phase-council, and final-council gates for phase ${phase}.`);
90237
90238
  } else {
90238
90239
  try {
90239
90240
  const completionResultRaw = await executeCompletionVerify({ phase }, dir);
@@ -90275,7 +90276,6 @@ async function executePhaseComplete(args2, workingDirectory, directory) {
90275
90276
  safeWarn(`[phase_complete] QA gate profile load error, drift_check defaults to enabled:`, gateLoadError);
90276
90277
  }
90277
90278
  if (!driftCheckEnabled) {
90278
- console.info(`[phase_complete] drift_check disabled — skipping drift verification gate for phase ${phase}`);
90279
90279
  warnings.push(`drift_check gate is disabled. Drift verification was skipped for phase ${phase}.`);
90280
90280
  } else {
90281
90281
  let phaseType;
@@ -90289,7 +90289,6 @@ async function executePhaseComplete(args2, workingDirectory, directory) {
90289
90289
  }
90290
90290
  } catch {}
90291
90291
  if (phaseType === "non-code") {
90292
- console.info(`[phase_complete] Phase ${phase} annotated as 'non-code' — drift verification skipped.`);
90293
90292
  warnings.push(`Phase ${phase} is annotated as 'non-code'. Drift verification was skipped per phase type annotation.`);
90294
90293
  } else {
90295
90294
  try {
@@ -91138,7 +91137,7 @@ Advisory notes: ${advisoryNotes.join("; ")}` : "";
91138
91137
  try {
91139
91138
  await lockResult.lock._release();
91140
91139
  } catch (releaseError) {
91141
- console.error("[phase-complete] Lock release failed:", releaseError);
91140
+ warn("[phase_complete] Lock release failed (non-blocking):", releaseError instanceof Error ? releaseError.message : String(releaseError));
91142
91141
  }
91143
91142
  }
91144
91143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.20.1",
3
+ "version": "7.20.2",
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",