@wirecat/mail-cli 0.13.0 → 0.15.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 (164) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/README.md +9 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-EEOMFTKE.js → all-profiles-PKXL5TKP.js} +10 -9
  5. package/dist/bundle/{anthropic-FPSVNB3F.js → anthropic-DFDNZU7C.js} +6 -6
  6. package/dist/bundle/{app-server-3T6UVR7B.js → app-server-WOZAOCKX.js} +47 -46
  7. package/dist/bundle/{bun-MSNAKMDK.js → bun-DKZAL6ML.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GIBBI5DV.js → bun-sqlite-2A7FS5GD.js} +5 -5
  9. package/dist/bundle/{chunk-7D7AKYQ2.js → chunk-2A4Z3WOC.js} +3132 -1229
  10. package/dist/bundle/{chunk-AXWTELO4.js → chunk-2BHY4GFP.js} +2 -2
  11. package/dist/bundle/{chunk-XLCFCOT4.js → chunk-3MKCLPQV.js} +14 -14
  12. package/dist/bundle/{chunk-3BC2XSNX.js → chunk-4DGOI6JB.js} +68 -34
  13. package/dist/bundle/chunk-4HVY3QPF.js +91 -0
  14. package/dist/bundle/{chunk-NHVOJHHD.js → chunk-4TPNRJER.js} +7 -7
  15. package/dist/bundle/{chunk-6O6CM2ML.js → chunk-4XRIALMN.js} +2 -2
  16. package/dist/bundle/{chunk-VSHQITKC.js → chunk-4YECCESG.js} +2 -2
  17. package/dist/bundle/{chunk-YMNF4QLY.js → chunk-5C3L2QER.js} +26 -25
  18. package/dist/bundle/{chunk-XPBRNJ2V.js → chunk-5W7D5H2R.js} +1 -1
  19. package/dist/bundle/{chunk-HANGU5HI.js → chunk-6AYJDBHT.js} +6 -6
  20. package/dist/bundle/{chunk-CSJYZEFR.js → chunk-6Z7VBDFR.js} +2 -3
  21. package/dist/bundle/{chunk-BZBNBPCR.js → chunk-73SQQXSU.js} +10 -10
  22. package/dist/bundle/{chunk-H5XCD6OG.js → chunk-A6O3WHBD.js} +3 -3
  23. package/dist/bundle/{chunk-6KDFUPBT.js → chunk-BIKMEGC7.js} +8 -8
  24. package/dist/bundle/{chunk-OHDDGTCH.js → chunk-BKF7XIJ5.js} +10 -10
  25. package/dist/bundle/{chunk-GQGJV53E.js → chunk-BY5S3JEZ.js} +47 -47
  26. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  27. package/dist/bundle/{chunk-7FCPLSSM.js → chunk-EDJQDR5X.js} +4 -4
  28. package/dist/bundle/{chunk-2Y3RKROM.js → chunk-ENZTLYTS.js} +53 -8
  29. package/dist/bundle/{chunk-VMLGER4M.js → chunk-FEWWBU2I.js} +295 -177
  30. package/dist/bundle/{chunk-M7JREJFC.js → chunk-G6RG2AZV.js} +27 -8
  31. package/dist/bundle/{chunk-V25TCQ3Z.js → chunk-HGOYQUT7.js} +1 -1
  32. package/dist/bundle/{chunk-ZSS22YHM.js → chunk-IA6U76ZY.js} +2 -2
  33. package/dist/bundle/{chunk-UFWCJUGA.js → chunk-JQTIB4WJ.js} +7 -7
  34. package/dist/bundle/{chunk-SOCALLW5.js → chunk-K4N5UG64.js} +6 -6
  35. package/dist/bundle/{chunk-URC4ATBD.js → chunk-KJYCA6IC.js} +4 -4
  36. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  37. package/dist/bundle/{chunk-3QEYHTCQ.js → chunk-LARQTWIL.js} +1 -1
  38. package/dist/bundle/{chunk-YHSXNUFQ.js → chunk-LRBAQSU3.js} +3 -3
  39. package/dist/bundle/{chunk-JYZCISN7.js → chunk-M5DF6QNT.js} +13 -13
  40. package/dist/bundle/{chunk-7L26RKOS.js → chunk-M5VHTDJZ.js} +17 -17
  41. package/dist/bundle/{chunk-7CSK47S2.js → chunk-NDZK466U.js} +4 -4
  42. package/dist/bundle/{chunk-FVZST7ZH.js → chunk-NNLYS4IR.js} +12 -89
  43. package/dist/bundle/{chunk-GIZILLRJ.js → chunk-OJEIUOMW.js} +12 -12
  44. package/dist/bundle/chunk-OZVGHHFZ.js +35 -0
  45. package/dist/bundle/{chunk-MBWVZINS.js → chunk-P4SV3VKP.js} +2 -2
  46. package/dist/bundle/{chunk-OHFSAYZG.js → chunk-PI5P457W.js} +4 -4
  47. package/dist/bundle/{chunk-TBG3FRS6.js → chunk-PXLVTHMH.js} +3 -3
  48. package/dist/bundle/{chunk-Y2O3DACO.js → chunk-QCNK3YUZ.js} +95 -36
  49. package/dist/bundle/{chunk-3CBK26T2.js → chunk-QJQV6KG2.js} +2 -2
  50. package/dist/bundle/{chunk-UGXTDYUY.js → chunk-QSGT4ZH4.js} +1 -1
  51. package/dist/bundle/{chunk-VNBQHV5H.js → chunk-QTD3BVS5.js} +6 -6
  52. package/dist/bundle/{chunk-UUBAWUUI.js → chunk-R6UG66IM.js} +807 -464
  53. package/dist/bundle/{chunk-XV66LQXV.js → chunk-RBNL3DBQ.js} +3 -3
  54. package/dist/bundle/{chunk-EFA7FRFJ.js → chunk-RFDP45QO.js} +3 -3
  55. package/dist/bundle/{chunk-5XTJUQZ5.js → chunk-SPQY3PJX.js} +542 -235
  56. package/dist/bundle/{chunk-CJPEL2N5.js → chunk-SRHKHE4C.js} +47 -28
  57. package/dist/bundle/{chunk-WBI7J5B7.js → chunk-U3VX3UUC.js} +5 -5
  58. package/dist/bundle/{chunk-ZXLJ5EKZ.js → chunk-VQQFOA4O.js} +8 -8
  59. package/dist/bundle/{chunk-LO66SLGD.js → chunk-WIU733D2.js} +1 -1
  60. package/dist/bundle/{chunk-JBLZ5XQG.js → chunk-WOV3ABQR.js} +4 -4
  61. package/dist/bundle/{chunk-H3XWM2VA.js → chunk-WTDYN3TQ.js} +28 -28
  62. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  63. package/dist/bundle/{chunk-VD5UJUNR.js → chunk-XGNC5OJG.js} +1 -1
  64. package/dist/bundle/{chunk-VNXCWZDW.js → chunk-XKUAEYJV.js} +249 -8
  65. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  66. package/dist/bundle/{chunk-H6Y2A4JA.js → chunk-YRHXVXLQ.js} +2 -2
  67. package/dist/bundle/{chunk-IGSHWMWC.js → chunk-YWIU4HOT.js} +1 -1
  68. package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
  69. package/dist/bundle/{decode-YRTMNHC6.js → decode-LX4FPSI7.js} +5 -5
  70. package/dist/bundle/{dispatch-BCS2RDF4.js → dispatch-3ILCYZ4Q.js} +8 -8
  71. package/dist/bundle/{dist-NOBSXRL2.js → dist-HQIZDYNQ.js} +42 -13
  72. package/dist/bundle/{echarts-5UKZVIF6.js → echarts-BGBPRGR5.js} +2 -2
  73. package/dist/bundle/{embed-G62XY6BJ.js → embed-ASAE3H5I.js} +6 -6
  74. package/dist/bundle/{embedder-SCHGLA74.js → embedder-QYDZRKBX.js} +9 -9
  75. package/dist/bundle/{failure-N5S6ZS62.js → failure-UDL5QZRZ.js} +2 -2
  76. package/dist/bundle/{first-run-DPF2BBQN.js → first-run-EFNNGFCB.js} +11 -11
  77. package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
  78. package/dist/bundle/{instructions-7RP5OKLE.js → instructions-6LPDSKAD.js} +1 -1
  79. package/dist/bundle/mail.js +12 -12
  80. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  81. package/dist/bundle/{node-ENCKD6SS.js → node-IB246NCQ.js} +2 -2
  82. package/dist/bundle/{node-sqlite-4ICXMPYY.js → node-sqlite-UROXM4VR.js} +6 -6
  83. package/dist/bundle/{oauth-CX2WYMGN.js → oauth-VSCKHS4T.js} +7 -7
  84. package/dist/bundle/{open-HQZYHMVE.js → open-R4LVB63T.js} +5 -5
  85. package/dist/bundle/{openai-3ONJIA3F.js → openai-MKCEOFKL.js} +14 -14
  86. package/dist/bundle/{process-OK3HRPMD.js → process-SWPJGPQC.js} +1 -1
  87. package/dist/bundle/{program-FLKUE6LL.js → program-CJ2YDRUY.js} +11741 -10648
  88. package/dist/bundle/{prompt-ZWKUQ42Y.js → prompt-TWWJ5VAM.js} +5 -5
  89. package/dist/bundle/{recognize-PHDYO6DC.js → recognize-XMO5ETQU.js} +4 -4
  90. package/dist/bundle/{remote-4CX7GFMU.js → remote-N6VAWJWE.js} +7 -7
  91. package/dist/bundle/{rerank-ZCZTGXDQ.js → rerank-XNAMC6FH.js} +7 -7
  92. package/dist/bundle/{serve-3LBS7CPR.js → serve-IJ32WEBH.js} +9 -9
  93. package/dist/bundle/server-CRVR4L2E.js +64 -0
  94. package/dist/bundle/{server-2BKI2OQP.js → server-KEYSE5OL.js} +39 -38
  95. package/dist/bundle/{sqlite-runtime-J5T7SR5W.js → sqlite-runtime-NFBRN7OF.js} +6 -6
  96. package/dist/bundle/{state-TIRNYVEL.js → state-7WPJEW2Z.js} +6 -6
  97. package/dist/bundle/{store-F7ZXMIAP.js → store-KHVHOGQR.js} +27 -18
  98. package/dist/bundle/{store-NGE2E7KZ.js → store-PKQCNACC.js} +15 -14
  99. package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
  100. package/dist/commands/account.d.ts.map +1 -1
  101. package/dist/commands/account.js +149 -3
  102. package/dist/commands/account.js.map +1 -1
  103. package/dist/commands/context.d.ts +2 -0
  104. package/dist/commands/context.d.ts.map +1 -1
  105. package/dist/commands/context.js +2 -2
  106. package/dist/commands/context.js.map +1 -1
  107. package/dist/commands/import.d.ts +3 -0
  108. package/dist/commands/import.d.ts.map +1 -0
  109. package/dist/commands/import.js +92 -0
  110. package/dist/commands/import.js.map +1 -0
  111. package/dist/commands/read.d.ts.map +1 -1
  112. package/dist/commands/read.js +29 -3
  113. package/dist/commands/read.js.map +1 -1
  114. package/dist/commands/session-start.d.ts.map +1 -1
  115. package/dist/commands/session-start.js +9 -7
  116. package/dist/commands/session-start.js.map +1 -1
  117. package/dist/commands/stats.d.ts.map +1 -1
  118. package/dist/commands/stats.js +49 -2
  119. package/dist/commands/stats.js.map +1 -1
  120. package/dist/commands/sync.d.ts +2 -0
  121. package/dist/commands/sync.d.ts.map +1 -1
  122. package/dist/commands/sync.js +38 -4
  123. package/dist/commands/sync.js.map +1 -1
  124. package/dist/config.d.ts +11 -0
  125. package/dist/config.d.ts.map +1 -1
  126. package/dist/config.js +17 -0
  127. package/dist/config.js.map +1 -1
  128. package/dist/mail/doctor.d.ts +3 -2
  129. package/dist/mail/doctor.d.ts.map +1 -1
  130. package/dist/mail/doctor.js +14 -16
  131. package/dist/mail/doctor.js.map +1 -1
  132. package/dist/mail/domain-age.d.ts +29 -0
  133. package/dist/mail/domain-age.d.ts.map +1 -0
  134. package/dist/mail/domain-age.js +157 -0
  135. package/dist/mail/domain-age.js.map +1 -0
  136. package/dist/mail/mbox.d.ts +9 -0
  137. package/dist/mail/mbox.d.ts.map +1 -0
  138. package/dist/mail/mbox.js +230 -0
  139. package/dist/mail/mbox.js.map +1 -0
  140. package/dist/oauth.d.ts +13 -9
  141. package/dist/oauth.d.ts.map +1 -1
  142. package/dist/oauth.js +12 -25
  143. package/dist/oauth.js.map +1 -1
  144. package/dist/profile.d.ts +4 -1
  145. package/dist/profile.d.ts.map +1 -1
  146. package/dist/profile.js +6 -1
  147. package/dist/profile.js.map +1 -1
  148. package/dist/program.d.ts.map +1 -1
  149. package/dist/program.js +10 -1
  150. package/dist/program.js.map +1 -1
  151. package/dist/reasons.d.ts +1 -1
  152. package/dist/reasons.d.ts.map +1 -1
  153. package/dist/reasons.js +0 -1
  154. package/dist/reasons.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +4 -4
  158. package/skills/mail-cli/SKILL.md +2 -0
  159. package/dist/bundle/chunk-72CGQMAZ.js +0 -18
  160. package/dist/bundle/command-contract-6QSZ5QHQ.js +0 -33
  161. package/dist/bundle/first-screen-4MRKF6RQ.js +0 -31
  162. package/dist/bundle/server-X5F7VD2E.js +0 -63
  163. package/dist/bundle/store-maintenance-command-QZV76KAH.js +0 -53
  164. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,73 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.15.0 — 05.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **The profile sets whether and up to what size `sync` reads attachments, and one run can override it.** The
