@wirecat/mail-cli 0.14.0 → 0.16.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 +60 -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-TUDREUUW.js} +10 -10
  5. package/dist/bundle/{anthropic-SNA6PTVO.js → anthropic-KQOVSP6C.js} +6 -6
  6. package/dist/bundle/{app-server-LBKMJMKN.js → app-server-QK7PKVT7.js} +47 -47
  7. package/dist/bundle/{bun-KF5QK2YN.js → bun-2NMWL5YB.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-2DKMM2PT.js → bun-sqlite-Y4FP6SDX.js} +5 -5
  9. package/dist/bundle/{chunk-UJEO3VWA.js → chunk-3CVDHJER.js} +1 -1
  10. package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-3ZJE5TIG.js} +2 -2
  11. package/dist/bundle/{chunk-UHHARH5X.js → chunk-4IEDXIUN.js} +308 -236
  12. package/dist/bundle/{chunk-KBFIKUCA.js → chunk-4IIH5PXR.js} +28 -28
  13. package/dist/bundle/{chunk-ZCPUKUST.js → chunk-5FPQGUJA.js} +1 -1
  14. package/dist/bundle/{chunk-DPKHVBP3.js → chunk-6DVPPLAN.js} +5 -5
  15. package/dist/bundle/{chunk-XRJIQC6P.js → chunk-7LMTWOTP.js} +2 -2
  16. package/dist/bundle/{chunk-H2ZURG7Q.js → chunk-ANFIIXBL.js} +2 -2
  17. package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-ARDUJR5Z.js} +1 -1
  18. package/dist/bundle/{chunk-AOVOIXGR.js → chunk-B2NDDA2W.js} +10 -10
  19. package/dist/bundle/{chunk-MQK2UNG4.js → chunk-CGH6UH3T.js} +8 -8
  20. package/dist/bundle/{chunk-BP3TZ4EY.js → chunk-CRYWPLJP.js} +1 -1
  21. package/dist/bundle/{chunk-Q5EYTU3Q.js → chunk-CT2MIWXY.js} +3 -3
  22. package/dist/bundle/{chunk-7LDC275M.js → chunk-DDQXDX4U.js} +7 -7
  23. package/dist/bundle/{chunk-2KVR7FF3.js → chunk-DKIAHQRN.js} +9 -9
  24. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  25. package/dist/bundle/{chunk-MXG4L7NH.js → chunk-EBEYU7RW.js} +10 -10
  26. package/dist/bundle/{chunk-2F7D6YMB.js → chunk-EDJQDR5X.js} +4 -4
  27. package/dist/bundle/{chunk-E7BTD4P6.js → chunk-EZIJPXDZ.js} +6 -6
  28. package/dist/bundle/{chunk-RE5SEGSR.js → chunk-FHY664YS.js} +4 -4
  29. package/dist/bundle/{chunk-B5XAETYU.js → chunk-FROWEHK7.js} +2 -2
  30. package/dist/bundle/{chunk-IVDUR5Y4.js → chunk-G6RG2AZV.js} +15 -8
  31. package/dist/bundle/{chunk-P547HU26.js → chunk-GAYW2JRW.js} +10 -10
  32. package/dist/bundle/{chunk-2A4BAMNF.js → chunk-GIKNAOER.js} +4 -4
  33. package/dist/bundle/{chunk-UMWR5PKA.js → chunk-HN3EDDVX.js} +13 -13
  34. package/dist/bundle/{chunk-7GSE57K3.js → chunk-HVAXTTOT.js} +3 -3
  35. package/dist/bundle/{chunk-G53HRGTK.js → chunk-I3K6JG4I.js} +17 -17
  36. package/dist/bundle/{chunk-YG4OI3HJ.js → chunk-IJYYD2JU.js} +383 -204
  37. package/dist/bundle/{chunk-M2YIJDBL.js → chunk-K2OQCQ2N.js} +6 -6
  38. package/dist/bundle/{chunk-P62Z3Q35.js → chunk-KJV3BI7S.js} +14 -14
  39. package/dist/bundle/{chunk-DIP3ENSY.js → chunk-KMZRXGTF.js} +1 -1
  40. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  41. package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-LMN7SYX4.js} +1 -1
  42. package/dist/bundle/{chunk-I7EWIIBC.js → chunk-M24BGP7M.js} +2 -3
  43. package/dist/bundle/{chunk-V5ZID7KC.js → chunk-M6O4DH5F.js} +1 -1
  44. package/dist/bundle/{chunk-WVWNKZI4.js → chunk-MLWN27HF.js} +465 -280
  45. package/dist/bundle/{chunk-VA3JKERH.js → chunk-N7DLDEFU.js} +2 -2
  46. package/dist/bundle/{chunk-QZXHMQCM.js → chunk-OYB3FUYQ.js} +1 -1
  47. package/dist/bundle/{chunk-I62OTHDE.js → chunk-POS35G6D.js} +3 -3
  48. package/dist/bundle/{chunk-5C74F7XX.js → chunk-PWTEWT4M.js} +4 -4
  49. package/dist/bundle/{chunk-NVQUK2DH.js → chunk-PYX6K527.js} +47 -47
  50. package/dist/bundle/{chunk-VERSKGJV.js → chunk-Q4T2HBZP.js} +2 -2
  51. package/dist/bundle/{chunk-3EAAEF5U.js → chunk-QCNK3YUZ.js} +95 -36
  52. package/dist/bundle/{chunk-OGK7LMYT.js → chunk-R6SBRHVG.js} +6 -6
  53. package/dist/bundle/{chunk-WBJQEB6E.js → chunk-RPEW7E3S.js} +12 -12
  54. package/dist/bundle/{chunk-X5XIFNTI.js → chunk-TTOKDZQX.js} +2 -2
  55. package/dist/bundle/{chunk-NGZW2JPK.js → chunk-UBLFUQ7O.js} +7 -7
  56. package/dist/bundle/{chunk-W643XZIR.js → chunk-VD6GZ3W2.js} +2 -2
  57. package/dist/bundle/{chunk-6CZQJ5XR.js → chunk-VP5FL5JQ.js} +8 -8
  58. package/dist/bundle/{chunk-XPREXN3W.js → chunk-VTJ5TMGN.js} +3 -3
  59. package/dist/bundle/{chunk-IPKXRW6W.js → chunk-WKHHCCJE.js} +26 -25
  60. package/dist/bundle/{chunk-KLLKDOO2.js → chunk-X7EBOXBY.js} +485 -309
  61. package/dist/bundle/{chunk-H7OQ4YZV.js → chunk-XAANQN4R.js} +47 -28
  62. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  63. package/dist/bundle/{chunk-3YGYB3LJ.js → chunk-XEIGKPYU.js} +27 -6
  64. package/dist/bundle/{chunk-FTGCXIQA.js → chunk-YGJO5VNR.js} +47 -33
  65. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  66. package/dist/bundle/{chunk-ER6PJAPK.js → chunk-ZNW4E3SG.js} +3 -3
  67. package/dist/bundle/{chunk-F5SZVO3A.js → chunk-ZS6YKNYS.js} +4 -4
  68. package/dist/bundle/command-contract-GVNLRXWS.js +34 -0
  69. package/dist/bundle/{decode-X7Y2VSYZ.js → decode-WCS4KOHV.js} +5 -5
  70. package/dist/bundle/{dispatch-OWNO2CMC.js → dispatch-3ILCYZ4Q.js} +8 -8
  71. package/dist/bundle/{dist-L7FNC74Q.js → dist-FL422DTA.js} +14 -14
  72. package/dist/bundle/{echarts-5AB3LFVD.js → echarts-45D6USAX.js} +2 -2
  73. package/dist/bundle/{embed-VBS5LRCE.js → embed-4B4ATLCN.js} +6 -6
  74. package/dist/bundle/{embedder-VFSYBDKK.js → embedder-ASWGJXNV.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-5K3UD4BU.js} +11 -11
  77. package/dist/bundle/first-screen-NNX54MYC.js +32 -0
  78. package/dist/bundle/{instructions-52W6ZQTU.js → instructions-6EFSPC7C.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-OXC26QXO.js} +2 -2
  82. package/dist/bundle/{node-sqlite-757HNQAD.js → node-sqlite-PXHZAG7Y.js} +6 -6
  83. package/dist/bundle/{oauth-VDRNJ7KN.js → oauth-YK2QLC7U.js} +7 -7
  84. package/dist/bundle/{open-NUWYOKPO.js → open-SABDXZ4B.js} +5 -5
  85. package/dist/bundle/{openai-YLBFVK5X.js → openai-DPURPXEU.js} +14 -14
  86. package/dist/bundle/{process-PWAGP6YY.js → process-YWPAOI6G.js} +1 -1
  87. package/dist/bundle/{program-PPUPVL7O.js → program-L43S7DRF.js} +12245 -11133
  88. package/dist/bundle/{prompt-M5U66RVJ.js → prompt-GKVNFGFE.js} +5 -5
  89. package/dist/bundle/{recognize-DCMDZA2U.js → recognize-344YDSLX.js} +4 -4
  90. package/dist/bundle/{remote-4SHI5WJG.js → remote-53UZUJJU.js} +7 -7
  91. package/dist/bundle/{rerank-DYMZMNPQ.js → rerank-PAIRND6R.js} +7 -7
  92. package/dist/bundle/{serve-HO3WME4G.js → serve-DZSO7LJK.js} +9 -9
  93. package/dist/bundle/{server-R3TIPRZN.js → server-EGG3V67I.js} +39 -39
  94. package/dist/bundle/server-SGGMRV2K.js +64 -0
  95. package/dist/bundle/{sqlite-runtime-DWRITUIH.js → sqlite-runtime-ZQ6F3VYZ.js} +6 -6
  96. package/dist/bundle/{state-QOMUDOGF.js → state-LXPOWLZ5.js} +6 -6
  97. package/dist/bundle/{store-RGO6IABA.js → store-4ZMSK5R5.js} +15 -15
  98. package/dist/bundle/{store-LHHMOE5V.js → store-PHT75I6S.js} +21 -19
  99. package/dist/bundle/store-maintenance-command-C6ONZNRX.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 +3 -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 +12 -1
  125. package/dist/config.d.ts.map +1 -1
  126. package/dist/config.js +30 -1
  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 +15 -2
  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,66 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.16.0 — 05.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **mail runs on cli-core 0.569.0: an agent schedule runs on Sonnet, starts lean and stops for the day at a cost
