@wirecat/mail-cli 0.1.0 → 0.2.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 (212) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +37 -11
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-TKMBELRZ.js → all-profiles-7WILOT5E.js} +5 -5
  5. package/dist/bundle/{anthropic-7LMUAEIZ.js → anthropic-NHWLIMEZ.js} +3 -3
  6. package/dist/bundle/{app-server-JGMIJDD4.js → app-server-XDMYCJLV.js} +39 -39
  7. package/dist/bundle/{bun-XRO6XJHQ.js → bun-GTG5IYLQ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-Z54LEHVM.js → bun-sqlite-KGH5F33G.js} +2 -2
  9. package/dist/bundle/{chunk-JVMVLITS.js → chunk-2X4WYZPA.js} +4 -2
  10. package/dist/bundle/{chunk-GN62YOT5.js → chunk-4I3YT5KK.js} +4 -4
  11. package/dist/bundle/{chunk-MS53RALV.js → chunk-5FLW25US.js} +5 -5
  12. package/dist/bundle/{chunk-FZ5FXIG6.js → chunk-5JOKRFWE.js} +1 -1
  13. package/dist/bundle/{chunk-KHTO2Q6E.js → chunk-6HIW7IJL.js} +4 -4
  14. package/dist/bundle/{chunk-TVREDYX4.js → chunk-76IKLP2M.js} +95 -91
  15. package/dist/bundle/{chunk-ZANYM66S.js → chunk-77VHMI3A.js} +1 -1
  16. package/dist/bundle/{chunk-TQFCPUIM.js → chunk-7LKJDJNS.js} +1 -1
  17. package/dist/bundle/{chunk-WLFLBWNH.js → chunk-7QEE5I7H.js} +2 -2
  18. package/dist/bundle/{chunk-6MAZWSC3.js → chunk-7REG25RM.js} +3 -3
  19. package/dist/bundle/{chunk-TWTATDM7.js → chunk-AJIT2T3F.js} +6 -6
  20. package/dist/bundle/{chunk-JBBZCTTF.js → chunk-AROBJF5P.js} +1 -1
  21. package/dist/bundle/{chunk-NK7EB63L.js → chunk-BKZEYTLU.js} +849 -440
  22. package/dist/bundle/{chunk-4FEMINO2.js → chunk-BPF7IXJT.js} +5 -5
  23. package/dist/bundle/{chunk-BTQX2ZSZ.js → chunk-BUOSCMCD.js} +2 -2
  24. package/dist/bundle/{chunk-5NYMNSSO.js → chunk-CT7NG7BI.js} +3 -3
  25. package/dist/bundle/{chunk-TWPDVUBR.js → chunk-D7UZXUSB.js} +2 -2
  26. package/dist/bundle/{chunk-OTUOZ33L.js → chunk-DDMJ3RVO.js} +2 -2
  27. package/dist/bundle/{chunk-3KEVLSNN.js → chunk-EKE3R36Y.js} +46 -8
  28. package/dist/bundle/{chunk-YO4CUH5E.js → chunk-ETPT7TPW.js} +1 -1
  29. package/dist/bundle/{chunk-3KOA73LS.js → chunk-GPAAQ6LY.js} +14 -14
  30. package/dist/bundle/{chunk-GQQJOH7A.js → chunk-GQKYSGIA.js} +58 -46
  31. package/dist/bundle/{chunk-QLEUNU6G.js → chunk-H5BW7454.js} +4 -4
  32. package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-H66ZMBDD.js} +1 -1
  33. package/dist/bundle/{chunk-VEIZZRQ5.js → chunk-H7NUGJPV.js} +12 -3
  34. package/dist/bundle/{chunk-2LLNPNMB.js → chunk-H7XOHNRY.js} +1 -1
  35. package/dist/bundle/{chunk-F6D6PJ34.js → chunk-HJRUFT5Y.js} +5 -5
  36. package/dist/bundle/{chunk-5WGEUDE4.js → chunk-MABCR67K.js} +1 -1
  37. package/dist/bundle/{chunk-IK5TH3O7.js → chunk-MDVXIPA3.js} +10 -10
  38. package/dist/bundle/{chunk-YPQQ5J4X.js → chunk-QJHCKFFC.js} +16 -16
  39. package/dist/bundle/{chunk-Z34ICZA3.js → chunk-QLYHLW54.js} +5 -5
  40. package/dist/bundle/{chunk-7SXGLT6T.js → chunk-QUGFBY7O.js} +9 -8
  41. package/dist/bundle/{chunk-CEW6KIFA.js → chunk-QUSZWBZF.js} +21 -21
  42. package/dist/bundle/{chunk-FDCGTODC.js → chunk-R5JD4GMA.js} +1 -1
  43. package/dist/bundle/{chunk-K4FVKPDQ.js → chunk-S2GSU4MT.js} +9 -9
  44. package/dist/bundle/{chunk-T6464KYA.js → chunk-STC45HZX.js} +204 -203
  45. package/dist/bundle/{chunk-75CWWETH.js → chunk-SVNTRF5O.js} +11 -11
  46. package/dist/bundle/{chunk-GWDCKUBI.js → chunk-THVLMTH7.js} +30 -29
  47. package/dist/bundle/{chunk-4E7BN3TC.js → chunk-TMVIQJCG.js} +2 -2
  48. package/dist/bundle/{chunk-EOEDICIE.js → chunk-UZR3IKS7.js} +1 -1
  49. package/dist/bundle/{chunk-CH6RXYAX.js → chunk-VBLFQJY3.js} +1 -1
  50. package/dist/bundle/{chunk-GAH7N7HO.js → chunk-VRQRBVKT.js} +44 -44
  51. package/dist/bundle/{chunk-GK4M2SUP.js → chunk-VWO3XXSF.js} +1 -1
  52. package/dist/bundle/{chunk-QQB7WT7R.js → chunk-WJ3LUWRN.js} +3 -3
  53. package/dist/bundle/{chunk-3E3WA2L6.js → chunk-Y5WA7AOA.js} +21 -21
  54. package/dist/bundle/{chunk-TE5U5OAM.js → chunk-Y6KUKIQZ.js} +2 -2
  55. package/dist/bundle/{chunk-J6MSJLIW.js → chunk-YQAUH3PN.js} +1 -1
  56. package/dist/bundle/{chunk-MNOIRJEO.js → chunk-Z6F7EXT2.js} +7 -7
  57. package/dist/bundle/{chunk-WXAXYJJ7.js → chunk-ZKH5CHGI.js} +5 -5
  58. package/dist/bundle/{chunk-UH4DDRHA.js → chunk-ZNYJG4AY.js} +42 -42
  59. package/dist/bundle/{command-contract-WU434ZUL.js → command-contract-Y42ULKE5.js} +13 -13
  60. package/dist/bundle/{decode-YB3ZDTES.js → decode-L4X542L3.js} +2 -2
  61. package/dist/bundle/{dist-X36THCOF.js → dist-HFUVURJG.js} +1 -1
  62. package/dist/bundle/{dist-A6GKSKFC.js → dist-WKIRHOLK.js} +14 -14
  63. package/dist/bundle/{echarts-YNGCOYHW.js → echarts-G6QLXR4X.js} +2 -2
  64. package/dist/bundle/{embed-LWNHIRBQ.js → embed-E33ZBHQR.js} +3 -3
  65. package/dist/bundle/{embedder-2LYD3U37.js → embedder-EMBCIVGF.js} +6 -6
  66. package/dist/bundle/{first-run-N3HJKGU7.js → first-run-WF2HF5FI.js} +5 -5
  67. package/dist/bundle/{first-screen-4U2DMV3G.js → first-screen-DZFOUUZC.js} +14 -14
  68. package/dist/bundle/{instructions-GJHHFV64.js → instructions-DUH7265J.js} +1 -1
  69. package/dist/bundle/mail.js +2 -2
  70. package/dist/bundle/{node-GFOH6FKP.js → node-73PKCCE7.js} +2 -2
  71. package/dist/bundle/{node-sqlite-NBXQXBIU.js → node-sqlite-FDD5N6GC.js} +2 -2
  72. package/dist/bundle/{oauth-56EFO5AQ.js → oauth-ND3K2F7B.js} +4 -4
  73. package/dist/bundle/{open-2V7QZQJP.js → open-FZYY6TKE.js} +1 -1
  74. package/dist/bundle/{openai-V3SVACVL.js → openai-BXOF6XIM.js} +10 -10
  75. package/dist/bundle/{process-XVDX4SPD.js → process-TXIK4VJP.js} +1 -1
  76. package/dist/bundle/{program-ILID6EAT.js → program-2SUR4WOS.js} +1700 -1459
  77. package/dist/bundle/{prompt-YKWAI222.js → prompt-I5GCP73M.js} +2 -2
  78. package/dist/bundle/{recognize-PAR66KVM.js → recognize-ILYEKXVB.js} +1 -1
  79. package/dist/bundle/{remote-CE43TKXC.js → remote-SSPZEAJ7.js} +4 -4
  80. package/dist/bundle/{rerank-M7S7P2TW.js → rerank-NAO5RMGB.js} +4 -4
  81. package/dist/bundle/{serve-ENPMIV6J.js → serve-UDXIEQKC.js} +6 -6
  82. package/dist/bundle/{server-MBEZLVKZ.js → server-KTPELKAN.js} +31 -31
  83. package/dist/bundle/server-UZFSEKNJ.js +63 -0
  84. package/dist/bundle/{sqlite-runtime-HVGDHBJJ.js → sqlite-runtime-AONFLND6.js} +2 -2
  85. package/dist/bundle/{state-QZSOSKBD.js → state-I4PLX3UB.js} +3 -3
  86. package/dist/bundle/{store-UJ7SNKXI.js → store-OHQH3MGN.js} +30 -12
  87. package/dist/bundle/{store-2BUX6LVX.js → store-ZPPRXGPY.js} +9 -9
  88. package/dist/bundle/store-maintenance-command-QOYXEBT6.js +52 -0
  89. package/dist/commands/account.d.ts.map +1 -1
  90. package/dist/commands/account.js +6 -5
  91. package/dist/commands/account.js.map +1 -1
  92. package/dist/commands/context.d.ts +19 -8
  93. package/dist/commands/context.d.ts.map +1 -1
  94. package/dist/commands/context.js +14 -10
  95. package/dist/commands/context.js.map +1 -1
  96. package/dist/commands/folders.js +4 -4
  97. package/dist/commands/folders.js.map +1 -1
  98. package/dist/commands/login.d.ts +2 -2
  99. package/dist/commands/login.d.ts.map +1 -1
  100. package/dist/commands/login.js +3 -5
  101. package/dist/commands/login.js.map +1 -1
  102. package/dist/commands/mailbox.d.ts +2 -1
  103. package/dist/commands/mailbox.d.ts.map +1 -1
  104. package/dist/commands/mailbox.js.map +1 -1
  105. package/dist/commands/session-start.d.ts +3 -0
  106. package/dist/commands/session-start.d.ts.map +1 -0
  107. package/dist/commands/session-start.js +117 -0
  108. package/dist/commands/session-start.js.map +1 -0
  109. package/dist/commands/session.d.ts.map +1 -1
  110. package/dist/commands/session.js +9 -117
  111. package/dist/commands/session.js.map +1 -1
  112. package/dist/commands/status.d.ts.map +1 -1
  113. package/dist/commands/status.js +8 -20
  114. package/dist/commands/status.js.map +1 -1
  115. package/dist/commands/sync.d.ts.map +1 -1
  116. package/dist/commands/sync.js +49 -26
  117. package/dist/commands/sync.js.map +1 -1
  118. package/dist/config.d.ts +2 -0
  119. package/dist/config.d.ts.map +1 -1
  120. package/dist/config.js +4 -0
  121. package/dist/config.js.map +1 -1
  122. package/dist/discovery.d.ts +4 -15
  123. package/dist/discovery.d.ts.map +1 -1
  124. package/dist/discovery.js +19 -92
  125. package/dist/discovery.js.map +1 -1
  126. package/dist/mail/backend.d.ts +36 -0
  127. package/dist/mail/backend.d.ts.map +1 -0
  128. package/dist/mail/backend.js +2 -0
  129. package/dist/mail/backend.js.map +1 -0
  130. package/dist/mail/imap/account.d.ts +5 -0
  131. package/dist/mail/imap/account.d.ts.map +1 -0
  132. package/dist/mail/imap/account.js +41 -0
  133. package/dist/mail/imap/account.js.map +1 -0
  134. package/dist/mail/imap/connection.d.ts +62 -0
  135. package/dist/mail/imap/connection.d.ts.map +1 -0
  136. package/dist/mail/imap/connection.js +188 -0
  137. package/dist/mail/imap/connection.js.map +1 -0
  138. package/dist/mail/{imap-errors.d.ts → imap/errors.d.ts} +1 -1
  139. package/dist/mail/imap/errors.d.ts.map +1 -0
  140. package/dist/mail/{imap-errors.js → imap/errors.js} +1 -1
  141. package/dist/mail/imap/errors.js.map +1 -0
  142. package/dist/mail/imap/index.d.ts +7 -0
  143. package/dist/mail/imap/index.d.ts.map +1 -0
  144. package/dist/mail/imap/index.js +11 -0
  145. package/dist/mail/imap/index.js.map +1 -0
  146. package/dist/mail/{imap-messages.d.ts → imap/messages.d.ts} +9 -9
  147. package/dist/mail/imap/messages.d.ts.map +1 -0
  148. package/dist/mail/imap/messages.js +66 -0
  149. package/dist/mail/imap/messages.js.map +1 -0
  150. package/dist/mail/imap/read.d.ts +7 -0
  151. package/dist/mail/imap/read.d.ts.map +1 -0
  152. package/dist/mail/imap/read.js +164 -0
  153. package/dist/mail/imap/read.js.map +1 -0
  154. package/dist/mail/rethread.d.ts +15 -0
  155. package/dist/mail/rethread.d.ts.map +1 -0
  156. package/dist/mail/rethread.js +52 -0
  157. package/dist/mail/rethread.js.map +1 -0
  158. package/dist/profile.d.ts +2 -1
  159. package/dist/profile.d.ts.map +1 -1
  160. package/dist/profile.js +1 -0
  161. package/dist/profile.js.map +1 -1
  162. package/dist/providers.d.ts +126 -26
  163. package/dist/providers.d.ts.map +1 -1
  164. package/dist/providers.js +141 -72
  165. package/dist/providers.js.map +1 -1
  166. package/dist/secret.d.ts +2 -1
  167. package/dist/secret.d.ts.map +1 -1
  168. package/dist/secret.js +1 -0
  169. package/dist/secret.js.map +1 -1
  170. package/dist/version.d.ts +1 -1
  171. package/dist/version.js +1 -1
  172. package/package.json +3 -2
  173. package/skills/mail-cli/SKILL.md +8 -0
  174. package/dist/bundle/server-JRTHUCVY.js +0 -63
  175. package/dist/bundle/store-maintenance-command-I7V5C44K.js +0 -52
  176. package/dist/commands/doctor.d.ts +0 -77
  177. package/dist/commands/doctor.d.ts.map +0 -1
  178. package/dist/commands/doctor.js +0 -74
  179. package/dist/commands/doctor.js.map +0 -1
  180. package/dist/commands/mcp.d.ts +0 -3
  181. package/dist/commands/mcp.d.ts.map +0 -1
  182. package/dist/commands/mcp.js +0 -97
  183. package/dist/commands/mcp.js.map +0 -1
  184. package/dist/commands/setup.d.ts +0 -3
  185. package/dist/commands/setup.d.ts.map +0 -1
  186. package/dist/commands/setup.js +0 -156
  187. package/dist/commands/setup.js.map +0 -1
  188. package/dist/mail/imap-errors.d.ts.map +0 -1
  189. package/dist/mail/imap-errors.js.map +0 -1
  190. package/dist/mail/imap-messages.d.ts.map +0 -1
  191. package/dist/mail/imap-messages.js +0 -66
  192. package/dist/mail/imap-messages.js.map +0 -1
  193. package/dist/mail/imap.d.ts +0 -67
  194. package/dist/mail/imap.d.ts.map +0 -1
  195. package/dist/mail/imap.js +0 -348
  196. package/dist/mail/imap.js.map +0 -1
  197. package/dist/mail/parse.d.ts +0 -18
  198. package/dist/mail/parse.d.ts.map +0 -1
  199. package/dist/mail/parse.js +0 -31
  200. package/dist/mail/parse.js.map +0 -1
  201. package/dist/mail/port.d.ts +0 -50
  202. package/dist/mail/port.d.ts.map +0 -1
  203. package/dist/mail/port.js +0 -4
  204. package/dist/mail/port.js.map +0 -1
  205. package/dist/mcp.d.ts +0 -29
  206. package/dist/mcp.d.ts.map +0 -1
  207. package/dist/mcp.js +0 -98
  208. package/dist/mcp.js.map +0 -1
  209. package/dist/sync.d.ts +0 -26
  210. package/dist/sync.d.ts.map +0 -1
  211. package/dist/sync.js +0 -75
  212. package/dist/sync.js.map +0 -1
