@swarmvaultai/cli 0.7.2 → 0.7.21

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
@@ -70,7 +70,7 @@ Create a workspace with:
70
70
 
71
71
  The schema file is the vault-specific instruction layer. Edit it to define naming rules, categories, grounding expectations, and exclusions before a serious compile.
72
72
 
73
- `--profile` accepts `default`, `personal-research`, or a comma-separated preset list such as `reader,timeline`. For fully custom vault behavior, edit the `profile` block in `swarmvault.config.json`; that deterministic profile layer works alongside the human-written `swarmvault.schema.md`. The `personal-research` starter profile also sets `profile.guidedIngestDefault: true`, so guided ingest/source flows are on by default until you override them with `--no-guide`.
73
+ `--profile` accepts `default`, `personal-research`, or a comma-separated preset list such as `reader,timeline`. For fully custom vault behavior, edit the `profile` block in `swarmvault.config.json`; that deterministic profile layer works alongside the human-written `swarmvault.schema.md`. The `personal-research` starter profile also sets `profile.guidedIngestDefault: true` and `profile.deepLintDefault: true`, so guided ingest/source and lint flows are on by default until you override them with `--no-guide` or `--no-deep`.
74
74
 
75
75
  ### `swarmvault source add|list|reload|review|guide|session|delete`
76
76
 
@@ -225,7 +225,7 @@ Each step:
225
225
 
226
226
  The command also writes a hub page linking the root question, saved step pages, and generated follow-up questions.
227
227
 
228
- ### `swarmvault lint [--deep] [--web] [--conflicts]`
228
+ ### `swarmvault lint [--deep] [--no-deep] [--web] [--conflicts]`
229
229
 
230
230
  Run anti-drift and vault health checks such as stale pages, missing graph artifacts, contradiction findings, and other structural issues.
231
231
 
@@ -238,7 +238,9 @@ Run anti-drift and vault health checks such as stale pages, missing graph artifa
238
238
  - `candidate_page`
239
239
  - `follow_up_question`
240
240
 
241
- `--web` can only be used with `--deep`. It enriches deep-lint findings with external evidence snippets and URLs from a configured web-search provider.
241
+ Set `profile.deepLintDefault: true` when deep lint should be the default for `swarmvault lint`, and use `--no-deep` when one run should stay structural only.
242
+
243
+ `--web` can only be used when deep lint is enabled, either explicitly with `--deep` or through `profile.deepLintDefault`. It enriches deep-lint findings with external evidence snippets and URLs from a configured web-search provider.
242
244
 
243
245
  `--conflicts` filters the results down to contradiction-focused findings so you can audit conflicting claims without the rest of the lint output.
244
246
 
package/dist/index.js CHANGED
@@ -268,9 +268,9 @@ program.name("swarmvault").description("SwarmVault is a local-first knowledge co
268
268
  function readCliVersion() {
269
269
  try {
270
270
  const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
271
- return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "0.7.2";
271
+ return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "0.7.21";
272
272
  } catch {
273
- return "0.7.2";
273
+ return "0.7.21";
274
274
  }
275
275
  }
276
276
  function parsePositiveInt(value, fallback) {
@@ -738,9 +738,11 @@ program.command("benchmark").description("Measure graph-guided context reduction
738
738
  }
739
739
  }
740
740
  });
741
- program.command("lint").description("Run anti-drift and wiki-health checks.").option("--deep", "Run LLM-powered advisory lint", false).option("--web", "Augment deep lint with configured web search", false).option("--conflicts", "Filter to contradiction findings only", false).action(async (options) => {
741
+ program.command("lint").description("Run anti-drift and wiki-health checks.").option("--deep", "Run LLM-powered advisory lint (default: from config)").option("--no-deep", "Skip deep lint even if enabled in config").option("--web", "Augment deep lint with configured web search", false).option("--conflicts", "Filter to contradiction findings only", false).action(async (options) => {
742
+ const lintConfig = await loadVaultConfig(process2.cwd()).catch(() => null);
743
+ const deepEnabled = options.deep ?? lintConfig?.config.profile.deepLintDefault ?? false;
742
744
  const findings = await lintVault(process2.cwd(), {
743
- deep: options.deep ?? false,
745
+ deep: deepEnabled,
744
746
  web: options.web ?? false,
745
747
  conflicts: options.conflicts ?? false
746
748
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmvaultai/cli",
3
- "version": "0.7.2",
3
+ "version": "0.7.21",
4
4
  "description": "Global CLI for SwarmVault.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "node": ">=24.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@swarmvaultai/engine": "0.7.2",
41
+ "@swarmvaultai/engine": "0.7.21",
42
42
  "commander": "^14.0.1"
43
43
  },
44
44
  "devDependencies": {