@wirecat/mail-cli 0.2.0 → 0.4.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.
Files changed (102) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +10 -7
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-7WILOT5E.js → all-profiles-55XPXQHY.js} +5 -5
  5. package/dist/bundle/{anthropic-NHWLIMEZ.js → anthropic-K5B6I4LB.js} +3 -3
  6. package/dist/bundle/{app-server-XDMYCJLV.js → app-server-VWWLQLTZ.js} +39 -39
  7. package/dist/bundle/{bun-GTG5IYLQ.js → bun-EO7AI6YP.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-KGH5F33G.js → bun-sqlite-F24A4IOP.js} +2 -2
  9. package/dist/bundle/{chunk-DDMJ3RVO.js → chunk-2ADB5DSG.js} +2 -2
  10. package/dist/bundle/{chunk-76IKLP2M.js → chunk-2LP46EUH.js} +96 -91
  11. package/dist/bundle/{chunk-EKE3R36Y.js → chunk-2NZGUKYK.js} +6 -6
  12. package/dist/bundle/{chunk-SVNTRF5O.js → chunk-4KLJN3LK.js} +11 -11
  13. package/dist/bundle/{chunk-7REG25RM.js → chunk-5RUTHKXZ.js} +3 -3
  14. package/dist/bundle/{chunk-WJ3LUWRN.js → chunk-6BNMEOVS.js} +3 -3
  15. package/dist/bundle/{chunk-S2GSU4MT.js → chunk-6BR6JMCR.js} +9 -9
  16. package/dist/bundle/{chunk-5FLW25US.js → chunk-7IYDIU4P.js} +5 -5
  17. package/dist/bundle/{chunk-D7UZXUSB.js → chunk-7QQ4EMYF.js} +2 -2
  18. package/dist/bundle/{chunk-UZR3IKS7.js → chunk-7X64JS6S.js} +1 -1
  19. package/dist/bundle/{chunk-Z6F7EXT2.js → chunk-ANRI6EZY.js} +7 -7
  20. package/dist/bundle/{chunk-YQAUH3PN.js → chunk-BHKI5OCD.js} +1 -1
  21. package/dist/bundle/{chunk-H66ZMBDD.js → chunk-CADRRSQK.js} +1 -1
  22. package/dist/bundle/{chunk-BKZEYTLU.js → chunk-CCNHVZ3G.js} +412 -324
  23. package/dist/bundle/{chunk-AJIT2T3F.js → chunk-CSI73XJ5.js} +6 -6
  24. package/dist/bundle/{chunk-7LKJDJNS.js → chunk-EDKV6D6T.js} +1 -1
  25. package/dist/bundle/{chunk-Y6KUKIQZ.js → chunk-EOEYP7CJ.js} +2 -2
  26. package/dist/bundle/{chunk-H5BW7454.js → chunk-F6JTOQIK.js} +5 -4
  27. package/dist/bundle/{chunk-6HIW7IJL.js → chunk-F7KAJNNK.js} +4 -4
  28. package/dist/bundle/{chunk-ETPT7TPW.js → chunk-FFKNUVVD.js} +1 -1
  29. package/dist/bundle/{chunk-QUGFBY7O.js → chunk-H7K2DN3R.js} +7 -7
  30. package/dist/bundle/{chunk-VBLFQJY3.js → chunk-HJEMHZRU.js} +1 -1
  31. package/dist/bundle/{chunk-R5JD4GMA.js → chunk-HORM6VRV.js} +1 -1
  32. package/dist/bundle/{chunk-GQKYSGIA.js → chunk-HUB42T2Z.js} +46 -46
  33. package/dist/bundle/{chunk-QJHCKFFC.js → chunk-ID24SLH3.js} +16 -16
  34. package/dist/bundle/{chunk-BUOSCMCD.js → chunk-IIO6NXCA.js} +2 -2
  35. package/dist/bundle/{chunk-AROBJF5P.js → chunk-JKHI3PH7.js} +1 -1
  36. package/dist/bundle/{chunk-THVLMTH7.js → chunk-JZFIHVRB.js} +26 -26
  37. package/dist/bundle/{chunk-VWO3XXSF.js → chunk-LKDK5YMI.js} +1 -1
  38. package/dist/bundle/{chunk-MDVXIPA3.js → chunk-M4NTQ247.js} +10 -10
  39. package/dist/bundle/{chunk-H7NUGJPV.js → chunk-MGBGE2Y4.js} +2 -2
  40. package/dist/bundle/{chunk-Y5WA7AOA.js → chunk-NL5LNYGX.js} +21 -21
  41. package/dist/bundle/{chunk-GPAAQ6LY.js → chunk-OM4ZBLT7.js} +13 -13
  42. package/dist/bundle/{chunk-QUSZWBZF.js → chunk-ORYYYM5Y.js} +32 -22
  43. package/dist/bundle/{chunk-VRQRBVKT.js → chunk-QYWDC7NP.js} +43 -43
  44. package/dist/bundle/{chunk-4I3YT5KK.js → chunk-RLSGMMGC.js} +4 -4
  45. package/dist/bundle/{chunk-77VHMI3A.js → chunk-SWRNMYDL.js} +1 -1
  46. package/dist/bundle/{chunk-BPF7IXJT.js → chunk-SY3SP7EI.js} +5 -5
  47. package/dist/bundle/{chunk-TMVIQJCG.js → chunk-UJYCKCFR.js} +2 -2
  48. package/dist/bundle/{chunk-HJRUFT5Y.js → chunk-UO7X2VW4.js} +5 -5
  49. package/dist/bundle/{chunk-5JOKRFWE.js → chunk-UZDHK26H.js} +1 -1
  50. package/dist/bundle/{chunk-ZKH5CHGI.js → chunk-VP5GCMHM.js} +5 -5
  51. package/dist/bundle/{chunk-2X4WYZPA.js → chunk-VWHRIGYJ.js} +2 -2
  52. package/dist/bundle/{chunk-7QEE5I7H.js → chunk-VWXCEEUH.js} +2 -2
  53. package/dist/bundle/{chunk-CT7NG7BI.js → chunk-WFBTPZK3.js} +3 -3
  54. package/dist/bundle/{chunk-STC45HZX.js → chunk-X7AXH2IC.js} +196 -196
  55. package/dist/bundle/{chunk-MABCR67K.js → chunk-XJ5TBPCK.js} +2 -2
  56. package/dist/bundle/{chunk-H7XOHNRY.js → chunk-YSSMDVT3.js} +1 -1
  57. package/dist/bundle/{chunk-ZNYJG4AY.js → chunk-YYTWV5GU.js} +42 -42
  58. package/dist/bundle/{chunk-QLYHLW54.js → chunk-ZAR67WKR.js} +5 -5
  59. package/dist/bundle/{command-contract-Y42ULKE5.js → command-contract-L65UZ7AF.js} +13 -13
  60. package/dist/bundle/{decode-L4X542L3.js → decode-ON4KBMEX.js} +2 -2
  61. package/dist/bundle/{dist-WKIRHOLK.js → dist-FMN7UZ7R.js} +14 -14
  62. package/dist/bundle/{echarts-G6QLXR4X.js → echarts-XPA226QR.js} +2 -2
  63. package/dist/bundle/{embed-E33ZBHQR.js → embed-QERDAB73.js} +3 -3
  64. package/dist/bundle/{embedder-EMBCIVGF.js → embedder-I76YT3E5.js} +6 -6
  65. package/dist/bundle/{first-run-WF2HF5FI.js → first-run-KZJFR55N.js} +5 -5
  66. package/dist/bundle/{first-screen-DZFOUUZC.js → first-screen-EORANEAK.js} +14 -14
  67. package/dist/bundle/{instructions-DUH7265J.js → instructions-NN3BCFIM.js} +1 -1
  68. package/dist/bundle/mail.js +2 -2
  69. package/dist/bundle/{node-73PKCCE7.js → node-2S75QJ6B.js} +2 -2
  70. package/dist/bundle/{node-sqlite-FDD5N6GC.js → node-sqlite-RC7WM3EG.js} +2 -2
  71. package/dist/bundle/{oauth-ND3K2F7B.js → oauth-FUHLZCKV.js} +4 -4
  72. package/dist/bundle/{open-FZYY6TKE.js → open-JOKT7LKY.js} +1 -1
  73. package/dist/bundle/{openai-BXOF6XIM.js → openai-U3IMQ6UI.js} +10 -10
  74. package/dist/bundle/{process-TXIK4VJP.js → process-LKODK722.js} +1 -1
  75. package/dist/bundle/{program-2SUR4WOS.js → program-RMLIQXCA.js} +944 -613
  76. package/dist/bundle/{prompt-I5GCP73M.js → prompt-23VYMNNB.js} +2 -2
  77. package/dist/bundle/{recognize-ILYEKXVB.js → recognize-TXO3462R.js} +1 -1
  78. package/dist/bundle/{remote-SSPZEAJ7.js → remote-5F4ZOASM.js} +4 -4
  79. package/dist/bundle/{rerank-NAO5RMGB.js → rerank-TXSDPEFE.js} +4 -4
  80. package/dist/bundle/{serve-UDXIEQKC.js → serve-TWYECYWM.js} +6 -6
  81. package/dist/bundle/server-2GEAXKX2.js +63 -0
  82. package/dist/bundle/{server-KTPELKAN.js → server-3S3BKE6D.js} +31 -31
  83. package/dist/bundle/{sqlite-runtime-AONFLND6.js → sqlite-runtime-BEOBGC6K.js} +2 -2
  84. package/dist/bundle/{state-I4PLX3UB.js → state-ERWIUTQQ.js} +3 -3
  85. package/dist/bundle/{store-ZPPRXGPY.js → store-2JO4JGQL.js} +11 -9
  86. package/dist/bundle/{store-OHQH3MGN.js → store-4RY5UMOP.js} +11 -11
  87. package/dist/bundle/store-maintenance-command-T7D4OTN7.js +52 -0
  88. package/dist/commands/read.d.ts +3 -0
  89. package/dist/commands/read.d.ts.map +1 -0
  90. package/dist/commands/read.js +33 -0
  91. package/dist/commands/read.js.map +1 -0
  92. package/dist/identity.js +1 -1
  93. package/dist/identity.js.map +1 -1
  94. package/dist/program.d.ts.map +1 -1
  95. package/dist/program.js +10 -1
  96. package/dist/program.js.map +1 -1
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +3 -3
  100. package/skills/mail-cli/SKILL.md +6 -2
  101. package/dist/bundle/server-UZFSEKNJ.js +0 -63
  102. package/dist/bundle/store-maintenance-command-QOYXEBT6.js +0 -52
