@wirecat/zoom-cli 0.66.0 → 0.67.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 (190) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answers.d.ts +4 -4
  4. package/dist/bin/main.js +3 -2
  5. package/dist/bin/main.js.map +1 -1
  6. package/dist/bin/zm.js +2 -2
  7. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-SEW2VL76.js} +12 -11
  8. package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
  9. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-FSNASJML.js} +7 -7
  10. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-EVSRYJ3H.js} +55 -54
  11. package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-HQ2KOXSI.js} +6 -6
  13. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-2UW533HQ.js} +4 -4
  14. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3GO3KME7.js} +3 -3
  15. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-3ZIHUSMM.js} +2 -2
  16. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-4GCKDO2H.js} +3 -3
  17. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
  18. package/dist/bundle/{chunk-5A26IBAR.js → chunk-4U2555EQ.js} +23 -23
  19. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-4UVT2QCO.js} +4 -4
  20. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-4ZR5DJ26.js} +3 -3
  21. package/dist/bundle/{chunk-2T5BOLBS.js → chunk-54RTMQL6.js} +4 -4
  22. package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
  23. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-6IBM4Z3V.js} +1 -1
  24. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6TZF2JP7.js} +13 -13
  25. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-6UFWFKFH.js} +2 -2
  26. package/dist/bundle/chunk-6VFORXL3.js +101 -0
  27. package/dist/bundle/{chunk-RO44LANT.js → chunk-7HAIM7GV.js} +1577 -633
  28. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-7K5TDTZY.js} +7 -7
  29. package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
  30. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7VU5UGRR.js} +24 -22
  31. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-AAZFLJSH.js} +22 -23
  32. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-ASCHAVNW.js} +30 -26
  33. package/dist/bundle/{chunk-BXSAROQP.js → chunk-B3KWAULD.js} +2 -2
  34. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-B5Z4XPVS.js} +2 -2
  35. package/dist/bundle/{chunk-756RS4PH.js → chunk-BKY4XVB4.js} +1688 -1133
  36. package/dist/bundle/{chunk-62GOOZO3.js → chunk-C6UKW7JO.js} +6 -6
  37. package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
  38. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-CRLBTNC4.js} +3 -3
  39. package/dist/bundle/{chunk-P2SYZNM4.js → chunk-D4KBD63W.js} +1 -1
  40. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-D6OXI2NV.js} +17 -17
  41. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-DFUPETW7.js} +444 -307
  42. package/dist/bundle/{chunk-JX3V35A5.js → chunk-DG4DWAU7.js} +3 -3
  43. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-EPDRF66S.js} +4 -4
  44. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-EQ7XRRKV.js} +11 -11
  45. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-ESFMHBHH.js} +30 -29
  46. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-EUPZSR2G.js} +4 -4
  47. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-FGTPREAZ.js} +33 -33
  48. package/dist/bundle/{chunk-GKXFL35E.js → chunk-FWU3ZYHE.js} +50 -50
  49. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-FXQPK742.js} +55 -17
  50. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-GP4NSYDU.js} +11 -11
  51. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-I7SOXH64.js} +71 -38
  52. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
  53. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-J3ZBEWQY.js} +373 -9
  54. package/dist/bundle/chunk-JVCHGI7W.js +37 -0
  55. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-KANH7GBB.js} +2 -2
  56. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-KIJLM5UL.js} +1 -1
  57. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  58. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-KWRSC6O6.js} +4 -4
  59. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-L643D4RJ.js} +12 -12
  60. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-L6CAUVMU.js} +5 -5
  61. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-L6WUAGPN.js} +3 -3
  62. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-LFQ73UFK.js} +3 -3
  63. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-LKJXTACE.js} +10 -89
  64. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-LM26DJOK.js} +6 -6
  65. package/dist/bundle/{chunk-IKQ73INC.js → chunk-M43MBWJX.js} +3229 -1236
  66. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-MWEOVTIF.js} +4 -4
  67. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NTZDM5SJ.js} +28 -9
  68. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-OTMGAKUM.js} +7 -7
  69. package/dist/bundle/chunk-OZEYFJX2.js +93 -0
  70. package/dist/bundle/{chunk-XFUID5NY.js → chunk-Q65SDEFN.js} +2 -2
  71. package/dist/bundle/{chunk-67RNZGAG.js → chunk-QEI55M2F.js} +10 -10
  72. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-QX2MAT6I.js} +3 -3
  73. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-RAMPYIO2.js} +15 -12
  74. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
  75. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-SCFFCIIP.js} +4 -2
  76. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-SMVO5R3T.js} +19 -19
  77. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
  78. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-SSXCOUP3.js} +1084 -258
  79. package/dist/bundle/{chunk-TN7K66PU.js → chunk-SXFODCYK.js} +1 -1
  80. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-T6CZWSHF.js} +97 -38
  81. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-TBRG2DPE.js} +2 -2
  82. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-V33VGWT3.js} +5 -5
  83. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-VFIEYRYD.js} +8 -8
  84. package/dist/bundle/{chunk-5HPALDUO.js → chunk-VNIBTNV4.js} +3 -2
  85. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-VQTAU4DV.js} +8 -8
  86. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-WHQ4ZCJI.js} +49 -30
  87. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-WZ5XK74U.js} +2 -1
  88. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-X67YD3QI.js} +2 -2
  89. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  90. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-YRNZT4GQ.js} +7 -7
  91. package/dist/bundle/{chunk-HKQWV3KT.js → chunk-Z3WXI4DK.js} +3 -3
  92. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
  93. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-ZRMZBMOF.js} +69 -9
  94. package/dist/bundle/{cli-HWQIL2AC.js → cli-YUATSOLA.js} +94 -67
  95. package/dist/bundle/command-contract-UWHY55UE.js +41 -0
  96. package/dist/bundle/config-TGF6E6ZD.js +89 -0
  97. package/dist/bundle/{decode-XPAPPUGE.js → decode-IL44LNC3.js} +6 -6
  98. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-3BGIXSJR.js} +9 -9
  99. package/dist/bundle/{dist-LDIUQBM7.js → dist-3W27UQ2S.js} +46 -17
  100. package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
  101. package/dist/bundle/{embed-LK45GRQ7.js → embed-XH2X4DFM.js} +7 -7
  102. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-WTFWDXBJ.js} +10 -10
  103. package/dist/bundle/{failure-7OULAOWQ.js → failure-HTIS3NLS.js} +3 -3
  104. package/dist/bundle/{first-run-J5FG773Q.js → first-run-5RBH7FDO.js} +12 -12
  105. package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
  106. package/dist/bundle/{folders-RHPUVMDI.js → folders-F4DNQPIY.js} +5 -5
  107. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
  108. package/dist/bundle/{main-FJHE5YHU.js → main-LVQTCDZS.js} +23 -22
  109. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  110. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-BMELXRTR.js} +31 -7
  111. package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
  112. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-QQEX7LZT.js} +7 -7
  113. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-AYGX7CQS.js} +8 -8
  114. package/dist/bundle/{open-OVCASRSJ.js → open-MIL2TOT6.js} +6 -6
  115. package/dist/bundle/openai-7QZZXQW5.js +25 -0
  116. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-4XADZPYH.js} +6 -6
  117. package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
  118. package/dist/bundle/{program-A546WC4F.js → program-WUYRS6H7.js} +152 -104
  119. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-J4QPFLEA.js} +6 -6
  120. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-OLJZVNWW.js} +5 -5
  121. package/dist/bundle/{remote-VAYVTJBS.js → remote-JPUXNYLV.js} +8 -8
  122. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-XVV3X5TT.js} +8 -8
  123. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-DJXBEVS5.js} +59 -57
  124. package/dist/bundle/{serve-KGHEDUHB.js → serve-NYYUO3MR.js} +10 -10
  125. package/dist/bundle/{server-ZYTSMDTP.js → server-4Z5E4YTT.js} +47 -46
  126. package/dist/bundle/server-VW5UVCH7.js +72 -0
  127. package/dist/bundle/{services-ZHMZC2OQ.js → services-EKWM76HP.js} +49 -32
  128. package/dist/bundle/{speech-7CJEFKM3.js → speech-WFJ44ACJ.js} +14 -14
  129. package/dist/bundle/{state-U6KSYVOH.js → state-VIRCT4VW.js} +7 -7
  130. package/dist/bundle/{store-WS4CQGYU.js → store-2Q4GEZJS.js} +30 -21
  131. package/dist/bundle/{store-DJE3LAEG.js → store-ZTDZ6UY5.js} +20 -17
  132. package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
  133. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
  134. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-7BPKIGAS.js} +7 -7
  135. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-CQHMMKNX.js} +7 -7
  136. package/dist/bundle/zm.js +10 -10
  137. package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
  138. package/dist/config.d.ts +9 -0
  139. package/dist/config.d.ts.map +1 -1
  140. package/dist/config.js +46 -7
  141. package/dist/config.js.map +1 -1
  142. package/dist/meeting-source.d.ts.map +1 -1
  143. package/dist/meeting-source.js +2 -1
  144. package/dist/meeting-source.js.map +1 -1
  145. package/dist/meeting-stats-commands.d.ts +4 -2
  146. package/dist/meeting-stats-commands.d.ts.map +1 -1
  147. package/dist/meeting-stats-commands.js +27 -2
  148. package/dist/meeting-stats-commands.js.map +1 -1
  149. package/dist/program-bindings.d.ts.map +1 -1
  150. package/dist/program-bindings.js +3 -2
  151. package/dist/program-bindings.js.map +1 -1
  152. package/dist/recording-schedule-setup.d.ts.map +1 -1
  153. package/dist/recording-schedule-setup.js +5 -5
  154. package/dist/recording-schedule-setup.js.map +1 -1
  155. package/dist/run.d.ts.map +1 -1
  156. package/dist/run.js +2 -6
  157. package/dist/run.js.map +1 -1
  158. package/dist/setup-commands.d.ts +1 -1
  159. package/dist/setup-commands.d.ts.map +1 -1
  160. package/dist/setup-commands.js +30 -8
  161. package/dist/setup-commands.js.map +1 -1
  162. package/dist/store-commands.d.ts.map +1 -1
  163. package/dist/store-commands.js +6 -0
  164. package/dist/store-commands.js.map +1 -1
  165. package/dist/store-connection.d.ts +2 -1
  166. package/dist/store-connection.d.ts.map +1 -1
  167. package/dist/store-connection.js +4 -0
  168. package/dist/store-connection.js.map +1 -1
  169. package/dist/version.d.ts +1 -1
  170. package/dist/version.js +1 -1
  171. package/dist/watch-service.d.ts +1 -1
  172. package/dist/watch-service.d.ts.map +1 -1
  173. package/dist/watch-service.js +5 -3
  174. package/dist/watch-service.js.map +1 -1
  175. package/dist/zoom-app.d.ts +17 -0
  176. package/dist/zoom-app.d.ts.map +1 -0
  177. package/dist/zoom-app.js +22 -0
  178. package/dist/zoom-app.js.map +1 -0
  179. package/package.json +4 -3
  180. package/skills/zoom-cli/SKILL.md +4 -1
  181. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  182. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  183. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  184. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  185. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  186. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  187. package/dist/bundle/server-IDNSJXF3.js +0 -71
  188. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  189. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  190. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  renderMessages