10
+ cap.** `mail <profile> schedule agent` takes `--model <model>` and `--max-cost-per-day <usd>`. Without them a claude
11
+ schedule runs on `sonnet` and a codex one on codex's own default, a new claude schedule starts without your MCP
12
+ servers, skills, settings and CLAUDE.md, and no run starts for the rest of the day once the day's runs cost 5 US
13
+ dollars. `schedule_model_claude`, `schedule_model_codex`, `schedule_lean_start` and `schedule_max_cost_per_day` in
14
+ the config file's `defaults` change that for every new schedule; `mail config show` lists them.
15
+
16
+ ## 0.15.0 — 05.11.2026
17
+
18
+ ### Changed — may break callers
19
+
20
+ - **The profile sets whether and up to what size `sync` reads attachments, and one run can override it.** The
21
+ profile's `read_attachments` (default `true`) and `max_attachment_mb` (default 10) set it; `--no-attachments`,
22
+ `--attachments` and `--max-attachment-mb <n>` override it for one run. A file left unread is stored with its name and
23
+ size, its extraction `not-read` or `too-large`. No file is kept either way.
24
+ - **`messages show` reads an email again when one of its attachments was left unread**, every attachment whatever
25
+ its size, so the command now reaches the mail server for such an email. `--offline` or a failed read shows the stored
26
+ email with `meta.complete: false` and the issue `mail.attachments-unread`. `attachments download` keeps a file.
27
+ - **Gmail over OAuth signs in with WireCat's Google app when you name none.** It needed `--client-file` or
28
+ `MAIL_GOOGLE_CLIENT_ID` and failed with `mail.oauth-no-client` without them. The order is `--client-file`, then
29
+ `MAIL_GOOGLE_CLIENT_ID` (with `MAIL_GOOGLE_CLIENT_SECRET`), then the profile's new `google_client_id`, then
30
+ WireCat's app. Google has not reviewed WireCat's app for mail yet: if Google refuses it, use your own
31
+ ([steps](docs/oauth-google.md)). Choosing OAuth for a Gmail profile is unchanged.
32
+ - **`MAIL_MICROSOFT_CLIENT_ID` picks the Microsoft app for one run**, before the profile's `microsoft_client_id` and
33
+ WireCat's app, which now comes from cli-core's `constants.json`. `mail.oauth-no-client` is gone: there is always an
34
+ app.
35
+ - **`doctor`'s `oauth` rows say which app each profile uses as `oauth_client: { client, source }`**, in place of
36
+ `client`: `source` is `flag`, `env`, `config` or `constants` (WireCat's). A profile's row reports the app it
37
+ signed in with when its sign-in recorded one. `session start` answers `source` beside `client`.
38
+ - **mail runs on cli-base 0.77.1 and cli-core 0.566.0.**
39
+
40
+ ### Added
41
+
42
+ - **`stats messages show` counts the profile's stored mail per day, week or sender**, received and sent, over the
43
+ same query as `search messages`: `{ by, received, sent, rows: [{ key, name, received, sent }] }`, a day or week key
44
+ `YYYY-MM-DD` in `--timezone` (a week by its Monday), a sender keyed by address with `sent` 0. Counts only, no search
45
+ recorded. For WireCat Desktop's mail per day (cli-core's `mailStats`, 0.564.0).
46
+ - **`account inspect` groups the mailbox's mail by sender and list before you sync it**: emails, MB, unread and bulk
47
+ shares, years, whether you replied, a `skip` suggestion and a spam or scam score, plus the rule kinds the mail would
48
+ match. Headers only, nothing stored. `--domain-age` asks each sender domain's registry (RDAP) when it was
49
+ registered. Moved from `memo mail inspect`.
50
+ - **`messages import <file.mbox>` adds a Google Takeout archive to a Gmail profile's stored mail**, joined with what
51
+ `sync` stores by Gmail's ids; it only adds, leaves out Spam and Trash and follows the profile's rules. Moved from
52
+ memo's `mode: "mbox"` mail accounts.
53
+ - **`sync` scores the senders of the stored mail, at most once a day**, and asks registries about new sender domains
54
+ until its deadline; search ranks mail from senders with signs of fraud lower. The answer's `senders` says how many.
55
+ `memo sync` did this before; it no longer reads mail.
56
+
57
+ ### Fixed
58
+
59
+ - **The MCP server tells an agent that attachment text is data, not instructions**, beside subjects, bodies and file
60
+ names. `sync` indexes attachment text and `messages show` returns it.
61
+ - **`session start` writes every setting at its default when it saves a new profile**, as `config set` does. The
62
+ first file a sign-in made held only the profile, so the owner could not see the other settings until a later
63
+ `config set` or `config migrate`.
64
+
5
65
  ## 0.14.0 — 05.11.2026