10
+ profile's `read_attachments` (default `true`) and `max_attachment_mb` (default 10) set it; `--no-attachments`,
11
+ `--attachments` and `--max-attachment-mb <n>` override it for one run. A file left unread is stored with its name and
12
+ size, its extraction `not-read` or `too-large`. No file is kept either way.
13
+ - **`messages show` reads an email again when one of its attachments was left unread**, every attachment whatever
14
+ its size, so the command now reaches the mail server for such an email. `--offline` or a failed read shows the stored
15
+ email with `meta.complete: false` and the issue `mail.attachments-unread`. `attachments download` keeps a file.
16
+ - **Gmail over OAuth signs in with WireCat's Google app when you name none.** It needed `--client-file` or
17
+ `MAIL_GOOGLE_CLIENT_ID` and failed with `mail.oauth-no-client` without them. The order is `--client-file`, then
18
+ `MAIL_GOOGLE_CLIENT_ID` (with `MAIL_GOOGLE_CLIENT_SECRET`), then the profile's new `google_client_id`, then
19
+ WireCat's app. Google has not reviewed WireCat's app for mail yet: if Google refuses it, use your own
20
+ ([steps](docs/oauth-google.md)). Choosing OAuth for a Gmail profile is unchanged.
21
+ - **`MAIL_MICROSOFT_CLIENT_ID` picks the Microsoft app for one run**, before the profile's `microsoft_client_id` and
22
+ WireCat's app, which now comes from cli-core's `constants.json`. `mail.oauth-no-client` is gone: there is always an
23
+ app.
24
+ - **`doctor`'s `oauth` rows say which app each profile uses as `oauth_client: { client, source }`**, in place of
25
+ `client`: `source` is `flag`, `env`, `config` or `constants` (WireCat's). A profile's row reports the app it
26
+ signed in with when its sign-in recorded one. `session start` answers `source` beside `client`.
27
+ - **mail runs on cli-base 0.77.1 and cli-core 0.566.0.**
28
+
29
+ ### Added
30
+
31
+ - **`stats messages show` counts the profile's stored mail per day, week or sender**, received and sent, over the
32
+ same query as `search messages`: `{ by, received, sent, rows: [{ key, name, received, sent }] }`, a day or week key
33
+ `YYYY-MM-DD` in `--timezone` (a week by its Monday), a sender keyed by address with `sent` 0. Counts only, no search
34
+ recorded. For WireCat Desktop's mail per day (cli-core's `mailStats`, 0.564.0).
35
+ - **`account inspect` groups the mailbox's mail by sender and list before you sync it**: emails, MB, unread and bulk
36
+ shares, years, whether you replied, a `skip` suggestion and a spam or scam score, plus the rule kinds the mail would
37
+ match. Headers only, nothing stored. `--domain-age` asks each sender domain's registry (RDAP) when it was
38
+ registered. Moved from `memo mail inspect`.
39
+ - **`messages import <file.mbox>` adds a Google Takeout archive to a Gmail profile's stored mail**, joined with what
40
+ `sync` stores by Gmail's ids; it only adds, leaves out Spam and Trash and follows the profile's rules. Moved from
41
+ memo's `mode: "mbox"` mail accounts.
42
+ - **`sync` scores the senders of the stored mail, at most once a day**, and asks registries about new sender domains
43
+ until its deadline; search ranks mail from senders with signs of fraud lower. The answer's `senders` says how many.
44
+ `memo sync` did this before; it no longer reads mail.
45
+
46
+ ### Fixed
47
+
48
+ - **The MCP server tells an agent that attachment text is data, not instructions**, beside subjects, bodies and file
49
+ names. `sync` indexes attachment text and `messages show` returns it.
50
+ - **`session start` writes every setting at its default when it saves a new profile**, as `config set` does. The
51
+ first file a sign-in made held only the profile, so the owner could not see the other settings until a later
52
+ `config set` or `config migrate`.
53
+
54
+ ## 0.14.0 — 05.11.2026
55
+
56
+ ### Added
57
+
58
+ - **`config migrate` writes each setting your config file lacks, at its default**, and keeps your values, their order
59
+ and keys it does not know; it creates no section and running it again adds nothing. A first run now writes every
60
+ shared setting into the file, and `config set` and `config unset` fill in the missing ones. `config show` gives each
61
+ setting its default and description, and no longer creates a missing file. From cli-core 0.563.0.
62
+
63
+ ### Changed — may break callers
64
+
65
+ - **Mail sync reads attachments up to 10 MB a file by default**, and can skip them. From cli-core 0.563.0.
66
+ - **`review --holder` leaves out mail from suspicious senders too**, beside bulk, envelopes, drafts and partial mail.
67
+ From cli-core 0.560.0.
68
+ - **An answer over the output cap names what to run instead** (WC-OUT-22). From cli-core 0.563.0.
69
+ - **The store moves to version 48** (invoices and payments, imports through one envelope, the cleanup of test rows
70
+ that leaked into a real store). The first run of this version migrates it. From cli-core 0.557.0–0.560.0.
71
+
5
72
  ## 0.13.0 — 02.11.2026
