opencode-swarm 7.4.2 → 7.4.3

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.4.2",
37
+ version: "7.4.3",
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.4.2",
36
+ version: "7.4.3",
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",
@@ -23146,7 +23146,8 @@ function extractIncompleteTasksFromPlan(plan, maxChars = 500) {
23146
23146
  return null;
23147
23147
  const lines = incomplete.map((t) => {
23148
23148
  const deps = t.depends.length > 0 ? ` (depends: ${t.depends.join(", ")})` : "";
23149
- return `- [ ] ${t.id}: ${t.description} [${t.size.toUpperCase()}]${deps}`;
23149
+ const marker = t.status === "in_progress" ? " ← CURRENT" : "";
23150
+ return `- [ ] ${t.id}: ${t.description} [${t.size.toUpperCase()}]${deps}${marker}`;
23150
23151
  });
23151
23152
  const text = lines.join(`
23152
23153
  `);
@@ -65939,6 +65940,7 @@ function createCcCommandInterceptHook(config3 = {}) {
65939
65940
  }
65940
65941
  // src/hooks/compaction-customizer.ts
65941
65942
  init_manager();
65943
+ init_state();
65942
65944
  init_utils2();
65943
65945
  import * as fs33 from "node:fs";
65944
65946
  import { join as join45 } from "node:path";
@@ -65995,6 +65997,7 @@ function createCompactionCustomizerHook(config3, directory) {
65995
65997
  }
65996
65998
  } catch {}
65997
65999
  output.context.push("[KNOWLEDGE TOOLS] You have persistent knowledge tools: knowledge_recall (search for relevant past decisions), knowledge_add (store a new lesson), knowledge_remove (delete outdated entries). Use knowledge_recall when past context would help.");
66000
+ await buildRehydrationCache(directory);
65998
66001
  })
65999
66002
  };
66000
66003
  }
package/dist/state.d.ts CHANGED
@@ -470,7 +470,8 @@ export declare function _resetCouncilDisagreementWarnings(): void;
470
470
  */
471
471
  /**
472
472
  * Reads plan.json + evidence/*.json from the project directory and populates the
473
- * module-level _rehydrationCache. Called once at plugin init by loadSnapshot().
473
+ * module-level _rehydrationCache. Called at plugin init by loadSnapshot() and
474
+ * refreshed after compaction by the compaction hook (src/hooks/compaction-customizer.ts).
474
475
  * Non-fatal: missing/malformed files leave an empty cache.
475
476
  */
476
477
  export declare function buildRehydrationCache(directory: string): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.4.2",
3
+ "version": "7.4.3",
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",