@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
@@ -13,13 +13,13 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-3LMWAO6A.js";
17
- import "./chunk-PC3AFEEA.js";
18
- import "./chunk-HZ42NO25.js";
19
- import "./chunk-ZISFMUYB.js";
20
- import "./chunk-NAIJNJZZ.js";
16
+ } from "./chunk-6QNPJSRM.js";
17
+ import "./chunk-6LNRNQHJ.js";
18
+ import "./chunk-MDIRW3AT.js";
19
+ import "./chunk-JAWJZTFL.js";
20
+ import "./chunk-NSDOYHIS.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
- import "./chunk-L3KMVMRJ.js";
22
+ import "./chunk-4DPICEPQ.js";
23
23
  import "./chunk-ZVVMGPBJ.js";
24
24
  export {
25
25
  WARM_IDLE_MS,
@@ -4,26 +4,26 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-3LMWAO6A.js";
8
- import "./chunk-PC3AFEEA.js";
9
- import "./chunk-HZ42NO25.js";
10
- import "./chunk-ZISFMUYB.js";
11
- import "./chunk-NAIJNJZZ.js";
7
+ } from "./chunk-6QNPJSRM.js";
8
+ import "./chunk-6LNRNQHJ.js";
9
+ import "./chunk-MDIRW3AT.js";
10
+ import "./chunk-JAWJZTFL.js";
11
+ import "./chunk-NSDOYHIS.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
15
15
  import {
16
16
  CliError
17
- } from "./chunk-L3KMVMRJ.js";
17
+ } from "./chunk-4DPICEPQ.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // 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/images/picture/embedder.js
22
+ // 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/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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.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/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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // 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/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");
@@ -9,8 +9,8 @@ import {
9
9
  mcpErrorResult,
10
10
  renderError,
11
11
  retryOf
12
- } from "./chunk-NAIJNJZZ.js";
13
- import "./chunk-L3KMVMRJ.js";
12
+ } from "./chunk-NSDOYHIS.js";
13
+ import "./chunk-4DPICEPQ.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
16
16
  catchCrashes,
@@ -5,19 +5,19 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-DL32PWLR.js";
9
- import "./chunk-5PWKPRTD.js";
10
- import "./chunk-ROZBXOES.js";
11
- import "./chunk-65SVO3T7.js";
12
- import "./chunk-4EFKQXA5.js";
13
- import "./chunk-QO4K6R7K.js";
14
- import "./chunk-DLB2JPLU.js";
8
+ } from "./chunk-X37KLD23.js";
9
+ import "./chunk-XTIQFMZH.js";
10
+ import "./chunk-TZGQPTZ2.js";
11
+ import "./chunk-VEXXVLBM.js";
12
+ import "./chunk-IG2WXKIT.js";
13
+ import "./chunk-PLPSFJO6.js";
14
+ import "./chunk-MDIRW3AT.js";
15
+ import "./chunk-JNUKTAMZ.js";
15
16
  import "./chunk-D72URWJE.js";
16
- import "./chunk-HZ42NO25.js";
17
- import "./chunk-ZISFMUYB.js";
18
- import "./chunk-NAIJNJZZ.js";
17
+ import "./chunk-JAWJZTFL.js";
18
+ import "./chunk-NSDOYHIS.js";
19
19
  import "./chunk-Y5E2WNWB.js";
20
- import "./chunk-L3KMVMRJ.js";
20
+ import "./chunk-4DPICEPQ.js";
21
21
  import "./chunk-ZVVMGPBJ.js";
