@wirecat/mail-cli 0.14.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 (163) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +5 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-O7HQNZOF.js → all-profiles-PKXL5TKP.js} +10 -10
  5. package/dist/bundle/{anthropic-SNA6PTVO.js → anthropic-DFDNZU7C.js} +6 -6
  6. package/dist/bundle/{app-server-LBKMJMKN.js → app-server-WOZAOCKX.js} +47 -47
  7. package/dist/bundle/{bun-KF5QK2YN.js → bun-DKZAL6ML.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-2DKMM2PT.js → bun-sqlite-2A7FS5GD.js} +5 -5
  9. package/dist/bundle/{chunk-KLLKDOO2.js → chunk-2A4Z3WOC.js} +476 -304
  10. package/dist/bundle/{chunk-VERSKGJV.js → chunk-2BHY4GFP.js} +2 -2
  11. package/dist/bundle/{chunk-P62Z3Q35.js → chunk-3MKCLPQV.js} +14 -14
  12. package/dist/bundle/{chunk-FTGCXIQA.js → chunk-4DGOI6JB.js} +47 -33
  13. package/dist/bundle/{chunk-BP3TZ4EY.js → chunk-4HVY3QPF.js} +1 -1
  14. package/dist/bundle/{chunk-NGZW2JPK.js → chunk-4TPNRJER.js} +7 -7
  15. package/dist/bundle/{chunk-W643XZIR.js → chunk-4XRIALMN.js} +2 -2
  16. package/dist/bundle/{chunk-B5XAETYU.js → chunk-4YECCESG.js} +2 -2
  17. package/dist/bundle/{chunk-IPKXRW6W.js → chunk-5C3L2QER.js} +26 -25
  18. package/dist/bundle/{chunk-V5ZID7KC.js → chunk-5W7D5H2R.js} +1 -1
  19. package/dist/bundle/{chunk-E7BTD4P6.js → chunk-6AYJDBHT.js} +6 -6
  20. package/dist/bundle/{chunk-I7EWIIBC.js → chunk-6Z7VBDFR.js} +2 -3
  21. package/dist/bundle/{chunk-P547HU26.js → chunk-73SQQXSU.js} +10 -10
  22. package/dist/bundle/{chunk-ER6PJAPK.js → chunk-A6O3WHBD.js} +3 -3
  23. package/dist/bundle/{chunk-MQK2UNG4.js → chunk-BIKMEGC7.js} +8 -8
  24. package/dist/bundle/{chunk-AOVOIXGR.js → chunk-BKF7XIJ5.js} +10 -10
  25. package/dist/bundle/{chunk-NVQUK2DH.js → chunk-BY5S3JEZ.js} +47 -47
  26. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  27. package/dist/bundle/{chunk-2F7D6YMB.js → chunk-EDJQDR5X.js} +4 -4
  28. package/dist/bundle/{chunk-3YGYB3LJ.js → chunk-ENZTLYTS.js} +23 -5
  29. package/dist/bundle/{chunk-UHHARH5X.js → chunk-FEWWBU2I.js} +147 -73
  30. package/dist/bundle/{chunk-IVDUR5Y4.js → chunk-G6RG2AZV.js} +15 -8
  31. package/dist/bundle/{chunk-DIP3ENSY.js → chunk-HGOYQUT7.js} +1 -1
  32. package/dist/bundle/{chunk-XRJIQC6P.js → chunk-IA6U76ZY.js} +2 -2
  33. package/dist/bundle/{chunk-7LDC275M.js → chunk-JQTIB4WJ.js} +7 -7
  34. package/dist/bundle/{chunk-M2YIJDBL.js → chunk-K4N5UG64.js} +6 -6
  35. package/dist/bundle/{chunk-2A4BAMNF.js → chunk-KJYCA6IC.js} +4 -4
  36. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  37. package/dist/bundle/{chunk-QZXHMQCM.js → chunk-LARQTWIL.js} +1 -1
  38. package/dist/bundle/{chunk-Q5EYTU3Q.js → chunk-LRBAQSU3.js} +3 -3
  39. package/dist/bundle/{chunk-UMWR5PKA.js → chunk-M5DF6QNT.js} +13 -13
  40. package/dist/bundle/{chunk-G53HRGTK.js → chunk-M5VHTDJZ.js} +17 -17
  41. package/dist/bundle/{chunk-RE5SEGSR.js → chunk-NDZK466U.js} +4 -4
  42. package/dist/bundle/{chunk-2KVR7FF3.js → chunk-NNLYS4IR.js} +9 -9
  43. package/dist/bundle/{chunk-WBJQEB6E.js → chunk-OJEIUOMW.js} +12 -12
  44. package/dist/bundle/{chunk-X5XIFNTI.js → chunk-OZVGHHFZ.js} +2 -2
  45. package/dist/bundle/{chunk-VA3JKERH.js → chunk-P4SV3VKP.js} +2 -2
  46. package/dist/bundle/{chunk-5C74F7XX.js → chunk-PI5P457W.js} +4 -4
  47. package/dist/bundle/{chunk-XPREXN3W.js → chunk-PXLVTHMH.js} +3 -3
  48. package/dist/bundle/{chunk-3EAAEF5U.js → chunk-QCNK3YUZ.js} +95 -36
  49. package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-QJQV6KG2.js} +2 -2
  50. package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-QSGT4ZH4.js} +1 -1
  51. package/dist/bundle/{chunk-OGK7LMYT.js → chunk-QTD3BVS5.js} +6 -6
  52. package/dist/bundle/{chunk-WVWNKZI4.js → chunk-R6UG66IM.js} +465 -280
  53. package/dist/bundle/{chunk-I62OTHDE.js → chunk-RBNL3DBQ.js} +3 -3
  54. package/dist/bundle/{chunk-7GSE57K3.js → chunk-RFDP45QO.js} +3 -3
  55. package/dist/bundle/{chunk-YG4OI3HJ.js → chunk-SPQY3PJX.js} +232 -180
  56. package/dist/bundle/{chunk-H7OQ4YZV.js → chunk-SRHKHE4C.js} +47 -28
  57. package/dist/bundle/{chunk-DPKHVBP3.js → chunk-U3VX3UUC.js} +5 -5
  58. package/dist/bundle/{chunk-6CZQJ5XR.js → chunk-VQQFOA4O.js} +8 -8
  59. package/dist/bundle/{chunk-UJEO3VWA.js → chunk-WIU733D2.js} +1 -1
  60. package/dist/bundle/{chunk-F5SZVO3A.js → chunk-WOV3ABQR.js} +4 -4
  61. package/dist/bundle/{chunk-KBFIKUCA.js → chunk-WTDYN3TQ.js} +28 -28
  62. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  63. package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-XGNC5OJG.js} +1 -1
  64. package/dist/bundle/{chunk-MXG4L7NH.js → chunk-XKUAEYJV.js} +10 -10
  65. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  66. package/dist/bundle/{chunk-H2ZURG7Q.js → chunk-YRHXVXLQ.js} +2 -2
  67. package/dist/bundle/{chunk-ZCPUKUST.js → chunk-YWIU4HOT.js} +1 -1
  68. package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
  69. package/dist/bundle/{decode-X7Y2VSYZ.js → decode-LX4FPSI7.js} +5 -5
  70. package/dist/bundle/{dispatch-OWNO2CMC.js → dispatch-3ILCYZ4Q.js} +8 -8
  71. package/dist/bundle/{dist-L7FNC74Q.js → dist-HQIZDYNQ.js} +14 -14
  72. package/dist/bundle/{echarts-5AB3LFVD.js → echarts-BGBPRGR5.js} +2 -2
  73. package/dist/bundle/{embed-VBS5LRCE.js → embed-ASAE3H5I.js} +6 -6
  74. package/dist/bundle/{embedder-VFSYBDKK.js → embedder-QYDZRKBX.js} +9 -9
  75. package/dist/bundle/{failure-E534GZDF.js → failure-UDL5QZRZ.js} +2 -2
  76. package/dist/bundle/{first-run-NO2ODH2W.js → first-run-EFNNGFCB.js} +11 -11
  77. package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
  78. package/dist/bundle/{instructions-52W6ZQTU.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-TL2PBNKO.js → node-IB246NCQ.js} +2 -2
  82. package/dist/bundle/{node-sqlite-757HNQAD.js → node-sqlite-UROXM4VR.js} +6 -6
  83. package/dist/bundle/{oauth-VDRNJ7KN.js → oauth-VSCKHS4T.js} +7 -7
  84. package/dist/bundle/{open-NUWYOKPO.js → open-R4LVB63T.js} +5 -5
  85. package/dist/bundle/{openai-YLBFVK5X.js → openai-MKCEOFKL.js} +14 -14
  86. package/dist/bundle/{process-PWAGP6YY.js → process-SWPJGPQC.js} +1 -1
  87. package/dist/bundle/{program-PPUPVL7O.js → program-CJ2YDRUY.js} +11358 -10374
  88. package/dist/bundle/{prompt-M5U66RVJ.js → prompt-TWWJ5VAM.js} +5 -5
  89. package/dist/bundle/{recognize-DCMDZA2U.js → recognize-XMO5ETQU.js} +4 -4
  90. package/dist/bundle/{remote-4SHI5WJG.js → remote-N6VAWJWE.js} +7 -7
  91. package/dist/bundle/{rerank-DYMZMNPQ.js → rerank-XNAMC6FH.js} +7 -7
  92. package/dist/bundle/{serve-HO3WME4G.js → serve-IJ32WEBH.js} +9 -9
  93. package/dist/bundle/server-CRVR4L2E.js +64 -0
  94. package/dist/bundle/{server-R3TIPRZN.js → server-KEYSE5OL.js} +39 -39
  95. package/dist/bundle/{sqlite-runtime-DWRITUIH.js → sqlite-runtime-NFBRN7OF.js} +6 -6
  96. package/dist/bundle/{state-QOMUDOGF.js → state-7WPJEW2Z.js} +6 -6
  97. package/dist/bundle/{store-LHHMOE5V.js → store-KHVHOGQR.js} +21 -19
  98. package/dist/bundle/{store-RGO6IABA.js → store-PKQCNACC.js} +15 -15
  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 +9 -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/command-contract-B3OGAIDB.js +0 -34
  160. package/dist/bundle/first-screen-7VJLGMJJ.js +0 -32
  161. package/dist/bundle/server-244FHPY4.js +0 -64
  162. package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +0 -54
  163. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,55 @@
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
+
5
54
  ## 0.14.0 — 05.11.2026
