@wirecat/drive-cli 0.71.0 → 0.72.1

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-GOCD4ZW2.js +46 -0
  5. package/dist/bundle/{all-profiles-3QJG2NAN.js → all-profiles-PZVP3G73.js} +67 -25
  6. package/dist/bundle/{anthropic-PSWTEU6G.js → anthropic-PUOTKSYV.js} +9 -9
  7. package/dist/bundle/{app-server-PVTA6ABR.js → app-server-MKDCXRZM.js} +97 -79
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-NS5YLOQT.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PYMKLBRU.js → bun-sqlite-KSKWRLLO.js} +9 -9
  10. package/dist/bundle/{chunk-COOOO5B3.js → chunk-2CG3LUQS.js} +4 -4
  11. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-2TVHFJKV.js} +1 -1
  12. package/dist/bundle/chunk-35FIJGTT.js +52 -0
  13. package/dist/bundle/chunk-35GROSBS.js +3233 -0
  14. package/dist/bundle/{chunk-D5TGYUVU.js → chunk-3CH7I452.js} +9 -60
  15. package/dist/bundle/{chunk-ICDCAQ6K.js → chunk-3QBRS3JT.js} +13 -9
  16. package/dist/bundle/chunk-3T7JIHSO.js +353 -0
  17. package/dist/bundle/{chunk-Q7DOMFJ4.js → chunk-3VIEGRBA.js} +6 -6
  18. package/dist/bundle/chunk-3YCUYFTD.js +2159 -0
  19. package/dist/bundle/{chunk-CJLVYIOP.js → chunk-3ZGWJYSG.js} +30 -21
  20. package/dist/bundle/{chunk-YPFWNVHV.js → chunk-43PCMVTZ.js} +2 -100
  21. package/dist/bundle/{chunk-OF422U5D.js → chunk-4DK55MLP.js} +402 -402
  22. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  23. package/dist/bundle/chunk-4P6D6CUS.js +282 -0
  24. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  25. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  26. package/dist/bundle/{chunk-6W763DZN.js → chunk-54O5NJRC.js} +14 -13
  27. package/dist/bundle/{chunk-MNLL5YLM.js → chunk-5BHP4FVM.js} +2 -2
  28. package/dist/bundle/{chunk-ACUAV6VX.js → chunk-6JU4KLAZ.js} +108 -72
  29. package/dist/bundle/{chunk-YMJ6IDGT.js → chunk-6KND2DYT.js} +38 -8
  30. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-7YPZPJTB.js} +1 -1
  31. package/dist/bundle/chunk-A5XNUMW7.js +108 -0
  32. package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-AG34MPVN.js} +1 -1
  33. package/dist/bundle/chunk-B5V2U7IS.js +221 -0
  34. package/dist/bundle/chunk-B6JC5RS3.js +696 -0
  35. package/dist/bundle/chunk-BDZXGDGI.js +80 -0
  36. package/dist/bundle/{chunk-B5KSXHJ7.js → chunk-BMTMGMGE.js} +1 -1
  37. package/dist/bundle/{chunk-ZCR3IRZ2.js → chunk-CP2TZXAG.js} +16 -9
  38. package/dist/bundle/{chunk-TAUBRNC5.js → chunk-DOEP4EPW.js} +72 -59
  39. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  40. package/dist/bundle/{chunk-QETR5HIZ.js → chunk-E2TMWONO.js} +4385 -2684
  41. package/dist/bundle/chunk-E5EYJU5R.js +7 -0
  42. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  43. package/dist/bundle/{chunk-HL52XXZX.js → chunk-EXHTGQR2.js} +3 -4
  44. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  45. package/dist/bundle/{chunk-ASMMG72J.js → chunk-FJQO5OHR.js} +261 -565
  46. package/dist/bundle/{chunk-RJOQH5YY.js → chunk-FKP4T7A4.js} +111 -859
  47. package/dist/bundle/{chunk-JDV7HNNQ.js → chunk-FTL3WXZB.js} +13 -26
  48. package/dist/bundle/{chunk-FP54WSIR.js → chunk-G2CH4FRW.js} +4 -4
  49. package/dist/bundle/chunk-G2KKMQRN.js +30 -0
  50. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  51. package/dist/bundle/{chunk-Y2NWGNUB.js → chunk-G7SKXAVZ.js} +5 -5
  52. package/dist/bundle/{chunk-FT3LN3HP.js → chunk-GFI3UUIU.js} +1 -1
  53. package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
  54. package/dist/bundle/{chunk-QFR2PNJN.js → chunk-GTROGY74.js} +12 -12
  55. package/dist/bundle/{chunk-UTO2GO4P.js → chunk-GYAPDUF5.js} +45 -66
  56. package/dist/bundle/{chunk-GBKNJWOZ.js → chunk-HCMEU7AF.js} +8 -8
  57. package/dist/bundle/{chunk-FJH7DJWK.js → chunk-HDGJ7IDE.js} +6 -6
  58. package/dist/bundle/{chunk-Z3KUSRCF.js → chunk-HMN26CVU.js} +2 -2
  59. package/dist/bundle/{chunk-I4RWW3UD.js → chunk-HOICQNJX.js} +20 -5
  60. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-HPS2YGSZ.js} +1 -1
  61. package/dist/bundle/{chunk-HMS6EEQL.js → chunk-HSASPXRW.js} +3 -3
  62. package/dist/bundle/{chunk-KGYVHPGE.js → chunk-IABPGOMT.js} +2 -2
  63. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-IBQZT2YD.js} +1 -1
  64. package/dist/bundle/{chunk-PRW6SYA3.js → chunk-IE3R46YN.js} +313 -257
  65. package/dist/bundle/{chunk-7PDHGZN4.js → chunk-IE6O7463.js} +4 -4
  66. package/dist/bundle/{chunk-3UGYFXH6.js → chunk-IPBYU43F.js} +192 -379
  67. package/dist/bundle/{chunk-RWDKMU74.js → chunk-IS7STZEB.js} +3 -3
  68. package/dist/bundle/{chunk-GOWXXYEF.js → chunk-IV77ZFF4.js} +4 -4
  69. package/dist/bundle/{chunk-6XFIITOG.js → chunk-JDGF3YYS.js} +4811 -3486
  70. package/dist/bundle/{chunk-GPQ44Y2R.js → chunk-JHAACT4I.js} +2 -2
  71. package/dist/bundle/{chunk-SERXSCN3.js → chunk-JRED7BNX.js} +337 -390
  72. package/dist/bundle/{chunk-MIA7P6FZ.js → chunk-JSYUB4SM.js} +6 -6
  73. package/dist/bundle/{chunk-RESDD3Q4.js → chunk-JVM75M4H.js} +16 -3
  74. package/dist/bundle/{chunk-XF4EXO2C.js → chunk-JZ65CQWK.js} +6 -6
  75. package/dist/bundle/{chunk-QNRRK3CN.js → chunk-KBR7OC5S.js} +2 -2
  76. package/dist/bundle/chunk-KI6OOW6D.js +123 -0
  77. package/dist/bundle/chunk-KOI5G7NM.js +388 -0
  78. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-KPBUJQKT.js} +1 -1
  79. package/dist/bundle/{chunk-2LHAVY4U.js → chunk-KVBGIZ2C.js} +1 -1
  80. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  81. package/dist/bundle/{chunk-SAKO3P4H.js → chunk-LKUWH6KU.js} +1 -1
  82. package/dist/bundle/chunk-MA6U4XH2.js +36 -0
  83. package/dist/bundle/{chunk-TAFHYHKA.js → chunk-MA7ETVTZ.js} +43 -186
  84. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-MDJUYCHT.js} +1 -1
  85. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  86. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-MGC2BAD2.js} +1 -1
  87. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  88. package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
  89. package/dist/bundle/{chunk-OJSBWP3F.js → chunk-OBDPKDGB.js} +69 -7
  90. package/dist/bundle/{chunk-WVDCCYS3.js → chunk-ODTBJGWQ.js} +17 -17
  91. package/dist/bundle/chunk-PB6ACIME.js +80 -0
  92. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  93. package/dist/bundle/{chunk-72C4YOCH.js → chunk-PMAV3RNP.js} +7 -7
  94. package/dist/bundle/chunk-PSY67L73.js +783 -0
  95. package/dist/bundle/{chunk-6TNNT2MQ.js → chunk-PUVQOZ2N.js} +483 -176
  96. package/dist/bundle/{chunk-SDKQNOL5.js → chunk-QB7K6PIP.js} +6 -6
  97. package/dist/bundle/chunk-QK7GKFKB.js +188 -0
  98. package/dist/bundle/{chunk-4PA4DHYV.js → chunk-QMUWHKP5.js} +6 -6
  99. package/dist/bundle/chunk-QURQ2OU2.js +250 -0
  100. package/dist/bundle/{chunk-LXKYKRHD.js → chunk-R3EDZWXF.js} +8 -227
  101. package/dist/bundle/{chunk-KGERXYTV.js → chunk-RM4DO2WZ.js} +1 -1
  102. package/dist/bundle/chunk-S27UKJVL.js +730 -0
  103. package/dist/bundle/{chunk-22QQUKWA.js → chunk-S3SLDYTU.js} +1 -1
  104. package/dist/bundle/{chunk-FCS26CYQ.js → chunk-SAEBHENE.js} +4 -4
  105. package/dist/bundle/chunk-SM7Z2BQF.js +561 -0
  106. package/dist/bundle/{chunk-QXC6IEH6.js → chunk-SODB63MR.js} +201 -423
  107. package/dist/bundle/{chunk-2PUNKUYJ.js → chunk-SSFGSY77.js} +10320 -9907
  108. package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
  109. package/dist/bundle/{chunk-BKSQBBYG.js → chunk-SUQT4KI2.js} +9 -9
  110. package/dist/bundle/{chunk-YPNWIB6H.js → chunk-SWQDKO6D.js} +3 -3
  111. package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
  112. package/dist/bundle/{chunk-3N2OFXB5.js → chunk-T3OK6AYZ.js} +5 -5
  113. package/dist/bundle/{chunk-HKY7X6NY.js → chunk-TFIAD57H.js} +4 -4
  114. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  115. package/dist/bundle/{chunk-XMMFBPGC.js → chunk-TUL6MCTY.js} +3 -3
  116. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  117. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-UL5HSHFU.js} +4 -4
  118. package/dist/bundle/{chunk-3EBBLKIT.js → chunk-UT64BBEP.js} +4 -4
  119. package/dist/bundle/{chunk-26DHFMGZ.js → chunk-VBIZD5V5.js} +2 -2
  120. package/dist/bundle/chunk-VHTELRUA.js +50 -0
  121. package/dist/bundle/chunk-VOQICE3G.js +340 -0
  122. package/dist/bundle/{chunk-GZ2D4KXG.js → chunk-WDJRUNQN.js} +35 -12
  123. package/dist/bundle/{chunk-2UUWXPOB.js → chunk-X5CXANSA.js} +3 -3
  124. package/dist/bundle/{chunk-35SCQ4VI.js → chunk-X6HPQKAI.js} +43 -35
  125. package/dist/bundle/{chunk-COJSWDNU.js → chunk-XKWQDQ4B.js} +3 -3
  126. package/dist/bundle/{chunk-6SJOTNHF.js → chunk-XZEVHUKI.js} +6 -28
  127. package/dist/bundle/{chunk-JZHBZOJR.js → chunk-YE7DJB3F.js} +3 -3
  128. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  129. package/dist/bundle/{chunk-2BVVU7GG.js → chunk-YJVQ5GST.js} +1 -1
  130. package/dist/bundle/{chunk-ZM63SUHG.js → chunk-YRCGFSRR.js} +2 -2
  131. package/dist/bundle/{chunk-EOEU3AZN.js → chunk-ZNFXKFGF.js} +13 -13
  132. package/dist/bundle/{cli-556DERZL.js → cli-KXRWXGTS.js} +217 -114
  133. package/dist/bundle/command-contract-BGNT7MTQ.js +45 -0
  134. package/dist/bundle/{command-server-entry-AYLGNZWD.js → command-server-entry-7FZX74T6.js} +36 -34
  135. package/dist/bundle/{decode-QU24MWMN.js → decode-SZ6W34U3.js} +10 -10
  136. package/dist/bundle/{dispatch-4KODNOXV.js → dispatch-4KNSZ3PI.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-ISH62J4E.js} +2 -2
  140. package/dist/bundle/{embed-KG27KG3D.js → embed-6ODGTZPK.js} +10 -10
  141. package/dist/bundle/{embedder-IPAVUQUV.js → embedder-6FY67FTQ.js} +15 -15
  142. package/dist/bundle/entry-2SA6ZX7E.js +25 -0
  143. package/dist/bundle/{failure-ESL7ETL4.js → failure-V3ILKUTX.js} +4 -4
  144. package/dist/bundle/first-run-ZNKPPD6M.js +31 -0
  145. package/dist/bundle/first-screen-WF6GYLPN.js +45 -0
  146. package/dist/bundle/google-QCADNPCQ.js +46 -0
  147. package/dist/bundle/{google-api-VCDBSNOW.js → google-api-ZTI3NKZX.js} +88 -73
  148. package/dist/bundle/grants-BPN5AGDK.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-YX4IPGOO.js} +7 -6
  153. package/dist/bundle/{instructions-2VECIDXF.js → instructions-G5ZGHVFB.js} +1 -1
  154. package/dist/bundle/{login-7GBONT7V.js → login-CVX5VJX6.js} +96 -81
  155. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-MQ2L5IIM.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-HKZJMJ6Q.js +28 -0
  161. package/dist/bundle/meeting-model-DSE4GRVE.js +29 -0
  162. package/dist/bundle/{meeting-semantic-G7PFOKU7.js → meeting-semantic-OHG2QN2G.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-NLJINXVQ.js} +2 -2
  165. package/dist/bundle/{node-sqlite-OLQMAYB4.js → node-sqlite-KDFQDYVZ.js} +10 -10
  166. package/dist/bundle/notes-search-3VBVSQ3R.js +70 -0
  167. package/dist/bundle/oauth-M3E62ZHC.js +22 -0
  168. package/dist/bundle/{open-OXTE672W.js → open-WVRUVBIZ.js} +8 -8
  169. package/dist/bundle/{openai-EB3TPIZY.js → openai-JJWOSJMV.js} +22 -21
  170. package/dist/bundle/{process-F6TKXWWA.js → process-LPVAYRO7.js} +1 -1
  171. package/dist/bundle/{program-4IFDZ7FM.js → program-ZJRIP25J.js} +276 -1149
  172. package/dist/bundle/{prompt-F5RRHPN2.js → prompt-XCDHTEAO.js} +8 -8
  173. package/dist/bundle/{reasons-UORHJDHK.js → reasons-REEEQDAZ.js} +6 -5
  174. package/dist/bundle/{recognize-DAVNZND3.js → recognize-OZLFDJAT.js} +7 -7
  175. package/dist/bundle/remote-MDPYVCZB.js +35 -0
  176. package/dist/bundle/{rerank-CND2GVLZ.js → rerank-FLZWJNHA.js} +11 -11
  177. package/dist/bundle/{serve-ZHSPUIGX.js → serve-5UV5VLRV.js} +19 -19
  178. package/dist/bundle/{server-YMAK4LHC.js → server-53A2X2MK.js} +89 -70
  179. package/dist/bundle/server-5GMURMDE.js +97 -0
  180. package/dist/bundle/{services-ZILSFJ6E.js → services-XSMH7BXB.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-S5VPMZQH.js → sqlite-runtime-E3L7ENFU.js} +9 -9
  182. package/dist/bundle/{start-CR6X25RT.js → start-4S2VNR4J.js} +7 -7
  183. package/dist/bundle/{state-YFPHVIIJ.js → state-TQI4JSH7.js} +9 -9
  184. package/dist/bundle/{store-CL4ZJZRI.js → store-GS7PU6PJ.js} +38 -23
  185. package/dist/bundle/{store-UODRT6X4.js → store-VYJPL7MW.js} +36 -25
  186. package/dist/bundle/store-maintenance-command-JJVYUZMG.js +85 -0
  187. package/dist/bundle/surface-JC4XVMZR.js +83 -0
  188. package/dist/bundle/tokens-KJQ5EAPW.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
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
8
8
  var CONTROL = (
9
9
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
10
10
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -0,0 +1,25 @@
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/ccount@2.0.1/node_modules/ccount/index.js
8
+ function ccount(value, character) {
9
+ const source = String(value);
10
+ if (typeof character !== "string") {
11
+ throw new TypeError("Expected character");
12
+ }
13
+ let count = 0;
14
+ let index = source.indexOf(character);
15
+ while (index !== -1) {
16
+ count++;
17
+ index = source.indexOf(character, index + character.length);
18
+ }
19
+ return count;
20
+ }
21
+ __name(ccount, "ccount");
22
+
23
+ export {
24
+ ccount
25
+ };
@@ -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/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -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
+ };
@@ -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
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  errorCodes
5
- } from "./chunk-4QNW4NK6.js";
5
+ } from "./chunk-IBQZT2YD.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
@@ -248,6 +248,25 @@ function isoTimestamp(message$1) {
248
248
  }
