@wirecat/drive-cli 0.70.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 (262) hide show
  1. package/README.md +150 -70
  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-FW3GK3QO.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-QU73RD5R.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-5XCD5CBB.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-TIGSVNSV.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-7C5KENNU.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-GA3URWIF.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-HYXXMSVD.js → chunk-4IUNYYYL.js} +4473 -2685
  17. package/dist/bundle/{chunk-FYPW7NMH.js → chunk-4JS32SRX.js} +64 -4
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-SONPLYV7.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-5BNMWSU2.js} +659 -255
  22. package/dist/bundle/{chunk-FVTKFIQH.js → chunk-5H747A76.js} +5496 -3195
  23. package/dist/bundle/{chunk-PR7XD2DI.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-3AHBZP33.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-HRATXUFH.js → chunk-6CCO3JCM.js} +31 -22
  26. package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-RQNRYF6D.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-7QSRODXM.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-GV5DGHSA.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-BXPC5TFG.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-IGNIUDI3.js → chunk-AA4LKC6W.js} +251 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-3TCMANIM.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-F5KJWRF5.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-YCL3SK4T.js → chunk-COJTCEZP.js} +113 -860
  39. package/dist/bundle/{chunk-BD2K2ONK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-6BMTW5A6.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-P7PLKNPX.js → chunk-DHMNCOQI.js} +415 -272
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-ML3R2UHV.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-5JTB4URG.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-7IBENBCK.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-FCSHWUMW.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-RHSBXOQM.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-4WK26MPY.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-LINBDWJK.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-RCTOWLCD.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-PAPY6Q6H.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-REM5WHHQ.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-QBAOIMVB.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-TNKQDS5A.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-EDO5LZVF.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-DVVUJ254.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-FONIFRYI.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-LMJBQFW6.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FADAOLGB.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-ILAQIBEO.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-XOL346TJ.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-GAHIHE4K.js → chunk-N24YSLED.js} +9166 -9751
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-DVI72ZQG.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-I7YSHUPW.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-HWUPU6WX.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-3CHW7JGR.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-54NDYVZA.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-FN3RXBO7.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-7DJNURKV.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-66PL7P4C.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-3UWRAIWA.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-KSJAFMU5.js → chunk-R32DHS6J.js} +211 -380
  101. package/dist/bundle/{chunk-2SBC4DVV.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-IFTX7AQU.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-WJK6KTCS.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-GPDPEHYX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-XZBA6FVH.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-OY7TNUEC.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-3UZ4OH22.js → chunk-U7VEJ3CW.js} +49 -129
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-HK225DAG.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-GK3BJMGK.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-EG62WVR2.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-BBRMDMIR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GJZSVSV3.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-YZPE72GE.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-T5D4OGDC.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-6DPOWBKA.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-DHX27E5M.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-54BQWRJL.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-TGS5VPJD.js → chunk-YAIOEPKU.js} +341 -433
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-WWE5GO6G.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-DR57KDAY.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-BBFXQPKD.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-YRUR3E3E.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-BFKFKDPC.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-K4D4DIGQ.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-SEETPKBH.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-SQCEURVK.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-WZ5RKFCX.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-B2UCRZZR.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-CYNXH3RQ.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-SAND2F7L.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-JVVGS4U6.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-JSMTSB22.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-6WG3YBDU.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-VFIOZDVY.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-5U7JQCFF.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-VJMVHOWD.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-DCNT3HVE.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-NFOEHVW7.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-D47WY7EC.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-Q2FRU5VA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-T2AJJQEM.js → program-GYMJ3DDH.js} +276 -1132
  172. package/dist/bundle/{prompt-YJSDABXN.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-WEHPCSJX.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-6OBEIEB3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-L6F5SLIB.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-GYSWIWH4.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-GWWP3RIT.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-BDQBRXT5.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-BJ275RUK.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-HLNGFI2T.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-I43KZNJW.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-OSRTGYGI.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 +7 -1
  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 +6 -4
  235. package/dist/sync.js.map +1 -1
  236. package/dist/transcripts.d.ts +0 -6
  237. package/dist/transcripts.d.ts.map +1 -1
  238. package/dist/transcripts.js +0 -13
  239. package/dist/transcripts.js.map +1 -1
  240. package/dist/version.d.ts +1 -1
  241. package/dist/version.js +1 -1
  242. package/package.json +3 -3
  243. package/scenarios/find-decision.md +1 -1
  244. package/skills/drive-cli/SKILL.md +4 -2
  245. package/dist/bundle/chunk-AV5UKJZM.js +0 -729
  246. package/dist/bundle/chunk-NP7LJATI.js +0 -598
  247. package/dist/bundle/chunk-P77FL6RY.js +0 -896
  248. package/dist/bundle/chunk-ZI3YTXSF.js +0 -2
  249. package/dist/bundle/command-contract-V3F452QI.js +0 -43
  250. package/dist/bundle/entry-ORZYRJ5N.js +0 -25
  251. package/dist/bundle/first-run-KAKA6KBY.js +0 -31
  252. package/dist/bundle/first-screen-R645UHRH.js +0 -41
  253. package/dist/bundle/google-BSO3YB7N.js +0 -45
  254. package/dist/bundle/grants-PLNFYARD.js +0 -118
  255. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  256. package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
  257. package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
  258. package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
  259. package/dist/bundle/remote-3SL2QJ7T.js +0 -35
  260. package/dist/bundle/server-BI46BSRE.js +0 -80
  261. package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
  262. package/dist/bundle/tokens-DB7O7QNB.js +0 -118
@@ -0,0 +1,7 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+
4
+ // node_modules/.pnpm/@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/monthly.js
5
+ import { dirname, join } from "node:path";
6
+ import { fileURLToPath } from "node:url";
7
+ var CI_PAGE = join(dirname(fileURLToPath(new URL("standards/monthly.js", import.meta.resolve("@wirecat/cli-base")).href)), "../../docs/standards/ci.md");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.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/cli/command-server-argv.js
8
8
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
9
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
10
 
@@ -0,0 +1,37 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ convert
5
+ } from "./chunk-TRYYWV7J.js";
6
+
7
+ // node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
8
+ var phrasing = (
9
+ /** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
10
+ convert([
11
+ "break",
12
+ "delete",
13
+ "emphasis",
14
+ // To do: next major: removed since footnotes were added to GFM.
15
+ "footnote",
16
+ "footnoteReference",
17
+ "image",
18
+ "imageReference",
19
+ "inlineCode",
20
+ // Enabled by `mdast-util-math`:
21
+ "inlineMath",
22
+ "link",
23
+ "linkReference",
24
+ // Enabled by `mdast-util-mdx`:
25
+ "mdxJsxTextElement",
26
+ // Enabled by `mdast-util-mdx`:
27
+ "mdxTextExpression",
28
+ "strong",
29
+ "text",
30
+ // Enabled by `mdast-util-directive`:
31
+ "textDirective"
32
+ ])
33
+ );
34
+
35
+ export {
36
+ phrasing
37
+ };
@@ -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-54NDYVZA.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.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/atomic-write.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/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.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
48
+ // 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/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,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
111
111
  }
112
112
  }, "syncDirectory");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/lock.js
114
+ // 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/files/lock.js
115
115
  import { mkdir as mkdir2 } from "node:fs/promises";
116
116
  import { basename as basename2, dirname as dirname2 } from "node:path";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
118
+ // 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/files/native-writer-lease.js
119
119
  import { randomUUID as randomUUID2 } from "node:crypto";
120
120
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
121
121
  import { hostname as hostname2 } from "node:os";
122
122
  import { join as join3 } from "node:path";
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
124
+ // 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/files/native-lease-inspection.js
125
125
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
126
126
  import { join as join2 } from "node:path";
127
127
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
128
+ // 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/files/native-lease-owner.js
129
129
  import { hostname } from "node:os";
130
130
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
131
131
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
170
170
  }
171
171
  }, "leaseOwnerStatus");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
173
+ // 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/files/native-lease-inspection.js
174
174
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
175
175
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
176
176
  options.signal?.throwIfAborted();
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
229
229
  return { inspect, recover };
230
230
  }, "leaseInspection");
231
231
 
232
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
232
+ // 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/files/native-lease-release.js
233
233
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
234
234
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
235
235
  let releasing;
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
254
254
  };
255
255
  }, "ownedNativeLease");
256
256
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
257
+ // 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/files/native-writer-lease.js
258
258
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
259
259
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
260
260
  const { markerDirectory, legacyMarker } = layout;
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
325
325
  };
326
326
  }, "nativeWriterLeaseStore");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/lock.js
328
+ // 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/files/lock.js
329
329
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
330
330
  const folder = dirname2(path);
331
331
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
340
340
  });
341
341
  }, "acquireLock");
342
342
 
343
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
343
+ // 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/files/bounded-utf8.js
344
344
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
345
345
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
346
346
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -369,24 +369,11 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
369
369
  }
370
370
  }, "readBoundedUtf8File");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
- import { basename as basename3 } from "node:path";
374
- var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
- let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
376
- if (platform === "win32") {
377
- plain = plain.replace(/[<>:"|?*]/g, "_").replace(/[. ]+$/, "");
378
- if (/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(plain))
379
- return void 0;
380
- }
381
- return plain === "" ? void 0 : plain;
382
- }, "safeName");
383
-
384
372
  export {
385
373
  writeFileAtomic,
386
374
  openOrdinaryFile,
387
375
  sameOrdinaryFile,
388
376
  syncDirectory,
389
377
  readBoundedUtf8File,
390
- acquireLock,
391
- safeName
378
+ acquireLock
392
379
  };
@@ -171,7 +171,9 @@ var fdt = new u8(32);
171
171
  for (i = 0; i < 32; ++i)
172
172
  fdt[i] = 5;
173
173
  var i;
174
+ var flm = /* @__PURE__ */ hMap(flt, 9, 0);
174
175
  var flrm = /* @__PURE__ */ hMap(flt, 9, 1);
176
+ var fdm = /* @__PURE__ */ hMap(fdt, 5, 0);
175
177
  var fdrm = /* @__PURE__ */ hMap(fdt, 5, 1);
176
178
  var max = /* @__PURE__ */ __name(function(a) {
177
179
  var m = a[0];
@@ -367,7 +369,321 @@ var inflt = /* @__PURE__ */ __name(function(dat, st, buf, dict) {
367
369
  } while (!final);
368
370
  return bt != buf.length && noBuf ? slc(buf, 0, bt) : buf.subarray(0, bt);
369
371
  }, "inflt");
372
+ var wbits = /* @__PURE__ */ __name(function(d, p, v) {
373
+ v <<= p & 7;
374
+ var o = p / 8 | 0;
375
+ d[o] |= v;
376
+ d[o + 1] |= v >> 8;
377
+ }, "wbits");
378
+ var wbits16 = /* @__PURE__ */ __name(function(d, p, v) {
379
+ v <<= p & 7;
380
+ var o = p / 8 | 0;
381
+ d[o] |= v;
382
+ d[o + 1] |= v >> 8;
383
+ d[o + 2] |= v >> 16;
384
+ }, "wbits16");
385
+ var hTree = /* @__PURE__ */ __name(function(d, mb) {
386
+ var t = [];
387
+ for (var i2 = 0; i2 < d.length; ++i2) {
388
+ if (d[i2])
389
+ t.push({ s: i2, f: d[i2] });
390
+ }
391
+ var s = t.length;
392
+ var t2 = t.slice();
393
+ if (!s)
394
+ return { t: et, l: 0 };
395
+ if (s == 1) {
396
+ var v = new u8(t[0].s + 1);
397
+ v[t[0].s] = 1;
398
+ return { t: v, l: 1 };
399
+ }
400
+ t.sort(function(a, b) {
401
+ return a.f - b.f;
402
+ });
403
+ t.push({ s: -1, f: 25001 });
404
+ var l = t[0], r = t[1], i0 = 0, i1 = 1, i22 = 2;
405
+ t[0] = { s: -1, f: l.f + r.f, l, r };
406
+ while (i1 != s - 1) {
407
+ l = t[t[i0].f < t[i22].f ? i0++ : i22++];
408
+ r = t[i0 != i1 && t[i0].f < t[i22].f ? i0++ : i22++];
409
+ t[i1++] = { s: -1, f: l.f + r.f, l, r };
410
+ }
411
+ var maxSym = t2[0].s;
412
+ for (var i2 = 1; i2 < s; ++i2) {
413
+ if (t2[i2].s > maxSym)
414
+ maxSym = t2[i2].s;
415
+ }
416
+ var tr = new u16(maxSym + 1);
417
+ var mbt = ln(t[i1 - 1], tr, 0);
418
+ if (mbt > mb) {
419
+ var i2 = 0, dt = 0;
420
+ var lft = mbt - mb, cst = 1 << lft;
421
+ t2.sort(function(a, b) {
422
+ return tr[b.s] - tr[a.s] || a.f - b.f;
423
+ });
424
+ for (; i2 < s; ++i2) {
425
+ var i2_1 = t2[i2].s;
426
+ if (tr[i2_1] > mb) {
427
+ dt += cst - (1 << mbt - tr[i2_1]);
428
+ tr[i2_1] = mb;
429
+ } else
430
+ break;
431
+ }
432
+ dt >>= lft;
433
+ while (dt > 0) {
434
+ var i2_2 = t2[i2].s;
435
+ if (tr[i2_2] < mb)
436
+ dt -= 1 << mb - tr[i2_2]++ - 1;
437
+ else
438
+ ++i2;
439
+ }
440
+ for (; i2 >= 0 && dt; --i2) {
441
+ var i2_3 = t2[i2].s;
442
+ if (tr[i2_3] == mb) {
443
+ --tr[i2_3];
444
+ ++dt;
445
+ }
446
+ }
447
+ mbt = mb;
448
+ }
449
+ return { t: new u8(tr), l: mbt };
450
+ }, "hTree");
451
+ var ln = /* @__PURE__ */ __name(function(n, l, d) {
452
+ return n.s == -1 ? Math.max(ln(n.l, l, d + 1), ln(n.r, l, d + 1)) : l[n.s] = d;
453
+ }, "ln");
454
+ var lc = /* @__PURE__ */ __name(function(c) {
455
+ var s = c.length;
456
+ while (s && !c[--s])
457
+ ;
458
+ var cl = new u16(++s);
459
+ var cli = 0, cln = c[0], cls = 1;
460
+ var w = /* @__PURE__ */ __name(function(v) {
461
+ cl[cli++] = v;
462
+ }, "w");
463
+ for (var i2 = 1; i2 <= s; ++i2) {
464
+ if (c[i2] == cln && i2 != s)
465
+ ++cls;
466
+ else {
467
+ if (!cln && cls > 2) {
468
+ for (; cls > 138; cls -= 138)
469
+ w(32754);
470
+ if (cls > 2) {
471
+ w(cls > 10 ? cls - 11 << 5 | 28690 : cls - 3 << 5 | 12305);
472
+ cls = 0;
473
+ }
474
+ } else if (cls > 3) {
475
+ w(cln), --cls;
476
+ for (; cls > 6; cls -= 6)
477
+ w(8304);
478
+ if (cls > 2)
479
+ w(cls - 3 << 5 | 8208), cls = 0;
480
+ }
481
+ while (cls--)
482
+ w(cln);
483
+ cls = 1;
484
+ cln = c[i2];
485
+ }
486
+ }
487
+ return { c: cl.subarray(0, cli), n: s };
488
+ }, "lc");
489
+ var clen = /* @__PURE__ */ __name(function(cf, cl) {
490
+ var l = 0;
491
+ for (var i2 = 0; i2 < cl.length; ++i2)
492
+ l += cf[i2] * cl[i2];
493
+ return l;
494
+ }, "clen");
495
+ var wfblk = /* @__PURE__ */ __name(function(out, pos, dat) {
496
+ var s = dat.length;
497
+ var o = shft(pos + 2);
498
+ out[o] = s & 255;
499
+ out[o + 1] = s >> 8;
500
+ out[o + 2] = out[o] ^ 255;
501
+ out[o + 3] = out[o + 1] ^ 255;
502
+ for (var i2 = 0; i2 < s; ++i2)
503
+ out[o + i2 + 4] = dat[i2];
504
+ return (o + 4 + s) * 8;
505
+ }, "wfblk");
506
+ var wblk = /* @__PURE__ */ __name(function(dat, out, final, syms, lf, df, eb, li, bs, bl, p) {
507
+ wbits(out, p++, final);
508
+ ++lf[256];
509
+ var _a2 = hTree(lf, 15), dlt = _a2.t, mlb = _a2.l;
510
+ var _b2 = hTree(df, 15), ddt = _b2.t, mdb = _b2.l;
511
+ var _c = lc(dlt), lclt = _c.c, nlc = _c.n;
512
+ var _d = lc(ddt), lcdt = _d.c, ndc = _d.n;
513
+ var lcfreq = new u16(19);
514
+ for (var i2 = 0; i2 < lclt.length; ++i2)
515
+ ++lcfreq[lclt[i2] & 31];
516
+ for (var i2 = 0; i2 < lcdt.length; ++i2)
517
+ ++lcfreq[lcdt[i2] & 31];
518
+ var _e = hTree(lcfreq, 7), lct = _e.t, mlcb = _e.l;
519
+ var nlcc = 19;
520
+ for (; nlcc > 4 && !lct[clim[nlcc - 1]]; --nlcc)
521
+ ;
522
+ var flen = bl + 5 << 3;
523
+ var ftlen = clen(lf, flt) + clen(df, fdt) + eb;
524
+ var dtlen = clen(lf, dlt) + clen(df, ddt) + eb + 14 + 3 * nlcc + clen(lcfreq, lct) + 2 * lcfreq[16] + 3 * lcfreq[17] + 7 * lcfreq[18];
525
+ if (bs >= 0 && flen <= ftlen && flen <= dtlen)
526
+ return wfblk(out, p, dat.subarray(bs, bs + bl));
527
+ var lm, ll, dm, dl;
528
+ wbits(out, p, 1 + (dtlen < ftlen)), p += 2;
529
+ if (dtlen < ftlen) {
530
+ lm = hMap(dlt, mlb, 0), ll = dlt, dm = hMap(ddt, mdb, 0), dl = ddt;
531
+ var llm = hMap(lct, mlcb, 0);
532
+ wbits(out, p, nlc - 257);
533
+ wbits(out, p + 5, ndc - 1);
534
+ wbits(out, p + 10, nlcc - 4);
535
+ p += 14;
536
+ for (var i2 = 0; i2 < nlcc; ++i2)
537
+ wbits(out, p + 3 * i2, lct[clim[i2]]);
538
+ p += 3 * nlcc;
539
+ var lcts = [lclt, lcdt];
540
+ for (var it = 0; it < 2; ++it) {
541
+ var clct = lcts[it];
542
+ for (var i2 = 0; i2 < clct.length; ++i2) {
543
+ var len = clct[i2] & 31;
544
+ wbits(out, p, llm[len]), p += lct[len];
545
+ if (len > 15)
546
+ wbits(out, p, clct[i2] >> 5 & 127), p += clct[i2] >> 12;
547
+ }
548
+ }
549
+ } else {
550
+ lm = flm, ll = flt, dm = fdm, dl = fdt;
551
+ }
552
+ for (var i2 = 0; i2 < li; ++i2) {
553
+ var sym = syms[i2];
554
+ if (sym > 255) {
555
+ var len = sym >> 18 & 31;
556
+ wbits16(out, p, lm[len + 257]), p += ll[len + 257];
557
+ if (len > 7)
558
+ wbits(out, p, sym >> 23 & 31), p += fleb[len];
559
+ var dst = sym & 31;
560
+ wbits16(out, p, dm[dst]), p += dl[dst];
561
+ if (dst > 3)
562
+ wbits16(out, p, sym >> 5 & 8191), p += fdeb[dst];
563
+ } else {
564
+ wbits16(out, p, lm[sym]), p += ll[sym];
565
+ }
566
+ }
567
+ wbits16(out, p, lm[256]);
568
+ return p + ll[256];
569
+ }, "wblk");
570
+ var deo = /* @__PURE__ */ new i32([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]);
370
571
  var et = /* @__PURE__ */ new u8(0);
572
+ var dflt = /* @__PURE__ */ __name(function(dat, lvl, plvl, pre, post, st) {
573
+ var s = st.z || dat.length;
574
+ var o = new u8(pre + s + 5 * (1 + Math.ceil(s / 7e3)) + post);
575
+ var w = o.subarray(pre, o.length - post);
576
+ var lst = st.l;
577
+ var pos = (st.r || 0) & 7;
578
+ if (lvl) {
579
+ if (pos)
580
+ w[0] = st.r >> 3;
581
+ var opt = deo[lvl - 1];
582
+ var n = opt >> 13, c = opt & 8191;
583
+ var msk_1 = (1 << plvl) - 1;
584
+ var prev = st.p || new u16(32768), head = st.h || new u16(msk_1 + 1);
585
+ var bs1_1 = Math.ceil(plvl / 3), bs2_1 = 2 * bs1_1;
586
+ var hsh = /* @__PURE__ */ __name(function(i3) {
587
+ return (dat[i3] ^ dat[i3 + 1] << bs1_1 ^ dat[i3 + 2] << bs2_1) & msk_1;
588
+ }, "hsh");
589
+ var syms = new i32(25e3);
590
+ var lf = new u16(288), df = new u16(32);
591
+ var lc_1 = 0, eb = 0, i2 = st.i || 0, li = 0, wi = st.w || 0, bs = 0;
592
+ for (; i2 + 2 < s; ++i2) {
593
+ var hv = hsh(i2);
594
+ var imod = i2 & 32767, pimod = head[hv];
595
+ prev[imod] = pimod;
596
+ head[hv] = imod;
597
+ if (wi <= i2) {
598
+ var rem = s - i2;
599
+ if ((lc_1 > 7e3 || li > 24576) && (rem > 423 || !lst)) {
600
+ pos = wblk(dat, w, 0, syms, lf, df, eb, li, bs, i2 - bs, pos);
601
+ li = lc_1 = eb = 0, bs = i2;
602
+ for (var j = 0; j < 286; ++j)
603
+ lf[j] = 0;
604
+ for (var j = 0; j < 30; ++j)
605
+ df[j] = 0;
606
+ }
607
+ var l = 2, d = 0, ch_1 = c, dif = imod - pimod & 32767;
608
+ if (rem > 2 && hv == hsh(i2 - dif)) {
609
+ var maxn = Math.min(n, rem) - 1;
610
+ var maxd = Math.min(32767, i2);
611
+ var ml = Math.min(258, rem);
612
+ while (dif <= maxd && --ch_1 && imod != pimod) {
613
+ if (dat[i2 + l] == dat[i2 + l - dif]) {
614
+ var nl = 0;
615
+ for (; nl < ml && dat[i2 + nl] == dat[i2 + nl - dif]; ++nl)
616
+ ;
617
+ if (nl > l) {
618
+ l = nl, d = dif;
619
+ if (nl > maxn)
620
+ break;
621
+ var mmd = Math.min(dif, nl - 2);
622
+ var md = 0;
623
+ for (var j = 0; j < mmd; ++j) {
624
+ var ti = i2 - dif + j & 32767;
625
+ var pti = prev[ti];
626
+ var cd = ti - pti & 32767;
627
+ if (cd > md)
628
+ md = cd, pimod = ti;
629
+ }
630
+ }
631
+ }
632
+ imod = pimod, pimod = prev[imod];
633
+ dif += imod - pimod & 32767;
634
+ }
635
+ }
636
+ if (d) {
637
+ syms[li++] = 268435456 | revfl[l] << 18 | revfd[d];
638
+ var lin = revfl[l] & 31, din = revfd[d] & 31;
639
+ eb += fleb[lin] + fdeb[din];
640
+ ++lf[257 + lin];
641
+ ++df[din];
642
+ wi = i2 + l;
643
+ ++lc_1;
644
+ } else {
645
+ syms[li++] = dat[i2];
646
+ ++lf[dat[i2]];
647
+ }
648
+ }
649
+ }
650
+ for (i2 = Math.max(i2, wi); i2 < s; ++i2) {
651
+ syms[li++] = dat[i2];
652
+ ++lf[dat[i2]];
653
+ }
654
+ pos = wblk(dat, w, lst, syms, lf, df, eb, li, bs, i2 - bs, pos);
655
+ if (!lst) {
656
+ st.r = pos & 7 | w[pos / 8 | 0] << 3;
657
+ pos -= 7;
658
+ st.h = head, st.p = prev, st.i = i2, st.w = wi;
659
+ }
660
+ } else {
661
+ for (var i2 = st.w || 0; i2 < s + lst; i2 += 65535) {
662
+ var e = i2 + 65535;
663
+ if (e >= s) {
664
+ w[pos / 8 | 0] = lst;
665
+ e = s;
666
+ }
667
+ pos = wfblk(w, pos + 1, dat.subarray(i2, e));
668
+ }
669
+ st.i = s;
670
+ }
671
+ return slc(o, 0, pre + shft(pos) + post);
672
+ }, "dflt");
673
+ var dopt = /* @__PURE__ */ __name(function(dat, opt, pre, post, st) {
674
+ if (!st) {
675
+ st = { l: 1 };
676
+ if (opt.dictionary) {
677
+ var dict = opt.dictionary.subarray(-32768);
678
+ var newDat = new u8(dict.length + dat.length);
679
+ newDat.set(dict);
680
+ newDat.set(dat, dict.length);
681
+ dat = newDat;
682
+ st.w = dict.length;
683
+ }
684
+ }
685
+ return dflt(dat, opt.level == null ? 6 : opt.level, opt.mem == null ? st.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(dat.length))) * 1.5) : 20 : 12 + opt.mem, pre, post, st);
686
+ }, "dopt");
371
687
  var b2 = /* @__PURE__ */ __name(function(d, b) {
372
688
  return d[b] | d[b + 1] << 8;
373
689
  }, "b2");