6
55
 
7
56
  ### Added
package/README.md CHANGED
@@ -53,7 +53,9 @@ You need Node.js 22.16 or a later 22.x, or 24 or later. To try it with no instal
53
53
  - **Sync a big mailbox in parts.** A run stops before its deadline, keeps what it read and tells you to run it again;
54
54
  `status` shows how far it is.
55
55
  - **Check a mailbox.** `account check` shows what the server supports, `folders list` the folders with their role and
56
- 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.
57
59
  - **Organise it on the server.** `messages mark-read|mark-unread|star|unstar|update` change flags and keywords,
58
60
  `messages move|copy --folder` file mail (by label on Gmail), `messages delete` moves it to Trash, and
59
61
  `messages restore --run <id>` undoes any of them. `folders create|rename|delete` look after the folders. A search
@@ -135,9 +137,8 @@ mail ya config show # every setting and where it came
135
137
  `folders delete --allow-dangerous` of a folder that holds mail (outside Gmail, its mail is gone).
136
138
  Undoing `messages copy` outside Gmail removes the copy for good, never the original.
137
139
  - Text and headers only: the text of attachments is stored, not the files, nor the original message.
138
- - Gmail over OAuth needs a Google app of your own
139
- ([steps](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-google.md)); `mail` ships no Google app for
140
- 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)).
141
142
  - Gmail caps IMAP downloads at 2,500 MB a day; a new Yandex app password can take 2 to 3 hours to work.