5
- } from "./chunk-ZNFPDTQM.js";
5
+ } from "./chunk-B5Z4XPVS.js";
6
6
  import {
7
7
  answerOf,
8
8
  messengerContext
9
- } from "./chunk-5GD2XZ6X.js";
9
+ } from "./chunk-ESFMHBHH.js";
10
10
  import {
11
11
  chatEventAnswer,
12
12
  memberAnswer,
@@ -15,14 +15,14 @@ import {
15
15
  serveRelay,
16
16
  typedQuery,
17
17
  withQuery
18
- } from "./chunk-N6JMJN5A.js";
18
+ } from "./chunk-SMVO5R3T.js";
19
19
  import {
20
20
  holdLock,
21
21
  lockPath,
22
22
  releaseLock,
23
23
  servingProfiles,
24
24
  takeLock
25
- } from "./chunk-H5ZVZAOD.js";
25
+ } from "./chunk-LFQ73UFK.js";
26
26
  import {
27
27
  FETCHING,
28
28
  RULES_VERSION,
@@ -35,7 +35,7 @@ import {
35
35
  senderIsMe,
36
36
  servicesFor,
37
37
  syncsOneChat
38
- } from "./chunk-RO44LANT.js";
38
+ } from "./chunk-7HAIM7GV.js";
39
39
  import {
40
40
  Command,
41
41
  LOCAL_READ,
@@ -59,24 +59,24 @@ import {
59
59
  snakeKeys,
60
60
  storeTable,
61
61
  withoutProviderRefs
62
- } from "./chunk-A2SCXNA7.js";
62
+ } from "./chunk-SSXCOUP3.js";
63
63
  import {
64
64
  envName
65
- } from "./chunk-Z6U3MEGJ.js";
65
+ } from "./chunk-SCFFCIIP.js";
66
66
  import {
67
67
  holdersOf
68
- } from "./chunk-Y3EIK4XW.js";
68
+ } from "./chunk-SOZVC3SV.js";
69
69
  import {
70
70
  codeOf,
71
71
  currentRun,
72
72
  parseDuration
73
- } from "./chunk-5A26IBAR.js";
73
+ } from "./chunk-4U2555EQ.js";
74
74
  import {
75
75
  failureKey
76
- } from "./chunk-6GSJLNP4.js";
76
+ } from "./chunk-3ZIHUSMM.js";
77
77
  import {
78
78
  levelFor
79
- } from "./chunk-5HPALDUO.js";
79
+ } from "./chunk-VNIBTNV4.js";
80
80
  import {
81
81
  MIGRATIONS,
82
82
  drainNoteIndex,
@@ -103,38 +103,38 @@ import {
103
103
  storeClients,
104
104
  storeContents,
105
105
  vectorIndexCounts
106
- } from "./chunk-IKQ73INC.js";
106
+ } from "./chunk-M43MBWJX.js";
107
107
  import {
108
108
  formatLocator,
109
109
  parseLocator
110
- } from "./chunk-N5JRRBEG.js";
110
+ } from "./chunk-J3ZBEWQY.js";
111
111
  import {
112
112
  readSecret
113
- } from "./chunk-JX3V35A5.js";
113
+ } from "./chunk-DG4DWAU7.js";
114
114
  import {
115
115
  checkedOptions,
116
116
  range
117
- } from "./chunk-GHAPWKG2.js";
117
+ } from "./chunk-4ZR5DJ26.js";
118
118
  import {
119
119
  messagesFor,
120
120
  systemFor,
121
121
  validateImages
122
- } from "./chunk-CZ4KLUJG.js";
122
+ } from "./chunk-6UFWFKFH.js";
123
123
  import {
124
124
  storePath
125
- } from "./chunk-L7IK4FOA.js";
125
+ } from "./chunk-6AJDVJVZ.js";
126
126
  import {
127
127
  openCache
128
- } from "./chunk-62GOOZO3.js";
128
+ } from "./chunk-C6UKW7JO.js";
129
129
  import {
130
130
  queryFieldsOf
131
- } from "./chunk-SU4WPBQE.js";
131
+ } from "./chunk-AAZFLJSH.js";
132
132
  import {
133
133
  Credentials,
134
134
  pathsAreOverridden,
135
135
  resolvePaths,
136
136
  writeSecurely
137
- } from "./chunk-TFDVFD4N.js";
137
+ } from "./chunk-T6CZWSHF.js";
138
138
  import {
139
139
  array,
140
140
  boolean,
@@ -158,10 +158,10 @@ import {
158
158
  transform,
159
159
  trim,
160
160
  union
161
- } from "./chunk-N67BLTBV.js";
161
+ } from "./chunk-NTZDM5SJ.js";
162
162
  import {
163
163
  CliError
164
- } from "./chunk-S6S3KVJI.js";
164
+ } from "./chunk-WZ5XK74U.js";
165
165
  import {
166
166
  __commonJS,
167
167
  __name,
@@ -5501,11 +5501,11 @@ var require_liquid_node = __commonJS({
5501
5501
  }
5502
5502
  });