6
73
 
7
74
  ### Added
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/WireCatLabs/mail-cli/main/docs/images/social-preview.png" alt="Your mailbox for your AI agents" width="100%">
3
+ </p>
4
+
1
5
  # mail CLI for people, scripts and agents
2
6
 
3
7
  `mail` copies your mailbox into the shared WireCat store on your computer, so you and your AI agents can search it
@@ -49,7 +53,9 @@ You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no instal
49
53
  - **Sync a big mailbox in parts.** A run stops before its deadline, keeps what it read and tells you to run it again;
50
54
  `status` shows how far it is.
51
55
  - **Check a mailbox.** `account check` shows what the server supports, `folders list` the folders with their role and
52
- message counts.
56
+ message counts, and `account inspect` groups its mail by sender and list, with a spam score, before you sync it.
57
+ - **Bring in a Gmail archive.** `messages import <file.mbox>` adds a Google Takeout file to a Gmail profile's stored
58
+ mail, each email once.
53
59
  - **Organise it on the server.** `messages mark-read|mark-unread|star|unstar|update` change flags and keywords,
54
60
  `messages move|copy --folder` file mail (by label on Gmail), `messages delete` moves it to Trash, and
55
61
  `messages restore --run <id>` undoes any of them. `folders create|rename|delete` look after the folders. A search
