@claudiolabs/claudin 0.6.7 → 0.6.8

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 (889) hide show
  1. package/dist/chunks/AgentTool-0.6.8-1h6eg55x.mjs +1 -0
  2. package/dist/chunks/App-0.6.8-gf7z37d0.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.8-z559z4n4.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.8-a964szce.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.8-hmgphwsn.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.8-9vwjqk2g.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.8-bmx62ftg.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.8-6xg5m0rs.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.8-m77gpjht.mjs +7 -0
  10. package/dist/chunks/Doctor-0.6.8-h33wtqvb.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.6.8-g4rjbnb6.mjs +6 -0
  12. package/dist/chunks/Grove-0.6.8-c6v8rps5.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.6.8-c6rr3der.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.6.8-rq8061vm.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.6.8-k3gjdk9q.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.6.8-fndbdavr.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.6.8-p9c1cvpj.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.6.8-rgwzy8mv.mjs +1 -0
  19. package/dist/chunks/REPL-0.6.8-wz4ky583.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.6.8-0vytwym2.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.6.8-j49mg943.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.6.8-1w0czdzd.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.6.8-3tb748qg.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.6.8-cchdkcj0.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.6.8-83basabp.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.6.8-vz9cakde.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.6.8-9xfzmsa4.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.6.8-z6bqkc89.mjs +1 -0
  29. package/dist/chunks/add-dir-0.6.8-maggp9sq.mjs +1 -0
  30. package/dist/chunks/agents-0.6.8-b17xcjhg.mjs +3 -0
  31. package/dist/chunks/agents-0.6.8-n3vcbv4n.mjs +110 -0
  32. package/dist/chunks/api-0.6.8-dx65vfgr.mjs +1 -0
  33. package/dist/chunks/asciicast-0.6.8-xdty46r6.mjs +1 -0
  34. package/dist/chunks/assistant-0.6.8-48pyb11z.mjs +1 -0
  35. package/dist/chunks/auth-0.6.8-jzmpk916.mjs +1 -0
  36. package/dist/chunks/auth-0.6.8-v4ggd1x2.mjs +1 -0
  37. package/dist/chunks/autoMode-0.6.8-e3tpbf8n.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.6.8-kjwba4kd.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.6.8-ahc5b93c.mjs +1 -0
  40. package/dist/chunks/branch-0.6.8-bht94rzm.mjs +4 -0
  41. package/dist/chunks/bridge-0.6.8-w3a5wvz5.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.6.8-tcqxv3wr.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.6.8-bbk61bwx.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.6.8-4gdvjwd9.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.6.8-y9zbj5sw.mjs +1 -0
  46. package/dist/chunks/btw-0.6.8-p8v9ccqj.mjs +1 -0
  47. package/dist/chunks/buddy-0.6.8-cc9dgg1j.mjs +3 -0
  48. package/dist/chunks/cacache-0.6.8-sa10tzqt.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.6.8-rb3gqp6p.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.6.8-ayfpcw3z.mjs +4 -0
  51. package/dist/chunks/caches-0.6.8-z51zt2q7.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.6.8-f2s8faxb.mjs +1 -0
  53. package/dist/chunks/claudemd-0.6.8-b32hs73z.mjs +1 -0
  54. package/dist/chunks/clear-0.6.8-wr581077.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.6.8-n1mdykjw.mjs +1 -0
  56. package/dist/chunks/cli-0.6.8-00w6vgmt.mjs +4 -0
  57. package/dist/chunks/cli-0.6.8-026meybw.mjs +2 -0
  58. package/dist/chunks/cli-0.6.8-070cxjdc.mjs +2 -0
  59. package/dist/chunks/cli-0.6.8-097dncsw.mjs +2 -0
  60. package/dist/chunks/cli-0.6.8-0dtwbbq2.mjs +10 -0
  61. package/dist/chunks/cli-0.6.8-0gpdjv55.mjs +34 -0
  62. package/dist/chunks/cli-0.6.8-0hn9sy42.mjs +2 -0
  63. package/dist/chunks/cli-0.6.8-0mb0d7wn.mjs +3 -0
  64. package/dist/chunks/cli-0.6.8-0mnxmayn.mjs +2 -0
  65. package/dist/chunks/cli-0.6.8-0rt710pa.mjs +2 -0
  66. package/dist/chunks/cli-0.6.8-0s41dm0j.mjs +2 -0
  67. package/dist/chunks/cli-0.6.8-0yz4b8v5.mjs +2 -0
  68. package/dist/chunks/cli-0.6.8-0zdwjw7h.mjs +17 -0
  69. package/dist/chunks/cli-0.6.8-1bmxpdky.mjs +2 -0
  70. package/dist/chunks/cli-0.6.8-1g5hjvgr.mjs +3 -0
  71. package/dist/chunks/cli-0.6.8-1k0se62h.mjs +2 -0
  72. package/dist/chunks/cli-0.6.8-1mnssvmz.mjs +8 -0
  73. package/dist/chunks/cli-0.6.8-1yx8jjck.mjs +2 -0
  74. package/dist/chunks/cli-0.6.8-21y1120z.mjs +2 -0
  75. package/dist/chunks/cli-0.6.8-239wrpj3.mjs +2 -0
  76. package/dist/chunks/cli-0.6.8-25he0rqv.mjs +2 -0
  77. package/dist/chunks/cli-0.6.8-2e9hw0b1.mjs +4 -0
  78. package/dist/chunks/cli-0.6.8-2f4081dz.mjs +2 -0
  79. package/dist/chunks/cli-0.6.8-2h6sve00.mjs +12 -0
  80. package/dist/chunks/cli-0.6.8-2nda5zxh.mjs +67 -0
  81. package/dist/chunks/cli-0.6.8-2p06hgb1.mjs +2 -0
  82. package/dist/chunks/cli-0.6.8-2pj7sdxd.mjs +2 -0
  83. package/dist/chunks/cli-0.6.8-2qb9g75m.mjs +2 -0
  84. package/dist/chunks/cli-0.6.8-34gwg749.mjs +2 -0
  85. package/dist/chunks/cli-0.6.8-3a510y9k.mjs +2 -0
  86. package/dist/chunks/cli-0.6.8-3ewbgezt.mjs +2 -0
  87. package/dist/chunks/cli-0.6.8-3phwrcqa.mjs +3 -0
  88. package/dist/chunks/cli-0.6.8-3z78waf8.mjs +4 -0
  89. package/dist/chunks/cli-0.6.8-416cqzak.mjs +2 -0
  90. package/dist/chunks/cli-0.6.8-4a0ebxtv.mjs +2 -0
  91. package/dist/chunks/cli-0.6.8-4avmxq80.mjs +6 -0
  92. package/dist/chunks/cli-0.6.8-4d57xs6b.mjs +2 -0
  93. package/dist/chunks/cli-0.6.8-4jh3r7br.mjs +2 -0
  94. package/dist/chunks/cli-0.6.8-4zdzrvfa.mjs +2 -0
  95. package/dist/chunks/cli-0.6.8-5enet6dq.mjs +2 -0
  96. package/dist/chunks/cli-0.6.8-5gstf2n7.mjs +2 -0
  97. package/dist/chunks/cli-0.6.8-5n9bwjf9.mjs +2 -0
  98. package/dist/chunks/cli-0.6.8-5sexbrs8.mjs +3 -0
  99. package/dist/chunks/cli-0.6.8-5y8n5kpk.mjs +2 -0
  100. package/dist/chunks/cli-0.6.8-6050y1gw.mjs +2 -0
  101. package/dist/chunks/cli-0.6.8-61qkxc3j.mjs +2 -0
  102. package/dist/chunks/cli-0.6.8-6495m72a.mjs +2 -0
  103. package/dist/chunks/cli-0.6.8-6ccg5qmp.mjs +2 -0
  104. package/dist/chunks/cli-0.6.8-6nasamhy.mjs +2 -0
  105. package/dist/chunks/cli-0.6.8-6pf3s7fk.mjs +6 -0
  106. package/dist/chunks/cli-0.6.8-6tgf3xa0.mjs +133 -0
  107. package/dist/chunks/cli-0.6.8-6v315rd0.mjs +2 -0
  108. package/dist/chunks/cli-0.6.8-6wdxaa6q.mjs +3 -0
  109. package/dist/chunks/cli-0.6.8-6z1655sa.mjs +2 -0
  110. package/dist/chunks/cli-0.6.8-72sec87k.mjs +3 -0
  111. package/dist/chunks/cli-0.6.8-77sjcesf.mjs +2 -0
  112. package/dist/chunks/cli-0.6.8-7g7k6yt9.mjs +2 -0
  113. package/dist/chunks/cli-0.6.8-7nqm28z4.mjs +2 -0
  114. package/dist/chunks/cli-0.6.8-7rznct58.mjs +2 -0
  115. package/dist/chunks/cli-0.6.8-7t0cwmv0.mjs +2 -0
  116. package/dist/chunks/cli-0.6.8-7t8gpbd2.mjs +6 -0
  117. package/dist/chunks/cli-0.6.8-82xanm26.mjs +3 -0
  118. package/dist/chunks/cli-0.6.8-883y3p0j.mjs +5348 -0
  119. package/dist/chunks/cli-0.6.8-8cptc9vb.mjs +4 -0
  120. package/dist/chunks/cli-0.6.8-8ezmkwsw.mjs +2 -0
  121. package/dist/chunks/cli-0.6.8-8h913n7t.mjs +2 -0
  122. package/dist/chunks/cli-0.6.8-8jkm4bym.mjs +2 -0
  123. package/dist/chunks/cli-0.6.8-8zc9gtx8.mjs +2 -0
  124. package/dist/chunks/cli-0.6.8-93hp2f5g.mjs +2 -0
  125. package/dist/chunks/cli-0.6.8-9cxxg2ax.mjs +2 -0
  126. package/dist/chunks/cli-0.6.8-9f5w9wre.mjs +2 -0
  127. package/dist/chunks/cli-0.6.8-9m65pb3r.mjs +18 -0
  128. package/dist/chunks/cli-0.6.8-9pkhxd6z.mjs +2 -0
  129. package/dist/chunks/cli-0.6.8-9xem54f8.mjs +2 -0
  130. package/dist/chunks/cli-0.6.8-a7nmnbm4.mjs +2 -0
  131. package/dist/chunks/cli-0.6.8-a8zm3cbn.mjs +5 -0
  132. package/dist/chunks/cli-0.6.8-abapkbf0.mjs +15 -0
  133. package/dist/chunks/cli-0.6.8-ag8hcaw0.mjs +2 -0
  134. package/dist/chunks/cli-0.6.8-atjt49c4.mjs +2 -0
  135. package/dist/chunks/cli-0.6.8-b280gnkv.mjs +1 -0
  136. package/dist/chunks/cli-0.6.8-b2zms4ec.mjs +2 -0
  137. package/dist/chunks/cli-0.6.8-b3v9vbq6.mjs +2 -0
  138. package/dist/chunks/cli-0.6.8-b6c3tmkx.mjs +2 -0
  139. package/dist/chunks/cli-0.6.8-b6f3e10d.mjs +2 -0
  140. package/dist/chunks/cli-0.6.8-bdhpc7zj.mjs +17 -0
  141. package/dist/chunks/cli-0.6.8-bh09cgap.mjs +6 -0
  142. package/dist/chunks/cli-0.6.8-bp3vvgaw.mjs +2 -0
  143. package/dist/chunks/cli-0.6.8-bsqfs15y.mjs +58 -0
  144. package/dist/chunks/cli-0.6.8-bxcjrmby.mjs +2 -0
  145. package/dist/chunks/cli-0.6.8-c838p5hk.mjs +3 -0
  146. package/dist/chunks/cli-0.6.8-cbvnsxaa.mjs +12 -0
  147. package/dist/chunks/cli-0.6.8-cctyv31j.mjs +4 -0
  148. package/dist/chunks/cli-0.6.8-cthp7gx1.mjs +2 -0
  149. package/dist/chunks/cli-0.6.8-cv73s4x5.mjs +4 -0
  150. package/dist/chunks/cli-0.6.8-dk4bw9mq.mjs +3 -0
  151. package/dist/chunks/cli-0.6.8-dpz3wm8v.mjs +2 -0
  152. package/dist/chunks/cli-0.6.8-dvkyrzw7.mjs +5 -0
  153. package/dist/chunks/cli-0.6.8-dwwx58n6.mjs +2 -0
  154. package/dist/chunks/cli-0.6.8-dxtyt1wg.mjs +2 -0
  155. package/dist/chunks/cli-0.6.8-ee7wzgsq.mjs +5 -0
  156. package/dist/chunks/cli-0.6.8-ee9mr0z2.mjs +2 -0
  157. package/dist/chunks/cli-0.6.8-efkksxch.mjs +2 -0
  158. package/dist/chunks/cli-0.6.8-efve08ng.mjs +2 -0
  159. package/dist/chunks/cli-0.6.8-ekkrzmjw.mjs +2 -0
  160. package/dist/chunks/cli-0.6.8-eyg1sq7b.mjs +2 -0
  161. package/dist/chunks/cli-0.6.8-eypwe6gz.mjs +15 -0
  162. package/dist/chunks/cli-0.6.8-fhedvbz1.mjs +15 -0
  163. package/dist/chunks/cli-0.6.8-fnet85r6.mjs +2 -0
  164. package/dist/chunks/cli-0.6.8-g3yp49rz.mjs +2 -0
  165. package/dist/chunks/cli-0.6.8-gcnabbk4.mjs +3 -0
  166. package/dist/chunks/cli-0.6.8-gfsf3tvy.mjs +2 -0
  167. package/dist/chunks/cli-0.6.8-gmzxyn2t.mjs +2 -0
  168. package/dist/chunks/cli-0.6.8-grdpt7ss.mjs +2 -0
  169. package/dist/chunks/cli-0.6.8-gscmwgeh.mjs +4 -0
  170. package/dist/chunks/cli-0.6.8-gtwt16bp.mjs +2 -0
  171. package/dist/chunks/cli-0.6.8-hj3j54vb.mjs +2 -0
  172. package/dist/chunks/cli-0.6.8-hvckc721.mjs +2 -0
  173. package/dist/chunks/cli-0.6.8-j22112y9.mjs +2 -0
  174. package/dist/chunks/cli-0.6.8-j5wfgenk.mjs +2 -0
  175. package/dist/chunks/cli-0.6.8-j81d3bq4.mjs +2 -0
  176. package/dist/chunks/cli-0.6.8-j8mdppyz.mjs +2 -0
  177. package/dist/chunks/cli-0.6.8-janhze0q.mjs +39 -0
  178. package/dist/chunks/cli-0.6.8-jea2s05x.mjs +2 -0
  179. package/dist/chunks/cli-0.6.8-jf4zbgy5.mjs +2 -0
  180. package/dist/chunks/cli-0.6.8-jp8gk6z3.mjs +2 -0
  181. package/dist/chunks/cli-0.6.8-jp9zzk35.mjs +2 -0
  182. package/dist/chunks/cli-0.6.8-jx1wvs6x.mjs +2 -0
  183. package/dist/chunks/cli-0.6.8-k533p6s5.mjs +2 -0
  184. package/dist/chunks/cli-0.6.8-kjfxmp31.mjs +2 -0
  185. package/dist/chunks/cli-0.6.8-kkh9paa3.mjs +2 -0
  186. package/dist/chunks/cli-0.6.8-kv1xtman.mjs +2 -0
  187. package/dist/chunks/cli-0.6.8-kxp0gfzq.mjs +4 -0
  188. package/dist/chunks/cli-0.6.8-m1r6z413.mjs +2 -0
  189. package/dist/chunks/cli-0.6.8-m2hw29ah.mjs +2 -0
  190. package/dist/chunks/cli-0.6.8-m2yf7dzs.mjs +2 -0
  191. package/dist/chunks/cli-0.6.8-ma2wastm.mjs +50 -0
  192. package/dist/chunks/cli-0.6.8-mecr32eb.mjs +24 -0
  193. package/dist/chunks/cli-0.6.8-mkfx6c2h.mjs +7 -0
  194. package/dist/chunks/cli-0.6.8-n3rhca7k.mjs +2 -0
  195. package/dist/chunks/cli-0.6.8-n4ecq63e.mjs +2 -0
  196. package/dist/chunks/cli-0.6.8-nmdsnavk.mjs +2 -0
  197. package/dist/chunks/cli-0.6.8-nwtmpseh.mjs +2 -0
  198. package/dist/chunks/cli-0.6.8-nz7pwsys.mjs +2 -0
  199. package/dist/chunks/cli-0.6.8-p6rhsdxf.mjs +2 -0
  200. package/dist/chunks/cli-0.6.8-pgcmgfht.mjs +2 -0
  201. package/dist/chunks/cli-0.6.8-pmpv80vx.mjs +2 -0
  202. package/dist/chunks/cli-0.6.8-pz3sbced.mjs +25 -0
  203. package/dist/chunks/cli-0.6.8-pzbspy3n.mjs +2 -0
  204. package/dist/chunks/cli-0.6.8-q027tb7b.mjs +2 -0
  205. package/dist/chunks/cli-0.6.8-q3txjpb9.mjs +2 -0
  206. package/dist/chunks/cli-0.6.8-qg557m5n.mjs +2 -0
  207. package/dist/chunks/cli-0.6.8-r1yjkwda.mjs +2 -0
  208. package/dist/chunks/cli-0.6.8-r42pr0w8.mjs +2 -0
  209. package/dist/chunks/cli-0.6.8-r9jgzx43.mjs +2 -0
  210. package/dist/chunks/cli-0.6.8-rewjhmpq.mjs +133 -0
  211. package/dist/chunks/cli-0.6.8-reyv7f1y.mjs +9 -0
  212. package/dist/chunks/cli-0.6.8-rftvcrp4.mjs +2 -0
  213. package/dist/chunks/cli-0.6.8-rw4y8s92.mjs +2 -0
  214. package/dist/chunks/cli-0.6.8-s0geqcvz.mjs +2 -0
  215. package/dist/chunks/cli-0.6.8-s0s7zs2a.mjs +24 -0
  216. package/dist/chunks/cli-0.6.8-s6yd5ybz.mjs +2 -0
  217. package/dist/chunks/cli-0.6.8-s98bd3q2.mjs +2 -0
  218. package/dist/chunks/cli-0.6.8-sn09eprm.mjs +2 -0
  219. package/dist/chunks/cli-0.6.8-sz1r1tvd.mjs +2 -0
  220. package/dist/chunks/cli-0.6.8-sznj03wy.mjs +3 -0
  221. package/dist/chunks/cli-0.6.8-t1kd2tg3.mjs +2 -0
  222. package/dist/chunks/cli-0.6.8-t3th9jjg.mjs +2 -0
  223. package/dist/chunks/cli-0.6.8-ta6qf4we.mjs +20 -0
  224. package/dist/chunks/cli-0.6.8-tb4rrntr.mjs +16 -0
  225. package/dist/chunks/cli-0.6.8-tewmm6rt.mjs +2 -0
  226. package/dist/chunks/cli-0.6.8-tnqnaqpx.mjs +3 -0
  227. package/dist/chunks/cli-0.6.8-tzmx6gz0.mjs +12 -0
  228. package/dist/chunks/cli-0.6.8-tztjt9fh.mjs +4 -0
  229. package/dist/chunks/cli-0.6.8-v582jfcn.mjs +4 -0
  230. package/dist/chunks/cli-0.6.8-v9wg3pvs.mjs +2 -0
  231. package/dist/chunks/cli-0.6.8-vcpys5fx.mjs +2 -0
  232. package/dist/chunks/cli-0.6.8-vf9cagcj.mjs +59 -0
  233. package/dist/chunks/cli-0.6.8-vpaw67v2.mjs +193 -0
  234. package/dist/chunks/cli-0.6.8-vqhtd9ay.mjs +2 -0
  235. package/dist/chunks/cli-0.6.8-vseqtday.mjs +21 -0
  236. package/dist/chunks/cli-0.6.8-vwhx9xjq.mjs +2 -0
  237. package/dist/chunks/cli-0.6.8-wdjsawer.mjs +3 -0
  238. package/dist/chunks/cli-0.6.8-wdq4r1nd.mjs +2 -0
  239. package/dist/chunks/cli-0.6.8-wfy4hqb2.mjs +2 -0
  240. package/dist/chunks/cli-0.6.8-wh069qak.mjs +2 -0
  241. package/dist/chunks/cli-0.6.8-wj4r5nwg.mjs +2 -0
  242. package/dist/chunks/cli-0.6.8-wnjmpcsm.mjs +2 -0
  243. package/dist/chunks/cli-0.6.8-x87v5pq1.mjs +45 -0
  244. package/dist/chunks/cli-0.6.8-xj1ptmgh.mjs +2 -0
  245. package/dist/chunks/cli-0.6.8-y0p6bqj6.mjs +2 -0
  246. package/dist/chunks/cli-0.6.8-y2c1w6bt.mjs +42 -0
  247. package/dist/chunks/cli-0.6.8-y3hnde8e.mjs +2 -0
  248. package/dist/chunks/cli-0.6.8-yvfgg1kg.mjs +2 -0
  249. package/dist/chunks/cli-0.6.8-yvt0y45m.mjs +28 -0
  250. package/dist/chunks/cli-0.6.8-yztx4k12.mjs +18 -0
  251. package/dist/chunks/cli-0.6.8-z4wpf0ah.mjs +2 -0
  252. package/dist/chunks/client-0.6.8-8kz2zw01.mjs +1 -0
  253. package/dist/chunks/color-0.6.8-jhpvc051.mjs +1 -0
  254. package/dist/chunks/compact-0.6.8-0gcf2ncc.mjs +3 -0
  255. package/dist/chunks/config-0.6.8-dxk5q3qr.mjs +1 -0
  256. package/dist/chunks/config-0.6.8-xdt0r55h.mjs +1 -0
  257. package/dist/chunks/constants-0.6.8-49aaqy22.mjs +1 -0
  258. package/dist/chunks/context-0.6.8-tavd1s8s.mjs +1 -0
  259. package/dist/chunks/context-noninteractive-0.6.8-6vagjsgf.mjs +1 -0
  260. package/dist/chunks/conversation-0.6.8-10fvebzj.mjs +1 -0
  261. package/dist/chunks/copilotHeaders-0.6.8-fqca0jf7.mjs +1 -0
  262. package/dist/chunks/copy-0.6.8-rhzw5vyv.mjs +9 -0
  263. package/dist/chunks/cost-0.6.8-w3qf0kpn.mjs +1 -0
  264. package/dist/chunks/createSSHSession-0.6.8-r7cw30nn.mjs +1 -0
  265. package/dist/chunks/createSession-0.6.8-vwbe80jv.mjs +1 -0
  266. package/dist/chunks/debug-0.6.8-pzm167m4.mjs +1 -0
  267. package/dist/chunks/defaultActionDeps-0.6.8-nnx5s7ws.mjs +1367 -0
  268. package/dist/chunks/desktop-0.6.8-ef8y3qjr.mjs +1 -0
  269. package/dist/chunks/detectRepository-0.6.8-3ayp37pd.mjs +1 -0
  270. package/dist/chunks/detection-0.6.8-pdrw5y2x.mjs +1 -0
  271. package/dist/chunks/diff-0.6.8-fxk9tzbd.mjs +1 -0
  272. package/dist/chunks/doctor-0.6.8-ajzrj1jx.mjs +1 -0
  273. package/dist/chunks/doctorDiagnostic-0.6.8-w72jdksp.mjs +1 -0
  274. package/dist/chunks/earlyInput-0.6.8-ca9mzfzf.mjs +1 -0
  275. package/dist/chunks/effort-0.6.8-e6xp1ycv.mjs +10 -0
  276. package/dist/chunks/envLessBridgeConfig-0.6.8-9vz6evg2.mjs +1 -0
  277. package/dist/chunks/envUtils-0.6.8-vq8np9fm.mjs +1 -0
  278. package/dist/chunks/environmentSelection-0.6.8-mf3acav0.mjs +1 -0
  279. package/dist/chunks/environments-0.6.8-k7rgvnpj.mjs +1 -0
  280. package/dist/chunks/errors-0.6.8-svsjkqng.mjs +1 -0
  281. package/dist/chunks/exampleCommands-0.6.8-7qjc7y64.mjs +1 -0
  282. package/dist/chunks/exit-0.6.8-507vwyf9.mjs +1 -0
  283. package/dist/chunks/explorer-0.6.8-25m08xd0.mjs +1 -0
  284. package/dist/chunks/export-0.6.8-w1yn5sa3.mjs +2 -0
  285. package/dist/chunks/extra-usage-0.6.8-sahj9pr6.mjs +1 -0
  286. package/dist/chunks/extra-usage-noninteractive-0.6.8-3r3nczjf.mjs +1 -0
  287. package/dist/chunks/fast-0.6.8-jpkz65vs.mjs +1 -0
  288. package/dist/chunks/feedback-0.6.8-5w9gvrc0.mjs +14 -0
  289. package/dist/chunks/firstPartyEventLogger-0.6.8-b2w3hkeb.mjs +1 -0
  290. package/dist/chunks/git-0.6.8-drry71tr.mjs +1 -0
  291. package/dist/chunks/githubModelsCredentials-0.6.8-4phd2tn9.mjs +1 -0
  292. package/dist/chunks/goal-0.6.8-vp972bd7.mjs +4 -0
  293. package/dist/chunks/grove-0.6.8-9dr81tf3.mjs +1 -0
  294. package/dist/chunks/growthbook-0.6.8-fcwcztdp.mjs +1 -0
  295. package/dist/chunks/headless-0.6.8-m2jzbvg9.mjs +2 -0
  296. package/dist/chunks/heapdump-0.6.8-awp81a34.mjs +6 -0
  297. package/dist/chunks/help-0.6.8-hbsb7av5.mjs +1 -0
  298. package/dist/chunks/hookChains-0.6.8-04mbkzxt.mjs +3 -0
  299. package/dist/chunks/hooks-0.6.8-6x1xc1rx.mjs +1 -0
  300. package/dist/chunks/hooks-0.6.8-80h8h076.mjs +79 -0
  301. package/dist/chunks/ide-0.6.8-7vbxnmby.mjs +3 -0
  302. package/dist/chunks/image-processor-napi-0.6.8-8m23kpm0.mjs +1 -0
  303. package/dist/chunks/inboundAttachments-0.6.8-wcyd47px.mjs +1 -0
  304. package/dist/chunks/index-0.6.8-1q3w68f1.mjs +1 -0
  305. package/dist/chunks/index-0.6.8-1w8hv7a8.mjs +1 -0
  306. package/dist/chunks/index-0.6.8-2sp7v8r9.mjs +2 -0
  307. package/dist/chunks/index-0.6.8-3782mjyy.mjs +1 -0
  308. package/dist/chunks/index-0.6.8-6eeqw069.mjs +1 -0
  309. package/dist/chunks/index-0.6.8-7dmsg46k.mjs +5 -0
  310. package/dist/chunks/index-0.6.8-7prxs8kr.mjs +1 -0
  311. package/dist/chunks/index-0.6.8-azcjsyp8.mjs +1 -0
  312. package/dist/chunks/index-0.6.8-ccq5xheq.mjs +2 -0
  313. package/dist/chunks/index-0.6.8-dkdk0g9j.mjs +1 -0
  314. package/dist/chunks/index-0.6.8-dv8qe20v.mjs +1 -0
  315. package/dist/chunks/index-0.6.8-fsfq8ekm.mjs +1 -0
  316. package/dist/chunks/index-0.6.8-k3r9pz8v.mjs +1 -0
  317. package/dist/chunks/index-0.6.8-ke45hjqk.mjs +1 -0
  318. package/dist/chunks/index-0.6.8-kvjzqm75.mjs +9 -0
  319. package/dist/chunks/index-0.6.8-m9y8nqmz.mjs +30 -0
  320. package/dist/chunks/index-0.6.8-mc1wvtc8.mjs +1 -0
  321. package/dist/chunks/index-0.6.8-svxnm6ph.mjs +1 -0
  322. package/dist/chunks/index-0.6.8-vvg8dg6z.mjs +9 -0
  323. package/dist/chunks/index-0.6.8-wec8yb9e.mjs +1 -0
  324. package/dist/chunks/index-0.6.8-y535r49s.mjs +1 -0
  325. package/dist/chunks/index-0.6.8-yf6035wh.mjs +1 -0
  326. package/dist/chunks/index-0.6.8-zcf4qg35.mjs +1 -0
  327. package/dist/chunks/init-0.6.8-brwjmnyg.mjs +1 -0
  328. package/dist/chunks/initReplBridge-0.6.8-5jcj5ax3.mjs +1 -0
  329. package/dist/chunks/ink-0.6.8-cts7p4b7.mjs +1 -0
  330. package/dist/chunks/insights-0.6.8-h5b5ve9h.mjs +870 -0
  331. package/dist/chunks/install-0.6.8-e3gdw6r9.mjs +1 -0
  332. package/dist/chunks/install-github-app-0.6.8-hh3mzyfs.mjs +149 -0
  333. package/dist/chunks/install-slack-app-0.6.8-n4pb88x6.mjs +1 -0
  334. package/dist/chunks/instrumentation-0.6.8-67ewcnwm.mjs +1 -0
  335. package/dist/chunks/interactiveHelpers-0.6.8-ryjx3tbw.mjs +1 -0
  336. package/dist/chunks/keybindings-0.6.8-8v6q91kq.mjs +2 -0
  337. package/dist/chunks/knowledge-0.6.8-dn40ytkg.mjs +2 -0
  338. package/dist/chunks/latestVersionCache-0.6.8-xx081act.mjs +1 -0
  339. package/dist/chunks/loadAgentsDir-0.6.8-vhh6hfk9.mjs +1 -0
  340. package/dist/chunks/loadPluginHooks-0.6.8-p15wjdk7.mjs +1 -0
  341. package/dist/chunks/loadPluginHooks-0.6.8-tjd9ekbf.mjs +1 -0
  342. package/dist/chunks/log-0.6.8-srvm2n7a.mjs +1 -0
  343. package/dist/chunks/main-0.6.8-5mcvdtte.mjs +1 -0
  344. package/dist/chunks/managedEnv-0.6.8-3m2x6zgp.mjs +1 -0
  345. package/dist/chunks/mcp-0.6.8-3dztd40j.mjs +17 -0
  346. package/dist/chunks/mcp-0.6.8-5msk2pvy.mjs +4 -0
  347. package/dist/chunks/mcp-0.6.8-nxyt74pa.mjs +1 -0
  348. package/dist/chunks/mcpb-0.6.8-v8q530w6.mjs +1 -0
  349. package/dist/chunks/memory-0.6.8-1pkjxmpb.mjs +3 -0
  350. package/dist/chunks/model-0.6.8-00wgempd.mjs +2 -0
  351. package/dist/chunks/model-0.6.8-99m80ayt.mjs +1 -0
  352. package/dist/chunks/node-0.6.8-b8rvxhkh.mjs +12 -0
  353. package/dist/chunks/oauth-0.6.8-c2r6j7j0.mjs +1 -0
  354. package/dist/chunks/openaiShim-0.6.8-z736wyft.mjs +14 -0
  355. package/dist/chunks/output-style-0.6.8-586m3zta.mjs +1 -0
  356. package/dist/chunks/package-FMOR3ELU-0.6.8-xe49mr3f.mjs +1 -0
  357. package/dist/chunks/parseConnectUrl-0.6.8-wawy5rxc.mjs +1 -0
  358. package/dist/chunks/parser-0.6.8-zjc9fwme.mjs +1 -0
  359. package/dist/chunks/passes-0.6.8-mn4rnfm9.mjs +1 -0
  360. package/dist/chunks/permissions-0.6.8-jdgt2sv8.mjs +1 -0
  361. package/dist/chunks/permissions-0.6.8-z6ybrhdp.mjs +3 -0
  362. package/dist/chunks/plan-0.6.8-9h16p6t0.mjs +1 -0
  363. package/dist/chunks/plist-0.6.8-ras7a7wc.mjs +1 -0
  364. package/dist/chunks/plugin-0.6.8-0p0a1k4b.mjs +29 -0
  365. package/dist/chunks/pluginStartupCheck-0.6.8-ff7hmaes.mjs +1 -0
  366. package/dist/chunks/plugins-0.6.8-fbp29vr3.mjs +9 -0
  367. package/dist/chunks/preActionHook-0.6.8-1qt932q1.mjs +2 -0
  368. package/dist/chunks/print-0.6.8-tm9918yr.mjs +57 -0
  369. package/dist/chunks/privacy-settings-0.6.8-5e2yd64z.mjs +1 -0
  370. package/dist/chunks/process-0.6.8-mqtgb3cx.mjs +1 -0
  371. package/dist/chunks/processBashCommand-0.6.8-xtx2v6da.mjs +1 -0
  372. package/dist/chunks/processSlashCommand-0.6.8-xgvzddwk.mjs +9 -0
  373. package/dist/chunks/prompt-0.6.8-57r1r589.mjs +1 -0
  374. package/dist/chunks/prompt-0.6.8-npwq825f.mjs +1 -0
  375. package/dist/chunks/prompts-0.6.8-ta5q8t8a.mjs +1 -0
  376. package/dist/chunks/protocolHandler-0.6.8-mf45pq35.mjs +13 -0
  377. package/dist/chunks/provider-0.6.8-pemvh2k5.mjs +2 -0
  378. package/dist/chunks/providerProfiles-0.6.8-t4rbsxrj.mjs +1 -0
  379. package/dist/chunks/providerValidation-0.6.8-jvfz53fe.mjs +6 -0
  380. package/dist/chunks/rate-limit-options-0.6.8-egm6fsa2.mjs +1 -0
  381. package/dist/chunks/registerSubcommands-0.6.8-c33k54ns.mjs +34 -0
  382. package/dist/chunks/registry-0.6.8-v7m02nk2.mjs +1 -0
  383. package/dist/chunks/release-notes-0.6.8-wwv5r86y.mjs +5 -0
  384. package/dist/chunks/reload-plugins-0.6.8-72v51g0k.mjs +2 -0
  385. package/dist/chunks/remote-env-0.6.8-gn37jake.mjs +1 -0
  386. package/dist/chunks/remoteBridgeCore-0.6.8-7cd0x0sw.mjs +1 -0
  387. package/dist/chunks/remoteSession-0.6.8-tr5ph176.mjs +1 -0
  388. package/dist/chunks/rename-0.6.8-8jb90c48.mjs +1 -0
  389. package/dist/chunks/replBridgeHandle-0.6.8-znyhk31n.mjs +1 -0
  390. package/dist/chunks/replLauncher-0.6.8-we5yqk5n.mjs +1 -0
  391. package/dist/chunks/resume-0.6.8-x8vd5cdx.mjs +2 -0
  392. package/dist/chunks/rewind-0.6.8-dg7aawme.mjs +1 -0
  393. package/dist/chunks/rootOptions-0.6.8-ezrfenmz.mjs +1 -0
  394. package/dist/chunks/sandbox-adapter-0.6.8-cfj9xd48.mjs +1 -0
  395. package/dist/chunks/sandbox-toggle-0.6.8-mffa8yr5.mjs +1 -0
  396. package/dist/chunks/session-0.6.8-6pyjb4jn.mjs +2 -0
  397. package/dist/chunks/sessionDiscovery-0.6.8-e3h9zvrp.mjs +1 -0
  398. package/dist/chunks/sessionFileAccessHooks-0.6.8-5q6x4jx9.mjs +1 -0
  399. package/dist/chunks/sessionStorage-0.6.8-3tvaj86g.mjs +1 -0
  400. package/dist/chunks/settings-0.6.8-m72ttv29.mjs +1 -0
  401. package/dist/chunks/setup-0.6.8-f3y64bte.mjs +5 -0
  402. package/dist/chunks/sinks-0.6.8-t8e55v3b.mjs +1 -0
  403. package/dist/chunks/skills-0.6.8-17ktqb7y.mjs +1 -0
  404. package/dist/chunks/startupProfiler-0.6.8-qj52vcw4.mjs +1 -0
  405. package/dist/chunks/startupUpdateCheck-0.6.8-51vrdbj6.mjs +1 -0
  406. package/dist/chunks/state-0.6.8-pwxe3dfk.mjs +1 -0
  407. package/dist/chunks/stats-0.6.8-fc152nhd.mjs +6 -0
  408. package/dist/chunks/status-0.6.8-bjgdnsz8.mjs +1 -0
  409. package/dist/chunks/stickers-0.6.8-dndn2kp3.mjs +1 -0
  410. package/dist/chunks/subprocessEnv-0.6.8-zzdkzkpq.mjs +1 -0
  411. package/dist/chunks/tasks-0.6.8-zjm7dnep.mjs +1 -0
  412. package/dist/chunks/teamHelpers-0.6.8-prrabxj1.mjs +1 -0
  413. package/dist/chunks/teammateModeSnapshot-0.6.8-21bj5sj0.mjs +1 -0
  414. package/dist/chunks/teleport-0.6.8-jvcjg7d7.mjs +1 -0
  415. package/dist/chunks/terminalSetup-0.6.8-9y4235w1.mjs +1 -0
  416. package/dist/chunks/theme-0.6.8-wvdhk95e.mjs +1 -0
  417. package/dist/chunks/thinkback-0.6.8-8dn71z5r.mjs +1 -0
  418. package/dist/chunks/thinkback-play-0.6.8-agrskwfn.mjs +1 -0
  419. package/dist/chunks/toolPool-0.6.8-90318hbv.mjs +1 -0
  420. package/dist/chunks/toolSearch-0.6.8-eyr73a52.mjs +1 -0
  421. package/dist/chunks/tools-0.6.8-mdjqydpm.mjs +1 -0
  422. package/dist/chunks/trustedDevice-0.6.8-b7fae7s5.mjs +1 -0
  423. package/dist/chunks/turndown.cjs-0.6.8-sgzhfavm.mjs +69 -0
  424. package/dist/chunks/types-0.6.8-4gf5x9jb.mjs +1 -0
  425. package/dist/chunks/ultrareviewCommand-0.6.8-5cdef89y.mjs +4 -0
  426. package/dist/chunks/update-0.6.8-hv3gahmz.mjs +86 -0
  427. package/dist/chunks/upgrade-0.6.8-w044cw9y.mjs +1 -0
  428. package/dist/chunks/upload-0.6.8-er3nq389.mjs +7 -0
  429. package/dist/chunks/upstreamproxy-0.6.8-zfg8pv8q.mjs +14 -0
  430. package/dist/chunks/url-handler-napi-0.6.8-1q2hrhb3.mjs +1 -0
  431. package/dist/chunks/usage-0.6.8-pc8gdf6b.mjs +1 -0
  432. package/dist/chunks/util-0.6.8-rt8y16fm.mjs +1 -0
  433. package/dist/chunks/utils-0.6.8-8nsbk9w4.mjs +1 -0
  434. package/dist/chunks/vim-0.6.8-y1wq10k6.mjs +1 -0
  435. package/dist/chunks/watcher-0.6.8-hq0y1y68.mjs +1 -0
  436. package/dist/chunks/wiki-0.6.8-jqbmvz1r.mjs +132 -0
  437. package/dist/chunks/worktree-0.6.8-hn8ac7q6.mjs +1 -0
  438. package/dist/chunks/worktreeModeEnabled-0.6.8-k0yys6b0.mjs +1 -0
  439. package/dist/chunks/wrapper-0.6.8-r1wx821t.mjs +7 -0
  440. package/dist/claudin-vscode.vsix +0 -0
  441. package/dist/cli.mjs +2 -2
  442. package/package.json +1 -1
  443. package/dist/chunks/AgentTool-0.6.7-f7t2mgqb.mjs +0 -1
  444. package/dist/chunks/App-0.6.7-9x70f9jb.mjs +0 -1
  445. package/dist/chunks/ApproveApiKey-0.6.7-2tb75j23.mjs +0 -1
  446. package/dist/chunks/AssistantSessionChooser-0.6.7-afdtan0w.mjs +0 -1
  447. package/dist/chunks/AutoModeOptInDialog-0.6.7-pyzr75b3.mjs +0 -1
  448. package/dist/chunks/BypassPermissionsModeDialog-0.6.7-nfncnj0q.mjs +0 -1
  449. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.7-n2e142wm.mjs +0 -1
  450. package/dist/chunks/ConsoleOAuthFlow-0.6.7-phc7vznz.mjs +0 -1
  451. package/dist/chunks/DiffDialog-0.6.7-s9x3mya9.mjs +0 -7
  452. package/dist/chunks/Doctor-0.6.7-smded214.mjs +0 -1
  453. package/dist/chunks/ExplorerDialog-0.6.7-4hy6ry9q.mjs +0 -6
  454. package/dist/chunks/Grove-0.6.7-ahyrvw0t.mjs +0 -1
  455. package/dist/chunks/ITermBackend-0.6.7-fcnt914g.mjs +0 -1
  456. package/dist/chunks/InvalidConfigDialog-0.6.7-00bjfj0e.mjs +0 -1
  457. package/dist/chunks/InvalidSettingsDialog-0.6.7-13q0q9de.mjs +0 -1
  458. package/dist/chunks/MigrationDialog-0.6.7-858rv0qw.mjs +0 -1
  459. package/dist/chunks/Onboarding-0.6.7-dt8tdzek.mjs +0 -1
  460. package/dist/chunks/ProviderManager-0.6.7-6v39p38e.mjs +0 -1
  461. package/dist/chunks/REPL-0.6.7-q0nc0w32.mjs +0 -1
  462. package/dist/chunks/ResumeConversation-0.6.7-pdhahpga.mjs +0 -1
  463. package/dist/chunks/SnapshotUpdateDialog-0.6.7-m392exrv.mjs +0 -1
  464. package/dist/chunks/TeleportProgress-0.6.7-1dr1gjn2.mjs +0 -1
  465. package/dist/chunks/TeleportRepoMismatchDialog-0.6.7-sv7jdzae.mjs +0 -1
  466. package/dist/chunks/TeleportResumeWrapper-0.6.7-p36an880.mjs +0 -1
  467. package/dist/chunks/TmuxBackend-0.6.7-aefcv1eq.mjs +0 -9
  468. package/dist/chunks/ToolSearchTool-0.6.7-ff2nyjj7.mjs +0 -1
  469. package/dist/chunks/TrustDialog-0.6.7-seknmzsh.mjs +0 -1
  470. package/dist/chunks/activeProvider-0.6.7-0w1yte74.mjs +0 -1
  471. package/dist/chunks/add-dir-0.6.7-85gjr3q5.mjs +0 -1
  472. package/dist/chunks/agents-0.6.7-bwmzpbmy.mjs +0 -110
  473. package/dist/chunks/agents-0.6.7-zctgtzc9.mjs +0 -3
  474. package/dist/chunks/api-0.6.7-mfw9d6jg.mjs +0 -1
  475. package/dist/chunks/asciicast-0.6.7-tecyvajs.mjs +0 -1
  476. package/dist/chunks/assistant-0.6.7-0krnapvp.mjs +0 -1
  477. package/dist/chunks/auth-0.6.7-vsm2s3fs.mjs +0 -1
  478. package/dist/chunks/auth-0.6.7-y4kcahyj.mjs +0 -1
  479. package/dist/chunks/autoMode-0.6.7-ysajwbz7.mjs +0 -48
  480. package/dist/chunks/autoUpdater-0.6.7-ztgvnr84.mjs +0 -1
  481. package/dist/chunks/backgroundHousekeeping-0.6.7-hyrc03zs.mjs +0 -1
  482. package/dist/chunks/branch-0.6.7-hs9qva1m.mjs +0 -4
  483. package/dist/chunks/bridge-0.6.7-6tz3q7eh.mjs +0 -2
  484. package/dist/chunks/bridgeConfig-0.6.7-nb52xna6.mjs +0 -1
  485. package/dist/chunks/bridgeEnabled-0.6.7-a4xw7wv8.mjs +0 -1
  486. package/dist/chunks/bridgeMain-0.6.7-tdh5qxzb.mjs +0 -88
  487. package/dist/chunks/bridgePointer-0.6.7-dh27kqnd.mjs +0 -1
  488. package/dist/chunks/btw-0.6.7-7mwpkxc8.mjs +0 -1
  489. package/dist/chunks/buddy-0.6.7-nq3yjbfx.mjs +0 -3
  490. package/dist/chunks/cacache-0.6.7-g9830zbt.mjs +0 -1
  491. package/dist/chunks/cache-probe-0.6.7-f97mkfrz.mjs +0 -21
  492. package/dist/chunks/cacheStats-0.6.7-cajakjmn.mjs +0 -4
  493. package/dist/chunks/caches-0.6.7-j5y9mwvb.mjs +0 -1
  494. package/dist/chunks/claudeDesktop-0.6.7-86f3d3gt.mjs +0 -1
  495. package/dist/chunks/claudemd-0.6.7-bhnp37nv.mjs +0 -1
  496. package/dist/chunks/clear-0.6.7-b2weanr6.mjs +0 -1
  497. package/dist/chunks/clearTerminal-0.6.7-dtmyqs1m.mjs +0 -1
  498. package/dist/chunks/cli-0.6.7-09aymh1b.mjs +0 -2
  499. package/dist/chunks/cli-0.6.7-0a04vzzk.mjs +0 -28
  500. package/dist/chunks/cli-0.6.7-0a406bqw.mjs +0 -2
  501. package/dist/chunks/cli-0.6.7-0c5ban8m.mjs +0 -2
  502. package/dist/chunks/cli-0.6.7-0ecsc6v5.mjs +0 -2
  503. package/dist/chunks/cli-0.6.7-0eeyfjk8.mjs +0 -2
  504. package/dist/chunks/cli-0.6.7-0fc4sq47.mjs +0 -42
  505. package/dist/chunks/cli-0.6.7-0ncx2c9t.mjs +0 -2
  506. package/dist/chunks/cli-0.6.7-0qzj0d6r.mjs +0 -2
  507. package/dist/chunks/cli-0.6.7-0t1e9vab.mjs +0 -2
  508. package/dist/chunks/cli-0.6.7-0t5ssfvj.mjs +0 -2
  509. package/dist/chunks/cli-0.6.7-0z5z87v6.mjs +0 -1
  510. package/dist/chunks/cli-0.6.7-105zxdx5.mjs +0 -2
  511. package/dist/chunks/cli-0.6.7-11a89p5q.mjs +0 -2
  512. package/dist/chunks/cli-0.6.7-15mn3n46.mjs +0 -2
  513. package/dist/chunks/cli-0.6.7-17dafwxd.mjs +0 -2
  514. package/dist/chunks/cli-0.6.7-1jmt8r8f.mjs +0 -7
  515. package/dist/chunks/cli-0.6.7-1mvkcg2k.mjs +0 -2
  516. package/dist/chunks/cli-0.6.7-1nxk10ra.mjs +0 -12
  517. package/dist/chunks/cli-0.6.7-1v8p5kj1.mjs +0 -2
  518. package/dist/chunks/cli-0.6.7-1vdk7j2f.mjs +0 -2
  519. package/dist/chunks/cli-0.6.7-1wy6neqr.mjs +0 -2
  520. package/dist/chunks/cli-0.6.7-26ph2hrd.mjs +0 -2
  521. package/dist/chunks/cli-0.6.7-26tkvqk3.mjs +0 -2
  522. package/dist/chunks/cli-0.6.7-29j5a7qt.mjs +0 -2
  523. package/dist/chunks/cli-0.6.7-2kkhf54p.mjs +0 -133
  524. package/dist/chunks/cli-0.6.7-2rppvwcw.mjs +0 -2
  525. package/dist/chunks/cli-0.6.7-2rxv4h2n.mjs +0 -5348
  526. package/dist/chunks/cli-0.6.7-30y87jp9.mjs +0 -3
  527. package/dist/chunks/cli-0.6.7-31vjvqm0.mjs +0 -2
  528. package/dist/chunks/cli-0.6.7-37a1n221.mjs +0 -2
  529. package/dist/chunks/cli-0.6.7-393mf77x.mjs +0 -2
  530. package/dist/chunks/cli-0.6.7-3anc14y3.mjs +0 -2
  531. package/dist/chunks/cli-0.6.7-3nk6g2dp.mjs +0 -2
  532. package/dist/chunks/cli-0.6.7-3rkngb3p.mjs +0 -2
  533. package/dist/chunks/cli-0.6.7-3w59rctc.mjs +0 -2
  534. package/dist/chunks/cli-0.6.7-3zgmbaw1.mjs +0 -2
  535. package/dist/chunks/cli-0.6.7-417g4eq7.mjs +0 -2
  536. package/dist/chunks/cli-0.6.7-4723xt8g.mjs +0 -4
  537. package/dist/chunks/cli-0.6.7-4qezg54y.mjs +0 -2
  538. package/dist/chunks/cli-0.6.7-4qv89taa.mjs +0 -2
  539. package/dist/chunks/cli-0.6.7-4r8s96as.mjs +0 -18
  540. package/dist/chunks/cli-0.6.7-4rswb0s0.mjs +0 -2
  541. package/dist/chunks/cli-0.6.7-4y6eh566.mjs +0 -2
  542. package/dist/chunks/cli-0.6.7-568qkrtn.mjs +0 -2
  543. package/dist/chunks/cli-0.6.7-5jkermx7.mjs +0 -2
  544. package/dist/chunks/cli-0.6.7-5tksrgt5.mjs +0 -2
  545. package/dist/chunks/cli-0.6.7-5y4c00t6.mjs +0 -2
  546. package/dist/chunks/cli-0.6.7-6ezmhmp0.mjs +0 -67
  547. package/dist/chunks/cli-0.6.7-6fh5e7r0.mjs +0 -2
  548. package/dist/chunks/cli-0.6.7-79a1ryqj.mjs +0 -17
  549. package/dist/chunks/cli-0.6.7-7eze8zyh.mjs +0 -2
  550. package/dist/chunks/cli-0.6.7-7hqt2520.mjs +0 -2
  551. package/dist/chunks/cli-0.6.7-7jnmn6s1.mjs +0 -2
  552. package/dist/chunks/cli-0.6.7-7p1zvk1f.mjs +0 -4
  553. package/dist/chunks/cli-0.6.7-7q89ngt8.mjs +0 -4
  554. package/dist/chunks/cli-0.6.7-7wfcpd35.mjs +0 -5
  555. package/dist/chunks/cli-0.6.7-895afk0q.mjs +0 -39
  556. package/dist/chunks/cli-0.6.7-8hg68yde.mjs +0 -3
  557. package/dist/chunks/cli-0.6.7-8npy06pd.mjs +0 -2
  558. package/dist/chunks/cli-0.6.7-8nt66wx8.mjs +0 -2
  559. package/dist/chunks/cli-0.6.7-8rckbxrq.mjs +0 -2
  560. package/dist/chunks/cli-0.6.7-94jxfcfx.mjs +0 -2
  561. package/dist/chunks/cli-0.6.7-986a2c9a.mjs +0 -20
  562. package/dist/chunks/cli-0.6.7-9ewdkgf6.mjs +0 -2
  563. package/dist/chunks/cli-0.6.7-9qjmzyph.mjs +0 -59
  564. package/dist/chunks/cli-0.6.7-9zvbhkwn.mjs +0 -2
  565. package/dist/chunks/cli-0.6.7-a49h84jx.mjs +0 -2
  566. package/dist/chunks/cli-0.6.7-a8d5a7gy.mjs +0 -2
  567. package/dist/chunks/cli-0.6.7-ad305tsz.mjs +0 -2
  568. package/dist/chunks/cli-0.6.7-aj0r6e7f.mjs +0 -2
  569. package/dist/chunks/cli-0.6.7-ajy2kcrw.mjs +0 -4
  570. package/dist/chunks/cli-0.6.7-askr0gdn.mjs +0 -12
  571. package/dist/chunks/cli-0.6.7-axgab18a.mjs +0 -2
  572. package/dist/chunks/cli-0.6.7-b6ssk5st.mjs +0 -50
  573. package/dist/chunks/cli-0.6.7-bf5gjw6d.mjs +0 -4
  574. package/dist/chunks/cli-0.6.7-bgtwgprg.mjs +0 -2
  575. package/dist/chunks/cli-0.6.7-bvke740f.mjs +0 -58
  576. package/dist/chunks/cli-0.6.7-bvsyxh29.mjs +0 -45
  577. package/dist/chunks/cli-0.6.7-c9drqby8.mjs +0 -5
  578. package/dist/chunks/cli-0.6.7-cc1w6ch6.mjs +0 -2
  579. package/dist/chunks/cli-0.6.7-csw6s95q.mjs +0 -2
  580. package/dist/chunks/cli-0.6.7-cykfmytk.mjs +0 -2
  581. package/dist/chunks/cli-0.6.7-d0hce9x9.mjs +0 -2
  582. package/dist/chunks/cli-0.6.7-d513frqa.mjs +0 -2
  583. package/dist/chunks/cli-0.6.7-d6md6s9z.mjs +0 -2
  584. package/dist/chunks/cli-0.6.7-dn51gm8s.mjs +0 -2
  585. package/dist/chunks/cli-0.6.7-dzhzeyee.mjs +0 -2
  586. package/dist/chunks/cli-0.6.7-e96htnt8.mjs +0 -2
  587. package/dist/chunks/cli-0.6.7-egf9dysz.mjs +0 -2
  588. package/dist/chunks/cli-0.6.7-ej85ys91.mjs +0 -133
  589. package/dist/chunks/cli-0.6.7-ery7wb2b.mjs +0 -25
  590. package/dist/chunks/cli-0.6.7-ewn2cwb7.mjs +0 -6
  591. package/dist/chunks/cli-0.6.7-ex9w59mx.mjs +0 -3
  592. package/dist/chunks/cli-0.6.7-fbgdkq7p.mjs +0 -2
  593. package/dist/chunks/cli-0.6.7-fbkbnkmx.mjs +0 -2
  594. package/dist/chunks/cli-0.6.7-g3bdwra6.mjs +0 -12
  595. package/dist/chunks/cli-0.6.7-g4r471w6.mjs +0 -15
  596. package/dist/chunks/cli-0.6.7-ggbx3zye.mjs +0 -21
  597. package/dist/chunks/cli-0.6.7-gj1zv8je.mjs +0 -2
  598. package/dist/chunks/cli-0.6.7-gp1x8mcf.mjs +0 -2
  599. package/dist/chunks/cli-0.6.7-hcp3t5gk.mjs +0 -2
  600. package/dist/chunks/cli-0.6.7-hd512c6x.mjs +0 -2
  601. package/dist/chunks/cli-0.6.7-hsf1v92p.mjs +0 -2
  602. package/dist/chunks/cli-0.6.7-hsxghzzr.mjs +0 -2
  603. package/dist/chunks/cli-0.6.7-hvjb13p8.mjs +0 -2
  604. package/dist/chunks/cli-0.6.7-hxpbsv1t.mjs +0 -2
  605. package/dist/chunks/cli-0.6.7-jayzyra3.mjs +0 -2
  606. package/dist/chunks/cli-0.6.7-jry3hr0z.mjs +0 -18
  607. package/dist/chunks/cli-0.6.7-jt8cfe25.mjs +0 -3
  608. package/dist/chunks/cli-0.6.7-jvyry09r.mjs +0 -3
  609. package/dist/chunks/cli-0.6.7-k0h6t7d8.mjs +0 -3
  610. package/dist/chunks/cli-0.6.7-k69edthm.mjs +0 -2
  611. package/dist/chunks/cli-0.6.7-k7qq705k.mjs +0 -2
  612. package/dist/chunks/cli-0.6.7-kfm63wm2.mjs +0 -17
  613. package/dist/chunks/cli-0.6.7-m5a4md2p.mjs +0 -24
  614. package/dist/chunks/cli-0.6.7-m7f7sbcz.mjs +0 -3
  615. package/dist/chunks/cli-0.6.7-m9gs7avb.mjs +0 -2
  616. package/dist/chunks/cli-0.6.7-me667czz.mjs +0 -2
  617. package/dist/chunks/cli-0.6.7-mfw4bdkw.mjs +0 -2
  618. package/dist/chunks/cli-0.6.7-mgzf6br3.mjs +0 -2
  619. package/dist/chunks/cli-0.6.7-mh4wva6p.mjs +0 -2
  620. package/dist/chunks/cli-0.6.7-mjkd8p19.mjs +0 -16
  621. package/dist/chunks/cli-0.6.7-mq2xzatd.mjs +0 -34
  622. package/dist/chunks/cli-0.6.7-mr3rwnv4.mjs +0 -2
  623. package/dist/chunks/cli-0.6.7-msab4rsa.mjs +0 -3
  624. package/dist/chunks/cli-0.6.7-mxbbt73y.mjs +0 -2
  625. package/dist/chunks/cli-0.6.7-n4hcg1jw.mjs +0 -2
  626. package/dist/chunks/cli-0.6.7-n7v99j1c.mjs +0 -3
  627. package/dist/chunks/cli-0.6.7-n9b6fykd.mjs +0 -2
  628. package/dist/chunks/cli-0.6.7-ndz1ybhe.mjs +0 -2
  629. package/dist/chunks/cli-0.6.7-nembqgq6.mjs +0 -4
  630. package/dist/chunks/cli-0.6.7-njtz9caz.mjs +0 -2
  631. package/dist/chunks/cli-0.6.7-nkk7dy60.mjs +0 -3
  632. package/dist/chunks/cli-0.6.7-nkngqbzm.mjs +0 -2
  633. package/dist/chunks/cli-0.6.7-nmasp64q.mjs +0 -2
  634. package/dist/chunks/cli-0.6.7-nsaek892.mjs +0 -2
  635. package/dist/chunks/cli-0.6.7-nyj8vj8s.mjs +0 -2
  636. package/dist/chunks/cli-0.6.7-p01n2g5q.mjs +0 -3
  637. package/dist/chunks/cli-0.6.7-p0s9xa7d.mjs +0 -2
  638. package/dist/chunks/cli-0.6.7-p140ghs7.mjs +0 -4
  639. package/dist/chunks/cli-0.6.7-p1s9dq5f.mjs +0 -2
  640. package/dist/chunks/cli-0.6.7-p76h2hj4.mjs +0 -193
  641. package/dist/chunks/cli-0.6.7-p77b3p80.mjs +0 -4
  642. package/dist/chunks/cli-0.6.7-p8qqm0e2.mjs +0 -10
  643. package/dist/chunks/cli-0.6.7-pacmjx4t.mjs +0 -6
  644. package/dist/chunks/cli-0.6.7-pd4qacrw.mjs +0 -2
  645. package/dist/chunks/cli-0.6.7-pt6c37tf.mjs +0 -2
  646. package/dist/chunks/cli-0.6.7-pz0hvq11.mjs +0 -2
  647. package/dist/chunks/cli-0.6.7-q2qk5c16.mjs +0 -2
  648. package/dist/chunks/cli-0.6.7-q7rhxc3k.mjs +0 -2
  649. package/dist/chunks/cli-0.6.7-qcc8znjg.mjs +0 -2
  650. package/dist/chunks/cli-0.6.7-qkzax44g.mjs +0 -2
  651. package/dist/chunks/cli-0.6.7-qnpad07x.mjs +0 -15
  652. package/dist/chunks/cli-0.6.7-qwv7z40j.mjs +0 -2
  653. package/dist/chunks/cli-0.6.7-qz4f20t8.mjs +0 -9
  654. package/dist/chunks/cli-0.6.7-r2phypw4.mjs +0 -2
  655. package/dist/chunks/cli-0.6.7-r4494gs0.mjs +0 -2
  656. package/dist/chunks/cli-0.6.7-r4njgjve.mjs +0 -2
  657. package/dist/chunks/cli-0.6.7-r57fq6gw.mjs +0 -4
  658. package/dist/chunks/cli-0.6.7-rcx8mb9z.mjs +0 -2
  659. package/dist/chunks/cli-0.6.7-rgfh878z.mjs +0 -2
  660. package/dist/chunks/cli-0.6.7-rp0ejp3a.mjs +0 -2
  661. package/dist/chunks/cli-0.6.7-rq1v6xnn.mjs +0 -2
  662. package/dist/chunks/cli-0.6.7-rqfxfpg7.mjs +0 -2
  663. package/dist/chunks/cli-0.6.7-sdxzxe1y.mjs +0 -2
  664. package/dist/chunks/cli-0.6.7-sea2kbnt.mjs +0 -2
  665. package/dist/chunks/cli-0.6.7-sfc53wbe.mjs +0 -2
  666. package/dist/chunks/cli-0.6.7-sfvrze2k.mjs +0 -2
  667. package/dist/chunks/cli-0.6.7-sh9fbs9v.mjs +0 -2
  668. package/dist/chunks/cli-0.6.7-sw46gwfw.mjs +0 -2
  669. package/dist/chunks/cli-0.6.7-sx1q6ybw.mjs +0 -2
  670. package/dist/chunks/cli-0.6.7-t4vdc40t.mjs +0 -2
  671. package/dist/chunks/cli-0.6.7-tb1cvasf.mjs +0 -5
  672. package/dist/chunks/cli-0.6.7-tg6w7ex7.mjs +0 -8
  673. package/dist/chunks/cli-0.6.7-tnrt8ht0.mjs +0 -2
  674. package/dist/chunks/cli-0.6.7-tqfm4g33.mjs +0 -2
  675. package/dist/chunks/cli-0.6.7-tthw17vc.mjs +0 -6
  676. package/dist/chunks/cli-0.6.7-v1emd8z7.mjs +0 -4
  677. package/dist/chunks/cli-0.6.7-v65b4qmr.mjs +0 -2
  678. package/dist/chunks/cli-0.6.7-v82zs0dw.mjs +0 -6
  679. package/dist/chunks/cli-0.6.7-vd2t62t5.mjs +0 -2
  680. package/dist/chunks/cli-0.6.7-vdks0afp.mjs +0 -3
  681. package/dist/chunks/cli-0.6.7-vs95ynh5.mjs +0 -2
  682. package/dist/chunks/cli-0.6.7-vy64g49j.mjs +0 -2
  683. package/dist/chunks/cli-0.6.7-w2amr6nt.mjs +0 -2
  684. package/dist/chunks/cli-0.6.7-wbqq7cmg.mjs +0 -15
  685. package/dist/chunks/cli-0.6.7-wjg0q7hk.mjs +0 -2
  686. package/dist/chunks/cli-0.6.7-wyped9p6.mjs +0 -2
  687. package/dist/chunks/cli-0.6.7-xjbwt2hg.mjs +0 -2
  688. package/dist/chunks/cli-0.6.7-xzf3g8pg.mjs +0 -3
  689. package/dist/chunks/cli-0.6.7-y6pqw2vj.mjs +0 -2
  690. package/dist/chunks/cli-0.6.7-ybk07j40.mjs +0 -2
  691. package/dist/chunks/cli-0.6.7-z4dw5tyz.mjs +0 -2
  692. package/dist/chunks/cli-0.6.7-z7jett9s.mjs +0 -2
  693. package/dist/chunks/cli-0.6.7-zwd8kz5t.mjs +0 -24
  694. package/dist/chunks/client-0.6.7-445v9987.mjs +0 -1
  695. package/dist/chunks/color-0.6.7-856m55kg.mjs +0 -1
  696. package/dist/chunks/compact-0.6.7-xkjxsjky.mjs +0 -3
  697. package/dist/chunks/config-0.6.7-8cp9wg00.mjs +0 -1
  698. package/dist/chunks/config-0.6.7-h357gwre.mjs +0 -1
  699. package/dist/chunks/constants-0.6.7-jz2rzgah.mjs +0 -1
  700. package/dist/chunks/context-0.6.7-52mqtjt5.mjs +0 -1
  701. package/dist/chunks/context-noninteractive-0.6.7-0vn31bty.mjs +0 -1
  702. package/dist/chunks/conversation-0.6.7-6rb0jxt5.mjs +0 -1
  703. package/dist/chunks/copilotHeaders-0.6.7-6szcxcqp.mjs +0 -1
  704. package/dist/chunks/copy-0.6.7-kt6m78c9.mjs +0 -9
  705. package/dist/chunks/cost-0.6.7-mcmacwts.mjs +0 -1
  706. package/dist/chunks/createSSHSession-0.6.7-2bxjzphp.mjs +0 -1
  707. package/dist/chunks/createSession-0.6.7-h53s0r94.mjs +0 -1
  708. package/dist/chunks/debug-0.6.7-40mxhr43.mjs +0 -1
  709. package/dist/chunks/defaultActionDeps-0.6.7-swjqrq2d.mjs +0 -1367
  710. package/dist/chunks/desktop-0.6.7-m8hceses.mjs +0 -1
  711. package/dist/chunks/detectRepository-0.6.7-37snr69q.mjs +0 -1
  712. package/dist/chunks/detection-0.6.7-796dd7my.mjs +0 -1
  713. package/dist/chunks/diff-0.6.7-jvhy5bfv.mjs +0 -1
  714. package/dist/chunks/doctor-0.6.7-69xecv72.mjs +0 -1
  715. package/dist/chunks/doctorDiagnostic-0.6.7-86wn5fas.mjs +0 -1
  716. package/dist/chunks/earlyInput-0.6.7-j5kqcad7.mjs +0 -1
  717. package/dist/chunks/effort-0.6.7-pzsgdygp.mjs +0 -10
  718. package/dist/chunks/envLessBridgeConfig-0.6.7-8ev8zrnr.mjs +0 -1
  719. package/dist/chunks/envUtils-0.6.7-t2mfcf3k.mjs +0 -1
  720. package/dist/chunks/environmentSelection-0.6.7-qsjyn0qh.mjs +0 -1
  721. package/dist/chunks/environments-0.6.7-s37ppzq2.mjs +0 -1
  722. package/dist/chunks/errors-0.6.7-ewn9ej98.mjs +0 -1
  723. package/dist/chunks/exampleCommands-0.6.7-ha5gh86w.mjs +0 -1
  724. package/dist/chunks/exit-0.6.7-ke7w1zfb.mjs +0 -1
  725. package/dist/chunks/explorer-0.6.7-mwasq7vb.mjs +0 -1
  726. package/dist/chunks/export-0.6.7-nxr4yk69.mjs +0 -2
  727. package/dist/chunks/extra-usage-0.6.7-4y4y16s7.mjs +0 -1
  728. package/dist/chunks/extra-usage-noninteractive-0.6.7-39bqy32f.mjs +0 -1
  729. package/dist/chunks/fast-0.6.7-kq9cp91g.mjs +0 -1
  730. package/dist/chunks/feedback-0.6.7-negh6v8m.mjs +0 -14
  731. package/dist/chunks/firstPartyEventLogger-0.6.7-tx7c7x8t.mjs +0 -1
  732. package/dist/chunks/git-0.6.7-2vwe8z3v.mjs +0 -1
  733. package/dist/chunks/githubModelsCredentials-0.6.7-33qbe5yn.mjs +0 -1
  734. package/dist/chunks/goal-0.6.7-h6jz54qb.mjs +0 -4
  735. package/dist/chunks/grove-0.6.7-54ezkxs0.mjs +0 -1
  736. package/dist/chunks/growthbook-0.6.7-dtryf1q9.mjs +0 -1
  737. package/dist/chunks/headless-0.6.7-35yksmzv.mjs +0 -2
  738. package/dist/chunks/heapdump-0.6.7-k6xhk8rq.mjs +0 -6
  739. package/dist/chunks/help-0.6.7-xe78z9ep.mjs +0 -1
  740. package/dist/chunks/hookChains-0.6.7-cr0c8y5v.mjs +0 -3
  741. package/dist/chunks/hooks-0.6.7-3dzcec4j.mjs +0 -79
  742. package/dist/chunks/hooks-0.6.7-8d0h5mh8.mjs +0 -1
  743. package/dist/chunks/ide-0.6.7-5yx4zawt.mjs +0 -3
  744. package/dist/chunks/image-processor-napi-0.6.7-58mhvg4s.mjs +0 -1
  745. package/dist/chunks/inboundAttachments-0.6.7-9afh5jdh.mjs +0 -1
  746. package/dist/chunks/index-0.6.7-0p9m5cfc.mjs +0 -1
  747. package/dist/chunks/index-0.6.7-1ngjds1q.mjs +0 -30
  748. package/dist/chunks/index-0.6.7-269433vt.mjs +0 -2
  749. package/dist/chunks/index-0.6.7-299hd0kq.mjs +0 -1
  750. package/dist/chunks/index-0.6.7-2p1qzv7b.mjs +0 -9
  751. package/dist/chunks/index-0.6.7-7fw7s1w6.mjs +0 -1
  752. package/dist/chunks/index-0.6.7-938hete3.mjs +0 -1
  753. package/dist/chunks/index-0.6.7-9qxbggwj.mjs +0 -1
  754. package/dist/chunks/index-0.6.7-adw6e99t.mjs +0 -1
  755. package/dist/chunks/index-0.6.7-da5n32m6.mjs +0 -1
  756. package/dist/chunks/index-0.6.7-ebdnq1xs.mjs +0 -1
  757. package/dist/chunks/index-0.6.7-fewh0t9g.mjs +0 -1
  758. package/dist/chunks/index-0.6.7-jyep217e.mjs +0 -1
  759. package/dist/chunks/index-0.6.7-mmh99nq4.mjs +0 -1
  760. package/dist/chunks/index-0.6.7-p9vm0q7s.mjs +0 -2
  761. package/dist/chunks/index-0.6.7-pspakten.mjs +0 -1
  762. package/dist/chunks/index-0.6.7-qy50jasm.mjs +0 -5
  763. package/dist/chunks/index-0.6.7-r7sewgza.mjs +0 -1
  764. package/dist/chunks/index-0.6.7-tet87444.mjs +0 -1
  765. package/dist/chunks/index-0.6.7-vwv8f9ey.mjs +0 -1
  766. package/dist/chunks/index-0.6.7-xhxjqdft.mjs +0 -1
  767. package/dist/chunks/index-0.6.7-yc13tnk8.mjs +0 -1
  768. package/dist/chunks/index-0.6.7-zm9ed9xd.mjs +0 -9
  769. package/dist/chunks/init-0.6.7-9mxee8s9.mjs +0 -1
  770. package/dist/chunks/initReplBridge-0.6.7-2v1w7wq6.mjs +0 -1
  771. package/dist/chunks/ink-0.6.7-24swqw8m.mjs +0 -1
  772. package/dist/chunks/insights-0.6.7-wf368crb.mjs +0 -870
  773. package/dist/chunks/install-0.6.7-a9dezzjy.mjs +0 -1
  774. package/dist/chunks/install-github-app-0.6.7-wr0r1fb5.mjs +0 -149
  775. package/dist/chunks/install-slack-app-0.6.7-ftc8w786.mjs +0 -1
  776. package/dist/chunks/instrumentation-0.6.7-y1xv08zm.mjs +0 -1
  777. package/dist/chunks/interactiveHelpers-0.6.7-kg2yqwhs.mjs +0 -1
  778. package/dist/chunks/keybindings-0.6.7-xa10wdn0.mjs +0 -2
  779. package/dist/chunks/knowledge-0.6.7-p8ys3wf6.mjs +0 -2
  780. package/dist/chunks/latestVersionCache-0.6.7-7ss3jynk.mjs +0 -1
  781. package/dist/chunks/loadAgentsDir-0.6.7-g16npyc7.mjs +0 -1
  782. package/dist/chunks/loadPluginHooks-0.6.7-d1p7v7wd.mjs +0 -1
  783. package/dist/chunks/loadPluginHooks-0.6.7-qy17rc72.mjs +0 -1
  784. package/dist/chunks/log-0.6.7-a9pyn4zr.mjs +0 -1
  785. package/dist/chunks/main-0.6.7-epme77xk.mjs +0 -1
  786. package/dist/chunks/managedEnv-0.6.7-1h0tpwq1.mjs +0 -1
  787. package/dist/chunks/mcp-0.6.7-1pq6d47c.mjs +0 -17
  788. package/dist/chunks/mcp-0.6.7-krdmdzbj.mjs +0 -4
  789. package/dist/chunks/mcp-0.6.7-sh0wnst3.mjs +0 -1
  790. package/dist/chunks/mcpb-0.6.7-wethrsb6.mjs +0 -1
  791. package/dist/chunks/memory-0.6.7-wwbx8j9h.mjs +0 -3
  792. package/dist/chunks/model-0.6.7-bnf162h5.mjs +0 -2
  793. package/dist/chunks/model-0.6.7-ta2zt9yw.mjs +0 -1
  794. package/dist/chunks/node-0.6.7-9wgtbtkn.mjs +0 -12
  795. package/dist/chunks/oauth-0.6.7-ecry38es.mjs +0 -1
  796. package/dist/chunks/openaiShim-0.6.7-6haddefk.mjs +0 -14
  797. package/dist/chunks/output-style-0.6.7-heg5p49f.mjs +0 -1
  798. package/dist/chunks/package-FMOR3ELU-0.6.7-g0c2811q.mjs +0 -1
  799. package/dist/chunks/parseConnectUrl-0.6.7-rmje9xpc.mjs +0 -1
  800. package/dist/chunks/parser-0.6.7-dwxttek7.mjs +0 -1
  801. package/dist/chunks/passes-0.6.7-6md5xpaz.mjs +0 -1
  802. package/dist/chunks/permissions-0.6.7-25nzz9y0.mjs +0 -3
  803. package/dist/chunks/permissions-0.6.7-bm6zx02e.mjs +0 -1
  804. package/dist/chunks/plan-0.6.7-9pxaje2z.mjs +0 -1
  805. package/dist/chunks/plist-0.6.7-vcn459ke.mjs +0 -1
  806. package/dist/chunks/plugin-0.6.7-a5erdt59.mjs +0 -29
  807. package/dist/chunks/pluginStartupCheck-0.6.7-4v446m9d.mjs +0 -1
  808. package/dist/chunks/plugins-0.6.7-g2r5qgvr.mjs +0 -9
  809. package/dist/chunks/preActionHook-0.6.7-m3b66d2g.mjs +0 -2
  810. package/dist/chunks/print-0.6.7-qwsqdjpa.mjs +0 -57
  811. package/dist/chunks/privacy-settings-0.6.7-f7mdzrj9.mjs +0 -1
  812. package/dist/chunks/process-0.6.7-mwpj2ag5.mjs +0 -1
  813. package/dist/chunks/processBashCommand-0.6.7-zmq7s8bg.mjs +0 -1
  814. package/dist/chunks/processSlashCommand-0.6.7-aeq77f0r.mjs +0 -9
  815. package/dist/chunks/prompt-0.6.7-bjk6r969.mjs +0 -1
  816. package/dist/chunks/prompt-0.6.7-cqwn4ebm.mjs +0 -1
  817. package/dist/chunks/prompts-0.6.7-sx1ddpn3.mjs +0 -1
  818. package/dist/chunks/protocolHandler-0.6.7-4htrgj10.mjs +0 -13
  819. package/dist/chunks/provider-0.6.7-cf13j8jp.mjs +0 -2
  820. package/dist/chunks/providerProfiles-0.6.7-s1vbbbf8.mjs +0 -1
  821. package/dist/chunks/providerValidation-0.6.7-d5tsv9wn.mjs +0 -6
  822. package/dist/chunks/rate-limit-options-0.6.7-xxb91evy.mjs +0 -1
  823. package/dist/chunks/registerSubcommands-0.6.7-qmmn95tv.mjs +0 -34
  824. package/dist/chunks/registry-0.6.7-vnf153w2.mjs +0 -1
  825. package/dist/chunks/release-notes-0.6.7-140nchxs.mjs +0 -5
  826. package/dist/chunks/reload-plugins-0.6.7-2zjnq8rk.mjs +0 -2
  827. package/dist/chunks/remote-env-0.6.7-dmn903f9.mjs +0 -1
  828. package/dist/chunks/remoteBridgeCore-0.6.7-vjavg15v.mjs +0 -1
  829. package/dist/chunks/remoteSession-0.6.7-j6t9wnvq.mjs +0 -1
  830. package/dist/chunks/rename-0.6.7-9hky49hm.mjs +0 -1
  831. package/dist/chunks/replBridgeHandle-0.6.7-fg56fjhe.mjs +0 -1
  832. package/dist/chunks/replLauncher-0.6.7-135zqkvm.mjs +0 -1
  833. package/dist/chunks/resume-0.6.7-ag66nvjc.mjs +0 -2
  834. package/dist/chunks/rewind-0.6.7-pbgnt37r.mjs +0 -1
  835. package/dist/chunks/rootOptions-0.6.7-dhbhchhw.mjs +0 -1
  836. package/dist/chunks/sandbox-adapter-0.6.7-wav9ed7k.mjs +0 -1
  837. package/dist/chunks/sandbox-toggle-0.6.7-xvjvjn90.mjs +0 -1
  838. package/dist/chunks/session-0.6.7-dv8ptwrb.mjs +0 -2
  839. package/dist/chunks/sessionDiscovery-0.6.7-k5zpyw84.mjs +0 -1
  840. package/dist/chunks/sessionFileAccessHooks-0.6.7-rrcrsek8.mjs +0 -1
  841. package/dist/chunks/sessionStorage-0.6.7-fx0mbvg6.mjs +0 -1
  842. package/dist/chunks/settings-0.6.7-nwqqfy0f.mjs +0 -1
  843. package/dist/chunks/setup-0.6.7-1w2gtqvq.mjs +0 -5
  844. package/dist/chunks/sinks-0.6.7-rh7wgd1s.mjs +0 -1
  845. package/dist/chunks/skills-0.6.7-p7nm0dqx.mjs +0 -1
  846. package/dist/chunks/startupProfiler-0.6.7-0sgmtd5m.mjs +0 -1
  847. package/dist/chunks/startupUpdateCheck-0.6.7-pe8vnbmy.mjs +0 -1
  848. package/dist/chunks/state-0.6.7-7zgmm7bx.mjs +0 -1
  849. package/dist/chunks/stats-0.6.7-qwjhmd0m.mjs +0 -6
  850. package/dist/chunks/status-0.6.7-4dybregh.mjs +0 -1
  851. package/dist/chunks/stickers-0.6.7-me3v3dmh.mjs +0 -1
  852. package/dist/chunks/subprocessEnv-0.6.7-qnce4qzp.mjs +0 -1
  853. package/dist/chunks/tasks-0.6.7-sbx5a37t.mjs +0 -1
  854. package/dist/chunks/teamHelpers-0.6.7-pwbpqycb.mjs +0 -1
  855. package/dist/chunks/teammateModeSnapshot-0.6.7-qef93h04.mjs +0 -1
  856. package/dist/chunks/teleport-0.6.7-rtj4ts5d.mjs +0 -1
  857. package/dist/chunks/terminalSetup-0.6.7-tka4bjp2.mjs +0 -1
  858. package/dist/chunks/theme-0.6.7-x8qqpmm6.mjs +0 -1
  859. package/dist/chunks/thinkback-0.6.7-w6wj1na3.mjs +0 -1
  860. package/dist/chunks/thinkback-play-0.6.7-m433zrvk.mjs +0 -1
  861. package/dist/chunks/toolPool-0.6.7-5x90r1f5.mjs +0 -1
  862. package/dist/chunks/toolSearch-0.6.7-ev30cxmd.mjs +0 -1
  863. package/dist/chunks/tools-0.6.7-w23c68c1.mjs +0 -1
  864. package/dist/chunks/trustedDevice-0.6.7-yp482r12.mjs +0 -1
  865. package/dist/chunks/turndown.cjs-0.6.7-6qtfbqqk.mjs +0 -69
  866. package/dist/chunks/types-0.6.7-q8m8v654.mjs +0 -1
  867. package/dist/chunks/ultrareviewCommand-0.6.7-8azkbc2y.mjs +0 -4
  868. package/dist/chunks/update-0.6.7-gwfz54bh.mjs +0 -86
  869. package/dist/chunks/upgrade-0.6.7-3mraezx0.mjs +0 -1
  870. package/dist/chunks/upload-0.6.7-xxfcdyx1.mjs +0 -7
  871. package/dist/chunks/upstreamproxy-0.6.7-5w2ftmfc.mjs +0 -14
  872. package/dist/chunks/url-handler-napi-0.6.7-3jfvm422.mjs +0 -1
  873. package/dist/chunks/usage-0.6.7-pkmqvqgq.mjs +0 -1
  874. package/dist/chunks/util-0.6.7-3z6r92wt.mjs +0 -1
  875. package/dist/chunks/utils-0.6.7-sdkkjj30.mjs +0 -1
  876. package/dist/chunks/vim-0.6.7-3rsss4ez.mjs +0 -1
  877. package/dist/chunks/watcher-0.6.7-kh7rkhx8.mjs +0 -1
  878. package/dist/chunks/wiki-0.6.7-jrn54nk5.mjs +0 -132
  879. package/dist/chunks/worktree-0.6.7-214cy52d.mjs +0 -1
  880. package/dist/chunks/worktreeModeEnabled-0.6.7-3z7e768n.mjs +0 -1
  881. package/dist/chunks/wrapper-0.6.7-h3kjv9nf.mjs +0 -7
  882. /package/dist/chunks/{cli-0.6.7-790sqdfy.mjs → cli-0.6.8-0fra5z78.mjs} +0 -0
  883. /package/dist/chunks/{cli-0.6.7-nzdwcqxv.mjs → cli-0.6.8-0s2z302k.mjs} +0 -0
  884. /package/dist/chunks/{cli-0.6.7-z26mhn5a.mjs → cli-0.6.8-259kprym.mjs} +0 -0
  885. /package/dist/chunks/{cli-0.6.7-32sp32ph.mjs → cli-0.6.8-7cychtp8.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.7-7ggj90ge.mjs → cli-0.6.8-9bt8c69s.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.7-zwf5adf9.mjs → cli-0.6.8-aasxytdk.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.7-pgcg3w1c.mjs → cli-0.6.8-akzaeas1.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.7-04v8p8ay.mjs → cli-0.6.8-fe86xfp4.mjs} +0 -0
