@swarmvaultai/cli 0.1.21 → 0.1.23
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 +5 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
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
|
|
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.22";
|
|
52
52
|
} catch {
|
|
53
|
-
return "0.1.
|
|
53
|
+
return "0.1.22";
|
|
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.23",
|
|
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.
|
|
42
|
+
"@swarmvaultai/engine": "0.1.23"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^24.6.0",
|