@@ -131,9 +137,8 @@ mail ya config show # every setting and where it came
131
137
  `folders delete --allow-dangerous` of a folder that holds mail (outside Gmail, its mail is gone).
132
138
  Undoing `messages copy` outside Gmail removes the copy for good, never the original.
133
139
  - Text and headers only: the text of attachments is stored, not the files, nor the original message.
134
- - Gmail over OAuth needs a Google app of your own
135
- ([steps](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-google.md)); `mail` ships no Google app for
136
- mail.
140
+ - Gmail over OAuth signs in with WireCat's Google app, which Google has not reviewed for mail yet; if Google refuses
141
+ it, use a Google app of your own ([steps](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-google.md)).
137
142
  - Gmail caps IMAP downloads at 2,500 MB a day; a new Yandex app password can take 2 to 3 hours to work.
138
143
  - Search reads the store and asks the mail server for mail `sync` has not read yet; `--backend archive` keeps to
139
144
  the store.
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.13.0\n")
12
+ process.stdout.write("0.15.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-EEOMFTKE.js","../bundle/anthropic-FPSVNB3F.js","../bundle/app-server-3T6UVR7B.js","../bundle/bun-MSNAKMDK.js","../bundle/bun-sqlite-GIBBI5DV.js","../bundle/decode-YRTMNHC6.js","../bundle/dispatch-BCS2RDF4.js","../bundle/dist-HFUVURJG.js","../bundle/dist-NOBSXRL2.js","../bundle/echarts-5UKZVIF6.js","../bundle/embed-G62XY6BJ.js","../bundle/embedder-SCHGLA74.js","../bundle/failure-N5S6ZS62.js","../bundle/first-screen-4MRKF6RQ.js","../bundle/instructions-7RP5OKLE.js","../bundle/mcp-MNI62HHE.js","../bundle/node-ENCKD6SS.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-4ICXMPYY.js","../bundle/oauth-CX2WYMGN.js","../bundle/open-HQZYHMVE.js","../bundle/openai-3ONJIA3F.js","../bundle/process-OK3HRPMD.js","../bundle/program-FLKUE6LL.js","../bundle/prompt-ZWKUQ42Y.js","../bundle/recognize-PHDYO6DC.js","../bundle/remote-4CX7GFMU.js","../bundle/rerank-ZCZTGXDQ.js","../bundle/serve-3LBS7CPR.js","../bundle/server-2BKI2OQP.js","../bundle/server-X5F7VD2E.js","../bundle/sqlite-runtime-J5T7SR5W.js","../bundle/state-TIRNYVEL.js","../bundle/store-F7ZXMIAP.js","../bundle/store-NGE2E7KZ.js","../bundle/store-maintenance-command-QZV76KAH.js"]
31
+ const chunks = ["../bundle/all-profiles-PKXL5TKP.js","../bundle/anthropic-DFDNZU7C.js","../bundle/app-server-WOZAOCKX.js","../bundle/bun-DKZAL6ML.js","../bundle/bun-sqlite-2A7FS5GD.js","../bundle/decode-LX4FPSI7.js","../bundle/dispatch-3ILCYZ4Q.js","../bundle/dist-HFUVURJG.js","../bundle/dist-HQIZDYNQ.js","../bundle/echarts-BGBPRGR5.js","../bundle/embed-ASAE3H5I.js","../bundle/embedder-QYDZRKBX.js","../bundle/failure-UDL5QZRZ.js","../bundle/first-screen-XHM3TT6G.js","../bundle/instructions-6LPDSKAD.js","../bundle/mcp-PPVOM4SE.js","../bundle/node-IB246NCQ.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-UROXM4VR.js","../bundle/oauth-VSCKHS4T.js","../bundle/open-R4LVB63T.js","../bundle/openai-MKCEOFKL.js","../bundle/process-SWPJGPQC.js","../bundle/program-CJ2YDRUY.js","../bundle/prompt-TWWJ5VAM.js","../bundle/recognize-XMO5ETQU.js","../bundle/remote-N6VAWJWE.js","../bundle/rerank-XNAMC6FH.js","../bundle/serve-IJ32WEBH.js","../bundle/server-CRVR4L2E.js","../bundle/server-KEYSE5OL.js","../bundle/sqlite-runtime-NFBRN7OF.js","../bundle/state-7WPJEW2Z.js","../bundle/store-KHVHOGQR.js","../bundle/store-PKQCNACC.js","../bundle/store-maintenance-command-5MODJN6R.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,28 +2,29 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-UGXTDYUY.js";
5
+ } from "./chunk-QSGT4ZH4.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-AXWTELO4.js";
12
+ } from "./chunk-2BHY4GFP.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-FVZST7ZH.js";
17
- import "./chunk-NUN6OGOV.js";
18
- import "./chunk-Y2O3DACO.js";
19
- import "./chunk-M7JREJFC.js";
16
+ import "./chunk-NNLYS4IR.js";
17
+ import "./chunk-4HVY3QPF.js";
18
+ import "./chunk-LU3WKZBA.js";
19
+ import "./chunk-QCNK3YUZ.js";
20
+ import "./chunk-G6RG2AZV.js";
20
21
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-CCHHEMPM.js";
22
+ import "./chunk-EB2IULWB.js";
22
23
  import {
23
24
  __name
24
25
  } from "./chunk-ZVVMGPBJ.js";
