@swarmvaultai/cli 0.1.22 → 0.1.24
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 +7 -3
- package/dist/index.js +2 -2
- package/package.json +9 -9
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -87,9 +87,12 @@ Useful flags:
|
|
|
87
87
|
Capture supported URLs through a normalized markdown layer before ingesting them into the vault.
|
|
88
88
|
|
|
89
89
|
- arXiv abstract URLs and bare arXiv ids become durable markdown captures
|
|
90
|
+
- DOI URLs and bare DOI strings normalize into article-style research captures
|
|
91
|
+
- generic article URLs use a readability-style capture path with normalized research frontmatter
|
|
90
92
|
- X/Twitter URLs use a graceful public capture path
|
|
91
93
|
- unsupported URLs fall back to generic URL ingest instead of failing
|
|
92
94
|
- optional metadata: `--author <name>` and `--contributor <name>`
|
|
95
|
+
- normalized captures record fields such as `source_type`, `source_url`, `canonical_url`, `title`, `authors`, `published_at`, `updated_at`, `doi`, and `tags` when available
|
|
93
96
|
|
|
94
97
|
### `swarmvault inbox import [dir]`
|
|
95
98
|
|
|
@@ -116,8 +119,9 @@ With `--approve`, compile writes a staged review bundle into `state/approvals/`
|
|
|
116
119
|
Measure graph-guided context reduction against a naive full-corpus read.
|
|
117
120
|
|
|
118
121
|
- writes the latest result to `state/benchmark.json`
|
|
119
|
-
- updates `wiki/graph/report.md` with the current benchmark summary
|
|
122
|
+
- updates `wiki/graph/report.md` and `wiki/graph/report.json` with the current benchmark summary
|
|
120
123
|
- accepts repeatable `--question` inputs for vault-specific benchmarks
|
|
124
|
+
- compile and repo-aware refresh runs also keep the benchmark/report artifacts up to date by default
|
|
121
125
|
|
|
122
126
|
### `swarmvault review list|show|accept|reject`
|
|
123
127
|
|
|
@@ -223,7 +227,7 @@ Start the local graph workspace backed by `state/graph.json`, `/api/search`, `/a
|
|
|
223
227
|
|
|
224
228
|
### `swarmvault graph query "<question>" [--dfs] [--budget <n>]`
|
|
225
229
|
|
|
226
|
-
Run a deterministic local graph traversal seeded from local search and
|
|
230
|
+
Run a deterministic local graph traversal seeded from local search, graph labels, and matching group patterns.
|
|
227
231
|
|
|
228
232
|
### `swarmvault graph path <from> <to>`
|
|
229
233
|
|
|
@@ -231,7 +235,7 @@ Return the shortest high-confidence path between two graph targets.
|
|
|
231
235
|
|
|
232
236
|
### `swarmvault graph explain <target>`
|
|
233
237
|
|
|
234
|
-
Inspect graph metadata, community membership, neighbors, and
|
|
238
|
+
Inspect graph metadata, community membership, neighbors, provenance, and group-pattern membership for a node or page.
|
|
235
239
|
|
|
236
240
|
### `swarmvault graph god-nodes [--limit <n>]`
|
|
237
241
|
|
package/dist/index.js
CHANGED
|
@@ -48,9 +48,9 @@ program.name("swarmvault").description("SwarmVault is a local-first LLM wiki com
|
|
|
48
48
|
function readCliVersion() {
|
|
49
49
|
try {
|
|
50
50
|
const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
51
|
-
return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "0.1.
|
|
51
|
+
return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "0.1.24";
|
|
52
52
|
} catch {
|
|
53
|
-
return "0.1.
|
|
53
|
+
return "0.1.24";
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
function isJson() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swarmvaultai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"description": "Global CLI for SwarmVault.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=24.0.0"
|
|
39
39
|
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tsup src/index.ts --format esm --dts",
|
|
42
|
+
"test": "node -e \"process.exit(0)\"",
|
|
43
|
+
"typecheck": "tsc --noEmit"
|
|
44
|
+
},
|
|
40
45
|
"dependencies": {
|
|
41
|
-
"
|
|
42
|
-
"
|
|
46
|
+
"@swarmvaultai/engine": "workspace:*",
|
|
47
|
+
"commander": "^14.0.1"
|
|
43
48
|
},
|
|
44
49
|
"devDependencies": {
|
|
45
50
|
"@types/node": "^24.6.0",
|
|
46
51
|
"tsup": "^8.5.0"
|
|
47
|
-
},
|
|
48
|
-
"scripts": {
|
|
49
|
-
"build": "tsup src/index.ts --format esm --dts",
|
|
50
|
-
"test": "node -e \"process.exit(0)\"",
|
|
51
|
-
"typecheck": "tsc --noEmit"
|
|
52
52
|
}
|
|
53
|
-
}
|
|
53
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 SwarmVault
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|