5503
5503
 
5504
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5504
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5505
5505
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5506
5506
  import { dirname, resolve } from "node:path";
5507
5507
 
5508
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/sealed.js
5508
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/sealed.js
5509
5509
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5510
5510
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5511
5511
  import { Transform } from "node:stream";
@@ -5612,7 +5612,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5612
5612
  renameSync(pending, to);
5613
5613
  }, "unsealFile");
5614
5614
 
5615
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5615
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5616
5616
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5617
5617
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5618
5618
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5636,7 +5636,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5636
5636
  };
5637
5637
  }, "compatibilityOf");
5638
5638
 
5639
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/repair.js
5639
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/store/repair.js
5640
5640
  import { createHash as createHash2 } from "node:crypto";
5641
5641
  var COPY_MARK = "__repair_";
5642
5642
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5890,7 +5890,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5890
5890
  return found;
5891
5891
  }, "deleteCopy");
5892
5892
 
5893
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5893
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5894
5894
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5895
5895
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5896
5896
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5938,7 +5938,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5938
5938
  }), "storeInfoCommand");
5939
5939
  var sharedStoreCommand = /* @__PURE__ */ __name(() => annotate(new Command("store"), { effects: LOCAL_READ }).description("the shared local store every WireCat tool reads").addCommand(storeInfoCommand()), "sharedStoreCommand");
