@wirecat/mail-cli 0.42.0 → 0.43.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 +19 -0
- package/contracts/wirecat.json +51 -0
- package/dist/bin/mail.js +6 -2
- package/dist/bundle/{chunk-XHLSJ7JE.js → chunk-NEY4W5OP.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{program-Q62X3NWC.js → program-VUMSDVHN.js} +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.43.0 — 30.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`mail store migrate`, `mail store info` and `mail store recover`.** A search that finds the local store behind
|
|
10
|
+
this build says to run `mail store migrate`, and this CLI had no such command. A damaged store now names `mail store
|
|
11
|
+
recover`.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Built on @wirecat/cli-core 3.6.3 and @wirecat/cli-base 3.1.4** (were 3.4.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
|
+
- **`session end` after `session start --credential-storage file` deletes `credentials.json`** when it held the last
|
|
19
|
+
sign-in. It was left behind as `{}`. A file that still holds another profile's sign-in is kept.
|
|
20
|
+
- **The release checks keep passing after 2026-12-11.** cli-base 2.x's audit named shared differences due on
|
|
21
|
+
2026-11-27, which cli-base 3.1.4 has reviewed.
|
|
22
|
+
- **A read-only open no longer builds indexes**, so the first search after an upgrade reads the store as it is.
|
|
23
|
+
|
|
5
24
|
## 0.42.0 — 29.11.2026
|
|
6
25
|
|
|
7
26
|
### Changed — may break callers
|
package/contracts/wirecat.json
CHANGED
|
@@ -1062,6 +1062,57 @@
|
|
|
1062
1062
|
"local": "write"
|
|
1063
1063
|
},
|
|
1064
1064
|
"permission": "schedule.exec"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"path": [
|
|
1068
|
+
"store",
|
|
1069
|
+
"info"
|
|
1070
|
+
],
|
|
1071
|
+
"summary": "the shared store's format, size and contents, and whether this tool can read it",
|
|
1072
|
+
"effects": {
|
|
1073
|
+
"remote": "none",
|
|
1074
|
+
"local": "read"
|
|
1075
|
+
},
|
|
1076
|
+
"permission": "store.info",
|
|
1077
|
+
"entity": "store_info"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"path": [
|
|
1081
|
+
"store",
|
|
1082
|
+
"recover"
|
|
1083
|
+
],
|
|
1084
|
+
"summary": "what is damaged in the store and how to recover it",
|
|
1085
|
+
"effects": {
|
|
1086
|
+
"remote": "none",
|
|
1087
|
+
"local": "read"
|
|
1088
|
+
},
|
|
1089
|
+
"permission": "store.recover"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"path": [
|
|
1093
|
+
"store",
|
|
1094
|
+
"recover",
|
|
1095
|
+
"run"
|
|
1096
|
+
],
|
|
1097
|
+
"summary": "rebuild a damaged store from every row it can read",
|
|
1098
|
+
"effects": {
|
|
1099
|
+
"remote": "none",
|
|
1100
|
+
"local": "write"
|
|
1101
|
+
},
|
|
1102
|
+
"permission": "store.recover.run"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"path": [
|
|
1106
|
+
"store",
|
|
1107
|
+
"migrate"
|
|
1108
|
+
],
|
|
1109
|
+
"summary": "migrate an older local store",
|
|
1110
|
+
"effects": {
|
|
1111
|
+
"remote": "none",
|
|
1112
|
+
"local": "write"
|
|
1113
|
+
},
|
|
1114
|
+
"permission": "store.migrate",
|
|
1115
|
+
"entity": "store_migration"
|
|
1065
1116
|
}
|
|
1066
1117
|
],
|
|
1067
1118
|
"entities": {
|
package/dist/bin/mail.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.43.0\n")
|
|
13
|
+
try {
|
|
14
|
+
const { wcatStart } = await import("@wirecat/cli-base/wcat/start")
|
|
15
|
+
await wcatStart({ command: "mail", version: "0.43.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-VUMSDVHN.js"]
|
|
30
34
|
const preload = () =>
|
|
31
35
|
Promise.allSettled([
|
|
32
36
|
...chunks.map((chunk) => import(chunk)),
|
|
@@ -57,7 +57,7 @@ var ENTRIES = [
|
|
|
57
57
|
var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
|
|
58
58
|
|
|
59
59
|
// dist/version.js
|
|
60
|
-
var VERSION = "0.
|
|
60
|
+
var VERSION = "0.43.0";
|
|
61
61
|
|
|
62
62
|
// dist/identity.js
|
|
63
63
|
var PACKAGE = "@wirecat/mail-cli";
|
package/dist/bundle/mail.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-NEY4W5OP.js";
|
|
7
7
|
|
|
8
8
|
// dist/bin/mail.js
|
|
9
9
|
import { enableCompileCache } from "node:module";
|
|
@@ -15,7 +15,7 @@ if (wcat.code !== void 0) {
|
|
|
15
15
|
process.exitCode = wcat.code;
|
|
16
16
|
} else {
|
|
17
17
|
const stopCatching = catchCrashes({ cli: DESKTOP.command, interactive: process.stdout.isTTY === true });
|
|
18
|
-
const { run } = await import("./program-
|
|
18
|
+
const { run } = await import("./program-VUMSDVHN.js");
|
|
19
19
|
try {
|
|
20
20
|
process.exitCode = await run(process.argv.slice(2));
|
|
21
21
|
} finally {
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.43.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/mail-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"mcpName": "dev.wirecat/mail-cli",
|
|
5
5
|
"description": "IMAP sync of a mailbox into the shared WireCat store, offline search, and flags, folders and Trash with undo on the server, the app password kept in the OS keyring — built for agents and scripts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"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'"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@wirecat/cli-base": "
|
|
62
|
-
"@wirecat/cli-core": "3.
|
|
61
|
+
"@wirecat/cli-base": "3.1.4",
|
|
62
|
+
"@wirecat/cli-core": "3.6.3",
|
|
63
63
|
"commander": "15.0.0",
|
|
64
64
|
"imapflow": "2.9.1",
|
|
65
65
|
"nodemailer": "10.1.7",
|