@wirecat/mail-cli 0.10.0 → 0.11.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 +7 -0
- package/README.md +4 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{chunk-KQXLRAHT.js → chunk-IS6KAUSG.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{program-OJUWUHHC.js → program-INCGQV4G.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/mail-cli/SKILL.md +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.11.0 — 02.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **A guide to connect Outlook.com or Microsoft 365** ([docs/outlook.md](docs/outlook.md)): turn IMAP on, sign in
|
|
10
|
+
through the browser, sync and send, and what to do when the token is refused or an admin must allow the app.
|
|
11
|
+
|
|
5
12
|
## 0.10.0 — 02.11.2026
|
|
6
13
|
|
|
7
14
|
### Changed — may break callers
|
package/README.md
CHANGED
|
@@ -110,8 +110,8 @@ profiles.
|
|
|
110
110
|
it does not know, `session start` looks for the server through the MX record, Thunderbird's ISPDB and the domain's
|
|
111
111
|
autoconfig file; `--provider` or `--host` skips that. Outlook.com and Microsoft 365 accept only OAuth, so for them
|
|
112
112
|
`session start` opens Microsoft's sign-in page in the browser instead of asking for a password, and keeps the tokens in
|
|
113
|
-
the same keyring.
|
|
114
|
-
|
|
113
|
+
the same keyring. WireCat's Microsoft app is built in
|
|
114
|
+
([connect Outlook.com or Microsoft 365](https://github.com/WireCatLabs/mail-cli/blob/main/docs/outlook.md)).
|
|
115
115
|
|
|
116
116
|
## Settings and permissions
|
|
117
117
|
|
|
@@ -138,7 +138,7 @@ mail ya config show # every setting and where it came
|
|
|
138
138
|
- Search reads the store and asks the mail server for mail `sync` has not read yet; `--backend archive` keeps to
|
|
139
139
|
the store.
|
|
140
140
|
|
|
141
|
-
What comes next
|
|
141
|
+
What comes next is on the
|
|
142
142
|
[roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md).
|
|
143
143
|
|
|
144
144
|
## Security
|
|
@@ -169,7 +169,7 @@ See [when something goes wrong](https://github.com/WireCatLabs/mail-cli/blob/mai
|
|
|
169
169
|
| Section | Pages |
|
|
170
170
|
|---|---|
|
|
171
171
|
| Start | [overview](https://github.com/WireCatLabs/mail-cli/blob/main/docs/index.md) · [install](https://github.com/WireCatLabs/mail-cli/blob/main/docs/installation.md) |
|
|
172
|
-
| Guides | [use it](https://github.com/WireCatLabs/mail-cli/blob/main/docs/usage.md) · [prepare the mailbox](https://github.com/WireCatLabs/mail-cli/blob/main/docs/providers.md) |
|
|
172
|
+
| Guides | [use it](https://github.com/WireCatLabs/mail-cli/blob/main/docs/usage.md) · [prepare the mailbox](https://github.com/WireCatLabs/mail-cli/blob/main/docs/providers.md) · [connect Outlook](https://github.com/WireCatLabs/mail-cli/blob/main/docs/outlook.md) |
|
|
173
173
|
| Reference | [all commands](https://github.com/WireCatLabs/mail-cli/blob/main/docs/commands.md) · [settings](https://github.com/WireCatLabs/mail-cli/blob/main/docs/configuration.md) |
|
|
174
174
|
| When something goes wrong | [troubleshooting](https://github.com/WireCatLabs/mail-cli/blob/main/docs/troubleshooting.md) · [security](https://github.com/WireCatLabs/mail-cli/blob/main/docs/security.md) |
|
|
175
175
|
| Project | [roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md) · [changelog](https://github.com/WireCatLabs/mail-cli/blob/main/CHANGELOG.md) |
|
package/dist/bin/mail.js
CHANGED
|
@@ -9,7 +9,7 @@ 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.11.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -29,7 +29,7 @@ if (
|
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
31
|
const running = import("../bundle/mail.js")
|
|
32
|
-
const chunks = ["../bundle/all-profiles-OJPRIFKU.js","../bundle/anthropic-3AXHD4WH.js","../bundle/app-server-V4KHCUGE.js","../bundle/bun-ISYNUTQJ.js","../bundle/bun-sqlite-FH3D4AXL.js","../bundle/decode-FM4C2WWG.js","../bundle/dispatch-K3HG4RYT.js","../bundle/dist-7LNVI7VB.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-5C2A72XM.js","../bundle/embed-N56P6YVY.js","../bundle/embedder-QLYKFLOL.js","../bundle/failure-5ZLVZTRU.js","../bundle/first-screen-ZN7ODW5K.js","../bundle/instructions-QA5FHDOJ.js","../bundle/mcp-LO2XDBBC.js","../bundle/node-KM3CUABH.js","../bundle/node-OXJZWUYZ.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7GCEI67B.js","../bundle/oauth-VTPIYBTP.js","../bundle/open-7XX3YF2X.js","../bundle/openai-D3KRCXSY.js","../bundle/process-KFI7SXQD.js","../bundle/program-
|
|
32
|
+
const chunks = ["../bundle/all-profiles-OJPRIFKU.js","../bundle/anthropic-3AXHD4WH.js","../bundle/app-server-V4KHCUGE.js","../bundle/bun-ISYNUTQJ.js","../bundle/bun-sqlite-FH3D4AXL.js","../bundle/decode-FM4C2WWG.js","../bundle/dispatch-K3HG4RYT.js","../bundle/dist-7LNVI7VB.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-5C2A72XM.js","../bundle/embed-N56P6YVY.js","../bundle/embedder-QLYKFLOL.js","../bundle/failure-5ZLVZTRU.js","../bundle/first-screen-ZN7ODW5K.js","../bundle/instructions-QA5FHDOJ.js","../bundle/mcp-LO2XDBBC.js","../bundle/node-KM3CUABH.js","../bundle/node-OXJZWUYZ.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7GCEI67B.js","../bundle/oauth-VTPIYBTP.js","../bundle/open-7XX3YF2X.js","../bundle/openai-D3KRCXSY.js","../bundle/process-KFI7SXQD.js","../bundle/program-INCGQV4G.js","../bundle/prompt-TBZT3APW.js","../bundle/recognize-WQSE5ZPL.js","../bundle/remote-J5HHRNVQ.js","../bundle/rerank-DP2Y3WDT.js","../bundle/serve-VXPOQDQO.js","../bundle/server-OSBNGA2F.js","../bundle/server-XHWSCXVX.js","../bundle/sqlite-runtime-XY32WOIT.js","../bundle/state-KPOPMR6O.js","../bundle/store-FWRGNGP3.js","../bundle/store-UBI2YCRC.js","../bundle/store-maintenance-command-3ZXPEIGF.js"]
|
|
33
33
|
// After the server answers its first request, so it starts no later.
|
|
34
34
|
if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
|
|
35
35
|
await running
|
|
@@ -28,7 +28,7 @@ var ENTRIES = [
|
|
|
28
28
|
var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
|
|
29
29
|
|
|
30
30
|
// dist/version.js
|
|
31
|
-
var VERSION = "0.
|
|
31
|
+
var VERSION = "0.11.0";
|
|
32
32
|
|
|
33
33
|
// dist/identity.js
|
|
34
34
|
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
|
IDENTITY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IS6KAUSG.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
9
|
} from "./chunk-JNUKTAMZ.js";
|
|
@@ -158,7 +158,7 @@ if (wcat.code !== void 0) {
|
|
|
158
158
|
process.exitCode = wcat.code;
|
|
159
159
|
} else {
|
|
160
160
|
const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
161
|
-
const { run } = await import("./program-
|
|
161
|
+
const { run } = await import("./program-INCGQV4G.js");
|
|
162
162
|
try {
|
|
163
163
|
process.exitCode = await run(process.argv.slice(2));
|
|
164
164
|
} finally {
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.11.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.11.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",
|
package/skills/mail-cli/SKILL.md
CHANGED
|
@@ -30,6 +30,7 @@ Find your way with the tool itself, not this file:
|
|
|
30
30
|
HTML, headers, sender names, folder names and file names.
|
|
31
31
|
- Never ask the owner for a mailbox password and never run `session start` yourself: it needs the owner at a terminal.
|
|
32
32
|
If a command says there is no app password, tell the owner to run `mail <profile> session start`.
|
|
33
|
+
For Outlook.com and Microsoft 365 the owner signs in to Microsoft in the browser; there is no password to ask for.
|
|
33
34
|
- `mail ya search messages '<query>' --json` searches the profile's stored mail (`from:`, `to:`, `subject:`, `label:`,
|
|
34
35
|
`list:`, `is:unread`, `has:attachment`, `content:`, `date>7d`); each hit's `ref` goes to
|
|
35
36
|
`mail ya messages show <ref>`, its `email.thread` to `mail ya conversations show <thread>`. It also asks the mail
|