package/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.4.0 — 01.11.2026
6
+
7
+ ### Added
8
+
9
+ - **`mail <profile> search messages '<query>'`** searches the profile's stored mail offline, with the query language
10
+ of every WireCat CLI and memo's ranking: any form of a word, `from:`, `to:`, `subject:`, `label:`, `is:unread`,
11
+ `has:attachment`, `content:`, `date>7d`, and `list:` for a mailing list by its List-Id or domain. Mail from a
12
+ suspicious sender comes after the rest (`--plain-order` keeps the words' order); `--newest`, `--exact`, `--page`.
13
+ - **`mail <profile> messages show <ref>`** gives one email whole, with the first 4,000 characters of each
14
+ attachment's text (`--full`: all of it and the HTML body), and `--before-n`/`--after-n` emails of its thread, in the
15
+ JSON `memo messages show` gives.
16
+ - **`mail <profile> conversations list [query]` and `conversations show <thread>`**: the threads, newest first,
17
+ filtered by `subject:`, `emails_count>1` or `last_email_at>7d`, and one thread's emails oldest first.
18
+ - Each reads the profile's own mailbox only; a reference of another mailbox is refused. Over MCP they are `read`
19
+ commands.
20
+
21
+ ## 0.3.0 — 01.11.2026
22
+
23
+ ### Added
24
+
25
+ - **`mail <profile> schedule`** runs a mail command on a timer through systemd, launchd or Task Scheduler, as `tg`
26
+ does: `mail ya schedule command mail-ya --every 5m -- sync`. `doctor` says when a scheduled run keeps failing.
27
+
5
28
  ## 0.2.0 — 01.11.2026
6
29
 
7
30
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  `mail` copies your mailbox into the shared WireCat store on your computer, so you and your AI agents can search it
4
4
  and read it there. It reads over IMAP and never changes the mailbox: it does not send, move, flag or delete mail.
5
- It does not search or show mail itself: you read and search the stored mail in memo.
5
+ It searches and reads what it stored, offline.
6
6
 
7
7
  [Documentation](https://github.com/WireCatLabs/mail-cli/blob/main/docs/index.md) · [Roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md) · [WireCat](https://wirecat.dev)
8
8
 
@@ -24,11 +24,12 @@ mail ya session start --address me@example.com # finds the server, shows the s
24
24
  mail ya account check # logs in and lists what the server supports
25
25
  mail ya sync # reads the last 30 days into the shared store
26
26
  mail ya status # how far the sync is
27
+ mail ya search messages invoice # search the stored mail
27
28
  mail skill install # optional: instructions for your AI agent
28
29
  ```
29
30
 
30
- Now the mail is in the store. Search and read it in [memo](https://github.com/WireCatLabs/cli-memo), for example
31
- `memo search mail "invoice"`. `mail` has no command to read a message.
31
+ Now the mail is in the store. `mail ya messages show <ref>` reads a search hit whole. [memo](https://github.com/WireCatLabs/cli-memo)
32
+ searches it together with your messages and notes: `memo search all "invoice"`.
32
33
 
33
34
  You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no install, run
34
35
  `npx @wirecat/mail-cli --help`. If `mail` is not found, `mail doctor` says why.
@@ -37,8 +38,10 @@ You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no instal
37
38
 
38
39
  - **Sync a mailbox into the shared store.** `sync` reads INBOX and Sent (All Mail on Gmail), or the folders you name,
39
40
  newest first, and skips what is already stored. `--since-time 2026-10-01` reads from local midnight of that day.
40
- - **Search and read the mail with memo.** `mail` only fills the store;
41
- [memo](https://github.com/WireCatLabs/cli-memo) searches your mail together with your messages and notes.
41
+ - **Search and read the stored mail.** `search messages 'from:ann@example.com has:attachment date>30d'` uses the
42
+ query language of every WireCat CLI, with `list:` for mailing lists; `messages show` gives an email whole with its
43
+ attachments' text, `conversations list|show` its threads. It reads the profile's mailbox only and asks no server.
44
+ [memo](https://github.com/WireCatLabs/cli-memo) searches every mailbox together with your messages and notes.
42
45
  - **Sync a big mailbox in parts.** A run stops before its deadline, keeps what it read and tells you to run it again;
43
46
  `status` shows how far it is.
44
47
  - **Check a mailbox.** `account check` shows what the server supports, `folders list` the folders with their role and
@@ -98,10 +101,10 @@ mail ya config show # every setting and where it came
98
101
 
99
102
  - Read-only: `mail` never sends, moves, flags or deletes mail. But memo has `memo mail delete`, which moves Gmail mail
100
103
  to Trash, so an agent with write access to memo can change mail.
101
- - Text and headers only: attachments are not stored.
104
+ - Text and headers only: the text of attachments is stored, not the files, nor the original message.
102
105
  - No OAuth yet, so no Outlook or Microsoft 365, and no Google Workspace domain that turns app passwords off.
103
106
  - Gmail caps IMAP downloads at 2,500 MB a day; a new Yandex app password can take 2 to 3 hours to work.
104
- - `mail` has no search of its own: search and read through memo.
107
+ - Search reads what `sync` stored: mail not synced yet is not found. Search on the server is planned.
105
108
 
106
109
  What comes next, such as OAuth sign-in, is on the
107
110
  [roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.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.2.0\n")
12
+ process.stdout.write("0.4.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-7WILOT5E.js","../bundle/anthropic-NHWLIMEZ.js","../bundle/app-server-XDMYCJLV.js","../bundle/bun-GTG5IYLQ.js","../bundle/bun-sqlite-KGH5F33G.js","../bundle/decode-L4X542L3.js","../bundle/dispatch-EUKKT3PD.js","../bundle/dist-HFUVURJG.js","../bundle/dist-WKIRHOLK.js","../bundle/echarts-G6QLXR4X.js","../bundle/embed-E33ZBHQR.js","../bundle/embedder-EMBCIVGF.js","../bundle/failure-OAIC5VAP.js","../bundle/first-screen-DZFOUUZC.js","../bundle/instructions-DUH7265J.js","../bundle/mcp-L7SRVDRN.js","../bundle/node-73PKCCE7.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-FDD5N6GC.js","../bundle/oauth-ND3K2F7B.js","../bundle/open-FZYY6TKE.js","../bundle/openai-BXOF6XIM.js","../bundle/process-TXIK4VJP.js","../bundle/program-2SUR4WOS.js","../bundle/prompt-I5GCP73M.js","../bundle/recognize-ILYEKXVB.js","../bundle/remote-SSPZEAJ7.js","../bundle/rerank-NAO5RMGB.js","../bundle/serve-UDXIEQKC.js","../bundle/server-KTPELKAN.js","../bundle/server-UZFSEKNJ.js","../bundle/sqlite-runtime-AONFLND6.js","../bundle/state-I4PLX3UB.js","../bundle/store-OHQH3MGN.js","../bundle/store-ZPPRXGPY.js","../bundle/store-maintenance-command-QOYXEBT6.js"]
32
+ const chunks = ["../bundle/all-profiles-55XPXQHY.js","../bundle/anthropic-K5B6I4LB.js","../bundle/app-server-VWWLQLTZ.js","../bundle/bun-EO7AI6YP.js","../bundle/bun-sqlite-F24A4IOP.js","../bundle/decode-ON4KBMEX.js","../bundle/dispatch-EUKKT3PD.js","../bundle/dist-FMN7UZ7R.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-XPA226QR.js","../bundle/embed-QERDAB73.js","../bundle/embedder-I76YT3E5.js","../bundle/failure-OAIC5VAP.js","../bundle/first-screen-EORANEAK.js","../bundle/instructions-NN3BCFIM.js","../bundle/mcp-L7SRVDRN.js","../bundle/node-2S75QJ6B.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RC7WM3EG.js","../bundle/oauth-FUHLZCKV.js","../bundle/open-JOKT7LKY.js","../bundle/openai-U3IMQ6UI.js","../bundle/process-LKODK722.js","../bundle/program-RMLIQXCA.js","../bundle/prompt-23VYMNNB.js","../bundle/recognize-TXO3462R.js","../bundle/remote-5F4ZOASM.js","../bundle/rerank-TXSDPEFE.js","../bundle/serve-TWYECYWM.js","../bundle/server-2GEAXKX2.js","../bundle/server-3S3BKE6D.js","../bundle/sqlite-runtime-BEOBGC6K.js","../bundle/state-ERWIUTQQ.js","../bundle/store-2JO4JGQL.js","../bundle/store-4RY5UMOP.js","../bundle/store-maintenance-command-T7D4OTN7.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
@@ -2,18 +2,18 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-AROBJF5P.js";
5
+ } from "./chunk-JKHI3PH7.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-H7NUGJPV.js";
12
+ } from "./chunk-MGBGE2Y4.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-QUGFBY7O.js";
16
+ import "./chunk-H7K2DN3R.js";
17
17
  import "./chunk-NPGVOZVK.js";
18
18
  import "./chunk-J3QXTBD2.js";
19
19
  import "./chunk-LQ37ALDJ.js";
@@ -23,7 +23,7 @@ import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
27
27
  import { spawn } from "node:child_process";
28
28
  import { randomUUID } from "node:crypto";
29
29
  var PROTOCOL = "2025-06-18";
@@ -257,7 +257,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
257
257
  }, "serveAllProfilesOverStdio");
258
258
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
259
259
  const { build, close } = allProfilesServer(options);
260
- const { serveOverHttp } = await import("./serve-UDXIEQKC.js");
260
+ const { serveOverHttp } = await import("./serve-TWYECYWM.js");
261
261
  const listening = await serveOverHttp(build, {
262
262
  ...http,
263
263
  appName: options.command,
@@ -5,11 +5,11 @@ import {
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
7
  checkedOptions
8
- } from "./chunk-ETPT7TPW.js";
8
+ } from "./chunk-FFKNUVVD.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-YQAUH3PN.js";
12
+ } from "./chunk-BHKI5OCD.js";
13
13
  import "./chunk-J3QXTBD2.js";
14
14
  import {
15
15
  array,
@@ -23,7 +23,7 @@ import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
27
  var options = strictObject({
28
28
  stop_sequences: optional(array(string()))
29
29
  });
@@ -3,43 +3,43 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-THVLMTH7.js";
6
+ } from "./chunk-JZFIHVRB.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-GPAAQ6LY.js";
13
+ } from "./chunk-OM4ZBLT7.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-QUSZWBZF.js";
16
+ } from "./chunk-ORYYYM5Y.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-S2GSU4MT.js";
21
- import "./chunk-2X4WYZPA.js";
20
+ } from "./chunk-6BR6JMCR.js";
21
+ import "./chunk-VWHRIGYJ.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-7LKJDJNS.js";
24
+ } from "./chunk-EDKV6D6T.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-AROBJF5P.js";
27
+ } from "./chunk-JKHI3PH7.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-H7NUGJPV.js";
31
+ } from "./chunk-MGBGE2Y4.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
- import "./chunk-Y5WA7AOA.js";
36
- import "./chunk-STC45HZX.js";
37
- import "./chunk-SVNTRF5O.js";
38
- import "./chunk-ZKH5CHGI.js";
39
- import "./chunk-YQAUH3PN.js";
40
- import "./chunk-VBLFQJY3.js";
41
- import "./chunk-5FLW25US.js";
42
- import "./chunk-76IKLP2M.js";
35
+ import "./chunk-NL5LNYGX.js";
36
+ import "./chunk-X7AXH2IC.js";
37
+ import "./chunk-4KLJN3LK.js";
38
+ import "./chunk-VP5GCMHM.js";
39
+ import "./chunk-BHKI5OCD.js";
40
+ import "./chunk-HJEMHZRU.js";
41
+ import "./chunk-7IYDIU4P.js";
42
+ import "./chunk-2LP46EUH.js";
43
43
  import {
44
44
  DEFAULT_OUTPUT_BYTES,
45
45
  changesAuthorityAt,
@@ -49,34 +49,34 @@ import {
49
49
  judgedTargets,
50
50
  readOnlyLockOf,
51
51
  rootOf2 as rootOf
52
- } from "./chunk-GQKYSGIA.js";
53
- import "./chunk-H5BW7454.js";
54
- import "./chunk-QUGFBY7O.js";
52
+ } from "./chunk-HUB42T2Z.js";
53
+ import "./chunk-F6JTOQIK.js";
54
+ import "./chunk-H7K2DN3R.js";
55
55
  import "./chunk-ZD3WUGR2.js";
56
56
  import "./chunk-P7P5MNAU.js";
57
- import "./chunk-7QEE5I7H.js";
57
+ import "./chunk-VWXCEEUH.js";
58
58
  import {
59
59
  mcpHttpMarker
60
- } from "./chunk-4I3YT5KK.js";
61
- import "./chunk-Y6KUKIQZ.js";
62
- import "./chunk-H66ZMBDD.js";
63
- import "./chunk-TMVIQJCG.js";
64
- import "./chunk-QJHCKFFC.js";
65
- import "./chunk-7REG25RM.js";
66
- import "./chunk-BKZEYTLU.js";
67
- import "./chunk-BPF7IXJT.js";
68
- import "./chunk-EKE3R36Y.js";
69
- import "./chunk-ZNYJG4AY.js";
60
+ } from "./chunk-RLSGMMGC.js";
61
+ import "./chunk-EOEYP7CJ.js";
62
+ import "./chunk-CADRRSQK.js";
63
+ import "./chunk-UJYCKCFR.js";
64
+ import "./chunk-ID24SLH3.js";
65
+ import "./chunk-5RUTHKXZ.js";
66
+ import "./chunk-CCNHVZ3G.js";
67
+ import "./chunk-SY3SP7EI.js";
68
+ import "./chunk-2NZGUKYK.js";
69
+ import "./chunk-YYTWV5GU.js";
70
70
  import "./chunk-NPGVOZVK.js";
71
- import "./chunk-Z6F7EXT2.js";
72
- import "./chunk-6HIW7IJL.js";
73
- import "./chunk-HJRUFT5Y.js";
74
- import "./chunk-UZR3IKS7.js";
71
+ import "./chunk-ANRI6EZY.js";
72
+ import "./chunk-F7KAJNNK.js";
73
+ import "./chunk-UO7X2VW4.js";
74
+ import "./chunk-7X64JS6S.js";
75
75
  import "./chunk-QX7RCLRS.js";
76
76
  import "./chunk-D72URWJE.js";
77
- import "./chunk-QLYHLW54.js";
78
- import "./chunk-CT7NG7BI.js";
79
- import "./chunk-5JOKRFWE.js";
77
+ import "./chunk-ZAR67WKR.js";
78
+ import "./chunk-WFBTPZK3.js";
79
+ import "./chunk-UZDHK26H.js";
80
80
  import "./chunk-J3QXTBD2.js";
81
81
  import {
82
82
  mcpErrorResult
@@ -89,7 +89,7 @@ import {
89
89
  __name
90
90
  } from "./chunk-ZVVMGPBJ.js";
91
91
 
92
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
92
+ // node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
93
93
  var EXCLUDED = [["mcp"]];
94
94
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
95
95
  const { app } = options;
@@ -204,7 +204,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
204
204
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
205
205
  const { app } = options;
206
206
  const { build } = createAppServer(command, context, options);
207
- const { serveOverHttp } = await import("./serve-UDXIEQKC.js");
207
+ const { serveOverHttp } = await import("./serve-TWYECYWM.js");
208
208
  const listening = await serveOverHttp(build, {
209
209
  ...http,
210
210
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-UZR3IKS7.js";
21
+ } from "./chunk-7X64JS6S.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-77VHMI3A.js";
6
+ } from "./chunk-SWRNMYDL.js";
7
7
  import "./chunk-J3QXTBD2.js";
8
8
  import "./chunk-LQ37ALDJ.js";
9
9
  import {
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
18
18
  var customised = false;
19
19
  var ownLibrary = /* @__PURE__ */ __name(async () => {
20
20
  try {
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-VBLFQJY3.js";
7
+ } from "./chunk-HJEMHZRU.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-5BVIWP3S.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.520.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_33ccf8bfbe17590bae2f3fc544520037/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {