@wirecat/files-cli 0.5.0 → 0.6.0
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/CHANGELOG.md +18 -0
- package/contracts/wirecat.json +51 -0
- package/dist/bin/files.js +6 -2
- package/dist/bundle/{chunk-CRV763P4.js → chunk-HKVR53AD.js} +1 -1
- package/dist/bundle/files.js +2 -2
- package/dist/bundle/{program-FWKVEPTL.js → program-ACW42YWQ.js} +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/files-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.6.0 — 30.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`files store migrate`, `files store info` and `files store recover`.** A search that finds the local store behind
|
|
10
|
+
this build says to run `files store migrate`, and this CLI had no such command. A damaged store now names `files
|
|
11
|
+
store recover`.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Built on @wirecat/cli-core 3.6.3 and @wirecat/cli-base 3.1.4** (were 3.5.1 and 2.1.0).
|
|
16
|
+
- **A search never writes to the local store**, so a store this CLI may not write is searched too. A command that
|
|
17
|
+
writes indexes what it stored when it closes the store.
|
|
18
|
+
- **The release checks keep passing after 2026-12-11.** cli-base 2.x's audit named shared differences due on
|
|
19
|
+
2026-11-27, which cli-base 3.1.4 has reviewed.
|
|
20
|
+
- **Built on @wirecat/cli-core 3.6.3** (was 3.6.0). A read-only open no longer builds indexes, so the first search
|
|
21
|
+
after an upgrade reads the store as it is.
|
|
22
|
+
|
|
5
23
|
## 0.5.0 — 30.11.2026
|
|
6
24
|
|
|
7
25
|
### Fixed
|
package/contracts/wirecat.json
CHANGED
|
@@ -595,6 +595,57 @@
|
|
|
595
595
|
"local": "none"
|
|
596
596
|
},
|
|
597
597
|
"entity": "run_location"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"path": [
|
|
601
|
+
"store",
|
|
602
|
+
"info"
|
|
603
|
+
],
|
|
604
|
+
"summary": "the shared store's format, size and contents, and whether this tool can read it",
|
|
605
|
+
"effects": {
|
|
606
|
+
"remote": "none",
|
|
607
|
+
"local": "read"
|
|
608
|
+
},
|
|
609
|
+
"permission": "store.info",
|
|
610
|
+
"entity": "store_info"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"path": [
|
|
614
|
+
"store",
|
|
615
|
+
"recover"
|
|
616
|
+
],
|
|
617
|
+
"summary": "what is damaged in the store and how to recover it",
|
|
618
|
+
"effects": {
|
|
619
|
+
"remote": "none",
|
|
620
|
+
"local": "read"
|
|
621
|
+
},
|
|
622
|
+
"permission": "store.recover"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"path": [
|
|
626
|
+
"store",
|
|
627
|
+
"recover",
|
|
628
|
+
"run"
|
|
629
|
+
],
|
|
630
|
+
"summary": "rebuild a damaged store from every row it can read",
|
|
631
|
+
"effects": {
|
|
632
|
+
"remote": "none",
|
|
633
|
+
"local": "write"
|
|
634
|
+
},
|
|
635
|
+
"permission": "store.recover.run"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"path": [
|
|
639
|
+
"store",
|
|
640
|
+
"migrate"
|
|
641
|
+
],
|
|
642
|
+
"summary": "migrate an older local store",
|
|
643
|
+
"effects": {
|
|
644
|
+
"remote": "none",
|
|
645
|
+
"local": "write"
|
|
646
|
+
},
|
|
647
|
+
"permission": "store.migrate",
|
|
648
|
+
"entity": "store_migration"
|
|
598
649
|
}
|
|
599
650
|
],
|
|
600
651
|
"entities": {
|
package/dist/bin/files.js
CHANGED
|
@@ -9,7 +9,11 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.6.0\n")
|
|
13
|
+
try {
|
|
14
|
+
const { wcatStart } = await import("@wirecat/cli-base/wcat/start")
|
|
15
|
+
await wcatStart({ command: "files", version: "0.6.0" })
|
|
16
|
+
} catch {}
|
|
13
17
|
} else {
|
|
14
18
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
19
|
module.enableCompileCache()
|
|
@@ -26,7 +30,7 @@ if (
|
|
|
26
30
|
: next(specifier, context),
|
|
27
31
|
})
|
|
28
32
|
}
|
|
29
|
-
const chunks = ["../bundle/program-
|
|
33
|
+
const chunks = ["../bundle/program-ACW42YWQ.js"]
|
|
30
34
|
const preload = () =>
|
|
31
35
|
Promise.allSettled([
|
|
32
36
|
...chunks.map((chunk) => import(chunk)),
|
package/dist/bundle/files.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HKVR53AD.js";
|
|
7
7
|
|
|
8
8
|
// dist/bin/files.js
|
|
9
9
|
import { enableCompileCache } from "node:module";
|
|
@@ -15,7 +15,7 @@ var wcat = await wcatStart(DESKTOP);
|
|
|
15
15
|
if (wcat.code !== void 0) {
|
|
16
16
|
process.exitCode = wcat.code;
|
|
17
17
|
} else {
|
|
18
|
-
const { run } = await import("./program-
|
|
18
|
+
const { run } = await import("./program-ACW42YWQ.js");
|
|
19
19
|
process.exitCode = await run(process.argv.slice(2));
|
|
20
20
|
}
|
|
21
21
|
stopCatching();
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.6.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/files-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Notes folders, Obsidian vaults, PDFs and transcripts for your AI agents, in the local store",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"docs:spell": "cspell lint --config cspell.json --no-progress --no-summary README.md SECURITY.md CHANGELOG.md AGENTS.md CLAUDE.md 'docs/*.md' 'skills/**/*.md' 'changes/*.md'"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@wirecat/cli-base": "
|
|
63
|
-
"@wirecat/cli-core": "3.
|
|
62
|
+
"@wirecat/cli-base": "3.1.4",
|
|
63
|
+
"@wirecat/cli-core": "3.6.3",
|
|
64
64
|
"commander": "15.0.0",
|
|
65
65
|
"valibot": "1.5.0",
|
|
66
66
|
"yaml": "2.9.1"
|