@@ -4,9 +4,9 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-Z34ICZA3.js";
8
- import "./chunk-5NYMNSSO.js";
9
- import "./chunk-FZ5FXIG6.js";
7
+ } from "./chunk-QLYHLW54.js";
8
+ import "./chunk-CT7NG7BI.js";
9
+ import "./chunk-5JOKRFWE.js";
10
10
  import "./chunk-J3QXTBD2.js";
11
11
  import "./chunk-LQ37ALDJ.js";
12
12
  import {
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -5,15 +5,15 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-IK5TH3O7.js";
8
+ } from "./chunk-MDVXIPA3.js";
9
9
  import "./chunk-ZD3WUGR2.js";
10
10
  import "./chunk-P7P5MNAU.js";
11
- import "./chunk-WLFLBWNH.js";
12
- import "./chunk-MNOIRJEO.js";
13
- import "./chunk-KHTO2Q6E.js";
11
+ import "./chunk-7QEE5I7H.js";
12
+ import "./chunk-Z6F7EXT2.js";
13
+ import "./chunk-6HIW7IJL.js";
14
14
  import "./chunk-QX7RCLRS.js";
15
15
  import "./chunk-D72URWJE.js";
16
- import "./chunk-FZ5FXIG6.js";
16
+ import "./chunk-5JOKRFWE.js";
17
17
  import "./chunk-J3QXTBD2.js";