22
22
  export {
23
23
  askSetupQuestions,
@@ -0,0 +1,31 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-5TACUBRJ.js";
8
+ import "./chunk-4GPPRLIG.js";
9
+ import "./chunk-HTQTIKWP.js";
10
+ import "./chunk-T3AGR4TI.js";
11
+ import "./chunk-AJ4JS2ZR.js";
12
+ import "./chunk-SW5NVASW.js";
13
+ import "./chunk-VEXXVLBM.js";
14
+ import "./chunk-44LVUMS2.js";
15
+ import "./chunk-6LNRNQHJ.js";
16
+ import "./chunk-YDUES6ET.js";
17
+ import "./chunk-LXHLQ6RK.js";
18
+ import "./chunk-KVN4RY7E.js";
19
+ import "./chunk-PLPSFJO6.js";
20
+ import "./chunk-MDIRW3AT.js";
21
+ import "./chunk-MRLSUCHT.js";
22
+ import "./chunk-JAWJZTFL.js";
23
+ import "./chunk-NSDOYHIS.js";
24
+ import "./chunk-Y5E2WNWB.js";
25
+ import "./chunk-4DPICEPQ.js";
26
+ import "./chunk-ZVVMGPBJ.js";
27
+ export {
28
+ WIRECAT_TOOLS,
29
+ firstScreen,
30
+ installHelp
31
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-CHK3V7FG.js";
6
+ } from "./chunk-HVVLSCFB.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,11 +3,11 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  IDENTITY
6
- } from "./chunk-3Y7H3CXI.js";
6
+ } from "./chunk-KQXLRAHT.js";
7
7
  import {
8
8
  installerOf
9
- } from "./chunk-DLB2JPLU.js";
10
- import "./chunk-EKRM2QJB.js";
9
+ } from "./chunk-JNUKTAMZ.js";
10
+ import "./chunk-MRLSUCHT.js";
11
11
  import {
12
12
  DESCRIBE_FLAG,
13
13
  DISPATCH_FLAG,
@@ -18,13 +18,13 @@ import {
18
18
  fileState,
19
19
  shimFiles,
20
20
  writeShim
21
- } from "./chunk-PEF637VV.js";
22
- import "./chunk-ZISFMUYB.js";
21
+ } from "./chunk-JIIEJLAX.js";
22
+ import "./chunk-JAWJZTFL.js";
23
23
  import {
24
24
  catchCrashes
25
- } from "./chunk-NAIJNJZZ.js";
25
+ } from "./chunk-NSDOYHIS.js";
26
26
  import "./chunk-Y5E2WNWB.js";
27
- import "./chunk-L3KMVMRJ.js";
27
+ import "./chunk-4DPICEPQ.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
@@ -32,10 +32,10 @@ import {
32
32
  // dist/bin/mail.js
33
33
  import { enableCompileCache } from "node:module";
34
34
 
35
- // 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/wcat/start.js
35
+ // 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/wcat/start.js
36
36
  import { fileURLToPath } from "node:url";
37
37
 
38
- // 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/wcat/launcher.js
38
+ // 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/wcat/launcher.js
39
39
  import { readFileSync } from "node:fs";
40
40
  import { basename, dirname, join, resolve } from "node:path";
41
41
  var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
@@ -119,7 +119,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
119
119
  }
120
120
  }, "ensureLauncher");
121
121
 
122
- // 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/wcat/start.js
122
+ // 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/wcat/start.js
123
123
  var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
124
124
  const argv = io.argv ?? process.argv;
125
125
  const env = io.env ?? process.env;
@@ -132,7 +132,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
132
132
  return { code: 0 };
133
133
  }
134
134
  if (first === DISPATCH_FLAG) {
135
- const { runWcat } = await import("./dispatch-5C6XNGEE.js");
135
+ const { runWcat } = await import("./dispatch-K3HG4RYT.js");
136
136
  const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
137
137
  return { code };
138
138
  }
