@wirecat/zoom-cli 0.78.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 (182) 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-7JN3N3E6.js → all-profiles-5GOKWOT4.js} +11 -11
  6. package/dist/bundle/answer-policy-7PYXHK2I.js +122 -0
  7. package/dist/bundle/{anthropic-U6O7UYGZ.js → anthropic-NHXMOFYS.js} +6 -6
  8. package/dist/bundle/{app-server-G7BTC6CE.js → app-server-HFW5Z5PI.js} +68 -68
  9. package/dist/bundle/{bun-VLROVUFK.js → bun-M5IGY2TG.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-C5JLANDE.js → bun-sqlite-MTP5JJQ2.js} +7 -7
  11. package/dist/bundle/{chunk-7HEZQCHL.js → chunk-2P6MQH4V.js} +6 -6
  12. package/dist/bundle/{chunk-HGBZBQAE.js → chunk-2XZ2YKW4.js} +3 -3
  13. package/dist/bundle/{chunk-3NZJKY7A.js → chunk-3AOESMW6.js} +34 -24
  14. package/dist/bundle/{chunk-HI4QICF7.js → chunk-3BTRJYIT.js} +12 -12
  15. package/dist/bundle/{chunk-GQ6EJDMV.js → chunk-3UONR5HW.js} +1 -1
  16. package/dist/bundle/{chunk-NS5XSCHC.js → chunk-3Z7CFQTI.js} +1 -1
  17. package/dist/bundle/{chunk-RJIJR6KH.js → chunk-475P3LWG.js} +1 -1
  18. package/dist/bundle/{chunk-MVLLWSV7.js → chunk-4F7Q5CET.js} +16 -16
  19. package/dist/bundle/{chunk-7K5O2VWO.js → chunk-4OAR7BGU.js} +1 -1
  20. package/dist/bundle/{chunk-ZZJ5IWNT.js → chunk-5CJ6AAUI.js} +4 -4
  21. package/dist/bundle/{chunk-4XPVRZXE.js → chunk-5K54M6RD.js} +1 -1
  22. package/dist/bundle/{chunk-LX532BXO.js → chunk-5QXQIZJY.js} +1 -1
  23. package/dist/bundle/{chunk-WJTXO2EI.js → chunk-5RVXXDN7.js} +1 -1
  24. package/dist/bundle/{chunk-M5R2DURM.js → chunk-5XO2AY6D.js} +10 -10
  25. package/dist/bundle/{chunk-MSMFYW6N.js → chunk-6CDMGT6Q.js} +2 -2
  26. package/dist/bundle/{chunk-AEVSVVTP.js → chunk-6I4C4ZFT.js} +2 -2
  27. package/dist/bundle/{chunk-YNYQGZUW.js → chunk-6LY4LBSD.js} +7 -7
  28. package/dist/bundle/{chunk-OOLNK3Y5.js → chunk-6MDL2LZA.js} +8 -8
  29. package/dist/bundle/{chunk-532FNLON.js → chunk-6PIXP5IH.js} +20 -20
  30. package/dist/bundle/{chunk-VMA7SILL.js → chunk-6QCBTBDA.js} +1 -1
  31. package/dist/bundle/{chunk-BIUHLXL2.js → chunk-75JW7X2W.js} +33 -33
  32. package/dist/bundle/{chunk-FXHZHQKU.js → chunk-7U5X37TE.js} +6 -6
  33. package/dist/bundle/{chunk-VW36ZSAE.js → chunk-A3TUG2DP.js} +1 -1
  34. package/dist/bundle/{chunk-FCGRXUAU.js → chunk-ARL2TTPZ.js} +9 -9
  35. package/dist/bundle/{chunk-TXDCIM5D.js → chunk-BIKHHFD2.js} +1162 -771
  36. package/dist/bundle/{chunk-OAYAGQ7C.js → chunk-BNEJKGG7.js} +31 -22
  37. package/dist/bundle/{chunk-P5QO7Y3H.js → chunk-BPSURRAD.js} +6 -6
  38. package/dist/bundle/{chunk-6MFEWAK4.js → chunk-BRMV33MO.js} +4 -4
  39. package/dist/bundle/{chunk-HOJOVUO6.js → chunk-BW5JEOBE.js} +12 -12
  40. package/dist/bundle/{chunk-HUSIS3XO.js → chunk-CHEHK6IW.js} +64 -61
  41. package/dist/bundle/{chunk-XCOGI4JE.js → chunk-CW6CPQHI.js} +4 -4
  42. package/dist/bundle/{chunk-BAHXR4PA.js → chunk-CWCDCNXA.js} +6 -6
  43. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
  44. package/dist/bundle/{chunk-F7IDYQLM.js → chunk-D4HKTC2T.js} +2 -2
  45. package/dist/bundle/{chunk-YZKVCTZI.js → chunk-DYRISFHZ.js} +8 -8
  46. package/dist/bundle/{chunk-OI4563JI.js → chunk-DZ6H3YJH.js} +13 -13
  47. package/dist/bundle/{chunk-YHQ3TEGB.js → chunk-E3JVLVVB.js} +29 -27
  48. package/dist/bundle/{chunk-MJMHUU3J.js → chunk-EI37UXDR.js} +1 -1
  49. package/dist/bundle/{chunk-3A3B3JX4.js → chunk-EMYRUJCV.js} +35 -12
  50. package/dist/bundle/{chunk-B4V4DRVO.js → chunk-EPIA2UUM.js} +12 -12
  51. package/dist/bundle/{chunk-H74NENWA.js → chunk-FIJREKLA.js} +3 -3
  52. package/dist/bundle/chunk-FPUGMDJV.js +7 -0
  53. package/dist/bundle/{chunk-JOIAE3NO.js → chunk-FSLR2YGR.js} +7 -7
  54. package/dist/bundle/{chunk-2LMD3JUD.js → chunk-G5VH4WUF.js} +2 -2
  55. package/dist/bundle/{chunk-LERF2FIK.js → chunk-GCPO7T2X.js} +3 -3
  56. package/dist/bundle/{chunk-IBINGDYF.js → chunk-GCUOZ2OA.js} +6 -6
  57. package/dist/bundle/{chunk-XSF5OBVZ.js → chunk-GGKEQQME.js} +8 -8
  58. package/dist/bundle/{chunk-H34KEXTN.js → chunk-GRYXOSN6.js} +10 -10
  59. package/dist/bundle/{chunk-DLJPN47R.js → chunk-GVKZZT7E.js} +6 -5
  60. package/dist/bundle/{chunk-M2M3U4UU.js → chunk-HGSBLY6M.js} +12 -12
  61. package/dist/bundle/{chunk-7AMKSXMB.js → chunk-HH7GR6TN.js} +6 -6
  62. package/dist/bundle/{chunk-WOYPWXZK.js → chunk-IQWBGMCR.js} +4 -4
  63. package/dist/bundle/{chunk-F2KZNAFF.js → chunk-JGSVWLL2.js} +2 -2
  64. package/dist/bundle/{chunk-XOG7B7K5.js → chunk-JJX4HKDV.js} +4 -4
  65. package/dist/bundle/{chunk-C56OYYFG.js → chunk-JXSEH64A.js} +3 -3
  66. package/dist/bundle/{chunk-Q4AKIAIA.js → chunk-K672XJ2P.js} +12 -12
  67. package/dist/bundle/{chunk-LBV4673S.js → chunk-L2TURFT6.js} +3 -3
  68. package/dist/bundle/{chunk-H7SRM26V.js → chunk-L6FM5RQY.js} +3 -3
  69. package/dist/bundle/{chunk-EV7QCFQR.js → chunk-M4LAF627.js} +45 -23
  70. package/dist/bundle/{chunk-B6TUEQ4O.js → chunk-MH4L5LL6.js} +3 -3
  71. package/dist/bundle/{chunk-5SM2IOAS.js → chunk-N5YUHN6S.js} +14 -29
  72. package/dist/bundle/{chunk-TEFHNXXX.js → chunk-NMETTKCV.js} +31 -16
  73. package/dist/bundle/{chunk-6NTNAEZF.js → chunk-NRVMK5H3.js} +1390 -1039
  74. package/dist/bundle/{chunk-53TV72JG.js → chunk-NXFKZFTC.js} +2 -2
  75. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
  76. package/dist/bundle/{chunk-XXD4YPHQ.js → chunk-O4ZBFATF.js} +12 -12
  77. package/dist/bundle/{chunk-UKYO3HNO.js → chunk-ONJPUFLX.js} +1 -1
  78. package/dist/bundle/{chunk-WEAMGNST.js → chunk-OXPHJEJ2.js} +3 -3
  79. package/dist/bundle/{chunk-ZDZASHSQ.js → chunk-P2JTVRGU.js} +17 -17
  80. package/dist/bundle/{chunk-U2Z35B3W.js → chunk-PCPOO5FS.js} +2 -2
  81. package/dist/bundle/{chunk-7IIQU5RA.js → chunk-PKW3TPNP.js} +13 -13
  82. package/dist/bundle/{chunk-5DLK4OXF.js → chunk-PMO2Z6DQ.js} +3 -3
  83. package/dist/bundle/{chunk-3QWYRZME.js → chunk-Q5LUGY2V.js} +8 -8
  84. package/dist/bundle/{chunk-KBTINKQF.js → chunk-Q6MISDKJ.js} +3 -3
  85. package/dist/bundle/{chunk-BGO7IEHY.js → chunk-QIK2IBJ4.js} +21 -7
  86. package/dist/bundle/{chunk-2AWWMROP.js → chunk-RFXJLG5V.js} +7495 -7138
  87. package/dist/bundle/{chunk-UHBQM54J.js → chunk-RMX2WPWS.js} +4 -4
  88. package/dist/bundle/{chunk-2USGT7LE.js → chunk-RT7C3SSJ.js} +1 -1
  89. package/dist/bundle/{chunk-FNLXFQN6.js → chunk-ST3ZB7LS.js} +1 -1
  90. package/dist/bundle/{chunk-INJK7FNM.js → chunk-SUG6YGAF.js} +201 -175
  91. package/dist/bundle/{chunk-FURKMNC2.js → chunk-TDBVM2SS.js} +3 -3
  92. package/dist/bundle/{chunk-FHOQWPQ6.js → chunk-TMYZKDQ7.js} +307 -268
  93. package/dist/bundle/{chunk-LBTANUUH.js → chunk-TNL3YQ33.js} +2 -2
  94. package/dist/bundle/{chunk-V53TIJLY.js → chunk-U5N2PKKM.js} +2 -2
  95. package/dist/bundle/{chunk-FMMCGQNT.js → chunk-UX4JZMA4.js} +28 -4
  96. package/dist/bundle/{chunk-ZCVO6GAT.js → chunk-VN7TKMOW.js} +1 -1
  97. package/dist/bundle/{chunk-OAE6XR7E.js → chunk-W2QDYMAM.js} +7 -7
  98. package/dist/bundle/{chunk-2O66KMOR.js → chunk-W32HK7KG.js} +2 -2
  99. package/dist/bundle/{chunk-UIBKGH5P.js → chunk-W3GZ7JUO.js} +1 -1
  100. package/dist/bundle/{chunk-ORSTSBWU.js → chunk-W7M4JYEE.js} +1 -1
  101. package/dist/bundle/{chunk-KEAKNNXU.js → chunk-XIHENZW6.js} +4 -4
  102. package/dist/bundle/{chunk-C26V2XNV.js → chunk-XKLU5KV2.js} +1 -1
  103. package/dist/bundle/{chunk-Q4CNLEAY.js → chunk-XL4ND7CZ.js} +26 -26
  104. package/dist/bundle/{chunk-7EVB4UV7.js → chunk-XTCAWNBP.js} +4 -4
  105. package/dist/bundle/{chunk-4QCLPSJ7.js → chunk-YAA2D6RP.js} +5 -5
  106. package/dist/bundle/{chunk-YLNUKNGD.js → chunk-YR5TRWT2.js} +35 -34
  107. package/dist/bundle/{chunk-TFDD4Q5Z.js → chunk-Z3CPZ4I4.js} +10 -10
  108. package/dist/bundle/{chunk-PJMQE4PW.js → chunk-ZPZT46O6.js} +15 -9
  109. package/dist/bundle/{cli-YALONJ4V.js → cli-QNBYDOKV.js} +91 -77
  110. package/dist/bundle/command-contract-CT6MV6YG.js +45 -0
  111. package/dist/bundle/{command-server-entry-W4XTBUZE.js → command-server-entry-WMA4SWJ5.js} +35 -35
  112. package/dist/bundle/config-ZFQFDEVL.js +109 -0
  113. package/dist/bundle/{decode-IFQHVCFX.js → decode-7PXUXNIP.js} +6 -6
  114. package/dist/bundle/{dispatch-GOJB4TDK.js → dispatch-AWDROXWN.js} +9 -9
  115. package/dist/bundle/{dist-H7XFUMRX.js → dist-TSBH4FOU.js} +21 -21
  116. package/dist/bundle/{echarts-HPUHPJCO.js → echarts-WIDIUEO6.js} +2 -2
  117. package/dist/bundle/{embed-ESU3WZYW.js → embed-EIRVQF5E.js} +7 -7
  118. package/dist/bundle/{embedder-BV6O76B3.js → embedder-MXPM6OXK.js} +10 -10
  119. package/dist/bundle/{failure-SWVCYFQX.js → failure-JZW73RP7.js} +3 -3
  120. package/dist/bundle/first-run-K6EHRAIM.js +29 -0
  121. package/dist/bundle/first-screen-C6AF4KT4.js +45 -0
  122. package/dist/bundle/{folders-VQGKBM3P.js → folders-TGFOE7DY.js} +5 -5
  123. package/dist/bundle/{instructions-UUX57I3V.js → instructions-D5LNE6NJ.js} +1 -1
  124. package/dist/bundle/{main-UIKADOFB.js → main-OHW5Z56X.js} +24 -24
  125. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
  126. package/dist/bundle/meeting-combined-3OKFXZNA.js +26 -0
  127. package/dist/bundle/meeting-model-4XNF725D.js +26 -0
  128. package/dist/bundle/{meeting-semantic-F6GUICB7.js → meeting-semantic-FYOVY4S2.js} +8 -8
  129. package/dist/bundle/{meetings-KIBUPLPW.js → meetings-WI4SXPBJ.js} +9 -7
  130. package/dist/bundle/{node-AM3JCAWB.js → node-UEWUFR7N.js} +2 -2
  131. package/dist/bundle/{node-sqlite-VM6VS3RU.js → node-sqlite-FJWKJHYU.js} +8 -8
  132. package/dist/bundle/{oauth-AX5Z32H6.js → oauth-KOONTGLW.js} +8 -8
  133. package/dist/bundle/{open-SSGOOOZG.js → open-EFYTWUGC.js} +6 -6
  134. package/dist/bundle/openai-6Y2JRDNY.js +28 -0
  135. package/dist/bundle/{output-file-FR226A64.js → output-file-J4SU6X4I.js} +6 -6
  136. package/dist/bundle/{process-5ZEK2VFY.js → process-U5PLNIDC.js} +1 -1
  137. package/dist/bundle/{program-ROJAJHCB.js → program-3JICCSA6.js} +98 -95
  138. package/dist/bundle/{prompt-6Y7A4453.js → prompt-YPDMSOKC.js} +6 -6
  139. package/dist/bundle/{recognize-R5W25WKH.js → recognize-Z2SSWUKH.js} +5 -5
  140. package/dist/bundle/{remote-PA4FQUZK.js → remote-R5HMDHOG.js} +11 -11
  141. package/dist/bundle/{rerank-CYX3UFTM.js → rerank-6NGBEMQ2.js} +8 -8
  142. package/dist/bundle/run-log-LG3TI3WI.js +136 -0
  143. package/dist/bundle/{serve-MM5QEZJW.js → serve-CU3RMWU7.js} +10 -10
  144. package/dist/bundle/{server-JQQAH7E5.js → server-SOQSVX2Q.js} +60 -60
  145. package/dist/bundle/server-X7JYRMKX.js +85 -0
  146. package/dist/bundle/{services-Y2DOQONM.js → services-LROZ3RDT.js} +54 -54
  147. package/dist/bundle/{speech-O6WLX34V.js → speech-AS77HFIF.js} +25 -25
  148. package/dist/bundle/{sqlite-runtime-LQTBZMFH.js → sqlite-runtime-U25NS6BK.js} +7 -7
  149. package/dist/bundle/{state-AIDPZLVH.js → state-CPEVKK66.js} +7 -7
  150. package/dist/bundle/{store-BA4FQS5V.js → store-6CHRMJM7.js} +28 -24
  151. package/dist/bundle/{store-UNDS2TBG.js → store-QKHCZOYR.js} +26 -26
  152. package/dist/bundle/store-connection-FCDVOPWB.js +102 -0
  153. package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +77 -0
  154. package/dist/bundle/{streaming-UFHT5MR2.js → streaming-VDJOYGMO.js} +7 -7
  155. package/dist/bundle/{tokens-Z32UKGQB.js → tokens-JBN2OHQB.js} +10 -10
  156. package/dist/bundle/zm.js +9 -9
  157. package/dist/bundle/{zoom-app-6U46XBTG.js → zoom-app-Q4IKYNG3.js} +8 -8
  158. package/dist/program-bindings.d.ts.map +1 -1
  159. package/dist/program-bindings.js +3 -2
  160. package/dist/program-bindings.js.map +1 -1
  161. package/dist/store-commands.d.ts.map +1 -1
  162. package/dist/store-commands.js +2 -2
  163. package/dist/store-commands.js.map +1 -1
  164. package/dist/tokens.d.ts.map +1 -1
  165. package/dist/tokens.js +3 -0
  166. package/dist/tokens.js.map +1 -1
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +4 -3
  170. package/dist/bundle/answer-policy-G2BNMPEX.js +0 -122
  171. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  172. package/dist/bundle/command-contract-DMR5EOIN.js +0 -45
  173. package/dist/bundle/config-4TLDRXRL.js +0 -109
  174. package/dist/bundle/first-run-OEJGAQAE.js +0 -29
  175. package/dist/bundle/first-screen-QLM4IABL.js +0 -45
  176. package/dist/bundle/meeting-combined-SKJISCC7.js +0 -26
  177. package/dist/bundle/meeting-model-YG3Z5KCB.js +0 -26
  178. package/dist/bundle/openai-YIP73X2B.js +0 -28
  179. package/dist/bundle/run-log-FHERL3H6.js +0 -136
  180. package/dist/bundle/server-W2BBONCQ.js +0 -85
  181. package/dist/bundle/store-connection-ADBJ36T4.js +0 -102
  182. package/dist/bundle/store-maintenance-command-IB6ML4UI.js +0 -77