18
18
  import "./chunk-LQ37ALDJ.js";
19
19
  import "./chunk-Y5E2WNWB.js";
@@ -4,22 +4,22 @@ import {
4
4
  WIRECAT_TOOLS,
5
5
  firstScreen,
6
6
  installHelp
7
- } from "./chunk-TWTATDM7.js";
8
- import "./chunk-MS53RALV.js";
9
- import "./chunk-TVREDYX4.js";
7
+ } from "./chunk-AJIT2T3F.js";
8
+ import "./chunk-5FLW25US.js";
9
+ import "./chunk-76IKLP2M.js";
10
10
  import "./chunk-HTQTIKWP.js";
11
- import "./chunk-GQQJOH7A.js";
12
- import "./chunk-QLEUNU6G.js";
13
- import "./chunk-7SXGLT6T.js";
14
- import "./chunk-WLFLBWNH.js";
15
- import "./chunk-KM7Q67Z3.js";
16
- import "./chunk-6MAZWSC3.js";
17
- import "./chunk-3KEVLSNN.js";
18
- import "./chunk-UH4DDRHA.js";
11
+ import "./chunk-GQKYSGIA.js";
12
+ import "./chunk-H5BW7454.js";
13
+ import "./chunk-QUGFBY7O.js";
14
+ import "./chunk-7QEE5I7H.js";
15
+ import "./chunk-H66ZMBDD.js";
16
+ import "./chunk-7REG25RM.js";
17
+ import "./chunk-EKE3R36Y.js";
18
+ import "./chunk-ZNYJG4AY.js";
19
19
  import "./chunk-NPGVOZVK.js";
