opencode-swarm 6.41.3 → 6.42.0

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/state.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  * chat.message, system-enhancer) to share state like active agents, tool call tracking,
7
7
  * and delegation chains.
8
8
  */
9
+ import type { OpencodeClient } from '@opencode-ai/sdk';
9
10
  /**
10
11
  * Represents a single tool call entry for tracking purposes
11
12
  */
@@ -187,6 +188,8 @@ export declare const swarmState: {
187
188
  delegationChains: Map<string, DelegationEntry[]>;
188
189
  /** Number of events since last flush */
189
190
  pendingEvents: number;
191
+ /** SDK client — set at plugin init for curator LLM delegation */
192
+ opencodeClient: OpencodeClient | null;
190
193
  /** Last known context budget percentage (0-100), updated by system-enhancer */
191
194
  lastBudgetPct: number;
192
195
  /** Per-session guardrail state — keyed by sessionID */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "6.41.3",
3
+ "version": "6.42.0",
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",