@claudiolabs/claudin 0.6.3 → 0.6.5

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 (876) hide show
  1. package/dist/chunks/AgentTool-0.6.5-9pre88qb.mjs +1 -0
  2. package/dist/chunks/App-0.6.5-syfacmqb.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.5-2rrtj277.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.5-8deawh7z.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.5-8e3v3cgx.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.5-3pjygvs2.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.5-s2js1wag.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.5-36z08571.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.5-g256mdz0.mjs +3 -0
  10. package/dist/chunks/Doctor-0.6.5-vty8ec8n.mjs +1 -0
  11. package/dist/chunks/Grove-0.6.5-p00f24rh.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.6.5-53j2wh9w.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.6.5-gtpj7hn7.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.6.5-3d3v9kn1.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.6.5-mnbsk1bz.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.6.5-9r9rkgj0.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.6.5-yb8w75gs.mjs +1 -0
  18. package/dist/chunks/REPL-0.6.5-wqyg8nfv.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.6.5-0d1tkqfd.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.6.5-n5pa0d9r.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.6.5-t863eyfb.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.6.5-11ykz8de.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.6.5-dn6dvzvv.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.6.5-yd46t6dv.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.6.5-6kssfnkp.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.6.5-mdbqw8dc.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.6.5-wpe1bnhr.mjs +1 -0
  28. package/dist/chunks/add-dir-0.6.5-zphaxr62.mjs +1 -0
  29. package/dist/chunks/agents-0.6.5-9rhdp3vp.mjs +110 -0
  30. package/dist/chunks/agents-0.6.5-krnahvn4.mjs +3 -0
  31. package/dist/chunks/api-0.6.5-vfnxfssn.mjs +1 -0
  32. package/dist/chunks/asciicast-0.6.5-hr205c81.mjs +1 -0
  33. package/dist/chunks/assistant-0.6.5-nfbsgssx.mjs +1 -0
  34. package/dist/chunks/auth-0.6.5-9baxvtxg.mjs +1 -0
  35. package/dist/chunks/auth-0.6.5-cq4yrhn2.mjs +1 -0
  36. package/dist/chunks/autoMode-0.6.5-kzhwpmfg.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.6.5-bkzpv0pd.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.6.5-2mkev4qh.mjs +1 -0
  39. package/dist/chunks/branch-0.6.5-8vtt7esr.mjs +4 -0
  40. package/dist/chunks/bridge-0.6.5-9c1v2e52.mjs +2 -0
  41. package/dist/chunks/bridgeConfig-0.6.5-w77y3p5n.mjs +1 -0
  42. package/dist/chunks/bridgeEnabled-0.6.5-k6hvamvf.mjs +1 -0
  43. package/dist/chunks/bridgeMain-0.6.5-pea2hztr.mjs +88 -0
  44. package/dist/chunks/bridgePointer-0.6.5-87t92nmh.mjs +1 -0
  45. package/dist/chunks/btw-0.6.5-xhyyarh0.mjs +1 -0
  46. package/dist/chunks/buddy-0.6.5-g9csmkdw.mjs +3 -0
  47. package/dist/chunks/cacache-0.6.5-kzjmbjve.mjs +1 -0
  48. package/dist/chunks/cache-probe-0.6.5-c2br8x9m.mjs +21 -0
  49. package/dist/chunks/cacheStats-0.6.5-kbdcab9q.mjs +4 -0
  50. package/dist/chunks/caches-0.6.5-nwzvsny2.mjs +1 -0
  51. package/dist/chunks/claudeDesktop-0.6.5-51tkmdr1.mjs +1 -0
  52. package/dist/chunks/claudemd-0.6.5-212twher.mjs +1 -0
  53. package/dist/chunks/clear-0.6.5-yg0wcbw4.mjs +1 -0
  54. package/dist/chunks/clearTerminal-0.6.5-0c24f1yy.mjs +1 -0
  55. package/dist/chunks/cli-0.6.5-00kbsd9f.mjs +2 -0
  56. package/dist/chunks/cli-0.6.5-0356tc6y.mjs +2 -0
  57. package/dist/chunks/cli-0.6.5-06d8zge2.mjs +2 -0
  58. package/dist/chunks/cli-0.6.5-0j7fzwkx.mjs +2 -0
  59. package/dist/chunks/cli-0.6.5-0pt0eq6a.mjs +3 -0
  60. package/dist/chunks/cli-0.6.5-13g3042y.mjs +12 -0
  61. package/dist/chunks/cli-0.6.5-192npvx3.mjs +2 -0
  62. package/dist/chunks/cli-0.6.5-19mg5dfx.mjs +6 -0
  63. package/dist/chunks/cli-0.6.5-1bz46ywp.mjs +2 -0
  64. package/dist/chunks/cli-0.6.5-1fqhk4mv.mjs +9 -0
  65. package/dist/chunks/cli-0.6.5-1k5wyv3x.mjs +2 -0
  66. package/dist/chunks/cli-0.6.5-1m46f13z.mjs +2 -0
  67. package/dist/chunks/cli-0.6.5-1r4j3nda.mjs +58 -0
  68. package/dist/chunks/cli-0.6.5-2dq7pa8p.mjs +34 -0
  69. package/dist/chunks/cli-0.6.5-2s673b9m.mjs +2 -0
  70. package/dist/chunks/cli-0.6.5-38gqwg2m.mjs +2 -0
  71. package/dist/chunks/cli-0.6.5-3hemanw8.mjs +15 -0
  72. package/dist/chunks/cli-0.6.5-3p5vg2yx.mjs +2 -0
  73. package/dist/chunks/cli-0.6.5-3ybp7ww7.mjs +6 -0
  74. package/dist/chunks/cli-0.6.5-406dcpxw.mjs +2 -0
  75. package/dist/chunks/cli-0.6.5-41tc50h9.mjs +2 -0
  76. package/dist/chunks/cli-0.6.5-477kp2fg.mjs +2 -0
  77. package/dist/chunks/cli-0.6.5-47s6s6ew.mjs +2 -0
  78. package/dist/chunks/cli-0.6.5-4k3kk3pr.mjs +17 -0
  79. package/dist/chunks/cli-0.6.5-4whh4m3h.mjs +2 -0
  80. package/dist/chunks/cli-0.6.5-54w728vm.mjs +2 -0
  81. package/dist/chunks/cli-0.6.5-57jmtd2z.mjs +2 -0
  82. package/dist/chunks/cli-0.6.5-58ck75qn.mjs +2 -0
  83. package/dist/chunks/cli-0.6.5-5py2stcw.mjs +2 -0
  84. package/dist/chunks/cli-0.6.5-5rpfanmw.mjs +3 -0
  85. package/dist/chunks/cli-0.6.5-5t6d3asz.mjs +5347 -0
  86. package/dist/chunks/cli-0.6.5-5wr197ms.mjs +25 -0
  87. package/dist/chunks/cli-0.6.5-5ymbb1v4.mjs +2 -0
  88. package/dist/chunks/cli-0.6.5-60hfev34.mjs +2 -0
  89. package/dist/chunks/cli-0.6.5-61tnv5c7.mjs +2 -0
  90. package/dist/chunks/cli-0.6.5-6829jyhh.mjs +9 -0
  91. package/dist/chunks/cli-0.6.5-69f24h9w.mjs +8 -0
  92. package/dist/chunks/cli-0.6.5-6ab8b50h.mjs +2 -0
  93. package/dist/chunks/cli-0.6.5-6e6pv00e.mjs +2 -0
  94. package/dist/chunks/cli-0.6.5-6ev1k0qv.mjs +133 -0
  95. package/dist/chunks/cli-0.6.5-6q2d7p49.mjs +2 -0
  96. package/dist/chunks/cli-0.6.5-6qvtcs5y.mjs +2 -0
  97. package/dist/chunks/cli-0.6.5-6wpz6mks.mjs +2 -0
  98. package/dist/chunks/cli-0.6.5-6x91apzw.mjs +2 -0
  99. package/dist/chunks/cli-0.6.5-72v6gjqf.mjs +2 -0
  100. package/dist/chunks/cli-0.6.5-7am1hb1v.mjs +2 -0
  101. package/dist/chunks/cli-0.6.5-7tzhpeyn.mjs +2 -0
  102. package/dist/chunks/cli-0.6.5-7vnp5x55.mjs +15 -0
  103. package/dist/chunks/cli-0.6.5-81fzcvec.mjs +4 -0
  104. package/dist/chunks/cli-0.6.5-87qz97g2.mjs +2 -0
  105. package/dist/chunks/cli-0.6.5-8hsxq1p3.mjs +2 -0
  106. package/dist/chunks/cli-0.6.5-8zsy7h21.mjs +2 -0
  107. package/dist/chunks/cli-0.6.5-95a4872h.mjs +2 -0
  108. package/dist/chunks/cli-0.6.5-983fq4aj.mjs +7 -0
  109. package/dist/chunks/cli-0.6.5-987r1x1q.mjs +2 -0
  110. package/dist/chunks/cli-0.6.5-9cs6r2j7.mjs +2 -0
  111. package/dist/chunks/cli-0.6.5-9d9gmzev.mjs +2 -0
  112. package/dist/chunks/cli-0.6.5-9g1pn7jy.mjs +2 -0
  113. package/dist/chunks/cli-0.6.5-9g7p6wdj.mjs +5 -0
  114. package/dist/chunks/cli-0.6.5-9hp0d08c.mjs +2 -0
  115. package/dist/chunks/cli-0.6.5-a0ke5n08.mjs +2 -0
  116. package/dist/chunks/cli-0.6.5-a1csk51d.mjs +3 -0
  117. package/dist/chunks/cli-0.6.5-a23zsgke.mjs +3 -0
  118. package/dist/chunks/cli-0.6.5-a8za8sjg.mjs +2 -0
  119. package/dist/chunks/cli-0.6.5-akw85jbw.mjs +2 -0
  120. package/dist/chunks/cli-0.6.5-amtt1tbm.mjs +39 -0
  121. package/dist/chunks/cli-0.6.5-awhfeefv.mjs +5 -0
  122. package/dist/chunks/cli-0.6.5-azwzatpd.mjs +20 -0
  123. package/dist/chunks/cli-0.6.5-b7x38zg8.mjs +2 -0
  124. package/dist/chunks/cli-0.6.5-bm7v9qp0.mjs +2 -0
  125. package/dist/chunks/cli-0.6.5-brk2sfdw.mjs +2 -0
  126. package/dist/chunks/cli-0.6.5-bzz83kdv.mjs +2 -0
  127. package/dist/chunks/cli-0.6.5-c0nyamvd.mjs +17 -0
  128. package/dist/chunks/cli-0.6.5-c4v4vgw4.mjs +2 -0
  129. package/dist/chunks/cli-0.6.5-c7yx03g7.mjs +16 -0
  130. package/dist/chunks/cli-0.6.5-ce51qb6k.mjs +4 -0
  131. package/dist/chunks/cli-0.6.5-ckc9hr8m.mjs +2 -0
  132. package/dist/chunks/cli-0.6.5-cwaewkgb.mjs +2 -0
  133. package/dist/chunks/cli-0.6.5-czc9nvxh.mjs +133 -0
  134. package/dist/chunks/cli-0.6.5-d7nvtk63.mjs +2 -0
  135. package/dist/chunks/cli-0.6.5-dcr7rpqe.mjs +2 -0
  136. package/dist/chunks/cli-0.6.5-dm2rwpsb.mjs +2 -0
  137. package/dist/chunks/cli-0.6.5-dy5v4gms.mjs +3 -0
  138. package/dist/chunks/cli-0.6.5-e47bwdgy.mjs +2 -0
  139. package/dist/chunks/cli-0.6.5-e5pzxdbx.mjs +2 -0
  140. package/dist/chunks/cli-0.6.5-e7k35s7j.mjs +2 -0
  141. package/dist/chunks/cli-0.6.5-e9t7harq.mjs +2 -0
  142. package/dist/chunks/cli-0.6.5-ef17hb7w.mjs +2 -0
  143. package/dist/chunks/cli-0.6.5-ef6b5qvc.mjs +193 -0
  144. package/dist/chunks/cli-0.6.5-efh1xzne.mjs +24 -0
  145. package/dist/chunks/cli-0.6.5-efsxkpxr.mjs +2 -0
  146. package/dist/chunks/cli-0.6.5-ej3jf59h.mjs +2 -0
  147. package/dist/chunks/cli-0.6.5-env00jtm.mjs +1 -0
  148. package/dist/chunks/cli-0.6.5-eq4cscgw.mjs +2 -0
  149. package/dist/chunks/cli-0.6.5-eqk6q7pf.mjs +2 -0
  150. package/dist/chunks/cli-0.6.5-ev41fmky.mjs +2 -0
  151. package/dist/chunks/cli-0.6.5-f34ttkbg.mjs +2 -0
  152. package/dist/chunks/cli-0.6.5-f4x1fb90.mjs +4 -0
  153. package/dist/chunks/cli-0.6.5-f71ncwzk.mjs +59 -0
  154. package/dist/chunks/cli-0.6.5-fg2a16s4.mjs +2 -0
  155. package/dist/chunks/cli-0.6.5-g43wnabd.mjs +2 -0
  156. package/dist/chunks/cli-0.6.5-g7d8vsb2.mjs +2 -0
  157. package/dist/chunks/cli-0.6.5-g8qt9gm7.mjs +2 -0
  158. package/dist/chunks/cli-0.6.5-gjzdpmdx.mjs +2 -0
  159. package/dist/chunks/cli-0.6.5-gk89f6jk.mjs +4 -0
  160. package/dist/chunks/cli-0.6.5-gw6ygdnq.mjs +3 -0
  161. package/dist/chunks/cli-0.6.5-h08jc3cj.mjs +18 -0
  162. package/dist/chunks/cli-0.6.5-h0xnjwg1.mjs +2 -0
  163. package/dist/chunks/cli-0.6.5-h3cch37f.mjs +2 -0
  164. package/dist/chunks/cli-0.6.5-h5x9r5ap.mjs +50 -0
  165. package/dist/chunks/cli-0.6.5-j45setk1.mjs +2 -0
  166. package/dist/chunks/cli-0.6.5-j5v5jpq8.mjs +2 -0
  167. package/dist/chunks/cli-0.6.5-je97ssab.mjs +2 -0
  168. package/dist/chunks/cli-0.6.5-jqbkgjhs.mjs +2 -0
  169. package/dist/chunks/cli-0.6.5-jrnx4znh.mjs +2 -0
  170. package/dist/chunks/cli-0.6.5-jygg6ynx.mjs +2 -0
  171. package/dist/chunks/cli-0.6.5-k15yzap9.mjs +2 -0
  172. package/dist/chunks/cli-0.6.5-k74repdw.mjs +2 -0
  173. package/dist/chunks/cli-0.6.5-k8vb0qqx.mjs +2 -0
  174. package/dist/chunks/cli-0.6.5-k8vgyecf.mjs +2 -0
  175. package/dist/chunks/cli-0.6.5-kac7d6qe.mjs +2 -0
  176. package/dist/chunks/cli-0.6.5-kd1sw5qm.mjs +2 -0
  177. package/dist/chunks/cli-0.6.5-ke48d24y.mjs +2 -0
  178. package/dist/chunks/cli-0.6.5-khsn0wkk.mjs +21 -0
  179. package/dist/chunks/cli-0.6.5-kjntnfas.mjs +2 -0
  180. package/dist/chunks/cli-0.6.5-kqhpzqdw.mjs +67 -0
  181. package/dist/chunks/cli-0.6.5-kr0q8v74.mjs +2 -0
  182. package/dist/chunks/cli-0.6.5-kxwg80ye.mjs +42 -0
  183. package/dist/chunks/cli-0.6.5-kyp268ew.mjs +2 -0
  184. package/dist/chunks/cli-0.6.5-kzr5p1mv.mjs +2 -0
  185. package/dist/chunks/cli-0.6.5-kztnt6aq.mjs +2 -0
  186. package/dist/chunks/cli-0.6.5-m2619f84.mjs +2 -0
  187. package/dist/chunks/cli-0.6.5-mgv2cvps.mjs +45 -0
  188. package/dist/chunks/cli-0.6.5-mpdvzrnw.mjs +2 -0
  189. package/dist/chunks/cli-0.6.5-mtx91sgr.mjs +2 -0
  190. package/dist/chunks/cli-0.6.5-n4hnag3x.mjs +2 -0
  191. package/dist/chunks/cli-0.6.5-n64fe6ey.mjs +2 -0
  192. package/dist/chunks/cli-0.6.5-nd6kqcck.mjs +2 -0
  193. package/dist/chunks/cli-0.6.5-nngqh0bh.mjs +2 -0
  194. package/dist/chunks/cli-0.6.5-p6n42hmh.mjs +4 -0
  195. package/dist/chunks/cli-0.6.5-pa3ap7rs.mjs +2 -0
  196. package/dist/chunks/cli-0.6.5-pbahk0n4.mjs +12 -0
  197. package/dist/chunks/cli-0.6.5-pbyhms5s.mjs +2 -0
  198. package/dist/chunks/cli-0.6.5-pev4540w.mjs +2 -0
  199. package/dist/chunks/cli-0.6.5-pgs0eeqg.mjs +2 -0
  200. package/dist/chunks/cli-0.6.5-pky7r4pf.mjs +2 -0
  201. package/dist/chunks/cli-0.6.5-pv1b8wyy.mjs +2 -0
  202. package/dist/chunks/cli-0.6.5-pw1077hd.mjs +2 -0
  203. package/dist/chunks/cli-0.6.5-pynms6t8.mjs +2 -0
  204. package/dist/chunks/cli-0.6.5-pz5add8h.mjs +4 -0
  205. package/dist/chunks/cli-0.6.5-q027r0rf.mjs +2 -0
  206. package/dist/chunks/cli-0.6.5-q1qpax7b.mjs +2 -0
  207. package/dist/chunks/cli-0.6.5-q2z0n0me.mjs +2 -0
  208. package/dist/chunks/cli-0.6.5-q4gh8d4w.mjs +6 -0
  209. package/dist/chunks/cli-0.6.5-q67zwknt.mjs +4 -0
  210. package/dist/chunks/cli-0.6.5-qhq9tmd4.mjs +24 -0
  211. package/dist/chunks/cli-0.6.5-qx67z0cv.mjs +2 -0
  212. package/dist/chunks/cli-0.6.5-r06ahe39.mjs +3 -0
  213. package/dist/chunks/cli-0.6.5-r2khv6re.mjs +2 -0
  214. package/dist/chunks/cli-0.6.5-ras9cma3.mjs +2 -0
  215. package/dist/chunks/cli-0.6.5-rkjw25m5.mjs +2 -0
  216. package/dist/chunks/cli-0.6.5-rrteyxna.mjs +5 -0
  217. package/dist/chunks/cli-0.6.5-rsve86mh.mjs +12 -0
  218. package/dist/chunks/cli-0.6.5-rvnz8f4b.mjs +3 -0
  219. package/dist/chunks/cli-0.6.5-ry2zfh45.mjs +2 -0
  220. package/dist/chunks/cli-0.6.5-s1ahtmc1.mjs +2 -0
  221. package/dist/chunks/cli-0.6.5-s42kf4d5.mjs +2 -0
  222. package/dist/chunks/cli-0.6.5-s580r0vs.mjs +2 -0
  223. package/dist/chunks/cli-0.6.5-sph3w6xt.mjs +2 -0
  224. package/dist/chunks/cli-0.6.5-svr5tx29.mjs +2 -0
  225. package/dist/chunks/cli-0.6.5-sz8mbg6v.mjs +2 -0
  226. package/dist/chunks/cli-0.6.5-t0x65qv4.mjs +26 -0
  227. package/dist/chunks/cli-0.6.5-t4tz7xht.mjs +18 -0
  228. package/dist/chunks/cli-0.6.5-th48yhz2.mjs +2 -0
  229. package/dist/chunks/cli-0.6.5-thfwpyjp.mjs +2 -0
  230. package/dist/chunks/cli-0.6.5-tj3hcx9x.mjs +2 -0
  231. package/dist/chunks/cli-0.6.5-tqwbfn5c.mjs +2 -0
  232. package/dist/chunks/cli-0.6.5-ts0kvt5k.mjs +2 -0
  233. package/dist/chunks/cli-0.6.5-vbw9z7ya.mjs +2 -0
  234. package/dist/chunks/cli-0.6.5-vj647gqr.mjs +2 -0
  235. package/dist/chunks/cli-0.6.5-vjydf7v2.mjs +2 -0
  236. package/dist/chunks/cli-0.6.5-vn8pa80z.mjs +3 -0
  237. package/dist/chunks/cli-0.6.5-vpebat6v.mjs +4 -0
  238. package/dist/chunks/cli-0.6.5-vqb4jtcr.mjs +2 -0
  239. package/dist/chunks/cli-0.6.5-vsmwyh7p.mjs +2 -0
  240. package/dist/chunks/cli-0.6.5-vywqm5j0.mjs +2 -0
  241. package/dist/chunks/cli-0.6.5-w2qf3sbz.mjs +2 -0
  242. package/dist/chunks/cli-0.6.5-wa6b2ksg.mjs +2 -0
  243. package/dist/chunks/cli-0.6.5-wgdp3ytt.mjs +15 -0
  244. package/dist/chunks/cli-0.6.5-xbz59an6.mjs +2 -0
  245. package/dist/chunks/cli-0.6.5-xngsek99.mjs +3 -0
  246. package/dist/chunks/cli-0.6.5-xwvfjaga.mjs +2 -0
  247. package/dist/chunks/cli-0.6.5-xxnhfq1f.mjs +3 -0
  248. package/dist/chunks/cli-0.6.5-xxtrec34.mjs +2 -0
  249. package/dist/chunks/cli-0.6.5-y4kbaj8m.mjs +3 -0
  250. package/dist/chunks/cli-0.6.5-ybxktrwn.mjs +4 -0
  251. package/dist/chunks/cli-0.6.5-ynxewk0a.mjs +18 -0
  252. package/dist/chunks/cli-0.6.5-yv4805v6.mjs +2 -0
  253. package/dist/chunks/cli-0.6.5-ywh9eaz9.mjs +3 -0
  254. package/dist/chunks/cli-0.6.5-yy3mtt7p.mjs +4 -0
  255. package/dist/chunks/cli-0.6.5-z5qqy4bb.mjs +10 -0
  256. package/dist/chunks/cli-0.6.5-z64827fd.mjs +2 -0
  257. package/dist/chunks/cli-0.6.5-zxppzj42.mjs +3 -0
  258. package/dist/chunks/client-0.6.5-kcsx56gb.mjs +1 -0
  259. package/dist/chunks/color-0.6.5-m4adc5zy.mjs +1 -0
  260. package/dist/chunks/compact-0.6.5-pp3jftxy.mjs +3 -0
  261. package/dist/chunks/config-0.6.5-4t1bbgpf.mjs +1 -0
  262. package/dist/chunks/config-0.6.5-8j3ajra5.mjs +1 -0
  263. package/dist/chunks/constants-0.6.5-z1rfnbw0.mjs +1 -0
  264. package/dist/chunks/context-0.6.5-k4dkxskt.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-0.6.5-t2s33qfv.mjs +1 -0
  266. package/dist/chunks/conversation-0.6.5-wtjv42fh.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-0.6.5-t5d64yyd.mjs +1 -0
  268. package/dist/chunks/copy-0.6.5-r2cah677.mjs +9 -0
  269. package/dist/chunks/cost-0.6.5-8bs4d6y0.mjs +1 -0
  270. package/dist/chunks/createSSHSession-0.6.5-7p69k83d.mjs +1 -0
  271. package/dist/chunks/createSession-0.6.5-fwtmdngf.mjs +1 -0
  272. package/dist/chunks/debug-0.6.5-xmxftwgk.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-0.6.5-z6w9jmje.mjs +1367 -0
  274. package/dist/chunks/desktop-0.6.5-fargeve3.mjs +1 -0
  275. package/dist/chunks/detectRepository-0.6.5-ymk4cd49.mjs +1 -0
  276. package/dist/chunks/detection-0.6.5-9v4p8jdz.mjs +1 -0
  277. package/dist/chunks/diff-0.6.5-8ja76cbj.mjs +1 -0
  278. package/dist/chunks/doctor-0.6.5-j9ztya6c.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-0.6.5-4rk9v7gn.mjs +1 -0
  280. package/dist/chunks/earlyInput-0.6.5-jnt6pqdj.mjs +1 -0
  281. package/dist/chunks/effort-0.6.5-wn6gayah.mjs +10 -0
  282. package/dist/chunks/envLessBridgeConfig-0.6.5-eptez4tg.mjs +1 -0
  283. package/dist/chunks/envUtils-0.6.5-62qkktte.mjs +1 -0
  284. package/dist/chunks/environmentSelection-0.6.5-zdqp06ex.mjs +1 -0
  285. package/dist/chunks/environments-0.6.5-4cxm9f2v.mjs +1 -0
  286. package/dist/chunks/errors-0.6.5-zrzdygzb.mjs +1 -0
  287. package/dist/chunks/exampleCommands-0.6.5-c4p6gs14.mjs +1 -0
  288. package/dist/chunks/exit-0.6.5-491d2dm3.mjs +1 -0
  289. package/dist/chunks/export-0.6.5-ydgbaqvw.mjs +2 -0
  290. package/dist/chunks/extra-usage-0.6.5-qc1chr9f.mjs +1 -0
  291. package/dist/chunks/extra-usage-noninteractive-0.6.5-g2ratb24.mjs +1 -0
  292. package/dist/chunks/fast-0.6.5-19egbvsn.mjs +1 -0
  293. package/dist/chunks/feedback-0.6.5-r15hzy5x.mjs +14 -0
  294. package/dist/chunks/firstPartyEventLogger-0.6.5-h0wam92d.mjs +1 -0
  295. package/dist/chunks/git-0.6.5-kd4a5hgs.mjs +1 -0
  296. package/dist/chunks/githubModelsCredentials-0.6.5-ahxqf63c.mjs +1 -0
  297. package/dist/chunks/goal-0.6.5-kyahd6wn.mjs +4 -0
  298. package/dist/chunks/grove-0.6.5-qjgh7ss3.mjs +1 -0
  299. package/dist/chunks/growthbook-0.6.5-ax1nfvk4.mjs +1 -0
  300. package/dist/chunks/headless-0.6.5-4pg9fsvq.mjs +2 -0
  301. package/dist/chunks/heapdump-0.6.5-9k0vppqs.mjs +6 -0
  302. package/dist/chunks/help-0.6.5-tfhm2beq.mjs +1 -0
  303. package/dist/chunks/hookChains-0.6.5-6szjehhz.mjs +3 -0
  304. package/dist/chunks/hooks-0.6.5-dgpkkjn0.mjs +79 -0
  305. package/dist/chunks/hooks-0.6.5-w5dctm3q.mjs +1 -0
  306. package/dist/chunks/ide-0.6.5-13et7be7.mjs +3 -0
  307. package/dist/chunks/image-processor-napi-0.6.5-hnw96fqh.mjs +1 -0
  308. package/dist/chunks/inboundAttachments-0.6.5-qc951hng.mjs +1 -0
  309. package/dist/chunks/index-0.6.5-01x1ejhn.mjs +1 -0
  310. package/dist/chunks/index-0.6.5-0abf9jmk.mjs +1 -0
  311. package/dist/chunks/index-0.6.5-1mp331dd.mjs +1 -0
  312. package/dist/chunks/index-0.6.5-1sg6s6z6.mjs +1 -0
  313. package/dist/chunks/index-0.6.5-4q6jjbs7.mjs +1 -0
  314. package/dist/chunks/index-0.6.5-6sk15ws5.mjs +2 -0
  315. package/dist/chunks/index-0.6.5-6t864t2c.mjs +1 -0
  316. package/dist/chunks/index-0.6.5-6xqpvv54.mjs +30 -0
  317. package/dist/chunks/index-0.6.5-7zhnqzn2.mjs +1 -0
  318. package/dist/chunks/index-0.6.5-89hxhv95.mjs +1 -0
  319. package/dist/chunks/index-0.6.5-aty810n8.mjs +1 -0
  320. package/dist/chunks/index-0.6.5-c2hwywv3.mjs +1 -0
  321. package/dist/chunks/index-0.6.5-e2wq7gh6.mjs +2 -0
  322. package/dist/chunks/index-0.6.5-g0kwgaqr.mjs +17 -0
  323. package/dist/chunks/index-0.6.5-gtcspa71.mjs +1 -0
  324. package/dist/chunks/index-0.6.5-h3efeppv.mjs +1 -0
  325. package/dist/chunks/index-0.6.5-m5ejvtqa.mjs +1 -0
  326. package/dist/chunks/index-0.6.5-mh7r1b3g.mjs +1 -0
  327. package/dist/chunks/index-0.6.5-pvve2ng4.mjs +5 -0
  328. package/dist/chunks/index-0.6.5-snpzxxv3.mjs +9 -0
  329. package/dist/chunks/index-0.6.5-tfw7v414.mjs +9 -0
  330. package/dist/chunks/index-0.6.5-wjkwk8e7.mjs +1 -0
  331. package/dist/chunks/index-0.6.5-z62wqvcx.mjs +1 -0
  332. package/dist/chunks/init-0.6.5-zhc6fyd5.mjs +1 -0
  333. package/dist/chunks/initReplBridge-0.6.5-7r1y5662.mjs +1 -0
  334. package/dist/chunks/ink-0.6.5-tndp68zg.mjs +1 -0
  335. package/dist/chunks/insights-0.6.5-vqzkktqr.mjs +870 -0
  336. package/dist/chunks/install-0.6.5-5gr23h3m.mjs +1 -0
  337. package/dist/chunks/install-github-app-0.6.5-tng076rr.mjs +149 -0
  338. package/dist/chunks/install-slack-app-0.6.5-gsz9yrym.mjs +1 -0
  339. package/dist/chunks/instrumentation-0.6.5-nqsng4g6.mjs +1 -0
  340. package/dist/chunks/interactiveHelpers-0.6.5-k1pvqxme.mjs +1 -0
  341. package/dist/chunks/keybindings-0.6.5-xerpw7ac.mjs +2 -0
  342. package/dist/chunks/knowledge-0.6.5-3cqswtp3.mjs +2 -0
  343. package/dist/chunks/latestVersionCache-0.6.5-mvrgq9dd.mjs +1 -0
  344. package/dist/chunks/loadAgentsDir-0.6.5-h16ggtfs.mjs +1 -0
  345. package/dist/chunks/loadPluginHooks-0.6.5-35e6kcw6.mjs +1 -0
  346. package/dist/chunks/loadPluginHooks-0.6.5-qm874zd2.mjs +1 -0
  347. package/dist/chunks/log-0.6.5-xge4vs13.mjs +1 -0
  348. package/dist/chunks/main-0.6.5-4pf8xcyc.mjs +1 -0
  349. package/dist/chunks/managedEnv-0.6.5-qbgyznrt.mjs +1 -0
  350. package/dist/chunks/mcp-0.6.5-293k7n7h.mjs +4 -0
  351. package/dist/chunks/mcp-0.6.5-45d2qxwd.mjs +17 -0
  352. package/dist/chunks/mcp-0.6.5-b5jvd286.mjs +1 -0
  353. package/dist/chunks/mcpb-0.6.5-e68tqw35.mjs +1 -0
  354. package/dist/chunks/memory-0.6.5-9htftc81.mjs +3 -0
  355. package/dist/chunks/model-0.6.5-rpyjsh6m.mjs +1 -0
  356. package/dist/chunks/model-0.6.5-zsk9vwg7.mjs +2 -0
  357. package/dist/chunks/node-0.6.5-j42ec4dm.mjs +12 -0
  358. package/dist/chunks/oauth-0.6.5-d8r75abq.mjs +1 -0
  359. package/dist/chunks/openaiShim-0.6.5-deev7qr4.mjs +14 -0
  360. package/dist/chunks/output-style-0.6.5-t4my27zb.mjs +1 -0
  361. package/dist/chunks/package-D6422PQU-0.6.5-a34phgmb.mjs +1 -0
  362. package/dist/chunks/parseConnectUrl-0.6.5-3rw1krw2.mjs +1 -0
  363. package/dist/chunks/parser-0.6.5-hnbj9e8f.mjs +1 -0
  364. package/dist/chunks/passes-0.6.5-9x43pms7.mjs +1 -0
  365. package/dist/chunks/permissions-0.6.5-aymv501j.mjs +1 -0
  366. package/dist/chunks/permissions-0.6.5-y4jnw514.mjs +3 -0
  367. package/dist/chunks/plan-0.6.5-kct7xqkt.mjs +1 -0
  368. package/dist/chunks/plist-0.6.5-gp660say.mjs +1 -0
  369. package/dist/chunks/plugin-0.6.5-5vnph48t.mjs +29 -0
  370. package/dist/chunks/pluginStartupCheck-0.6.5-y74n8rfx.mjs +1 -0
  371. package/dist/chunks/plugins-0.6.5-y0xna858.mjs +9 -0
  372. package/dist/chunks/preActionHook-0.6.5-gd8pge33.mjs +2 -0
  373. package/dist/chunks/print-0.6.5-zr884wv0.mjs +57 -0
  374. package/dist/chunks/privacy-settings-0.6.5-gm8tkeqk.mjs +1 -0
  375. package/dist/chunks/process-0.6.5-ha5587zb.mjs +1 -0
  376. package/dist/chunks/processBashCommand-0.6.5-qpanbrjt.mjs +1 -0
  377. package/dist/chunks/processSlashCommand-0.6.5-0zzej132.mjs +9 -0
  378. package/dist/chunks/prompt-0.6.5-n2e16857.mjs +1 -0
  379. package/dist/chunks/prompt-0.6.5-yd9wwvye.mjs +1 -0
  380. package/dist/chunks/prompts-0.6.5-4h181zjj.mjs +1 -0
  381. package/dist/chunks/protocolHandler-0.6.5-btkqsev6.mjs +13 -0
  382. package/dist/chunks/provider-0.6.5-pk6rtf1a.mjs +2 -0
  383. package/dist/chunks/providerProfiles-0.6.5-spn4hk2w.mjs +1 -0
  384. package/dist/chunks/providerValidation-0.6.5-j9fqm33r.mjs +6 -0
  385. package/dist/chunks/rate-limit-options-0.6.5-n0s4jxw7.mjs +1 -0
  386. package/dist/chunks/registerSubcommands-0.6.5-s6pemg0a.mjs +34 -0
  387. package/dist/chunks/registry-0.6.5-q9cda2p7.mjs +1 -0
  388. package/dist/chunks/release-notes-0.6.5-5s8sv8ea.mjs +5 -0
  389. package/dist/chunks/reload-plugins-0.6.5-bqh5fz13.mjs +2 -0
  390. package/dist/chunks/remote-env-0.6.5-29f08tqs.mjs +1 -0
  391. package/dist/chunks/remoteBridgeCore-0.6.5-gk9afz22.mjs +1 -0
  392. package/dist/chunks/remoteSession-0.6.5-w7r3dh6h.mjs +1 -0
  393. package/dist/chunks/rename-0.6.5-es4wyt7z.mjs +1 -0
  394. package/dist/chunks/replBridgeHandle-0.6.5-66va2rkv.mjs +1 -0
  395. package/dist/chunks/replLauncher-0.6.5-xzbbew8q.mjs +1 -0
  396. package/dist/chunks/resume-0.6.5-q2e001ra.mjs +2 -0
  397. package/dist/chunks/rewind-0.6.5-hhxvb1pk.mjs +1 -0
  398. package/dist/chunks/rootOptions-0.6.5-smyb5d6s.mjs +1 -0
  399. package/dist/chunks/sandbox-adapter-0.6.5-6zvjjrgg.mjs +1 -0
  400. package/dist/chunks/sandbox-toggle-0.6.5-ch59ryyz.mjs +1 -0
  401. package/dist/chunks/session-0.6.5-22r80wyd.mjs +2 -0
  402. package/dist/chunks/sessionDiscovery-0.6.5-aae5t467.mjs +1 -0
  403. package/dist/chunks/sessionFileAccessHooks-0.6.5-a6xg367a.mjs +1 -0
  404. package/dist/chunks/sessionStorage-0.6.5-dqg82tdb.mjs +1 -0
  405. package/dist/chunks/settings-0.6.5-egjxpxrx.mjs +1 -0
  406. package/dist/chunks/setup-0.6.5-ks0cjhc0.mjs +5 -0
  407. package/dist/chunks/sinks-0.6.5-vnqdp1xs.mjs +1 -0
  408. package/dist/chunks/skills-0.6.5-fhq4v7kx.mjs +1 -0
  409. package/dist/chunks/startupProfiler-0.6.5-qg0j96r8.mjs +1 -0
  410. package/dist/chunks/startupUpdateCheck-0.6.5-kgegmr3s.mjs +1 -0
  411. package/dist/chunks/state-0.6.5-s7hqk377.mjs +1 -0
  412. package/dist/chunks/stats-0.6.5-1c35kfn8.mjs +6 -0
  413. package/dist/chunks/status-0.6.5-wxfn3y7k.mjs +1 -0
  414. package/dist/chunks/stickers-0.6.5-vr2yr1fh.mjs +1 -0
  415. package/dist/chunks/subprocessEnv-0.6.5-p4nz5egm.mjs +1 -0
  416. package/dist/chunks/tasks-0.6.5-jq5x8fny.mjs +1 -0
  417. package/dist/chunks/teamHelpers-0.6.5-s5tew7t1.mjs +1 -0
  418. package/dist/chunks/teammateModeSnapshot-0.6.5-0yh7b47q.mjs +1 -0
  419. package/dist/chunks/teleport-0.6.5-hmv7mh01.mjs +1 -0
  420. package/dist/chunks/terminalSetup-0.6.5-k9d4e82r.mjs +1 -0
  421. package/dist/chunks/theme-0.6.5-24hr0s0e.mjs +1 -0
  422. package/dist/chunks/thinkback-0.6.5-6997cmgj.mjs +1 -0
  423. package/dist/chunks/thinkback-play-0.6.5-5bm6dv3e.mjs +1 -0
  424. package/dist/chunks/toolPool-0.6.5-599y15ba.mjs +1 -0
  425. package/dist/chunks/toolSearch-0.6.5-acm72rsk.mjs +1 -0
  426. package/dist/chunks/tools-0.6.5-kydccz7r.mjs +1 -0
  427. package/dist/chunks/trustedDevice-0.6.5-44vjv9at.mjs +1 -0
  428. package/dist/chunks/turndown.cjs-0.6.5-s2n7faa4.mjs +69 -0
  429. package/dist/chunks/types-0.6.5-h60ghfcx.mjs +1 -0
  430. package/dist/chunks/ultrareviewCommand-0.6.5-vhpd8cxc.mjs +4 -0
  431. package/dist/chunks/update-0.6.5-j61jnpbt.mjs +86 -0
  432. package/dist/chunks/upgrade-0.6.5-yg323wxz.mjs +1 -0
  433. package/dist/chunks/upload-0.6.5-5tsm3bt7.mjs +7 -0
  434. package/dist/chunks/upstreamproxy-0.6.5-0ayrwt4t.mjs +14 -0
  435. package/dist/chunks/url-handler-napi-0.6.5-6sb73p95.mjs +1 -0
  436. package/dist/chunks/usage-0.6.5-0tjr5c54.mjs +1 -0
  437. package/dist/chunks/util-0.6.5-xcfvn255.mjs +1 -0
  438. package/dist/chunks/utils-0.6.5-gjqewwe3.mjs +1 -0
  439. package/dist/chunks/vim-0.6.5-hmp35ayy.mjs +1 -0
  440. package/dist/chunks/watcher-0.6.5-jra6eh4m.mjs +1 -0
  441. package/dist/chunks/wiki-0.6.5-0k1cftcn.mjs +132 -0
  442. package/dist/chunks/worktree-0.6.5-a5vvycs0.mjs +1 -0
  443. package/dist/chunks/worktreeModeEnabled-0.6.5-rva8222w.mjs +1 -0
  444. package/dist/chunks/wrapper-0.6.5-0bxnwc77.mjs +7 -0
  445. package/dist/claudin-vscode.vsix +0 -0
  446. package/dist/cli.mjs +2 -2
  447. package/package.json +1 -1
  448. package/dist/chunks/AgentTool-0.6.3-w39w1tm9.mjs +0 -1
  449. package/dist/chunks/App-0.6.3-bf23q7fe.mjs +0 -1
  450. package/dist/chunks/ApproveApiKey-0.6.3-kmctgnz2.mjs +0 -1
  451. package/dist/chunks/AssistantSessionChooser-0.6.3-0ep3n5s0.mjs +0 -1
  452. package/dist/chunks/AutoModeOptInDialog-0.6.3-vxra859t.mjs +0 -1
  453. package/dist/chunks/BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs +0 -1
  454. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs +0 -1
  455. package/dist/chunks/ConsoleOAuthFlow-0.6.3-kk7w26bg.mjs +0 -1
  456. package/dist/chunks/DiffDialog-0.6.3-xvx07sv4.mjs +0 -3
  457. package/dist/chunks/Doctor-0.6.3-4jwxgrk8.mjs +0 -1
  458. package/dist/chunks/Grove-0.6.3-g8cwnttq.mjs +0 -1
  459. package/dist/chunks/ITermBackend-0.6.3-jdkqh9bh.mjs +0 -1
  460. package/dist/chunks/InvalidConfigDialog-0.6.3-0k9mawc3.mjs +0 -1
  461. package/dist/chunks/InvalidSettingsDialog-0.6.3-j8rff6m8.mjs +0 -1
  462. package/dist/chunks/MigrationDialog-0.6.3-car6y4n7.mjs +0 -1
  463. package/dist/chunks/Onboarding-0.6.3-m7danhhz.mjs +0 -1
  464. package/dist/chunks/ProviderManager-0.6.3-pwe3440b.mjs +0 -1
  465. package/dist/chunks/REPL-0.6.3-fgapj6pt.mjs +0 -1
  466. package/dist/chunks/ResumeConversation-0.6.3-8m1y0n85.mjs +0 -1
  467. package/dist/chunks/SnapshotUpdateDialog-0.6.3-btb0czta.mjs +0 -1
  468. package/dist/chunks/TeleportProgress-0.6.3-0cvtw4gc.mjs +0 -1
  469. package/dist/chunks/TeleportRepoMismatchDialog-0.6.3-3ns6hahg.mjs +0 -1
  470. package/dist/chunks/TeleportResumeWrapper-0.6.3-82jmwxw0.mjs +0 -1
  471. package/dist/chunks/TmuxBackend-0.6.3-ampabjvv.mjs +0 -9
  472. package/dist/chunks/ToolSearchTool-0.6.3-8nqsgt07.mjs +0 -1
  473. package/dist/chunks/TrustDialog-0.6.3-vd2hj09s.mjs +0 -1
  474. package/dist/chunks/activeProvider-0.6.3-b2vqxf8h.mjs +0 -1
  475. package/dist/chunks/add-dir-0.6.3-g1q6rzd5.mjs +0 -1
  476. package/dist/chunks/agents-0.6.3-q5xaz38q.mjs +0 -3
  477. package/dist/chunks/agents-0.6.3-x369fczx.mjs +0 -110
  478. package/dist/chunks/api-0.6.3-c8cpd5e4.mjs +0 -1
  479. package/dist/chunks/asciicast-0.6.3-ph0g3j31.mjs +0 -1
  480. package/dist/chunks/assistant-0.6.3-zzx692bw.mjs +0 -1
  481. package/dist/chunks/auth-0.6.3-4t0t2nkn.mjs +0 -1
  482. package/dist/chunks/auth-0.6.3-s9a1xnxb.mjs +0 -1
  483. package/dist/chunks/autoMode-0.6.3-aha41tt9.mjs +0 -48
  484. package/dist/chunks/autoUpdater-0.6.3-nknpfabv.mjs +0 -1
  485. package/dist/chunks/backgroundHousekeeping-0.6.3-t18m5mxn.mjs +0 -1
  486. package/dist/chunks/branch-0.6.3-mm6nsq5m.mjs +0 -4
  487. package/dist/chunks/bridgePointer-0.6.3-96b73p4h.mjs +0 -1
  488. package/dist/chunks/btw-0.6.3-3ad5s4cs.mjs +0 -1
  489. package/dist/chunks/buddy-0.6.3-fv2jmxew.mjs +0 -3
  490. package/dist/chunks/cacache-0.6.3-8n06prq8.mjs +0 -1
  491. package/dist/chunks/cache-probe-0.6.3-vwte845g.mjs +0 -21
  492. package/dist/chunks/cacheStats-0.6.3-3knz38ev.mjs +0 -4
  493. package/dist/chunks/caches-0.6.3-ab262f7m.mjs +0 -1
  494. package/dist/chunks/claudeDesktop-0.6.3-sw2jgmfw.mjs +0 -1
  495. package/dist/chunks/claudemd-0.6.3-ppznmrv5.mjs +0 -1
  496. package/dist/chunks/clear-0.6.3-q5ygewg2.mjs +0 -1
  497. package/dist/chunks/clearTerminal-0.6.3-k13xzp29.mjs +0 -1
  498. package/dist/chunks/cli-0.6.3-0cpgmzyt.mjs +0 -2
  499. package/dist/chunks/cli-0.6.3-0d5cxdkq.mjs +0 -2
  500. package/dist/chunks/cli-0.6.3-0f2ybbnq.mjs +0 -2
  501. package/dist/chunks/cli-0.6.3-0xzsm005.mjs +0 -2
  502. package/dist/chunks/cli-0.6.3-1h3a97cb.mjs +0 -2
  503. package/dist/chunks/cli-0.6.3-1hr1gfgx.mjs +0 -2
  504. package/dist/chunks/cli-0.6.3-20mtfrec.mjs +0 -2
  505. package/dist/chunks/cli-0.6.3-29t031py.mjs +0 -2
  506. package/dist/chunks/cli-0.6.3-2seqm104.mjs +0 -4
  507. package/dist/chunks/cli-0.6.3-2znr1dn6.mjs +0 -2
  508. package/dist/chunks/cli-0.6.3-307m09be.mjs +0 -3
  509. package/dist/chunks/cli-0.6.3-32ma4ryx.mjs +0 -58
  510. package/dist/chunks/cli-0.6.3-3k3fr10v.mjs +0 -2
  511. package/dist/chunks/cli-0.6.3-3sga01kt.mjs +0 -2
  512. package/dist/chunks/cli-0.6.3-40mx2zxs.mjs +0 -2
  513. package/dist/chunks/cli-0.6.3-4jyjt985.mjs +0 -2
  514. package/dist/chunks/cli-0.6.3-4k4zf43b.mjs +0 -2
  515. package/dist/chunks/cli-0.6.3-4n393st8.mjs +0 -2
  516. package/dist/chunks/cli-0.6.3-4tqk3dby.mjs +0 -12
  517. package/dist/chunks/cli-0.6.3-4y6pfyfp.mjs +0 -2
  518. package/dist/chunks/cli-0.6.3-4z9781g7.mjs +0 -2
  519. package/dist/chunks/cli-0.6.3-4zj0d42m.mjs +0 -18
  520. package/dist/chunks/cli-0.6.3-5nfphar2.mjs +0 -3
  521. package/dist/chunks/cli-0.6.3-5pxyd9b0.mjs +0 -4
  522. package/dist/chunks/cli-0.6.3-5rwq19xb.mjs +0 -2
  523. package/dist/chunks/cli-0.6.3-5t2m3g99.mjs +0 -2
  524. package/dist/chunks/cli-0.6.3-6a21y020.mjs +0 -2
  525. package/dist/chunks/cli-0.6.3-6ax8m5hv.mjs +0 -6
  526. package/dist/chunks/cli-0.6.3-6cgyr2zy.mjs +0 -4
  527. package/dist/chunks/cli-0.6.3-6cvpnccg.mjs +0 -4
  528. package/dist/chunks/cli-0.6.3-6ee9dyyg.mjs +0 -3
  529. package/dist/chunks/cli-0.6.3-6h30fzt5.mjs +0 -17
  530. package/dist/chunks/cli-0.6.3-6n6gtkcy.mjs +0 -2
  531. package/dist/chunks/cli-0.6.3-6njpepxe.mjs +0 -2
  532. package/dist/chunks/cli-0.6.3-6yfw5hn3.mjs +0 -2
  533. package/dist/chunks/cli-0.6.3-7adzjn5q.mjs +0 -34
  534. package/dist/chunks/cli-0.6.3-7g460zkw.mjs +0 -2
  535. package/dist/chunks/cli-0.6.3-7qg9g8tc.mjs +0 -2
  536. package/dist/chunks/cli-0.6.3-81rrwwcp.mjs +0 -2
  537. package/dist/chunks/cli-0.6.3-8cn32ma4.mjs +0 -2
  538. package/dist/chunks/cli-0.6.3-8dsgn7hp.mjs +0 -2
  539. package/dist/chunks/cli-0.6.3-8ea1a14z.mjs +0 -2
  540. package/dist/chunks/cli-0.6.3-8ggghhkx.mjs +0 -2
  541. package/dist/chunks/cli-0.6.3-8qad2cfe.mjs +0 -3
  542. package/dist/chunks/cli-0.6.3-8syjpqfr.mjs +0 -4
  543. package/dist/chunks/cli-0.6.3-92dx7xfh.mjs +0 -2
  544. package/dist/chunks/cli-0.6.3-92mddczk.mjs +0 -2
  545. package/dist/chunks/cli-0.6.3-94pqfzn3.mjs +0 -2
  546. package/dist/chunks/cli-0.6.3-97118c51.mjs +0 -2
  547. package/dist/chunks/cli-0.6.3-99kq55gd.mjs +0 -2
  548. package/dist/chunks/cli-0.6.3-99tcx5qw.mjs +0 -2
  549. package/dist/chunks/cli-0.6.3-9swe2gr2.mjs +0 -45
  550. package/dist/chunks/cli-0.6.3-a9z41xw7.mjs +0 -2
  551. package/dist/chunks/cli-0.6.3-aa0b2a2r.mjs +0 -2
  552. package/dist/chunks/cli-0.6.3-aazxr34f.mjs +0 -2
  553. package/dist/chunks/cli-0.6.3-aexkp8kj.mjs +0 -2
  554. package/dist/chunks/cli-0.6.3-ajqkhkc8.mjs +0 -3
  555. package/dist/chunks/cli-0.6.3-apnw4sqn.mjs +0 -2
  556. package/dist/chunks/cli-0.6.3-ar7px1cs.mjs +0 -3
  557. package/dist/chunks/cli-0.6.3-aw337kkj.mjs +0 -3
  558. package/dist/chunks/cli-0.6.3-b773k4ts.mjs +0 -2
  559. package/dist/chunks/cli-0.6.3-b8vfg8at.mjs +0 -2
  560. package/dist/chunks/cli-0.6.3-bcqjyxwt.mjs +0 -2
  561. package/dist/chunks/cli-0.6.3-be9988sa.mjs +0 -67
  562. package/dist/chunks/cli-0.6.3-bm4fb040.mjs +0 -2
  563. package/dist/chunks/cli-0.6.3-bv459f1w.mjs +0 -50
  564. package/dist/chunks/cli-0.6.3-cbyjhbhd.mjs +0 -2
  565. package/dist/chunks/cli-0.6.3-ce093xrt.mjs +0 -2
  566. package/dist/chunks/cli-0.6.3-cfgaczs0.mjs +0 -9
  567. package/dist/chunks/cli-0.6.3-cn73stdt.mjs +0 -2
  568. package/dist/chunks/cli-0.6.3-cry1qz3j.mjs +0 -2
  569. package/dist/chunks/cli-0.6.3-ct7rzynk.mjs +0 -25
  570. package/dist/chunks/cli-0.6.3-cz70v0dc.mjs +0 -193
  571. package/dist/chunks/cli-0.6.3-dcddpada.mjs +0 -2
  572. package/dist/chunks/cli-0.6.3-djx10r48.mjs +0 -2
  573. package/dist/chunks/cli-0.6.3-dv7ypjqm.mjs +0 -42
  574. package/dist/chunks/cli-0.6.3-dvsz6151.mjs +0 -26
  575. package/dist/chunks/cli-0.6.3-dx1n041e.mjs +0 -4
  576. package/dist/chunks/cli-0.6.3-e56v1kt5.mjs +0 -2
  577. package/dist/chunks/cli-0.6.3-ecnnpsad.mjs +0 -2
  578. package/dist/chunks/cli-0.6.3-ee53b5tf.mjs +0 -2
  579. package/dist/chunks/cli-0.6.3-efydy6w2.mjs +0 -2
  580. package/dist/chunks/cli-0.6.3-ejr47y1x.mjs +0 -2
  581. package/dist/chunks/cli-0.6.3-eqnnyg8r.mjs +0 -10
  582. package/dist/chunks/cli-0.6.3-es8pf0wd.mjs +0 -5
  583. package/dist/chunks/cli-0.6.3-eytmae68.mjs +0 -2
  584. package/dist/chunks/cli-0.6.3-f2hnrcvv.mjs +0 -2
  585. package/dist/chunks/cli-0.6.3-f6vwjwer.mjs +0 -2
  586. package/dist/chunks/cli-0.6.3-fdr38m0k.mjs +0 -2
  587. package/dist/chunks/cli-0.6.3-fdye25f4.mjs +0 -21
  588. package/dist/chunks/cli-0.6.3-fhets69t.mjs +0 -2
  589. package/dist/chunks/cli-0.6.3-fws87r5f.mjs +0 -2
  590. package/dist/chunks/cli-0.6.3-fz79skca.mjs +0 -133
  591. package/dist/chunks/cli-0.6.3-g48fakzt.mjs +0 -4
  592. package/dist/chunks/cli-0.6.3-g4gt6qj9.mjs +0 -18
  593. package/dist/chunks/cli-0.6.3-g4y759q5.mjs +0 -2
  594. package/dist/chunks/cli-0.6.3-g7nc10fr.mjs +0 -2
  595. package/dist/chunks/cli-0.6.3-g7yry9cm.mjs +0 -2
  596. package/dist/chunks/cli-0.6.3-gcncppqh.mjs +0 -2
  597. package/dist/chunks/cli-0.6.3-gm6gpvcp.mjs +0 -2
  598. package/dist/chunks/cli-0.6.3-gmb75jnx.mjs +0 -2
  599. package/dist/chunks/cli-0.6.3-grerfrmn.mjs +0 -2
  600. package/dist/chunks/cli-0.6.3-gywe2011.mjs +0 -2
  601. package/dist/chunks/cli-0.6.3-gz3mwtfc.mjs +0 -15
  602. package/dist/chunks/cli-0.6.3-h1yy6vwa.mjs +0 -3
  603. package/dist/chunks/cli-0.6.3-h9dw5s07.mjs +0 -2
  604. package/dist/chunks/cli-0.6.3-h9pgh5g6.mjs +0 -3
  605. package/dist/chunks/cli-0.6.3-hccmsmnq.mjs +0 -2
  606. package/dist/chunks/cli-0.6.3-hz8r1b9m.mjs +0 -2
  607. package/dist/chunks/cli-0.6.3-jc158pav.mjs +0 -3
  608. package/dist/chunks/cli-0.6.3-jh5sabys.mjs +0 -2
  609. package/dist/chunks/cli-0.6.3-jwkcjnvk.mjs +0 -2
  610. package/dist/chunks/cli-0.6.3-k2n0q631.mjs +0 -39
  611. package/dist/chunks/cli-0.6.3-k5rdtkfr.mjs +0 -3
  612. package/dist/chunks/cli-0.6.3-kay5e0jz.mjs +0 -2
  613. package/dist/chunks/cli-0.6.3-kfn8srsd.mjs +0 -2
  614. package/dist/chunks/cli-0.6.3-kwnp45kq.mjs +0 -2
  615. package/dist/chunks/cli-0.6.3-kz9egvgw.mjs +0 -5323
  616. package/dist/chunks/cli-0.6.3-m74nx2m5.mjs +0 -2
  617. package/dist/chunks/cli-0.6.3-mc6kp3j9.mjs +0 -18
  618. package/dist/chunks/cli-0.6.3-mcmskrq3.mjs +0 -7
  619. package/dist/chunks/cli-0.6.3-mwmvdr0y.mjs +0 -2
  620. package/dist/chunks/cli-0.6.3-mwvq805r.mjs +0 -2
  621. package/dist/chunks/cli-0.6.3-n0nvqsep.mjs +0 -2
  622. package/dist/chunks/cli-0.6.3-n2d97bhc.mjs +0 -2
  623. package/dist/chunks/cli-0.6.3-n3f5zh7x.mjs +0 -2
  624. package/dist/chunks/cli-0.6.3-n95caxs7.mjs +0 -6
  625. package/dist/chunks/cli-0.6.3-nawttnnp.mjs +0 -16
  626. package/dist/chunks/cli-0.6.3-ny9veqgk.mjs +0 -2
  627. package/dist/chunks/cli-0.6.3-p3cb5wr9.mjs +0 -4
  628. package/dist/chunks/cli-0.6.3-p6tkk7cq.mjs +0 -2
  629. package/dist/chunks/cli-0.6.3-pj26ahpb.mjs +0 -15
  630. package/dist/chunks/cli-0.6.3-pqq8j8h2.mjs +0 -2
  631. package/dist/chunks/cli-0.6.3-przsjt5w.mjs +0 -2
  632. package/dist/chunks/cli-0.6.3-pt8n31ph.mjs +0 -2
  633. package/dist/chunks/cli-0.6.3-q35m6zsh.mjs +0 -2
  634. package/dist/chunks/cli-0.6.3-qh59pqrb.mjs +0 -2
  635. package/dist/chunks/cli-0.6.3-qj1bfrer.mjs +0 -15
  636. package/dist/chunks/cli-0.6.3-qse47680.mjs +0 -5
  637. package/dist/chunks/cli-0.6.3-qt063vx3.mjs +0 -2
  638. package/dist/chunks/cli-0.6.3-r08n6yst.mjs +0 -2
  639. package/dist/chunks/cli-0.6.3-r0chaj0m.mjs +0 -2
  640. package/dist/chunks/cli-0.6.3-r0pavcpp.mjs +0 -2
  641. package/dist/chunks/cli-0.6.3-r8snnnev.mjs +0 -2
  642. package/dist/chunks/cli-0.6.3-r9spk5d9.mjs +0 -2
  643. package/dist/chunks/cli-0.6.3-razq4hma.mjs +0 -2
  644. package/dist/chunks/cli-0.6.3-rbhgbyc8.mjs +0 -24
  645. package/dist/chunks/cli-0.6.3-rcd74wx6.mjs +0 -9
  646. package/dist/chunks/cli-0.6.3-rha5x3b1.mjs +0 -2
  647. package/dist/chunks/cli-0.6.3-rm69szc5.mjs +0 -2
  648. package/dist/chunks/cli-0.6.3-rxzhhezk.mjs +0 -2
  649. package/dist/chunks/cli-0.6.3-ry8ff2h4.mjs +0 -4
  650. package/dist/chunks/cli-0.6.3-rz3jyy54.mjs +0 -133
  651. package/dist/chunks/cli-0.6.3-rzva33s6.mjs +0 -2
  652. package/dist/chunks/cli-0.6.3-s12drscf.mjs +0 -2
  653. package/dist/chunks/cli-0.6.3-sxj65pz4.mjs +0 -2
  654. package/dist/chunks/cli-0.6.3-syb9w8h5.mjs +0 -2
  655. package/dist/chunks/cli-0.6.3-sz0yt1ax.mjs +0 -59
  656. package/dist/chunks/cli-0.6.3-te71cc6c.mjs +0 -8
  657. package/dist/chunks/cli-0.6.3-tjykjtxh.mjs +0 -6
  658. package/dist/chunks/cli-0.6.3-v3fjzj8a.mjs +0 -12
  659. package/dist/chunks/cli-0.6.3-v522ej7z.mjs +0 -3
  660. package/dist/chunks/cli-0.6.3-vcpzn6r6.mjs +0 -2
  661. package/dist/chunks/cli-0.6.3-vdzjz0qm.mjs +0 -2
  662. package/dist/chunks/cli-0.6.3-ve8f981m.mjs +0 -3
  663. package/dist/chunks/cli-0.6.3-vp1zy3b1.mjs +0 -2
  664. package/dist/chunks/cli-0.6.3-vsvcyfnd.mjs +0 -17
  665. package/dist/chunks/cli-0.6.3-w038em13.mjs +0 -2
  666. package/dist/chunks/cli-0.6.3-w3rq9jx1.mjs +0 -2
  667. package/dist/chunks/cli-0.6.3-wfrn6z2y.mjs +0 -24
  668. package/dist/chunks/cli-0.6.3-whtn6spz.mjs +0 -2
  669. package/dist/chunks/cli-0.6.3-wr2sys6k.mjs +0 -2
  670. package/dist/chunks/cli-0.6.3-wvdzc276.mjs +0 -1
  671. package/dist/chunks/cli-0.6.3-wwmrkyrs.mjs +0 -20
  672. package/dist/chunks/cli-0.6.3-wws3zqpm.mjs +0 -2
  673. package/dist/chunks/cli-0.6.3-x6f1pr27.mjs +0 -2
  674. package/dist/chunks/cli-0.6.3-x78bwn0g.mjs +0 -5
  675. package/dist/chunks/cli-0.6.3-xe5mxfxe.mjs +0 -2
  676. package/dist/chunks/cli-0.6.3-xewp168m.mjs +0 -2
  677. package/dist/chunks/cli-0.6.3-y1aakb6y.mjs +0 -2
  678. package/dist/chunks/cli-0.6.3-y1mm0v8x.mjs +0 -2
  679. package/dist/chunks/cli-0.6.3-y30hptm0.mjs +0 -2
  680. package/dist/chunks/cli-0.6.3-y61armem.mjs +0 -2
  681. package/dist/chunks/cli-0.6.3-y8ymw6ed.mjs +0 -2
  682. package/dist/chunks/cli-0.6.3-yk56wjb7.mjs +0 -2
  683. package/dist/chunks/cli-0.6.3-ym6dcvjc.mjs +0 -2
  684. package/dist/chunks/cli-0.6.3-ymhjs7dc.mjs +0 -2
  685. package/dist/chunks/cli-0.6.3-ysazbe18.mjs +0 -2
  686. package/dist/chunks/cli-0.6.3-ywk23cbf.mjs +0 -2
  687. package/dist/chunks/cli-0.6.3-z19b5v43.mjs +0 -2
  688. package/dist/chunks/cli-0.6.3-z6sz55zd.mjs +0 -2
  689. package/dist/chunks/cli-0.6.3-z8vc44s1.mjs +0 -2
  690. package/dist/chunks/cli-0.6.3-zd6bnvyc.mjs +0 -4
  691. package/dist/chunks/cli-0.6.3-zmn1fgaa.mjs +0 -2
  692. package/dist/chunks/cli-0.6.3-zqvgfprs.mjs +0 -2
  693. package/dist/chunks/cli-0.6.3-zy0jc7vm.mjs +0 -12
  694. package/dist/chunks/cli-0.6.3-zyrsvq59.mjs +0 -2
  695. package/dist/chunks/client-0.6.3-6pn9sb4n.mjs +0 -1
  696. package/dist/chunks/color-0.6.3-2hpfj774.mjs +0 -1
  697. package/dist/chunks/compact-0.6.3-dnwdmmz1.mjs +0 -3
  698. package/dist/chunks/config-0.6.3-tjhtvb07.mjs +0 -1
  699. package/dist/chunks/config-0.6.3-z2wgyz10.mjs +0 -1
  700. package/dist/chunks/constants-0.6.3-qha9fz15.mjs +0 -1
  701. package/dist/chunks/context-0.6.3-vka61j1y.mjs +0 -1
  702. package/dist/chunks/context-noninteractive-0.6.3-eztt7zsf.mjs +0 -1
  703. package/dist/chunks/conversation-0.6.3-2ek3hdrq.mjs +0 -1
  704. package/dist/chunks/copilotHeaders-0.6.3-62c0y07g.mjs +0 -1
  705. package/dist/chunks/copy-0.6.3-gekdww8z.mjs +0 -9
  706. package/dist/chunks/cost-0.6.3-a2yhjbn3.mjs +0 -1
  707. package/dist/chunks/createSSHSession-0.6.3-5tn04mse.mjs +0 -1
  708. package/dist/chunks/createSession-0.6.3-kyn5dc4w.mjs +0 -1
  709. package/dist/chunks/debug-0.6.3-66czfwwr.mjs +0 -1
  710. package/dist/chunks/defaultActionDeps-0.6.3-x9wk9j9m.mjs +0 -1365
  711. package/dist/chunks/desktop-0.6.3-p8kgbeab.mjs +0 -1
  712. package/dist/chunks/detectRepository-0.6.3-8698wvb5.mjs +0 -1
  713. package/dist/chunks/detection-0.6.3-1y7661gd.mjs +0 -1
  714. package/dist/chunks/diff-0.6.3-mk0y1bzd.mjs +0 -1
  715. package/dist/chunks/doctor-0.6.3-xvwcr7dp.mjs +0 -1
  716. package/dist/chunks/doctorDiagnostic-0.6.3-th9mec17.mjs +0 -1
  717. package/dist/chunks/earlyInput-0.6.3-642zt7fp.mjs +0 -1
  718. package/dist/chunks/effort-0.6.3-zvkntxpn.mjs +0 -10
  719. package/dist/chunks/envUtils-0.6.3-yazqghf2.mjs +0 -1
  720. package/dist/chunks/environmentSelection-0.6.3-0bcr6rhg.mjs +0 -1
  721. package/dist/chunks/environments-0.6.3-2tyy264w.mjs +0 -1
  722. package/dist/chunks/errors-0.6.3-65brz247.mjs +0 -1
  723. package/dist/chunks/exampleCommands-0.6.3-ktqksq57.mjs +0 -1
  724. package/dist/chunks/exit-0.6.3-0ce6gh5m.mjs +0 -1
  725. package/dist/chunks/export-0.6.3-e2mjekav.mjs +0 -2
  726. package/dist/chunks/extra-usage-0.6.3-hqp8h6yy.mjs +0 -1
  727. package/dist/chunks/extra-usage-noninteractive-0.6.3-rfyx9kw2.mjs +0 -1
  728. package/dist/chunks/fast-0.6.3-1jg7ysjx.mjs +0 -1
  729. package/dist/chunks/feedback-0.6.3-1tb6qds2.mjs +0 -14
  730. package/dist/chunks/firstPartyEventLogger-0.6.3-c9kfz0k1.mjs +0 -1
  731. package/dist/chunks/git-0.6.3-vzgvhd0s.mjs +0 -1
  732. package/dist/chunks/githubModelsCredentials-0.6.3-9qcrf80c.mjs +0 -1
  733. package/dist/chunks/goal-0.6.3-mf91z3fg.mjs +0 -4
  734. package/dist/chunks/grove-0.6.3-mmn276sp.mjs +0 -1
  735. package/dist/chunks/growthbook-0.6.3-4p9xew93.mjs +0 -1
  736. package/dist/chunks/headless-0.6.3-qgmxgj70.mjs +0 -2
  737. package/dist/chunks/heapdump-0.6.3-2w4fe2zs.mjs +0 -6
  738. package/dist/chunks/help-0.6.3-wf4xf793.mjs +0 -1
  739. package/dist/chunks/hookChains-0.6.3-q342m95f.mjs +0 -3
  740. package/dist/chunks/hooks-0.6.3-0r48akk8.mjs +0 -79
  741. package/dist/chunks/hooks-0.6.3-r14ya7wn.mjs +0 -1
  742. package/dist/chunks/ide-0.6.3-ad8afpp9.mjs +0 -3
  743. package/dist/chunks/image-processor-napi-0.6.3-tva04ya1.mjs +0 -1
  744. package/dist/chunks/index-0.6.3-0hyrtrrm.mjs +0 -9
  745. package/dist/chunks/index-0.6.3-0vhzk5yx.mjs +0 -5
  746. package/dist/chunks/index-0.6.3-1ykp8wv0.mjs +0 -2
  747. package/dist/chunks/index-0.6.3-2bzz31fe.mjs +0 -1
  748. package/dist/chunks/index-0.6.3-55v75g6w.mjs +0 -1
  749. package/dist/chunks/index-0.6.3-6rpbscw7.mjs +0 -17
  750. package/dist/chunks/index-0.6.3-7mch7z3a.mjs +0 -1
  751. package/dist/chunks/index-0.6.3-858y11er.mjs +0 -1
  752. package/dist/chunks/index-0.6.3-a40sh9ap.mjs +0 -1
  753. package/dist/chunks/index-0.6.3-aj0c98mr.mjs +0 -1
  754. package/dist/chunks/index-0.6.3-b9fkqrrw.mjs +0 -1
  755. package/dist/chunks/index-0.6.3-f5732qxw.mjs +0 -1
  756. package/dist/chunks/index-0.6.3-f5w18za6.mjs +0 -1
  757. package/dist/chunks/index-0.6.3-f6h116cn.mjs +0 -2
  758. package/dist/chunks/index-0.6.3-htq5dpvs.mjs +0 -30
  759. package/dist/chunks/index-0.6.3-hv4mfh2n.mjs +0 -1
  760. package/dist/chunks/index-0.6.3-kadhv0zg.mjs +0 -9
  761. package/dist/chunks/index-0.6.3-tsd8ykv3.mjs +0 -1
  762. package/dist/chunks/index-0.6.3-w2hywyvr.mjs +0 -1
  763. package/dist/chunks/index-0.6.3-wk9kzbcz.mjs +0 -1
  764. package/dist/chunks/index-0.6.3-ygqhtfnf.mjs +0 -1
  765. package/dist/chunks/index-0.6.3-yvah3e6g.mjs +0 -1
  766. package/dist/chunks/init-0.6.3-xaeb8hxb.mjs +0 -1
  767. package/dist/chunks/initReplBridge-0.6.3-nmmr7v8v.mjs +0 -1
  768. package/dist/chunks/ink-0.6.3-6m2sw7dq.mjs +0 -1
  769. package/dist/chunks/insights-0.6.3-6b93b8nm.mjs +0 -870
  770. package/dist/chunks/install-0.6.3-y9zek66z.mjs +0 -1
  771. package/dist/chunks/install-github-app-0.6.3-899pnvtd.mjs +0 -149
  772. package/dist/chunks/install-slack-app-0.6.3-f8saspck.mjs +0 -1
  773. package/dist/chunks/instrumentation-0.6.3-defghs68.mjs +0 -1
  774. package/dist/chunks/interactiveHelpers-0.6.3-7ec0qnvv.mjs +0 -1
  775. package/dist/chunks/keybindings-0.6.3-eh7rjbha.mjs +0 -2
  776. package/dist/chunks/knowledge-0.6.3-a7pn2e1w.mjs +0 -2
  777. package/dist/chunks/latestVersionCache-0.6.3-vf3mkz2d.mjs +0 -1
  778. package/dist/chunks/loadAgentsDir-0.6.3-ykqa9b2g.mjs +0 -1
  779. package/dist/chunks/loadPluginHooks-0.6.3-jxaehczd.mjs +0 -1
  780. package/dist/chunks/loadPluginHooks-0.6.3-mfka3vhj.mjs +0 -1
  781. package/dist/chunks/log-0.6.3-g789gq0t.mjs +0 -1
  782. package/dist/chunks/main-0.6.3-50ac806r.mjs +0 -1
  783. package/dist/chunks/managedEnv-0.6.3-q5zxn368.mjs +0 -1
  784. package/dist/chunks/mcp-0.6.3-4x3akzq5.mjs +0 -4
  785. package/dist/chunks/mcp-0.6.3-e3me04x4.mjs +0 -17
  786. package/dist/chunks/mcp-0.6.3-z1ebxf4w.mjs +0 -1
  787. package/dist/chunks/mcpb-0.6.3-sh1jp60e.mjs +0 -1
  788. package/dist/chunks/memory-0.6.3-03636fpt.mjs +0 -3
  789. package/dist/chunks/mobile-0.6.3-xz0z3r1b.mjs +0 -2
  790. package/dist/chunks/model-0.6.3-s0ftwaqt.mjs +0 -1
  791. package/dist/chunks/model-0.6.3-yzwee2pm.mjs +0 -2
  792. package/dist/chunks/node-0.6.3-ne7h3hdm.mjs +0 -12
  793. package/dist/chunks/oauth-0.6.3-vxgkeqfx.mjs +0 -1
  794. package/dist/chunks/openaiShim-0.6.3-4y4sanm3.mjs +0 -14
  795. package/dist/chunks/output-style-0.6.3-y1p13wj7.mjs +0 -1
  796. package/dist/chunks/package-D6422PQU-0.6.3-x4wa2xz2.mjs +0 -1
  797. package/dist/chunks/parseConnectUrl-0.6.3-her0fmnw.mjs +0 -1
  798. package/dist/chunks/parser-0.6.3-c46sjdq2.mjs +0 -1
  799. package/dist/chunks/passes-0.6.3-egz6jv5r.mjs +0 -1
  800. package/dist/chunks/permissions-0.6.3-8bgzzv8a.mjs +0 -3
  801. package/dist/chunks/plan-0.6.3-2fftma7h.mjs +0 -1
  802. package/dist/chunks/plist-0.6.3-h310zzhq.mjs +0 -1
  803. package/dist/chunks/plugin-0.6.3-5vjh0ct6.mjs +0 -29
  804. package/dist/chunks/pluginStartupCheck-0.6.3-jqsmye9d.mjs +0 -1
  805. package/dist/chunks/plugins-0.6.3-feg1sfss.mjs +0 -9
  806. package/dist/chunks/preActionHook-0.6.3-7zkaatsy.mjs +0 -2
  807. package/dist/chunks/print-0.6.3-q8j3mpqd.mjs +0 -57
  808. package/dist/chunks/privacy-settings-0.6.3-7td307c8.mjs +0 -1
  809. package/dist/chunks/process-0.6.3-xfesfn5r.mjs +0 -1
  810. package/dist/chunks/processBashCommand-0.6.3-jh7fc2p4.mjs +0 -1
  811. package/dist/chunks/processSlashCommand-0.6.3-bf00222w.mjs +0 -9
  812. package/dist/chunks/prompt-0.6.3-2n702z0c.mjs +0 -1
  813. package/dist/chunks/prompt-0.6.3-61gvwdqd.mjs +0 -1
  814. package/dist/chunks/prompts-0.6.3-gctcm2tt.mjs +0 -1
  815. package/dist/chunks/protocolHandler-0.6.3-nkgq5zh2.mjs +0 -13
  816. package/dist/chunks/provider-0.6.3-dz35mvz8.mjs +0 -2
  817. package/dist/chunks/providerProfiles-0.6.3-sc68wn0p.mjs +0 -1
  818. package/dist/chunks/providerValidation-0.6.3-tz2xs2w2.mjs +0 -6
  819. package/dist/chunks/rate-limit-options-0.6.3-q18p5fyf.mjs +0 -1
  820. package/dist/chunks/registerSubcommands-0.6.3-68qc2fq7.mjs +0 -34
  821. package/dist/chunks/registry-0.6.3-ftde6jbj.mjs +0 -1
  822. package/dist/chunks/release-notes-0.6.3-sape6p4t.mjs +0 -5
  823. package/dist/chunks/reload-plugins-0.6.3-1ww9raz4.mjs +0 -2
  824. package/dist/chunks/remote-env-0.6.3-3ck8cv8d.mjs +0 -1
  825. package/dist/chunks/remoteBridgeCore-0.6.3-5s27069y.mjs +0 -1
  826. package/dist/chunks/remoteSession-0.6.3-h9rgyr6h.mjs +0 -1
  827. package/dist/chunks/rename-0.6.3-f6d3tb9q.mjs +0 -1
  828. package/dist/chunks/replBridgeHandle-0.6.3-03kbs579.mjs +0 -1
  829. package/dist/chunks/replLauncher-0.6.3-m72mhx4g.mjs +0 -1
  830. package/dist/chunks/resume-0.6.3-ddb3xb3e.mjs +0 -2
  831. package/dist/chunks/rewind-0.6.3-rr4jn9nq.mjs +0 -1
  832. package/dist/chunks/rootOptions-0.6.3-z0z2w1ta.mjs +0 -1
  833. package/dist/chunks/sandbox-adapter-0.6.3-h9z3rn4v.mjs +0 -1
  834. package/dist/chunks/sandbox-toggle-0.6.3-1z9yck8k.mjs +0 -1
  835. package/dist/chunks/session-0.6.3-697bvb39.mjs +0 -2
  836. package/dist/chunks/sessionDiscovery-0.6.3-k3n13gqg.mjs +0 -1
  837. package/dist/chunks/sessionFileAccessHooks-0.6.3-kgecz2s9.mjs +0 -1
  838. package/dist/chunks/sessionStorage-0.6.3-04ceqntr.mjs +0 -1
  839. package/dist/chunks/settings-0.6.3-1wnc9skg.mjs +0 -1
  840. package/dist/chunks/setup-0.6.3-7eq77dy4.mjs +0 -5
  841. package/dist/chunks/sinks-0.6.3-ph10xa21.mjs +0 -1
  842. package/dist/chunks/skills-0.6.3-sk53kf9f.mjs +0 -1
  843. package/dist/chunks/startupProfiler-0.6.3-mmnjxrje.mjs +0 -1
  844. package/dist/chunks/startupUpdateCheck-0.6.3-0hwcpdc7.mjs +0 -1
  845. package/dist/chunks/state-0.6.3-e3zvped3.mjs +0 -1
  846. package/dist/chunks/stats-0.6.3-8wqbhpqy.mjs +0 -6
  847. package/dist/chunks/status-0.6.3-xjt0xtzy.mjs +0 -1
  848. package/dist/chunks/stickers-0.6.3-vs74c03z.mjs +0 -1
  849. package/dist/chunks/subprocessEnv-0.6.3-5dg03vx3.mjs +0 -1
  850. package/dist/chunks/tasks-0.6.3-dxy60zkj.mjs +0 -1
  851. package/dist/chunks/teamHelpers-0.6.3-jqpd5tn3.mjs +0 -1
  852. package/dist/chunks/teammateModeSnapshot-0.6.3-fpdghs7t.mjs +0 -1
  853. package/dist/chunks/teleport-0.6.3-46bbcspy.mjs +0 -1
  854. package/dist/chunks/terminalSetup-0.6.3-ww94vcqs.mjs +0 -1
  855. package/dist/chunks/theme-0.6.3-kjdtgstr.mjs +0 -1
  856. package/dist/chunks/thinkback-0.6.3-1txnapj2.mjs +0 -1
  857. package/dist/chunks/thinkback-play-0.6.3-96tda7vb.mjs +0 -1
  858. package/dist/chunks/toolPool-0.6.3-0e12cvy1.mjs +0 -1
  859. package/dist/chunks/toolSearch-0.6.3-d1pppx0c.mjs +0 -1
  860. package/dist/chunks/tools-0.6.3-w0rtmt3t.mjs +0 -1
  861. package/dist/chunks/trustedDevice-0.6.3-qap15xhb.mjs +0 -1
  862. package/dist/chunks/turndown.cjs-0.6.3-9pgbeyf6.mjs +0 -69
  863. package/dist/chunks/ultrareviewCommand-0.6.3-v4wvkr58.mjs +0 -4
  864. package/dist/chunks/update-0.6.3-6tah7v14.mjs +0 -86
  865. package/dist/chunks/upgrade-0.6.3-mtpg4ynr.mjs +0 -1
  866. package/dist/chunks/upstreamproxy-0.6.3-fg6qwves.mjs +0 -14
  867. package/dist/chunks/url-handler-napi-0.6.3-4zzkq08v.mjs +0 -1
  868. package/dist/chunks/usage-0.6.3-1b3cmsnk.mjs +0 -1
  869. package/dist/chunks/util-0.6.3-e72k34ck.mjs +0 -1
  870. package/dist/chunks/utils-0.6.3-ahkqyjmy.mjs +0 -1
  871. package/dist/chunks/vim-0.6.3-r0f9g732.mjs +0 -1
  872. package/dist/chunks/watcher-0.6.3-5xzd92av.mjs +0 -1
  873. package/dist/chunks/wiki-0.6.3-ytee2j21.mjs +0 -132
  874. package/dist/chunks/worktree-0.6.3-cmybg2s4.mjs +0 -1
  875. package/dist/chunks/worktreeModeEnabled-0.6.3-8k06dfjq.mjs +0 -1
  876. package/dist/chunks/wrapper-0.6.3-hct87zwr.mjs +0 -7
@@ -0,0 +1,2 @@
1
+ import{bi as a,ci as l}from"./cli-0.6.5-g43wnabd.mjs";import{di as m,ei as c}from"./cli-0.6.5-54w728vm.mjs";import{m1 as e,o1 as n}from"./cli-0.6.5-8hsxq1p3.mjs";import{ppa as s}from"./cli-0.6.5-bm7v9qp0.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
+ export{f as $h,g as ai};
@@ -0,0 +1,6 @@
1
+ import{ppa as b}from"./cli-0.6.5-bm7v9qp0.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 L0,oq as M0};
@@ -0,0 +1,2 @@
1
+ import{ppa as M}from"./cli-0.6.5-bm7v9qp0.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as E6,W as F6,X as G6,Z as H6,Y as I6};
@@ -0,0 +1,9 @@
1
+ import{r6 as S}from"./cli-0.6.5-6ev1k0qv.mjs";import{aha as E,eha as o,oha as $,rha as d}from"./cli-0.6.5-q4gh8d4w.mjs";import{Uha as u,Vha as BG,dia as r}from"./cli-0.6.5-s580r0vs.mjs";import{doa as q,eoa as f}from"./cli-0.6.5-6ab8b50h.mjs";import{Aoa as B,Soa as LG}from"./cli-0.6.5-ynxewk0a.mjs";import{Woa as YG}from"./cli-0.6.5-13g3042y.mjs";import{lpa as QG,ppa as F,qpa as FG}from"./cli-0.6.5-bm7v9qp0.mjs";function CG(){H.cache.clear?.(),$("Cleared CA certificates cache")}var H;var l=F(()=>{f();d();r();o();H=q(()=>{let G=u("--use-system-ca")||u("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if($(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let K=FG("tls"),Q=[];if(G){let Y=K.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)Q.push(...Z),$(`CA certs: Loaded ${Q.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){$("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else Q.push(...K.rootCertificates),$(`CA certs: Loaded ${Q.length} bundled root certificates as base (--use-system-ca fallback)`)}else Q.push(...K.rootCertificates),$(`CA certs: Loaded ${Q.length} bundled root certificates as base`);if(J)try{let Y=E().readFileSync(J,{encoding:"utf8"});Q.push(Y),$(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){$(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return Q.length>0?Q:void 0})});import{Agent as NG}from"https";function lG(){let G=j(),J=H();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function O(){let G=j(),J=H();if(!G&&!J)return{};let K={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:K};return $("TLS: Created undici agent with custom certificates"),{dispatcher:new(S()).Agent({connect:{cert:K.cert,key:K.key,passphrase:K.passphrase,...K.ca&&{ca:K.ca}},pipelining:1})}}function cG(){j.cache.clear?.(),D.cache.clear?.(),$("Cleared mTLS configuration cache")}function gG(){if(!j())return;if(process.env.NODE_EXTRA_CA_CERTS)$("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var j,D;var t=F(()=>{f();l();d();o();j=q(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=E().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),$("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){$(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=E().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),$("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){$(`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,$("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),D=q(()=>{let G=j(),J=H();if(!G&&!J)return;let K={...G,...J&&{ca:J},keepAlive:!0};return $("mTLS: Creating HTTPS agent with custom certificates"),new NG(K)})});var e=()=>{};import*as GG from"net";import*as JG from"http";import{Agent as TG}from"https";var V,c;var KG=F(()=>{e();V=Symbol("AgentBaseInternalState");c=class c extends JG.Agent{constructor(G){super(G);this[V]={}}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((K)=>K.indexOf("(https.js:")!==-1||K.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 GG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let K=this.sockets[G],Q=K.indexOf(J);if(Q!==-1){if(K.splice(Q,1),this.totalSocketCount--,K.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return TG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,K){let Q={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(Q),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,Q)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,Q)}catch(W){return K(W)}this[V].currentSocket=w,super.createSocket(G,J,K)},(w)=>{this.decrementSockets(Y,Z),K(w)})}createConnection(){let G=this[V].currentSocket;if(this[V].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[V].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[V])this[V].defaultPort=G}get protocol(){return this[V].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[V])this[V].protocol=G}}});function $G(G){return new Promise((J,K)=>{let Q=0,Y=[];function Z(){let z=G.read();if(z)h(z);else G.once("readable",Z)}function w(){G.removeListener("end",W),G.removeListener("error",M),G.removeListener("readable",Z)}function W(){w(),b("onend"),K(Error("Proxy connection ended before receiving CONNECT response"))}function M(z){w(),b("onerror %o",z),K(z)}function h(z){Y.push(z),Q+=z.length;let X=Buffer.concat(Y,Q),i=X.indexOf(`\r
3
+ \r
4
+ `);if(i===-1){b("have not received end of HTTP headers yet..."),Z();return}let n=X.slice(0,i).toString("ascii").split(`\r
5
+ `),C=n.shift();if(!C)return G.destroy(),K(Error("No header received from proxy CONNECT response"));let s=C.split(" "),UG=+s[1],_G=s.slice(2).join(" "),T={};for(let I of n){if(!I)continue;let x=I.indexOf(":");if(x===-1)return G.destroy(),K(Error(`Invalid header from proxy CONNECT response: "${I}"`));let m=I.slice(0,x).toLowerCase(),y=I.slice(x+1).trimStart(),R=T[m];if(typeof R==="string")T[m]=[R,y];else if(Array.isArray(R))R.push(y);else T[m]=y}b("got proxy server response: %o %o",C,T),w(),J({connect:{statusCode:UG,statusText:_G,headers:T},buffered:X})}G.on("error",M),G.on("end",W),Z()})}var ZG,b;var WG=F(()=>{ZG=QG(YG(),1),b=ZG.default("https-proxy-agent:parse-proxy-response")});import*as U from"net";import*as g from"tls";import IG from"assert";import{URL as EG}from"url";function SG(G){G.resume()}function XG(G,...J){let K={},Q;for(Q in G)if(!J.includes(Q))K[Q]=G[Q];return K}var zG,L,wG=(G)=>{if(G.servername===void 0&&G.host&&!U.isIP(G.host))return{...G,servername:G.host};return G},A;var VG=F(()=>{KG();WG();zG=QG(YG(),1),L=zG.default("https-proxy-agent");A=class A extends c{constructor(G,J){super(J);this.options={path:void 0},this.proxy=typeof G==="string"?new EG(G):G,this.proxyHeaders=J?.headers??{},L("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let K=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),Q=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?XG(J,"headers"):null,host:K,port:Q}}async connect(G,J){let{proxy:K}=this;if(!J.host)throw TypeError('No "host" provided');let Q;if(K.protocol==="https:")L("Creating `tls.Socket`: %o",this.connectOpts),Q=g.connect(wG(this.connectOpts));else L("Creating `net.Socket`: %o",this.connectOpts),Q=U.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=U.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
+ `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Y))w+=`${X}: ${Y[X]}\r
7
+ `;let W=$G(Q);Q.write(`${w}\r
8
+ `);let{connect:M,buffered:h}=await W;if(G.emit("proxyConnect",M),this.emit("proxyConnect",M,G),M.statusCode===200){if(G.once("socket",SG),J.secureEndpoint)return L("Upgrading socket connection to TLS"),g.connect({...XG(wG(J),"host","path","port"),socket:Q});return Q}Q.destroy();let z=new U.Socket({writable:!1});return z.readable=!0,G.once("socket",(X)=>{L("Replaying proxy buffer for failed request"),IG(X.listenerCount("data")>0),X.push(h),X.push(null)}),z}};A.protocols=["http","https"]});function XJ(G){a.set(G,!0),MG(G)}function MG(G){jG.cache.delete?.(G)}function zJ(G){qG.set(G,!0),MG(G)}function RG(G){return qG.get(G)===!0}function DG(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 N(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function OG(G=process.env){return G.no_proxy||G.NO_PROXY}function P(G,J=OG()){if(!J)return!1;if(J==="*")return!0;try{let K=new URL(G),Q=K.hostname.toLowerCase(),Y=K.port||(K.protocol==="https:"||K.protocol==="wss:"?"443":"80"),Z=`${Q}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some((W)=>{if(W=W.toLowerCase().trim(),W.includes(":"))return Z===W;if(W.startsWith(".")){let M=W;return Q===W.substring(1)||Q.endsWith(M)}return Q===W})}catch{return!1}}function v(G,J={}){let K=j(),Q=H(),Y={...K&&{cert:K.cert,key:K.key,passphrase:K.passphrase},...Q&&{ca:Q}};if(BG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,W)=>{W(null,Z,DG(w))};return new A(G,{...Y,...J})}function VJ(G={}){let J=N(),K=D(),Q=B.create({proxy:!1});if(!J){if(K)Q.defaults.httpsAgent=K;return Q}let Y=v(J,G);return Q.interceptors.request.use((Z)=>{if(Z.url&&P(Z.url))Z.httpsAgent=K,Z.httpAgent=K;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),Q}function BJ(G){let J=N();if(!J)return;if(P(G))return;return v(J)}function MJ(G){let J=N();if(!J)return;if(P(G))return;return J}function qJ(G){let J=G?.provider&&a.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 K=N();if(K){if(typeof Bun<"u")return{...J,proxy:K,...O()};return{...J,dispatcher:p(K)}}let Q=O();if(G?.provider&&!Q.dispatcher)return{...J,...Q,dispatcher:jG(G.provider)};return{...J,...Q}}function HJ(){let G=N(),J=D();if(k!==void 0)B.interceptors.request.eject(k),k=void 0;if(B.defaults.proxy=void 0,B.defaults.httpAgent=void 0,B.defaults.httpsAgent=void 0,G){B.defaults.proxy=!1;let K=v(G);k=B.interceptors.request.use((Q)=>{if(Q.url&&P(Q.url))if(J)Q.httpsAgent=J,Q.httpAgent=J;else delete Q.httpsAgent,delete Q.httpAgent;else Q.httpsAgent=K,Q.httpAgent=K;return Q}),S().setGlobalDispatcher(p(G))}else if(J){B.defaults.httpsAgent=J;let K=O();if(K.dispatcher)S().setGlobalDispatcher(K.dispatcher)}}async function jJ(){let G=N();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:K}]=await Promise.all([import("./index-0.6.5-89hxhv95.mjs"),import("./index-0.6.5-tfw7v414.mjs")]),Q=v(G),Y=new J({httpAgent:Q,httpsAgent:Q});return{requestHandler:Y,credentials:K({clientConfig:{requestHandler:Y}})}}function UJ(){p.cache.clear?.(),$("Cleared proxy agent cache")}var a,qG,p,_,HG,bG,jG,k;var AG=F(()=>{LG();VG();f();l();d();r();t();a=new Map;qG=new Map;p=q((G)=>{let J=S(),K=j(),Q=H(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(K||Q){let Z={...K&&{cert:K.cert,key:K.key,passphrase:K.passphrase},...Q&&{ca:Q}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),_={connections:12,keepAliveTimeout:30000,pipelining:1},HG={firstParty:{..._,allowH2:!0},openai:{..._,allowH2:!0},gemini:{..._,allowH2:!0},mistral:{..._,allowH2:!0},github:{..._,allowH2:!0},codex:{..._,allowH2:!0},"nvidia-nim":{..._,allowH2:!0},minimax:{..._,allowH2:!0}},bG=HG.openai,jG=q((G)=>{let J=S(),K=HG[G]??bG,Q={...K,allowH2:K.allowH2&&!RG(G),keepAliveTimeout:a.get(G)?100:K.keepAliveTimeout};return new J.Agent(Q)})});
9
+ export{CG as W5,l as X5,j as Y5,lG as Z5,cG as _5,gG as $5,t as a6,XJ as b6,zJ as c6,RG as d6,N as e6,P as f6,VJ as g6,BJ as h6,MJ as i6,qJ as j6,HJ as k6,jJ as l6,UJ as m6,AG as n6};
@@ -0,0 +1,2 @@
1
+ function t(s){if(s===null||typeof s!=="object")return s;let e=s;if("requestId"in e&&!("request_id"in e))e.request_id=e.requestId,delete e.requestId;if("response"in e&&e.response!==null&&typeof e.response==="object"){let n=e.response;if("requestId"in n&&!("request_id"in n))n.request_id=n.requestId,delete n.requestId}return s}
2
+ export{t as wb};
@@ -0,0 +1,2 @@
1
+ import{Oh as M,Ph as w,Qh as A}from"./cli-0.6.5-pv1b8wyy.mjs";import{qfa as X,sfa as N,tfa as $,ufa as O}from"./cli-0.6.5-kqhpzqdw.mjs";import{oha as R,rha as C}from"./cli-0.6.5-q4gh8d4w.mjs";import{Sha as L,dia as _}from"./cli-0.6.5-s580r0vs.mjs";import{Gna as T,Jja as H}from"./cli-0.6.5-ckc9hr8m.mjs";import{Aoa as W,Soa as y}from"./cli-0.6.5-ynxewk0a.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
2
+ export{S as xb,f as yb,l as zb,s as Ab};
@@ -0,0 +1,58 @@
1
+ import{BB as A,CB as p,Mz as k,Nz as I,PO as L,gP as a,lw as U,nw as h,ui as $,xi as m,zO as F}from"./cli-0.6.5-5t6d3asz.mjs";import{R1 as O,S1 as f}from"./cli-0.6.5-c7yx03g7.mjs";import{aha as S,eha as E}from"./cli-0.6.5-q4gh8d4w.mjs";import{Nha as b,Pha as T}from"./cli-0.6.5-ce51qb6k.mjs";import{Sha as y,dia as C}from"./cli-0.6.5-s580r0vs.mjs";import{ppa as N}from"./cli-0.6.5-bm7v9qp0.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 Bh,Zw as Ch,s as Dh};
@@ -0,0 +1,34 @@
1
+ import{FY as JT,GY as ST,gZ as IT,zY as X}from"./cli-0.6.5-f71ncwzk.mjs";import{p6 as K,q6 as VT}from"./cli-0.6.5-3ybp7ww7.mjs";import{$9 as OT,Fda as H,Lba as z,N9 as s,Nda as n,Oba as V,P8 as BT,Q8 as _T,S7 as Y,T9 as XT,U7 as o,Uba as l,Vba as d,X9 as FT,_9 as qT,hca as D,nba as f,pba as YT,x_ as Q,z_ as UT}from"./cli-0.6.5-ef6b5qvc.mjs";import{xfa as E,yfa as QT}from"./cli-0.6.5-rkjw25m5.mjs";import{Tga as GT,Uga as $T,Yga as zT,aha as P,eha as KT}from"./cli-0.6.5-q4gh8d4w.mjs";import{Nha as u,Pha as LT}from"./cli-0.6.5-ce51qb6k.mjs";import{doa as r,eoa as ZT}from"./cli-0.6.5-6ab8b50h.mjs";import{ppa as I}from"./cli-0.6.5-bm7v9qp0.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
2
+
3
+ No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
4
+ `;else if(B==="windows")J=` • Windows: Windows Terminal
5
+ `;let F=`Terminal setup cannot be run from ${$}.
6
+
7
+ This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
+ ${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
+
10
+ To set up the shortcut (optional):
11
+ 1. Exit tmux/screen temporarily
12
+ 2. Run /terminal-setup directly in one of these terminals:
13
+ ${J} • IDE: VSCode, Cursor, Windsurf, Zed
14
+ • Other: Alacritty
15
+ 3. Return to tmux/screen - settings will persist
16
+
17
+ ${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
18
+ {
19
+ "key": "shift+enter",
20
+ "command": "workbench.action.terminal.sendSequence",
21
+ "args": { "text": "\\u001b\\r" },
22
+ "when": "terminalFocus"
23
+ }
24
+ ]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
25
+ `))F+=`
26
+ `;return F+=`
27
+ [[keyboard.bindings]]
28
+ key = "Return"
29
+ mods = "Shift"
30
+ chars = "\\u001B\\r"
31
+ `,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
32
+ `,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
33
+ `,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
+ export{a as CW,h as DW,e as EW,TT as FW,Ww as GW,uT as HW,ET as IW,Lw as JW,zw as KW,Vw as LW,_w as MW,bT as NW};
@@ -0,0 +1,2 @@
1
+ import{ppa as o}from"./cli-0.6.5-bm7v9qp0.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
2
+ export{t as s6,i as t6,n as u6,s as v6,c as w6,r as x6,a as y6,p as z6,_ as A6,S as B6,E as C6,e as D6};
@@ -0,0 +1,2 @@
1
+ import{CK as N,LK as $,MK as k,SK as V,sK as C}from"./cli-0.6.5-5t6d3asz.mjs";import{BY as f,DY as t,HY as v,gX as P,gZ as D}from"./cli-0.6.5-f71ncwzk.mjs";import{m1 as n,n1 as i,o1 as M}from"./cli-0.6.5-8hsxq1p3.mjs";import{lpa as w,ppa as L}from"./cli-0.6.5-bm7v9qp0.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as Zf,z as _f};
@@ -0,0 +1,15 @@
1
+ import{Sx as L,Tx as k,_L as f,aM as z,gP as _,wj as J}from"./cli-0.6.5-5t6d3asz.mjs";import{$9 as A,W9 as F}from"./cli-0.6.5-ef6b5qvc.mjs";import{qfa as Y,sfa as h,tfa as H,ufa as X}from"./cli-0.6.5-kqhpzqdw.mjs";import{lga as W,oga as M}from"./cli-0.6.5-6qvtcs5y.mjs";import{oha as D,rha as R}from"./cli-0.6.5-q4gh8d4w.mjs";import{Gna as C,wla as q}from"./cli-0.6.5-ckc9hr8m.mjs";import{ppa as V}from"./cli-0.6.5-bm7v9qp0.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
+ `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
+
4
+ Return JSON with a single "title" field.
5
+
6
+ Good examples:
7
+ {"title": "Fix login button on mobile"}
8
+ {"title": "Add OAuth authentication"}
9
+ {"title": "Debug failing CI tests"}
10
+ {"title": "Refactor API client error handling"}
11
+
12
+ Bad (too vague): {"title": "Code changes"}
13
+ Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
+ Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
+ export{S as Re,T as Se,I as Te};
@@ -0,0 +1,2 @@
1
+ import{Ex as I,Fx as P,Go as W,Ho as n,Ix as t}from"./cli-0.6.5-5t6d3asz.mjs";import{u1 as H,v1 as p}from"./cli-0.6.5-s42kf4d5.mjs";import{w1 as C,y1 as i}from"./cli-0.6.5-k74repdw.mjs";import{B5 as V,V5 as l,W4 as v,e2 as S,j2 as c,v5 as R}from"./cli-0.6.5-c7yx03g7.mjs";import{Fda as D,Lba as E,Nda as m,Oba as X,gda as T,hca as O,hda as Y,iba as q,jba as u,nda as y,qda as k,tda as g}from"./cli-0.6.5-ef6b5qvc.mjs";import{qfa as G,sfa as f,tfa as $,ufa as h}from"./cli-0.6.5-kqhpzqdw.mjs";import{ega as Z,jga as _,kga as M}from"./cli-0.6.5-kzr5p1mv.mjs";import{oha as x,rha as b}from"./cli-0.6.5-q4gh8d4w.mjs";import{Aoa as Q,Soa as A}from"./cli-0.6.5-ynxewk0a.mjs";import{ppa as U}from"./cli-0.6.5-bm7v9qp0.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
2
+ export{Yj as ec,r as fc};
@@ -0,0 +1,6 @@
1
+ import{ppa as j}from"./cli-0.6.5-bm7v9qp0.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
2
+ `:`
3
+ `)+z,H=D+1,D=q.indexOf(`
4
+ `,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
5
+ `);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
6
+ export{o as o6,O1 as p6,e as q6};
@@ -0,0 +1,2 @@
1
+ import{$m as $q,$u as Vq,NP as a,PP as Uq,QE as h,Ru as u,SE as Fq,Su as g,Uu as Wq,Xu as c,Ym as S,Yu as T,Zm as Zq,Zu as _q,_m as V,_u as r,cn as p,dn as zq}from"./cli-0.6.5-5t6d3asz.mjs";import{SV as w,TV as Nq,cW as j,dW as Qq,eW as m,gW as Xq,jW as d,kW as Yq}from"./cli-0.6.5-6x91apzw.mjs";import{BY as J,DY as N,gZ as Lq,pX as v,qX as H,rX as y}from"./cli-0.6.5-f71ncwzk.mjs";import{l1 as _,m1 as q,n1 as G,o1 as B}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as Jq}from"./cli-0.6.5-vqb4jtcr.mjs";import{Laa as b,Yaa as Gq}from"./cli-0.6.5-ef6b5qvc.mjs";import{lpa as e,ppa as qq}from"./cli-0.6.5-bm7v9qp0.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
2
+ export{mq as Mg,Aq as Ng};
@@ -0,0 +1,2 @@
1
+ import{Fda as B,Nda as N,Oba as A,hca as L}from"./cli-0.6.5-ef6b5qvc.mjs";import{oha as z,rha as K}from"./cli-0.6.5-q4gh8d4w.mjs";import{opa as I,ppa as J}from"./cli-0.6.5-bm7v9qp0.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
+ export{P as IS,Q as JS,R as KS,H as LS,U as MS,V as NS,W as OS};
@@ -0,0 +1,2 @@
1
+ import{Vha as B,Wha as H,dia as V}from"./cli-0.6.5-s580r0vs.mjs";import{ppa as Q}from"./cli-0.6.5-bm7v9qp0.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
2
+ export{$ as jh,Y as kh};
@@ -0,0 +1,2 @@
1
+ import{Ou as o,Pu as n}from"./cli-0.6.5-5t6d3asz.mjs";import{ppa as e}from"./cli-0.6.5-bm7v9qp0.mjs";function i(m){t.setState(()=>[...m])}var t,r=()=>t.getState(),d;var s=e(()=>{n();t=o([]),d=t.subscribe});
2
+ export{r as td,d as ud,i as vd,s as wd};