142
143
  - Search reads the store and asks the mail server for mail `sync` has not read yet; `--backend archive` keeps to
143
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.14.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-O7HQNZOF.js","../bundle/anthropic-SNA6PTVO.js","../bundle/app-server-LBKMJMKN.js","../bundle/bun-KF5QK2YN.js","../bundle/bun-sqlite-2DKMM2PT.js","../bundle/decode-X7Y2VSYZ.js","../bundle/dispatch-OWNO2CMC.js","../bundle/dist-HFUVURJG.js","../bundle/dist-L7FNC74Q.js","../bundle/echarts-5AB3LFVD.js","../bundle/embed-VBS5LRCE.js","../bundle/embedder-VFSYBDKK.js","../bundle/failure-E534GZDF.js","../bundle/first-screen-7VJLGMJJ.js","../bundle/instructions-52W6ZQTU.js","../bundle/mcp-MNI62HHE.js","../bundle/node-KM3CUABH.js","../bundle/node-TL2PBNKO.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-757HNQAD.js","../bundle/oauth-VDRNJ7KN.js","../bundle/open-NUWYOKPO.js","../bundle/openai-YLBFVK5X.js","../bundle/process-PWAGP6YY.js","../bundle/program-PPUPVL7O.js","../bundle/prompt-M5U66RVJ.js","../bundle/recognize-DCMDZA2U.js","../bundle/remote-4SHI5WJG.js","../bundle/rerank-DYMZMNPQ.js","../bundle/serve-HO3WME4G.js","../bundle/server-244FHPY4.js","../bundle/server-R3TIPRZN.js","../bundle/sqlite-runtime-DWRITUIH.js","../bundle/state-QOMUDOGF.js","../bundle/store-LHHMOE5V.js","../bundle/store-RGO6IABA.js","../bundle/store-maintenance-command-LU2ZBDUY.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,29 +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-KQ5P5NLL.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-VERSKGJV.js";
12
+ } from "./chunk-2BHY4GFP.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-2KVR7FF3.js";
17
- import "./chunk-BP3TZ4EY.js";
18
- import "./chunk-NUN6OGOV.js";
19
- import "./chunk-3EAAEF5U.js";
20
- import "./chunk-IVDUR5Y4.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";
21
21
  import "./chunk-Y5E2WNWB.js";