@@ -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-XSF5OBVZ.js";
5
+ } from "./chunk-GGKEQQME.js";
6
6
  import {
7
7
  answerOf,
8
8
  messengerContext
9
- } from "./chunk-MVLLWSV7.js";
9
+ } from "./chunk-4F7Q5CET.js";
10
10
  import {
11
11
  chatEventAnswer,
12
12
  memberAnswer,
13
13
  pollVoteAnswer,
14
14
  serveRelay
15
- } from "./chunk-HI4QICF7.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-B6TUEQ4O.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-2AWWMROP.js";
39
+ } from "./chunk-RFXJLG5V.js";
40
40
  import {
41
41
  embeddingKeys,
42
42
  endpointKeyName,
43
43
  modelGateway
44
- } from "./chunk-B4V4DRVO.js";
44
+ } from "./chunk-EPIA2UUM.js";
45
45
  import {
46
46
  withTimeLimit
47
- } from "./chunk-4XPVRZXE.js";
47
+ } from "./chunk-5K54M6RD.js";
48
48
  import {
49
49
  renderMessages
50
- } from "./chunk-F2KZNAFF.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-ZDZASHSQ.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-INJK7FNM.js";
84
+ } from "./chunk-SUG6YGAF.js";
85
85
  import {
86
86
  modelTarget
87
- } from "./chunk-ZZJ5IWNT.js";
87
+ } from "./chunk-5CJ6AAUI.js";
88
88
  import {
89
89
  holdersOf
90
- } from "./chunk-ZCVO6GAT.js";
90
+ } from "./chunk-VN7TKMOW.js";
91
91
  import {
92
92
  levelFor
93
- } from "./chunk-YZKVCTZI.js";
93
+ } from "./chunk-DYRISFHZ.js";
94
94
  import {
95
95
  readSecret
96
- } from "./chunk-KBTINKQF.js";
96
+ } from "./chunk-Q6MISDKJ.js";
97
97
  import {
98
98
  CORPORA,
99
99
  MIGRATIONS,
@@ -117,6 +117,7 @@ import {
117
117
  readStoreTables,
118
118
  rebuildMentions,
119
119
  resetAttachmentWords,
120
+ resetCrmFileWords,
120
121
  resetNoteIndex,
121
122
  resetSearchIndex,
122
123
  resetStems,
@@ -128,37 +129,37 @@ import {
128
129
  storeClients,
129
130
  storeContents,
130
131
  vectorIndexCounts
131
- } from "./chunk-6NTNAEZF.js";
132
+ } from "./chunk-NRVMK5H3.js";
132
133
  import {
133
134
  readDamageMark,
134
135
  readHealthMark,
135
136
  readJournalMark,
136
137
  recordDeepCheck
137
- } from "./chunk-EV7QCFQR.js";
138
+ } from "./chunk-M4LAF627.js";
138
139
  import {
139
140
  currentRun
140
- } from "./chunk-7HEZQCHL.js";
141
+ } from "./chunk-2P6MQH4V.js";
141
142
  import {
142
143
  failureKey,
143
144
  isStoreDamage
144
- } from "./chunk-AEVSVVTP.js";
145
+ } from "./chunk-6I4C4ZFT.js";
145
146
  import {
146
147
  formatLocator,
147
148
  parseLocator
148
- } from "./chunk-7IIQU5RA.js";
149
+ } from "./chunk-PKW3TPNP.js";
149
150
  import {
150
151
  storePath
151
- } from "./chunk-LBTANUUH.js";
152
+ } from "./chunk-TNL3YQ33.js";
152
153
  import {
153
154
  openCache
154
- } from "./chunk-FXHZHQKU.js";
155
+ } from "./chunk-7U5X37TE.js";
155
156
  import {
156
157
  queryFieldsOf
157
- } from "./chunk-TFDD4Q5Z.js";
158
+ } from "./chunk-Z3CPZ4I4.js";
158
159
  import {
159
160
  resolvePaths,
160
161
  writeSecurely
161
- } from "./chunk-OAYAGQ7C.js";
162
+ } from "./chunk-BNEJKGG7.js";
162
163
  import {
163
164
  array,
164
165
  boolean,
@@ -179,10 +180,10 @@ import {
179
180
  string,
180
181
  transform,
181
182
  trim
182
- } from "./chunk-PJMQE4PW.js";
183
+ } from "./chunk-ZPZT46O6.js";
183
184
  import {
184
185
  CliError
185
- } from "./chunk-FNLXFQN6.js";
186
+ } from "./chunk-ST3ZB7LS.js";
186
187
  import {
187
188
  __commonJS,
188
189
  __name,
@@ -5522,11 +5523,11 @@ var require_liquid_node = __commonJS({
5522
5523
  }
5523
5524
  });
