@wirecat/mail-cli 0.9.0 → 0.11.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 (153) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +4 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-X6ROLLMF.js → all-profiles-OJPRIFKU.js} +9 -9
  5. package/dist/bundle/{anthropic-MPARKCMJ.js → anthropic-3AXHD4WH.js} +6 -6
  6. package/dist/bundle/{app-server-JQ5XCXWT.js → app-server-V4KHCUGE.js} +45 -46
  7. package/dist/bundle/{bun-H7LT5433.js → bun-ISYNUTQJ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-AGK2BHAN.js → bun-sqlite-FH3D4AXL.js} +5 -5
  9. package/dist/bundle/{chunk-IYC3IHEZ.js → chunk-2TTCKOQ7.js} +2 -2
  10. package/dist/bundle/{chunk-5NYUCY5W.js → chunk-35Y3INBK.js} +2 -2
  11. package/dist/bundle/{chunk-UHBCL66Y.js → chunk-44LVUMS2.js} +1 -1
  12. package/dist/bundle/{chunk-U6BDAY55.js → chunk-4D52FA34.js} +1 -1
  13. package/dist/bundle/{chunk-L3KMVMRJ.js → chunk-4DPICEPQ.js} +2 -2
  14. package/dist/bundle/{chunk-6FBBDIX6.js → chunk-4GPPRLIG.js} +7 -42
  15. package/dist/bundle/{chunk-BNPCRWZ6.js → chunk-5TACUBRJ.js} +8 -8
  16. package/dist/bundle/{chunk-PC3AFEEA.js → chunk-6LNRNQHJ.js} +4 -4
  17. package/dist/bundle/{chunk-3LMWAO6A.js → chunk-6QNPJSRM.js} +6 -6
  18. package/dist/bundle/{chunk-PXQ7A5HQ.js → chunk-6UT3MXOB.js} +3 -3
  19. package/dist/bundle/{chunk-SEL7SJCM.js → chunk-AJ4JS2ZR.js} +36 -11
  20. package/dist/bundle/{chunk-RGM66WZ3.js → chunk-BYQ3Z6UL.js} +3 -3
  21. package/dist/bundle/{chunk-FEA5E7WQ.js → chunk-DN54W657.js} +2 -2
  22. package/dist/bundle/{chunk-J4MY3QIN.js → chunk-F3QDSQ7V.js} +34 -28
  23. package/dist/bundle/{chunk-YXQIZORE.js → chunk-FYMQPAE5.js} +4 -4
  24. package/dist/bundle/{chunk-2FDROA4Q.js → chunk-G2WDY5XB.js} +2 -2
  25. package/dist/bundle/{chunk-KWHFDVAF.js → chunk-GAIVTJ3E.js} +121 -32
  26. package/dist/bundle/{chunk-INVEYTAL.js → chunk-GFCNSU3B.js} +48 -48
  27. package/dist/bundle/{chunk-SYFBRZ5F.js → chunk-GUFWLTOW.js} +2 -2
  28. package/dist/bundle/{chunk-YLSV3WOO.js → chunk-GYNHU56E.js} +4 -4
  29. package/dist/bundle/{chunk-CHK3V7FG.js → chunk-HVVLSCFB.js} +1 -1
  30. package/dist/bundle/{chunk-4EFKQXA5.js → chunk-IG2WXKIT.js} +8 -8
  31. package/dist/bundle/{chunk-3Y7H3CXI.js → chunk-IS6KAUSG.js} +2 -5
  32. package/dist/bundle/{chunk-24MHYGNE.js → chunk-IWHXM2S7.js} +1620 -671
  33. package/dist/bundle/{chunk-TVZFDVZP.js → chunk-IXYKM7OJ.js} +13 -13
  34. package/dist/bundle/{chunk-ZISFMUYB.js → chunk-JAWJZTFL.js} +18 -18
  35. package/dist/bundle/{chunk-PEF637VV.js → chunk-JIIEJLAX.js} +4 -4
  36. package/dist/bundle/{chunk-DLB2JPLU.js → chunk-JNUKTAMZ.js} +1 -1
  37. package/dist/bundle/{chunk-25N52S7U.js → chunk-K2F7YMMM.js} +6 -6
  38. package/dist/bundle/{chunk-OZGDPG6I.js → chunk-KJP2B65C.js} +30 -30
  39. package/dist/bundle/{chunk-EUJTQY43.js → chunk-KVN4RY7E.js} +52 -53
  40. package/dist/bundle/{chunk-JZMPDFM4.js → chunk-L3PVAY3M.js} +2 -2
  41. package/dist/bundle/{chunk-64FN5JK6.js → chunk-LIQ5LICB.js} +3 -3
  42. package/dist/bundle/{chunk-DQHAXX33.js → chunk-LXHLQ6RK.js} +7 -7
  43. package/dist/bundle/{chunk-HZ42NO25.js → chunk-MDIRW3AT.js} +2 -2
  44. package/dist/bundle/{chunk-K3RWO7LR.js → chunk-N6P55LDU.js} +84 -8
  45. package/dist/bundle/{chunk-PTDJXPXG.js → chunk-NBQQ2ZTF.js} +19 -14
  46. package/dist/bundle/{chunk-NAIJNJZZ.js → chunk-NSDOYHIS.js} +10 -8
  47. package/dist/bundle/{chunk-VOGSDGVL.js → chunk-OHC4GVWV.js} +2 -2
  48. package/dist/bundle/{chunk-QO4K6R7K.js → chunk-PLPSFJO6.js} +6 -6
  49. package/dist/bundle/{chunk-3W6VSSQQ.js → chunk-PSXAC6OO.js} +1 -1
  50. package/dist/bundle/{chunk-4MIC7S7B.js → chunk-QB54TE52.js} +1 -1
  51. package/dist/bundle/{chunk-QXXBDW6N.js → chunk-QPQSMJBW.js} +10 -10
  52. package/dist/bundle/{chunk-SUB4DRMA.js → chunk-S64N24ON.js} +3 -3
  53. package/dist/bundle/{chunk-M55XFZMG.js → chunk-SW5NVASW.js} +9 -9
  54. package/dist/bundle/{chunk-N6YA4OQI.js → chunk-SYBMOE6F.js} +865 -838
  55. package/dist/bundle/{chunk-Z3TZTOR2.js → chunk-T3AGR4TI.js} +4840 -894
  56. package/dist/bundle/{chunk-JYVZDJNO.js → chunk-TTKNBUMT.js} +45 -5
  57. package/dist/bundle/{chunk-ROZBXOES.js → chunk-TZGQPTZ2.js} +1 -1
  58. package/dist/bundle/{chunk-FUDHVV4R.js → chunk-UDJIC6YL.js} +67 -30
  59. package/dist/bundle/{chunk-HWLAV2HM.js → chunk-V6K2GX2Y.js} +17 -17
  60. package/dist/bundle/{chunk-65SVO3T7.js → chunk-VEXXVLBM.js} +3 -3
  61. package/dist/bundle/{chunk-NTWORG4T.js → chunk-WL7CYT7O.js} +1 -1
  62. package/dist/bundle/{chunk-DL32PWLR.js → chunk-X37KLD23.js} +14 -14
  63. package/dist/bundle/{chunk-5PWKPRTD.js → chunk-XTIQFMZH.js} +4 -4
  64. package/dist/bundle/{chunk-GPCKNZIA.js → chunk-YDUES6ET.js} +4 -4
  65. package/dist/bundle/{chunk-TKFQ3GNY.js → chunk-YRZ23RCS.js} +164 -59
  66. package/dist/bundle/command-contract-TW44FY47.js +33 -0
  67. package/dist/bundle/{decode-ZATANRER.js → decode-FM4C2WWG.js} +5 -5
  68. package/dist/bundle/{dispatch-5C6XNGEE.js → dispatch-K3HG4RYT.js} +8 -8
  69. package/dist/bundle/{dist-JN22LNLZ.js → dist-7LNVI7VB.js} +17 -13
  70. package/dist/bundle/{echarts-WKTVUY3O.js → echarts-5C2A72XM.js} +2 -2
  71. package/dist/bundle/{embed-AVKPYK4V.js → embed-N56P6YVY.js} +6 -6
  72. package/dist/bundle/{embedder-PSV2E5TR.js → embedder-QLYKFLOL.js} +9 -9
  73. package/dist/bundle/{failure-YRGRZBTX.js → failure-5ZLVZTRU.js} +2 -2
  74. package/dist/bundle/{first-run-YN4SF5RZ.js → first-run-VMF4PJ7Q.js} +11 -11
  75. package/dist/bundle/first-screen-ZN7ODW5K.js +31 -0
  76. package/dist/bundle/{instructions-W5SJW23S.js → instructions-QA5FHDOJ.js} +1 -1
  77. package/dist/bundle/mail.js +12 -12
  78. package/dist/bundle/{mcp-B25MZCS7.js → mcp-LO2XDBBC.js} +2 -2
  79. package/dist/bundle/{node-BHBFRH6H.js → node-OXJZWUYZ.js} +2 -2
  80. package/dist/bundle/{node-sqlite-7FHC3W5U.js → node-sqlite-7GCEI67B.js} +5 -5
  81. package/dist/bundle/{oauth-ORPM6FLL.js → oauth-VTPIYBTP.js} +7 -7
  82. package/dist/bundle/{open-AY5KLPWO.js → open-7XX3YF2X.js} +4 -4
  83. package/dist/bundle/{openai-U7VALRI7.js → openai-D3KRCXSY.js} +14 -14
  84. package/dist/bundle/{process-7AWARSC5.js → process-KFI7SXQD.js} +1 -1
  85. package/dist/bundle/{program-2W4J47LM.js → program-INCGQV4G.js} +1334 -857
  86. package/dist/bundle/{prompt-STNX6JL7.js → prompt-TBZT3APW.js} +5 -5
  87. package/dist/bundle/{recognize-2XWWTN6Y.js → recognize-WQSE5ZPL.js} +4 -4
  88. package/dist/bundle/{remote-OIC32DKQ.js → remote-J5HHRNVQ.js} +7 -7
  89. package/dist/bundle/{rerank-IFTSO576.js → rerank-DP2Y3WDT.js} +7 -7
  90. package/dist/bundle/{serve-P2D2AJAU.js → serve-VXPOQDQO.js} +9 -9
  91. package/dist/bundle/{server-DFEJBMXO.js → server-OSBNGA2F.js} +37 -38
  92. package/dist/bundle/server-XHWSCXVX.js +62 -0
  93. package/dist/bundle/{sqlite-runtime-DD4Y35DQ.js → sqlite-runtime-XY32WOIT.js} +5 -5
  94. package/dist/bundle/{state-XUSQMIKJ.js → state-KPOPMR6O.js} +6 -6
  95. package/dist/bundle/{store-T3PKOLER.js → store-FWRGNGP3.js} +25 -17
  96. package/dist/bundle/{store-EQC5DKSY.js → store-UBI2YCRC.js} +13 -13
  97. package/dist/bundle/store-maintenance-command-3ZXPEIGF.js +52 -0
  98. package/dist/commands/login.d.ts.map +1 -1
  99. package/dist/commands/login.js +2 -1
  100. package/dist/commands/login.js.map +1 -1
  101. package/dist/commands/session-start.d.ts.map +1 -1
  102. package/dist/commands/session-start.js +3 -3
  103. package/dist/commands/session-start.js.map +1 -1
  104. package/dist/commands/sync.d.ts.map +1 -1
  105. package/dist/commands/sync.js +22 -7
  106. package/dist/commands/sync.js.map +1 -1
  107. package/dist/config.d.ts +6 -0
  108. package/dist/config.d.ts.map +1 -1
  109. package/dist/mail/imap/connection.d.ts.map +1 -1
  110. package/dist/mail/imap/connection.js +6 -4
  111. package/dist/mail/imap/connection.js.map +1 -1
  112. package/dist/mail/imap/errors.d.ts +7 -0
  113. package/dist/mail/imap/errors.d.ts.map +1 -1
  114. package/dist/mail/imap/errors.js +8 -4
  115. package/dist/mail/imap/errors.js.map +1 -1
  116. package/dist/mail/imap/read.d.ts.map +1 -1
  117. package/dist/mail/imap/read.js +36 -20
  118. package/dist/mail/imap/read.js.map +1 -1
  119. package/dist/mail/imap/search.d.ts +7 -2
  120. package/dist/mail/imap/search.d.ts.map +1 -1
  121. package/dist/mail/imap/search.js +13 -7
  122. package/dist/mail/imap/search.js.map +1 -1
  123. package/dist/mail/imap/write.d.ts.map +1 -1
  124. package/dist/mail/imap/write.js +2 -1
  125. package/dist/mail/imap/write.js.map +1 -1
  126. package/dist/mail/organise.d.ts.map +1 -1
  127. package/dist/mail/organise.js +92 -87
  128. package/dist/mail/organise.js.map +1 -1
  129. package/dist/mail/send.d.ts.map +1 -1
  130. package/dist/mail/send.js +26 -5
  131. package/dist/mail/send.js.map +1 -1
  132. package/dist/oauth.d.ts +0 -3
  133. package/dist/oauth.d.ts.map +1 -1
  134. package/dist/oauth.js +2 -33
  135. package/dist/oauth.js.map +1 -1
  136. package/dist/providers.d.ts.map +1 -1
  137. package/dist/providers.js +2 -1
  138. package/dist/providers.js.map +1 -1
  139. package/dist/reasons.d.ts.map +1 -1
  140. package/dist/reasons.js +0 -3
  141. package/dist/reasons.js.map +1 -1
  142. package/dist/version.d.ts +1 -1
  143. package/dist/version.d.ts.map +1 -1
  144. package/dist/version.js +1 -1
  145. package/dist/version.js.map +1 -1
  146. package/package.json +3 -3
  147. package/skills/mail-cli/SKILL.md +1 -0
  148. package/dist/bundle/chunk-EVG7MOAH.js +0 -3604
  149. package/dist/bundle/command-contract-T3H5CAX3.js +0 -34
  150. package/dist/bundle/first-screen-IJJZJP6Q.js +0 -32
  151. package/dist/bundle/server-6D7W5Q4A.js +0 -63
  152. package/dist/bundle/store-maintenance-command-7YQZXE4V.js +0 -52
  153. /package/dist/bundle/{chunk-EKRM2QJB.js → chunk-MRLSUCHT.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.11.0 — 02.11.2026
6
+
7
+ ### Added
8
+
9
+ - **A guide to connect Outlook.com or Microsoft 365** ([docs/outlook.md](docs/outlook.md)): turn IMAP on, sign in
10
+ through the browser, sync and send, and what to do when the token is refused or an admin must allow the app.
11
+
12
+ ## 0.10.0 — 02.11.2026
13
+
14
+ ### Changed — may break callers
15
+
16
+ - **`search messages` says `search.server-partial`, not `search.server-too-large`.** It downloads the first 256 KiB of
17
+ each message the server finds and stores a bigger one with its text and without its attachments; the next `sync`
18
+ reads it whole. Before, a candidate over 5 MB was left on the server and a smaller one was downloaded with all its
19
+ attachments. A script that matched `search.server-too-large` matches `search.server-partial` instead.
20
+ - **After `messages send`, `stored` is true only when this message is in the store**, not when any other mail of the
21
+ last 10 minutes was. A caller that read `stored: true` as "some mail was synced" reads it now as "this message is
22
+ stored".
23
+ - **`mail.search-refused` is cli-core's reason now** (cli-core 0.550.0); the reason, its code and its message are
24
+ the same.
25
+
26
+ ### Added
27
+
28
+ - **`--compact` answers one line per item** (cli-base 0.74.0). mail now needs `@wirecat/cli-core` 0.550.0 and
29
+ `@wirecat/cli-base` 0.74.0.
30
+ - **`sync` says what became of the emails a search stored text-first**: `partial_emails` with `completed` (read whole
31
+ this run), `left` (waiting for a later run) and `stuck` (given up on: the server no longer gives them where they
32
+ were stored). It is absent when there are none.
33
+
34
+ ### Fixed
35
+
36
+ - **A Microsoft sign-in whose new token the mail server refuses says how to turn IMAP on.** On Outlook.com IMAP is
37
+ off by default; the error now names the switch (Settings, "Mail", "Forwarding and IMAP", "Let devices and apps use
38
+ IMAP") and no longer claims a refresh was tried. The answer carries the server's response code as `cause_code`, never
39
+ its text.
40
+ - **A server that refuses SEARCH no longer looks like an empty folder.** `sync` leaves that folder unread and reads
41
+ the rest: the answer is partial, names it in `refused_folders` with a `mail.search-refused` issue, and nothing of it
42
+ is marked deleted. `messages move`, `copy`, `delete`, `restore` and `drafts` stop with `mail.search-refused`
43
+ instead of acting on nothing (cli-core).
44
+ - **On Gmail, an email a search stored text-first is read whole by the next `sync`.** It was never completed there:
45
+ mail worked out its id from the Message-ID, and Gmail's mail is stored under its X-GM-MSGID, so every sync downloaded
46
+ the whole message again and threw it away. `fetchRaw` now reads Gmail's ids beside the bytes.
47
+ - **An email a search stored text-first is no longer downloaded whole on every sync when the server no longer gives
48
+ it.** It is read under the UIDVALIDITY it was stored with, and given up on after three failed tries, or at once when
49
+ its place holds another message; it no longer holds back newer ones (cli-core).
50
+ - **A search no longer stores a text-first copy over an email a sync in another process stored whole meanwhile**,
51
+ which dropped its attachments (cli-core).
52
+ - **The reader of your own Google `--client-file` and the browser opener come from `@wirecat/cli-core` 0.546.0**, not
53
+ copies in mail. The file shapes, the `chmod 600` check and the errors are unchanged.
54
+
5
55
  ## 0.9.0 — 02.11.2026
6
56
 
7
57
  ### Added
package/README.md CHANGED
@@ -110,8 +110,8 @@ profiles.
110
110
  it does not know, `session start` looks for the server through the MX record, Thunderbird's ISPDB and the domain's
111
111
  autoconfig file; `--provider` or `--host` skips that. Outlook.com and Microsoft 365 accept only OAuth, so for them
112
112
  `session start` opens Microsoft's sign-in page in the browser instead of asking for a password, and keeps the tokens in
113
- the same keyring. Until WireCat's Microsoft app is registered, this needs an app of your own, set once with
114
- `mail config set --defaults microsoft_client_id <id>` ([register a Microsoft app](https://github.com/WireCatLabs/mail-cli/blob/main/docs/oauth-microsoft.md)).
113
+ the same keyring. WireCat's Microsoft app is built in
114
+ ([connect Outlook.com or Microsoft 365](https://github.com/WireCatLabs/mail-cli/blob/main/docs/outlook.md)).
115
115
 
116
116
  ## Settings and permissions
117
117
 
@@ -138,7 +138,7 @@ mail ya config show # every setting and where it came
138
138
  - Search reads the store and asks the mail server for mail `sync` has not read yet; `--backend archive` keeps to
139
139
  the store.
140
140
 
141
- What comes next, such as OAuth sign-in, is on the
141
+ What comes next is on the
142
142
  [roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md).
143
143
 
144
144
  ## Security
@@ -169,7 +169,7 @@ See [when something goes wrong](https://github.com/WireCatLabs/mail-cli/blob/mai
169
169
  | Section | Pages |
170
170
  |---|---|
171
171
  | Start | [overview](https://github.com/WireCatLabs/mail-cli/blob/main/docs/index.md) · [install](https://github.com/WireCatLabs/mail-cli/blob/main/docs/installation.md) |
172
- | Guides | [use it](https://github.com/WireCatLabs/mail-cli/blob/main/docs/usage.md) · [prepare the mailbox](https://github.com/WireCatLabs/mail-cli/blob/main/docs/providers.md) |
172
+ | Guides | [use it](https://github.com/WireCatLabs/mail-cli/blob/main/docs/usage.md) · [prepare the mailbox](https://github.com/WireCatLabs/mail-cli/blob/main/docs/providers.md) · [connect Outlook](https://github.com/WireCatLabs/mail-cli/blob/main/docs/outlook.md) |
173
173
  | Reference | [all commands](https://github.com/WireCatLabs/mail-cli/blob/main/docs/commands.md) · [settings](https://github.com/WireCatLabs/mail-cli/blob/main/docs/configuration.md) |
174
174
  | When something goes wrong | [troubleshooting](https://github.com/WireCatLabs/mail-cli/blob/main/docs/troubleshooting.md) · [security](https://github.com/WireCatLabs/mail-cli/blob/main/docs/security.md) |
175
175
  | Project | [roadmap](https://github.com/WireCatLabs/mail-cli/blob/main/docs/roadmap.md) · [changelog](https://github.com/WireCatLabs/mail-cli/blob/main/CHANGELOG.md) |
package/dist/bin/mail.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.9.0\n")
12
+ process.stdout.write("0.11.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -29,7 +29,7 @@ if (
29
29
  })
30
30
  }
31
31
  const running = import("../bundle/mail.js")
32
- const chunks = ["../bundle/all-profiles-X6ROLLMF.js","../bundle/anthropic-MPARKCMJ.js","../bundle/app-server-JQ5XCXWT.js","../bundle/bun-H7LT5433.js","../bundle/bun-sqlite-AGK2BHAN.js","../bundle/decode-ZATANRER.js","../bundle/dispatch-5C6XNGEE.js","../bundle/dist-HFUVURJG.js","../bundle/dist-JN22LNLZ.js","../bundle/echarts-WKTVUY3O.js","../bundle/embed-AVKPYK4V.js","../bundle/embedder-PSV2E5TR.js","../bundle/failure-YRGRZBTX.js","../bundle/first-screen-IJJZJP6Q.js","../bundle/instructions-W5SJW23S.js","../bundle/mcp-B25MZCS7.js","../bundle/node-BHBFRH6H.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7FHC3W5U.js","../bundle/oauth-ORPM6FLL.js","../bundle/open-AY5KLPWO.js","../bundle/openai-U7VALRI7.js","../bundle/process-7AWARSC5.js","../bundle/program-2W4J47LM.js","../bundle/prompt-STNX6JL7.js","../bundle/recognize-2XWWTN6Y.js","../bundle/remote-OIC32DKQ.js","../bundle/rerank-IFTSO576.js","../bundle/serve-P2D2AJAU.js","../bundle/server-6D7W5Q4A.js","../bundle/server-DFEJBMXO.js","../bundle/sqlite-runtime-DD4Y35DQ.js","../bundle/state-XUSQMIKJ.js","../bundle/store-EQC5DKSY.js","../bundle/store-T3PKOLER.js","../bundle/store-maintenance-command-7YQZXE4V.js"]
32
+ const chunks = ["../bundle/all-profiles-OJPRIFKU.js","../bundle/anthropic-3AXHD4WH.js","../bundle/app-server-V4KHCUGE.js","../bundle/bun-ISYNUTQJ.js","../bundle/bun-sqlite-FH3D4AXL.js","../bundle/decode-FM4C2WWG.js","../bundle/dispatch-K3HG4RYT.js","../bundle/dist-7LNVI7VB.js","../bundle/dist-HFUVURJG.js","../bundle/echarts-5C2A72XM.js","../bundle/embed-N56P6YVY.js","../bundle/embedder-QLYKFLOL.js","../bundle/failure-5ZLVZTRU.js","../bundle/first-screen-ZN7ODW5K.js","../bundle/instructions-QA5FHDOJ.js","../bundle/mcp-LO2XDBBC.js","../bundle/node-KM3CUABH.js","../bundle/node-OXJZWUYZ.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7GCEI67B.js","../bundle/oauth-VTPIYBTP.js","../bundle/open-7XX3YF2X.js","../bundle/openai-D3KRCXSY.js","../bundle/process-KFI7SXQD.js","../bundle/program-INCGQV4G.js","../bundle/prompt-TBZT3APW.js","../bundle/recognize-WQSE5ZPL.js","../bundle/remote-J5HHRNVQ.js","../bundle/rerank-DP2Y3WDT.js","../bundle/serve-VXPOQDQO.js","../bundle/server-OSBNGA2F.js","../bundle/server-XHWSCXVX.js","../bundle/sqlite-runtime-XY32WOIT.js","../bundle/state-KPOPMR6O.js","../bundle/store-FWRGNGP3.js","../bundle/store-UBI2YCRC.js","../bundle/store-maintenance-command-3ZXPEIGF.js"]
33
33
  // After the server answers its first request, so it starts no later.
34
34
  if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
35
35
  await running
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-U6BDAY55.js";
5
+ } from "./chunk-4D52FA34.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-2FDROA4Q.js";
12
+ } from "./chunk-G2WDY5XB.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-M55XFZMG.js";
17
- import "./chunk-EKRM2QJB.js";
18
- import "./chunk-ZISFMUYB.js";
19
- import "./chunk-NAIJNJZZ.js";
16
+ import "./chunk-SW5NVASW.js";
17
+ import "./chunk-MRLSUCHT.js";
18
+ import "./chunk-JAWJZTFL.js";
19
+ import "./chunk-NSDOYHIS.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-L3KMVMRJ.js";
21
+ import "./chunk-4DPICEPQ.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
27
27
  import { spawn } from "node:child_process";
28
28
  import { randomUUID } from "node:crypto";
29
29
  var PROTOCOL = "2025-06-18";
@@ -257,7 +257,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
257
257
  }, "serveAllProfilesOverStdio");
258
258
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
259
259
  const { build, close } = allProfilesServer(options);
260
- const { serveOverHttp } = await import("./serve-P2D2AJAU.js");
260
+ const { serveOverHttp } = await import("./serve-VXPOQDQO.js");
261
261
  const listening = await serveOverHttp(build, {
262
262
  ...http,
263
263
  appName: options.command,
@@ -5,25 +5,25 @@ import {
5
5
  } from "./chunk-XQUUANA2.js";
6
6
  import {
7
7
  checkedOptions
8
- } from "./chunk-SUB4DRMA.js";
8
+ } from "./chunk-S64N24ON.js";
9
9
  import {
10
10
  messagesFor,
11
11
  systemFor
12
- } from "./chunk-VOGSDGVL.js";
13
- import "./chunk-ZISFMUYB.js";
12
+ } from "./chunk-OHC4GVWV.js";
13
+ import "./chunk-JAWJZTFL.js";
14
14
  import {
15
15
  array,
16
16
  optional,
17
17
  strictObject,
18
18
  string
19
- } from "./chunk-NAIJNJZZ.js";
19
+ } from "./chunk-NSDOYHIS.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-L3KMVMRJ.js";
21
+ import "./chunk-4DPICEPQ.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/models/anthropic.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/models/anthropic.js
27
27
  var options = strictObject({
28
28
  stop_sequences: optional(array(string()))
29
29
  });
@@ -3,43 +3,42 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-OZGDPG6I.js";
6
+ } from "./chunk-KJP2B65C.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-J4MY3QIN.js";
13
+ } from "./chunk-F3QDSQ7V.js";
14
14
  import {
15
15
  mcpUrlOf
16
- } from "./chunk-FUDHVV4R.js";
16
+ } from "./chunk-UDJIC6YL.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-PTDJXPXG.js";
21
- import "./chunk-JYVZDJNO.js";
20
+ } from "./chunk-NBQQ2ZTF.js";
21
+ import "./chunk-TTKNBUMT.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-CHK3V7FG.js";
24
+ } from "./chunk-HVVLSCFB.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-U6BDAY55.js";
27
+ } from "./chunk-4D52FA34.js";
28
28
  import {
29
29
  StdioServerTransport,
30
30
  serveStdio
31
- } from "./chunk-2FDROA4Q.js";
31
+ } from "./chunk-G2WDY5XB.js";
32
32
  import {
33
33
  McpServer
34
34
  } from "./chunk-5D4AEUVA.js";