5940
5940
 
5941
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5941
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5942
5942
  var ENCRYPT_OPTION = [
5943
5943
  "--encrypt",
5944
5944
  "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"
@@ -5957,7 +5957,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5957
5957
  return password;
5958
5958
  }, "passwordOf");
5959
5959
 
5960
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/rules.js
5960
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/rules.js
5961
5961
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5962
5962
  import { join } from "node:path";
5963
5963
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6128,7 +6128,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6128
6128
  }, "problem");
6129
6129
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6130
6130
 
6131
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/state.js
6131
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/state.js
6132
6132
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6133
6133
  import { join as join2 } from "node:path";
6134
6134
  var ANSWERED_KEPT = 1e3;
@@ -6181,7 +6181,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6181
6181
  }, "recordReply");
6182
6182
  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");
6183
6183
 
6184
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/decide.js
6184
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/decide.js
6185
6185
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6186
6186
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6187
6187
  const { message, chat, owner, sender } = incoming;
@@ -6287,7 +6287,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6287
6287
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6288
6288
  }, "filled");
6289
6289
 
6290
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/template.js
6290
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/template.js
6291
6291
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6292
6292
  var TEMPLATE_LIMITS = {
6293
6293
  parse: 32768,
@@ -6447,7 +6447,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6447
6447
  }
