@wirecat/zoom-cli 0.79.0 → 0.80.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 (150) hide show
  1. package/README.md +5 -4
  2. package/dist/answer-output.d.ts +1 -1
  3. package/dist/answer-output.js +1 -1
  4. package/dist/bin/zm.js +2 -2
  5. package/dist/bundle/{all-profiles-LDSHUH5W.js → all-profiles-5GOKWOT4.js} +6 -6
  6. package/dist/bundle/answer-policy-7PYXHK2I.js +122 -0
  7. package/dist/bundle/{anthropic-UH3QWA3F.js → anthropic-NHXMOFYS.js} +2 -2
  8. package/dist/bundle/{app-server-LFANTLAJ.js → app-server-HFW5Z5PI.js} +58 -58
  9. package/dist/bundle/{bun-M3J2QTR3.js → bun-M5IGY2TG.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-NYP5UH23.js → bun-sqlite-MTP5JJQ2.js} +3 -3
  11. package/dist/bundle/{chunk-OLMEJNL4.js → chunk-2P6MQH4V.js} +5 -5
  12. package/dist/bundle/{chunk-4BQN5IFQ.js → chunk-2XZ2YKW4.js} +3 -3
  13. package/dist/bundle/{chunk-PP6SZLCY.js → chunk-3AOESMW6.js} +27 -17
  14. package/dist/bundle/{chunk-3AFZ6Q5N.js → chunk-3BTRJYIT.js} +9 -9
  15. package/dist/bundle/{chunk-W7HM2VGO.js → chunk-3UONR5HW.js} +1 -1
  16. package/dist/bundle/{chunk-2N57GL4L.js → chunk-3Z7CFQTI.js} +1 -1
  17. package/dist/bundle/{chunk-X2M6NIQG.js → chunk-475P3LWG.js} +1 -1
  18. package/dist/bundle/{chunk-2PUMYKGV.js → chunk-4F7Q5CET.js} +15 -15
  19. package/dist/bundle/{chunk-HZRQLAHO.js → chunk-4OAR7BGU.js} +1 -1
  20. package/dist/bundle/{chunk-FO5UNFFN.js → chunk-5CJ6AAUI.js} +2 -2
  21. package/dist/bundle/{chunk-65DOVVHQ.js → chunk-5K54M6RD.js} +1 -1
  22. package/dist/bundle/{chunk-E5WLE7BM.js → chunk-5QXQIZJY.js} +1 -1
  23. package/dist/bundle/{chunk-I6VDTYML.js → chunk-5XO2AY6D.js} +6 -6
  24. package/dist/bundle/{chunk-XFMVDQ6J.js → chunk-6CDMGT6Q.js} +1 -1
  25. package/dist/bundle/{chunk-ND7TBQKO.js → chunk-6I4C4ZFT.js} +1 -1
  26. package/dist/bundle/{chunk-Y4UDPQ3L.js → chunk-6LY4LBSD.js} +5 -5
  27. package/dist/bundle/{chunk-ZKVYV25H.js → chunk-6MDL2LZA.js} +5 -5
  28. package/dist/bundle/{chunk-NQMHYLZO.js → chunk-6PIXP5IH.js} +18 -18
  29. package/dist/bundle/{chunk-DFCHHR5M.js → chunk-6QCBTBDA.js} +1 -1
  30. package/dist/bundle/{chunk-SGFNQFP4.js → chunk-75JW7X2W.js} +29 -29
  31. package/dist/bundle/{chunk-W5HRTC6X.js → chunk-7U5X37TE.js} +5 -5
  32. package/dist/bundle/{chunk-WE4UFASG.js → chunk-A3TUG2DP.js} +1 -1
  33. package/dist/bundle/{chunk-4T3J4NCF.js → chunk-ARL2TTPZ.js} +7 -7
  34. package/dist/bundle/{chunk-YCW422X7.js → chunk-BIKHHFD2.js} +414 -358
  35. package/dist/bundle/{chunk-3QPAD6YI.js → chunk-BPSURRAD.js} +5 -5
  36. package/dist/bundle/{chunk-M4RXPZ6K.js → chunk-BRMV33MO.js} +2 -2
  37. package/dist/bundle/{chunk-2LJARGNG.js → chunk-BW5JEOBE.js} +10 -10
  38. package/dist/bundle/{chunk-GTUBQQU2.js → chunk-CHEHK6IW.js} +55 -55
  39. package/dist/bundle/{chunk-5KEOCHBZ.js → chunk-CW6CPQHI.js} +3 -3
  40. package/dist/bundle/{chunk-BTFPDS52.js → chunk-CWCDCNXA.js} +5 -5
  41. package/dist/bundle/{chunk-M5FW654Z.js → chunk-D4HKTC2T.js} +1 -1
  42. package/dist/bundle/{chunk-2OTETB4A.js → chunk-DYRISFHZ.js} +4 -4
  43. package/dist/bundle/{chunk-2IPIBDXI.js → chunk-DZ6H3YJH.js} +10 -10
  44. package/dist/bundle/{chunk-XDBGGOE2.js → chunk-E3JVLVVB.js} +26 -24
  45. package/dist/bundle/{chunk-XAOSZGTD.js → chunk-EI37UXDR.js} +1 -1
  46. package/dist/bundle/{chunk-YOBTKYIX.js → chunk-EMYRUJCV.js} +34 -11
  47. package/dist/bundle/{chunk-HOXBHGP2.js → chunk-EPIA2UUM.js} +9 -9
  48. package/dist/bundle/{chunk-JJGUHWLB.js → chunk-FSLR2YGR.js} +6 -6
  49. package/dist/bundle/{chunk-7DTWT7BN.js → chunk-G5VH4WUF.js} +1 -1
  50. package/dist/bundle/{chunk-AWLZZTPW.js → chunk-GCPO7T2X.js} +2 -2
  51. package/dist/bundle/{chunk-W656MRJD.js → chunk-GCUOZ2OA.js} +4 -4
  52. package/dist/bundle/{chunk-2W6QGFHF.js → chunk-GGKEQQME.js} +5 -5
  53. package/dist/bundle/{chunk-BOVYOUB3.js → chunk-GRYXOSN6.js} +7 -7
  54. package/dist/bundle/{chunk-XOYMIEAZ.js → chunk-GVKZZT7E.js} +2 -2
  55. package/dist/bundle/{chunk-UQKVZFIX.js → chunk-HGSBLY6M.js} +11 -11
  56. package/dist/bundle/{chunk-Y64L7A7E.js → chunk-HH7GR6TN.js} +2 -2
  57. package/dist/bundle/{chunk-XEIL6VNA.js → chunk-IQWBGMCR.js} +3 -3
  58. package/dist/bundle/{chunk-TUECY6LV.js → chunk-JGSVWLL2.js} +1 -1
  59. package/dist/bundle/{chunk-P4WHDL2F.js → chunk-JJX4HKDV.js} +3 -3
  60. package/dist/bundle/{chunk-QRKSASGP.js → chunk-JXSEH64A.js} +2 -2
  61. package/dist/bundle/{chunk-LCCVEX4R.js → chunk-K672XJ2P.js} +10 -10
  62. package/dist/bundle/{chunk-I75KOOUD.js → chunk-L2TURFT6.js} +1 -1
  63. package/dist/bundle/{chunk-N5O3XVX3.js → chunk-L6FM5RQY.js} +2 -2
  64. package/dist/bundle/{chunk-RUE3WP7K.js → chunk-M4LAF627.js} +43 -21
  65. package/dist/bundle/{chunk-J62BQBVG.js → chunk-MH4L5LL6.js} +2 -2
  66. package/dist/bundle/{chunk-NKFEEY5M.js → chunk-N5YUHN6S.js} +10 -10
  67. package/dist/bundle/{chunk-PJFVE7UH.js → chunk-NMETTKCV.js} +30 -15
  68. package/dist/bundle/{chunk-P4MZOAPC.js → chunk-NRVMK5H3.js} +537 -400
  69. package/dist/bundle/{chunk-2GI63IPV.js → chunk-NXFKZFTC.js} +2 -2
  70. package/dist/bundle/{chunk-VX6ZSKXM.js → chunk-O4ZBFATF.js} +10 -10
  71. package/dist/bundle/{chunk-63WT3HCY.js → chunk-OXPHJEJ2.js} +1 -1
  72. package/dist/bundle/{chunk-RMQ7EALU.js → chunk-P2JTVRGU.js} +16 -16
  73. package/dist/bundle/{chunk-NI7UYGTF.js → chunk-PKW3TPNP.js} +11 -11
  74. package/dist/bundle/{chunk-525BI32C.js → chunk-PMO2Z6DQ.js} +2 -2
  75. package/dist/bundle/{chunk-U7QXC75C.js → chunk-Q5LUGY2V.js} +5 -5
  76. package/dist/bundle/{chunk-QX3PO5UE.js → chunk-Q6MISDKJ.js} +2 -2
  77. package/dist/bundle/{chunk-4S7RUA3U.js → chunk-RFXJLG5V.js} +7420 -7177
  78. package/dist/bundle/{chunk-TP7GDWVF.js → chunk-RT7C3SSJ.js} +1 -1
  79. package/dist/bundle/{chunk-DQVCCO7G.js → chunk-SUG6YGAF.js} +168 -154
  80. package/dist/bundle/{chunk-HVQVCGME.js → chunk-TDBVM2SS.js} +1 -1
  81. package/dist/bundle/{chunk-RJ5JAYNZ.js → chunk-TMYZKDQ7.js} +61 -61
  82. package/dist/bundle/{chunk-73L5R7AS.js → chunk-TNL3YQ33.js} +1 -1
  83. package/dist/bundle/{chunk-IIFRJV3A.js → chunk-U5N2PKKM.js} +2 -2
  84. package/dist/bundle/{chunk-AZB6QXZU.js → chunk-UX4JZMA4.js} +24 -2
  85. package/dist/bundle/{chunk-W53EJOFQ.js → chunk-VN7TKMOW.js} +1 -1
  86. package/dist/bundle/{chunk-FMT4CIGN.js → chunk-W2QDYMAM.js} +5 -5
  87. package/dist/bundle/{chunk-LITZ7KPO.js → chunk-W32HK7KG.js} +2 -2
  88. package/dist/bundle/{chunk-FKA7DOCK.js → chunk-W3GZ7JUO.js} +1 -1
  89. package/dist/bundle/{chunk-52ZQ72HL.js → chunk-W7M4JYEE.js} +1 -1
  90. package/dist/bundle/{chunk-DI5JX4SD.js → chunk-XKLU5KV2.js} +1 -1
  91. package/dist/bundle/{chunk-TLO62ROR.js → chunk-XL4ND7CZ.js} +23 -23
  92. package/dist/bundle/{chunk-D264RGZ4.js → chunk-XTCAWNBP.js} +4 -4
  93. package/dist/bundle/{chunk-OZQSTX4J.js → chunk-YAA2D6RP.js} +3 -3
  94. package/dist/bundle/{chunk-T6LA664Z.js → chunk-YR5TRWT2.js} +15 -15
  95. package/dist/bundle/{cli-AVQU63FT.js → cli-QNBYDOKV.js} +69 -67
  96. package/dist/bundle/command-contract-CT6MV6YG.js +45 -0
  97. package/dist/bundle/{command-server-entry-JZP7Y73G.js → command-server-entry-WMA4SWJ5.js} +28 -28
  98. package/dist/bundle/config-ZFQFDEVL.js +109 -0
  99. package/dist/bundle/{decode-JLAYH7GC.js → decode-7PXUXNIP.js} +2 -2
  100. package/dist/bundle/{dist-TBLTUL5M.js → dist-TSBH4FOU.js} +15 -15
  101. package/dist/bundle/{echarts-FVTUDXDU.js → echarts-WIDIUEO6.js} +2 -2
  102. package/dist/bundle/{embed-CJRENDF7.js → embed-EIRVQF5E.js} +3 -3
  103. package/dist/bundle/{embedder-RPE67QJD.js → embedder-MXPM6OXK.js} +6 -6
  104. package/dist/bundle/{first-run-QEASX5J5.js → first-run-K6EHRAIM.js} +6 -6
  105. package/dist/bundle/first-screen-C6AF4KT4.js +45 -0
  106. package/dist/bundle/{instructions-HET7BCYK.js → instructions-D5LNE6NJ.js} +1 -1
  107. package/dist/bundle/{main-QRJ6NRCD.js → main-OHW5Z56X.js} +15 -15
  108. package/dist/bundle/{meeting-combined-AZXCDXCV.js → meeting-combined-3OKFXZNA.js} +11 -11
  109. package/dist/bundle/{meeting-model-7HNQ4I3J.js → meeting-model-4XNF725D.js} +8 -8
  110. package/dist/bundle/{meeting-semantic-4MURLQCA.js → meeting-semantic-FYOVY4S2.js} +2 -2
  111. package/dist/bundle/{meetings-QFZWKHI4.js → meetings-WI4SXPBJ.js} +1 -1
  112. package/dist/bundle/{node-CXZIFHZC.js → node-UEWUFR7N.js} +2 -2
  113. package/dist/bundle/{node-sqlite-CZPYFROO.js → node-sqlite-FJWKJHYU.js} +4 -4
  114. package/dist/bundle/{oauth-T45MPIZF.js → oauth-KOONTGLW.js} +4 -4
  115. package/dist/bundle/{open-3AONZFET.js → open-EFYTWUGC.js} +2 -2
  116. package/dist/bundle/{openai-LHWUXEBO.js → openai-6Y2JRDNY.js} +10 -10
  117. package/dist/bundle/{process-5RUXWGYS.js → process-U5PLNIDC.js} +1 -1
  118. package/dist/bundle/{program-2O4YSRWY.js → program-3JICCSA6.js} +81 -80
  119. package/dist/bundle/{prompt-NDLUFCJV.js → prompt-YPDMSOKC.js} +2 -2
  120. package/dist/bundle/{recognize-CZOIAJQX.js → recognize-Z2SSWUKH.js} +1 -1
  121. package/dist/bundle/{remote-O3CE4Q3B.js → remote-R5HMDHOG.js} +6 -6
  122. package/dist/bundle/{rerank-MZOL746K.js → rerank-6NGBEMQ2.js} +4 -4
  123. package/dist/bundle/{run-log-GX6LNMWY.js → run-log-LG3TI3WI.js} +67 -67
  124. package/dist/bundle/{serve-43IBHMFM.js → serve-CU3RMWU7.js} +6 -6
  125. package/dist/bundle/{server-6LTMPPTO.js → server-SOQSVX2Q.js} +50 -50
  126. package/dist/bundle/server-X7JYRMKX.js +85 -0
  127. package/dist/bundle/{services-UIRD5PHE.js → services-LROZ3RDT.js} +42 -42
  128. package/dist/bundle/{speech-6QVKIJVR.js → speech-AS77HFIF.js} +19 -19
  129. package/dist/bundle/{sqlite-runtime-PKCIBVHZ.js → sqlite-runtime-U25NS6BK.js} +3 -3
  130. package/dist/bundle/{state-AC55V3IE.js → state-CPEVKK66.js} +3 -3
  131. package/dist/bundle/{store-OAGA2ZK3.js → store-6CHRMJM7.js} +20 -18
  132. package/dist/bundle/{store-QOCYJNKX.js → store-QKHCZOYR.js} +20 -20
  133. package/dist/bundle/store-connection-FCDVOPWB.js +102 -0
  134. package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +77 -0
  135. package/dist/bundle/{tokens-LN442AO6.js → tokens-JBN2OHQB.js} +4 -4
  136. package/dist/bundle/zm.js +2 -2
  137. package/dist/bundle/{zoom-app-TOCQ7LB5.js → zoom-app-Q4IKYNG3.js} +2 -2
  138. package/dist/program-bindings.d.ts.map +1 -1
  139. package/dist/program-bindings.js +2 -2
  140. package/dist/program-bindings.js.map +1 -1
  141. package/dist/version.d.ts +1 -1
  142. package/dist/version.js +1 -1
  143. package/package.json +2 -2
  144. package/dist/bundle/answer-policy-VJK4ID2F.js +0 -122
  145. package/dist/bundle/command-contract-MCWBL5VS.js +0 -45
  146. package/dist/bundle/config-G3C54VH6.js +0 -109
  147. package/dist/bundle/first-screen-NGCQD3CU.js +0 -45
  148. package/dist/bundle/server-3E2PJGYK.js +0 -85
  149. package/dist/bundle/store-connection-PBZMFY56.js +0 -102
  150. package/dist/bundle/store-maintenance-command-VBCHEOGI.js +0 -77
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-5KEOCHBZ.js";
8
+ } from "./chunk-CW6CPQHI.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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");
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -8,25 +8,25 @@ import {
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-XEIL6VNA.js";
11
+ } from "./chunk-IQWBGMCR.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-YOBTKYIX.js";
15
+ } from "./chunk-EMYRUJCV.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-ZKVYV25H.js";
18
+ } from "./chunk-6MDL2LZA.js";
19
19
  import {
20
20
  installerOf
21
21
  } from "./chunk-O3DYRCIT.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-73L5R7AS.js";