35
- import "./chunk-KWHFDVAF.js";
36
- import "./chunk-N6YA4OQI.js";
37
- import "./chunk-TVZFDVZP.js";
38
- import "./chunk-K3RWO7LR.js";
39
- import "./chunk-VOGSDGVL.js";
40
- import "./chunk-JZMPDFM4.js";
41
- import "./chunk-6FBBDIX6.js";
42
- import "./chunk-EVG7MOAH.js";
35
+ import "./chunk-GAIVTJ3E.js";
36
+ import "./chunk-SYBMOE6F.js";
37
+ import "./chunk-IXYKM7OJ.js";
38
+ import "./chunk-N6P55LDU.js";
39
+ import "./chunk-OHC4GVWV.js";
40
+ import "./chunk-L3PVAY3M.js";
41
+ import "./chunk-4GPPRLIG.js";
43
42
  import {
44
43
  DEFAULT_OUTPUT_BYTES,
45
44
  changesAuthorityAt,
@@ -49,47 +48,47 @@ import {
49
48
  readOnlyLockOf,
50
49
  readsOverMcpAt,
51
50
  rootOf2 as rootOf
52
- } from "./chunk-Z3TZTOR2.js";
53
- import "./chunk-SEL7SJCM.js";
54
- import "./chunk-M55XFZMG.js";
55
- import "./chunk-5PWKPRTD.js";
56
- import "./chunk-ROZBXOES.js";
57
- import "./chunk-65SVO3T7.js";
51
+ } from "./chunk-T3AGR4TI.js";
52
+ import "./chunk-AJ4JS2ZR.js";
53
+ import "./chunk-SW5NVASW.js";
54
+ import "./chunk-XTIQFMZH.js";
55
+ import "./chunk-TZGQPTZ2.js";
56
+ import "./chunk-VEXXVLBM.js";
58
57
  import {
59
58
  mcpHttpMarker
60
- } from "./chunk-YLSV3WOO.js";
61
- import "./chunk-RGM66WZ3.js";
62
- import "./chunk-UHBCL66Y.js";
63
- import "./chunk-PXQ7A5HQ.js";
64
- import "./chunk-HWLAV2HM.js";
65
- import "./chunk-GPCKNZIA.js";
66
- import "./chunk-24MHYGNE.js";
67
- import "./chunk-TKFQ3GNY.js";
68
- import "./chunk-DQHAXX33.js";
69
- import "./chunk-EUJTQY43.js";
70
- import "./chunk-4EFKQXA5.js";
71
- import "./chunk-QO4K6R7K.js";
72
- import "./chunk-25N52S7U.js";
73
- import "./chunk-3W6VSSQQ.js";
74
- import "./chunk-DLB2JPLU.js";
75
- import "./chunk-EKRM2QJB.js";
59
+ } from "./chunk-GYNHU56E.js";
60
+ import "./chunk-BYQ3Z6UL.js";
61
+ import "./chunk-44LVUMS2.js";
62
+ import "./chunk-6UT3MXOB.js";
63
+ import "./chunk-6QNPJSRM.js";
64
+ import "./chunk-6LNRNQHJ.js";
65
+ import "./chunk-V6K2GX2Y.js";
66
+ import "./chunk-YDUES6ET.js";
67
+ import "./chunk-IWHXM2S7.js";
68
+ import "./chunk-YRZ23RCS.js";
69
+ import "./chunk-LXHLQ6RK.js";
70
+ import "./chunk-KVN4RY7E.js";
71
+ import "./chunk-IG2WXKIT.js";
72
+ import "./chunk-PLPSFJO6.js";
73
+ import "./chunk-MDIRW3AT.js";
74
+ import "./chunk-JNUKTAMZ.js";
75
+ import "./chunk-MRLSUCHT.js";
76
76
  import "./chunk-D72URWJE.js";