6448
6448
  }, "renderReplyTemplate");
6449
6449
 
6450
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6450
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6451
6451
  var DRY_RUN_DAYS = 7;
6452
6452
  var PAGE = 500;
6453
6453
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6561,7 +6561,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6561
6561
  }
6562
6562
  }, "storedSince");
6563
6563
 
6564
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6564
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6565
6565
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6566
6566
  const host = new URL(baseUrl).host;
6567
6567
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6592,7 +6592,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6592
6592
  };
6593
6593
  }, "embeddingKeys");
6594
6594
 
6595
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/models/openai.js
6595
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/models/openai.js
6596
6596
  var options = strictObject({
6597
6597
  temperature: range(0, 2),
6598
6598
  top_p: range(0, 1),
@@ -6641,7 +6641,7 @@ var openai = {
6641
6641
  }, "complete")
6642
6642
  };
6643
6643
 
6644
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/models/index.js
6644
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/models/index.js
6645
6645
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6646
6646
  complete: /* @__PURE__ */ __name(async (request) => {
6647
6647
  if (deps.signal?.aborted)
@@ -6656,7 +6656,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6656
6656
  if (!adapter && target.provider === "openai")
6657
6657
  adapter = openai;
6658
6658
  if (!adapter && target.provider === "anthropic")
6659
- adapter = (await import("./anthropic-K2E2JS4S.js")).anthropic;
6659
+ adapter = (await import("./anthropic-FSNASJML.js")).anthropic;
6660
6660
  if (!adapter)
6661
6661
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6662
6662
  if (request.images !== void 0 && adapter.images !== true)
@@ -6697,7 +6697,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6697
6697
  }, "complete")
6698
6698
  }), "modelGateway");
6699
6699
 
6700
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/consents.js
6700
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/consents.js
6701
6701
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6702
6702
  import { join as join3 } from "node:path";
6703
6703
  var shape = strictObject({
@@ -6722,7 +6722,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6722
6722
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6723
6723
  }, "mayModelReply");
6724
6724
 
6725
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6725
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6726
6726
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6727
6727
  ai: true