249
249
  __name(isoTimestamp, "isoTimestamp");
250
250
  // @__NO_SIDE_EFFECTS__
251
+ function maxEntries(requirement, message$1) {
252
+ return {
253
+ kind: "validation",
254
+ type: "max_entries",
255
+ reference: maxEntries,
256
+ async: false,
257
+ expects: `<=${requirement}`,
258
+ requirement,
259
+ message: message$1,
260
+ "~run"(dataset, config$1) {
261
+ if (!dataset.typed) return dataset;
262
+ const count2 = Object.keys(dataset.value).length;
263
+ if (dataset.typed && count2 > this.requirement) _addIssue(this, "entries", dataset, config$1, { received: `${count2}` });
264
+ return dataset;
265
+ }
266
+ };
267
+ }
268
+ __name(maxEntries, "maxEntries");
269
+ // @__NO_SIDE_EFFECTS__
251
270
  function maxLength(requirement, message$1) {
252
271
  return {
253
272
  kind: "validation",
@@ -576,6 +595,23 @@ function exactOptional(wrapped, default_) {
576
595
  }
577
596
  __name(exactOptional, "exactOptional");
578
597
  // @__NO_SIDE_EFFECTS__
598
+ function function_(message$1) {
599
+ return _standardSchema({
600
+ kind: "schema",
601
+ type: "function",
602
+ reference: function_,
603
+ expects: "Function",
604
+ async: false,
605
+ message: message$1,
606
+ "~run"(dataset, config$1) {
607
+ if (typeof dataset.value === "function") dataset.typed = true;
608
+ else _addIssue(this, "type", dataset, config$1);
609
+ return dataset;
610
+ }
611
+ });
612
+ }
613
+ __name(function_, "function_");
614
+ // @__NO_SIDE_EFFECTS__
579
615
  function lazy(getter) {
580
616
  return _standardSchema({
581
617
  kind: "schema",
@@ -1322,7 +1358,7 @@ function unwrap(schema) {
1322
1358
  }
1323
1359
  __name(unwrap, "unwrap");
1324
1360
 
1325
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1361
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1326
1362
  var EFFECT_LEVELS = ["none", "read", "write"];
1327
1363
  var effectsSchema = strictObject({
1328
1364
  remote: picklist(EFFECT_LEVELS),
@@ -1959,7 +1995,7 @@ function toStandardJsonSchema(schema) {
1959
1995
  }
1960
1996
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1961
1997
 
1962
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1998
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1963
1999
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1964
2000
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1965
2001
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -2001,7 +2037,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
2001
2037
  return String(value);
2002
2038
  }), "fill");
2003
2039
 
2004
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
2040
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
2005
2041
  var MAX_NEXT_STEPS = 2;
2006
2042
  var COMPACT_FLAG = "--compact";
2007
2043
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -2078,6 +2114,22 @@ var rankingSchema = strictObject({
2078
2114
  })),
2079
2115
  ms: pipe(number(), integer(), minValue(0))
2080
2116
  });
2117
+ var count = pipe(number(), integer(), minValue(0));
2118
+ var modelRunSchema = strictObject({
2119
+ provider: text,
2120
+ model: text,
2121
+ endpoint: text,
2122
+ sent: count,
2123
+ done: count,
2124
+ left: count,
2125
+ usage: optional(strictObject({ input: count, output: count })),
2126
+ cost_usd: nullable(pipe(number(), minValue(0))),
2127
+ ms: count
2128
+ });
2129
+ var querySchema = strictObject({
2130
+ chat: optional(strictObject({ word: text, chat_id: text, title: nullable(text) })),
2131
+ respelled: optional(array(strictObject({ word: text, tried: pipe(array(text), minLength(1)) })))
2132
+ });
2081
2133
  var metaSchema = strictObject({
2082
2134
  run_id: text,
2083
2135
  duration_ms: pipe(number(), integer(), minValue(0)),
@@ -2090,7 +2142,9 @@ var metaSchema = strictObject({
2090
2142
  now: optional(isoTime),
2091
2143
  now_local: optional(localTime),
2092
2144
  window: optional(strictObject({ since: optional(isoTime), until: optional(isoTime) })),
2093
- ranking: optional(rankingSchema)
2145
+ ranking: optional(rankingSchema),
2146
+ model_run: optional(modelRunSchema),
2147
+ query: optional(querySchema)
2094
2148
  });
2095
2149
  var offsetOf = /* @__PURE__ */ __name((at, zone) => {
2096
2150
  const name = new Intl.DateTimeFormat("en-US", { timeZone: zone, timeZoneName: "longOffset" }).formatToParts(at).find((part) => part.type === "timeZoneName")?.value ?? "GMT";
@@ -2128,7 +2182,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2128
2182
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2129
2183
  ].join("\n"), "jsonlOf");
2130
2184
 
2131
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2185
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2132
2186
  var CRASH_CODE = "internal_error";
2133
2187
  var CRASH_REASON = "command.crashed";
2134
2188
  var errorObjectSchema = strictObject({
@@ -2172,6 +2226,12 @@ var BASE_REASONS = defineReasons([
2172
2226
  },
2173
2227
  { reason: "batch.output-budget", code: "validation_error", message: "batch output budget exhausted", details: [] },
2174
2228
  { reason: "config.invalid", code: "configuration_error", message: "the configuration is not valid", details: [] },
2229
+ {
2230
+ reason: "keyring.unreachable",
2231
+ code: "configuration_error",
2232
+ message: "the OS keyring did not answer, and no file holds the sign-in",
2233
+ details: []
2234
+ },
2175
2235
  { reason: "auth.failed", code: "authentication_error", message: "the sign-in did not work", details: [] },
2176
2236
  { reason: "access.denied", code: "permission_error", message: "this account may not do that", details: [] },
2177
2237
  { reason: "item.not-found", code: "not_found", message: "nothing found by that name", details: [] },
@@ -2221,7 +2281,7 @@ var BASE_REASONS = defineReasons([
2221
2281
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2222
2282
  ]);
2223
2283
 
2224
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2284
+ // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2225
2285
  var SAME_COMMAND = "*";
2226
2286
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2227
2287
  var stepSchema = union([
@@ -2308,6 +2368,7 @@ export {
2308
2368
  integer,
2309
2369
  isoDate,
2310
2370
  isoTimestamp,
2371
+ maxEntries,
2311
2372
  maxLength,
2312
2373
  maxValue,
2313
2374
  minLength,
@@ -2324,6 +2385,7 @@ export {
2324
2385
  boolean,
2325
2386
  custom,
2326
2387
  exactOptional,
2388
+ function_,
2327
2389
  lazy,
2328
2390
  literal,
2329
2391
  looseObject,