@@ -392,6 +708,10 @@ var gzl = /* @__PURE__ */ __name(function(d) {
392
708
  var l = d.length;
393
709
  return (d[l - 4] | d[l - 3] << 8 | d[l - 2] << 16 | d[l - 1] << 24) >>> 0;
394
710
  }, "gzl");
711
+ function deflateSync(data, opts) {
712
+ return dopt(data, opts || {}, 0, 0);
713
+ }
714
+ __name(deflateSync, "deflateSync");
395
715
  var Inflate = /* @__PURE__ */ (function() {
396
716
  function Inflate2(opts, cb) {
397
717
  if (typeof opts == "function")
@@ -657,6 +977,7 @@ var Unzip = /* @__PURE__ */ (function() {
657
977
  })();
658
978
 
659
979
  export {
980
+ deflateSync,
660
981
  gunzipSync,
661
982
  UnzipInflate,
662
983
  Unzip
@@ -0,0 +1,80 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ timezoneOf,
5
+ zonedMoment
6
+ } from "./chunk-XQZEMRCU.js";
7
+ import {
8
+ CliError
9
+ } from "./chunk-OLCU7Q2B.js";
10
+ import {
11
+ __name
12
+ } from "./chunk-ZVVMGPBJ.js";
13
+
14
+ // 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/moment.js
15
+ var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
16
+ try {
17
+ return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
18
+ } catch (error) {
19
+ if (!(error instanceof CliError))
20
+ throw error;
21
+ const alternative = error.details?.alternative;
22
+ throw new CliError("validation_error", `${flag}: "${wanted}" is not a time${alternative ? ` \u2014 ${alternative}` : ""}`);
23
+ }
24
+ }, "calendarMoment");
25
+ var dayIn = /* @__PURE__ */ __name((at, zone) => new Intl.DateTimeFormat("en-CA", { timeZone: zone, year: "numeric", month: "2-digit", day: "2-digit" }).format(at), "dayIn");
26
+ var MINUTE = 6e4;
27
+ var YEAR = 365 * 24 * 60 * MINUTE;
28
+ var RELATIVE = /^(\d+)(m|h|d)$/;
29
+ var RELATIVE_MS = { m: MINUTE, h: 60 * MINUTE, d: 24 * 60 * MINUTE };
30
+ var DATE_ALONE = /^\d{4}-\d{2}-\d{2}$/;
31
+ var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
32
+ var dayWord = /* @__PURE__ */ __name((word, zone, now) => {
33
+ const today = new Intl.DateTimeFormat("en-CA", { timeZone: zone }).format(now);
34
+ if (word === "today")
35
+ return today;
36
+ const date = /* @__PURE__ */ new Date(`${today}T00:00:00Z`);
37
+ date.setUTCDate(date.getUTCDate() - 1);
38
+ return date.toISOString().slice(0, 10);
39
+ }, "dayWord");
40
+ var readMoment = /* @__PURE__ */ __name((typed, flag, { zone, end = false, now = Date.now(), direction = -1 } = {}) => {
41
+ const wanted = typed.trim();
42
+ const [, amount, unit] = RELATIVE.exec(wanted) ?? [];
43
+ if (amount && unit)
44
+ return { time: now + direction * Number(amount) * (RELATIVE_MS[unit] ?? 0), local: false, dateAlone: false };
45
+ const word = wanted.toLowerCase();
46
+ const date = word === "today" || word === "yesterday" ? dayWord(word, timezoneOf(zone), now) : wanted;
47
+ if (!/^\d{4}-\d{2}-\d{2}/.test(date))
48
+ return void 0;
49
+ const iso = date.replace(/^(\d{4}-\d{2}-\d{2}) +(?=\d)/, "$1T");
50
+ return {
51
+ time: calendarMoment(iso, flag, { ...zone === void 0 ? {} : { zone }, end }),
52
+ local: !ZONED.test(iso),
53
+ dateAlone: DATE_ALONE.test(iso)
54
+ };
55
+ }, "readMoment");
56
+ var lead = /* @__PURE__ */ __name((ms) => ms === MINUTE ? "a minute" : ms === YEAR ? "a year" : `${Math.ceil(ms / MINUTE)} minutes`, "lead");
57
+ var aheadOf = /* @__PURE__ */ __name((reference, flag, now = Date.now(), options = {}) => {
58
+ const { refuseDate = false, soonest, latest, ...at } = options;
59
+ const read = readMoment(reference, flag, { ...at, now, direction: 1 });
60
+ if (read === void 0)
61
+ throw new CliError("validation_error", `${flag} takes an ISO 8601 time, today, or 30m, 2h, 3d from now \u2014 not "${reference.trim()}"`);
62
+ if (refuseDate && read.dateAlone)
63
+ throw new CliError("validation_error", DATE_ALONE.test(reference.trim()) ? `${flag} needs a time of day as well: ${reference.trim()}T09:00` : `${flag} needs a time of day as well, like 2026-11-20T09:00`);
64
+ if (soonest === 0 && read.time <= now)
65
+ throw new CliError("validation_error", `${flag} is in the past`);
66
+ if (soonest !== void 0 && soonest > 0 && read.time < now + soonest)
67
+ throw new CliError("validation_error", `${flag} has to be at least ${lead(soonest)} from now`);
68
+ if (latest !== void 0 && read.time > now + latest)
69
+ throw new CliError("validation_error", `${flag} can be at most ${lead(latest)} from now`);
70
+ return read.time;
71
+ }, "aheadOf");
72
+
73
+ export {
74
+ calendarMoment,
75
+ dayIn,
76
+ MINUTE,
77
+ YEAR,
78
+ readMoment,
79
+ aheadOf
80
+ };
@@ -4,24 +4,24 @@ import {
4
4
  embeddingKeys,
5
5
  endpointKeyName,
6
6
  modelGateway
7
- } from "./chunk-PN4JYURZ.js";
7
+ } from "./chunk-ZPUY3COZ.js";
8
8
  import {
9
9
  modelAddressAllowed,
10
10
  onThisComputer
11
- } from "./chunk-DR57KDAY.js";
11
+ } from "./chunk-ZFDSJ5YJ.js";
12
12
  import {
13
13
  readSharedSection,
14
14
  sharedConfigPath,
15
15
  writeSharedSection
16
- } from "./chunk-WJK6KTCS.js";
16
+ } from "./chunk-RSPBVKOC.js";
17
17
  import {
18
18
  storePath
19
- } from "./chunk-T5D4OGDC.js";
19
+ } from "./chunk-WMG3H2VK.js";
20
20
  import {
21
21
  Credentials,
22
22
  isMovedRun,
23
23
  resolvePaths
24
- } from "./chunk-HRATXUFH.js";
24
+ } from "./chunk-6CCO3JCM.js";
25
25
  import {
26
26
  check,
27
27
  getDotPath,
@@ -34,15 +34,15 @@ import {
34
34
  strictObject,
35
35
  string,
36
36
  trim
37
- } from "./chunk-HHAZ6DCY.js";
37
+ } from "./chunk-GXGSC622.js";
38
38
  import {
39
39
  CliError
40
- } from "./chunk-54NDYVZA.js";
40
+ } from "./chunk-OLCU7Q2B.js";
41
41
  import {
42
42
  __name
43
43
  } from "./chunk-ZVVMGPBJ.js";
44
44
 
45
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/models/ai.js
45
+ // 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/models/ai.js
46
46
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
47
47
  var DEFAULT_BASE_URL = {
48
48
  anthropic: "https://api.anthropic.com",
@@ -161,7 +161,11 @@ var aiTextReader = /* @__PURE__ */ __name((deps) => {
161
161
  return {
162
162
  by: `${setting.provider}/${setting.model}`,
163
163
  leavesComputer: aiLeavesComputer(setting),
164
- complete: /* @__PURE__ */ __name(async (request) => (await gateway.complete(request)).text, "complete")
164
+ complete: /* @__PURE__ */ __name(async (request) => (await gateway.complete(request)).text, "complete"),
165
+ answer: /* @__PURE__ */ __name(async (request) => {
166
+ const { text, usage } = await gateway.complete(request);
167
+ return usage ? { text, usage } : { text };
168
+ }, "answer")
165
169
  };
166
170
  }, "aiTextReader");
167
171
  var reasonOf = /* @__PURE__ */ __name((error) => {