22
- import "./chunk-CCHHEMPM.js";
22
+ import "./chunk-EB2IULWB.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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
28
28
  import { spawn } from "node:child_process";
29
29
  import { randomUUID } from "node:crypto";
30
30
  var PROTOCOL = "2025-06-18";
@@ -258,7 +258,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
258
258
  }, "serveAllProfilesOverStdio");
259
259
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
260
260
  const { build, close } = allProfilesServer(options);
261
- const { serveOverHttp } = await import("./serve-HO3WME4G.js");
261
+ const { serveOverHttp } = await import("./serve-IJ32WEBH.js");
262
262
  const listening = await serveOverHttp(build, {
263
263
  ...http,
264
264
  appName: options.command,
@@ -5,25 +5,25 @@ import {
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
7
  checkedOptions
8
- } from "./chunk-I62OTHDE.js";
8
+ } from "./chunk-RBNL3DBQ.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-6EZ7XGRG.js";
13
- import "./chunk-3EAAEF5U.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-IVDUR5Y4.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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-KBFIKUCA.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-H7OQ4YZV.js";
13
+ } from "./chunk-SRHKHE4C.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-FTGCXIQA.js";
16
+ } from "./chunk-4DGOI6JB.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-P62Z3Q35.js";
21
- import "./chunk-3YGYB3LJ.js";
20
+ } from "./chunk-3MKCLPQV.js";
21
+ import "./chunk-ENZTLYTS.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-ZCPUKUST.js";
24
+ } from "./chunk-YWIU4HOT.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-KQ5P5NLL.js";
27
+ } from "./chunk-QSGT4ZH4.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-VERSKGJV.js";
31
+ } from "./chunk-2BHY4GFP.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
- import "./chunk-IPKXRW6W.js";
36
- import "./chunk-WVWNKZI4.js";
37
- import "./chunk-UMWR5PKA.js";
38
- import "./chunk-P547HU26.js";
39
- import "./chunk-6EZ7XGRG.js";
40
- import "./chunk-H2ZURG7Q.js";
41
- import "./chunk-DPKHVBP3.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,49 +48,49 @@ import {
48
48
  readOnlyLockOf,