5524
5525
 
5525
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5526
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";
5527
5528
  import { dirname as dirname3, resolve } from "node:path";
5528
5529
 
5529
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5530
5531
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5531
5532
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5532
5533
  import { Transform } from "node:stream";
@@ -5633,7 +5634,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5633
5634
  renameSync(pending, to);
5634
5635
  }, "unsealFile");
5635
5636
 
5636
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5637
5638
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5638
5639
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5639
5640
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5657,7 +5658,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5657
5658
  };
5658
5659
  }, "compatibilityOf");
5659
5660
 
5660
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5661
5662
  import { createHash as createHash2 } from "node:crypto";
5662
5663
  var COPY_MARK = "__repair_";
5663
5664
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5911,19 +5912,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5911
5912
  return found;
5912
5913
  }, "deleteCopy");
5913
5914
 
5914
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5915
5916
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5916
5917
 
5917
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5918
5919
  import { existsSync as existsSync3 } from "node:fs";
5919
5920
 
5920
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5921
5922
  import { execFileSync, spawn } from "node:child_process";
5922
5923
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5923
5924
  import { basename, dirname, join } from "node:path";
5924
5925
  import { Transform as Transform2 } from "node:stream";
5925
5926
 
5926
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
5927
5928
  var REFILL_MARGIN_MS = 864e5;
5928
5929
  var TIME_KEYS = 1e12;
5929
5930
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6003,7 +6004,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6003
6004
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6004
6005
  }, "forgetMail");
6005
6006
 
6006
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6007
6008
  var SQLITE3_MINIMUM = [3, 43, 0];
6008
6009
  var STORE_PARTS = ["", "-wal", "-shm"];
6009
6010
  var RECOVER_LOCK = ".recover-lock";
@@ -6280,6 +6281,7 @@ var FILLERS = {
6280
6281
  fillStems(database, { now });
6281
6282
  }, "message_stems"),
6282
6283
  attachment_words: /* @__PURE__ */ __name((database) => void resetAttachmentWords(database), "attachment_words"),
6284
+ crm_file_words: /* @__PURE__ */ __name((database) => void resetCrmFileWords(database), "crm_file_words"),
6283
6285
  attachment_name_words: /* @__PURE__ */ __name((database) => (
6284
6286
  // As migration 20 filled it: й and ё fold as the triggers fold them.
6285
6287
  database.exec("INSERT INTO attachment_name_words (rowid, name) SELECT id, replace(replace(replace(replace(name, '\u0439', '\u0438'), '\u0419', '\u0418'), '\u0451', '\u0435'), '\u0401', '\u0415') FROM attachments WHERE name IS NOT NULL")
@@ -6531,7 +6533,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6531
6533
  }
6532
6534
  }, "recoverLocked");
