@wirecat/mail-cli 0.10.0 → 0.12.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 CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.12.0 — 02.11.2026
6
+
7
+ ### Added
8
+
9
+ - **Work or school accounts: what to do when Microsoft asks for admin approval** ([docs/outlook.md](docs/outlook.md)):
10
+ why `AADSTS90094` appears, the admin-consent link for WireCat's app with how to revoke it, and how an organisation
11
+ registers its own app.
12
+
13
+ ## 0.11.0 — 02.11.2026
14
+
15
+ ### Added
16
+
17
+ - **A guide to connect Outlook.com or Microsoft 365** ([docs/outlook.md](docs/outlook.md)): turn IMAP on, sign in
18
+ through the browser, sync and send, and what to do when the token is refused or an admin must allow the app.
19
+
5
20
  ## 0.10.0 — 02.11.2026
6
21
 
7
22
  ### 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. Until WireCat's Microsoft app is registered, this needs an app of your own, set once with
114
- `mail config set --defaults microsoft_client_id <id>` ([register a Microsoft app](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-microsoft.md)).
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, such as OAuth sign-in, is on the
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.10.0\n")
12
+ process.stdout.write("0.12.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-OJUWUHHC.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"]
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-4B25STRN.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.10.0";
31
+ var VERSION = "0.12.0";
32
32
 
33
33
  // dist/identity.js
34
34
  var PACKAGE = "@wirecat/mail-cli";
@@ -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-KQXLRAHT.js";
6
+ } from "./chunk-AO32MFDY.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-OJUWUHHC.js");
161
+ const { run } = await import("./program-4B25STRN.js");
162
162
  try {
163
163
  process.exitCode = await run(process.argv.slice(2));
164
164
  } finally {
@@ -680,7 +680,7 @@ import {
680
680
  IDENTITY,
681
681
  PACKAGE,
682
682
  SKILL
683
- } from "./chunk-KQXLRAHT.js";
683
+ } from "./chunk-AO32MFDY.js";
684
684
  import {
685
685
  installerOf
686
686
  } from "./chunk-JNUKTAMZ.js";
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.10.0";
1
+ export declare const VERSION = "0.12.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.10.0";
1
+ export const VERSION = "0.12.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.10.0",
3
+ "version": "0.12.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",
@@ -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