6
66
 
7
67
  ### 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.16.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-TUDREUUW.js","../bundle/anthropic-KQOVSP6C.js","../bundle/app-server-QK7PKVT7.js","../bundle/bun-2NMWL5YB.js","../bundle/bun-sqlite-Y4FP6SDX.js","../bundle/decode-WCS4KOHV.js","../bundle/dispatch-3ILCYZ4Q.js","../bundle/dist-FL422DTA.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-45D6USAX.js","../bundle/embed-4B4ATLCN.js","../bundle/embedder-ASWGJXNV.js","../bundle/failure-UDL5QZRZ.js","../bundle/first-screen-NNX54MYC.js","../bundle/instructions-6EFSPC7C.js","../bundle/mcp-PPVOM4SE.js","../bundle/node-KM3CUABH.js","../bundle/node-OXC26QXO.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PXHZAG7Y.js","../bundle/oauth-YK2QLC7U.js","../bundle/open-SABDXZ4B.js","../bundle/openai-DPURPXEU.js","../bundle/process-YWPAOI6G.js","../bundle/program-L43S7DRF.js","../bundle/prompt-GKVNFGFE.js","../bundle/recognize-344YDSLX.js","../bundle/remote-53UZUJJU.js","../bundle/rerank-PAIRND6R.js","../bundle/serve-DZSO7LJK.js","../bundle/server-EGG3V67I.js","../bundle/server-SGGMRV2K.js","../bundle/sqlite-runtime-ZQ6F3VYZ.js","../bundle/state-LXPOWLZ5.js","../bundle/store-4ZMSK5R5.js","../bundle/store-PHT75I6S.js","../bundle/store-maintenance-command-C6ONZNRX.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-ARDUJR5Z.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-Q4T2HBZP.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-DKIAHQRN.js";