6533
6535
 
6534
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6535
6537
  var COUNTED = [
6536
6538
  "accounts",
6537
6539
  "chats",
@@ -6687,7 +6689,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6687
6689
  return recover;
6688
6690
  }, "storeRecoverCommand");
6689
6691
 
6690
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6691
6693
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6692
6694
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6693
6695
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6737,7 +6739,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
6737
6739
  return app ? store.addCommand(storeRecoverCommand(app)) : store;
6738
6740
  }, "sharedStoreCommand");
6739
6741
 
6740
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6741
6743
  var ENCRYPT_OPTION = [
6742
6744
  "--encrypt",
6743
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"
@@ -6756,7 +6758,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6756
6758
  return password;
6757
6759
  }, "passwordOf");
6758
6760
 
6759
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6760
6762
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6761
6763
  import { join as join2 } from "node:path";
6762
6764
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6927,7 +6929,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6927
6929
  }, "problem");
6928
6930
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6929
6931
 
6930
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6931
6933
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6932
6934
  import { join as join3 } from "node:path";
6933
6935
  var ANSWERED_KEPT = 1e3;
@@ -6980,7 +6982,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6980
6982
  }, "recordReply");
6981
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");
6982
6984
 
6983
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
6984
6986
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6985
6987
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6986
6988
  const { message, chat, owner, sender } = incoming;