20
- import "./chunk-KHTO2Q6E.js";
21
- import "./chunk-5NYMNSSO.js";
22
- import "./chunk-FZ5FXIG6.js";
20
+ import "./chunk-6HIW7IJL.js";
21
+ import "./chunk-CT7NG7BI.js";
22
+ import "./chunk-5JOKRFWE.js";
23
23
  import "./chunk-J3QXTBD2.js";
24
24
  import "./chunk-LQ37ALDJ.js";
25
25
  import "./chunk-Y5E2WNWB.js";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-TQFCPUIM.js";
6
+ } from "./chunk-7LKJDJNS.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  IDENTITY
6
- } from "./chunk-5WGEUDE4.js";
6
+ } from "./chunk-MABCR67K.js";
7
7
  import {
8
8
  installerOf
9
9
  } from "./chunk-QX7RCLRS.js";
@@ -157,7 +157,7 @@ if (wcat.code !== void 0) {
157
157
  process.exitCode = wcat.code;
158
158
  } else {
159
159
  const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
160
- const { run } = await import("./program-ILID6EAT.js");
160
+ const { run } = await import("./program-2SUR4WOS.js");
161
161
  try {
162
162
  process.exitCode = await run(process.argv.slice(2));
163
163
  } finally {
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-EOEDICIE.js";
21
+ } from "./chunk-UZR3IKS7.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-ZANYM66S.js";
6
+ } from "./chunk-77VHMI3A.js";
7
7
  import "./chunk-J3QXTBD2.js";