25
26
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
27
28
  import { spawn } from "node:child_process";
28
29
  import { randomUUID } from "node:crypto";
29
30
  var PROTOCOL = "2025-06-18";
@@ -257,7 +258,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
257
258
  }, "serveAllProfilesOverStdio");
258
259
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
259
260
  const { build, close } = allProfilesServer(options);
260
- const { serveOverHttp } = await import("./serve-3LBS7CPR.js");
261
+ const { serveOverHttp } = await import("./serve-IJ32WEBH.js");
261
262
  const listening = await serveOverHttp(build, {
262
263
  ...http,
263
264
  appName: options.command,
@@ -5,25 +5,25 @@ import {
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
7
  checkedOptions
8
- } from "./chunk-XV66LQXV.js";
8
+ } from "./chunk-RBNL3DBQ.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-3CBK26T2.js";
13
- import "./chunk-Y2O3DACO.js";
12
+ } from "./chunk-QJQV6KG2.js";
13
+ import "./chunk-QCNK3YUZ.js";
14
14
  import {
15
15
  array,
16
16
  optional,
17
17
  strictObject,
18
18
  string
19
- } from "./chunk-M7JREJFC.js";
19
+ } from "./chunk-G6RG2AZV.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-CCHHEMPM.js";
21
+ import "./chunk-EB2IULWB.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
27
  var options = strictObject({
28
28
  stop_sequences: optional(array(string()))
29
29
  });