@@ -7086,10 +7088,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7086
7088
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7087
7089
  }, "filled");
7088
7090
 
7089
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7090
7092
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7091
7093
 
7092
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7093
7095
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7094
7096
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7095
7097
  const engine = new import_liquidjs.Liquid({
@@ -7116,7 +7118,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7116
7118
  return engine;
7117
7119
  }, "safeLiquid");
7118
7120
 
7119
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7120
7122
  var TEMPLATE_LIMITS = {
7121
7123
  parse: 32768,
7122
7124
  renders: 2e3,
@@ -7255,7 +7257,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7255
7257
  }
7256
7258
  }, "renderReplyTemplate");
7257
7259
 
7258
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7259
7261
  var DRY_RUN_DAYS = 7;
7260
7262
  var PAGE = 500;
7261
7263
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7369,7 +7371,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7369
7371
  }
7370
7372
  }, "storedSince");
7371
7373
 
7372
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7373
7375
  var HOSTED = {
7374
7376
  openai: "https://api.openai.com/v1",
7375
7377
  anthropic: "https://api.anthropic.com"
@@ -7390,7 +7392,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7390
7392
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7391
7393
  }, "purposeModel");
7392
7394
 
7393
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7394
7396
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7395
7397
  import { join as join4 } from "node:path";
