@swarmvaultai/cli 3.14.1 → 3.14.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/README.md CHANGED
@@ -303,6 +303,8 @@ Compile the current manifests into:
303
303
 
304
304
  The compiler also reads `swarmvault.schema.md` and records a `schema_hash` plus lifecycle metadata such as `status`, `created_at`, `updated_at`, `compiled_from`, and `managed_by` in generated pages so schema edits can mark pages stale without losing lifecycle state.
305
305
 
306
+ Large compile runs process source analysis in bounded batches and use a sparse graph co-occurrence projection so high-overlap note sets do not explode into unbounded pairwise graph work.
307
+
306
308
  For ingested code trees, compile also writes `state/code-index.json` so local imports and module aliases can resolve across the repo-aware code graph.
307
309
 
308
310
  New concept and entity pages are staged into `wiki/candidates/` first. A later matching compile promotes them into `wiki/concepts/` or `wiki/entities/`.
@@ -739,6 +741,8 @@ Agent target mapping:
739
741
  - `antigravity` writes `.agents/rules/swarmvault.md` and `.agents/workflows/swarmvault.md`, and removes older fully managed `.agent/` files during reinstall
740
742
  - `vscode` writes `.github/chatmodes/swarmvault.chatmode.md` plus `.github/copilot-instructions.md`
741
743
 
744
+ SwarmVault only owns the managed block inside shared markdown rule files. It keeps the SwarmVault block aligned across targets while preserving any user-owned text before or after the block, so `AGENTS.md` and `CLAUDE.md` do not need to be byte-identical.
745
+
742
746
  Hook semantics:
743
747
 
744
748
  - `codex --hook` writes `.codex/hooks.json` plus `.codex/hooks/swarmvault-graph-first.js` and emits model-visible guidance before broad shell search
@@ -841,6 +845,8 @@ Search behavior is configurable separately from provider routing:
841
845
  - If a provider claims OpenAI compatibility but fails structured generation, declare only the capabilities it actually supports
842
846
  - If `lint --deep --web` fails immediately, make sure a `webSearch` provider is configured and mapped to `tasks.deepLintProvider`
843
847
  - If you still see a `node:sqlite` experimental warning on Node 24, upgrade to the latest CLI; current releases suppress that upstream warning during normal runs
848
+ - If compile reports `Failed to parse JSON file ...`, the named derived state file is corrupt or empty. Remove the named file or restore it from git, then rerun `swarmvault compile`; current releases write JSON state atomically to reduce partial-file failures.
849
+ - If a large heuristic vault fails with heap exhaustion or `Map maximum size exceeded` on an older CLI, upgrade and rerun compile. Current releases bound analysis concurrency and graph projection during compile.
844
850
 
845
851
  ## Links
846
852
 
package/dist/index.js CHANGED
@@ -330,9 +330,9 @@ program.addHelpText(
330
330
  function readCliVersion() {
331
331
  try {
332
332
  const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
333
- return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "3.14.1";
333
+ return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "3.14.2";
334
334
  } catch {
335
- return "3.14.1";
335
+ return "3.14.2";
336
336
  }
337
337
  }
338
338
  function parsePositiveInt(value, fallback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmvaultai/cli",
3
- "version": "3.14.1",
3
+ "version": "3.14.2",
4
4
  "description": "Global CLI for SwarmVault.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "prepublishOnly": "node ../../scripts/check-release-sync.mjs && node ../../scripts/check-published-manifests.mjs"
45
45
  },
46
46
  "dependencies": {
47
- "@swarmvaultai/engine": "3.14.1",
47
+ "@swarmvaultai/engine": "3.14.2",
48
48
  "commander": "^14.0.1"
49
49
  },
50
50
  "devDependencies": {