17
+ import "./chunk-CRYWPLJP.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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-DZSO7LJK.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-POS35G6D.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-6EZ7XGRG.js";
13
- import "./chunk-3EAAEF5U.js";
12
+ } from "./chunk-3ZJE5TIG.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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-4IIH5PXR.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-XAANQN4R.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-FTGCXIQA.js";
16
+ } from "./chunk-YGJO5VNR.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-P62Z3Q35.js";
21
- import "./chunk-3YGYB3LJ.js";
20
+ } from "./chunk-KJV3BI7S.js";
21
+ import "./chunk-XEIGKPYU.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-ZCPUKUST.js";
24
+ } from "./chunk-5FPQGUJA.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-KQ5P5NLL.js";
27
+ } from "./chunk-ARDUJR5Z.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-VERSKGJV.js";
31
+ } from "./chunk-Q4T2HBZP.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-WKHHCCJE.js";
36
+ import "./chunk-MLWN27HF.js";
37
+ import "./chunk-HN3EDDVX.js";
38
+ import "./chunk-GAYW2JRW.js";
39
+ import "./chunk-3ZJE5TIG.js";
40
+ import "./chunk-ANFIIXBL.js";
41
+ import "./chunk-6DVPPLAN.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-IJYYD2JU.js";
52
+ import "./chunk-DDQXDX4U.js";
53
+ import "./chunk-DKIAHQRN.js";
54
+ import "./chunk-EDJQDR5X.js";
55
+ import "./chunk-YPF6OS37.js";
56
+ import "./chunk-ZNW4E3SG.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-PWTEWT4M.js";
60
+ import "./chunk-CT2MIWXY.js";
61
+ import "./chunk-3CVDHJER.js";
62
+ import "./chunk-HVAXTTOT.js";
63
+ import "./chunk-R6SBRHVG.js";
64
+ import "./chunk-ZS6YKNYS.js";
65
+ import "./chunk-I3K6JG4I.js";
66
+ import "./chunk-GIKNAOER.js";
67
+ import "./chunk-X7EBOXBY.js";
68
+ import "./chunk-EBEYU7RW.js";
69
+ import "./chunk-UBLFUQ7O.js";
70
+ import "./chunk-4IEDXIUN.js";
71
+ import "./chunk-CRYWPLJP.js";
72
+ import "./chunk-CGH6UH3T.js";
73
+ import "./chunk-K2OQCQ2N.js";
74
+ import "./chunk-TTOKDZQX.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-EZIJPXDZ.js";
79
+ import "./chunk-KMZRXGTF.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-LMN7SYX4.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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-DZSO7LJK.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-LMN7SYX4.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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-7LMTWOTP.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)