7396
7398
  var shape = strictObject({
@@ -7415,7 +7417,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7415
7417
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7416
7418
  }, "mayModelReply");
7417
7419
 
7418
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7419
7421
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7420
7422
  ai: true
7421
7423
  }) => async (rule2, message, chat, now) => {
@@ -7463,7 +7465,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7463
7465
  return result2;
7464
7466
  }, "replyRenderer");
7465
7467
 
7466
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7467
7469
  var NOT_ALLOWED = "replies.send is not allow";
7468
7470
  var NO_RULES = "no rules";
7469
7471
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7556,7 +7558,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7556
7558
  return { skip: why };
7557
7559
  }, "replyTo");
7558
7560
 
7559
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7560
7562
  var START_SYNC_DELAY_MS = 3e4;
7561
7563
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7562
7564
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7633,7 +7635,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7633
7635
  };
7634
7636
  }, "startSync");
7635
7637
 
7636
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7637
7639
  var FIRST_FETCH_MS = 6e4;
7638
7640
  var DAY_MS = 864e5;
7639
7641
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7687,7 +7689,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7687
7689
  };
7688
7690
  }, "memberFetches");
7689
7691
 
7690
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7691
7693
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7692
7694
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7693
7695
  if (context.format === "pretty") {
@@ -7720,7 +7722,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7720
7722
  return context;
7721
7723
  }, "recordDiagnostics");
7722
7724
 
7723
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7724
7726
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7725
7727
  import { dirname as dirname2, join as join5 } from "node:path";
7726
7728
  var OUTDATED_CHECK_MS = 6e4;
@@ -7806,7 +7808,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7806
7808
  };
7807
7809
  }, "watchOutdated");
7808
7810
 
7809
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7810
7812
  var STEMS_EVERY_MS = 3e4;
7811
7813
  var STEMS_SLICE_MS = 2e3;
7812
7814
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7846,7 +7848,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7846
7848
  };
7847
7849
  }, "stemFills");
7848
7850
 
7849
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7850
7852
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7851
7853
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7852
7854
  kind: attachment.kind,
@@ -7942,7 +7944,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7942
7944
  locale: messenger.app.locale
7943
7945
  }), "viewOf");
7944
7946
 
7945
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
7946
7948
  var observed = /* @__PURE__ */ __name((value) => ({
7947
7949
  value: value.value,
7948
7950
  observed_at: value.observedAt,
@@ -8009,7 +8011,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8009
8011
  }
8010
8012
  }, "watchEventItem");
8011
8013
 
8012
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
8013
8015
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8014
8016
  output: { entity: "watch_item" },
8015
8017
  effects: REMOTE_READ,
@@ -8164,7 +8166,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8164
8166
  }
8165
8167
  }, "describe");
8166
8168
 
8167
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
8168
8170
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8169
8171
  const command = annotate(new Command("serve"), {
8170
8172
  output: { entity: "serve_summary" },
@@ -8450,7 +8452,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8450
8452
  };
8451
8453
  }, "tasking");
8452
8454
 
8453
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
8454
8456
  import { existsSync as existsSync9 } from "node:fs";
8455
8457
  var PATH = "store tables list";
8456
8458
  var STORE_TABLES_QUERY = {
@@ -8493,7 +8495,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8493
8495
  return tables;
8494
8496
  }, "storeTablesCommand");
