@wirecat/zoom-cli 0.66.0 → 0.68.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 (207) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answer-entities.d.ts +18 -0
  4. package/dist/answer-entities.d.ts.map +1 -1
  5. package/dist/answer-entities.js +12 -0
  6. package/dist/answer-entities.js.map +1 -1
  7. package/dist/answer-policy.d.ts.map +1 -1
  8. package/dist/answer-policy.js +2 -1
  9. package/dist/answer-policy.js.map +1 -1
  10. package/dist/answers.d.ts +4 -4
  11. package/dist/bin/main.js +3 -2
  12. package/dist/bin/main.js.map +1 -1
  13. package/dist/bin/zm.js +2 -2
  14. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-R66UM3HM.js} +12 -11
  15. package/dist/bundle/answer-policy-UCGUO53A.js +104 -0
  16. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-4ZI2BPLG.js} +7 -7
  17. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-64O5IQI5.js} +61 -57
  18. package/dist/bundle/{bun-O4WHGL2F.js → bun-HUHQD76Z.js} +2 -2
  19. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-VOVHPTIF.js} +6 -6
  20. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-2OSBCYJT.js} +39 -26
  21. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-2T6XHWDX.js} +2 -2
  22. package/dist/bundle/chunk-32FPA7P2.js +35 -0
  23. package/dist/bundle/{chunk-NO24PJNW.js → chunk-355PHJYX.js} +1 -1
  24. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3BRV2YU2.js} +3 -3
  25. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-474WF55M.js} +95 -48
  26. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-4TLPOY22.js} +12 -12
  27. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-4YFJYSSK.js} +205 -59
  28. package/dist/bundle/chunk-5JAYUG3X.js +261 -0
  29. package/dist/bundle/{chunk-5HPALDUO.js → chunk-65T3PU75.js} +3 -2
  30. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6CJ7NHIP.js} +13 -13
  31. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-6T3P226D.js} +4 -4
  32. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-6TJ62LZQ.js} +22 -14
  33. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-6XO7RTJY.js} +129 -9
  34. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-77I67HWF.js} +8 -8
  35. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-77KFLU5F.js} +3 -3
  36. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-7AUP2WT3.js} +3 -3
  37. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7DUYFITC.js} +25 -23
  38. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-7QNJICKZ.js} +30 -26
  39. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-A63ZFOQJ.js} +18 -4
  40. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-AJ7CMUGD.js} +1396 -326
  41. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-AVEIQMHZ.js} +4 -2
  42. package/dist/bundle/chunk-AYEVBAGO.js +178 -0
  43. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-B6JMVB6R.js} +22 -23
  44. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-BL36NSV5.js} +3 -3
  45. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-BOAMDYLY.js} +4 -4
  46. package/dist/bundle/chunk-BSM43OMN.js +31 -0
  47. package/dist/bundle/{chunk-67RNZGAG.js → chunk-DGNPJGD3.js} +16 -10
  48. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-DVA6MQWK.js} +1 -1
  49. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-DWSUSWAX.js} +98 -13
  50. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-EH5QGQFR.js} +3 -3
  51. package/dist/bundle/chunk-EJDV5IIF.js +93 -0
  52. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-EWIBLDQQ.js} +8 -8
  53. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-EZRPSZJS.js} +3 -3
  54. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-FBLUKCIR.js} +1 -1
  55. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-FEM2JQN2.js} +2 -1
  56. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-FMQS7HCC.js} +12 -12
  57. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-FNQASORM.js} +2 -2
  58. package/dist/bundle/{chunk-GKXFL35E.js → chunk-GOXDBCDM.js} +728 -130
  59. package/dist/bundle/{chunk-U3ZUT557.js → chunk-HXOAPH47.js} +1 -1
  60. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-JO4YADNV.js} +7 -7
  61. package/dist/bundle/{chunk-5A26IBAR.js → chunk-JRCYFCPL.js} +30 -28
  62. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-K67V24AT.js} +5 -5
  63. package/dist/bundle/{chunk-BXSAROQP.js → chunk-KAPJQGHE.js} +2 -2
  64. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-KNE6VFHZ.js} +97 -38
  65. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-KUB2U5NT.js} +6 -6
  66. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-L4WVLRXM.js} +4 -4
  67. package/dist/bundle/{chunk-756RS4PH.js → chunk-LBOSTBAY.js} +2541 -1355
  68. package/dist/bundle/{chunk-62GOOZO3.js → chunk-LV7QRR5S.js} +6 -6
  69. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-LYWUG43B.js} +33 -33
  70. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NRRI37NJ.js} +28 -9
  71. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-NUJMJQXV.js} +281 -10
  72. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-OE7EIP5L.js} +1 -1
  73. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-P2TISY3R.js} +1 -1
  74. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-P3ASN72F.js} +1 -1
  75. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-PIHBD3YS.js} +16 -6
  76. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-PUTGTW6W.js} +4 -2
  77. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-QXTREL2M.js} +3 -3
  78. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-R7LFGEDE.js} +2 -2
  79. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-RGJ7OWHU.js} +4 -4
  80. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-RP3U3J53.js} +10 -89
  81. package/dist/bundle/{chunk-JX3V35A5.js → chunk-RRYUD2EF.js} +3 -3
  82. package/dist/bundle/{chunk-XFUID5NY.js → chunk-SRP6SFFD.js} +2 -2
  83. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-SSPSNSC5.js} +1 -1
  84. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-TDGZMC6K.js} +510 -318
  85. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-TN3FH2GQ.js} +11 -11
  86. package/dist/bundle/chunk-TUNQ6NE2.js +64 -0
  87. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-TZUKDM72.js} +72 -20
  88. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-UDJTRFRV.js} +1 -1
  89. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-US5C3WAY.js} +63 -53
  90. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-UU5PLDRA.js} +2 -2
  91. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-VLD7Y4SY.js} +7 -7
  92. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-VW6BF6M7.js} +1 -1
  93. package/dist/bundle/chunk-W42BJ65M.js +37 -0
  94. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-Y5LP5SHV.js} +15 -12
  95. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-YJY3W2ZT.js} +232 -88
  96. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-YOAEZSDG.js} +2 -2
  97. package/dist/bundle/{chunk-IKQ73INC.js → chunk-YQRNFG2E.js} +15849 -1674
  98. package/dist/bundle/{chunk-RO44LANT.js → chunk-YTF2WPV4.js} +1880 -778
  99. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-ZRD3NDOX.js} +2 -2
  100. package/dist/bundle/{cli-HWQIL2AC.js → cli-VQJ7ZRYR.js} +124 -69
  101. package/dist/bundle/command-contract-JPUWWYIV.js +41 -0
  102. package/dist/bundle/config-YGLLR77A.js +90 -0
  103. package/dist/bundle/{decode-XPAPPUGE.js → decode-L3ENO2XH.js} +6 -6
  104. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-5MGDLOK4.js} +9 -9
  105. package/dist/bundle/{dist-LDIUQBM7.js → dist-WQLS7U23.js} +66 -17
  106. package/dist/bundle/{echarts-FMACRZQC.js → echarts-5LLJ6JXC.js} +2 -2
  107. package/dist/bundle/{embed-LK45GRQ7.js → embed-37MYTCU7.js} +7 -7
  108. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-GNGHVJAO.js} +10 -10
  109. package/dist/bundle/{failure-7OULAOWQ.js → failure-CR64C4XA.js} +3 -3
  110. package/dist/bundle/{first-run-J5FG773Q.js → first-run-NR5JKYP3.js} +12 -12
  111. package/dist/bundle/first-screen-RCR7ATO2.js +39 -0
  112. package/dist/bundle/{folders-RHPUVMDI.js → folders-VU4IN35Y.js} +5 -5
  113. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-P72XX4AK.js} +1 -1
  114. package/dist/bundle/{main-FJHE5YHU.js → main-QYFCYSTW.js} +23 -24
  115. package/dist/bundle/{mcp-MNI62HHE.js → mcp-M4QN2E7R.js} +2 -2
  116. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-66UQINKI.js} +37 -7
  117. package/dist/bundle/{node-4SNKUPXT.js → node-ZB4RNICS.js} +2 -2
  118. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-XPRKBDF3.js} +7 -7
  119. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-WJRDUU5J.js} +8 -8
  120. package/dist/bundle/{open-OVCASRSJ.js → open-S2YSIEOW.js} +6 -6
  121. package/dist/bundle/openai-CRNZFNZD.js +25 -0
  122. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-6COFGPUL.js} +6 -6
  123. package/dist/bundle/{process-HQZOTT6U.js → process-XNN4WG6N.js} +1 -1
  124. package/dist/bundle/{program-A546WC4F.js → program-BRPJKRCX.js} +181 -205
  125. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-7RQOL25I.js} +6 -6
  126. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-N5WADGQB.js} +5 -5
  127. package/dist/bundle/{remote-VAYVTJBS.js → remote-WHYV35IF.js} +8 -8
  128. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-FBMZVWSH.js} +8 -8
  129. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-TOCHREH2.js} +59 -57
  130. package/dist/bundle/{serve-KGHEDUHB.js → serve-4BABX4WS.js} +10 -10
  131. package/dist/bundle/{server-ZYTSMDTP.js → server-CDVI6LOB.js} +47 -46
  132. package/dist/bundle/server-XOFQKFVO.js +72 -0
  133. package/dist/bundle/{services-ZHMZC2OQ.js → services-PIY33I7R.js} +59 -32
  134. package/dist/bundle/{speech-7CJEFKM3.js → speech-LS5Q4FL2.js} +14 -14
  135. package/dist/bundle/{state-U6KSYVOH.js → state-YUX5R2R7.js} +7 -7
  136. package/dist/bundle/{store-DJE3LAEG.js → store-BD7HAXAA.js} +22 -17
  137. package/dist/bundle/{store-WS4CQGYU.js → store-ERMGBF2B.js} +59 -30
  138. package/dist/bundle/store-connection-JBR6CMTJ.js +83 -0
  139. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +62 -0
  140. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-O53PIORL.js} +7 -7
  141. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-QKNEP2GJ.js} +7 -7
  142. package/dist/bundle/zm.js +9 -10
  143. package/dist/bundle/zoom-app-XJXZ4ZBX.js +41 -0
  144. package/dist/commands.d.ts.map +1 -1
  145. package/dist/commands.js +1 -0
  146. package/dist/commands.js.map +1 -1
  147. package/dist/config.d.ts +9 -0
  148. package/dist/config.d.ts.map +1 -1
  149. package/dist/config.js +48 -10
  150. package/dist/config.js.map +1 -1
  151. package/dist/identity.d.ts +1 -0
  152. package/dist/identity.d.ts.map +1 -1
  153. package/dist/identity.js +11 -0
  154. package/dist/identity.js.map +1 -1
  155. package/dist/meeting-source.d.ts.map +1 -1
  156. package/dist/meeting-source.js +2 -1
  157. package/dist/meeting-source.js.map +1 -1
  158. package/dist/meeting-stats-commands.d.ts +4 -2
  159. package/dist/meeting-stats-commands.d.ts.map +1 -1
  160. package/dist/meeting-stats-commands.js +27 -2
  161. package/dist/meeting-stats-commands.js.map +1 -1
  162. package/dist/program-bindings.d.ts.map +1 -1
  163. package/dist/program-bindings.js +10 -4
  164. package/dist/program-bindings.js.map +1 -1
  165. package/dist/recording-schedule-setup.d.ts.map +1 -1
  166. package/dist/recording-schedule-setup.js +5 -5
  167. package/dist/recording-schedule-setup.js.map +1 -1
  168. package/dist/run.d.ts.map +1 -1
  169. package/dist/run.js +2 -6
  170. package/dist/run.js.map +1 -1
  171. package/dist/setup-commands.d.ts +7 -1
  172. package/dist/setup-commands.d.ts.map +1 -1
  173. package/dist/setup-commands.js +45 -8
  174. package/dist/setup-commands.js.map +1 -1
  175. package/dist/store-commands.d.ts.map +1 -1
  176. package/dist/store-commands.js +6 -0
  177. package/dist/store-commands.js.map +1 -1
  178. package/dist/store-connection.d.ts +2 -1
  179. package/dist/store-connection.d.ts.map +1 -1
  180. package/dist/store-connection.js +4 -0
  181. package/dist/store-connection.js.map +1 -1
  182. package/dist/version.d.ts +1 -1
  183. package/dist/version.js +1 -1
  184. package/dist/watch-service.d.ts +1 -1
  185. package/dist/watch-service.d.ts.map +1 -1
  186. package/dist/watch-service.js +5 -3
  187. package/dist/watch-service.js.map +1 -1
  188. package/dist/zoom-app.d.ts +49 -0
  189. package/dist/zoom-app.d.ts.map +1 -0
  190. package/dist/zoom-app.js +83 -0
  191. package/dist/zoom-app.js.map +1 -0
  192. package/package.json +4 -3
  193. package/skills/zoom-cli/SKILL.md +4 -1
  194. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  195. package/dist/bundle/chunk-2T5BOLBS.js +0 -132
  196. package/dist/bundle/chunk-HKQWV3KT.js +0 -31
  197. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  198. package/dist/bundle/chunk-P2SYZNM4.js +0 -19
  199. package/dist/bundle/chunk-TN7K66PU.js +0 -9
  200. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  201. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  202. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  203. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  204. package/dist/bundle/server-IDNSJXF3.js +0 -71
  205. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  206. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  207. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-VOXIGICJ.js} +0 -0
@@ -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-S6S3KVJI.js";
5
+ } from "./chunk-FEM2JQN2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/files/atomic-write.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
11
11
  import { randomUUID } from "node:crypto";
12
12
  import { constants } from "node:fs";
13
13
  import { link, open, realpath, rename, unlink } from "node:fs/promises";
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
45
45
  }
46
46
  }, "writeFileAtomic");
47
47
 
48
- // 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/files/ordinary-file.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
49
49
  import { constants as constants2 } from "node:fs";
50
50
  import { lstat, open as open2 } from "node:fs/promises";
51
51
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -111,7 +111,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
111
111
  }
112
112
  }, "syncDirectory");
113
113
 
114
- // 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/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // 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/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // 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/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // 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/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // 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/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // 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/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // 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/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // 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/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // 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/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // 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/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-H5ZVZAOD.js";
8
+ } from "./chunk-EH5QGQFR.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // 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/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // 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/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -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-L7IK4FOA.js";
5
+ } from "./chunk-32FPA7P2.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-S6S3KVJI.js";
8
+ } from "./chunk-FEM2JQN2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/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.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/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";
@@ -175,11 +175,12 @@ var sizeOf = /* @__PURE__ */ __name((path) => {
175
175
  }
176
176
  }, "sizeOf");
177
177
  var installedBytes = /* @__PURE__ */ __name((model) => model.files.reduce((sum, file) => sum + file.bytes, 0), "installedBytes");
178
- var install = /* @__PURE__ */ __name(async (model, directory, { fetch: get = fetch, progress, verifyExisting } = {}) => {
178
+ var install = /* @__PURE__ */ __name(async (model, directory, { fetch: get = fetch, progress, bytes, verifyExisting } = {}) => {
179
179
  mkdirSync(join(directory, model.id), { recursive: true, mode: 448 });
180
- await installFiles(placed(model, directory), { fetch: get, progress, verifyExisting });
180
+ await installFiles(placed(model, directory), { fetch: get, progress, bytes, verifyExisting });
181
181
  }, "install");
182
- var installFiles = /* @__PURE__ */ __name(async (files, { fetch: get = fetch, progress, verifyExisting } = {}) => {
182
+ var installFiles = /* @__PURE__ */ __name(async (files, { fetch: get = fetch, progress, bytes = /* @__PURE__ */ __name(() => {
183
+ }, "bytes"), verifyExisting } = {}) => {
183
184
  if (verifyExisting)
184
185
  for (const [file, path] of files) {
185
186
  if (sizeOf(path) !== void 0) {
@@ -192,18 +193,24 @@ var installFiles = /* @__PURE__ */ __name(async (files, { fetch: get = fetch, pr
192
193
  }
193
194
  }
194
195
  }
195
- for (const [file, path] of files) {
196
- if (sizeOf(path) === file.bytes)
197
- continue;
196
+ const total = files.reduce((sum, [file]) => sum + file.bytes, 0);
197
+ const missing = files.filter(([file, path]) => sizeOf(path) !== file.bytes);
198
+ let done = total - missing.reduce((sum, [file]) => sum + file.bytes, 0);
199
+ bytes(done, total);
200
+ for (const [file, path] of missing) {
198
201
  mkdirSync(dirname(path), { recursive: true, mode: 448 });
199
202
  progress?.(`downloading ${file.name} (${megabytes(file.bytes)})`);
200
- await fetchVerified(file, path, get);
203
+ const before = done;
204
+ await fetchVerified(file, path, get, (received) => {
205
+ done = before + received;
206
+ bytes(done, total);
207
+ });
201
208
  }
202
209
  }, "installFiles");
203
- var fetchVerified = /* @__PURE__ */ __name(async (file, path, get) => {
210
+ var fetchVerified = /* @__PURE__ */ __name(async (file, path, get, received) => {
204
211
  const stalled = watchdog(STALL_MS);
205
212
  try {
206
- await fetchInto(file, path, get, stalled);
213
+ await fetchInto(file, path, get, stalled, received);
207
214
  } catch (error) {
208
215
  if (stalled.signal.aborted) {
209
216
  throw new CliError("timeout", `${file.name} stopped downloading for ${STALL_MS / 1e3} s \u2014 nothing was installed`);
@@ -213,7 +220,7 @@ var fetchVerified = /* @__PURE__ */ __name(async (file, path, get) => {
213
220
  stalled.stop();
214
221
  }
215
222
  }, "fetchVerified");
216
- var fetchInto = /* @__PURE__ */ __name(async (file, path, get, stalled) => {
223
+ var fetchInto = /* @__PURE__ */ __name(async (file, path, get, stalled, received) => {
217
224
  const response = await get(file.url, { signal: stalled.signal });
218
225
  if (!response.ok || !response.body) {
219
226
  await response.body?.cancel();
@@ -231,6 +238,7 @@ var fetchInto = /* @__PURE__ */ __name(async (file, path, get, stalled) => {
231
238
  return;
232
239
  }
233
240
  hash.update(chunk);
241
+ received(bytes);
234
242
  done(null, chunk);
235
243
  }
236
244
  });
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-SU4WPBQE.js";
5
+ } from "./chunk-B6JMVB6R.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-N67BLTBV.js";
8
+ } from "./chunk-NRRI37NJ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -40,7 +40,19 @@ var SIGN_IN = [
40
40
  ["oauth.invalid", "authentication_error", "the saved sign-in cannot be read"],
41
41
  ["oauth.not-saved", "configuration_error", "the sign-in cannot be saved or read where it is kept"],
42
42
  ["sign-in.client-file-open", "configuration_error", "other users of this computer can read the client file"],
43
- ["sign-in.client-file-invalid", "configuration_error", "the file is not a Desktop app OAuth client JSON"]
43
+ ["sign-in.client-file-invalid", "configuration_error", "the file is not a Desktop app OAuth client JSON"],
44
+ ["oauth.scope-missing", "permission_error", "the sign-in lacks a permission this command needs"],
45
+ ["sign-in.client-rejected", "configuration_error", "the provider rejected the OAuth client"],
46
+ ["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"]
47
+ ];
48
+ var PROVIDER_API = [
49
+ ["offline.refused", "permission_error", "this command needs the provider; --offline was given"],
50
+ validation("api.unknown-method", "the provider has no method by this name"),
51
+ ["api.disabled", "configuration_error", "the provider's API is turned off for this OAuth project"],
52
+ ["provider.usage-limit", "rate_limited", "the account's usage limit at the provider is reached; wait, do not retry"],
53
+ ["file.not-found", "not_found", "the file named, or its folder, does not exist"],
54
+ validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
55
+ ["file.denied", "permission_error", "the file cannot be opened: permission denied"]
44
56
  ];
45
57
  var OTHERS = [
46
58
  ["query.time-limit", "timeout", "the search took longer than its time limit; the query itself is valid"],
@@ -54,19 +66,41 @@ var OTHERS = [
54
66
  validation("meeting-findings.stale", "meeting findings changed since they were read; stage a new batch"),
55
67
  validation("meeting-findings.dedicated-review", "review meeting findings through the dedicated findings command"),
56
68
  validation("evidence-findings.stale", "evidence findings changed since they were read; stage a new batch"),
69
+ validation("mail-findings.stale", "mail findings cite mail that changed since it was read; stage a new batch"),
70
+ ["mail-findings.not-stored", "not_found", "a mail finding cites an email the store does not hold"],
71
+ validation("mail-findings.partial", "a cited email is not stored whole yet; cite it once it is"),
57
72
  validation("evidence-findings.dedicated-review", "review evidence findings through the dedicated findings command"),
73
+ validation("mail-findings.dedicated-review", "review mail findings through the dedicated findings command"),
74
+ validation("mail-findings.invalid", "a checked mail findings batch would be refused; details.problems names why, finding by finding"),
75
+ validation("mail-findings.key-used", "the findings batch key was already used for different input"),
76
+ validation("finding.unknown-field", "a finding has a field its kind does not take"),
77
+ validation("finding.missing-field", "a finding leaves out a field its kind needs"),
58
78
  validation("document.changed", "the document changed while it was read; nothing was saved"),
59
79
  ["document.not-imported", "not_found", "the document is not imported in this source account"],
60
80
  ["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
61
81
  validation("extraction.text-too-long", "the text is too long for memory extraction"),
62
82
  validation("file.locked", "another process holds the file's lock"),
83
+ validation("mail.cursor-ahead", "an acknowledge cursor is past the newest stored email"),
84
+ ["mail.holder-not-yours", "permission_error", "a run moves only the mark of the holder its schedule names"],
85
+ ["mail.no-mark", "not_found", "the holder has no mark in the mailbox yet; its first review starts it"],
86
+ ["mail.reset-owner-only", "permission_error", "only the owner moves a holder's mark back"],
63
87
  ["mail.source-failed", "provider_error", "the mail server refused or did not complete a request"],
64
88
  ["mail.search-refused", "provider_error", "the mail server refused to search a folder"],
89
+ [
90
+ "mail.attachments-unread",
91
+ "provider_unavailable",
92
+ "the email could not be read again, so its skipped attachments have no text"
93
+ ],
65
94
  ["mirror.partial", "provider_error", "some mirrored files were not synced"],
66
95
  ["profile.wrong-account", "authentication_error", "the signed-in source account does not match this profile"],
67
96
  validation("push.too-many-files", "the folder holds more files than one push takes"),
68
97
  validation("push.unreadable", "the folder to push could not be read"),
69
98
  validation("spreadsheet.unreadable", "the workbook could not be read"),
99
+ [
100
+ "config.unrepairable",
101
+ "configuration_error",
102
+ "the settings file's damage has more than one reading; nothing was changed, so it is fixed by hand"
103
+ ],
70
104
  ["state.invalid", "configuration_error", "the saved sync state is unreadable or invalid; it is kept, not reset"],
71
105
  ["sync.partial", "provider_error", "some calendars did not sync; the next sync retries them"],
72
106
  validation("event.conflict", "the event changed at the provider since the last sync; sync and try again"),
@@ -84,6 +118,7 @@ var OTHERS = [
84
118
  validation("event.repeat-split", "the series cannot be split at this occurrence, or was split there already"),
85
119
  validation("event.repeat-count", "a COUNT series is split only with a rule for its new part"),
86
120
  validation("event.unmovable", "the provider keeps this kind of event on its calendar"),
121
+ validation("event.quick-add-ambiguous", "more than one event could be the one a lost quick add made"),
87
122
  validation("event.text-with-fields", "--text takes the whole event from its line, so no field option goes with it"),
88
123
  validation("calendar.ambiguous", "two or more calendars have this name; name one by its id"),
89
124
  validation("export.too-many", "the query finds more events than one export writes"),
@@ -110,12 +145,14 @@ var OTHERS = [
110
145
  ["meetings.index-pending", "not_found", "some stored meetings are not indexed by person yet"],
111
146
  ["profile.locked", "permission_error", "a profile lock pins this process to its own account"],
112
147
  ["busy.offline", "permission_error", "calendars busy asks the provider; --offline was given"],
148
+ ["busy.unanswered", "provider_error", "the provider gave no busy times for a calendar or person that was asked"],
113
149
  validation("busy.no-calendars", "no calendar syncs and no person was named, so there is nobody to ask"),
114
150
  ["search.offline", "permission_error", "search --backend server asks the provider; --offline was given"],
115
151
  validation("search.no-calendars", "no calendar of this profile syncs yet, so the provider has nothing to search"),
116
152
  validation("search.server-options", "search --backend server takes neither --exact, --cursor nor --newest"),
117
153
  validation("search.one-backend", "search answers from one backend at a time: archive or server"),
118
154
  ["search.server-not-allowed", "permission_error", "the profile does not allow messages.server-search"],
155
+ ["search.all-denied", "permission_error", "the profile denies every kind search all would read"],
119
156
  validation("search.server-no-criteria", "the query has nothing the server can search, so only the store is read"),
120
157
  ["search.server-unsupported", "provider_error", "this source's server cannot search"],
121
158
  ["search.server-rate-limited", "rate_limited", "the server refused a search as too many requests"],
@@ -129,6 +166,15 @@ var OTHERS = [
129
166
  ],
130
167
  validation("store.refused", "the local store refused the document text"),
131
168
  ["store.not-writable", "permission_error", "the message store cannot be written from this process"],
169
+ validation("store.in-use", "a process or a scheduled timer has the store open; stop it, then recover the store"),
170
+ [
171
+ "store.sqlite3-missing",
172
+ "configuration_error",
173
+ "recovering the store needs the sqlite3 program, 3.43 or newer, with its .recover command"
174
+ ],
175
+ validation("store.recovery-failed", "the recovered store did not pass its check, so the store was left as it was"),
176
+ validation("store.recovering", "another recovery of the store is running; wait for it to finish"),
177
+ validation("store.changed-during-recovery", "the store was written to during the recovery, so it was left as it was"),
132
178
  [
133
179
  "store.vector-extension-missing",
134
180
  "configuration_error",
@@ -143,8 +189,64 @@ var OTHERS = [
143
189
  validation("input.required", "the command needs an answer and cannot ask for one"),
144
190
  validation("input.too-large", "the input is over its size limit"),
145
191
  ["meeting-project.stale", "configuration_error", "the meeting's project changed meanwhile"],
192
+ validation("fact.not-accepted", "only an accepted fact can be revoked"),
193
+ validation("fact.owner-written", "the owner wrote this fact; it was never proposed, so it cannot be revoked"),
194
+ validation("fact.payment-retired", "a payment is a payments row in store.finance, not a fact"),
195
+ validation("fact.revoke-correction", "an accepted correction cannot be revoked; its superseded fact stays"),
196
+ validation("finance.allocate", "the invoice or payment cannot take an allocation in its state"),
197
+ validation("finance.currency", "the payment and the invoice are in different currencies; nothing is converted"),
198
+ validation("finance.field", "a field of the invoice or payment is not valid"),
199
+ validation("finance.line-amount", "the line's amount is not its quantity times its unit price"),
200
+ validation("finance.lines", "the invoice's lines are not valid"),
201
+ ["finance.not-allocated", "not_found", "the payment is not allocated to that invoice"],
202
+ validation("finance.over-invoice", "the allocation would settle more than the invoice's total"),
203
+ validation("finance.over-payment", "the allocation would use more than the payment's amount"),
204
+ ["finance.owner-only", "permission_error", "only the owner does this with money"],
205
+ validation("finance.party", "a party is a person: or organization: reference"),
206
+ validation("finance.ref", "the reference names no invoice or payment"),
207
+ validation("finance.status", "the invoice's status does not allow this"),
208
+ validation("finance.total", "the invoice's total is not the sum of its lines"),
209
+ validation("finance.unallocate", "a rejected or deleted payment's allocations are not taken back"),
210
+ validation("record.entity", "the invoice or payment the record stands for was refused"),
211
+ ["record.map-owner-only", "permission_error", "only the owner says which entity a source record is"],
212
+ validation("record.map-type", "a record maps only to an entity of its own type"),
213
+ validation("record.mapped", "the record already stands for another entity"),
214
+ validation("record.over-payment", "the record's settles amounts add up to more than the payment"),
215
+ validation("record.not-found", "the store holds no such record to delete"),
216
+ validation("record.invalid", "a field of the record is not the kind the entity needs"),
217
+ validation("record.reference-not-found", "a reference in the record's fields is not in the store"),
218
+ validation("record.relation-ambiguous", "the record names more than one target for a role that takes one"),
219
+ validation("record.stale-revision", "the store holds a newer revision of the record"),
146
220
  validation("memory.evidence-required", "a memory needs its evidence"),
147
221
  validation("memory.scope-required", "a memory needs its scope"),
222
+ validation("money.amount", "the amount is not a decimal string in the currency's scale"),
223
+ validation("money.currency", "the currency is not one the store keeps money in"),
224
+ validation("money.quantity", "the quantity is not a decimal above 0"),
225
+ validation("deal.closed", "a deleted deal or lead does not move or close"),
226
+ validation("deal.copy", "a CRM's copy changes in the CRM; its next sync brings the change here"),
227
+ validation("deal.field", "a field of the deal or lead is not valid"),
228
+ validation("deal.ref", "the reference names no deal or lead"),
229
+ validation("deal.stage", "no stage of that name, or a stage name more than one pipeline has"),
230
+ validation("pipeline.ambiguous", "more than one pipeline has that name; name it by its pipeline: reference"),
231
+ validation("pipeline.duplicate", "a pipeline of that name and kind is already stored"),
232
+ validation("pipeline.field", "a pipeline needs a name and at least one stage, each named once"),
233
+ ["pipeline.not-found", "not_found", "no stored pipeline has that name or reference"],
234
+ validation("crm.stage-unknown", "a CRM item stands in a stage the store does not hold; it was not kept"),
235
+ validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a currency it does not keep"),
236
+ validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the write names one"),
237
+ validation("field.unknown", "no custom field of the kind has that code or label; `fields list` lists them"),
238
+ validation("field.ambiguous", "more than one custom field has that label; name one by its code"),
239
+ validation("field.unknown-option", "the list field has no option with that id or label"),
240
+ validation("field.unknown-kind", "fields are listed for deals, leads, people and organizations only"),
241
+ validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
242
+ validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
243
+ validation("order.duplicate", "the shop's order with this number is already stored; change its status instead"),
244
+ validation("order.proposed", "the shop's order with this number already waits for the owner in a findings batch"),
245
+ validation("order.field", "a field of the order is not valid"),
246
+ validation("order.source-url", "an order's source URL is not an http or https address"),
247
+ ["order.not-found", "not_found", "no stored order of that shop has that number"],
248
+ validation("order.ref", "the reference names no order, or a shop's number names more than one"),
249
+ validation("order.status", "a rejected or deleted order's status does not change"),
148
250
  ["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
149
251
  ["person.no-owner", "not_found", "no person is marked as the owner in the store"],
150
252
  ["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
@@ -163,6 +265,20 @@ var OTHERS = [
163
265
  validation("period.ambiguous", "the period can be read more than one way"),
164
266
  validation("proposal.wrong-state", "the proposal is not in a state that allows this"),
165
267
  validation("proposal.reason-required", "an agent deciding for the owner gives a reason"),
268
+ validation("decision.request-invalid", "a decision request needs its batch, message, owner and distinct known actions"),
269
+ ["decision.token-unknown", "not_found", "no button has this token"],
270
+ ["decision.token-used", "permission_error", "this button was already pressed"],
271
+ [
272
+ "decision.token-cancelled",
273
+ "permission_error",
274
+ "another button of the message was pressed, or the feature was turned off"
275
+ ],
276
+ ["decision.token-expired", "permission_error", "this button is older than 72 hours"],
277
+ [
278
+ "decision.token-mismatch",
279
+ "permission_error",
280
+ "the press came from another chat, message or user than the button was sent to"
281
+ ],
166
282
  validation("proposal.decider-required", "a decision names who decides: the owner or an agent with a reason"),
167
283
  validation("proposal.ids", "the proposal ids cannot be read"),
168
284
  ["proposal.own", "permission_error", "an agent never decides its own proposal"],
@@ -189,15 +305,17 @@ var OTHERS = [
189
305
  validation("tag.invalid", "the tag is not valid"),
190
306
  ["reactions.list-hidden", "permission_error", "the chat does not let its members see who reacted"],
191
307
  ["reactions.broadcast", "permission_error", "a channel does not show who reacted to its posts"],
308
+ validation("task.external-id", "an external id is <service>:<id>, such as avito:4512345678"),
309
+ validation("task.source-url", "a task's source URL is not an http or https address"),
192
310
  validation("task.category-unknown", "the category is not in the task category list"),
193
311
  validation("task.claimed", "someone else holds the task"),
194
312
  validation("task.closed", "the task is already closed"),
195
- ["task.stale", "configuration_error", "the task changed since it was read; read it again"],
313
+ ["task.stale", "conflict", "the task changed since it was read; read it again"],
196
314
  validation("task.column", "the task beside which it moves is in another column than the status asked for"),
197
315
  validation("task.dependency-cycle", "the task would depend on itself"),
198
- validation("task.has-subtasks", "the task has subtasks; move or detach them before it moves to another project"),
199
- validation("task.is-subtask", "a subtask moves to another project only when it is detached from its parent in the same write"),
316
+ validation("task.is-subtask", "a subtask moves to another project alone only when it is detached from its parent in the same write"),
200
317
  validation("task.duplicate-candidates", "open tasks may be the same job: attach to one, or add it as new"),
318
+ validation("task.already-read", "the message was already read for tasks: a read again only updates and closes tasks unless --open-new"),
201
319
  validation("task.certainty-required", "an agent closes a task with its certainty, 0 to 1"),
202
320
  ["task.pair-decided", "permission_error", "the owner already decided the pair; an agent does not change it"],
203
321
  validation("task.no-close-suggestion", "the task has no agent's close waiting on the owner"),
@@ -228,7 +346,7 @@ var INPUT_FIELD_REASONS = defineReasons([
228
346
  var REASONS = defineReasons([
229
347
  ...QUERY_REASONS,
230
348
  ...INPUT_FIELD_REASONS,
231
- ...[...QUERY, ...SIGN_IN, ...OTHERS].map(([reason, code, message]) => ({
349
+ ...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...OTHERS].map(([reason, code, message]) => ({
232
350
  reason,
233
351
  code,
234
352
  message,
@@ -250,9 +368,11 @@ var DETAILS = [
250
368
  "chat",
251
369
  "chat_id",
252
370
  "cli",
371
+ "column",
253
372
  "complete",
254
373
  "emitted_bytes",
255
374
  "exact",
375
+ "file",
256
376
  "forum",
257
377
  "guide",
258
378
  "hint",
@@ -261,6 +381,7 @@ var DETAILS = [
261
381
  "kind",
262
382
  "limit",
263
383
  "limit_source",
384
+ "line",
264
385
  "max_bytes",
265
386
  "model",
266
387
  "name",
@@ -268,7 +389,6 @@ var DETAILS = [
268
389
  "operation_ids",
269
390
  "text_limit",
270
391
  "store_refused_in",
271
- "subtasks",
272
392
  "partial_output",
273
393
  "parent",
274
394
  "path",
@@ -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-S6S3KVJI.js";
5
+ } from "./chunk-FEM2JQN2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // 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/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // 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/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // 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/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // 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/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // 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/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // 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/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openOrdinaryFile
5
- } from "./chunk-QAPU2JNO.js";
5
+ } from "./chunk-6CJ7NHIP.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-S6S3KVJI.js";
8
+ } from "./chunk-FEM2JQN2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/speech/wav.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/wav.js
14
14
  import { createHash } from "node:crypto";
15
15
  import { basename, resolve } from "node:path";
16
16
  var prepared = /* @__PURE__ */ new WeakMap();
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkCancelled
5
- } from "./chunk-BXSAROQP.js";
5
+ } from "./chunk-KAPJQGHE.js";
6
6
  import {
7
7
  createOutputBuffer
8
- } from "./chunk-TFDVFD4N.js";
8
+ } from "./chunk-KNE6VFHZ.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-S6S3KVJI.js";
11
+ } from "./chunk-FEM2JQN2.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";