@swarmvaultai/cli 0.1.7 → 0.1.9

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -15,12 +15,12 @@ import {
15
15
  lintVault,
16
16
  listApprovals,
17
17
  listCandidates,
18
+ listSchedules,
18
19
  loadVaultConfig,
19
20
  promoteCandidate,
20
21
  queryVault,
21
22
  readApproval,
22
23
  rejectApproval,
23
- listSchedules,
24
24
  runSchedule,
25
25
  serveSchedules,
26
26
  startGraphServer,
@@ -29,7 +29,7 @@ import {
29
29
  } from "@swarmvaultai/engine";
30
30
  import { Command, Option } from "commander";
31
31
  var program = new Command();
32
- program.name("swarmvault").description("SwarmVault is a local-first LLM wiki compiler with graph outputs and pluggable providers.").version("0.1.7").option("--json", "Emit structured JSON output", false);
32
+ program.name("swarmvault").description("SwarmVault is a local-first LLM wiki compiler with graph outputs and pluggable providers.").version("0.1.9").option("--json", "Emit structured JSON output", false);
33
33
  function isJson() {
34
34
  return program.opts().json === true;
35
35
  }
@@ -85,7 +85,9 @@ program.command("compile").description("Compile manifests into wiki pages, graph
85
85
  }
86
86
  }
87
87
  });
88
- program.command("query").description("Query the compiled SwarmVault wiki.").argument("<question>", "Question to ask SwarmVault").option("--no-save", "Do not persist the answer to wiki/outputs").addOption(new Option("--format <format>", "Output format").choices(["markdown", "report", "slides", "chart", "image"]).default("markdown")).action(async (question, options) => {
88
+ program.command("query").description("Query the compiled SwarmVault wiki.").argument("<question>", "Question to ask SwarmVault").option("--no-save", "Do not persist the answer to wiki/outputs").addOption(
89
+ new Option("--format <format>", "Output format").choices(["markdown", "report", "slides", "chart", "image"]).default("markdown")
90
+ ).action(async (question, options) => {
89
91
  const result = await queryVault(process.cwd(), {
90
92
  question,
91
93
  save: options.save ?? true,
@@ -100,7 +102,9 @@ program.command("query").description("Query the compiled SwarmVault wiki.").argu
100
102
  }
101
103
  }
102
104
  });
103
- program.command("explore").description("Run a save-first multi-step exploration loop against the vault.").argument("<question>", "Root question to explore").option("--steps <n>", "Maximum number of exploration steps", "3").addOption(new Option("--format <format>", "Output format for step pages").choices(["markdown", "report", "slides", "chart", "image"]).default("markdown")).action(async (question, options) => {
105
+ program.command("explore").description("Run a save-first multi-step exploration loop against the vault.").argument("<question>", "Root question to explore").option("--steps <n>", "Maximum number of exploration steps", "3").addOption(
106
+ new Option("--format <format>", "Output format for step pages").choices(["markdown", "report", "slides", "chart", "image"]).default("markdown")
107
+ ).action(async (question, options) => {
104
108
  const stepCount = Number.parseInt(options.steps ?? "3", 10);
105
109
  const result = await exploreVault(process.cwd(), {
106
110
  question,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmvaultai/cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Global CLI for SwarmVault.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "commander": "^14.0.1",
42
- "@swarmvaultai/engine": "0.1.7"
42
+ "@swarmvaultai/engine": "0.1.9"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^24.6.0",