77
- import "./chunk-3LMWAO6A.js";
78
- import "./chunk-PC3AFEEA.js";
79
- import "./chunk-HZ42NO25.js";
80
- import "./chunk-ZISFMUYB.js";
77
+ import "./chunk-K2F7YMMM.js";
78
+ import "./chunk-JAWJZTFL.js";
81
79
  import {
82
80
  mcpErrorResult
83
- } from "./chunk-NAIJNJZZ.js";
81
+ } from "./chunk-NSDOYHIS.js";
84
82
  import "./chunk-Y5E2WNWB.js";
85
83
  import {
86
84
  CliError
87
- } from "./chunk-L3KMVMRJ.js";
85
+ } from "./chunk-4DPICEPQ.js";
86
+ import "./chunk-PSXAC6OO.js";
88
87
  import {
89
88
  __name
90
89
  } from "./chunk-ZVVMGPBJ.js";
91
90
 
92
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
91
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
93
92
  var EXCLUDED = [["mcp"]];
94
93
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
95
94
  const { app } = options;
@@ -204,7 +203,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
204
203
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
205
204
  const { app } = options;
206
205
  const { build } = createAppServer(command, context, options);
207
- const { serveOverHttp } = await import("./serve-P2D2AJAU.js");
206
+ const { serveOverHttp } = await import("./serve-VXPOQDQO.js");
208
207
  const listening = await serveOverHttp(build, {
209
208
  ...http,
210
209
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-3W6VSSQQ.js";
21
+ } from "./chunk-PSXAC6OO.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/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-5NYUCY5W.js";
7
- import "./chunk-ZISFMUYB.js";
8
- import "./chunk-NAIJNJZZ.js";
6
+ } from "./chunk-35Y3INBK.js";
7
+ import "./chunk-JAWJZTFL.js";
8
+ import "./chunk-NSDOYHIS.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-L3KMVMRJ.js";
12
+ import "./chunk-4DPICEPQ.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/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 {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-25N52S7U.js";
6
+ } from "./chunk-K2F7YMMM.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-L3KMVMRJ.js";
8
+ } from "./chunk-4DPICEPQ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/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) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -38,7 +38,7 @@ var CliError = class extends Error {
38
38
  };