@@ -0,0 +1,6 @@
1
+ import{Lpa as b}from"./cli-0.6.8-259kprym.mjs";var K$,L$,F$=(_)=>typeof _==="string"?{...L$,name:_}:{...L$,..._};var S_=b(()=>{K$=Symbol("Let zodToJsonSchema decide on which parser to use"),L$={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"}});var O,f$,B,T=(_)=>{switch(typeof _){case"undefined":return B.undefined;case"string":return B.string;case"number":return Number.isNaN(_)?B.nan:B.number;case"boolean":return B.boolean;case"function":return B.function;case"bigint":return B.bigint;case"symbol":return B.symbol;case"object":if(Array.isArray(_))return B.array;if(_===null)return B.null;if(_.then&&typeof _.then==="function"&&_.catch&&typeof _.catch==="function")return B.promise;if(typeof Map<"u"&&_ instanceof Map)return B.map;if(typeof Set<"u"&&_ instanceof Set)return B.set;if(typeof Date<"u"&&_ instanceof Date)return B.date;return B.object;default:return B.unknown}};var __=b(()=>{(function(_){_.assertEqual=(W)=>{};function $(W){}_.assertIs=$;function q(W){throw Error()}_.assertNever=q,_.arrayToEnum=(W)=>{let X={};for(let H of W)X[H]=H;return X},_.getValidEnumValues=(W)=>{let X=_.objectKeys(W).filter((Y)=>typeof W[W[Y]]!=="number"),H={};for(let Y of X)H[Y]=W[Y];return _.objectValues(H)},_.objectValues=(W)=>{return _.objectKeys(W).map(function(X){return W[X]})},_.objectKeys=typeof Object.keys==="function"?(W)=>Object.keys(W):(W)=>{let X=[];for(let H in W)if(Object.prototype.hasOwnProperty.call(W,H))X.push(H);return X},_.find=(W,X)=>{for(let H of W)if(X(H))return H;return},_.isInteger=typeof Number.isInteger==="function"?(W)=>Number.isInteger(W):(W)=>typeof W==="number"&&Number.isFinite(W)&&Math.floor(W)===W;function J(W,X=" | "){return W.map((H)=>typeof H==="string"?`'${H}'`:H).join(X)}_.joinValues=J,_.jsonStringifyReplacer=(W,X)=>{if(typeof X==="bigint")return X.toString();return X}})(O||(O={}));(function(_){_.mergeShapes=($,q)=>{return{...$,...q}}})(f$||(f$={}));B=O.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"])});var G,f;var v_=b(()=>{__();G=O.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);f=class f extends Error{get errors(){return this.issues}constructor(_){super();this.issues=[],this.addIssue=(q)=>{this.issues=[...this.issues,q]},this.addIssues=(q=[])=>{this.issues=[...this.issues,...q]};let $=new.target.prototype;if(Object.setPrototypeOf)Object.setPrototypeOf(this,$);else this.__proto__=$;this.name="ZodError",this.issues=_}format(_){let $=_||function(W){return W.message},q={_errors:[]},J=(W)=>{for(let X of W.issues)if(X.code==="invalid_union")X.unionErrors.map(J);else if(X.code==="invalid_return_type")J(X.returnTypeError);else if(X.code==="invalid_arguments")J(X.argumentsError);else if(X.path.length===0)q._errors.push($(X));else{let H=q,Y=0;while(Y<X.path.length){let Q=X.path[Y];if(Y!==X.path.length-1)H[Q]=H[Q]||{_errors:[]};else H[Q]=H[Q]||{_errors:[]},H[Q]._errors.push($(X));H=H[Q],Y++}}};return J(this),q}static assert(_){if(!(_ instanceof f))throw Error(`Not a ZodError: ${_}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,O.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(_=($)=>$.message){let $=Object.create(null),q=[];for(let J of this.issues)if(J.path.length>0){let W=J.path[0];$[W]=$[W]||[],$[W].push(_(J))}else q.push(_(J));return{formErrors:q,fieldErrors:$}}get formErrors(){return this.flatten()}};f.create=(_)=>{return new f(_)}});var bq=(_,$)=>{let q;switch(_.code){case G.invalid_type:if(_.received===B.undefined)q="Required";else q=`Expected ${_.expected}, received ${_.received}`;break;case G.invalid_literal:q=`Invalid literal value, expected ${JSON.stringify(_.expected,O.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:q=`Unrecognized key(s) in object: ${O.joinValues(_.keys,", ")}`;break;case G.invalid_union:q="Invalid input";break;case G.invalid_union_discriminator:q=`Invalid discriminator value. Expected ${O.joinValues(_.options)}`;break;case G.invalid_enum_value:q=`Invalid enum value. Expected ${O.joinValues(_.options)}, received '${_.received}'`;break;case G.invalid_arguments:q="Invalid function arguments";break;case G.invalid_return_type:q="Invalid function return type";break;case G.invalid_date:q="Invalid date";break;case G.invalid_string:if(typeof _.validation==="object")if("includes"in _.validation){if(q=`Invalid input: must include "${_.validation.includes}"`,typeof _.validation.position==="number")q=`${q} at one or more positions greater than or equal to ${_.validation.position}`}else if("startsWith"in _.validation)q=`Invalid input: must start with "${_.validation.startsWith}"`;else if("endsWith"in _.validation)q=`Invalid input: must end with "${_.validation.endsWith}"`;else O.assertNever(_.validation);else if(_.validation!=="regex")q=`Invalid ${_.validation}`;else q="Invalid";break;case G.too_small:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at least":"more than"} ${_.minimum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at least":"over"} ${_.minimum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="bigint")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(_.minimum))}`;else q="Invalid input";break;case G.too_big:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at most":"less than"} ${_.maximum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at most":"under"} ${_.maximum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="bigint")q=`BigInt must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly":_.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(_.maximum))}`;else q="Invalid input";break;case G.custom:q="Invalid input";break;case G.invalid_intersection_types:q="Intersection results could not be merged";break;case G.not_multiple_of:q=`Number must be a multiple of ${_.multipleOf}`;break;case G.not_finite:q="Number must be finite";break;default:q=$.defaultError,O.assertNever(_)}return{message:q}},Z;var y_=b(()=>{v_();__();Z=bq});function $_(){return zq}var zq;var j_=b(()=>{y_();zq=Z});function D(_,$){let q=$_(),J=A_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===Z?void 0:Z].filter((W)=>!!W)});_.common.issues.push(J)}class L{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(_,$){let q=[];for(let J of $){if(J.status==="aborted")return z;if(J.status==="dirty")_.dirty();q.push(J.value)}return{status:_.value,value:q}}static async mergeObjectAsync(_,$){let q=[];for(let J of $){let W=await J.key,X=await J.value;q.push({key:W,value:X})}return L.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return z;if(X.status==="aborted")return z;if(W.status==="dirty")_.dirty();if(X.status==="dirty")_.dirty();if(W.value!=="__proto__"&&(typeof X.value<"u"||J.alwaysSet))q[W.value]=X.value}return{status:_.value,value:q}}}var A_=(_)=>{let{data:$,path:q,errorMaps:J,issueData:W}=_,X=[...q,...W.path||[]],H={...W,path:X};if(W.message!==void 0)return{...W,path:X,message:W.message};let Y="",Q=J.filter((v)=>!!v).slice().reverse();for(let v of Q)Y=v(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},z,c=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),x_=(_)=>_.status==="aborted",n_=(_)=>_.status==="dirty",i=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var Z_=b(()=>{j_();y_();z=Object.freeze({status:"aborted"})});var g$=()=>{};var w;var C$=b(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class C{constructor(_,$,q,J){this._cachedPath=[],this.parent=_,this.data=$,this._path=q,this._key=J}get path(){if(!this._cachedPath.length)if(Array.isArray(this._key))this._cachedPath.push(...this._path,...this._key);else this._cachedPath.push(...this._path,this._key);return this._cachedPath}}function j(_){if(!_)return{};let{errorMap:$,invalid_type_error:q,required_error:J,description:W}=_;if($&&(q||J))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);if($)return{errorMap:$,description:W};return{errorMap:(H,Y)=>{let{message:Q}=_;if(H.code==="invalid_enum_value")return{message:Q??Y.defaultError};if(typeof Y.data>"u")return{message:Q??J??Y.defaultError};if(H.code!=="invalid_type")return{message:Y.defaultError};return{message:Q??q??Y.defaultError}},description:W}}class A{get description(){return this._def.description}_getType(_){return T(_.data)}_getOrReturnCtx(_,$){return $||{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}_processInputParams(_){return{status:new L,ctx:{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}}_parseSync(_){let $=this._parse(_);if(q_($))throw Error("Synchronous parse encountered promise.");return $}_parseAsync(_){let $=this._parse(_);return Promise.resolve($)}parse(_,$){let q=this.safeParse(_,$);if(q.success)return q.data;throw q.error}safeParse(_,$){let q={common:{issues:[],async:$?.async??!1,contextualErrorMap:$?.errorMap},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parseSync({data:_,path:q.path,parent:q});return k$(q,J)}"~validate"(_){let $={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)};if(!this["~standard"].async)try{let q=this._parseSync({data:_,path:[],parent:$});return i(q)?{value:q.value}:{issues:$.common.issues}}catch(q){if(q?.message?.toLowerCase()?.includes("encountered"))this["~standard"].async=!0;$.common={issues:[],async:!0}}return this._parseAsync({data:_,path:[],parent:$}).then((q)=>i(q)?{value:q.value}:{issues:$.common.issues})}async parseAsync(_,$){let q=await this.safeParseAsync(_,$);if(q.success)return q.data;throw q.error}async safeParseAsync(_,$){let q={common:{issues:[],contextualErrorMap:$?.errorMap,async:!0},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parse({data:_,path:q.path,parent:q}),W=await(q_(J)?J:Promise.resolve(J));return k$(q,W)}refine(_,$){let q=(J)=>{if(typeof $==="string"||typeof $>"u")return{message:$};else if(typeof $==="function")return $(J);else return $};return this._refinement((J,W)=>{let X=_(J),H=()=>W.addIssue({code:G.custom,...q(J)});if(typeof Promise<"u"&&X instanceof Promise)return X.then((Y)=>{if(!Y)return H(),!1;else return!0});if(!X)return H(),!1;else return!0})}refinement(_,$){return this._refinement((q,J)=>{if(!_(q))return J.addIssue(typeof $==="function"?$(q,J):$),!1;else return!0})}_refinement(_){return new l({schema:this,typeName:M.ZodEffects,effect:{type:"refinement",refinement:_}})}superRefine(_){return this._refinement(_)}constructor(_){this.spa=this.safeParseAsync,this._def=_,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:($)=>this["~validate"]($)}}optional(){return m.create(this,this._def)}nullable(){return u.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return P.create(this)}promise(){return e.create(this,this._def)}or(_){return Q_.create([this,_],this._def)}and(_){return Y_.create(this,_,this._def)}transform(_){return new l({...j(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new D_({...j(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new r_({typeName:M.ZodBranded,type:this,...j(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new w_({...j(this._def),innerType:this,catchValue:$,typeName:M.ZodCatch})}describe(_){return new this.constructor({...this._def,description:_})}pipe(_){return K_.create(this,_)}readonly(){return b_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}function P$(_){let $="[0-5]\\d";if(_.precision)$=`${$}\\.\\d{${_.precision}}`;else if(_.precision==null)$=`${$}(\\.\\d+)?`;let q=_.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${$})${q}`}function kq(_){return new RegExp(`^${P$(_)}$`)}function Iq(_){let $=`${I$}T${P$(_)}`,q=[];if(q.push(_.local?"Z?":"Z"),_.offset)q.push("([+-]\\d{2}:?\\d{2})");return $=`${$}(${q.join("|")})`,new RegExp(`^${$}$`)}function Pq(_,$){if(($==="v4"||!$)&&Rq.test(_))return!0;if(($==="v6"||!$)&&Kq.test(_))return!0;return!1}function mq(_,$){if(!Nq.test(_))return!1;try{let[q]=_.split(".");if(!q)return!1;let J=q.replace(/-/g,"+").replace(/_/g,"/").padEnd(q.length+(4-q.length%4)%4,"="),W=JSON.parse(atob(J));if(typeof W!=="object"||W===null)return!1;if("typ"in W&&W?.typ!=="JWT")return!1;if(!W.alg)return!1;if($&&W.alg!==$)return!1;return!0}catch{return!1}}function lq(_,$){if(($==="v4"||!$)&&Lq.test(_))return!0;if(($==="v6"||!$)&&Fq.test(_))return!0;return!1}function Tq(_,$){let q=(_.toString().split(".")[1]||"").length,J=($.toString().split(".")[1]||"").length,W=q>J?q:J,X=Number.parseInt(_.toFixed(W).replace(".","")),H=Number.parseInt($.toFixed(W).replace(".",""));return X%H/10**W}function d(_){if(_ instanceof U){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=m.create(d(J))}return new U({..._._def,shape:()=>$})}else if(_ instanceof P)return new P({..._._def,type:d(_.element)});else if(_ instanceof m)return m.create(d(_.unwrap()));else if(_ instanceof u)return u.create(d(_.unwrap()));else if(_ instanceof n)return n.create(_.items.map(($)=>d($)));else return _}function p_(_,$){let q=T(_),J=T($);if(_===$)return{valid:!0,data:_};else if(q===B.object&&J===B.object){let W=O.objectKeys($),X=O.objectKeys(_).filter((Y)=>W.indexOf(Y)!==-1),H={..._,...$};for(let Y of X){let Q=p_(_[Y],$[Y]);if(!Q.valid)return{valid:!1};H[Y]=Q.data}return{valid:!0,data:H}}else if(q===B.array&&J===B.array){if(_.length!==$.length)return{valid:!1};let W=[];for(let X=0;X<_.length;X++){let H=_[X],Y=$[X],Q=p_(H,Y);if(!Q.valid)return{valid:!1};W.push(Q.data)}return{valid:!0,data:W}}else if(q===B.date&&J===B.date&&+_===+$)return{valid:!0,data:_};else return{valid:!1}}function m$(_,$){return new o({values:_,typeName:M.ZodEnum,...j($)})}var k$=(_,$)=>{if(i($))return{success:!0,data:$.value};else{if(!_.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let q=new f(_.common.issues);return this._error=q,this._error}}}},Sq,vq,jq,Aq,Oq,Nq,Eq,Uq,Vq="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",u_,Rq,Lq,Kq,Fq,fq,gq,I$="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Cq,y,t,a,O_,W_,N_,X_,H_,E_,r,x,U_,P,U,Q_,h=(_)=>{if(_ instanceof G_)return h(_.schema);else if(_ instanceof l)return h(_.innerType());else if(_ instanceof M_)return[_.value];else if(_ instanceof o)return _.options;else if(_ instanceof B_)return O.objectValues(_.enum);else if(_ instanceof D_)return h(_._def.innerType);else if(_ instanceof X_)return[void 0];else if(_ instanceof H_)return[null];else if(_ instanceof m)return[void 0,...h(_.unwrap())];else if(_ instanceof u)return[null,...h(_.unwrap())];else if(_ instanceof r_)return h(_.unwrap());else if(_ instanceof b_)return h(_.unwrap());else if(_ instanceof w_)return h(_._def.innerType);else return[]},i_,Y_,n,V_,R_,s,J_,G_,M_,o,B_,e,l,m,u,D_,w_,L_,D3,r_,K_,b_,w3,M,b3,z3,S3,v3,j3,A3,O3,N3,E3,U3,V3,R3,L3,K3,F3,f3,g3,C3,k3,I3,P3,m3,l3,T3,h3,y3,x3,n3,Z3,u3,p3,i3,r3,o3;var l$=b(()=>{v_();j_();C$();Z_();__();Sq=/^c[^\s-]{8,}$/i,vq=/^[0-9a-z]+$/,jq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Aq=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Oq=/^[a-z0-9_-]{21}$/i,Nq=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Eq=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Uq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Rq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Lq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Kq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Fq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fq=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,gq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Cq=new RegExp(`^${I$}$`);y=class y extends A{_parse(_){if(this._def.coerce)_.data=String(_.data);if(this._getType(_)!==B.string){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.string,received:W.parsedType}),z}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.length<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="max"){if(_.data.length>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="length"){let X=_.data.length>W.value,H=_.data.length<W.value;if(X||H){if(J=this._getOrReturnCtx(_,J),X)D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});else if(H)D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});q.dirty()}}else if(W.kind==="email"){if(!Uq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"email",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="emoji"){if(!u_)u_=new RegExp(Vq,"u");if(!u_.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"emoji",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="uuid"){if(!Aq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"uuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="nanoid"){if(!Oq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"nanoid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid"){if(!Sq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid2"){if(!vq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid2",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ulid"){if(!jq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"ulid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="url")try{new URL(_.data)}catch{J=this._getOrReturnCtx(_,J),D(J,{validation:"url",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="regex"){if(W.regex.lastIndex=0,!W.regex.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"regex",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="trim")_.data=_.data.trim();else if(W.kind==="includes"){if(!_.data.includes(W.value,W.position))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{includes:W.value,position:W.position},message:W.message}),q.dirty()}else if(W.kind==="toLowerCase")_.data=_.data.toLowerCase();else if(W.kind==="toUpperCase")_.data=_.data.toUpperCase();else if(W.kind==="startsWith"){if(!_.data.startsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{startsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="endsWith"){if(!_.data.endsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{endsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="datetime"){if(!Iq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"datetime",message:W.message}),q.dirty()}else if(W.kind==="date"){if(!Cq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"date",message:W.message}),q.dirty()}else if(W.kind==="time"){if(!kq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"time",message:W.message}),q.dirty()}else if(W.kind==="duration"){if(!Eq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"duration",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ip"){if(!Pq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"ip",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="jwt"){if(!mq(_.data,W.alg))J=this._getOrReturnCtx(_,J),D(J,{validation:"jwt",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cidr"){if(!lq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"cidr",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64"){if(!fq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64url"){if(!gq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64url",code:G.invalid_string,message:W.message}),q.dirty()}else O.assertNever(W);return{status:q.value,value:_.data}}_regex(_,$,q){return this.refinement((J)=>_.test(J),{validation:$,code:G.invalid_string,...w.errToObj(q)})}_addCheck(_){return new y({...this._def,checks:[...this._def.checks,_]})}email(_){return this._addCheck({kind:"email",...w.errToObj(_)})}url(_){return this._addCheck({kind:"url",...w.errToObj(_)})}emoji(_){return this._addCheck({kind:"emoji",...w.errToObj(_)})}uuid(_){return this._addCheck({kind:"uuid",...w.errToObj(_)})}nanoid(_){return this._addCheck({kind:"nanoid",...w.errToObj(_)})}cuid(_){return this._addCheck({kind:"cuid",...w.errToObj(_)})}cuid2(_){return this._addCheck({kind:"cuid2",...w.errToObj(_)})}ulid(_){return this._addCheck({kind:"ulid",...w.errToObj(_)})}base64(_){return this._addCheck({kind:"base64",...w.errToObj(_)})}base64url(_){return this._addCheck({kind:"base64url",...w.errToObj(_)})}jwt(_){return this._addCheck({kind:"jwt",...w.errToObj(_)})}ip(_){return this._addCheck({kind:"ip",...w.errToObj(_)})}cidr(_){return this._addCheck({kind:"cidr",...w.errToObj(_)})}datetime(_){if(typeof _==="string")return this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:_});return this._addCheck({kind:"datetime",precision:typeof _?.precision>"u"?null:_?.precision,offset:_?.offset??!1,local:_?.local??!1,...w.errToObj(_?.message)})}date(_){return this._addCheck({kind:"date",message:_})}time(_){if(typeof _==="string")return this._addCheck({kind:"time",precision:null,message:_});return this._addCheck({kind:"time",precision:typeof _?.precision>"u"?null:_?.precision,...w.errToObj(_?.message)})}duration(_){return this._addCheck({kind:"duration",...w.errToObj(_)})}regex(_,$){return this._addCheck({kind:"regex",regex:_,...w.errToObj($)})}includes(_,$){return this._addCheck({kind:"includes",value:_,position:$?.position,...w.errToObj($?.message)})}startsWith(_,$){return this._addCheck({kind:"startsWith",value:_,...w.errToObj($)})}endsWith(_,$){return this._addCheck({kind:"endsWith",value:_,...w.errToObj($)})}min(_,$){return this._addCheck({kind:"min",value:_,...w.errToObj($)})}max(_,$){return this._addCheck({kind:"max",value:_,...w.errToObj($)})}length(_,$){return this._addCheck({kind:"length",value:_,...w.errToObj($)})}nonempty(_){return this.min(1,w.errToObj(_))}trim(){return new y({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((_)=>_.kind==="datetime")}get isDate(){return!!this._def.checks.find((_)=>_.kind==="date")}get isTime(){return!!this._def.checks.find((_)=>_.kind==="time")}get isDuration(){return!!this._def.checks.find((_)=>_.kind==="duration")}get isEmail(){return!!this._def.checks.find((_)=>_.kind==="email")}get isURL(){return!!this._def.checks.find((_)=>_.kind==="url")}get isEmoji(){return!!this._def.checks.find((_)=>_.kind==="emoji")}get isUUID(){return!!this._def.checks.find((_)=>_.kind==="uuid")}get isNANOID(){return!!this._def.checks.find((_)=>_.kind==="nanoid")}get isCUID(){return!!this._def.checks.find((_)=>_.kind==="cuid")}get isCUID2(){return!!this._def.checks.find((_)=>_.kind==="cuid2")}get isULID(){return!!this._def.checks.find((_)=>_.kind==="ulid")}get isIP(){return!!this._def.checks.find((_)=>_.kind==="ip")}get isCIDR(){return!!this._def.checks.find((_)=>_.kind==="cidr")}get isBase64(){return!!this._def.checks.find((_)=>_.kind==="base64")}get isBase64url(){return!!this._def.checks.find((_)=>_.kind==="base64url")}get minLength(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxLength(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};y.create=(_)=>{return new y({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...j(_)})};t=class t extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(_){if(this._def.coerce)_.data=Number(_.data);if(this._getType(_)!==B.number){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.number,received:W.parsedType}),z}let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="int"){if(!O.isInteger(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.invalid_type,expected:"integer",received:"float",message:W.message}),J.dirty()}else if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,minimum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,maximum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(Tq(_.data,W.value)!==0)q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else if(W.kind==="finite"){if(!Number.isFinite(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_finite,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new t({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new t({...this._def,checks:[...this._def.checks,_]})}int(_){return this._addCheck({kind:"int",message:w.toString(_)})}positive(_){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}finite(_){return this._addCheck({kind:"finite",message:w.toString(_)})}safe(_){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(_)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(_)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}get isInt(){return!!this._def.checks.find((_)=>_.kind==="int"||_.kind==="multipleOf"&&O.isInteger(_.value))}get isFinite(){let _=null,$=null;for(let q of this._def.checks)if(q.kind==="finite"||q.kind==="int"||q.kind==="multipleOf")return!0;else if(q.kind==="min"){if($===null||q.value>$)$=q.value}else if(q.kind==="max"){if(_===null||q.value<_)_=q.value}return Number.isFinite($)&&Number.isFinite(_)}};t.create=(_)=>{return new t({checks:[],typeName:M.ZodNumber,coerce:_?.coerce||!1,...j(_)})};a=class a extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte}_parse(_){if(this._def.coerce)try{_.data=BigInt(_.data)}catch{return this._getInvalidInput(_)}if(this._getType(_)!==B.bigint)return this._getInvalidInput(_);let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,type:"bigint",minimum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,type:"bigint",maximum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(_.data%W.value!==BigInt(0))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}_getInvalidInput(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.bigint,received:$.parsedType}),z}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new a({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new a({...this._def,checks:[...this._def.checks,_]})}positive(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};a.create=(_)=>{return new a({checks:[],typeName:M.ZodBigInt,coerce:_?.coerce??!1,...j(_)})};O_=class O_ extends A{_parse(_){if(this._def.coerce)_.data=Boolean(_.data);if(this._getType(_)!==B.boolean){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.boolean,received:q.parsedType}),z}return K(_.data)}};O_.create=(_)=>{return new O_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...j(_)})};W_=class W_ extends A{_parse(_){if(this._def.coerce)_.data=new Date(_.data);if(this._getType(_)!==B.date){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.date,received:W.parsedType}),z}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),z}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.getTime()<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,message:W.message,inclusive:!0,exact:!1,minimum:W.value,type:"date"}),q.dirty()}else if(W.kind==="max"){if(_.data.getTime()>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,message:W.message,inclusive:!0,exact:!1,maximum:W.value,type:"date"}),q.dirty()}else O.assertNever(W);return{status:q.value,value:new Date(_.data.getTime())}}_addCheck(_){return new W_({...this._def,checks:[...this._def.checks,_]})}min(_,$){return this._addCheck({kind:"min",value:_.getTime(),message:w.toString($)})}max(_,$){return this._addCheck({kind:"max",value:_.getTime(),message:w.toString($)})}get minDate(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _!=null?new Date(_):null}get maxDate(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _!=null?new Date(_):null}};W_.create=(_)=>{return new W_({checks:[],coerce:_?.coerce||!1,typeName:M.ZodDate,...j(_)})};N_=class N_ extends A{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),z}return K(_.data)}};N_.create=(_)=>{return new N_({typeName:M.ZodSymbol,...j(_)})};X_=class X_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),z}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodUndefined,...j(_)})};H_=class H_ extends A{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),z}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodNull,...j(_)})};E_=class E_ extends A{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};E_.create=(_)=>{return new E_({typeName:M.ZodAny,...j(_)})};r=class r extends A{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};r.create=(_)=>{return new r({typeName:M.ZodUnknown,...j(_)})};x=class x extends A{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),z}};x.create=(_)=>{return new x({typeName:M.ZodNever,...j(_)})};U_=class U_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),z}return K(_.data)}};U_.create=(_)=>{return new U_({typeName:M.ZodVoid,...j(_)})};P=class P extends A{_parse(_){let{ctx:$,status:q}=this._processInputParams(_),J=this._def;if($.parsedType!==B.array)return D($,{code:G.invalid_type,expected:B.array,received:$.parsedType}),z;if(J.exactLength!==null){let X=$.data.length>J.exactLength.value,H=$.data.length<J.exactLength.value;if(X||H)D($,{code:X?G.too_big:G.too_small,minimum:H?J.exactLength.value:void 0,maximum:X?J.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:J.exactLength.message}),q.dirty()}if(J.minLength!==null){if($.data.length<J.minLength.value)D($,{code:G.too_small,minimum:J.minLength.value,type:"array",inclusive:!0,exact:!1,message:J.minLength.message}),q.dirty()}if(J.maxLength!==null){if($.data.length>J.maxLength.value)D($,{code:G.too_big,maximum:J.maxLength.value,type:"array",inclusive:!0,exact:!1,message:J.maxLength.message}),q.dirty()}if($.common.async)return Promise.all([...$.data].map((X,H)=>{return J.type._parseAsync(new C($,X,$.path,H))})).then((X)=>{return L.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new C($,X,$.path,H))});return L.mergeArray(q,W)}get element(){return this._def.type}min(_,$){return new P({...this._def,minLength:{value:_,message:w.toString($)}})}max(_,$){return new P({...this._def,maxLength:{value:_,message:w.toString($)}})}length(_,$){return new P({...this._def,exactLength:{value:_,message:w.toString($)}})}nonempty(_){return this.min(1,_)}};P.create=(_,$)=>{return new P({type:_,minLength:null,maxLength:null,exactLength:null,typeName:M.ZodArray,...j($)})};U=class U extends A{constructor(){super(...arguments);this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let _=this._def.shape(),$=O.objectKeys(_);return this._cached={shape:_,keys:$},this._cached}_parse(_){if(this._getType(_)!==B.object){let Q=this._getOrReturnCtx(_);return D(Q,{code:G.invalid_type,expected:B.object,received:Q.parsedType}),z}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof x&&this._def.unknownKeys==="strip")){for(let Q in J.data)if(!X.includes(Q))H.push(Q)}let Y=[];for(let Q of X){let v=W[Q],R=J.data[Q];Y.push({key:{status:"valid",value:Q},value:v._parse(new C(J,R,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof x){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let v of H)Y.push({key:{status:"valid",value:v},value:{status:"valid",value:J.data[v]}});else if(Q==="strict"){if(H.length>0)D(J,{code:G.unrecognized_keys,keys:H}),q.dirty()}else if(Q==="strip");else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let Q=this._def.catchall;for(let v of H){let R=J.data[v];Y.push({key:{status:"valid",value:v},value:Q._parse(new C(J,R,J.path,v)),alwaysSet:v in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let v of Y){let R=await v.key,R$=await v.value;Q.push({key:R,value:R$,alwaysSet:v.alwaysSet})}return Q}).then((Q)=>{return L.mergeObjectSync(q,Q)});else return L.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new U({...this._def,unknownKeys:"strict",..._!==void 0?{errorMap:($,q)=>{let J=this._def.errorMap?.($,q).message??q.defaultError;if($.code==="unrecognized_keys")return{message:w.errToObj(_).message??J};return{message:J}}}:{}})}strip(){return new U({...this._def,unknownKeys:"strip"})}passthrough(){return new U({...this._def,unknownKeys:"passthrough"})}extend(_){return new U({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new U({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new U({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}deepPartial(){return d(this)}partial(_){let $={};for(let q of O.objectKeys(this.shape)){let J=this.shape[q];if(_&&!_[q])$[q]=J;else $[q]=J.optional()}return new U({...this._def,shape:()=>$})}required(_){let $={};for(let q of O.objectKeys(this.shape))if(_&&!_[q])$[q]=this.shape[q];else{let W=this.shape[q];while(W instanceof m)W=W._def.innerType;$[q]=W}return new U({...this._def,shape:()=>$})}keyof(){return m$(O.objectKeys(this.shape))}};U.create=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.strictCreate=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strict",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.lazycreate=(_,$)=>{return new U({shape:_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};Q_=class Q_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=this._def.options;function J(W){for(let H of W)if(H.result.status==="valid")return H.result;for(let H of W)if(H.result.status==="dirty")return $.common.issues.push(...H.ctx.common.issues),H.result;let X=W.map((H)=>new f(H.ctx.common.issues));return D($,{code:G.invalid_union,unionErrors:X}),z}if($.common.async)return Promise.all(q.map(async(W)=>{let X={...$,common:{...$.common,issues:[]},parent:null};return{result:await W._parseAsync({data:$.data,path:$.path,parent:X}),ctx:X}})).then(J);else{let W=void 0,X=[];for(let Y of q){let Q={...$,common:{...$.common,issues:[]},parent:null},v=Y._parseSync({data:$.data,path:$.path,parent:Q});if(v.status==="valid")return v;else if(v.status==="dirty"&&!W)W={result:v,ctx:Q};if(Q.common.issues.length)X.push(Q.common.issues)}if(W)return $.common.issues.push(...W.ctx.common.issues),W.result;let H=X.map((Y)=>new f(Y));return D($,{code:G.invalid_union,unionErrors:H}),z}}get options(){return this._def.options}};Q_.create=(_,$)=>{return new Q_({options:_,typeName:M.ZodUnion,...j($)})};i_=class i_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),z;let q=this.discriminator,J=$.data[q],W=this.optionsMap.get(J);if(!W)return D($,{code:G.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[q]}),z;if($.common.async)return W._parseAsync({data:$.data,path:$.path,parent:$});else return W._parseSync({data:$.data,path:$.path,parent:$})}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(_,$,q){let J=new Map;for(let W of $){let X=h(W.shape[_]);if(!X.length)throw Error(`A discriminator value for key \`${_}\` could not be extracted from all schema options`);for(let H of X){if(J.has(H))throw Error(`Discriminator property ${String(_)} has duplicate value ${String(H)}`);J.set(H,W)}}return new i_({typeName:M.ZodDiscriminatedUnion,discriminator:_,options:$,optionsMap:J,...j(q)})}};Y_=class Y_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(x_(W)||x_(X))return z;let H=p_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),z;if(n_(W)||n_(X))$.dirty();return{status:$.value,value:H.data}};if(q.common.async)return Promise.all([this._def.left._parseAsync({data:q.data,path:q.path,parent:q}),this._def.right._parseAsync({data:q.data,path:q.path,parent:q})]).then(([W,X])=>J(W,X));else return J(this._def.left._parseSync({data:q.data,path:q.path,parent:q}),this._def.right._parseSync({data:q.data,path:q.path,parent:q}))}};Y_.create=(_,$,q)=>{return new Y_({left:_,right:$,typeName:M.ZodIntersection,...j(q)})};n=class n extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.array)return D(q,{code:G.invalid_type,expected:B.array,received:q.parsedType}),z;if(q.data.length<this._def.items.length)return D(q,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),z;if(!this._def.rest&&q.data.length>this._def.items.length)D(q,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$.dirty();let W=[...q.data].map((X,H)=>{let Y=this._def.items[H]||this._def.rest;if(!Y)return null;return Y._parse(new C(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return L.mergeArray($,X)});else return L.mergeArray($,W)}get items(){return this._def.items}rest(_){return new n({...this._def,rest:_})}};n.create=(_,$)=>{if(!Array.isArray(_))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new n({items:_,typeName:M.ZodTuple,rest:null,...j($)})};V_=class V_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.object)return D(q,{code:G.invalid_type,expected:B.object,received:q.parsedType}),z;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new C(q,H,q.path,H)),value:X._parse(new C(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return L.mergeObjectAsync($,J);else return L.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof A)return new V_({keyType:_,valueType:$,typeName:M.ZodRecord,...j(q)});return new V_({keyType:y.create(),valueType:_,typeName:M.ZodRecord,...j($)})}};R_=class R_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.map)return D(q,{code:G.invalid_type,expected:B.map,received:q.parsedType}),z;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new C(q,H,q.path,[Q,"key"])),value:W._parse(new C(q,Y,q.path,[Q,"value"]))}});if(q.common.async){let H=new Map;return Promise.resolve().then(async()=>{for(let Y of X){let Q=await Y.key,v=await Y.value;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:v}=Y;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}}}};R_.create=(_,$,q)=>{return new R_({valueType:$,keyType:_,typeName:M.ZodMap,...j(q)})};s=class s extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.set)return D(q,{code:G.invalid_type,expected:B.set,received:q.parsedType}),z;let J=this._def;if(J.minSize!==null){if(q.data.size<J.minSize.value)D(q,{code:G.too_small,minimum:J.minSize.value,type:"set",inclusive:!0,exact:!1,message:J.minSize.message}),$.dirty()}if(J.maxSize!==null){if(q.data.size>J.maxSize.value)D(q,{code:G.too_big,maximum:J.maxSize.value,type:"set",inclusive:!0,exact:!1,message:J.maxSize.message}),$.dirty()}let W=this._def.valueType;function X(Y){let Q=new Set;for(let v of Y){if(v.status==="aborted")return z;if(v.status==="dirty")$.dirty();Q.add(v.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new C(q,Y,q.path,Q)));if(q.common.async)return Promise.all(H).then((Y)=>X(Y));else return X(H)}min(_,$){return new s({...this._def,minSize:{value:_,message:w.toString($)}})}max(_,$){return new s({...this._def,maxSize:{value:_,message:w.toString($)}})}size(_,$){return this.min(_,$).max(_,$)}nonempty(_){return this.min(1,_)}};s.create=(_,$)=>{return new s({valueType:_,minSize:null,maxSize:null,typeName:M.ZodSet,...j($)})};J_=class J_ extends A{constructor(){super(...arguments);this.validate=this.implement}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.function)return D($,{code:G.invalid_type,expected:B.function,received:$.parsedType}),z;function q(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_return_type,returnTypeError:Y}})}let W={errorMap:$.common.contextualErrorMap},X=$.data;if(this._def.returns instanceof e){let H=this;return K(async function(...Y){let Q=new f([]),v=await H._def.args.parseAsync(Y,W).catch((h_)=>{throw Q.addIssue(q(Y,h_)),Q}),R=await Reflect.apply(X,this,v);return await H._def.returns._def.type.parseAsync(R,W).catch((h_)=>{throw Q.addIssue(J(R,h_)),Q})})}else{let H=this;return K(function(...Y){let Q=H._def.args.safeParse(Y,W);if(!Q.success)throw new f([q(Y,Q.error)]);let v=Reflect.apply(X,this,Q.data),R=H._def.returns.safeParse(v,W);if(!R.success)throw new f([J(v,R.error)]);return R.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new J_({...this._def,args:n.create(_).rest(r.create())})}returns(_){return new J_({...this._def,returns:_})}implement(_){return this.parse(_)}strictImplement(_){return this.parse(_)}static create(_,$,q){return new J_({args:_?_:n.create([]).rest(r.create()),returns:$||r.create(),typeName:M.ZodFunction,...j(q)})}};G_=class G_ extends A{get schema(){return this._def.getter()}_parse(_){let{ctx:$}=this._processInputParams(_);return this._def.getter()._parse({data:$.data,path:$.path,parent:$})}};G_.create=(_,$)=>{return new G_({getter:_,typeName:M.ZodLazy,...j($)})};M_=class M_ extends A{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:_.data}}get value(){return this._def.value}};M_.create=(_,$)=>{return new M_({value:_,typeName:M.ZodLiteral,...j($)})};o=class o extends A{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),z}if(!this._cache)this._cache=new Set(this._def.values);if(!this._cache.has(_.data)){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{received:$.data,code:G.invalid_enum_value,options:q}),z}return K(_.data)}get options(){return this._def.values}get enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Values(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}extract(_,$=this._def){return o.create(_,{...this._def,...$})}exclude(_,$=this._def){return o.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};o.create=m$;B_=class B_ extends A{_parse(_){let $=O.getValidEnumValues(this._def.values),q=this._getOrReturnCtx(_);if(q.parsedType!==B.string&&q.parsedType!==B.number){let J=O.objectValues($);return D(q,{expected:O.joinValues(J),received:q.parsedType,code:G.invalid_type}),z}if(!this._cache)this._cache=new Set(O.getValidEnumValues(this._def.values));if(!this._cache.has(_.data)){let J=O.objectValues($);return D(q,{received:q.data,code:G.invalid_enum_value,options:J}),z}return K(_.data)}get enum(){return this._def.values}};B_.create=(_,$)=>{return new B_({values:_,typeName:M.ZodNativeEnum,...j($)})};e=class e extends A{unwrap(){return this._def.type}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.promise&&$.common.async===!1)return D($,{code:G.invalid_type,expected:B.promise,received:$.parsedType}),z;let q=$.parsedType===B.promise?$.data:Promise.resolve($.data);return K(q.then((J)=>{return this._def.type.parseAsync(J,{path:$.path,errorMap:$.common.contextualErrorMap})}))}};e.create=(_,$)=>{return new e({type:_,typeName:M.ZodPromise,...j($)})};l=class l extends A{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===M.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=this._def.effect||null,W={addIssue:(X)=>{if(D(q,X),X.fatal)$.abort();else $.dirty()},get path(){return q.path}};if(W.addIssue=W.addIssue.bind(W),J.type==="preprocess"){let X=J.transform(q.data,W);if(q.common.async)return Promise.resolve(X).then(async(H)=>{if($.value==="aborted")return z;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return z;if(Y.status==="dirty")return c(Y.value);if($.value==="dirty")return c(Y.value);return Y});else{if($.value==="aborted")return z;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")return c(H.value);if($.value==="dirty")return c(H.value);return H}}if(J.type==="refinement"){let X=(H)=>{let Y=J.refinement(H,W);if(q.common.async)return Promise.resolve(Y);if(Y instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return H};if(q.common.async===!1){let H=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")$.dirty();return X(H.value),{status:$.value,value:H.value}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((H)=>{if(H.status==="aborted")return z;if(H.status==="dirty")$.dirty();return X(H.value).then(()=>{return{status:$.value,value:H.value}})})}if(J.type==="transform")if(q.common.async===!1){let X=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(!i(X))return z;let H=J.transform(X.value,W);if(H instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:$.value,value:H}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((X)=>{if(!i(X))return z;return Promise.resolve(J.transform(X.value,W)).then((H)=>({status:$.value,value:H}))});O.assertNever(J)}};l.create=(_,$,q)=>{return new l({schema:_,typeName:M.ZodEffects,effect:$,...j(q)})};l.createWithPreprocess=(_,$,q)=>{return new l({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...j(q)})};m=class m extends A{_parse(_){if(this._getType(_)===B.undefined)return K(void 0);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};m.create=(_,$)=>{return new m({innerType:_,typeName:M.ZodOptional,...j($)})};u=class u extends A{_parse(_){if(this._getType(_)===B.null)return K(null);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};u.create=(_,$)=>{return new u({innerType:_,typeName:M.ZodNullable,...j($)})};D_=class D_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;if($.parsedType===B.undefined)q=this._def.defaultValue();return this._def.innerType._parse({data:q,path:$.path,parent:$})}removeDefault(){return this._def.innerType}};D_.create=(_,$)=>{return new D_({innerType:_,typeName:M.ZodDefault,defaultValue:typeof $.default==="function"?$.default:()=>$.default,...j($)})};w_=class w_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q={...$,common:{...$.common,issues:[]}},J=this._def.innerType._parse({data:q.data,path:q.path,parent:{...q}});if(q_(J))return J.then((W)=>{return{status:"valid",value:W.status==="valid"?W.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}});else return{status:"valid",value:J.status==="valid"?J.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}}removeCatch(){return this._def.innerType}};w_.create=(_,$)=>{return new w_({innerType:_,typeName:M.ZodCatch,catchValue:typeof $.catch==="function"?$.catch:()=>$.catch,...j($)})};L_=class L_ extends A{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),z}return{status:"valid",value:_.data}}};L_.create=(_)=>{return new L_({typeName:M.ZodNaN,...j(_)})};D3=Symbol("zod_brand");r_=class r_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;return this._def.type._parse({data:q,path:$.path,parent:$})}unwrap(){return this._def.type}};K_=class K_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.common.async)return(async()=>{let W=await this._def.in._parseAsync({data:q.data,path:q.path,parent:q});if(W.status==="aborted")return z;if(W.status==="dirty")return $.dirty(),c(W.value);else return this._def.out._parseAsync({data:W.value,path:q.path,parent:q})})();else{let J=this._def.in._parseSync({data:q.data,path:q.path,parent:q});if(J.status==="aborted")return z;if(J.status==="dirty")return $.dirty(),{status:"dirty",value:J.value};else return this._def.out._parseSync({data:J.value,path:q.path,parent:q})}}static create(_,$){return new K_({in:_,out:$,typeName:M.ZodPipeline})}};b_=class b_ extends A{_parse(_){let $=this._def.innerType._parse(_),q=(J)=>{if(i(J))J.value=Object.freeze(J.value);return J};return q_($)?$.then((J)=>q(J)):q($)}unwrap(){return this._def.innerType}};b_.create=(_,$)=>{return new b_({innerType:_,typeName:M.ZodReadonly,...j($)})};w3={object:U.lazycreate};(function(_){_.ZodString="ZodString",_.ZodNumber="ZodNumber",_.ZodNaN="ZodNaN",_.ZodBigInt="ZodBigInt",_.ZodBoolean="ZodBoolean",_.ZodDate="ZodDate",_.ZodSymbol="ZodSymbol",_.ZodUndefined="ZodUndefined",_.ZodNull="ZodNull",_.ZodAny="ZodAny",_.ZodUnknown="ZodUnknown",_.ZodNever="ZodNever",_.ZodVoid="ZodVoid",_.ZodArray="ZodArray",_.ZodObject="ZodObject",_.ZodUnion="ZodUnion",_.ZodDiscriminatedUnion="ZodDiscriminatedUnion",_.ZodIntersection="ZodIntersection",_.ZodTuple="ZodTuple",_.ZodRecord="ZodRecord",_.ZodMap="ZodMap",_.ZodSet="ZodSet",_.ZodFunction="ZodFunction",_.ZodLazy="ZodLazy",_.ZodLiteral="ZodLiteral",_.ZodEnum="ZodEnum",_.ZodEffects="ZodEffects",_.ZodNativeEnum="ZodNativeEnum",_.ZodOptional="ZodOptional",_.ZodNullable="ZodNullable",_.ZodDefault="ZodDefault",_.ZodCatch="ZodCatch",_.ZodPromise="ZodPromise",_.ZodBranded="ZodBranded",_.ZodPipeline="ZodPipeline",_.ZodReadonly="ZodReadonly"})(M||(M={}));b3=y.create,z3=t.create,S3=L_.create,v3=a.create,j3=O_.create,A3=W_.create,O3=N_.create,N3=X_.create,E3=H_.create,U3=E_.create,V3=r.create,R3=x.create,L3=U_.create,K3=P.create,F3=U.create,f3=U.strictCreate,g3=Q_.create,C3=i_.create,k3=Y_.create,I3=n.create,P3=V_.create,m3=R_.create,l3=s.create,T3=J_.create,h3=G_.create,y3=M_.create,x3=o.create,n3=B_.create,Z3=e.create,u3=l.create,p3=m.create,i3=u.create,r3=l.createWithPreprocess,o3=K_.create});var T$=b(()=>{j_();Z_();g$();__();l$();v_()});var F_=b(()=>{T$()});var f_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var g_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?f_($,_.currentPath):$.join("/")}}var g=b(()=>{g_()});function o_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,o_(_,$,J,W)}var p=()=>{};function h$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=S(_.type._def,{...$,currentPath:[...$.currentPath,"items"]});if(_.minLength)N(q,"minItems",_.minLength.value,_.minLength.message,$);if(_.maxLength)N(q,"maxItems",_.maxLength.value,_.maxLength.message,$);if(_.exactLength)N(q,"minItems",_.exactLength.value,_.exactLength.message,$),N(q,"maxItems",_.exactLength.value,_.exactLength.message,$);return q}var c_=b(()=>{F_();p();V()});function y$(_,$){let q={type:"integer",format:"int64"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var d_=b(()=>{p()});function x$(){return{type:"boolean"}}var t_=()=>{};function C_(_,$){return S(_.type._def,$)}var k_=b(()=>{V()});var n$=(_,$)=>{return S(_.innerType._def,$)};var a_=b(()=>{V()});function s_(_,$,q){let J=q??$.dateStrategy;if(Array.isArray(J))return{anyOf:J.map((W,X)=>s_(_,$,W))};switch(J){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return hq(_,$)}}var hq=(_,$)=>{let q={type:"integer",format:"unix-time"};if($.target==="openApi3")return q;for(let J of _.checks)switch(J.kind){case"min":N(q,"minimum",J.value,J.message,$);break;case"max":N(q,"maximum",J.value,J.message,$);break}return q};var e_=b(()=>{p()});function Z$(_,$){return{...S(_.innerType._def,$),default:_.defaultValue()}}var _$=b(()=>{V()});function u$(_,$){return $.effectStrategy==="input"?S(_.schema._def,$):E($)}var $$=b(()=>{V();g()});function p$(_){return{type:"string",enum:Array.from(_.values)}}var q$=()=>{};function i$(_,$){let q=[S(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),S(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(yq(X)){if(W.push(...X.allOf),X.unevaluatedProperties===void 0)J=void 0}else{let H=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Y,...Q}=X;H=Q}else J=void 0;W.push(H)}}),W.length?{allOf:W,...J}:void 0}var yq=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var J$=b(()=>{V()});function r$(_,$){let q=typeof _.value;if(q!=="bigint"&&q!=="number"&&q!=="boolean"&&q!=="string")return{type:Array.isArray(_.value)?"array":"object"};if($.target==="openApi3")return{type:q==="bigint"?"integer":q,enum:[_.value]};return{type:q==="bigint"?"integer":q,const:_.value}}var W$=()=>{};function I_(_,$){let q={type:"string"};if(_.checks)for(let J of _.checks)switch(J.kind){case"min":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$);break;case"max":N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"email":switch($.emailStrategy){case"format:email":I(q,"email",J.message,$);break;case"format:idn-email":I(q,"idn-email",J.message,$);break;case"pattern:zod":F(q,k.email,J.message,$);break}break;case"url":I(q,"uri",J.message,$);break;case"uuid":I(q,"uuid",J.message,$);break;case"regex":F(q,J.regex,J.message,$);break;case"cuid":F(q,k.cuid,J.message,$);break;case"cuid2":F(q,k.cuid2,J.message,$);break;case"startsWith":F(q,RegExp(`^${H$(J.value,$)}`),J.message,$);break;case"endsWith":F(q,RegExp(`${H$(J.value,$)}$`),J.message,$);break;case"datetime":I(q,"date-time",J.message,$);break;case"date":I(q,"date",J.message,$);break;case"time":I(q,"time",J.message,$);break;case"duration":I(q,"duration",J.message,$);break;case"length":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$),N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"includes":{F(q,RegExp(H$(J.value,$)),J.message,$);break}case"ip":{if(J.version!=="v6")I(q,"ipv4",J.message,$);if(J.version!=="v4")I(q,"ipv6",J.message,$);break}case"base64url":F(q,k.base64url,J.message,$);break;case"jwt":F(q,k.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,k.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,k.ipv6Cidr,J.message,$);break}case"emoji":F(q,k.emoji(),J.message,$);break;case"ulid":{F(q,k.ulid,J.message,$);break}case"base64":{switch($.base64Strategy){case"format:binary":{I(q,"binary",J.message,$);break}case"contentEncoding:base64":{N(q,"contentEncoding","base64",J.message,$);break}case"pattern:zod":{F(q,k.base64,J.message,$);break}}break}case"nanoid":F(q,k.nanoid,J.message,$);case"toLowerCase":case"toUpperCase":case"trim":break;default:((W)=>{})(J)}return q}function H$(_,$){return $.patternStrategy==="escape"?nq(_):_}function nq(_){let $="";for(let q=0;q<_.length;q++){if(!xq.has(_[q]))$+="\\";$+=_[q]}return $}function I(_,$,q,J){if(_.format||_.anyOf?.some((W)=>W.format)){if(!_.anyOf)_.anyOf=[];if(_.format){if(_.anyOf.push({format:_.format,..._.errorMessage&&J.errorMessages&&{errorMessage:{format:_.errorMessage.format}}}),delete _.format,_.errorMessage){if(delete _.errorMessage.format,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.anyOf.push({format:$,...q&&J.errorMessages&&{errorMessage:{format:q}}})}else N(_,"format",$,q,J)}function F(_,$,q,J){if(_.pattern||_.allOf?.some((W)=>W.pattern)){if(!_.allOf)_.allOf=[];if(_.pattern){if(_.allOf.push({pattern:_.pattern,..._.errorMessage&&J.errorMessages&&{errorMessage:{pattern:_.errorMessage.pattern}}}),delete _.pattern,_.errorMessage){if(delete _.errorMessage.pattern,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.allOf.push({pattern:o$($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",o$($,J),q,J)}function o$(_,$){if(!$.applyRegexFlags||!_.flags)return _.source;let q={i:_.flags.includes("i"),m:_.flags.includes("m"),s:_.flags.includes("s")},J=q.i?_.source.toLowerCase():_.source,W="",X=!1,H=!1,Y=!1;for(let Q=0;Q<J.length;Q++){if(X){W+=J[Q],X=!1;continue}if(q.i){if(H){if(J[Q].match(/[a-z]/)){if(Y)W+=J[Q],W+=`${J[Q-2]}-${J[Q]}`.toUpperCase(),Y=!1;else if(J[Q+1]==="-"&&J[Q+2]?.match(/[a-z]/))W+=J[Q],Y=!0;else W+=`${J[Q]}${J[Q].toUpperCase()}`;continue}}else if(J[Q].match(/[a-z]/)){W+=`[${J[Q]}${J[Q].toUpperCase()}]`;continue}}if(q.m){if(J[Q]==="^"){W+=`(^|(?<=[\r
2
+ ]))`;continue}else if(J[Q]==="$"){W+=`($|(?=[\r
3
+ ]))`;continue}}if(q.s&&J[Q]==="."){W+=H?`${J[Q]}\r
4
+ `:`[${J[Q]}\r
5
+ ]`;continue}if(W+=J[Q],J[Q]==="\\")X=!0;else if(H&&J[Q]==="]")H=!1;else if(!H&&J[Q]==="[")H=!0}try{new RegExp(W)}catch{return console.warn(`Could not convert regex pattern at ${$.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),_.source}return W}var X$=void 0,k,xq;var P_=b(()=>{p();k={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(X$===void 0)X$=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return X$},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};xq=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function m_(_,$){if($.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if($.target==="openApi3"&&_.keyType?._def.typeName===M.ZodEnum)return{type:"object",required:_.keyType._def.values,properties:_.keyType._def.values.reduce((J,W)=>({...J,[W]:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]})??$.allowedAdditionalProperties};if($.target==="openApi3")return q;if(_.keyType?._def.typeName===M.ZodString&&_.keyType._def.checks?.length){let{type:J,...W}=I_(_.keyType._def,$);return{...q,propertyNames:W}}else if(_.keyType?._def.typeName===M.ZodEnum)return{...q,propertyNames:{enum:_.keyType._def.values}};else if(_.keyType?._def.typeName===M.ZodBranded&&_.keyType._def.type._def.typeName===M.ZodString&&_.keyType._def.type._def.checks?.length){let{type:J,...W}=C_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var l_=b(()=>{F_();V();P_();k_();g()});function c$(_,$){if($.mapStrategy==="record")return m_(_,$);let q=S(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items","items","1"]})||E($);return{type:"array",maxItems:125,items:{type:"array",items:[q,J],minItems:2,maxItems:2}}}var Q$=b(()=>{V();l_();g()});function d$(_){let $=_.values,J=Object.keys(_.values).filter((X)=>{return typeof $[$[X]]!=="number"}).map((X)=>$[X]),W=Array.from(new Set(J.map((X)=>typeof X)));return{type:W.length===1?W[0]==="string"?"string":"number":["string","number"],enum:J}}var Y$=()=>{};function t$(_){return _.target==="openAi"?void 0:{not:E({..._,currentPath:[..._.currentPath,"not"]})}}var G$=b(()=>{g()});function a$(_){return _.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var M$=()=>{};function e$(_,$){if($.target==="openApi3")return s$(_,$);let q=_.options instanceof Map?Array.from(_.options.values()):_.options;if(q.every((J)=>(J._def.typeName in z_)&&(!J._def.checks||!J._def.checks.length))){let J=q.reduce((W,X)=>{let H=z_[X._def.typeName];return H&&!W.includes(H)?[...W,H]:W},[]);return{type:J.length>1?J:J[0]}}else if(q.every((J)=>J._def.typeName==="ZodLiteral"&&!J.description)){let J=q.reduce((W,X)=>{let H=typeof X._def.value;switch(H){case"string":case"number":case"boolean":return[...W,H];case"bigint":return[...W,"integer"];case"object":if(X._def.value===null)return[...W,"null"];case"symbol":case"undefined":case"function":default:return W}},[]);if(J.length===q.length){let W=J.filter((X,H,Y)=>Y.indexOf(X)===H);return{type:W.length>1?W:W[0],enum:q.reduce((X,H)=>{return X.includes(H._def.value)?X:[...X,H._def.value]},[])}}}else if(q.every((J)=>J._def.typeName==="ZodEnum"))return{type:"string",enum:q.reduce((J,W)=>[...J,...W._def.values.filter((X)=>!J.includes(X))],[])};return s$(_,$)}var z_,s$=(_,$)=>{let q=(_.options instanceof Map?Array.from(_.options.values()):_.options).map((J,W)=>S(J._def,{...$,currentPath:[...$.currentPath,"anyOf",`${W}`]})).filter((J)=>!!J&&(!$.strictUnions||typeof J==="object"&&Object.keys(J).length>0));return q.length?{anyOf:q}:void 0};var T_=b(()=>{V();z_={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function _q(_,$){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(_.innerType._def.typeName)&&(!_.innerType._def.checks||!_.innerType._def.checks.length)){if($.target==="openApi3")return{type:z_[_.innerType._def.typeName],nullable:!0};return{type:[z_[_.innerType._def.typeName],"null"]}}if($.target==="openApi3"){let J=S(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var B$=b(()=>{V();T_()});function $q(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",o_(q,"type",J.message,$);break;case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var D$=b(()=>{p()});function qq(_,$){let q=$.target==="openAi",J={type:"object",properties:{}},W=[],X=_.shape();for(let Y in X){let Q=X[Y];if(Q===void 0||Q._def===void 0)continue;let v=uq(Q);if(v&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();v=!1}let R=S(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(R===void 0)continue;if(J.properties[Y]=R,!v)W.push(Y)}if(W.length)J.required=W;let H=Zq(_,$);if(H!==void 0)J.additionalProperties=H;return J}function Zq(_,$){if(_.catchall._def.typeName!=="ZodNever")return S(_.catchall._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]});switch(_.unknownKeys){case"passthrough":return $.allowedAdditionalProperties;case"strict":return $.rejectedAdditionalProperties;case"strip":return $.removeAdditionalStrategy==="strict"?$.allowedAdditionalProperties:$.rejectedAdditionalProperties}}function uq(_){try{return _.isOptional()}catch{return!0}}var w$=b(()=>{V()});var Jq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return S(_.innerType._def,$);let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var b$=b(()=>{V();g()});var Wq=(_,$)=>{if($.pipeStrategy==="input")return S(_.in._def,$);else if($.pipeStrategy==="output")return S(_.out._def,$);let q=S(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=S(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var z$=b(()=>{V()});function Xq(_,$){return S(_.type._def,$)}var S$=b(()=>{V()});function Hq(_,$){let J={type:"array",uniqueItems:!0,items:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items"]})};if(_.minSize)N(J,"minItems",_.minSize.value,_.minSize.message,$);if(_.maxSize)N(J,"maxItems",_.maxSize.value,_.maxSize.message,$);return J}var v$=b(()=>{p();V()});function Qq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:S(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var j$=b(()=>{V()});function Yq(_){return{not:E(_)}}var A$=b(()=>{g()});function Gq(_){return E(_)}var O$=b(()=>{g()});var Mq=(_,$)=>{return S(_.innerType._def,$)};var N$=b(()=>{V()});var Bq=(_,$,q)=>{switch($){case M.ZodString:return I_(_,q);case M.ZodNumber:return $q(_,q);case M.ZodObject:return qq(_,q);case M.ZodBigInt:return y$(_,q);case M.ZodBoolean:return x$();case M.ZodDate:return s_(_,q);case M.ZodUndefined:return Yq(q);case M.ZodNull:return a$(q);case M.ZodArray:return h$(_,q);case M.ZodUnion:case M.ZodDiscriminatedUnion:return e$(_,q);case M.ZodIntersection:return i$(_,q);case M.ZodTuple:return Qq(_,q);case M.ZodRecord:return m_(_,q);case M.ZodLiteral:return r$(_,q);case M.ZodEnum:return p$(_);case M.ZodNativeEnum:return d$(_);case M.ZodNullable:return _q(_,q);case M.ZodOptional:return Jq(_,q);case M.ZodMap:return c$(_,q);case M.ZodSet:return Hq(_,q);case M.ZodLazy:return()=>_.getter()._def;case M.ZodPromise:return Xq(_,q);case M.ZodNaN:case M.ZodNever:return t$(q);case M.ZodEffects:return u$(_,q);case M.ZodAny:return E(q);case M.ZodUnknown:return Gq(q);case M.ZodDefault:return Z$(_,q);case M.ZodBranded:return C_(_,q);case M.ZodReadonly:return Mq(_,q);case M.ZodCatch:return n$(_,q);case M.ZodPipeline:return Wq(_,q);case M.ZodFunction:case M.ZodVoid:case M.ZodSymbol:return;default:return((J)=>{return})($)}};var E$=b(()=>{F_();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();l_();v$();P_();j$();A$();T_();O$();N$()});function S(_,$,q=!1){let J=$.seen.get(_);if($.override){let Y=$.override?.(_,$,J,q);if(Y!==K$)return Y}if(J&&!q){let Y=pq(J,$);if(Y!==void 0)return Y}let W={def:_,path:$.currentPath,jsonSchema:void 0};$.seen.set(_,W);let X=Bq(_,_.typeName,$),H=typeof X==="function"?S(X(),$):X;if(H)iq(_,$,H);if($.postProcess){let Y=$.postProcess(H,_,$);return W.jsonSchema=H,Y}return W.jsonSchema=H,H}var pq=(_,$)=>{switch($.$refStrategy){case"root":return{$ref:_.path.join("/")};case"relative":return{$ref:f_($.currentPath,_.path)};case"none":case"seen":{if(_.path.length<$.currentPath.length&&_.path.every((q,J)=>$.currentPath[J]===q))return console.warn(`Recursive reference detected at ${$.currentPath.join("/")}! Defaulting to any`),E($);return $.$refStrategy==="seen"?E($):void 0}}},iq=(_,$,q)=>{if(_.description){if(q.description=_.description,$.markdownDescription)q.markdownDescription=_.description}return q};var V=b(()=>{S_();E$();g_();g()});var Dq=(_)=>{let $=F$(_),q=$.name!==void 0?[...$.basePath,$.definitionPath,$.name]:$.basePath;return{...$,flags:{hasReferencedOpenAiAnyType:!1},currentPath:q,propertyPath:void 0,seen:new Map(Object.entries($.definitions).map(([J,W])=>[W._def,{def:W._def,path:[...$.basePath,$.definitionPath,J],jsonSchema:void 0}]))}};var U$=b(()=>{S_()});var rq=(_,$)=>{let q=Dq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[v,R])=>({...Q,[v]:S(R._def,{...q,currentPath:[...q.basePath,q.definitionPath,v]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=S(_._def,W===void 0?q:{...q,currentPath:[...q.basePath,q.definitionPath,W]},!1)??E(q),H=typeof $==="object"&&$.name!==void 0&&$.nameStrategy==="title"?$.name:void 0;if(H!==void 0)X.title=H;if(q.flags.hasReferencedOpenAiAnyType){if(!J)J={};if(!J[q.openAiAnyTypeName])J[q.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:q.$refStrategy==="relative"?"1":[...q.basePath,q.definitionPath,q.openAiAnyTypeName].join("/")}}}let Y=W===void 0?J?{...X,[q.definitionPath]:J}:X:{$ref:[...q.$refStrategy==="relative"?[]:q.basePath,q.definitionPath,W].join("/"),[q.definitionPath]:{...J,[W]:X}};if(q.target==="jsonSchema7")Y.$schema="http://json-schema.org/draft-07/schema#";else if(q.target==="jsonSchema2019-09"||q.target==="openAi")Y.$schema="https://json-schema.org/draft/2019-09/schema#";if(q.target==="openAi"&&(("anyOf"in Y)||("oneOf"in Y)||("allOf"in Y)||("type"in Y)&&Array.isArray(Y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return Y};var V$=b(()=>{V();U$();g()});var wq=()=>{};var oq=b(()=>{V$();S_();U$();p();g_();V();wq();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();N$();l_();v$();P_();j$();A$();T_();O$();E$();V$()});
6
+ export{rq as g1,oq as h1};
@@ -0,0 +1,2 @@
1
+ import{nb as W,ob as z}from"./cli-0.6.8-mkfx6c2h.mjs";import{tb as R}from"./cli-0.6.8-7nqm28z4.mjs";import{CU as M,DU as w}from"./cli-0.6.8-xj1ptmgh.mjs";import{Oha as L,Rha as j}from"./cli-0.6.8-4avmxq80.mjs";import{gia as Z,nia as H}from"./cli-0.6.8-cv73s4x5.mjs";j();H();w();function I(B){return{write:(G)=>B.write(G),writeBatch:(G)=>B.writeBatch(G),close:()=>B.close(),isConnectedStatus:()=>B.isConnectedStatus(),getStateLabel:()=>B.getStateLabel(),setOnData:(G)=>B.setOnData(G),setOnClose:(G)=>B.setOnClose(G),setOnConnect:(G)=>B.setOnConnect(G),connect:()=>void B.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return B.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function k(B){let{sessionUrl:G,ingressToken:_,sessionId:$,initialSequenceNum:E,getAuthToken:N}=B,P;if(N)P=()=>{let x=N();if(!x)return{};return{Authorization:`Bearer ${x}`}};else M(_);let Q=B.epoch??await R(G,_);L(`[bridge:repl] CCR v2: worker sessionId=${$} epoch=${Q}${B.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(G);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let K=new z(V,{},$,void 0,E,P),X,J=new W(K,new URL(G),{getAuthHeaders:P,heartbeatIntervalMs:B.heartbeatIntervalMs,heartbeatJitterFraction:B.heartbeatJitterFraction,onEpochMismatch:()=>{L("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{J.close(),K.close(),X?.(4090)}catch(x){L(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${Z(x)}`,{level:"error"})}throw Error("epoch superseded")}});K.setOnEvent((x)=>{J.reportDelivery(x.event_id,"received"),J.reportDelivery(x.event_id,"processed")});let f,Y=!1,q=!1;return{write(x){return J.writeEvent(x)},async writeBatch(x){for(let O of x){if(q)break;await J.writeEvent(O)}},close(){q=!0,J.close(),K.close()},isConnectedStatus(){return Y},getStateLabel(){if(K.isClosedStatus())return"closed";if(K.isConnectedStatus())return Y?"connected":"init";return"connecting"},setOnData(x){K.setOnData(x)},setOnClose(x){X=x,K.setOnClose((O)=>{J.close(),x(O??4092)})},setOnConnect(x){f=x},getLastSequenceNum(){return K.getLastSequenceNum()},droppedBatchCount:0,reportState(x){J.reportState(x)},reportMetadata(x){J.reportMetadata(x)},reportDelivery(x,O){J.reportDelivery(x,O)},flush(){return J.flush()},connect(){if(!B.outboundOnly)K.connect();J.initialize(Q).then(()=>{Y=!0,L(`[bridge:repl] v2 transport ready for writes (epoch=${Q}, sse=${K.isConnectedStatus()?"open":"opening"})`),f?.()},(x)=>{L(`[bridge:repl] CCR v2 initialize failed: ${Z(x)}`,{level:"error"}),J.close(),K.close(),X?.(4091)})}}}class D{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...B){if(!this._active)return!1;return this._pending.push(...B),!0}drop(){this._active=!1;let B=this._pending.length;return this._pending.length=0,B}deactivate(){this._active=!1}}
2
+ export{I as ib,k as jb,D as kb};
@@ -0,0 +1,58 @@
1
+ import{DP as a,Iw as U,Kw as h,Mi as $,Pi as m,WO as F,YB as A,ZB as p,hA as k,iA as I,kP as L}from"./cli-0.6.8-883y3p0j.mjs";import{m2 as O,n2 as f}from"./cli-0.6.8-tb4rrntr.mjs";import{Aha as S,Eha as E}from"./cli-0.6.8-4avmxq80.mjs";import{lia as b,nia as T}from"./cli-0.6.8-cv73s4x5.mjs";import{Dia as C,qia as y}from"./cli-0.6.8-4jh3r7br.mjs";import{Lpa as N}from"./cli-0.6.8-259kprym.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
2
+
3
+ Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
4
+
5
+ The file {{docPath}} has already been read for you. Here are its current contents:
6
+ <current_doc_content>
7
+ {{docContents}}
8
+ </current_doc_content>
9
+
10
+ Document title: {{docTitle}}
11
+ {{customInstructions}}
12
+
13
+ Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
14
+
15
+ CRITICAL RULES FOR EDITING:
16
+ - Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
17
+ - If there's an italicized line immediately after the header, preserve it exactly as-is
18
+ - Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
19
+ - Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
20
+ - Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
21
+ - Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
22
+ - Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
23
+ - Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
24
+
25
+ DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
26
+ - BE TERSE. High signal only. No filler words or unnecessary elaboration.
27
+ - Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
28
+ - Do NOT duplicate information that's already obvious from reading the source code
29
+ - Do NOT document every function, parameter, or line number reference
30
+ - Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
31
+ - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
32
+
33
+ What TO document:
34
+ - High-level architecture and system design
35
+ - Non-obvious patterns, conventions, or gotchas
36
+ - Key entry points and where to start reading code
37
+ - Important design decisions and their rationale
38
+ - Critical dependencies or integration points
39
+ - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
40
+
41
+ What NOT to document:
42
+ - Anything obvious from reading the code itself
43
+ - Exhaustive lists of files, functions, or parameters
44
+ - Step-by-step implementation details
45
+ - Low-level code mechanics
46
+ - Information already in CLAUDE.md or other project docs
47
+
48
+ Use the Edit tool with file_path: {{docPath}}
49
+
50
+ REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
51
+
52
+ DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
53
+ The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
54
+
55
+ "${J}"
56
+
57
+ These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
58
+ export{Xw as Ph,Zw as Qh,s as Rh};
@@ -0,0 +1,2 @@
1
+ import{$A as P,MN as f,NN as L,SB as K,UB as I,VB as _,XB as p,XN as r,eQ as i,fB as b,lB as j,uw as T}from"./cli-0.6.8-883y3p0j.mjs";import{pU as A,qU as n}from"./cli-0.6.8-21y1120z.mjs";import{Lga as E,Oga as C}from"./cli-0.6.8-dxtyt1wg.mjs";import{Aha as M,Eha as m,Oha as Z,Rga as F,Rha as u,Tga as S}from"./cli-0.6.8-4avmxq80.mjs";import{Ina as v,dka as Y,eka as k,eoa as c}from"./cli-0.6.8-dwwx58n6.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("tengu_skill_file_changed",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
2
+ export{Zq as Qa};
@@ -0,0 +1,3 @@
1
+ import{Vea as L,Zea as O}from"./cli-0.6.8-2qb9g75m.mjs";import{Lpa as N}from"./cli-0.6.8-259kprym.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
2
+ `,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
3
+ export{S as EZ,J as FZ,T as GZ,U as HZ,V as IZ,W as JZ,Q as KZ};
@@ -0,0 +1,12 @@
1
+ import{O6 as D}from"./cli-0.6.8-6tgf3xa0.mjs";import{Aha as L,Eha as JG,Oha as W,Rha as a}from"./cli-0.6.8-4avmxq80.mjs";import{Dia as GG,sia as c,tia as jG}from"./cli-0.6.8-4jh3r7br.mjs";import{Doa as U,Eoa as g}from"./cli-0.6.8-8ezmkwsw.mjs";import{$oa as H,_oa as wG,rpa as RG}from"./cli-0.6.8-yvt0y45m.mjs";import{Hpa as WG,Lpa as j,Mpa as e}from"./cli-0.6.8-259kprym.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
+ `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
+ \r
4
+ `);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
+ `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
+ `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
7
+ `;let $=n(K);K.write(`${w}\r
8
+ `);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
9
+ `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
10
+ `;let V=n(Y);Y.write(`${$}\r
11
+ `);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.6.8-azcjsyp8.mjs"),import("./index-0.6.8-vvg8dg6z.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
+ export{hG as r6,p as s6,F as t6,gG as u6,aG as v6,pG as w6,KG as x6,MJ as y6,HJ as z6,OG as A6,I as B6,h as C6,qJ as D6,jJ as E6,UJ as F6,_J as G6,FJ as H6,NJ as I6,TJ as J6,vG as K6};
@@ -0,0 +1,4 @@
1
+ import{bT as W,cT as P}from"./cli-0.6.8-rftvcrp4.mjs";import{Hca as S,P8 as M,Q8 as R,X_ as A,Z_ as y,dea as O,l9 as _,lea as F,o8 as K,p8 as I,sca as B,tca as G}from"./cli-0.6.8-vpaw67v2.mjs";import{Xfa as D,Yfa as x}from"./cli-0.6.8-9cxxg2ax.mjs";import{Doa as $,Eoa as z}from"./cli-0.6.8-8ezmkwsw.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
2
+ `)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
3
+ `)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
4
+ export{d as Aa,E as Ba,p as Ca,c as Da,r as Ea};
@@ -0,0 +1,2 @@
1
+ import{kv as C,nv as X}from"./cli-0.6.8-883y3p0j.mjs";import{M1 as W}from"./cli-0.6.8-gmzxyn2t.mjs";import{C4 as J,J4 as V,q4 as I}from"./cli-0.6.8-tb4rrntr.mjs";import{cfa as H,xfa as T}from"./cli-0.6.8-hj3j54vb.mjs";import{Hpa as P,Lpa as Q}from"./cli-0.6.8-259kprym.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
2
+ export{v as $c,Y as ad};
@@ -0,0 +1,4 @@
1
+ import{Koa as K,Zoa as Y}from"./cli-0.6.8-y2c1w6bt.mjs";import{Lpa as X}from"./cli-0.6.8-259kprym.mjs";function T(j){return j instanceof Q||j instanceof K||j instanceof Error&&j.name==="AbortError"}function D(j,z){return j instanceof Error&&j.message===z}function U(j){return j instanceof Error?j:Error(String(j))}function B(j){return j instanceof Error?j.message:String(j)}function V(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function O(j){return V(j)==="ENOENT"}function P(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function R(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
+ `),H=G[0]??j.message,J=G.slice(1).filter((W)=>W.trim().startsWith("at "));if(J.length<=z)return j.stack;return[H,...J.slice(0,z)].join(`
3
+ `)}function b(j){let z=V(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function N(j){let z=B(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var Z,_,Q,$,q,v,w;var I=X(()=>{Y();Z=class Z extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};_=class _ extends Error{};Q=class Q extends Error{constructor(j){super(j);this.name="AbortError"}};$=class $ extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};q=class q extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};v=class v extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};w=class w extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
+ export{Z as Yha,_ as Zha,Q as _ha,T as $ha,$ as aia,q as bia,v as cia,w as dia,D as eia,U as fia,B as gia,V as hia,O as iia,P as jia,R as kia,b as lia,N as mia,I as nia};
@@ -0,0 +1,3 @@
1
+ import{w as A}from"./cli-0.6.8-7cychtp8.mjs";import{Wda as $,Xda as F,bea as z,cea as H,lea as P}from"./cli-0.6.8-vpaw67v2.mjs";import{Aha as V,Eha as C,Oha as X,Pga as _,Qga as N,Rga as B,Rha as E,Tga as W,rha as O,wha as w}from"./cli-0.6.8-4avmxq80.mjs";import{eoa as L,hka as Z}from"./cli-0.6.8-dwwx58n6.mjs";import{$oa as q,rpa as y}from"./cli-0.6.8-yvt0y45m.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
+ export{e as u};
@@ -0,0 +1,2 @@
1
+ import{Nd as j,Od as E}from"./cli-0.6.8-3z78waf8.mjs";import{$J as Z,Oo as W,QJ as X,Ro as v,SJ as Y,bK as w,fK as _,hK as $,mK as f}from"./cli-0.6.8-883y3p0j.mjs";import{Hca as A,S$ as Q,daa as T,dea as V,lea as N,vca as S}from"./cli-0.6.8-vpaw67v2.mjs";import{Oha as B,Rha as R}from"./cli-0.6.8-4avmxq80.mjs";import{gia as L,nia as K}from"./cli-0.6.8-cv73s4x5.mjs";import{Lpa as y}from"./cli-0.6.8-259kprym.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
+ export{d as jd,P as kd,t as ld,U as md};
@@ -0,0 +1,5 @@
1
+ import{lb as U}from"./cli-0.6.8-mkfx6c2h.mjs";import{xs as N,ys as b}from"./cli-0.6.8-883y3p0j.mjs";import{AU as F,DU as d,EU as _,FU as M,KU as I}from"./cli-0.6.8-xj1ptmgh.mjs";import{E6 as x,F6 as H,K6 as v,u6 as B,x6 as T}from"./cli-0.6.8-cbvnsxaa.mjs";import{j8 as Z,l8 as P}from"./cli-0.6.8-vpaw67v2.mjs";import{Lga as O,Oga as D}from"./cli-0.6.8-dxtyt1wg.mjs";import{Oha as Y,Rha as A,rha as z,wha as S}from"./cli-0.6.8-4avmxq80.mjs";import{Dia as f,tia as L}from"./cli-0.6.8-4jh3r7br.mjs";import{$oa as y,rpa as i}from"./cli-0.6.8-yvt0y45m.mjs";import{Mpa as k}from"./cli-0.6.8-259kprym.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
2
+ `,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.6.8-r1wx821t.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
3
+ `;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
4
+ `;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
5
+ export{W as _a,n as $a};
@@ -0,0 +1,2 @@
1
+ import{Aoa as xQ,Boa as r,Coa as UQ,Doa as T5,Eoa as UY,foa as _Q,goa as YJ,hoa as v,ioa as P1,joa as Y5,koa as w8,loa as q,moa as y,noa as S,ooa as kQ,poa as L,qoa as a,roa as n5,soa as e8,toa as R5,uoa as _8,voa as E,woa as h8,xoa as P,yoa as x1,zoa as d}from"./cli-0.6.8-8ezmkwsw.mjs";import{Kpa as aQ,Lpa as X}from"./cli-0.6.8-259kprym.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();DQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=q.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=S?S.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function qJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=qJ});var DJ,w;var M=X(()=>{DJ=Array.isArray,w=DJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{mQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();m();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();m();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,SJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?q.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,SJ=yJ||cQ,A=SJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?mJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var mJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();m();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||D8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var q8,D8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();q8=Object.prototype,D8=q8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{_8();J1();q5=k8});function E8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var S1=X(()=>{x5();F5();D5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var m1;var O5=X(()=>{yQ();bQ();S1();m1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=m1(Q),B=U.length,K=m1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var S8,U1;var L5=X(()=>{x1();y();S8=P(q,"DataView"),U1=S8});var m8,K1;var f5=X(()=>{x1();y();m8=P(q,"Promise"),K1=m8});var A8,G1;var P5=X(()=>{x1();y();A8=P(q,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(q,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,S5;var m5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();S1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();m();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var q1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function qY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var D1;var b1=X(()=>{M();q1();s5();X$();D1=qY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-DY?"-0":J}var DY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();q1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as SY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=SY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,S$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,S$(Q)}function S$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function q9(){return $.directConnectServerUrl}function D9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){return Date.now()-$.startTime}function I9(){return $.totalAPIDurationWithoutRetries}function C9(){return $.totalToolDuration}function _9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function k9(){return $.turnHookDurationMs}function E9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function v9(){$.turnHookDurationMs=0,$.turnHookCount=0}function d9(){return $.turnHookCount}function g9(){return $.turnToolDurationMs}function p9(){$.turnToolDurationMs=0,$.turnToolCount=0}function y9(){return $.turnToolCount}function S9(){return $.turnClassifierDurationMs}function m9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function A9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function j9(){return $.turnClassifierCount}function h9(){return $.statsStore}function n9(Q){$.statsStore=Q}function b9(Q){if(Q)m$();else s1=!0}function i9(){if(s1)m$()}function m$(){$.lastInteractionTime=Date.now(),s1=!1}function u9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function l9(){return $.totalLinesAdded}function T9(){return $.totalLinesRemoved}function c9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function r9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function o9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function s9(){return b(Object.values($.modelUsage),"webSearchRequests")}function a9(){return A$()-a1}function t9(){return t1}function e9(Q){a1=A$(),t1=Q,f1=0}function QH(){return f1}function $H(){f1++}function JH(){$.hasUnknownModelCost=!0}function YH(){return $.hasUnknownModelCost}function ZH(){return $.lastMainRequestId}function XH(Q){$.lastMainRequestId=Q}function HH(){return $.lastApiCompletionTimestamp}function WH(Q){$.lastApiCompletionTimestamp=Q}function xH(){$.pendingPostCompaction=!0}function UH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function KH(){return $.lastInteractionTime}function GH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function BH(){return M1}async function NH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function wH(){return $.modelUsage}function zH(Q){return $.modelUsage[Q]}function FH(){return $.mainLoopModelOverride}function RH(){return $.initialMainLoopModel}function qH(Q){$.mainLoopModelOverride=Q}function DH(Q){$.initialMainLoopModel=Q}function OH(){return $.sdkBetas}function VH(Q){$.sdkBetas=Q}function MH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function LH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function fH(){throw Error("resetStateForTests can only be called in tests")}function PH(){return $.modelStrings}function IH(Q){$.modelStrings=Q}function CH(){$.modelStrings=null}function _H(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function kH(){return $.meter}function EH(){return $.sessionCounter}function vH(){return $.locCounter}function dH(){return $.prCounter}function gH(){return $.commitCounter}function pH(){return $.costCounter}function yH(){return $.tokenCounter}function SH(){return $.codeEditToolDecisionCounter}function mH(){return $.activeTimeCounter}function AH(){return $.loggerProvider}function jH(Q){$.loggerProvider=Q}function hH(){return $.eventLogger}function nH(Q){$.eventLogger=Q}function bH(){return $.meterProvider}function iH(Q){$.meterProvider=Q}function uH(){return $.tracerProvider}function lH(Q){$.tracerProvider=Q}function mY(){return!$.isInteractive}function TH(){return $.isInteractive}function cH(Q){$.isInteractive=Q}function rH(){return $.clientType}function oH(Q){$.clientType=Q}function sH(){return $.sdkAgentProgressSummariesEnabled}function aH(Q){$.sdkAgentProgressSummariesEnabled=Q}function tH(){return $.kairosActive}function eH(Q){$.kairosActive=Q,L1()}function Q4(){return $.strictToolResultPairing}function $4(Q){$.strictToolResultPairing=Q}function J4(){return $.userMsgOptIn}function Y4(Q){$.userMsgOptIn=Q,L1()}function Z4(){return $.sessionSource}function X4(Q){$.sessionSource=Q}function H4(){return $.questionPreviewFormat}function W4(Q){$.questionPreviewFormat=Q}function x4(){return $.agentColorMap}function U4(){return $.flagSettingsPath}function K4(Q){$.flagSettingsPath=Q}function G4(){return $.flagSettingsInline}function B4(Q){$.flagSettingsInline=Q}function N4(){return $.sessionIngressToken}function w4(Q){$.sessionIngressToken=Q}function z4(){return $.oauthTokenFromFd}function F4(Q){$.oauthTokenFromFd=Q}function R4(){return $.apiKeyFromFd}function q4(Q){$.apiKeyFromFd=Q}function D4(Q){$.lastAPIRequest=Q}function O4(){return $.lastAPIRequest}function V4(Q){$.lastAPIRequestMessages=Q}function M4(){return $.lastAPIRequestMessages}function L4(Q){$.lastClassifierRequests=Q}function f4(){return $.lastClassifierRequests}function P4(Q){$.cachedClaudeMdContent=Q}function I4(){return $.cachedClaudeMdContent}function C4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function _4(){return $.allowedSettingSources}function k4(Q){$.allowedSettingSources=Q}function E4(){return mY()&&$.clientType!=="claude-vscode"}function v4(Q){$.inlinePlugins=Q}function d4(){return $.inlinePlugins}function g4(Q){$.useCoworkPlugins=Q,E$()}function p4(){return $.useCoworkPlugins}function y4(Q){$.sessionBypassPermissionsMode=Q}function S4(){return $.sessionBypassPermissionsMode}function m4(Q){$.scheduledTasksEnabled=Q}function A4(){return $.scheduledTasksEnabled}function j4(){return $.sessionCronTasks}function h4(Q){$.sessionCronTasks.push(Q)}function n4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function b4(){return $.pendingSessionWakeup}function i4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function u4(){$.pendingSessionWakeup=null}function l4(Q){$.sessionTrustAccepted=Q}function T4(){return $.sessionTrustAccepted}function c4(Q){$.sessionPersistenceDisabled=Q}function r4(){return $.sessionPersistenceDisabled}function o4(){return $.hasExitedPlanMode}function s4(Q){$.hasExitedPlanMode=Q}function a4(){return $.needsPlanModeExitAttachment}function t4(Q){$.needsPlanModeExitAttachment=Q}function e4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function Q3(){return $.needsAutoModeExitAttachment}function $3(Q){$.needsAutoModeExitAttachment=Q}function J3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function Y3(Q){$.initJsonSchema=Q}function Z3(){return $.initJsonSchema}function X3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function H3(){return $.registeredHooks}function W3(){$.registeredHooks=null}function x3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function U3(){$.initJsonSchema=null,$.registeredHooks=null}function K3(){return $.planSlugCache}function G3(){return $.sessionCreatedTeams}function B3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function N3(){return $.teleportedSessionInfo}function w3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function z3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function F3(){return $.invokedSkills}function R3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function q3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function D3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function O3(Q,J){}function V3(){return AY}function M3(){return $.mainThreadAgentType}function L3(Q){$.mainThreadAgentType=Q}function f3(){return $.isRemoteMode}function P3(Q){$.isRemoteMode=Q}function I3(){return $.systemPromptSectionCache}function C3(Q,J){$.systemPromptSectionCache.set(Q,J)}function _3(){$.systemPromptSectionCache.clear()}function k3(){return $.lastEmittedDate}function E3(Q){$.lastEmittedDate=Q}function v3(){return $.additionalDirectoriesForClaudeMd}function d3(Q){$.additionalDirectoriesForClaudeMd=Q}function g3(){return $.allowedChannels}function p3(Q){$.allowedChannels=Q,L1()}function y3(){return $.hasDevChannels}function S3(Q){$.hasDevChannels=Q}function m3(){return $.largeSystemPromptDetected}function A3(Q){$.largeSystemPromptDetected=Q}function j3(){return $.afkModeHeaderLatched}function h3(Q){$.afkModeHeaderLatched=Q}function n3(){return $.fastModeHeaderLatched}function b3(Q){$.fastModeHeaderLatched=Q}function i3(){return $.thinkingClearLatched}function u3(Q){$.thinkingClearLatched=Q}function l3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function T3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function c3(){return $.deferredDeltaLegacySession}function r3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function o3(){return $.sessionEpochMs}function s3(){return $.promptId}function a3(Q){$.promptId=Q}function t3(){return!1}function e3(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
2
+ export{p as Eia,I1 as Fia,FQ as Gia,RQ as Hia,OQ as Iia,VQ as Jia,_1 as Kia,MQ as Lia,PQ as Mia,IQ as Nia,dQ as Oia,gQ as Pia,w as Qia,M as Ria,pQ as Sia,yQ as Tia,SQ as Uia,mQ as Via,AQ as Wia,jQ as Xia,nQ as Yia,bQ as Zia,O as _ia,m as $ia,t as aja,v1 as bja,A as cja,d1 as dja,$1 as eja,g1 as fja,$5 as gja,J5 as hja,X1 as ija,X5 as jja,H1 as kja,y1 as lja,W5 as mja,x5 as nja,U5 as oja,K5 as pja,G5 as qja,B5 as rja,q5 as sja,D5 as tja,W1 as uja,S1 as vja,m1 as wja,O5 as xja,G1 as yja,P5 as zja,A1 as Aja,d5 as Bja,w1 as Cja,j1 as Dja,h as Eja,R1 as Fja,a5 as Gja,t5 as Hja,Z$ as Ija,X$ as Jja,D1 as Kja,b1 as Lja,I as Mja,u as Nja,O1 as Oja,i1 as Pja,F$ as Qja,R$ as Rja,f$ as Sja,P$ as Tja,nX as Uja,bX as Vja,iX as Wja,uX as Xja,lX as Yja,TX as Zja,E$ as _ja,cX as $ja,rX as aka,oX as bka,v$ as cka,d$ as dka,g$ as eka,Z9 as fka,X9 as gka,H9 as hka,W9 as ika,x9 as jka,U9 as kka,K9 as lka,G9 as mka,B9 as nka,N9 as oka,w9 as pka,z9 as qka,F9 as rka,R9 as ska,q9 as tka,D9 as uka,O9 as vka,V9 as wka,M9 as xka,L9 as yka,f9 as zka,P9 as Aka,I9 as Bka,C9 as Cka,_9 as Dka,k9 as Eka,E9 as Fka,v9 as Gka,d9 as Hka,g9 as Ika,p9 as Jka,y9 as Kka,S9 as Lka,m9 as Mka,A9 as Nka,j9 as Oka,h9 as Pka,n9 as Qka,b9 as Rka,i9 as Ska,u9 as Tka,l9 as Uka,T9 as Vka,c9 as Wka,A$ as Xka,r9 as Yka,o9 as Zka,s9 as _ka,a9 as $ka,t9 as ala,e9 as bla,QH as cla,$H as dla,JH as ela,YH as fla,ZH as gla,XH as hla,HH as ila,WH as jla,xH as kla,UH as lla,KH as mla,GH as nla,BH as ola,NH as pla,wH as qla,zH as rla,FH as sla,RH as tla,qH as ula,DH as vla,OH as wla,VH as xla,MH as yla,LH as zla,fH as Ala,PH as Bla,IH as Cla,CH as Dla,_H as Ela,kH as Fla,EH as Gla,vH as Hla,dH as Ila,gH as Jla,pH as Kla,yH as Lla,SH as Mla,mH as Nla,AH as Ola,jH as Pla,hH as Qla,nH as Rla,bH as Sla,iH as Tla,uH as Ula,lH as Vla,mY as Wla,TH as Xla,cH as Yla,rH as Zla,oH as _la,sH as $la,aH as ama,tH as bma,eH as cma,Q4 as dma,$4 as ema,J4 as fma,Y4 as gma,Z4 as hma,X4 as ima,H4 as jma,W4 as kma,x4 as lma,U4 as mma,K4 as nma,G4 as oma,B4 as pma,N4 as qma,w4 as rma,z4 as sma,F4 as tma,R4 as uma,q4 as vma,D4 as wma,O4 as xma,V4 as yma,M4 as zma,L4 as Ama,f4 as Bma,P4 as Cma,I4 as Dma,C4 as Ema,_4 as Fma,k4 as Gma,E4 as Hma,v4 as Ima,d4 as Jma,g4 as Kma,p4 as Lma,y4 as Mma,S4 as Nma,m4 as Oma,A4 as Pma,j4 as Qma,h4 as Rma,n4 as Sma,b4 as Tma,i4 as Uma,u4 as Vma,l4 as Wma,T4 as Xma,c4 as Yma,r4 as Zma,o4 as _ma,s4 as $ma,a4 as ana,t4 as bna,e4 as cna,Q3 as dna,$3 as ena,J3 as fna,Y3 as gna,Z3 as hna,X3 as ina,H3 as jna,W3 as kna,x3 as lna,U3 as mna,K3 as nna,G3 as ona,B3 as pna,N3 as qna,w3 as rna,z3 as sna,F3 as tna,R3 as una,q3 as vna,D3 as wna,O3 as xna,V3 as yna,M3 as zna,L3 as Ana,f3 as Bna,P3 as Cna,I3 as Dna,C3 as Ena,_3 as Fna,k3 as Gna,E3 as Hna,v3 as Ina,d3 as Jna,g3 as Kna,p3 as Lna,y3 as Mna,S3 as Nna,m3 as Ona,A3 as Pna,j3 as Qna,h3 as Rna,n3 as Sna,b3 as Tna,i3 as Una,u3 as Vna,l3 as Wna,T3 as Xna,c3 as Yna,r3 as Zna,jY as _na,o3 as $na,s3 as aoa,a3 as boa,t3 as coa,e3 as doa,hY as eoa};
@@ -0,0 +1,2 @@
1
+ import{Kpa as n,Lpa as o}from"./cli-0.6.8-259kprym.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
+ export{i as Lga,c as Mga,p as Nga,u as Oga};