6728
6728
  }) => async (rule2, message, chat, now) => {
@@ -6769,7 +6769,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6769
6769
  return result2;
6770
6770
  }, "replyRenderer");
6771
6771
 
6772
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/replies/serve.js
6772
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/replies/serve.js
6773
6773
  var NOT_ALLOWED = "replies.send is not allow";
6774
6774
  var NO_RULES = "no rules";
6775
6775
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6862,7 +6862,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6862
6862
  return { skip: why };
6863
6863
  }, "replyTo");
6864
6864
 
6865
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6865
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6866
6866
  var START_SYNC_DELAY_MS = 3e4;
6867
6867
  var START_SYNC_BUDGET_MS = 5 * 6e4;
6868
6868
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -6939,7 +6939,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
6939
6939
  };
6940
6940
  }, "startSync");
6941
6941
 
6942
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6942
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6943
6943
  var FIRST_FETCH_MS = 6e4;
6944
6944
  var DAY_MS = 864e5;
6945
6945
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6993,7 +6993,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6993
6993
  };
6994
6994
  }, "memberFetches");
6995
6995
 
6996
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6996
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6997
6997
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6998
6998
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6999
6999
  if (context.format === "pretty") {
@@ -7026,7 +7026,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7026
7026
  return context;
7027
7027
  }, "recordDiagnostics");
7028
7028
 
7029
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7029
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7030
7030
  var STEMS_EVERY_MS = 3e4;
7031
7031
  var STEMS_SLICE_MS = 2e3;
7032
7032
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7066,7 +7066,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7066
7066
  };
7067
7067
  }, "stemFills");
7068
7068
 
7069
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7069
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7070
7070
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7071
7071
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7072
7072
  kind: attachment.kind,
@@ -7161,7 +7161,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7161
7161
  locale: messenger.app.locale
7162
7162
  }), "viewOf");
7163
7163
 
7164
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7164
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7165
7165
  var observed = /* @__PURE__ */ __name((value) => ({
7166
7166
  value: value.value,
7167
7167
  observed_at: value.observedAt,
@@ -7228,7 +7228,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7228
7228
  }
7229
7229
  }, "watchEventItem");
7230
7230
 
7231
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7231
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7232
7232
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7233
7233
  output: { entity: "watch_item" },
7234
7234
  effects: REMOTE_READ,
@@ -7383,7 +7383,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7383
7383
  }
7384
7384
  }, "describe");
7385
7385
 
7386
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7386
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7387
7387
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7388
7388
  const command = annotate(new Command("serve"), {
7389
7389
  output: { entity: "serve_summary" },
@@ -7647,7 +7647,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7647
7647
  };
7648
7648
  }, "tasking");
7649
7649
 
7650
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7650
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7651
7651
  import { existsSync as existsSync6 } from "node:fs";
7652
7652
  var PATH = "store tables list";
7653
7653
  var STORE_TABLES_QUERY = {
@@ -7690,7 +7690,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7690
7690
  return tables;
7691
7691
  }, "storeTablesCommand");
7692
7692
 
7693
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7693
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7694
7694
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7695
7695
  var WORD_INDEX = "message_words";