49
49
  readsOverMcpAt,
50
50
  rootOf2 as rootOf
51
- } from "./chunk-YG4OI3HJ.js";
52
- import "./chunk-7LDC275M.js";
53
- import "./chunk-2KVR7FF3.js";
54
- import "./chunk-2F7D6YMB.js";
55
- import "./chunk-PQLBPYJR.js";
56
- import "./chunk-ER6PJAPK.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-5C74F7XX.js";
60
- import "./chunk-Q5EYTU3Q.js";
61
- import "./chunk-UJEO3VWA.js";
62
- import "./chunk-7GSE57K3.js";
63
- import "./chunk-OGK7LMYT.js";
64
- import "./chunk-F5SZVO3A.js";
65
- import "./chunk-G53HRGTK.js";
66
- import "./chunk-2A4BAMNF.js";
67
- import "./chunk-KLLKDOO2.js";
68
- import "./chunk-MXG4L7NH.js";
69
- import "./chunk-NGZW2JPK.js";
70
- import "./chunk-UHHARH5X.js";
71
- import "./chunk-BP3TZ4EY.js";
72
- import "./chunk-MQK2UNG4.js";
73
- import "./chunk-M2YIJDBL.js";
74
- import "./chunk-X5XIFNTI.js";
75
- import "./chunk-ILHTNOIV.js";
76
- 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";
77
77
  import "./chunk-D72URWJE.js";
78
- import "./chunk-E7BTD4P6.js";
79
- import "./chunk-DIP3ENSY.js";
80
- import "./chunk-3EAAEF5U.js";
78
+ import "./chunk-6AYJDBHT.js";
79
+ import "./chunk-HGOYQUT7.js";
80
+ import "./chunk-QCNK3YUZ.js";
81
81
  import {
82
82
  mcpErrorResult
83
- } from "./chunk-IVDUR5Y4.js";
83
+ } from "./chunk-G6RG2AZV.js";
84
84
  import "./chunk-Y5E2WNWB.js";
85
85
  import {
86
86
  CliError
87
- } from "./chunk-CCHHEMPM.js";
88
- import "./chunk-QWRBAQZ7.js";
87
+ } from "./chunk-EB2IULWB.js";
88
+ import "./chunk-XGNC5OJG.js";
89
89
  import {
90
90
  __name
91
91
  } from "./chunk-ZVVMGPBJ.js";
92
92
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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
94
94
  var EXCLUDED = [["mcp"]];
95
95
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
96
96
  const { app } = options;
@@ -205,7 +205,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
205
205
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
206
206
  const { app } = options;
207
207
  const { build } = createAppServer(command, context, options);
208
- const { serveOverHttp } = await import("./serve-HO3WME4G.js");
208
+ const { serveOverHttp } = await import("./serve-IJ32WEBH.js");
209
209
  const listening = await serveOverHttp(build, {
210
210
  ...http,
211
211
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-QWRBAQZ7.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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-XRJIQC6P.js";
7
- import "./chunk-3EAAEF5U.js";
8
- import "./chunk-IVDUR5Y4.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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 {