8
8
  import "./chunk-LQ37ALDJ.js";
9
9
  import "./chunk-Y5E2WNWB.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
16
16
  import { DatabaseSync } from "node:sqlite";
17
17
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
18
18
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-BTQX2ZSZ.js";
6
+ } from "./chunk-BUOSCMCD.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-GN62YOT5.js";
9
- import "./chunk-TE5U5OAM.js";
10
- import "./chunk-KM7Q67Z3.js";
8
+ import "./chunk-4I3YT5KK.js";
9
+ import "./chunk-Y6KUKIQZ.js";
10
+ import "./chunk-H66ZMBDD.js";
11
11
  import "./chunk-J3QXTBD2.js";
12
12
  import "./chunk-LQ37ALDJ.js";
13
13
  import "./chunk-Y5E2WNWB.js";
@@ -6,7 +6,7 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-F6D6PJ34.js";
9
+ } from "./chunk-HJRUFT5Y.js";
10
10
  import "./chunk-J3QXTBD2.js";
11
11
  import "./chunk-LQ37ALDJ.js";
12
12
  import "./chunk-Y5E2WNWB.js";
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-QQB7WT7R.js";
7
- import "./chunk-75CWWETH.js";
6
+ } from "./chunk-WJ3LUWRN.js";
7
+ import "./chunk-SVNTRF5O.js";
8
8
  import {
9
9
  OPENAI_URL
10
- } from "./chunk-4E7BN3TC.js";
11
- import "./chunk-Z34ICZA3.js";
10
+ } from "./chunk-TMVIQJCG.js";
11
+ import "./chunk-QLYHLW54.js";
12
12
  import {
13
13
  OPENAI_TRANSCRIBE_MODEL,
14
14
  VAD,
15
15
  filesPresent,
16
16
  modelsDirectory,
17
17
  vadPath
18
- } from "./chunk-5NYMNSSO.js";
19
- import "./chunk-FZ5FXIG6.js";
18
+ } from "./chunk-CT7NG7BI.js";
19
+ import "./chunk-5JOKRFWE.js";
20
20
  import {
21
21
  DEFAULT_RETRY,
22
22
  backoffMs
@@ -30,7 +30,7 @@ import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/openai.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/speech/openai.js
34
34
  import { setTimeout as wait } from "node:timers/promises";
35
35
 
36
36
  // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
@@ -57,7 +57,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
57
57
  }, "parseRateLimitReset");
58
58
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
59
59
 
60
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/wav.js
60
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/speech/wav.js
61
61
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
62
62
  const bytes = Buffer.alloc(44 + samples.length * 2);
63
63
  bytes.write("RIFF", 0, "ascii");
@@ -78,7 +78,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
78
78
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
79
79
  }, "encodeWav");
80
80
 
81
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/openai.js
81
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/speech/openai.js
82
82
  var LONGEST_REQUEST_SECONDS = 600;
83
83
  var JOINED_SECONDS = 0.2;
84
84
  var PAD_SECONDS = 0.2;
@@ -200,7 +200,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
200
200
  return pieces;
201
201
  }, "piecesOf");
202
202
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
203
- const { openSpeechCutter } = await import("./recognize-PAR66KVM.js");
203
+ const { openSpeechCutter } = await import("./recognize-ILYEKXVB.js");
204
204
  return openSpeechCutter(vadModel);
205
205
  }, "openCutter");
206
206
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.516.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_25c347a01b8fd53eda94896ae0eba94d/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";