opencode-swarm 7.81.0 → 7.81.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.
@@ -82,6 +82,12 @@ declare function getPlanJsonPath(directory: string): string;
82
82
  * Compute a SHA-256 hash of the plan state.
83
83
  * Uses deterministic JSON serialization for consistent hashing.
84
84
  *
85
+ * IMPORTANT: Intentionally excludes `specMtime` and `specHash` fields.
86
+ * These fields track changes to spec.md but do not affect plan execution or structure.
87
+ * Including them would cause the plan hash to change whenever spec metadata changes,
88
+ * invalidating cached plan state unnecessarily. Spec changes are tracked separately
89
+ * in the ledger via `spec_updated` and acknowledgment events.
90
+ *
85
91
  * @param plan - The plan to hash
86
92
  * @returns Hex-encoded SHA-256 hash
87
93
  */
@@ -0,0 +1,6 @@
1
+ export declare function recordSessionStart(directory: string, startMs: number): void;
2
+ export declare function readEarliestSessionStart(directory: string): string | null;
3
+ export declare const _internals: {
4
+ recordSessionStart: typeof recordSessionStart;
5
+ readEarliestSessionStart: typeof readEarliestSessionStart;
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.81.0",
3
+ "version": "7.81.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",