@@ -3,42 +3,42 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-H3XWM2VA.js";
6
+ } from "./chunk-WTDYN3TQ.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-CJPEL2N5.js";
13
+ } from "./chunk-SRHKHE4C.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-3BC2XSNX.js";
16
+ } from "./chunk-4DGOI6JB.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-XLCFCOT4.js";
21
- import "./chunk-2Y3RKROM.js";
20
+ } from "./chunk-3MKCLPQV.js";
21
+ import "./chunk-ENZTLYTS.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-IGSHWMWC.js";
24
+ } from "./chunk-YWIU4HOT.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-UGXTDYUY.js";
27
+ } from "./chunk-QSGT4ZH4.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-AXWTELO4.js";
31
+ } from "./chunk-2BHY4GFP.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
- import "./chunk-YMNF4QLY.js";
36
- import "./chunk-UUBAWUUI.js";
37
- import "./chunk-JYZCISN7.js";
38
- import "./chunk-BZBNBPCR.js";
39
- import "./chunk-3CBK26T2.js";
40
- import "./chunk-H6Y2A4JA.js";
41
- import "./chunk-WBI7J5B7.js";
35
+ import "./chunk-5C3L2QER.js";
36
+ import "./chunk-R6UG66IM.js";
37
+ import "./chunk-M5DF6QNT.js";
38
+ import "./chunk-73SQQXSU.js";
39
+ import "./chunk-QJQV6KG2.js";
40
+ import "./chunk-YRHXVXLQ.js";
41
+ import "./chunk-U3VX3UUC.js";
42
42
  import {
43
43
  DEFAULT_OUTPUT_BYTES,
44
44
  changesAuthorityAt,
@@ -48,48 +48,49 @@ import {
48
48
  readOnlyLockOf,
49
49
  readsOverMcpAt,
50
50
  rootOf2 as rootOf
51
- } from "./chunk-5XTJUQZ5.js";
52
- import "./chunk-UFWCJUGA.js";
53
- import "./chunk-FVZST7ZH.js";
54
- import "./chunk-7FCPLSSM.js";
55
- import "./chunk-PQLBPYJR.js";
56
- import "./chunk-H5XCD6OG.js";
51
+ } from "./chunk-SPQY3PJX.js";
52
+ import "./chunk-JQTIB4WJ.js";
53
+ import "./chunk-NNLYS4IR.js";
54
+ import "./chunk-EDJQDR5X.js";
55
+ import "./chunk-YPF6OS37.js";
56
+ import "./chunk-A6O3WHBD.js";
57
57
  import {
58
58
  mcpHttpMarker
59
- } from "./chunk-OHFSAYZG.js";
60
- import "./chunk-YHSXNUFQ.js";
61
- import "./chunk-LO66SLGD.js";
62
- import "./chunk-EFA7FRFJ.js";
63
- import "./chunk-VNBQHV5H.js";
64
- import "./chunk-JBLZ5XQG.js";
65
- import "./chunk-7L26RKOS.js";
66
- import "./chunk-URC4ATBD.js";
67
- import "./chunk-7D7AKYQ2.js";
68
- import "./chunk-VNXCWZDW.js";
69
- import "./chunk-NHVOJHHD.js";
70
- import "./chunk-VMLGER4M.js";
71
- import "./chunk-6KDFUPBT.js";
72
- import "./chunk-SOCALLW5.js";
73
- import "./chunk-72CGQMAZ.js";
74
- import "./chunk-ILHTNOIV.js";
75
- import "./chunk-NUN6OGOV.js";
59
+ } from "./chunk-PI5P457W.js";
60
+ import "./chunk-LRBAQSU3.js";
61
+ import "./chunk-WIU733D2.js";
62
+ import "./chunk-RFDP45QO.js";
63
+ import "./chunk-QTD3BVS5.js";
64
+ import "./chunk-WOV3ABQR.js";
65
+ import "./chunk-M5VHTDJZ.js";
66
+ import "./chunk-KJYCA6IC.js";
67
+ import "./chunk-2A4Z3WOC.js";
68
+ import "./chunk-XKUAEYJV.js";
69
+ import "./chunk-4TPNRJER.js";
70
+ import "./chunk-FEWWBU2I.js";
71
+ import "./chunk-4HVY3QPF.js";
72
+ import "./chunk-BIKMEGC7.js";
73
+ import "./chunk-K4N5UG64.js";
74
+ import "./chunk-OZVGHHFZ.js";
75
+ import "./chunk-KV4267S4.js";
76
+ import "./chunk-LU3WKZBA.js";
76
77
  import "./chunk-D72URWJE.js";
