@wirecat/mail-cli 0.9.0 → 0.10.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 (151) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-X6ROLLMF.js → all-profiles-OJPRIFKU.js} +9 -9
  4. package/dist/bundle/{anthropic-MPARKCMJ.js → anthropic-3AXHD4WH.js} +6 -6
  5. package/dist/bundle/{app-server-JQ5XCXWT.js → app-server-V4KHCUGE.js} +45 -46
  6. package/dist/bundle/{bun-H7LT5433.js → bun-ISYNUTQJ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-AGK2BHAN.js → bun-sqlite-FH3D4AXL.js} +5 -5
  8. package/dist/bundle/{chunk-IYC3IHEZ.js → chunk-2TTCKOQ7.js} +2 -2
  9. package/dist/bundle/{chunk-5NYUCY5W.js → chunk-35Y3INBK.js} +2 -2
  10. package/dist/bundle/{chunk-UHBCL66Y.js → chunk-44LVUMS2.js} +1 -1
  11. package/dist/bundle/{chunk-U6BDAY55.js → chunk-4D52FA34.js} +1 -1
  12. package/dist/bundle/{chunk-L3KMVMRJ.js → chunk-4DPICEPQ.js} +2 -2
  13. package/dist/bundle/{chunk-6FBBDIX6.js → chunk-4GPPRLIG.js} +7 -42
  14. package/dist/bundle/{chunk-BNPCRWZ6.js → chunk-5TACUBRJ.js} +8 -8
  15. package/dist/bundle/{chunk-PC3AFEEA.js → chunk-6LNRNQHJ.js} +4 -4
  16. package/dist/bundle/{chunk-3LMWAO6A.js → chunk-6QNPJSRM.js} +6 -6
  17. package/dist/bundle/{chunk-PXQ7A5HQ.js → chunk-6UT3MXOB.js} +3 -3
  18. package/dist/bundle/{chunk-SEL7SJCM.js → chunk-AJ4JS2ZR.js} +36 -11
  19. package/dist/bundle/{chunk-RGM66WZ3.js → chunk-BYQ3Z6UL.js} +3 -3
  20. package/dist/bundle/{chunk-FEA5E7WQ.js → chunk-DN54W657.js} +2 -2
  21. package/dist/bundle/{chunk-J4MY3QIN.js → chunk-F3QDSQ7V.js} +34 -28
  22. package/dist/bundle/{chunk-YXQIZORE.js → chunk-FYMQPAE5.js} +4 -4
  23. package/dist/bundle/{chunk-2FDROA4Q.js → chunk-G2WDY5XB.js} +2 -2
  24. package/dist/bundle/{chunk-KWHFDVAF.js → chunk-GAIVTJ3E.js} +121 -32
  25. package/dist/bundle/{chunk-INVEYTAL.js → chunk-GFCNSU3B.js} +48 -48
  26. package/dist/bundle/{chunk-SYFBRZ5F.js → chunk-GUFWLTOW.js} +2 -2
  27. package/dist/bundle/{chunk-YLSV3WOO.js → chunk-GYNHU56E.js} +4 -4
  28. package/dist/bundle/{chunk-CHK3V7FG.js → chunk-HVVLSCFB.js} +1 -1
  29. package/dist/bundle/{chunk-4EFKQXA5.js → chunk-IG2WXKIT.js} +8 -8
  30. package/dist/bundle/{chunk-24MHYGNE.js → chunk-IWHXM2S7.js} +1620 -671
  31. package/dist/bundle/{chunk-TVZFDVZP.js → chunk-IXYKM7OJ.js} +13 -13
  32. package/dist/bundle/{chunk-ZISFMUYB.js → chunk-JAWJZTFL.js} +18 -18
  33. package/dist/bundle/{chunk-PEF637VV.js → chunk-JIIEJLAX.js} +4 -4
  34. package/dist/bundle/{chunk-DLB2JPLU.js → chunk-JNUKTAMZ.js} +1 -1
  35. package/dist/bundle/{chunk-25N52S7U.js → chunk-K2F7YMMM.js} +6 -6
  36. package/dist/bundle/{chunk-OZGDPG6I.js → chunk-KJP2B65C.js} +30 -30
  37. package/dist/bundle/{chunk-3Y7H3CXI.js → chunk-KQXLRAHT.js} +2 -5
  38. package/dist/bundle/{chunk-EUJTQY43.js → chunk-KVN4RY7E.js} +52 -53
  39. package/dist/bundle/{chunk-JZMPDFM4.js → chunk-L3PVAY3M.js} +2 -2
  40. package/dist/bundle/{chunk-64FN5JK6.js → chunk-LIQ5LICB.js} +3 -3
  41. package/dist/bundle/{chunk-DQHAXX33.js → chunk-LXHLQ6RK.js} +7 -7
  42. package/dist/bundle/{chunk-HZ42NO25.js → chunk-MDIRW3AT.js} +2 -2
  43. package/dist/bundle/{chunk-K3RWO7LR.js → chunk-N6P55LDU.js} +84 -8
  44. package/dist/bundle/{chunk-PTDJXPXG.js → chunk-NBQQ2ZTF.js} +19 -14
  45. package/dist/bundle/{chunk-NAIJNJZZ.js → chunk-NSDOYHIS.js} +10 -8
  46. package/dist/bundle/{chunk-VOGSDGVL.js → chunk-OHC4GVWV.js} +2 -2
  47. package/dist/bundle/{chunk-QO4K6R7K.js → chunk-PLPSFJO6.js} +6 -6
  48. package/dist/bundle/{chunk-3W6VSSQQ.js → chunk-PSXAC6OO.js} +1 -1
  49. package/dist/bundle/{chunk-4MIC7S7B.js → chunk-QB54TE52.js} +1 -1
  50. package/dist/bundle/{chunk-QXXBDW6N.js → chunk-QPQSMJBW.js} +10 -10
  51. package/dist/bundle/{chunk-SUB4DRMA.js → chunk-S64N24ON.js} +3 -3
  52. package/dist/bundle/{chunk-M55XFZMG.js → chunk-SW5NVASW.js} +9 -9
  53. package/dist/bundle/{chunk-N6YA4OQI.js → chunk-SYBMOE6F.js} +865 -838
  54. package/dist/bundle/{chunk-Z3TZTOR2.js → chunk-T3AGR4TI.js} +4840 -894
  55. package/dist/bundle/{chunk-JYVZDJNO.js → chunk-TTKNBUMT.js} +45 -5
  56. package/dist/bundle/{chunk-ROZBXOES.js → chunk-TZGQPTZ2.js} +1 -1
  57. package/dist/bundle/{chunk-FUDHVV4R.js → chunk-UDJIC6YL.js} +67 -30
  58. package/dist/bundle/{chunk-HWLAV2HM.js → chunk-V6K2GX2Y.js} +17 -17
  59. package/dist/bundle/{chunk-65SVO3T7.js → chunk-VEXXVLBM.js} +3 -3
  60. package/dist/bundle/{chunk-NTWORG4T.js → chunk-WL7CYT7O.js} +1 -1
  61. package/dist/bundle/{chunk-DL32PWLR.js → chunk-X37KLD23.js} +14 -14
  62. package/dist/bundle/{chunk-5PWKPRTD.js → chunk-XTIQFMZH.js} +4 -4
  63. package/dist/bundle/{chunk-GPCKNZIA.js → chunk-YDUES6ET.js} +4 -4
  64. package/dist/bundle/{chunk-TKFQ3GNY.js → chunk-YRZ23RCS.js} +164 -59
  65. package/dist/bundle/command-contract-TW44FY47.js +33 -0
  66. package/dist/bundle/{decode-ZATANRER.js → decode-FM4C2WWG.js} +5 -5
  67. package/dist/bundle/{dispatch-5C6XNGEE.js → dispatch-K3HG4RYT.js} +8 -8
  68. package/dist/bundle/{dist-JN22LNLZ.js → dist-7LNVI7VB.js} +17 -13
  69. package/dist/bundle/{echarts-WKTVUY3O.js → echarts-5C2A72XM.js} +2 -2
  70. package/dist/bundle/{embed-AVKPYK4V.js → embed-N56P6YVY.js} +6 -6
  71. package/dist/bundle/{embedder-PSV2E5TR.js → embedder-QLYKFLOL.js} +9 -9
  72. package/dist/bundle/{failure-YRGRZBTX.js → failure-5ZLVZTRU.js} +2 -2
  73. package/dist/bundle/{first-run-YN4SF5RZ.js → first-run-VMF4PJ7Q.js} +11 -11
  74. package/dist/bundle/first-screen-ZN7ODW5K.js +31 -0
  75. package/dist/bundle/{instructions-W5SJW23S.js → instructions-QA5FHDOJ.js} +1 -1
  76. package/dist/bundle/mail.js +12 -12
  77. package/dist/bundle/{mcp-B25MZCS7.js → mcp-LO2XDBBC.js} +2 -2
  78. package/dist/bundle/{node-BHBFRH6H.js → node-OXJZWUYZ.js} +2 -2
  79. package/dist/bundle/{node-sqlite-7FHC3W5U.js → node-sqlite-7GCEI67B.js} +5 -5
  80. package/dist/bundle/{oauth-ORPM6FLL.js → oauth-VTPIYBTP.js} +7 -7
  81. package/dist/bundle/{open-AY5KLPWO.js → open-7XX3YF2X.js} +4 -4
  82. package/dist/bundle/{openai-U7VALRI7.js → openai-D3KRCXSY.js} +14 -14
  83. package/dist/bundle/{process-7AWARSC5.js → process-KFI7SXQD.js} +1 -1
  84. package/dist/bundle/{program-2W4J47LM.js → program-OJUWUHHC.js} +1334 -857
  85. package/dist/bundle/{prompt-STNX6JL7.js → prompt-TBZT3APW.js} +5 -5
  86. package/dist/bundle/{recognize-2XWWTN6Y.js → recognize-WQSE5ZPL.js} +4 -4
  87. package/dist/bundle/{remote-OIC32DKQ.js → remote-J5HHRNVQ.js} +7 -7
  88. package/dist/bundle/{rerank-IFTSO576.js → rerank-DP2Y3WDT.js} +7 -7
  89. package/dist/bundle/{serve-P2D2AJAU.js → serve-VXPOQDQO.js} +9 -9
  90. package/dist/bundle/{server-DFEJBMXO.js → server-OSBNGA2F.js} +37 -38
  91. package/dist/bundle/server-XHWSCXVX.js +62 -0
  92. package/dist/bundle/{sqlite-runtime-DD4Y35DQ.js → sqlite-runtime-XY32WOIT.js} +5 -5
  93. package/dist/bundle/{state-XUSQMIKJ.js → state-KPOPMR6O.js} +6 -6
  94. package/dist/bundle/{store-T3PKOLER.js → store-FWRGNGP3.js} +25 -17
  95. package/dist/bundle/{store-EQC5DKSY.js → store-UBI2YCRC.js} +13 -13
  96. package/dist/bundle/store-maintenance-command-3ZXPEIGF.js +52 -0
  97. package/dist/commands/login.d.ts.map +1 -1
  98. package/dist/commands/login.js +2 -1
  99. package/dist/commands/login.js.map +1 -1
  100. package/dist/commands/session-start.d.ts.map +1 -1
  101. package/dist/commands/session-start.js +3 -3
  102. package/dist/commands/session-start.js.map +1 -1
  103. package/dist/commands/sync.d.ts.map +1 -1
  104. package/dist/commands/sync.js +22 -7
  105. package/dist/commands/sync.js.map +1 -1
  106. package/dist/config.d.ts +6 -0
  107. package/dist/config.d.ts.map +1 -1
  108. package/dist/mail/imap/connection.d.ts.map +1 -1
  109. package/dist/mail/imap/connection.js +6 -4
  110. package/dist/mail/imap/connection.js.map +1 -1
  111. package/dist/mail/imap/errors.d.ts +7 -0
  112. package/dist/mail/imap/errors.d.ts.map +1 -1
  113. package/dist/mail/imap/errors.js +8 -4
  114. package/dist/mail/imap/errors.js.map +1 -1
  115. package/dist/mail/imap/read.d.ts.map +1 -1
  116. package/dist/mail/imap/read.js +36 -20
  117. package/dist/mail/imap/read.js.map +1 -1
  118. package/dist/mail/imap/search.d.ts +7 -2
  119. package/dist/mail/imap/search.d.ts.map +1 -1
  120. package/dist/mail/imap/search.js +13 -7
  121. package/dist/mail/imap/search.js.map +1 -1
  122. package/dist/mail/imap/write.d.ts.map +1 -1
  123. package/dist/mail/imap/write.js +2 -1
  124. package/dist/mail/imap/write.js.map +1 -1
  125. package/dist/mail/organise.d.ts.map +1 -1
  126. package/dist/mail/organise.js +92 -87
  127. package/dist/mail/organise.js.map +1 -1
  128. package/dist/mail/send.d.ts.map +1 -1
  129. package/dist/mail/send.js +26 -5
  130. package/dist/mail/send.js.map +1 -1
  131. package/dist/oauth.d.ts +0 -3
  132. package/dist/oauth.d.ts.map +1 -1
  133. package/dist/oauth.js +2 -33
  134. package/dist/oauth.js.map +1 -1
  135. package/dist/providers.d.ts.map +1 -1
  136. package/dist/providers.js +2 -1
  137. package/dist/providers.js.map +1 -1
  138. package/dist/reasons.d.ts.map +1 -1
  139. package/dist/reasons.js +0 -3
  140. package/dist/reasons.js.map +1 -1
  141. package/dist/version.d.ts +1 -1
  142. package/dist/version.d.ts.map +1 -1
  143. package/dist/version.js +1 -1
  144. package/dist/version.js.map +1 -1
  145. package/package.json +3 -3
  146. package/dist/bundle/chunk-EVG7MOAH.js +0 -3604
  147. package/dist/bundle/command-contract-T3H5CAX3.js +0 -34
  148. package/dist/bundle/first-screen-IJJZJP6Q.js +0 -32
  149. package/dist/bundle/server-6D7W5Q4A.js +0 -63
  150. package/dist/bundle/store-maintenance-command-7YQZXE4V.js +0 -52
  151. /package/dist/bundle/{chunk-EKRM2QJB.js → chunk-MRLSUCHT.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,49 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.10.0 — 02.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **`search messages` says `search.server-partial`, not `search.server-too-large`.** It downloads the first 256 KiB of
10
+ each message the server finds and stores a bigger one with its text and without its attachments; the next `sync`
11
+ reads it whole. Before, a candidate over 5 MB was left on the server and a smaller one was downloaded with all its
12
+ attachments. A script that matched `search.server-too-large` matches `search.server-partial` instead.
13
+ - **After `messages send`, `stored` is true only when this message is in the store**, not when any other mail of the
14
+ last 10 minutes was. A caller that read `stored: true` as "some mail was synced" reads it now as "this message is
15
+ stored".
16
+ - **`mail.search-refused` is cli-core's reason now** (cli-core 0.550.0); the reason, its code and its message are
17
+ the same.
18
+
19
+ ### Added
20
+
21
+ - **`--compact` answers one line per item** (cli-base 0.74.0). mail now needs `@wirecat/cli-core` 0.550.0 and
22
+ `@wirecat/cli-base` 0.74.0.
23
+ - **`sync` says what became of the emails a search stored text-first**: `partial_emails` with `completed` (read whole
24
+ this run), `left` (waiting for a later run) and `stuck` (given up on: the server no longer gives them where they
25
+ were stored). It is absent when there are none.
26
+
27
+ ### Fixed
28
+
29
+ - **A Microsoft sign-in whose new token the mail server refuses says how to turn IMAP on.** On Outlook.com IMAP is
30
+ off by default; the error now names the switch (Settings, "Mail", "Forwarding and IMAP", "Let devices and apps use
31
+ IMAP") and no longer claims a refresh was tried. The answer carries the server's response code as `cause_code`, never
32
+ its text.
33
+ - **A server that refuses SEARCH no longer looks like an empty folder.** `sync` leaves that folder unread and reads
34
+ the rest: the answer is partial, names it in `refused_folders` with a `mail.search-refused` issue, and nothing of it
35
+ is marked deleted. `messages move`, `copy`, `delete`, `restore` and `drafts` stop with `mail.search-refused`
36
+ instead of acting on nothing (cli-core).
37
+ - **On Gmail, an email a search stored text-first is read whole by the next `sync`.** It was never completed there:
38
+ mail worked out its id from the Message-ID, and Gmail's mail is stored under its X-GM-MSGID, so every sync downloaded
39
+ the whole message again and threw it away. `fetchRaw` now reads Gmail's ids beside the bytes.
40
+ - **An email a search stored text-first is no longer downloaded whole on every sync when the server no longer gives
41
+ it.** It is read under the UIDVALIDITY it was stored with, and given up on after three failed tries, or at once when
42
+ its place holds another message; it no longer holds back newer ones (cli-core).
43
+ - **A search no longer stores a text-first copy over an email a sync in another process stored whole meanwhile**,
44
+ which dropped its attachments (cli-core).
45
+ - **The reader of your own Google `--client-file` and the browser opener come from `@wirecat/cli-core` 0.546.0**, not
46
+ copies in mail. The file shapes, the `chmod 600` check and the errors are unchanged.
47
+
5
48
  ## 0.9.0 — 02.11.2026
6
49
 
7
50
  ### Added
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.10.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-OJUWUHHC.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";
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-PC3AFEEA.js";
8
+ } from "./chunk-6LNRNQHJ.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-L3KMVMRJ.js";
14
+ } from "./chunk-4DPICEPQ.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // 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/embeddings/embed.js
19
+ // 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/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // 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/embeddings/onnx-runtime.js
24
+ // 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/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // 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/embeddings/onnx-runtime.js
681
+ // 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/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // 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/embeddings/embed.js
861
+ // 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/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");