@@ -158,7 +158,7 @@ if (wcat.code !== void 0) {
158
158
  process.exitCode = wcat.code;
159
159
  } else {
160
160
  const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
161
- const { run } = await import("./program-2W4J47LM.js");
161
+ const { run } = await import("./program-OJUWUHHC.js");
162
162
  try {
163
163
  process.exitCode = await run(process.argv.slice(2));
164
164
  } finally {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-ROZBXOES.js";
6
+ } from "./chunk-TZGQPTZ2.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
@@ -12,7 +12,7 @@ import {
12
12
  __toESM
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // 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/mcp/index.js
15
+ // 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/mcp/index.js
16
16
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
17
17
  var realRun = /* @__PURE__ */ __name((file, args) => {
18
18
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
@@ -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/node.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/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,16 +3,16 @@ 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 "./chunk-Y5E2WNWB.js";
10
- import "./chunk-L3KMVMRJ.js";
10
+ import "./chunk-4DPICEPQ.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // 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/node-sqlite.js
15
+ // 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/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,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-FEA5E7WQ.js";
6
+ } from "./chunk-DN54W657.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-YLSV3WOO.js";
9
- import "./chunk-RGM66WZ3.js";
10
- import "./chunk-UHBCL66Y.js";
11
- import "./chunk-ZISFMUYB.js";
12
- import "./chunk-NAIJNJZZ.js";
8
+ import "./chunk-GYNHU56E.js";
9
+ import "./chunk-BYQ3Z6UL.js";
10
+ import "./chunk-44LVUMS2.js";
11
+ import "./chunk-JAWJZTFL.js";
12
+ import "./chunk-NSDOYHIS.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
- import "./chunk-L3KMVMRJ.js";
14
+ import "./chunk-4DPICEPQ.js";
15
15
  import "./chunk-ZVVMGPBJ.js";
16
16
  export {
17
17
  ownerLogin,
@@ -6,11 +6,11 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-25N52S7U.js";
10
- import "./chunk-ZISFMUYB.js";
11
- import "./chunk-NAIJNJZZ.js";
9
+ } from "./chunk-K2F7YMMM.js";
10
+ import "./chunk-JAWJZTFL.js";
11
+ import "./chunk-NSDOYHIS.js";
12
12
  import "./chunk-Y5E2WNWB.js";
13
- import "./chunk-L3KMVMRJ.js";
13
+ import "./chunk-4DPICEPQ.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
16
16
  CAPABILITY_STATEMENTS,
@@ -3,37 +3,37 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-YXQIZORE.js";
7
- import "./chunk-TVZFDVZP.js";
6
+ } from "./chunk-FYMQPAE5.js";
7
+ import "./chunk-IXYKM7OJ.js";
8
8
  import {
9
9
  OPENAI_URL
10
- } from "./chunk-PXQ7A5HQ.js";
11
- import "./chunk-3LMWAO6A.js";
10
+ } from "./chunk-6UT3MXOB.js";
11
+ import "./chunk-6QNPJSRM.js";
12
12
  import {
13
13
  OPENAI_TRANSCRIBE_MODEL,
14
14
  VAD,
15
15
  filesPresent,
16
16
  modelsDirectory,
17
17
  vadPath
18
- } from "./chunk-PC3AFEEA.js";
19
- import "./chunk-HZ42NO25.js";
18
+ } from "./chunk-6LNRNQHJ.js";
19
+ import "./chunk-MDIRW3AT.js";
20
20
  import {
21
21
  DEFAULT_RETRY,
22
22
  backoffMs
23
- } from "./chunk-ZISFMUYB.js";
24
- import "./chunk-NAIJNJZZ.js";
23
+ } from "./chunk-JAWJZTFL.js";
24
+ import "./chunk-NSDOYHIS.js";
25
25
  import "./chunk-Y5E2WNWB.js";
26
26
  import {
27
27
  CliError
28
- } from "./chunk-L3KMVMRJ.js";
28
+ } from "./chunk-4DPICEPQ.js";
29
29
  import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // 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/openai.js
33
+ // 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/openai.js
34
34
  import { setTimeout as wait } from "node:timers/promises";
35
35
 
36
- // 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/http/index.js
36
+ // 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/http/index.js
37
37
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
38
38
  if (!header)
39
39
  return void 0;
@@ -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.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/wav.js
60
+ // 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/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.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/openai.js
81
+ // 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/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-2XWWTN6Y.js");
203
+ const { openSpeechCutter } = await import("./recognize-WQSE5ZPL.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.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/process.js
8
+ // 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/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";