77
- import "./chunk-HANGU5HI.js";
78
- import "./chunk-V25TCQ3Z.js";
79
- import "./chunk-Y2O3DACO.js";
78
+ import "./chunk-6AYJDBHT.js";
79
+ import "./chunk-HGOYQUT7.js";
80
+ import "./chunk-QCNK3YUZ.js";
80
81
  import {
81
82
  mcpErrorResult
82
- } from "./chunk-M7JREJFC.js";
83
+ } from "./chunk-G6RG2AZV.js";
83
84
  import "./chunk-Y5E2WNWB.js";
84
85
  import {
85
86
  CliError
86
- } from "./chunk-CCHHEMPM.js";
87
- import "./chunk-VD5UJUNR.js";
87
+ } from "./chunk-EB2IULWB.js";
88
+ import "./chunk-XGNC5OJG.js";
88
89
  import {
89
90
  __name
90
91
  } from "./chunk-ZVVMGPBJ.js";
91
92
 
92
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
93
94
  var EXCLUDED = [["mcp"]];
94
95
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
95
96
  const { app } = options;
@@ -204,7 +205,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
204
205
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
205
206
  const { app } = options;
206
207
  const { build } = createAppServer(command, context, options);
207
- const { serveOverHttp } = await import("./serve-3LBS7CPR.js");
208
+ const { serveOverHttp } = await import("./serve-IJ32WEBH.js");
208
209
  const listening = await serveOverHttp(build, {
209
210
  ...http,
210
211
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-VD5UJUNR.js";
21
+ } from "./chunk-XGNC5OJG.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-ZSS22YHM.js";
7
- import "./chunk-Y2O3DACO.js";
8
- import "./chunk-M7JREJFC.js";
6
+ } from "./chunk-IA6U76ZY.js";
7
+ import "./chunk-QCNK3YUZ.js";
8
+ import "./chunk-G6RG2AZV.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-CCHHEMPM.js";
12
+ import "./chunk-EB2IULWB.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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 {