24
+ } from "./chunk-TNL3YQ33.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-OAGA2ZK3.js");
87
+ const { openStore } = await import("./store-6CHRMJM7.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-3AONZFET.js"),
117
- import("./store-maintenance-command-VBCHEOGI.js")
116
+ import("./open-EFYTWUGC.js"),
117
+ import("./store-maintenance-command-6HVOAHOZ.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-NGCQD3CU.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-C6AF4KT4.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
200
200
  // `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
201
201
  all: start.path.length === 1 && start.path[0] === "setup",
202
202
  io: {
203
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-NDLUFCJV.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-YPDMSOKC.js")).readSecret(prompt, { input, echo: true }), "ask"),
204
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
205
205
  `), "say")
206
206
  }
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  sharedModel
5
- } from "./chunk-2W6QGFHF.js";
5
+ } from "./chunk-GGKEQQME.js";
6
6
  import {
7
7
  answerOf,
8
8
  messengerContext
9
- } from "./chunk-2PUMYKGV.js";
9
+ } from "./chunk-4F7Q5CET.js";
10
10
  import {
11
11
  chatEventAnswer,
12
12
  memberAnswer,
13
13
  pollVoteAnswer,
14
14
  serveRelay
15
- } from "./chunk-3AFZ6Q5N.js";
15
+ } from "./chunk-3BTRJYIT.js";
16
16
  import {
17
17
  holdLock,
18
18
  lockPath,
19
19
  releaseLock,
20
20
  servingProfiles,
21
21
  takeLock
22
- } from "./chunk-J62BQBVG.js";
22
+ } from "./chunk-MH4L5LL6.js";
23
23
  import {
24
24
  FETCHING,
25
25
  RULES_VERSION,
@@ -36,18 +36,18 @@ import {
36
36
  syncsOneChat,
37
37
  typedQuery,
38
38
  withQuery
39
- } from "./chunk-4S7RUA3U.js";
39
+ } from "./chunk-RFXJLG5V.js";
40
40
  import {
41
41
  embeddingKeys,
42
42
  endpointKeyName,
43
43
  modelGateway
44
- } from "./chunk-HOXBHGP2.js";
44
+ } from "./chunk-EPIA2UUM.js";
45
45
  import {
46
46
  withTimeLimit
47
- } from "./chunk-65DOVVHQ.js";
47
+ } from "./chunk-5K54M6RD.js";
48
48
  import {
49
49
  renderMessages
50
- } from "./chunk-TUECY6LV.js";
50
+ } from "./chunk-JGSVWLL2.js";
51
51
  import {
52
52
  QUICK_HEALTH_CHECKS,
53
53
  fts5Tables,
@@ -55,7 +55,7 @@ import {
55
55
  lossUnknown,
56
56
  storeDamageReport,
57
57
  storeHealth
58
- } from "./chunk-RMQ7EALU.js";
58
+ } from "./chunk-P2JTVRGU.js";
59
59
  import {
60
60
  Command,
61
61
  LOCAL_READ,
@@ -81,19 +81,19 @@ import {
81
81
  snakeKeys,
82
82
  storeTable,
83
83
  withoutProviderRefs
84
- } from "./chunk-DQVCCO7G.js";
84
+ } from "./chunk-SUG6YGAF.js";
85
85
  import {
86
86
  modelTarget
87
- } from "./chunk-FO5UNFFN.js";
87
+ } from "./chunk-5CJ6AAUI.js";
88
88
  import {
89
89
  holdersOf
90
- } from "./chunk-W53EJOFQ.js";
90
+ } from "./chunk-VN7TKMOW.js";
91
91
  import {
92
92
  levelFor
93
- } from "./chunk-2OTETB4A.js";
93
+ } from "./chunk-DYRISFHZ.js";
94
94
  import {
95
95
  readSecret
96
- } from "./chunk-QX3PO5UE.js";
96
+ } from "./chunk-Q6MISDKJ.js";
97
97
  import {
98
98
  CORPORA,
99
99
  MIGRATIONS,
@@ -129,30 +129,30 @@ import {
129
129
  storeClients,
130
130
  storeContents,
131
131
  vectorIndexCounts
132
- } from "./chunk-P4MZOAPC.js";
132
+ } from "./chunk-NRVMK5H3.js";
133
133
  import {
134
134
  readDamageMark,
135
135
  readHealthMark,
136
136
  readJournalMark,
137
137
  recordDeepCheck
138
- } from "./chunk-RUE3WP7K.js";
138
+ } from "./chunk-M4LAF627.js";
139
139
  import {
140
140
  currentRun
141
- } from "./chunk-OLMEJNL4.js";
141
+ } from "./chunk-2P6MQH4V.js";
142
142
  import {
143
143
  failureKey,
144
144
  isStoreDamage
145
- } from "./chunk-ND7TBQKO.js";
145
+ } from "./chunk-6I4C4ZFT.js";
146
146
  import {
147
147
  formatLocator,
148
148
  parseLocator
149
- } from "./chunk-NI7UYGTF.js";
149
+ } from "./chunk-PKW3TPNP.js";
150
150
  import {
151
151
  storePath
152
- } from "./chunk-73L5R7AS.js";
152
+ } from "./chunk-TNL3YQ33.js";
153
153
  import {
154
154
  openCache
155
- } from "./chunk-W5HRTC6X.js";
155
+ } from "./chunk-7U5X37TE.js";
156
156
  import {
157
157
  queryFieldsOf
158
158
  } from "./chunk-Z3CPZ4I4.js";
@@ -5523,11 +5523,11 @@ var require_liquid_node = __commonJS({
5523
5523
  }
5524
5524
  });
5525
5525
 
5526
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5526
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5527
5527
  import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5528
5528
  import { dirname as dirname3, resolve } from "node:path";
5529
5529
 
5530
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sealed.js
5530
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/sealed.js
5531
5531
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5532
5532
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5533
5533
  import { Transform } from "node:stream";
@@ -5634,7 +5634,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5634
5634
  renameSync(pending, to);
5635
5635
  }, "unsealFile");
5636
5636
 
5637
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5637
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5638
5638
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5639
5639
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5640
5640
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5658,7 +5658,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5658
5658
  };
5659
5659
  }, "compatibilityOf");
5660
5660
 
5661
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/repair.js
5661
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/repair.js
5662
5662
  import { createHash as createHash2 } from "node:crypto";
5663
5663
  var COPY_MARK = "__repair_";
5664
5664
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5912,19 +5912,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5912
5912
  return found;
5913
5913
  }, "deleteCopy");
5914
5914
 
5915
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5915
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5916
5916
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5917
5917
 
5918
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5918
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5919
5919
  import { existsSync as existsSync3 } from "node:fs";
5920
5920
 
5921
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/recover.js
5921
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/recover.js
5922
5922
  import { execFileSync, spawn } from "node:child_process";
5923
5923
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5924
5924
  import { basename, dirname, join } from "node:path";
5925
5925
  import { Transform as Transform2 } from "node:stream";
5926
5926
 
5927
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/refill.js
5927
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/refill.js
5928
5928
  var REFILL_MARGIN_MS = 864e5;
5929
5929
  var TIME_KEYS = 1e12;
5930
5930
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6004,7 +6004,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6004
6004
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6005
6005
  }, "forgetMail");
6006
6006
 
6007
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/recover.js
6007
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/recover.js
6008
6008
  var SQLITE3_MINIMUM = [3, 43, 0];
6009
6009
  var STORE_PARTS = ["", "-wal", "-shm"];
6010
6010
  var RECOVER_LOCK = ".recover-lock";
@@ -6533,7 +6533,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6533
6533
  }
6534
6534
  }, "recoverLocked");
6535
6535
 
6536
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6536
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6537
6537
  var COUNTED = [
6538
6538
  "accounts",
6539
6539
  "chats",
@@ -6689,7 +6689,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6689
6689
  return recover;
6690
6690
  }, "storeRecoverCommand");
6691
6691
 
6692
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6692
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6693
6693
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6694
6694
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6695
6695
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6739,7 +6739,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
6739
6739
  return app ? store.addCommand(storeRecoverCommand(app)) : store;
6740
6740
  }, "sharedStoreCommand");
6741
6741
 
6742
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6742
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6743
6743
  var ENCRYPT_OPTION = [
6744
6744
  "--encrypt",
6745
6745
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -6758,7 +6758,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6758
6758
  return password;
6759
6759
  }, "passwordOf");
6760
6760
 
6761
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/rules.js
6761
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/rules.js
6762
6762
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6763
6763
  import { join as join2 } from "node:path";
6764
6764
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6929,7 +6929,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6929
6929
  }, "problem");
6930
6930
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6931
6931
 
6932
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/state.js
6932
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/state.js
6933
6933
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6934
6934
  import { join as join3 } from "node:path";
6935
6935
  var ANSWERED_KEPT = 1e3;
@@ -6982,7 +6982,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6982
6982
  }, "recordReply");
6983
6983
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6984
6984
 
6985
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/decide.js
6985
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/decide.js
6986
6986
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6987
6987
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6988
6988
  const { message, chat, owner, sender } = incoming;
@@ -7088,10 +7088,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7088
7088
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7089
7089
  }, "filled");
7090
7090
 
7091
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/template.js
7091
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/template.js
7092
7092
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7093
7093
 
7094
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/render/liquid.js
7094
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/render/liquid.js
7095
7095
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7096
7096
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7097
7097
  const engine = new import_liquidjs.Liquid({
@@ -7118,7 +7118,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7118
7118
  return engine;
7119
7119
  }, "safeLiquid");
7120
7120
 
7121
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/template.js
7121
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/template.js
7122
7122
  var TEMPLATE_LIMITS = {
7123
7123
  parse: 32768,
7124
7124
  renders: 2e3,
@@ -7257,7 +7257,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7257
7257
  }
7258
7258
  }, "renderReplyTemplate");
7259
7259
 
7260
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7260
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7261
7261
  var DRY_RUN_DAYS = 7;
7262
7262
  var PAGE = 500;
7263
7263
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7371,7 +7371,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7371
7371
  }
7372
7372
  }, "storedSince");
7373
7373
 
7374
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/models/purpose.js
7374
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/models/purpose.js
7375
7375
  var HOSTED = {
7376
7376
  openai: "https://api.openai.com/v1",
7377
7377
  anthropic: "https://api.anthropic.com"
@@ -7392,7 +7392,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7392
7392
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7393
7393
  }, "purposeModel");
7394
7394
 
7395
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/consents.js
7395
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/consents.js
7396
7396
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7397
7397
  import { join as join4 } from "node:path";
7398
7398
  var shape = strictObject({
@@ -7417,7 +7417,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7417
7417
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7418
7418
  }, "mayModelReply");
7419
7419
 
7420
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7420
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7421
7421
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7422
7422
  ai: true
7423
7423
  }) => async (rule2, message, chat, now) => {
@@ -7465,7 +7465,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7465
7465
  return result2;
7466
7466
  }, "replyRenderer");
7467
7467
 
7468
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/replies/serve.js
7468
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/replies/serve.js
7469
7469
  var NOT_ALLOWED = "replies.send is not allow";
7470
7470
  var NO_RULES = "no rules";
7471
7471
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7558,7 +7558,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7558
7558
  return { skip: why };
7559
7559
  }, "replyTo");
7560
7560
 
7561
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7561
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7562
7562
  var START_SYNC_DELAY_MS = 3e4;
7563
7563
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7564
7564
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7635,7 +7635,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7635
7635
  };
7636
7636
  }, "startSync");
7637
7637
 
7638
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7638
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7639
7639
  var FIRST_FETCH_MS = 6e4;
7640
7640
  var DAY_MS = 864e5;
7641
7641
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7689,7 +7689,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7689
7689
  };
7690
7690
  }, "memberFetches");
7691
7691
 
7692
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7692
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7693
7693
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7694
7694
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7695
7695
  if (context.format === "pretty") {
@@ -7722,7 +7722,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7722
7722
  return context;
7723
7723
  }, "recordDiagnostics");
7724
7724
 
7725
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7725
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7726
7726
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7727
7727
  import { dirname as dirname2, join as join5 } from "node:path";
7728
7728
  var OUTDATED_CHECK_MS = 6e4;
@@ -7808,7 +7808,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7808
7808
  };
7809
7809
  }, "watchOutdated");
7810
7810
 
7811
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7811
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7812
7812
  var STEMS_EVERY_MS = 3e4;
7813
7813
  var STEMS_SLICE_MS = 2e3;
7814
7814
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7848,7 +7848,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7848
7848
  };
7849
7849
  }, "stemFills");
7850
7850
 
7851
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7851
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7852
7852
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7853
7853
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7854
7854
  kind: attachment.kind,
@@ -7944,7 +7944,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7944
7944
  locale: messenger.app.locale
7945
7945
  }), "viewOf");
7946
7946
 
7947
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7947
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7948
7948
  var observed = /* @__PURE__ */ __name((value) => ({
7949
7949
  value: value.value,
7950
7950
  observed_at: value.observedAt,
@@ -8011,7 +8011,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8011
8011
  }
8012
8012
  }, "watchEventItem");
8013
8013
 
8014
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8014
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8015
8015
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8016
8016
  output: { entity: "watch_item" },
8017
8017
  effects: REMOTE_READ,
@@ -8166,7 +8166,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8166
8166
  }
8167
8167
  }, "describe");
8168
8168
 
8169
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8169
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8170
8170
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8171
8171
  const command = annotate(new Command("serve"), {
8172
8172
  output: { entity: "serve_summary" },
@@ -8452,7 +8452,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8452
8452
  };
8453
8453
  }, "tasking");
8454
8454
 
8455
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8455
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8456
8456
  import { existsSync as existsSync9 } from "node:fs";
8457
8457
  var PATH = "store tables list";
8458
8458
  var STORE_TABLES_QUERY = {
@@ -8495,7 +8495,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8495
8495
  return tables;
8496
8496
  }, "storeTablesCommand");
8497
8497
 
8498
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8498
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8499
8499
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8500
8500
  var WORD_INDEX = "message_words";
8501
8501
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-73L5R7AS.js";
5
+ } from "./chunk-TNL3YQ33.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-ST3ZB7LS.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/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");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -5,19 +5,19 @@ import {
5
5
  openRemote,
6
6
  remoteKey,
7
7
  remoteModel
8
- } from "./chunk-4T3J4NCF.js";
8
+ } from "./chunk-ARL2TTPZ.js";
9
9
  import {
10
10
  isTextModelInstalled,
11
11
  openEmbedder,
12
12
  textModelsDirectory
13
- } from "./chunk-3QPAD6YI.js";
13
+ } from "./chunk-BPSURRAD.js";
14
14
  import {
15
15
  textModel,
16
16
  vectorModelKey
17
- } from "./chunk-W656MRJD.js";
17
+ } from "./chunk-GCUOZ2OA.js";
18
18
  import {
19
19
  endpointFetch
20
- } from "./chunk-HVQVCGME.js";
20
+ } from "./chunk-TDBVM2SS.js";
21
21
  import {
22
22
  CliError
23
23
  } from "./chunk-ST3ZB7LS.js";
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
29
29
  var integer = /* @__PURE__ */ __name((value, name, max) => {
30
30
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
31
31
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  import { readFileSync } from "node:fs";
12
12
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
13
13
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");