39
39
  var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
40
40
 
41
- // node_modules/.pnpm/@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
41
+ // node_modules/.pnpm/@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
42
42
  var CONTROL = (
43
43
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
44
44
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -1,58 +1,26 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- ENTITIES
5
- } from "./chunk-EVG7MOAH.js";
6
- import {
7
- annotate,
4
+ answerEntitySchema,
5
+ answerProjectionSchema,
8
6
  answerSchema,
9
7
  describeOptions,
10
8
  metaOf
11
- } from "./chunk-Z3TZTOR2.js";
9
+ } from "./chunk-T3AGR4TI.js";
12
10
  import {
13
11
  keyForCommand
14
- } from "./chunk-SEL7SJCM.js";
12
+ } from "./chunk-AJ4JS2ZR.js";
15
13
  import {
16
14
  jsonSchemaOf
17
- } from "./chunk-NAIJNJZZ.js";
15
+ } from "./chunk-NSDOYHIS.js";
18
16
  import {
19
17
  CliError
20
- } from "./chunk-L3KMVMRJ.js";
18
+ } from "./chunk-4DPICEPQ.js";
21
19
  import {
22
20
  __name
23
21
  } from "./chunk-ZVVMGPBJ.js";
24
22
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
26
- var schemas = /* @__PURE__ */ new WeakMap();
27
- var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
28
- if (Object.hasOwn(ENTITIES, name))
29
- throw new Error(`${name} is a shared entity; use its existing schema`);
30
- if (!/^[a-z][a-z0-9_]*$/.test(name))
31
- throw new Error("an answer entity needs a lowercase name");
32
- if (!("entries" in schema) && schema.type !== "union")
33
- throw new Error("an answer entity needs an object schema or a union of object schemas");
34
- if (options.project && !("entries" in options.project) && options.project.type !== "union")
35
- throw new Error("projection needs an object schema or a union of object schemas");
36
- schemas.set(command, { name, schema, ...options });
37
- return annotate(command, { output: { entity: name } });
38
- }, "answerEntity");
39
- var answerEntitySchema = /* @__PURE__ */ __name((command) => {
40
- const output = command && metaOf(command).output;
41
- if (!output)
42
- return void 0;
43
- const name = output.view ? `${output.entity}.${output.view}` : output.entity;
44
- const shared = ENTITIES[name];
45
- if (shared)
46
- return shared;
47
- const own = schemas.get(command);
48
- return own?.name === name ? own.schema : void 0;
49
- }, "answerEntitySchema");
50
- var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
51
- const own = command && schemas.get(command);
52
- return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
53
- }, "answerProjectionSchema");
54
-
55
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
56
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
57
25
  var outputOf = /* @__PURE__ */ __name((command) => {
58
26
  const entity = answerEntitySchema(command);
@@ -157,9 +125,6 @@ var commandContract = /* @__PURE__ */ __name((command) => {
157
125
  }, "commandContract");
158
126
 
159
127
  export {
160
- answerEntity,
161
- answerEntitySchema,
162
- answerProjectionSchema,
163
128
  SCHEMA_DIALECT,
164
129
  outputOf,
165
130
  commandPathOf,
@@ -4,7 +4,7 @@ import {
4
4
  commandPathOf,
5
5
  findCommand,
6
6
  outputOf
7
- } from "./chunk-6FBBDIX6.js";
7
+ } from "./chunk-4GPPRLIG.js";
8
8
  import {
9
9
  wrapAnsi
10
10
  } from "./chunk-HTQTIKWP.js";
@@ -18,18 +18,18 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-Z3TZTOR2.js";
21
+ } from "./chunk-T3AGR4TI.js";
22
22
  import {
23
23
  writes
24
- } from "./chunk-NAIJNJZZ.js";
24
+ } from "./chunk-NSDOYHIS.js";
25
25
  import {
26
26
  CliError
27
- } from "./chunk-L3KMVMRJ.js";
27
+ } from "./chunk-4DPICEPQ.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -90,7 +90,7 @@ var CORE_SECTIONS = {
90
90
  upgrade: "setup"