7696
7696
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -6,10 +6,10 @@ import {
6
6
  meetingResultItem,
7
7
  runsCommand,
8
8
  suggest
9
- } from "./chunk-756RS4PH.js";
9
+ } from "./chunk-BKY4XVB4.js";
10
10
  import {
11
11
  sharedStoreCommand
12
- } from "./chunk-GKXFL35E.js";
12
+ } from "./chunk-FWU3ZYHE.js";
13
13
  import {
14
14
  NO_EFFECTS,
15
15
  REMOTE_READ,
@@ -32,33 +32,39 @@ import {
32
32
  profileFree,
33
33
  renderAnswer,
34
34
  snakeKeys,
35
- usableProfileName
36
- } from "./chunk-A2SCXNA7.js";
35
+ usableProfileName,
36
+ withSettingDefaults
37
+ } from "./chunk-SSXCOUP3.js";
37
38
  import {
38
39
  readOnlyLockOf,
39
40
  readOnlyRefusal
40
- } from "./chunk-Z6U3MEGJ.js";
41
+ } from "./chunk-SCFFCIIP.js";
41
42
  import {
42
43
  setupPermissionCeiling
43
- } from "./chunk-GI6QVSCW.js";
44
+ } from "./chunk-EUPZSR2G.js";
45
+ import {
46
+ KEEP_RUNS_FOR_DAYS,
47
+ KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
48
+ RUNS_SIZE_LIMIT_MB
49
+ } from "./chunk-4U2555EQ.js";
44
50
  import {
45
51
  CEILING_KEY,
46
52
  DEFAULT_PERMISSIONS,
47
53
  LEVELS,
48
54
  keyForCommand,
49
55
  levelFor
50
- } from "./chunk-5HPALDUO.js";
56
+ } from "./chunk-VNIBTNV4.js";
51
57
  import {
52
58
  ZM
53
- } from "./chunk-P2SYZNM4.js";
59
+ } from "./chunk-D4KBD63W.js";
54
60
  import {
55
61
  MEETING_RESULT_ENTITIES
56
- } from "./chunk-Q47C3QZW.js";
62
+ } from "./chunk-DFUPETW7.js";
57
63
  import {
58
64
  createRenderer,
59
65
  projectFields,
60
66
  saveConfigFile
61
- } from "./chunk-TFDVFD4N.js";
67
+ } from "./chunk-T6CZWSHF.js";
62
68
  import {
63
69
  array,
64
70
  boolean,
@@ -83,10 +89,10 @@ import {
83
89
  strictObject,
84
90
  string,
85
91
  union
86
- } from "./chunk-N67BLTBV.js";
92
+ } from "./chunk-NTZDM5SJ.js";
87
93
  import {
88
94
  CliError
89
- } from "./chunk-S6S3KVJI.js";
95
+ } from "./chunk-WZ5XK74U.js";
90
96
  import {
91
97
  __name
92
98
  } from "./chunk-ZVVMGPBJ.js";
@@ -760,6 +766,26 @@ var ConfigFile = strictObject({
760
766
  record_input: optional(union([boolean(), literal("failed")]))
761
767
  });
762
768
  var DOCTOR = "zm doctor";
