@wirecat/mail-cli 0.43.1 → 0.43.2

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,16 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.43.2 — 02.12.2026
6
+
7
+ ### Fixed
8
+
9
+ - **The agent skill's description sends reads to wcat.** It keeps syncing, sorting, rules, drafts and sending for
10
+ `mail`, and says to find or read an email with `wcat search all` first, even when the question names mail; `mail`'s
11
+ own search is the fallback when wcat is not installed.
12
+ - **mail moves to cli-core 3.10.1 and cli-base 3.2.3**, which stops the crash when two cli-base copies share one npm
13
+ tree.
14
+
5
15
  ## 0.43.1 — 02.12.2026
6
16
 
7
17
  ### Fixed
package/dist/bin/mail.js CHANGED
@@ -9,10 +9,10 @@ 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.43.1\n")
12
+ process.stdout.write("0.43.2\n")
13
13
  try {
14
14
  const { wcatStart } = await import("@wirecat/cli-base/wcat/start")
15
- await wcatStart({ command: "mail", version: "0.43.1" })
15
+ await wcatStart({ command: "mail", version: "0.43.2" })
16
16
  } catch {}
17
17
  } else {
18
18
  // Before the bundle compiles: the bundle's own call comes after its chunks.
@@ -30,7 +30,7 @@ if (
30
30
  : next(specifier, context),
31
31
  })
32
32
  }
33
- const chunks = ["../bundle/program-BTYLGFRT.js"]
33
+ const chunks = ["../bundle/program-WFD3UI4D.js"]
34
34
  const preload = () =>
35
35
  Promise.allSettled([
36
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.43.1";
60
+ var VERSION = "0.43.2";
61
61
 
62
62
  // dist/identity.js
63
63
  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
  DESKTOP
6
- } from "./chunk-J4224E52.js";
6
+ } from "./chunk-2YSYHQNJ.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-BTYLGFRT.js");
18
+ const { run } = await import("./program-WFD3UI4D.js");
19
19
  try {
20
20
  process.exitCode = await run(process.argv.slice(2));
21
21
  } finally {
@@ -6,7 +6,7 @@ import {
6
6
  PACKAGE,
7
7
  SKILL,
8
8
  __name
9
- } from "./chunk-J4224E52.js";
9
+ } from "./chunk-2YSYHQNJ.js";
10
10
 
11
11
  // dist/program.js
12
12
  import { join as join8 } from "node:path";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.43.1";
1
+ export const VERSION = "0.43.2";
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.43.1",
3
+ "version": "0.43.2",
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": "3.2.1",
62
- "@wirecat/cli-core": "3.9.0",
61
+ "@wirecat/cli-base": "3.2.3",
62
+ "@wirecat/cli-core": "3.10.1",
63
63
  "commander": "15.0.0",
64
64
  "imapflow": "2.9.1",
65
65
  "nodemailer": "10.1.7",
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: mail-cli
3
3
  description: >-
4
- Read, sort and send the owner's email with mail, a WireCat CLI over IMAP and SMTP, with JSON answers. Use when the
5
- request is about email: a named mailbox, an email or thread, syncing, moving or deleting mail, mail rules, drafts,
6
- sending, replying or forwarding. It never asks for a password; over MCP it mails only the owner unless the owner
7
- allows more.
4
+ Sync, sort and send the owner's email with mail, over IMAP and SMTP: move or delete mail, mail rules,
5
+ drafts, sending, replying or forwarding. To find or read an email (even when the question names mail), start with
6
+ `wcat search all`; mail's own search is the fallback when wcat is not installed. It never asks for a password; over
7
+ MCP it mails only the owner unless the owner allows more.
8
8
  metadata:
9
9
  openclaw:
10
10
  requires: