@wirecat/drive-cli 0.71.0 → 0.72.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 (258) hide show
  1. package/README.md +150 -71
  2. package/contracts/wirecat.json +77 -8
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-23OB2NZP.js +46 -0
  5. package/dist/bundle/{all-profiles-3QJG2NAN.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-PSWTEU6G.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-PVTA6ABR.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PYMKLBRU.js → bun-sqlite-JIFY7MAE.js} +9 -9
  10. package/dist/bundle/chunk-2Q325BBD.js +353 -0
  11. package/dist/bundle/chunk-35FIJGTT.js +52 -0
  12. package/dist/bundle/{chunk-RWDKMU74.js → chunk-3FRQ6V4T.js} +3 -3
  13. package/dist/bundle/chunk-47L262VI.js +340 -0
  14. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  15. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-QETR5HIZ.js → chunk-4IUNYYYL.js} +4385 -2684
  17. package/dist/bundle/{chunk-I4RWW3UD.js → chunk-4JS32SRX.js} +20 -5
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-3N2OFXB5.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-6TNNT2MQ.js → chunk-5BNMWSU2.js} +483 -176
  22. package/dist/bundle/{chunk-6XFIITOG.js → chunk-5H747A76.js} +5532 -3265
  23. package/dist/bundle/{chunk-MNLL5YLM.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-GZ2D4KXG.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-CJLVYIOP.js → chunk-6CCO3JCM.js} +30 -21
  26. package/dist/bundle/{chunk-26DHFMGZ.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-COJSWDNU.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-Q7DOMFJ4.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-FCS26CYQ.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-XMMFBPGC.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-ASMMG72J.js → chunk-AA4LKC6W.js} +244 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-LXKYKRHD.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-YPFWNVHV.js → chunk-BPA3R4KN.js} +2 -100
  36. package/dist/bundle/chunk-CIFE4KPX.js +2159 -0
  37. package/dist/bundle/chunk-CKB4XZZJ.js +730 -0
  38. package/dist/bundle/{chunk-RJOQH5YY.js → chunk-COJTCEZP.js} +111 -859
  39. package/dist/bundle/{chunk-FJH7DJWK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-BKSQBBYG.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-PRW6SYA3.js → chunk-DHMNCOQI.js} +313 -257
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-6W763DZN.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-KGYVHPGE.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-Y2NWGNUB.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-2BVVU7GG.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-GPQ44Y2R.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-35SCQ4VI.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-FT3LN3HP.js → chunk-GIEZYBRC.js} +1 -1
  59. package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
  60. package/dist/bundle/chunk-GU6ICH53.js +108 -0
  61. package/dist/bundle/{chunk-ACUAV6VX.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-KGERXYTV.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-OJSBWP3F.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-XF4EXO2C.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-HKY7X6NY.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-MIA7P6FZ.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-COOOO5B3.js → chunk-KF3ZBQJV.js} +4 -4
  71. package/dist/bundle/chunk-KFZCHJRT.js +80 -0
  72. package/dist/bundle/chunk-KLPFDFLI.js +221 -0
  73. package/dist/bundle/{chunk-EOEU3AZN.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FP54WSIR.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-QNRRK3CN.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-2LHAVY4U.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-3EBBLKIT.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-ZM63SUHG.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-2PUNKUYJ.js → chunk-N24YSLED.js} +9150 -9869
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-B5KSXHJ7.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-JDV7HNNQ.js → chunk-NNGA4QDR.js} +13 -26
  86. package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
  87. package/dist/bundle/chunk-O7CZZ36M.js +80 -0
  88. package/dist/bundle/{chunk-ICDCAQ6K.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-WVDCCYS3.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-SDKQNOL5.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-ZCR3IRZ2.js → chunk-OPIPG6AP.js} +16 -9
  94. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  95. package/dist/bundle/chunk-PRYMT3OG.js +30 -0
  96. package/dist/bundle/chunk-QDUIVMEW.js +36 -0
  97. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-QXC6IEH6.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-7PDHGZN4.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-3UGYFXH6.js → chunk-R32DHS6J.js} +187 -379
  101. package/dist/bundle/{chunk-6SJOTNHF.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-UTO2GO4P.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-GBKNJWOZ.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-HL52XXZX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-YPNWIB6H.js → chunk-ST35FIUG.js} +3 -3
  107. package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
  108. package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
  109. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  110. package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-TAFHYHKA.js → chunk-U7VEJ3CW.js} +45 -27
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-SAKO3P4H.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-D5TGYUVU.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-JZHBZOJR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GOWXXYEF.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-QFR2PNJN.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-Z3KUSRCF.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-4PA4DHYV.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-2UUWXPOB.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-OF422U5D.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-72C4YOCH.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-SERXSCN3.js → chunk-YAIOEPKU.js} +337 -390
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-RESDD3Q4.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-YMJ6IDGT.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-HMS6EEQL.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-TAUBRNC5.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-22QQUKWA.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-556DERZL.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-AYLGNZWD.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-QU24MWMN.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-4KODNOXV.js → dispatch-KOQZA74A.js} +10 -10
  137. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  138. package/dist/bundle/drive.js +11 -11
  139. package/dist/bundle/{echarts-BXX4OQWC.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-KG27KG3D.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-IPAVUQUV.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-ESL7ETL4.js → failure-GJMQLM7O.js} +4 -4
  144. package/dist/bundle/first-run-VYTIEUDA.js +31 -0
  145. package/dist/bundle/first-screen-QVZPF7KL.js +45 -0
  146. package/dist/bundle/google-VX7IPACN.js +46 -0
  147. package/dist/bundle/{google-api-VCDBSNOW.js → google-api-RFXKRLL4.js} +88 -73
  148. package/dist/bundle/grants-4XWJFVD6.js +133 -0
  149. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  150. package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
  151. package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
  152. package/dist/bundle/{identity-LOWMVGZY.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-2VECIDXF.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-7GBONT7V.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-NJIOKW3E.js} +2 -2
  156. package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
  157. package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
  158. package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
  159. package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
  160. package/dist/bundle/meeting-combined-JUNV35GM.js +28 -0
  161. package/dist/bundle/meeting-model-XY4UNWWK.js +29 -0
  162. package/dist/bundle/{meeting-semantic-G7PFOKU7.js → meeting-semantic-62QNQMOM.js} +10 -10
  163. package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
  164. package/dist/bundle/{node-MPEQSFI3.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-OLQMAYB4.js → node-sqlite-WYIRC7C7.js} +10 -10
  166. package/dist/bundle/notes-search-DEDUJKSN.js +70 -0
  167. package/dist/bundle/oauth-HXBXF4VI.js +22 -0
  168. package/dist/bundle/{open-OXTE672W.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-EB3TPIZY.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-F6TKXWWA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-4IFDZ7FM.js → program-GYMJ3DDH.js} +275 -1148
  172. package/dist/bundle/{prompt-F5RRHPN2.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-UORHJDHK.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-DAVNZND3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-CND2GVLZ.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-ZHSPUIGX.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-YMAK4LHC.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-ZILSFJ6E.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-S5VPMZQH.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-CR6X25RT.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-YFPHVIIJ.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-UODRT6X4.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-CL4ZJZRI.js → store-G5B7T7M7.js} +38 -23
  186. package/dist/bundle/store-maintenance-command-C6T4YLVF.js +85 -0
  187. package/dist/bundle/surface-3OT64BHS.js +83 -0
  188. package/dist/bundle/tokens-EHYO6D2X.js +133 -0
  189. package/dist/commands/documents.d.ts.map +1 -1
  190. package/dist/commands/documents.js +11 -1
  191. package/dist/commands/documents.js.map +1 -1
  192. package/dist/commands/remote.d.ts.map +1 -1
  193. package/dist/commands/remote.js +8 -22
  194. package/dist/commands/remote.js.map +1 -1
  195. package/dist/commands/sync.d.ts.map +1 -1
  196. package/dist/commands/sync.js +14 -4
  197. package/dist/commands/sync.js.map +1 -1
  198. package/dist/config.d.ts +5 -0
  199. package/dist/config.d.ts.map +1 -1
  200. package/dist/config.js +5 -0
  201. package/dist/config.js.map +1 -1
  202. package/dist/first-screen.d.ts.map +1 -1
  203. package/dist/first-screen.js +2 -1
  204. package/dist/first-screen.js.map +1 -1
  205. package/dist/generated/manifest.d.ts +2 -1
  206. package/dist/generated/manifest.d.ts.map +1 -1
  207. package/dist/generated/manifest.js +782 -0
  208. package/dist/generated/manifest.js.map +1 -1
  209. package/dist/generated/types.d.ts +262 -58
  210. package/dist/generated/types.d.ts.map +1 -1
  211. package/dist/google.d.ts.map +1 -1
  212. package/dist/google.js +5 -5
  213. package/dist/google.js.map +1 -1
  214. package/dist/model.d.ts +5 -2
  215. package/dist/model.d.ts.map +1 -1
  216. package/dist/model.js.map +1 -1
  217. package/dist/policy-keys.js +1 -1
  218. package/dist/policy-keys.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +9 -4
  221. package/dist/program.js.map +1 -1
  222. package/dist/state.d.ts.map +1 -1
  223. package/dist/state.js +6 -1
  224. package/dist/state.js.map +1 -1
  225. package/dist/store.d.ts.map +1 -1
  226. package/dist/store.js +2 -7
  227. package/dist/store.js.map +1 -1
  228. package/dist/supported.d.ts +2 -2
  229. package/dist/supported.d.ts.map +1 -1
  230. package/dist/supported.js +2 -3
  231. package/dist/supported.js.map +1 -1
  232. package/dist/sync.d.ts +2 -1
  233. package/dist/sync.d.ts.map +1 -1
  234. package/dist/sync.js +5 -2
  235. package/dist/sync.js.map +1 -1
  236. package/dist/version.d.ts +1 -1
  237. package/dist/version.js +1 -1
  238. package/package.json +3 -3
  239. package/scenarios/find-decision.md +1 -1
  240. package/skills/drive-cli/SKILL.md +4 -2
  241. package/dist/bundle/chunk-J5Q5FS2N.js +0 -593
  242. package/dist/bundle/chunk-L46C6HQ7.js +0 -729
  243. package/dist/bundle/chunk-UDMNY63V.js +0 -899
  244. package/dist/bundle/chunk-VKE77B3F.js +0 -2
  245. package/dist/bundle/command-contract-VRTOAV6W.js +0 -43
  246. package/dist/bundle/entry-MVXQETWS.js +0 -25
  247. package/dist/bundle/first-run-4UVLW2WR.js +0 -31
  248. package/dist/bundle/first-screen-JAKAIINI.js +0 -41
  249. package/dist/bundle/google-22NXXJX5.js +0 -45
  250. package/dist/bundle/grants-MQMTVCRQ.js +0 -118
  251. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  252. package/dist/bundle/meeting-combined-LVP4AZKA.js +0 -27
  253. package/dist/bundle/meeting-model-RAY5XDXZ.js +0 -29
  254. package/dist/bundle/oauth-SGH2I2BY.js +0 -22
  255. package/dist/bundle/remote-D5EYYIAU.js +0 -35
  256. package/dist/bundle/server-DUVJWP3Q.js +0 -80
  257. package/dist/bundle/store-maintenance-command-DY5XIBWR.js +0 -72
  258. package/dist/bundle/tokens-AF7QOFOF.js +0 -118
@@ -0,0 +1,291 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __name
5
+ } from "./chunk-ZVVMGPBJ.js";
6
+
7
+ // node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
8
+ var convert = (
9
+ // Note: overloads in JSDoc can’t yet use different `@template`s.
10
+ /**
11
+ * @type {(
12
+ * (<Condition extends string>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &
13
+ * (<Condition extends Props>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &
14
+ * (<Condition extends TestFunction>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &
15
+ * ((test?: null | undefined) => (node?: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &
16
+ * ((test?: Test) => Check)
17
+ * )}
18
+ */
19
+ /**
20
+ * @param {Test} [test]
21
+ * @returns {Check}
22
+ */
23
+ /* @__PURE__ */ __name((function(test) {
24
+ if (test === null || test === void 0) {
25
+ return ok;
26
+ }
27
+ if (typeof test === "function") {
28
+ return castFactory(test);
29
+ }
30
+ if (typeof test === "object") {
31
+ return Array.isArray(test) ? anyFactory(test) : (
32
+ // Cast because `ReadonlyArray` goes into the above but `isArray`
33
+ // narrows to `Array`.
34
+ propertiesFactory(
35
+ /** @type {Props} */
36
+ test
37
+ )
38
+ );
39
+ }
40
+ if (typeof test === "string") {
41
+ return typeFactory(test);
42
+ }
43
+ throw new Error("Expected function, string, or object as test");
44
+ }), "convert")
45
+ );
46
+ function anyFactory(tests) {
47
+ const checks = [];
48
+ let index = -1;
49
+ while (++index < tests.length) {
50
+ checks[index] = convert(tests[index]);
51
+ }
52
+ return castFactory(any);
53
+ function any(...parameters) {
54
+ let index2 = -1;
55
+ while (++index2 < checks.length) {
56
+ if (checks[index2].apply(this, parameters)) return true;
57
+ }
58
+ return false;
59
+ }
60
+ __name(any, "any");
61
+ }
62
+ __name(anyFactory, "anyFactory");
63
+ function propertiesFactory(check) {
64
+ const checkAsRecord = (
65
+ /** @type {Record<string, unknown>} */
66
+ check
67
+ );
68
+ return castFactory(all);
69
+ function all(node) {
70
+ const nodeAsRecord = (
71
+ /** @type {Record<string, unknown>} */
72
+ /** @type {unknown} */
73
+ node
74
+ );
75
+ let key;
76
+ for (key in check) {
77
+ if (nodeAsRecord[key] !== checkAsRecord[key]) return false;
78
+ }
79
+ return true;
80
+ }
81
+ __name(all, "all");
82
+ }
83
+ __name(propertiesFactory, "propertiesFactory");
84
+ function typeFactory(check) {
85
+ return castFactory(type);
86
+ function type(node) {
87
+ return node && node.type === check;
88
+ }
89
+ __name(type, "type");
90
+ }
91
+ __name(typeFactory, "typeFactory");
92
+ function castFactory(testFunction) {
93
+ return check;
94
+ function check(value, index, parent) {
95
+ return Boolean(
96
+ looksLikeANode(value) && testFunction.call(
97
+ this,
98
+ value,
99
+ typeof index === "number" ? index : void 0,
100
+ parent || void 0
101
+ )
102
+ );
103
+ }
104
+ __name(check, "check");
105
+ }
106
+ __name(castFactory, "castFactory");
107
+ function ok() {
108
+ return true;
109
+ }
110
+ __name(ok, "ok");
111
+ function looksLikeANode(value) {
112
+ return value !== null && typeof value === "object" && "type" in value;
113
+ }
114
+ __name(looksLikeANode, "looksLikeANode");
115
+
116
+ // node_modules/.pnpm/unist-util-visit-parents@6.1.0/node_modules/unist-util-visit-parents/lib/color.node.js
117
+ function color(d) {
118
+ return "\x1B[33m" + d + "\x1B[39m";
119
+ }
120
+ __name(color, "color");
121
+
122
+ // node_modules/.pnpm/unist-util-visit-parents@6.1.0/node_modules/unist-util-visit-parents/lib/index.js
123
+ var empty = [];
124
+ var CONTINUE = true;
125
+ var EXIT = false;
126
+ var SKIP = "skip";
127
+ function visitParents(tree, testOrEnterOrVisitors, enterOrVisitorsOrReverse, reverse) {
128
+ if (!tree || typeof tree !== "object") {
129
+ throw new Error("Unexpected value `" + tree + "` for `tree`, expected node");
130
+ }
131
+ let preorder = true;
132
+ let check;
133
+ let visitors;
134
+ let enter;
135
+ let exit;
136
+ if (typeof enterOrVisitorsOrReverse === "function" || enterOrVisitorsOrReverse && typeof enterOrVisitorsOrReverse === "object") {
137
+ check = /** @type {Test} */
138
+ testOrEnterOrVisitors;
139
+ visitors = enterOrVisitorsOrReverse;
140
+ if (reverse) preorder = false;
141
+ } else {
142
+ visitors = /** @type {Visitors | Visitor} */
143
+ testOrEnterOrVisitors;
144
+ if (enterOrVisitorsOrReverse) preorder = false;
145
+ }
146
+ if (typeof visitors === "function") {
147
+ enter = visitors;
148
+ } else if (visitors && typeof visitors === "object") {
149
+ if (visitors.enter === null || visitors.enter === void 0) {
150
+ } else if (typeof visitors.enter === "function") {
151
+ enter = visitors.enter;
152
+ } else {
153
+ throw new Error(
154
+ "Unexpected value `" + visitors.enter + "` for `visitors.enter`, expected optional visitor"
155
+ );
156
+ }
157
+ if (typeof visitors.exit === "function") {
158
+ exit = visitors.exit;
159
+ } else {
160
+ throw new Error(
161
+ "Unexpected value `" + visitors.exit + "` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)"
162
+ );
163
+ }
164
+ } else {
165
+ throw new Error(
166
+ "Unexpected value `" + visitors + "` for `enter` or `visitors`, expected visitor or object with visitors"
167
+ );
168
+ }
169
+ const is2 = convert(check);
170
+ const step = preorder ? 1 : -1;
171
+ factory(tree, void 0, [])();
172
+ function factory(node, index, parents) {
173
+ const value = (
174
+ /** @type {Record<string, unknown>} */
175
+ node && typeof node === "object" ? node : {}
176
+ );
177
+ if (typeof value.type === "string") {
178
+ const name = (
179
+ // `hast`
180
+ typeof value.tagName === "string" ? value.tagName : (
181
+ // `xast`
182
+ typeof value.name === "string" ? value.name : void 0
183
+ )
184
+ );
185
+ Object.defineProperty(visit2, "name", {
186
+ value: "node (" + color(node.type + (name ? "<" + name + ">" : "")) + ")"
187
+ });
188
+ }
189
+ return visit2;
190
+ function visit2() {
191
+ const matches = !check || is2(node, index, parents[parents.length - 1] || void 0);
192
+ let result = empty;
193
+ if (enter && matches) {
194
+ result = toResult(enter(node, parents, index));
195
+ if (result[0] === EXIT) {
196
+ return result;
197
+ }
198
+ }
199
+ if ("children" in node && node.children) {
200
+ const nodeAsParent = (
201
+ /** @type {UnistParent} */
202
+ node
203
+ );
204
+ if (nodeAsParent.children && result[0] !== SKIP) {
205
+ let offset = (preorder ? -1 : nodeAsParent.children.length) + step;
206
+ const grandparents = [...parents, nodeAsParent];
207
+ while (offset > -1 && offset < nodeAsParent.children.length) {
208
+ const child = nodeAsParent.children[offset];
209
+ const subresult = factory(child, offset, grandparents)();
210
+ if (subresult[0] === EXIT) {
211
+ return subresult;
212
+ }
213
+ offset = typeof subresult[1] === "number" ? subresult[1] : offset + step;
214
+ }
215
+ }
216
+ }
217
+ if (exit && matches) {
218
+ const exitResult = toResult(exit(node, parents, index));
219
+ if (exitResult[0] === SKIP) {
220
+ throw new Error(
221
+ "Unexpected value `" + exitResult[0] + "` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing"
222
+ );
223
+ }
224
+ if (exitResult[0] === EXIT || typeof exitResult[1] === "number") {
225
+ return exitResult;
226
+ }
227
+ }
228
+ return result;
229
+ }
230
+ __name(visit2, "visit");
231
+ }
232
+ __name(factory, "factory");
233
+ }
234
+ __name(visitParents, "visitParents");
235
+ function toResult(value) {
236
+ if (Array.isArray(value)) {
237
+ return value;
238
+ }
239
+ if (typeof value === "number") {
240
+ return [CONTINUE, value];
241
+ }
242
+ return value === null || value === void 0 ? empty : [value];
243
+ }
244
+ __name(toResult, "toResult");
245
+
246
+ // node_modules/.pnpm/unist-util-visit@5.2.0/node_modules/unist-util-visit/lib/index.js
247
+ function visit(tree, testOrEnterOrVisitors, enterOrVisitorsOrReverse, maybeReverse) {
248
+ let check;
249
+ let visitors;
250
+ let reverse;
251
+ if (typeof enterOrVisitorsOrReverse === "function" || enterOrVisitorsOrReverse && typeof enterOrVisitorsOrReverse === "object") {
252
+ check = /** @type {Test} */
253
+ testOrEnterOrVisitors;
254
+ visitors = enterOrVisitorsOrReverse;
255
+ reverse = maybeReverse;
256
+ } else {
257
+ visitors = /** @type {Visitor | Visitors} */
258
+ testOrEnterOrVisitors;
259
+ reverse = enterOrVisitorsOrReverse;
260
+ }
261
+ if (typeof visitors === "function") {
262
+ visitParents(tree, check, wrap(visitors), reverse);
263
+ } else {
264
+ visitParents(tree, check, wrapVisitors(visitors), reverse);
265
+ }
266
+ }
267
+ __name(visit, "visit");
268
+ function wrapVisitors(visitors) {
269
+ if (!visitors || typeof visitors !== "object") return visitors;
270
+ return {
271
+ enter: typeof visitors.enter === "function" ? wrap(visitors.enter) : visitors.enter,
272
+ exit: typeof visitors.exit === "function" ? wrap(visitors.exit) : visitors.exit
273
+ };
274
+ }
275
+ __name(wrapVisitors, "wrapVisitors");
276
+ function wrap(visitor) {
277
+ return overload;
278
+ function overload(node, parents, index) {
279
+ return visitor(node, index, parents[parents.length - 1]);
280
+ }
281
+ __name(overload, "overload");
282
+ }
283
+ __name(wrap, "wrap");
284
+
285
+ export {
286
+ convert,
287
+ EXIT,
288
+ SKIP,
289
+ visitParents,
290
+ visit
291
+ };
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -1,30 +1,34 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- refuseLacking
5
- } from "./chunk-L46C6HQ7.js";
6
3
  import {
7
4
  servingProfiles
8
- } from "./chunk-RESDD3Q4.js";
5
+ } from "./chunk-YWOLQEDV.js";
6
+ import {
7
+ refuseLacking
8
+ } from "./chunk-KFZCHJRT.js";
9
9
  import {
10
10
  DEFAULT_PACE,
11
11
  FloodMemory,
12
- OFFLINE,
13
12
  Pacer,
14
13
  RecipientList,
15
- capability,
16
14
  ceilingRefusal,
17
- chatIdIn,
18
15
  floodPathFor,
19
16
  guardFor,
20
17
  holdEnd,
21
18
  pacePathFor,
22
- profilesOnAccount,
23
19
  recipientsPathFor,
24
20
  servicesFor,
25
- throughWrapper,
26
21
  waitForTurn
27
- } from "./chunk-2PUNKUYJ.js";
22
+ } from "./chunk-N24YSLED.js";
23
+ import {
24
+ OFFLINE,
25
+ chatIdIn,
26
+ profilesOnAccount
27
+ } from "./chunk-CIFE4KPX.js";
28
+ import {
29
+ capability,
30
+ throughWrapper
31
+ } from "./chunk-PRYMT3OG.js";
28
32
  import {
29
33
  AUTHORITY_KEY,
30
34
  CEILING_KEY,
@@ -33,8 +37,6 @@ import {
33
37
  WRITE_KEYS,
34
38
  asFirstWord,
35
39
  baseContext,
36
- codeOf,
37
- currentOperation,
38
40
  environmentOf,
39
41
  fetchesUnder,
40
42
  issueMessage,
@@ -48,29 +50,35 @@ import {
48
50
  rememberAccount,
49
51
  rootOf2 as rootOf,
50
52
  skipFlagFor
51
- } from "./chunk-SERXSCN3.js";
53
+ } from "./chunk-YAIOEPKU.js";
52
54
  import {
53
55
  providerErrorKey
54
- } from "./chunk-72C4YOCH.js";
56
+ } from "./chunk-XZ7MO6EU.js";
57
+ import {
58
+ codeOf,
59
+ currentOperation
60
+ } from "./chunk-HAGXTGJC.js";
61
+ import {
62
+ openStore
63
+ } from "./chunk-4IUNYYYL.js";
55
64
  import {
56
65
  chatReferenceOf,
57
66
  ensureAccount,
58
67
  foldName,
59
68
  isId,
60
- openStore,
61
69
  pickPerson
62
- } from "./chunk-QETR5HIZ.js";
70
+ } from "./chunk-DCPWZIOV.js";
63
71
  import {
64
72
  isCliFailure
65
- } from "./chunk-26DHFMGZ.js";
73
+ } from "./chunk-6ZW2ZJYC.js";
66
74
  import {
67
75
  CliError
68
- } from "./chunk-4QNW4NK6.js";
76
+ } from "./chunk-OLCU7Q2B.js";
69
77
  import {
70
78
  __name
71
79
  } from "./chunk-ZVVMGPBJ.js";
72
80
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
81
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
74
82
  import { openSync } from "node:fs";
75
83
  import { createInterface } from "node:readline";
76
84
  import { ReadStream } from "node:tty";
@@ -125,7 +133,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
125
133
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
126
134
  }, "terminalAsker");
127
135
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
129
137
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
130
138
  "help",
131
139
  "guide",
@@ -185,6 +193,12 @@ var knownPermissionKeys = /* @__PURE__ */ __name((command, keyOf = (one) => keyF
185
193
  add(key);
186
194
  return known;
187
195
  }, "knownPermissionKeys");
196
+ var RENAMED = /* @__PURE__ */ new WeakMap();
197
+ var markRenamedPermissionKeys = /* @__PURE__ */ __name((command, renamed) => {
198
+ if (renamed.size > 0)
199
+ RENAMED.set(command, renamed);
200
+ }, "markRenamedPermissionKeys");
201
+ var renamedPermissionKeys = /* @__PURE__ */ __name((command) => new Map(everyCommand(rootOf2(command)).flatMap((one) => [...RENAMED.get(one) ?? []])), "renamedPermissionKeys");
188
202
  var knownBeside = /* @__PURE__ */ __name((key, known) => {
189
203
  const parent = key.split(".").slice(0, -1).join(".");
190
204
  const depth = parent === "" ? 1 : parent.split(".").length + 1;
@@ -193,7 +207,7 @@ var knownBeside = /* @__PURE__ */ __name((key, known) => {
193
207
  var unknownPermissionKeys = /* @__PURE__ */ __name((levels, known) => Object.keys(levels).filter((key) => key !== CEILING_KEY && !known.has(key)), "unknownPermissionKeys");
194
208
  var unknownPermissionIssues = /* @__PURE__ */ __name((command, settings, tool, keyOf) => {
195
209
  const saved = settings.savedPermissions ?? Object.keys(settings.permissions).filter((key) => key !== CEILING_KEY && settings.permissionSources[key] !== "flag").map((key) => ({ key, at: ["profiles", settings.profile, "permissions", key] }));
196
- return permissionIssues(saved, knownPermissionKeys(command, keyOf), { file: settings.configPath, tool }).map(publicIssue);
210
+ return permissionIssues(saved, knownPermissionKeys(command, keyOf), { file: settings.configPath, tool }, renamedPermissionKeys(command)).map(publicIssue);
197
211
  }, "unknownPermissionIssues");
198
212
  var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, tool, keyOf) => {
199
213
  const issues = unknownPermissionIssues(command, settings, tool, keyOf);
@@ -201,11 +215,13 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
201
215
  throw new CliError("configuration_error", issueMessage(issues), { permission: issues[0]?.key });
202
216
  const flagged = Object.keys(settings.permissions).filter((key2) => settings.permissionSources[key2] === "flag");
203
217
  const [key] = unknownPermissionKeys(Object.fromEntries(flagged.map((one) => [one, true])), knownPermissionKeys(command, keyOf));
204
- if (key !== void 0)
205
- throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
218
+ if (key === void 0)
219
+ return;
220
+ const now = renamedPermissionKeys(command).get(key);
221
+ throw new CliError("validation_error", `--permission ${key} names no command${now === void 0 ? "" : `: its command moved, so use ${now}`}`, { permission: key });
206
222
  }, "refuseUnknownPermissionKeys");
207
223
 
208
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
224
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
209
225
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
210
226
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
211
227
  let warned = false;
@@ -781,7 +797,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
781
797
  }
782
798
  }, "keep");
783
799
 
784
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
800
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
785
801
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
786
802
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
787
803
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -878,7 +894,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
878
894
  });
879
895
  }, "flooded");
880
896
 
881
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
897
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
882
898
  var observed = /* @__PURE__ */ __name((messenger, events) => {
883
899
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
884
900
  const write = currentOperation();
@@ -977,7 +993,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
977
993
  counts[part] = (counts[part] ?? 0) + items.length;
978
994
  }, "byPart");
979
995
 
980
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
996
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
981
997
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
982
998
  let opened;
983
999
  return {
@@ -1383,6 +1399,8 @@ export {
1383
1399
  commandPathKey,
1384
1400
  commandPermissions,
1385
1401
  knownPermissionKeys,
1402
+ markRenamedPermissionKeys,
1403
+ renamedPermissionKeys,
1386
1404
  knownBeside,
1387
1405
  unknownPermissionKeys,
1388
1406
  unknownPermissionIssues,
@@ -4,12 +4,6 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
8
- function normalizeIdentifier(value) {
9
- return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
10
- }
11
- __name(normalizeIdentifier, "normalizeIdentifier");
12
-
13
7
  // node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
14
8
  var asciiAlpha = regexCheck(/[A-Za-z]/);
15
9
  var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
@@ -49,7 +43,6 @@ function regexCheck(regex) {
49
43
  __name(regexCheck, "regexCheck");
50
44
 
51
45
  export {
52
- normalizeIdentifier,
53
46
  asciiAlpha,
54
47
  asciiAlphanumeric,
55
48
  asciiAtext,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -3,10 +3,13 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wrapAnsi
5
5
  } from "./chunk-HTQTIKWP.js";
6
+ import {
7
+ WIRECAT_TOOLS
8
+ } from "./chunk-OHR6IZNH.js";
6
9
  import {
7
10
  commandPathOf,
8
11
  outputOf
9
- } from "./chunk-7PDHGZN4.js";
12
+ } from "./chunk-QUZFDU4K.js";
10
13
  import {
11
14
  Command,
12
15
  Help,
@@ -17,18 +20,18 @@ import {
17
20
  environmentOf,
18
21
  metaOf,
19
22
  takesProfile
20
- } from "./chunk-SERXSCN3.js";
23
+ } from "./chunk-YAIOEPKU.js";
21
24
  import {
22
25
  writes
23
- } from "./chunk-OJSBWP3F.js";
26
+ } from "./chunk-GXGSC622.js";
24
27
  import {
25
28
  CliError
26
- } from "./chunk-4QNW4NK6.js";
29
+ } from "./chunk-OLCU7Q2B.js";
27
30
  import {
28
31
  __name
29
32
  } from "./chunk-ZVVMGPBJ.js";
30
33
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
32
35
  var ARGUMENT_KINDS = {
33
36
  chat: "chat",
34
37
  chats: "chat",
@@ -250,60 +253,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
250
253
  return { written, generated, text };
251
254
  }, "exampleReport");
252
255
 
253
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
254
- var WIRECAT_TOOLS = [
255
- {
256
- command: "tg",
257
- package: "@wirecat/tg-cli",
258
- does: "Telegram in the same local store: search, review and tasks offline"
259
- },
260
- {
261
- command: "max",
262
- package: "@wirecat/max-cli",
263
- does: "MAX in the same local store: search, review and tasks offline"
264
- },
265
- {
266
- command: "wa",
267
- package: "@wirecat/whatsapp-cli",
268
- does: "WhatsApp in the same local store: search, review and tasks offline"
269
- },
270
- {
271
- command: "zm",
272
- package: "@wirecat/zoom-cli",
273
- does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
274
- },
275
- {
276
- command: "drive",
277
- package: "@wirecat/drive-cli",
278
- does: "Google Drive and Docs as local text, searchable with your other WireCat data"
279
- },
280
- {
281
- command: "gcal",
282
- package: "@wirecat/gcal-cli",
283
- does: "Google Calendar events, searchable with your other WireCat data"
284
- },
285
- {
286
- command: "memo",
287
- package: "@wirecat/cli-memo",
288
- shown: "memo context <person>",
289
- does: "one person across messengers, mail, notes and meetings"
290
- },
291
- {
292
- command: "mail",
293
- package: "@wirecat/mail-cli",
294
- does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
295
- },
296
- {
297
- command: "b24",
298
- package: "@wirecat/bitrix24-cli",
299
- does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
300
- },
301
- {
302
- command: "pbx",
303
- package: "@wirecat/asterisk-cli",
304
- does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
305
- }
306
- ];
256
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
307
257
  var WIDTH = 100;
308
258
  var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
309
259
  var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
@@ -398,7 +348,6 @@ export {
398
348
  commandHelpText,
399
349
  commandHelpMarkdown,
400
350
  exampleReport,
401
- WIRECAT_TOOLS,
402
351
  firstScreen,
403
352
  installHelp
404
353
  };
@@ -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-4QNW4NK6.js";
5
+ } from "./chunk-OLCU7Q2B.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/limits.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/attachments/limits.js
11
11
  var MAX_FILE_BYTES = 50 * 1024 * 1024;
12
12
  var MAX_TEXT_CHARS = 2e6;
13
13
  var ATTACHMENT_LIMIT_ENV = [
@@ -33,7 +33,7 @@ var pdfPreviewLimits = /* @__PURE__ */ __name((env = process.env) => {
33
33
  return { pixels, bytes: positive(env, "MESSAGING_PDF_PREVIEW_MAX_MIB", 8 * 1024 * 1024, 1024 * 1024) };
34
34
  }, "pdfPreviewLimits");
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/domain/google-documents.js
36
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/google-documents.js
37
37
  var LINK = /https?:\/\/(?:(?:docs|drive|sheets|slides)\.google\.com|forms\.gle)(?:[/?#][^\s<>"'`]*)?/gi;
38
38
  var ID = /^[\w-]{10,}$/;
39
39
  var trimUrl = /* @__PURE__ */ __name((url) => {
@@ -1,16 +1,16 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ CliError
5
+ } from "./chunk-OLCU7Q2B.js";
3
6
  import {
4
7
  importFrom
5
8
  } from "./chunk-Y5E2WNWB.js";
6
- import {
7
- CliError
8
- } from "./chunk-4QNW4NK6.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")