opencode-swarm 6.29.0 → 6.29.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.
@@ -21,3 +21,8 @@ export interface CompactionServiceHook {
21
21
  }) => Promise<void>;
22
22
  }
23
23
  export declare function createCompactionService(config: CompactionConfig, directory: string, injectMessage: (sessionId: string, message: string) => void): CompactionServiceHook;
24
+ export declare function getCompactionMetrics(): {
25
+ compactionCount: number;
26
+ lastSnapshotAt: string | null;
27
+ };
28
+ export declare function resetCompactionState(): void;
package/dist/state.d.ts CHANGED
@@ -129,6 +129,8 @@ export interface AgentSessionState {
129
129
  };
130
130
  /** Flag to track if the 50% context pressure warning has been sent this session */
131
131
  contextPressureWarningSent?: boolean;
132
+ /** Queue of advisory messages (e.g., SLOP, context pressure) pending injection into next messagesTransform */
133
+ pendingAdvisoryMessages?: string[];
132
134
  }
133
135
  /**
134
136
  * Represents a single agent invocation window with isolated guardrail budgets.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "6.29.0",
3
+ "version": "6.29.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",