769
+ var ZOOM_SETTINGS = [
770
+ {
771
+ key: "source",
772
+ default: "api",
773
+ description: "api reads recordings from Zoom; files imports transcript files from files.folder"
774
+ },
775
+ { key: "record", default: true, description: "keep every run in zm runs list; false keeps failed runs only" },
776
+ {
777
+ key: "record_input",
778
+ default: true,
779
+ description: `keep what was typed in a run's command line: true, false, or "failed" for failed runs only`
780
+ },
781
+ { key: "keep_runs_for_days", default: KEEP_RUNS_FOR_DAYS, description: "days a run is kept" },
782
+ {
783
+ key: "keep_successful_runs_for_days",
784
+ default: KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
785
+ description: "days a successful run is kept"
786
+ },
787
+ { key: "runs_size_limit_mb", default: RUNS_SIZE_LIMIT_MB, description: "the most megabytes all runs may take" }
788
+ ];
763
789
  var configOf = /* @__PURE__ */ __name((file) => ({
764
790
  clientId: file.client_id ?? null,
765
791
  source: file.source ?? "api",
@@ -803,10 +829,21 @@ var changeFile = /* @__PURE__ */ __name((path, permissionKeys2, change) => {
803
829
  if (!inspection.raw)
804
830
  throw new CliError("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
805
831
  const raw = structuredClone(inspection.raw);
806
- change(raw, inspection);
807
- saveConfigFile(path, raw);
832
+ const removed = change(raw, inspection);
833
+ saveConfigFile(path, withSettingDefaults(raw, ZOOM_SETTINGS.filter(({ key }) => key !== removed)).config);
808
834
  return inspectConfig(path, permissionKeys2).config;
809
835
  }, "changeFile");
836
+ var migrateConfig = /* @__PURE__ */ __name((path) => {
837
+ const inspection = inspectConfig(path);
838
+ if (!inspection.found)
839
+ return [];
840
+ if (!inspection.raw)
841
+ throw new CliError("configuration_error", issueMessage(inspection.issues.map(publicIssue), DOCTOR));
842
+ const { config, added } = withSettingDefaults(inspection.raw, ZOOM_SETTINGS);
843
+ if (added.length > 0)
844
+ saveConfigFile(path, config);
845
+ return added;
846
+ }, "migrateConfig");
810
847
  var profileEntry = /* @__PURE__ */ __name((raw, profile) => {
811
848
  if (!isNode(raw.profiles))
812
849
  raw.profiles = {};
@@ -897,6 +934,7 @@ var unsetConfig = /* @__PURE__ */ __name((path, key, profile, permissionKeys2) =
897
934
  if (Object.keys(entry.permissions).length === 0)
898
935
  delete entry.permissions;
899
936
  }
937
+ return at.join(".");
900
938
  }), "unsetConfig");
901
939
  var profileSettingAt = /* @__PURE__ */ __name((key, profile) => {
902
940
  if (key !== "permissions" && !key.startsWith("permissions."))
@@ -908,9 +946,7 @@ var profileSettingAt = /* @__PURE__ */ __name((key, profile) => {
908
946
  var addProfile = /* @__PURE__ */ __name((path, profile) => {
909
947
  if (readConfig(path).profiles.includes(profile))
910
948
  return;
911
- changeFile(path, void 0, (raw) => {
912
- profileEntry(raw, profile);
913
- });
949
+ changeFile(path, void 0, (raw) => void profileEntry(raw, profile));
914
950
  }, "addProfile");
915
951
  var filesZone = /* @__PURE__ */ __name((config) => config.filesTimezone ?? Intl.DateTimeFormat().resolvedOptions().timeZone, "filesZone");
916
952
 
@@ -934,8 +970,10 @@ export {
934
970
  permissionKeyForPath,
935
971
  permissionKeys,
936
972
  guardCommand,
973
+ ZOOM_SETTINGS,
937
974
  inspectConfig,
938
975
  readConfig,
976
+ migrateConfig,
939
977
  setConfig,
940
978
  unsetConfig,
941
979
  addProfile,
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-5HPALDUO.js";
5
+ } from "./chunk-VNIBTNV4.js";
6
6
  import {
7
7
  looksLikeReference,
8
8
  parseReference,
9
9
  providerLabel,
10
10
  providerNamed
11
- } from "./chunk-N5JRRBEG.js";
11
+ } from "./chunk-J3ZBEWQY.js";
12
12
  import {
13
13
  resolvePaths,
14
14
  writeSecurely
15
- } from "./chunk-TFDVFD4N.js";
15
+ } from "./chunk-T6CZWSHF.js";
16
16
  import {
17
17
  array,
18
18
  getDotPath,
@@ -31,19 +31,19 @@ import {
31
31
  string,
32
32
  transform,
33
33
  unknown
34
- } from "./chunk-N67BLTBV.js";
34
+ } from "./chunk-NTZDM5SJ.js";
35
35
  import {
36
36
  CliError
37
- } from "./chunk-S6S3KVJI.js";
37
+ } from "./chunk-WZ5XK74U.js";
38
38
  import {
39
39
  singleLine,
40
40
  visibleControls
41
- } from "./chunk-UYV2JGLQ.js";
41
+ } from "./chunk-6IBM4Z3V.js";
42
42
  import {
43
43
  __name
44
44
  } from "./chunk-ZVVMGPBJ.js";
45
45
 
46
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
46
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
47
47
  var TAKES = {
48
48
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
49
49
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -103,7 +103,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
103
103
  throw wrongAccount(reference, scope, profiles);
104
104
  }, "ensureAccount");
105
105
 
106
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/resolve.js
106
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/resolve.js
107
107
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
108
108
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
109
109
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -148,7 +148,7 @@ ${lines}`, { candidates });
148
148
  }, "ambiguous");
149
149
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
150
150
 
151
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/domain/formatting.js
151
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/domain/formatting.js
152
152
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
153
153
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
154
154
  const { text, spans } = formatted;
@@ -208,7 +208,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
208
208
  };
209
209
  }, "visibleFormattedText");
210
210
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/moderation/check.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/moderation/check.js
212
212
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
213
213
  var LINK = /https?:\/\/\S+/i;
214
214
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -396,7 +396,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
396
396
  }, "nextPoint");
397
397
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
398
398
 
399
- // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/moderation/rules.js
399
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/moderation/rules.js
400
400
  import { existsSync, readFileSync } from "node:fs";
401
401
  import { join } from "node:path";
402
402
  var RULE_ACTIONS = ["report", "delete", "remove"];