91
91
  };
92
92
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
94
94
  var DESCRIPTION = 90;
95
95
  var COLUMN = 52;
96
96
  var short = /* @__PURE__ */ __name((text) => {
@@ -129,7 +129,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
129
129
  `;
130
130
  }, "commandsText");
131
131
 
132
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
133
133
  var ARGUMENT_KINDS = {
134
134
  chat: "chat",
135
135
  chats: "chat",
@@ -321,7 +321,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
321
321
  command.addHelpText("after", () => commandHelpText(command));
322
322
  }, "installCommandHelp");
323
323
 
324
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
325
325
  var WIRECAT_TOOLS = [
326
326
  {
327
327
  command: "tg",
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-HZ42NO25.js";
5
+ } from "./chunk-MDIRW3AT.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-L3KMVMRJ.js";
8
+ } from "./chunk-4DPICEPQ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -135,7 +135,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
135
135
  return model;
136
136
  }, "speechModel");
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/speech/install.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.550.0_@wirecat+cli-base@0.74.0_commander@15.0.0_esbuild@0.28.2_type_14b809de162f39c654f85ad24a8cdf95/node_modules/@wirecat/cli-core/dist/speech/install.js
139
139
  import { createHash, randomUUID } from "node:crypto";
140
140
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
141
141
  import { rename, rm } from "node:fs/promises";