8495
8497
 
8496
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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
8497
8499
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8498
8500
  var WORD_INDEX = "message_words";
8499
8501
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -8735,7 +8737,8 @@ var inspect = /* @__PURE__ */ __name((path) => reading(path, (database) => {
8735
8737
  ...schema.version > 0 ? SEARCH_INDEXES.map((index) => [index, indexIntegrity(database, index)]) : [],
8736
8738
  ...wordIndex ? [[WORD_INDEX, indexIntegrity(database, WORD_INDEX, 0)]] : [],
8737
8739
  ...stems ? [["message_stems", indexIntegrity(database, "message_stems", 0)]] : [],
8738
- ...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : []
8740
+ ...schema.version > 0 ? [["attachment_words", indexIntegrity(database, "attachment_words", 0)]] : [],
8741
+ ...schema.version >= 68 ? [["crm_file_words", indexIntegrity(database, "crm_file_words", 0)]] : []
8739
8742
  ]);
8740
8743
  const size = bytesOf2(path) + bytesOf2(`${path}-wal`);
8741
8744
  const { bavail, bsize } = statfsSync2(dirname3(path));
@@ -8903,7 +8906,7 @@ var reindexCommand = /* @__PURE__ */ __name((owner) => destroysNothing(annotate(
8903
8906
  throw new CliError("validation_error", `the store is behind this build \u2014 \`${lineOf(this, "store migrate")}\` first`);
8904
8907
  }
8905
8908
  resetSearchIndex(database);
8906
- const fileTexts = resetAttachmentWords(database);
8909
+ const fileTexts = resetAttachmentWords(database) + resetCrmFileWords(database);
8907
8910
  const words = buildWordIndex(database, (note) => renderer.note(note));
8908
8911
  return {
8909
8912
  path,
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-LBTANUUH.js";
5
+ } from "./chunk-TNL3YQ33.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-FNLXFQN6.js";
8
+ } from "./chunk-ST3ZB7LS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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,27 +5,27 @@ import {
5
5
  openRemote,
6
6
  remoteKey,
7
7
  remoteModel
8
- } from "./chunk-FCGRXUAU.js";
8
+ } from "./chunk-ARL2TTPZ.js";
9
9
  import {
10
10
  isTextModelInstalled,
11
11
  openEmbedder,
12
12
  textModelsDirectory
13
- } from "./chunk-P5QO7Y3H.js";
13
+ } from "./chunk-BPSURRAD.js";
14
14
  import {
15
15
  textModel,
16
16
  vectorModelKey
17
- } from "./chunk-IBINGDYF.js";
17
+ } from "./chunk-GCUOZ2OA.js";
18
18
  import {
19
19
  endpointFetch
20
- } from "./chunk-FURKMNC2.js";
20
+ } from "./chunk-TDBVM2SS.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-FNLXFQN6.js";
23
+ } from "./chunk-ST3ZB7LS.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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}`);
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-FNLXFQN6.js";
5
+ } from "./chunk-ST3ZB7LS.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/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");
@@ -5,21 +5,21 @@ import {
5
5
  fieldsOf,
6
6
  processStreams,
7
7
  projectFields
8
- } from "./chunk-OAYAGQ7C.js";
8
+ } from "./chunk-BNEJKGG7.js";
9
9
  import {
10
10
  COMPACT_FLAG
11
- } from "./chunk-PJMQE4PW.js";
11
+ } from "./chunk-ZPZT46O6.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-FNLXFQN6.js";
14
+ } from "./chunk-ST3ZB7LS.js";
15
15
  import {
16
16
  singleLine
17
- } from "./chunk-WJTXO2EI.js";
17
+ } from "./chunk-5RVXXDN7.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/sends/permissions.js
22
+ // 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/sends/permissions.js
23
23
  var LEVELS = ["deny", "readonly", "ask", "allow"];
24
24
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
25
25
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -445,7 +445,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
445
445
  }
446
446
  }, "assertRetentionEvidenceRead");
447
447
 
448
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
448
+ // 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/result-fields.js
449
449
  var named = /* @__PURE__ */ __name((work) => {
450
450
  try {
451
451
  return work();
@@ -472,7 +472,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
472
472
  return projectFields(value, fields);
473
473
  }), "projectFields");
474
474
 
475
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/output-detail.js
475
+ // 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/output-detail.js
476
476
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
477
477
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
478
478
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -508,7 +508,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
508
508
  return value;
509
509
  }, "atDetail");
510
510
 
511
- // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/output.js
511
+ // 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/output.js
512
512
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
513
513
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
514
514
  if (other)