@claudiolabs/claudin 1.1.37 → 1.1.38

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 (805) hide show
  1. package/dist/chunks/App-1.1.38-ywjx5zwg.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.38-g8aaewqn.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.38-3xp2vky0.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.38-ng5ew4f1.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.38-pb4syd5b.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.38-v5m7388w.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.38-7xpy0azc.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.38-8c786cbs.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.38-gsmc5cbg.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.38-34mcvk0g.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.38-4tzaxt0t.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.38-5aqykfy4.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.38-hg33ngjd.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.38-e0dgakf3.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.38-s1stmw8z.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.38-24nb99vc.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.38-ph61hy3h.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.38-waf94h4c.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.38-8zeez0vw.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.38-x67yqx1x.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.38-s7acgm11.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.38-xdxg0v37.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.38-ze3nezmq.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.38-4hejnp0f.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.38-9njmqx1q.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.38-2vgbffh0.mjs +1 -0
  27. package/dist/chunks/agents-1.1.38-p9ee8aj6.mjs +3 -0
  28. package/dist/chunks/agents-1.1.38-td2q9455.mjs +110 -0
  29. package/dist/chunks/api-1.1.38-8mx12h9x.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.38-ge5twq4b.mjs +1 -0
  31. package/dist/chunks/auth-1.1.38-qd9cf36r.mjs +1 -0
  32. package/dist/chunks/auth-1.1.38-z9s1s7ya.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.38-k48yn49s.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.38-akdcfhnr.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.38-x4vhee3g.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.38-bvd35tyn.mjs +1 -0
  37. package/dist/chunks/branch-1.1.38-ne2jsk2x.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.38-vdxahb1p.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.38-yf7zjpvf.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.38-eszbcc63.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.38-ywfxh5hm.mjs +64 -0
  42. package/dist/chunks/bridgePointer-1.1.38-jvevzgc3.mjs +1 -0
  43. package/dist/chunks/btw-1.1.38-hqjfa45a.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.38-rq8ak7jk.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.38-dvwdm93b.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.38-pxpr6at8.mjs +4 -0
  47. package/dist/chunks/caches-1.1.38-mxte3pjs.mjs +1 -0
  48. package/dist/chunks/cd-1.1.38-nj8jwk5n.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.38-94tj322p.mjs +1 -0
  50. package/dist/chunks/claudemd-1.1.38-y4ajc9p8.mjs +1 -0
  51. package/dist/chunks/clear-1.1.38-17hx54za.mjs +1 -0
  52. package/dist/chunks/clearTerminal-1.1.38-e3qy2b07.mjs +1 -0
  53. package/dist/chunks/cli-1.1.38-06jvwc43.mjs +2 -0
  54. package/dist/chunks/cli-1.1.38-0cf6ttc6.mjs +2 -0
  55. package/dist/chunks/cli-1.1.38-0dj1dmtd.mjs +2 -0
  56. package/dist/chunks/cli-1.1.38-0q1t1zs8.mjs +2 -0
  57. package/dist/chunks/cli-1.1.38-0x84gwbc.mjs +2 -0
  58. package/dist/chunks/cli-1.1.38-16r42mm1.mjs +2 -0
  59. package/dist/chunks/cli-1.1.38-1bv62dee.mjs +2 -0
  60. package/dist/chunks/cli-1.1.38-1c3thcc3.mjs +10 -0
  61. package/dist/chunks/cli-1.1.38-1e3jefp8.mjs +2 -0
  62. package/dist/chunks/cli-1.1.38-1jc6vgde.mjs +25 -0
  63. package/dist/chunks/cli-1.1.38-1k5hq477.mjs +2 -0
  64. package/dist/chunks/cli-1.1.38-1kce30qe.mjs +2 -0
  65. package/dist/chunks/cli-1.1.38-1wavwd72.mjs +10 -0
  66. package/dist/chunks/cli-1.1.38-20a2a6n3.mjs +2 -0
  67. package/dist/chunks/cli-1.1.38-21x08w6j.mjs +2 -0
  68. package/dist/chunks/cli-1.1.38-2a4wcbby.mjs +2 -0
  69. package/dist/chunks/cli-1.1.38-2jp2m8e4.mjs +2 -0
  70. package/dist/chunks/cli-1.1.38-2p7f0cx3.mjs +2 -0
  71. package/dist/chunks/cli-1.1.38-2x7b4x0w.mjs +3 -0
  72. package/dist/chunks/cli-1.1.38-2zbkp90c.mjs +2 -0
  73. package/dist/chunks/cli-1.1.38-37he9dkq.mjs +2 -0
  74. package/dist/chunks/cli-1.1.38-38f3b9as.mjs +2 -0
  75. package/dist/chunks/cli-1.1.38-3a7tvcmx.mjs +2 -0
  76. package/dist/chunks/cli-1.1.38-3c43sfc3.mjs +34 -0
  77. package/dist/chunks/cli-1.1.38-3d6qg7yb.mjs +7 -0
  78. package/dist/chunks/cli-1.1.38-3ez6bs0j.mjs +39 -0
  79. package/dist/chunks/cli-1.1.38-3gyfttrt.mjs +2 -0
  80. package/dist/chunks/cli-1.1.38-3j9z8bce.mjs +11 -0
  81. package/dist/chunks/cli-1.1.38-3q70db32.mjs +2 -0
  82. package/dist/chunks/cli-1.1.38-41hbjb5d.mjs +3 -0
  83. package/dist/chunks/cli-1.1.38-44ay6q12.mjs +2 -0
  84. package/dist/chunks/cli-1.1.38-4dvqxnwp.mjs +9 -0
  85. package/dist/chunks/cli-1.1.38-4g2k1n93.mjs +133 -0
  86. package/dist/chunks/cli-1.1.38-4vabm3a1.mjs +2 -0
  87. package/dist/chunks/cli-1.1.38-4wdys8df.mjs +2 -0
  88. package/dist/chunks/cli-1.1.38-4x6r8r0g.mjs +21 -0
  89. package/dist/chunks/cli-1.1.38-5zr9x873.mjs +18 -0
  90. package/dist/chunks/cli-1.1.38-62gxd3va.mjs +2 -0
  91. package/dist/chunks/cli-1.1.38-6dwdjwfe.mjs +2 -0
  92. package/dist/chunks/cli-1.1.38-6g33twaj.mjs +2 -0
  93. package/dist/chunks/cli-1.1.38-6hng9dxr.mjs +2 -0
  94. package/dist/chunks/cli-1.1.38-7a0vpxbg.mjs +7 -0
  95. package/dist/chunks/cli-1.1.38-7vygkwbt.mjs +2 -0
  96. package/dist/chunks/cli-1.1.38-7wqs4198.mjs +2 -0
  97. package/dist/chunks/cli-1.1.38-7y52ea97.mjs +2 -0
  98. package/dist/chunks/cli-1.1.38-7zvbnxfm.mjs +2 -0
  99. package/dist/chunks/cli-1.1.38-839xw74z.mjs +24 -0
  100. package/dist/chunks/cli-1.1.38-8br976cg.mjs +2 -0
  101. package/dist/chunks/cli-1.1.38-8jshtkmf.mjs +2 -0
  102. package/dist/chunks/cli-1.1.38-8m9096qg.mjs +6 -0
  103. package/dist/chunks/cli-1.1.38-91q945ws.mjs +3 -0
  104. package/dist/chunks/cli-1.1.38-92g30wbv.mjs +2 -0
  105. package/dist/chunks/cli-1.1.38-9p14cyab.mjs +2 -0
  106. package/dist/chunks/cli-1.1.38-9x263zph.mjs +10 -0
  107. package/dist/chunks/cli-1.1.38-a2j7607w.mjs +2 -0
  108. package/dist/chunks/cli-1.1.38-a678cgp1.mjs +251 -0
  109. package/dist/chunks/cli-1.1.38-a9wkqach.mjs +2 -0
  110. package/dist/chunks/cli-1.1.38-abavft6n.mjs +6 -0
  111. package/dist/chunks/cli-1.1.38-ac33weys.mjs +2 -0
  112. package/dist/chunks/cli-1.1.38-an3fdzsz.mjs +2 -0
  113. package/dist/chunks/cli-1.1.38-aspnz4m6.mjs +2 -0
  114. package/dist/chunks/cli-1.1.38-axhwttsc.mjs +9 -0
  115. package/dist/chunks/cli-1.1.38-azkppcr1.mjs +2 -0
  116. package/dist/chunks/cli-1.1.38-azv9c3jv.mjs +2 -0
  117. package/dist/chunks/cli-1.1.38-b56dgy8f.mjs +2 -0
  118. package/dist/chunks/cli-1.1.38-c0w5gdqr.mjs +2 -0
  119. package/dist/chunks/cli-1.1.38-c7x1esyq.mjs +6 -0
  120. package/dist/chunks/cli-1.1.38-cmnad0aj.mjs +8 -0
  121. package/dist/chunks/cli-1.1.38-cp5m26rk.mjs +3 -0
  122. package/dist/chunks/cli-1.1.38-cpq50ma6.mjs +15 -0
  123. package/dist/chunks/cli-1.1.38-cq1f1j06.mjs +2 -0
  124. package/dist/chunks/cli-1.1.38-ctcgmvy1.mjs +2 -0
  125. package/dist/chunks/cli-1.1.38-d3xjq2jk.mjs +4 -0
  126. package/dist/chunks/cli-1.1.38-dfcp3asv.mjs +17 -0
  127. package/dist/chunks/cli-1.1.38-dggxcj2x.mjs +2 -0
  128. package/dist/chunks/cli-1.1.38-dxtw8tjv.mjs +2 -0
  129. package/dist/chunks/cli-1.1.38-dz4qs0ht.mjs +2 -0
  130. package/dist/chunks/cli-1.1.38-e09rc4b8.mjs +20 -0
  131. package/dist/chunks/cli-1.1.38-e0q3xyay.mjs +2 -0
  132. package/dist/chunks/cli-1.1.38-e5by1ynv.mjs +6 -0
  133. package/dist/chunks/cli-1.1.38-e6j30tde.mjs +3 -0
  134. package/dist/chunks/cli-1.1.38-e84gxv9a.mjs +2 -0
  135. package/dist/chunks/cli-1.1.38-eafpexwg.mjs +2 -0
  136. package/dist/chunks/cli-1.1.38-exexvj4k.mjs +5 -0
  137. package/dist/chunks/cli-1.1.38-f6be5pxz.mjs +2 -0
  138. package/dist/chunks/cli-1.1.38-f7fq44hz.mjs +2 -0
  139. package/dist/chunks/cli-1.1.38-fembxywm.mjs +2 -0
  140. package/dist/chunks/cli-1.1.38-ffkc8ker.mjs +42 -0
  141. package/dist/chunks/cli-1.1.38-fgwfzs50.mjs +2 -0
  142. package/dist/chunks/cli-1.1.38-fr1kxnk2.mjs +2 -0
  143. package/dist/chunks/cli-1.1.38-frcvjcgw.mjs +2 -0
  144. package/dist/chunks/cli-1.1.38-fyw4xbm7.mjs +3 -0
  145. package/dist/chunks/cli-1.1.38-g94v4hq7.mjs +2 -0
  146. package/dist/chunks/cli-1.1.38-gdcz0rss.mjs +2 -0
  147. package/dist/chunks/cli-1.1.38-gp49bfxk.mjs +2 -0
  148. package/dist/chunks/cli-1.1.38-gqpmcnnv.mjs +15 -0
  149. package/dist/chunks/cli-1.1.38-gtjexepq.mjs +2 -0
  150. package/dist/chunks/cli-1.1.38-h013mt1h.mjs +2 -0
  151. package/dist/chunks/cli-1.1.38-h0643t2a.mjs +63 -0
  152. package/dist/chunks/cli-1.1.38-h1fqbjjb.mjs +2 -0
  153. package/dist/chunks/cli-1.1.38-h2f789qa.mjs +2 -0
  154. package/dist/chunks/cli-1.1.38-h6qtpp5r.mjs +2 -0
  155. package/dist/chunks/cli-1.1.38-h83nx1a5.mjs +2 -0
  156. package/dist/chunks/cli-1.1.38-haa4vwxj.mjs +2 -0
  157. package/dist/chunks/cli-1.1.38-hkbb3sr7.mjs +2 -0
  158. package/dist/chunks/cli-1.1.38-hvc5ed6c.mjs +2 -0
  159. package/dist/chunks/cli-1.1.38-jakpq48k.mjs +2 -0
  160. package/dist/chunks/cli-1.1.38-jr0vb3er.mjs +4 -0
  161. package/dist/chunks/cli-1.1.38-jrf85w1a.mjs +2 -0
  162. package/dist/chunks/cli-1.1.38-ka1w0zwc.mjs +2 -0
  163. package/dist/chunks/cli-1.1.38-kcykd1e5.mjs +2 -0
  164. package/dist/chunks/cli-1.1.38-kjt1gn6d.mjs +135 -0
  165. package/dist/chunks/cli-1.1.38-kns8wjke.mjs +2 -0
  166. package/dist/chunks/cli-1.1.38-kqkm7ndz.mjs +2 -0
  167. package/dist/chunks/cli-1.1.38-m66mmsr6.mjs +2 -0
  168. package/dist/chunks/cli-1.1.38-m9k89rb6.mjs +2 -0
  169. package/dist/chunks/cli-1.1.38-mbfqg6za.mjs +3 -0
  170. package/dist/chunks/cli-1.1.38-md7mbf9q.mjs +2 -0
  171. package/dist/chunks/cli-1.1.38-mh6a6g83.mjs +4 -0
  172. package/dist/chunks/cli-1.1.38-mnr9k9j8.mjs +2 -0
  173. package/dist/chunks/cli-1.1.38-n5tx4p12.mjs +15 -0
  174. package/dist/chunks/cli-1.1.38-n9xftqbp.mjs +2 -0
  175. package/dist/chunks/cli-1.1.38-ndbzsvf1.mjs +4 -0
  176. package/dist/chunks/cli-1.1.38-nmmd7xh9.mjs +4 -0
  177. package/dist/chunks/cli-1.1.38-npc1f8rb.mjs +3 -0
  178. package/dist/chunks/cli-1.1.38-nr3yx2kb.mjs +4 -0
  179. package/dist/chunks/cli-1.1.38-nzbcas3j.mjs +2 -0
  180. package/dist/chunks/cli-1.1.38-pab9ct4p.mjs +2 -0
  181. package/dist/chunks/cli-1.1.38-pah268nz.mjs +2 -0
  182. package/dist/chunks/cli-1.1.38-pdv3syxb.mjs +2 -0
  183. package/dist/chunks/cli-1.1.38-pe2vd8sk.mjs +2 -0
  184. package/dist/chunks/cli-1.1.38-pksnvm8s.mjs +2 -0
  185. package/dist/chunks/cli-1.1.38-pnngv0r7.mjs +2 -0
  186. package/dist/chunks/cli-1.1.38-q3emeb23.mjs +2 -0
  187. package/dist/chunks/cli-1.1.38-q3yhkwkh.mjs +3 -0
  188. package/dist/chunks/cli-1.1.38-q8ewcabe.mjs +2 -0
  189. package/dist/chunks/cli-1.1.38-qackcmc3.mjs +2 -0
  190. package/dist/chunks/cli-1.1.38-qebn65cx.mjs +50 -0
  191. package/dist/chunks/cli-1.1.38-qfpkjbx1.mjs +2 -0
  192. package/dist/chunks/cli-1.1.38-qv0rqvhj.mjs +4 -0
  193. package/dist/chunks/cli-1.1.38-qw1jxc9j.mjs +2 -0
  194. package/dist/chunks/cli-1.1.38-qwkjfytz.mjs +2 -0
  195. package/dist/chunks/cli-1.1.38-qyg5n01q.mjs +2 -0
  196. package/dist/chunks/cli-1.1.38-r3r6jmgz.mjs +2 -0
  197. package/dist/chunks/cli-1.1.38-rp0tsnde.mjs +2 -0
  198. package/dist/chunks/cli-1.1.38-rvjmh1y0.mjs +4 -0
  199. package/dist/chunks/cli-1.1.38-s1nggz9g.mjs +16 -0
  200. package/dist/chunks/cli-1.1.38-s8evhc7a.mjs +2 -0
  201. package/dist/chunks/cli-1.1.38-sjrfgskz.mjs +2 -0
  202. package/dist/chunks/cli-1.1.38-sywjrgh0.mjs +2 -0
  203. package/dist/chunks/cli-1.1.38-t8k5snq9.mjs +24 -0
  204. package/dist/chunks/cli-1.1.38-tk968ykv.mjs +5497 -0
  205. package/dist/chunks/cli-1.1.38-tvh77h3r.mjs +2 -0
  206. package/dist/chunks/cli-1.1.38-v40xwwad.mjs +2 -0
  207. package/dist/chunks/cli-1.1.38-vbxptsq5.mjs +2 -0
  208. package/dist/chunks/cli-1.1.38-wbww08bk.mjs +2 -0
  209. package/dist/chunks/cli-1.1.38-ww8j7xpn.mjs +2 -0
  210. package/dist/chunks/cli-1.1.38-wwezb1bz.mjs +2 -0
  211. package/dist/chunks/cli-1.1.38-x0j2v4e5.mjs +2 -0
  212. package/dist/chunks/cli-1.1.38-xag86y98.mjs +24 -0
  213. package/dist/chunks/cli-1.1.38-xf78kmy6.mjs +2 -0
  214. package/dist/chunks/cli-1.1.38-xpar3nmx.mjs +2 -0
  215. package/dist/chunks/cli-1.1.38-xpjv8r2g.mjs +2 -0
  216. package/dist/chunks/cli-1.1.38-xr1c1bn4.mjs +2 -0
  217. package/dist/chunks/cli-1.1.38-xvwb3d6n.mjs +2 -0
  218. package/dist/chunks/cli-1.1.38-y1w55df3.mjs +2 -0
  219. package/dist/chunks/cli-1.1.38-y3k2y9f2.mjs +2 -0
  220. package/dist/chunks/cli-1.1.38-y57qzkxr.mjs +2 -0
  221. package/dist/chunks/cli-1.1.38-y66mw08s.mjs +2 -0
  222. package/dist/chunks/cli-1.1.38-y79rqp8p.mjs +60 -0
  223. package/dist/chunks/cli-1.1.38-y7ahpffc.mjs +2 -0
  224. package/dist/chunks/cli-1.1.38-yctmyw1a.mjs +25 -0
  225. package/dist/chunks/cli-1.1.38-yfhvhcvt.mjs +5 -0
  226. package/dist/chunks/cli-1.1.38-ygyme6j6.mjs +2 -0
  227. package/dist/chunks/cli-1.1.38-yhp9b0b0.mjs +2 -0
  228. package/dist/chunks/cli-1.1.38-yk5s276s.mjs +2 -0
  229. package/dist/chunks/cli-1.1.38-z02gnn41.mjs +2 -0
  230. package/dist/chunks/cli-1.1.38-z2mnaz67.mjs +2 -0
  231. package/dist/chunks/cli-1.1.38-z6abxdx3.mjs +2 -0
  232. package/dist/chunks/cli-1.1.38-z8x4q5cc.mjs +12 -0
  233. package/dist/chunks/cli-1.1.38-z9faf3ft.mjs +6 -0
  234. package/dist/chunks/cli-1.1.38-zj7fa197.mjs +2 -0
  235. package/dist/chunks/cli-1.1.38-zx5nqvq6.mjs +2 -0
  236. package/dist/chunks/client-1.1.38-7hcrtb3q.mjs +1 -0
  237. package/dist/chunks/color-1.1.38-eqrtxm9k.mjs +1 -0
  238. package/dist/chunks/compact-1.1.38-ya34rk57.mjs +2 -0
  239. package/dist/chunks/config-1.1.38-bbe0h0fj.mjs +1 -0
  240. package/dist/chunks/config-1.1.38-bfaptzc8.mjs +1 -0
  241. package/dist/chunks/constants-1.1.38-yytvwzgs.mjs +1 -0
  242. package/dist/chunks/context-1.1.38-2mgwzmk2.mjs +1 -0
  243. package/dist/chunks/context-noninteractive-1.1.38-8bj0e1ac.mjs +1 -0
  244. package/dist/chunks/conversation-1.1.38-9hdq28pm.mjs +1 -0
  245. package/dist/chunks/copilotHeaders-1.1.38-s4pj5tsz.mjs +1 -0
  246. package/dist/chunks/copy-1.1.38-f83q42a2.mjs +9 -0
  247. package/dist/chunks/cost-1.1.38-8wheqk0q.mjs +1 -0
  248. package/dist/chunks/createSession-1.1.38-m815jqhf.mjs +1 -0
  249. package/dist/chunks/debug-1.1.38-0nc58m79.mjs +1 -0
  250. package/dist/chunks/defaultActionDeps-1.1.38-t4spryyh.mjs +1458 -0
  251. package/dist/chunks/desktop-1.1.38-6tbjry9x.mjs +2 -0
  252. package/dist/chunks/detectRepository-1.1.38-fkd9xdma.mjs +1 -0
  253. package/dist/chunks/detection-1.1.38-21frnq82.mjs +1 -0
  254. package/dist/chunks/diff-1.1.38-bqd4vh6q.mjs +1 -0
  255. package/dist/chunks/doctor-1.1.38-yedjk1t9.mjs +1 -0
  256. package/dist/chunks/doctorDiagnostic-1.1.38-2tq437dy.mjs +1 -0
  257. package/dist/chunks/earlyInput-1.1.38-ag144tcy.mjs +1 -0
  258. package/dist/chunks/effort-1.1.38-w8zmwjyn.mjs +13 -0
  259. package/dist/chunks/engine-1.1.38-9p06hk6t.mjs +1 -0
  260. package/dist/chunks/envUtils-1.1.38-0x5t3jcn.mjs +1 -0
  261. package/dist/chunks/errors-1.1.38-x5yfskn2.mjs +1 -0
  262. package/dist/chunks/exampleCommands-1.1.38-j3f50kg4.mjs +1 -0
  263. package/dist/chunks/execFileNoThrow-1.1.38-vtsaz9ex.mjs +1 -0
  264. package/dist/chunks/exit-1.1.38-2az07cgq.mjs +1 -0
  265. package/dist/chunks/explorer-1.1.38-f8v6fw0n.mjs +1 -0
  266. package/dist/chunks/export-1.1.38-ryfsevs9.mjs +2 -0
  267. package/dist/chunks/fast-1.1.38-pqjeb7br.mjs +1 -0
  268. package/dist/chunks/feedback-1.1.38-a735me7a.mjs +16 -0
  269. package/dist/chunks/git-1.1.38-ea24mp87.mjs +1 -0
  270. package/dist/chunks/githubModelsCredentials-1.1.38-mrk9kw4h.mjs +1 -0
  271. package/dist/chunks/goal-1.1.38-t7b2x0m7.mjs +4 -0
  272. package/dist/chunks/headless-1.1.38-xa7n2h6a.mjs +2 -0
  273. package/dist/chunks/heapdump-1.1.38-0kkahje0.mjs +6 -0
  274. package/dist/chunks/help-1.1.38-c6fc5w2g.mjs +1 -0
  275. package/dist/chunks/hooks-1.1.38-020dm4m5.mjs +79 -0
  276. package/dist/chunks/hooks-1.1.38-d6nx1th8.mjs +1 -0
  277. package/dist/chunks/ide-1.1.38-w88jdkwh.mjs +3 -0
  278. package/dist/chunks/image-processor-napi-1.1.38-dr7f0p7d.mjs +1 -0
  279. package/dist/chunks/import-1.1.38-tjgkgqtj.mjs +260 -0
  280. package/dist/chunks/inboundAttachments-1.1.38-96y0me8c.mjs +1 -0
  281. package/dist/chunks/index-1.1.38-0p1da46q.mjs +1 -0
  282. package/dist/chunks/index-1.1.38-0vkksyqf.mjs +1 -0
  283. package/dist/chunks/index-1.1.38-32wb94y5.mjs +1 -0
  284. package/dist/chunks/index-1.1.38-b7v4mc41.mjs +1 -0
  285. package/dist/chunks/index-1.1.38-d5147beb.mjs +1 -0
  286. package/dist/chunks/index-1.1.38-e7f6p4gc.mjs +2 -0
  287. package/dist/chunks/index-1.1.38-fmvxdssr.mjs +1 -0
  288. package/dist/chunks/index-1.1.38-fx4e6n5y.mjs +9 -0
  289. package/dist/chunks/index-1.1.38-g6wrndbn.mjs +1 -0
  290. package/dist/chunks/index-1.1.38-h6safnqh.mjs +1 -0
  291. package/dist/chunks/index-1.1.38-he0r1v5h.mjs +1 -0
  292. package/dist/chunks/index-1.1.38-nqht0jy4.mjs +1 -0
  293. package/dist/chunks/index-1.1.38-nzxyzk3n.mjs +1 -0
  294. package/dist/chunks/index-1.1.38-psktz1tc.mjs +23 -0
  295. package/dist/chunks/index-1.1.38-r550x6ay.mjs +2 -0
  296. package/dist/chunks/index-1.1.38-t56hya6b.mjs +9 -0
  297. package/dist/chunks/index-1.1.38-t8ehet13.mjs +1 -0
  298. package/dist/chunks/index-1.1.38-trn75xj8.mjs +1 -0
  299. package/dist/chunks/index-1.1.38-tz1ab367.mjs +1 -0
  300. package/dist/chunks/index-1.1.38-wj6bvgqh.mjs +1 -0
  301. package/dist/chunks/index-1.1.38-wwvwtd47.mjs +30 -0
  302. package/dist/chunks/index-1.1.38-x4crzvcp.mjs +5 -0
  303. package/dist/chunks/index-1.1.38-xwfqwn8f.mjs +1 -0
  304. package/dist/chunks/init-1.1.38-kt9fktc1.mjs +2 -0
  305. package/dist/chunks/initReplBridge-1.1.38-89egcf9a.mjs +1 -0
  306. package/dist/chunks/ink-1.1.38-jgsp2t7f.mjs +1 -0
  307. package/dist/chunks/insights-1.1.38-hq19aerm.mjs +870 -0
  308. package/dist/chunks/install-1.1.38-gyyxk8ck.mjs +1 -0
  309. package/dist/chunks/install-github-app-1.1.38-f2jf37sk.mjs +149 -0
  310. package/dist/chunks/install-slack-app-1.1.38-tset69kh.mjs +1 -0
  311. package/dist/chunks/interactiveHelpers-1.1.38-m06ry3jx.mjs +1 -0
  312. package/dist/chunks/latestVersionCache-1.1.38-1c7vvamf.mjs +1 -0
  313. package/dist/chunks/loadAgentsDir-1.1.38-0bgzxgy4.mjs +1 -0
  314. package/dist/chunks/loadPluginHooks-1.1.38-07neaje5.mjs +1 -0
  315. package/dist/chunks/log-1.1.38-7yxczk1m.mjs +1 -0
  316. package/dist/chunks/main-1.1.38-ckkpf6pm.mjs +1 -0
  317. package/dist/chunks/managedEnv-1.1.38-wgkdf5th.mjs +1 -0
  318. package/dist/chunks/mcp-1.1.38-5g1dkaq3.mjs +4 -0
  319. package/dist/chunks/mcp-1.1.38-pv2q4v1t.mjs +1 -0
  320. package/dist/chunks/mcp-1.1.38-rw32ezwj.mjs +17 -0
  321. package/dist/chunks/mcpb-1.1.38-2j8knvey.mjs +1 -0
  322. package/dist/chunks/memory-1.1.38-ee240zz4.mjs +128 -0
  323. package/dist/chunks/model-1.1.38-0ap9xmp3.mjs +1 -0
  324. package/dist/chunks/model-1.1.38-5qmke302.mjs +2 -0
  325. package/dist/chunks/new-1.1.38-ahnzb47c.mjs +1 -0
  326. package/dist/chunks/node-1.1.38-8hxn3e6r.mjs +15 -0
  327. package/dist/chunks/node-1.1.38-v0zbmtyr.mjs +1 -0
  328. package/dist/chunks/oauth-1.1.38-5me1vtg3.mjs +1 -0
  329. package/dist/chunks/openaiShim-1.1.38-12snq1gc.mjs +14 -0
  330. package/dist/chunks/output-style-1.1.38-zb5mtnss.mjs +1 -0
  331. package/dist/chunks/package-V72LKFNW-1.1.38-q7hcwdtx.mjs +1 -0
  332. package/dist/chunks/permissions-1.1.38-5kw7w85c.mjs +1 -0
  333. package/dist/chunks/permissions-1.1.38-nk2ndszr.mjs +3 -0
  334. package/dist/chunks/plan-1.1.38-z3dqqjh7.mjs +1 -0
  335. package/dist/chunks/plist-1.1.38-56sqgq6h.mjs +1 -0
  336. package/dist/chunks/plugin-1.1.38-03de52xp.mjs +29 -0
  337. package/dist/chunks/pluginStartupCheck-1.1.38-0v5j57bh.mjs +1 -0
  338. package/dist/chunks/plugins-1.1.38-zmnat29k.mjs +9 -0
  339. package/dist/chunks/preActionHook-1.1.38-s4pt4ahn.mjs +2 -0
  340. package/dist/chunks/print-1.1.38-9ar632da.mjs +57 -0
  341. package/dist/chunks/process-1.1.38-ndydtgs9.mjs +1 -0
  342. package/dist/chunks/processBashCommand-1.1.38-xj8xy6j7.mjs +1 -0
  343. package/dist/chunks/processSlashCommand-1.1.38-rq94k8j4.mjs +9 -0
  344. package/dist/chunks/prompt-1.1.38-q5jst5dw.mjs +1 -0
  345. package/dist/chunks/prompt-1.1.38-qwzt31qc.mjs +1 -0
  346. package/dist/chunks/prompts-1.1.38-brvz08qv.mjs +1 -0
  347. package/dist/chunks/provider-1.1.38-zvnh7rf6.mjs +2 -0
  348. package/dist/chunks/providerProfiles-1.1.38-a0jrr70y.mjs +1 -0
  349. package/dist/chunks/providerValidation-1.1.38-qj7m9ae0.mjs +6 -0
  350. package/dist/chunks/registerSubcommands-1.1.38-kn98yfrh.mjs +26 -0
  351. package/dist/chunks/registry-1.1.38-02xa1gxq.mjs +1 -0
  352. package/dist/chunks/release-notes-1.1.38-kmxj255k.mjs +5 -0
  353. package/dist/chunks/reload-plugins-1.1.38-n429fwj8.mjs +2 -0
  354. package/dist/chunks/remote-env-1.1.38-4ecvn8ra.mjs +1 -0
  355. package/dist/chunks/rename-1.1.38-ah715pv0.mjs +1 -0
  356. package/dist/chunks/replLauncher-1.1.38-d6n16rnp.mjs +1 -0
  357. package/dist/chunks/resume-1.1.38-tv3f819g.mjs +2 -0
  358. package/dist/chunks/rewind-1.1.38-6wc124dk.mjs +1 -0
  359. package/dist/chunks/rootOptions-1.1.38-d7ta609y.mjs +1 -0
  360. package/dist/chunks/runWorkflowHeadless-1.1.38-n01n145x.mjs +10 -0
  361. package/dist/chunks/sandbox-adapter-1.1.38-pyjs3awv.mjs +1 -0
  362. package/dist/chunks/sandbox-toggle-1.1.38-54tec9n4.mjs +1 -0
  363. package/dist/chunks/session-1.1.38-d20mp4b0.mjs +2 -0
  364. package/dist/chunks/sessionStorage-1.1.38-44je31rv.mjs +1 -0
  365. package/dist/chunks/settings-1.1.38-x6fb5kk1.mjs +1 -0
  366. package/dist/chunks/setup-1.1.38-cryd3k7j.mjs +12 -0
  367. package/dist/chunks/sinks-1.1.38-xt06cywv.mjs +1 -0
  368. package/dist/chunks/skills-1.1.38-7kbrgpe5.mjs +1 -0
  369. package/dist/chunks/startupProfiler-1.1.38-w24hm0h1.mjs +1 -0
  370. package/dist/chunks/startupUpdateCheck-1.1.38-pmp6wqj9.mjs +1 -0
  371. package/dist/chunks/state-1.1.38-ttzekhjw.mjs +1 -0
  372. package/dist/chunks/stats-1.1.38-w347vz1w.mjs +1 -0
  373. package/dist/chunks/status-1.1.38-h7pzkbmj.mjs +1 -0
  374. package/dist/chunks/stickers-1.1.38-p6n5mskj.mjs +1 -0
  375. package/dist/chunks/subprocessEnv-1.1.38-3b6nr5kd.mjs +1 -0
  376. package/dist/chunks/tasks-1.1.38-jrznh7eb.mjs +1 -0
  377. package/dist/chunks/teamHelpers-1.1.38-b920q217.mjs +1 -0
  378. package/dist/chunks/teammateModeSnapshot-1.1.38-30rjbjkp.mjs +1 -0
  379. package/dist/chunks/teleport-1.1.38-kqj15kwz.mjs +1 -0
  380. package/dist/chunks/terminalSetup-1.1.38-a1j9tav3.mjs +1 -0
  381. package/dist/chunks/theme-1.1.38-zqgshtd8.mjs +1 -0
  382. package/dist/chunks/toolPool-1.1.38-rjxnejc9.mjs +1 -0
  383. package/dist/chunks/toolSearch-1.1.38-bsgpwrqw.mjs +1 -0
  384. package/dist/chunks/tools-1.1.38-hphgtq98.mjs +1 -0
  385. package/dist/chunks/turndown.cjs-1.1.38-6zmefgdf.mjs +69 -0
  386. package/dist/chunks/types-1.1.38-yaz6xzxg.mjs +1 -0
  387. package/dist/chunks/update-1.1.38-qkmfgy3f.mjs +72 -0
  388. package/dist/chunks/upload-1.1.38-25jm1g5x.mjs +7 -0
  389. package/dist/chunks/upstreamproxy-1.1.38-kdzcx35q.mjs +14 -0
  390. package/dist/chunks/usage-1.1.38-17yqaf62.mjs +1 -0
  391. package/dist/chunks/util-1.1.38-e3nemqk5.mjs +1 -0
  392. package/dist/chunks/utils-1.1.38-709jv8e9.mjs +1 -0
  393. package/dist/chunks/vim-1.1.38-jtz13d73.mjs +1 -0
  394. package/dist/chunks/watchLoop-1.1.38-fb6heqjg.mjs +13 -0
  395. package/dist/chunks/wiki-1.1.38-fpkcyk67.mjs +132 -0
  396. package/dist/chunks/workflows-1.1.38-mj7dax7d.mjs +1 -0
  397. package/dist/chunks/worktree-1.1.38-9zf6zp7r.mjs +1 -0
  398. package/dist/chunks/worktreeModeEnabled-1.1.38-01veveaw.mjs +1 -0
  399. package/dist/chunks/wrapper-1.1.38-7cvdwcn2.mjs +7 -0
  400. package/dist/cli.mjs +2 -2
  401. package/dist/help.txt +1 -1
  402. package/package.json +9 -9
  403. package/dist/chunks/App-1.1.37-gvacrdsk.mjs +0 -1
  404. package/dist/chunks/ApproveApiKey-1.1.37-rnnbn40a.mjs +0 -1
  405. package/dist/chunks/AutoModeOptInDialog-1.1.37-g6ta4m2v.mjs +0 -1
  406. package/dist/chunks/BypassPermissionsModeDialog-1.1.37-pk4aghdz.mjs +0 -1
  407. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.37-hymvtk1w.mjs +0 -1
  408. package/dist/chunks/ConsoleOAuthFlow-1.1.37-p8fwd4tm.mjs +0 -1
  409. package/dist/chunks/DiffDialog-1.1.37-hb26z7b7.mjs +0 -6
  410. package/dist/chunks/Doctor-1.1.37-g60gf1vr.mjs +0 -1
  411. package/dist/chunks/ExplorerDialog-1.1.37-w0ek8efz.mjs +0 -6
  412. package/dist/chunks/ITermBackend-1.1.37-tp4qnkf7.mjs +0 -1
  413. package/dist/chunks/InvalidConfigDialog-1.1.37-5ds363er.mjs +0 -1
  414. package/dist/chunks/InvalidSettingsDialog-1.1.37-qaz2nf35.mjs +0 -1
  415. package/dist/chunks/MigrationDialog-1.1.37-cxe5gn9z.mjs +0 -1
  416. package/dist/chunks/Onboarding-1.1.37-jsrbvfaa.mjs +0 -1
  417. package/dist/chunks/ProviderManager-1.1.37-kmfet3bc.mjs +0 -1
  418. package/dist/chunks/REPL-1.1.37-mx8g4asq.mjs +0 -1
  419. package/dist/chunks/ResumeConversation-1.1.37-1j1egpzv.mjs +0 -1
  420. package/dist/chunks/TeleportProgress-1.1.37-s6gpj3tk.mjs +0 -1
  421. package/dist/chunks/TeleportRepoMismatchDialog-1.1.37-06r6s8k3.mjs +0 -1
  422. package/dist/chunks/TeleportResumeWrapper-1.1.37-vk5478hq.mjs +0 -1
  423. package/dist/chunks/TmuxBackend-1.1.37-08ypek7f.mjs +0 -9
  424. package/dist/chunks/ToolSearchTool-1.1.37-j3j1tnac.mjs +0 -1
  425. package/dist/chunks/TrustDialog-1.1.37-dy4r3sef.mjs +0 -1
  426. package/dist/chunks/activeProvider-1.1.37-r4p9gt6p.mjs +0 -1
  427. package/dist/chunks/add-dir-1.1.37-hsgnnqm5.mjs +0 -1
  428. package/dist/chunks/agentTypes-1.1.37-e0zrjgxd.mjs +0 -1
  429. package/dist/chunks/agents-1.1.37-770krh9a.mjs +0 -110
  430. package/dist/chunks/agents-1.1.37-n5gk09na.mjs +0 -3
  431. package/dist/chunks/api-1.1.37-bwy6n0v8.mjs +0 -1
  432. package/dist/chunks/asciicast-1.1.37-t7zpdmt1.mjs +0 -1
  433. package/dist/chunks/auth-1.1.37-apskerg1.mjs +0 -1
  434. package/dist/chunks/auth-1.1.37-t0yjn0qg.mjs +0 -1
  435. package/dist/chunks/autoMode-1.1.37-a94rgbvb.mjs +0 -52
  436. package/dist/chunks/autoModeSetup-1.1.37-8g5tdnzc.mjs +0 -44
  437. package/dist/chunks/autoUpdater-1.1.37-pe8hzmys.mjs +0 -1
  438. package/dist/chunks/backgroundHousekeeping-1.1.37-r98mdthk.mjs +0 -1
  439. package/dist/chunks/branch-1.1.37-1a761dqp.mjs +0 -4
  440. package/dist/chunks/bridge-1.1.37-djx2nh0s.mjs +0 -2
  441. package/dist/chunks/bridgeConfig-1.1.37-wsz2v4gw.mjs +0 -1
  442. package/dist/chunks/bridgeEnabled-1.1.37-pht9tpgd.mjs +0 -1
  443. package/dist/chunks/bridgeMain-1.1.37-btaaq723.mjs +0 -64
  444. package/dist/chunks/bridgePointer-1.1.37-97bjx2gt.mjs +0 -1
  445. package/dist/chunks/btw-1.1.37-kzbnzfwv.mjs +0 -1
  446. package/dist/chunks/buddy-1.1.37-r155thdv.mjs +0 -3
  447. package/dist/chunks/cache-probe-1.1.37-szdjedc6.mjs +0 -21
  448. package/dist/chunks/cacheStats-1.1.37-zcq6bfv7.mjs +0 -4
  449. package/dist/chunks/caches-1.1.37-m3bsp8q4.mjs +0 -1
  450. package/dist/chunks/cd-1.1.37-bgh3jr0j.mjs +0 -3
  451. package/dist/chunks/claudeDesktop-1.1.37-d5rmp7j9.mjs +0 -1
  452. package/dist/chunks/claudemd-1.1.37-zqxz2brp.mjs +0 -1
  453. package/dist/chunks/clear-1.1.37-a28jd9f5.mjs +0 -1
  454. package/dist/chunks/clearTerminal-1.1.37-1vwtn9rv.mjs +0 -1
  455. package/dist/chunks/cli-1.1.37-07v28734.mjs +0 -24
  456. package/dist/chunks/cli-1.1.37-0g18ppvn.mjs +0 -2
  457. package/dist/chunks/cli-1.1.37-0t8trtcs.mjs +0 -135
  458. package/dist/chunks/cli-1.1.37-160hvn22.mjs +0 -2
  459. package/dist/chunks/cli-1.1.37-16r2w6eh.mjs +0 -2
  460. package/dist/chunks/cli-1.1.37-16ycb15m.mjs +0 -2
  461. package/dist/chunks/cli-1.1.37-1esm8vyn.mjs +0 -2
  462. package/dist/chunks/cli-1.1.37-1nx0h24b.mjs +0 -34
  463. package/dist/chunks/cli-1.1.37-1sn4ganc.mjs +0 -6
  464. package/dist/chunks/cli-1.1.37-22erav9m.mjs +0 -2
  465. package/dist/chunks/cli-1.1.37-240c02km.mjs +0 -4
  466. package/dist/chunks/cli-1.1.37-26cht952.mjs +0 -4
  467. package/dist/chunks/cli-1.1.37-2gsgt0yq.mjs +0 -2
  468. package/dist/chunks/cli-1.1.37-2xne39h9.mjs +0 -6
  469. package/dist/chunks/cli-1.1.37-37swmf5n.mjs +0 -2
  470. package/dist/chunks/cli-1.1.37-39bw2pz6.mjs +0 -2
  471. package/dist/chunks/cli-1.1.37-3j7g0j34.mjs +0 -2
  472. package/dist/chunks/cli-1.1.37-3k4d07av.mjs +0 -2
  473. package/dist/chunks/cli-1.1.37-3pyzesy7.mjs +0 -2
  474. package/dist/chunks/cli-1.1.37-41q5f236.mjs +0 -63
  475. package/dist/chunks/cli-1.1.37-45phxq6t.mjs +0 -2
  476. package/dist/chunks/cli-1.1.37-46pcgpjk.mjs +0 -5
  477. package/dist/chunks/cli-1.1.37-4829k99z.mjs +0 -8
  478. package/dist/chunks/cli-1.1.37-4cwzzzkp.mjs +0 -2
  479. package/dist/chunks/cli-1.1.37-4cyg3kha.mjs +0 -15
  480. package/dist/chunks/cli-1.1.37-4s29t03n.mjs +0 -2
  481. package/dist/chunks/cli-1.1.37-519yanf4.mjs +0 -2
  482. package/dist/chunks/cli-1.1.37-51efrsrh.mjs +0 -2
  483. package/dist/chunks/cli-1.1.37-58pbecmv.mjs +0 -2
  484. package/dist/chunks/cli-1.1.37-5gj77q8j.mjs +0 -2
  485. package/dist/chunks/cli-1.1.37-5k40cazp.mjs +0 -2
  486. package/dist/chunks/cli-1.1.37-5ppknhpq.mjs +0 -50
  487. package/dist/chunks/cli-1.1.37-67ncf860.mjs +0 -2
  488. package/dist/chunks/cli-1.1.37-6k9f1kb2.mjs +0 -6
  489. package/dist/chunks/cli-1.1.37-6pcx2j1q.mjs +0 -2
  490. package/dist/chunks/cli-1.1.37-72ezs6b8.mjs +0 -2
  491. package/dist/chunks/cli-1.1.37-7483gf56.mjs +0 -3
  492. package/dist/chunks/cli-1.1.37-7614bfhm.mjs +0 -25
  493. package/dist/chunks/cli-1.1.37-7f3hdq3p.mjs +0 -2
  494. package/dist/chunks/cli-1.1.37-7h3edez5.mjs +0 -2
  495. package/dist/chunks/cli-1.1.37-7prgb5qb.mjs +0 -2
  496. package/dist/chunks/cli-1.1.37-7qda9cmg.mjs +0 -2
  497. package/dist/chunks/cli-1.1.37-8n5vy3kh.mjs +0 -2
  498. package/dist/chunks/cli-1.1.37-8v3e4pnr.mjs +0 -2
  499. package/dist/chunks/cli-1.1.37-8wfxbqcm.mjs +0 -20
  500. package/dist/chunks/cli-1.1.37-944j3qt1.mjs +0 -2
  501. package/dist/chunks/cli-1.1.37-94bfnv5a.mjs +0 -2
  502. package/dist/chunks/cli-1.1.37-96sf5t1p.mjs +0 -2
  503. package/dist/chunks/cli-1.1.37-9x24mgyx.mjs +0 -2
  504. package/dist/chunks/cli-1.1.37-a3xp4gqs.mjs +0 -3
  505. package/dist/chunks/cli-1.1.37-a489vqjv.mjs +0 -2
  506. package/dist/chunks/cli-1.1.37-a5ddx2f0.mjs +0 -2
  507. package/dist/chunks/cli-1.1.37-a6pppj4k.mjs +0 -2
  508. package/dist/chunks/cli-1.1.37-a7jrq85d.mjs +0 -2
  509. package/dist/chunks/cli-1.1.37-ayhzfa69.mjs +0 -2
  510. package/dist/chunks/cli-1.1.37-ayqpwfm4.mjs +0 -2
  511. package/dist/chunks/cli-1.1.37-b26at90a.mjs +0 -4
  512. package/dist/chunks/cli-1.1.37-be0x6tdq.mjs +0 -18
  513. package/dist/chunks/cli-1.1.37-bkp0a6f1.mjs +0 -2
  514. package/dist/chunks/cli-1.1.37-cmbtcpwy.mjs +0 -2
  515. package/dist/chunks/cli-1.1.37-crpgw5qe.mjs +0 -133
  516. package/dist/chunks/cli-1.1.37-cw718qh8.mjs +0 -42
  517. package/dist/chunks/cli-1.1.37-d1fcgxg0.mjs +0 -2
  518. package/dist/chunks/cli-1.1.37-d23vxnm9.mjs +0 -2
  519. package/dist/chunks/cli-1.1.37-d6n91ex7.mjs +0 -15
  520. package/dist/chunks/cli-1.1.37-dj2tqhmt.mjs +0 -2
  521. package/dist/chunks/cli-1.1.37-dt1m5cht.mjs +0 -2
  522. package/dist/chunks/cli-1.1.37-ecm5tm4s.mjs +0 -2
  523. package/dist/chunks/cli-1.1.37-ekft3ygw.mjs +0 -2
  524. package/dist/chunks/cli-1.1.37-ev14s3y6.mjs +0 -4
  525. package/dist/chunks/cli-1.1.37-ex5tn3t8.mjs +0 -6
  526. package/dist/chunks/cli-1.1.37-f4cc288j.mjs +0 -2
  527. package/dist/chunks/cli-1.1.37-f7e57y66.mjs +0 -2
  528. package/dist/chunks/cli-1.1.37-f9mv7jky.mjs +0 -2
  529. package/dist/chunks/cli-1.1.37-fdkc3sf9.mjs +0 -2
  530. package/dist/chunks/cli-1.1.37-fksjv0et.mjs +0 -2
  531. package/dist/chunks/cli-1.1.37-fsjyvbbb.mjs +0 -2
  532. package/dist/chunks/cli-1.1.37-g7m905sy.mjs +0 -3
  533. package/dist/chunks/cli-1.1.37-g9d8qc79.mjs +0 -2
  534. package/dist/chunks/cli-1.1.37-gfbpxehy.mjs +0 -2
  535. package/dist/chunks/cli-1.1.37-gpk56nss.mjs +0 -2
  536. package/dist/chunks/cli-1.1.37-grsmntjy.mjs +0 -5557
  537. package/dist/chunks/cli-1.1.37-gswxz7xc.mjs +0 -25
  538. package/dist/chunks/cli-1.1.37-h0jx10pf.mjs +0 -11
  539. package/dist/chunks/cli-1.1.37-h4spe8tn.mjs +0 -16
  540. package/dist/chunks/cli-1.1.37-h7r11vsm.mjs +0 -15
  541. package/dist/chunks/cli-1.1.37-he99jbx1.mjs +0 -2
  542. package/dist/chunks/cli-1.1.37-hef24tpw.mjs +0 -3
  543. package/dist/chunks/cli-1.1.37-hgz1n58h.mjs +0 -2
  544. package/dist/chunks/cli-1.1.37-htprtn3s.mjs +0 -2
  545. package/dist/chunks/cli-1.1.37-hwan9xgw.mjs +0 -2
  546. package/dist/chunks/cli-1.1.37-j1vf4g9d.mjs +0 -4
  547. package/dist/chunks/cli-1.1.37-j6kremq2.mjs +0 -2
  548. package/dist/chunks/cli-1.1.37-jb5tx7mz.mjs +0 -2
  549. package/dist/chunks/cli-1.1.37-jbqk7r70.mjs +0 -2
  550. package/dist/chunks/cli-1.1.37-jfqs1fqm.mjs +0 -2
  551. package/dist/chunks/cli-1.1.37-jr1vseya.mjs +0 -4
  552. package/dist/chunks/cli-1.1.37-jr69vbpp.mjs +0 -3
  553. package/dist/chunks/cli-1.1.37-jv2bhmv9.mjs +0 -2
  554. package/dist/chunks/cli-1.1.37-jz75ctqt.mjs +0 -4
  555. package/dist/chunks/cli-1.1.37-kahw2epk.mjs +0 -39
  556. package/dist/chunks/cli-1.1.37-kb946f3c.mjs +0 -2
  557. package/dist/chunks/cli-1.1.37-kemsps6y.mjs +0 -60
  558. package/dist/chunks/cli-1.1.37-khfxdt5q.mjs +0 -2
  559. package/dist/chunks/cli-1.1.37-kn42c81a.mjs +0 -3
  560. package/dist/chunks/cli-1.1.37-kwaccfak.mjs +0 -2
  561. package/dist/chunks/cli-1.1.37-m1fep5be.mjs +0 -2
  562. package/dist/chunks/cli-1.1.37-m456xrwv.mjs +0 -2
  563. package/dist/chunks/cli-1.1.37-m5yt8y0j.mjs +0 -2
  564. package/dist/chunks/cli-1.1.37-m6gntr6v.mjs +0 -2
  565. package/dist/chunks/cli-1.1.37-ma9krcyk.mjs +0 -2
  566. package/dist/chunks/cli-1.1.37-mexv9k9t.mjs +0 -2
  567. package/dist/chunks/cli-1.1.37-mf2q6gmp.mjs +0 -2
  568. package/dist/chunks/cli-1.1.37-mqc9bwxe.mjs +0 -2
  569. package/dist/chunks/cli-1.1.37-mrvnfwyz.mjs +0 -2
  570. package/dist/chunks/cli-1.1.37-mw2jz1zw.mjs +0 -7
  571. package/dist/chunks/cli-1.1.37-n183zk9b.mjs +0 -24
  572. package/dist/chunks/cli-1.1.37-n5rtec8d.mjs +0 -2
  573. package/dist/chunks/cli-1.1.37-n96tca8q.mjs +0 -2
  574. package/dist/chunks/cli-1.1.37-ncfrm58b.mjs +0 -2
  575. package/dist/chunks/cli-1.1.37-nhcj6483.mjs +0 -2
  576. package/dist/chunks/cli-1.1.37-nmaxyg7j.mjs +0 -2
  577. package/dist/chunks/cli-1.1.37-nzbxb3mg.mjs +0 -2
  578. package/dist/chunks/cli-1.1.37-p6s3mz30.mjs +0 -9
  579. package/dist/chunks/cli-1.1.37-pek0pwba.mjs +0 -2
  580. package/dist/chunks/cli-1.1.37-ptf1j7na.mjs +0 -2
  581. package/dist/chunks/cli-1.1.37-pvh445g5.mjs +0 -3
  582. package/dist/chunks/cli-1.1.37-pw36zafa.mjs +0 -2
  583. package/dist/chunks/cli-1.1.37-q1053cc2.mjs +0 -17
  584. package/dist/chunks/cli-1.1.37-qcn1j79h.mjs +0 -2
  585. package/dist/chunks/cli-1.1.37-qq29akkh.mjs +0 -2
  586. package/dist/chunks/cli-1.1.37-qx20qhv7.mjs +0 -2
  587. package/dist/chunks/cli-1.1.37-rdmqbzqh.mjs +0 -2
  588. package/dist/chunks/cli-1.1.37-rwsh9ddm.mjs +0 -3
  589. package/dist/chunks/cli-1.1.37-ryrmx9mz.mjs +0 -10
  590. package/dist/chunks/cli-1.1.37-s09fpmwg.mjs +0 -2
  591. package/dist/chunks/cli-1.1.37-s66bx6wx.mjs +0 -24
  592. package/dist/chunks/cli-1.1.37-sf9mv58v.mjs +0 -10
  593. package/dist/chunks/cli-1.1.37-sm7wj6sf.mjs +0 -4
  594. package/dist/chunks/cli-1.1.37-sqyyjrzq.mjs +0 -5
  595. package/dist/chunks/cli-1.1.37-ss1k0v1c.mjs +0 -2
  596. package/dist/chunks/cli-1.1.37-ssstmvw3.mjs +0 -3
  597. package/dist/chunks/cli-1.1.37-sxzqtyda.mjs +0 -2
  598. package/dist/chunks/cli-1.1.37-syfanvjj.mjs +0 -2
  599. package/dist/chunks/cli-1.1.37-sygz2s62.mjs +0 -2
  600. package/dist/chunks/cli-1.1.37-tkdarzaz.mjs +0 -2
  601. package/dist/chunks/cli-1.1.37-tntw41wr.mjs +0 -2
  602. package/dist/chunks/cli-1.1.37-tqgcfdy1.mjs +0 -2
  603. package/dist/chunks/cli-1.1.37-v43zxjn1.mjs +0 -2
  604. package/dist/chunks/cli-1.1.37-v7ra9bdg.mjs +0 -10
  605. package/dist/chunks/cli-1.1.37-v901k2xy.mjs +0 -2
  606. package/dist/chunks/cli-1.1.37-v90enr9t.mjs +0 -2
  607. package/dist/chunks/cli-1.1.37-vfcg5s15.mjs +0 -2
  608. package/dist/chunks/cli-1.1.37-vg7rr3sv.mjs +0 -2
  609. package/dist/chunks/cli-1.1.37-vhmf8afh.mjs +0 -2
  610. package/dist/chunks/cli-1.1.37-vhmsvame.mjs +0 -2
  611. package/dist/chunks/cli-1.1.37-vrdgh1e0.mjs +0 -2
  612. package/dist/chunks/cli-1.1.37-w0tvj01c.mjs +0 -2
  613. package/dist/chunks/cli-1.1.37-wm28b2wb.mjs +0 -2
  614. package/dist/chunks/cli-1.1.37-wv9phckk.mjs +0 -9
  615. package/dist/chunks/cli-1.1.37-x03y4qkg.mjs +0 -2
  616. package/dist/chunks/cli-1.1.37-x0nz472y.mjs +0 -2
  617. package/dist/chunks/cli-1.1.37-x27pf2df.mjs +0 -2
  618. package/dist/chunks/cli-1.1.37-x363x6yv.mjs +0 -12
  619. package/dist/chunks/cli-1.1.37-xqs4w5xj.mjs +0 -2
  620. package/dist/chunks/cli-1.1.37-xxa2yvvm.mjs +0 -2
  621. package/dist/chunks/cli-1.1.37-y101rdsg.mjs +0 -2
  622. package/dist/chunks/cli-1.1.37-y2c4zsfh.mjs +0 -6
  623. package/dist/chunks/cli-1.1.37-y3knvtaz.mjs +0 -2
  624. package/dist/chunks/cli-1.1.37-ye5hkqff.mjs +0 -2
  625. package/dist/chunks/cli-1.1.37-yx7j10g7.mjs +0 -2
  626. package/dist/chunks/cli-1.1.37-z0tedaby.mjs +0 -2
  627. package/dist/chunks/cli-1.1.37-z414tkgs.mjs +0 -2
  628. package/dist/chunks/cli-1.1.37-z4wav0zf.mjs +0 -251
  629. package/dist/chunks/cli-1.1.37-z6pkdynf.mjs +0 -2
  630. package/dist/chunks/cli-1.1.37-z9fbkmx6.mjs +0 -2
  631. package/dist/chunks/cli-1.1.37-zb319x4t.mjs +0 -21
  632. package/dist/chunks/cli-1.1.37-zdpyj00a.mjs +0 -2
  633. package/dist/chunks/cli-1.1.37-zmvkkbkz.mjs +0 -2
  634. package/dist/chunks/cli-1.1.37-zp02yw3a.mjs +0 -7
  635. package/dist/chunks/cli-1.1.37-zv5qmddr.mjs +0 -2
  636. package/dist/chunks/cli-1.1.37-zyh3q51q.mjs +0 -2
  637. package/dist/chunks/client-1.1.37-xgmkbazy.mjs +0 -1
  638. package/dist/chunks/color-1.1.37-y730edtg.mjs +0 -1
  639. package/dist/chunks/compact-1.1.37-w4h4spv3.mjs +0 -2
  640. package/dist/chunks/config-1.1.37-kw2by168.mjs +0 -1
  641. package/dist/chunks/config-1.1.37-nxkma2y7.mjs +0 -1
  642. package/dist/chunks/constants-1.1.37-ctp81rsa.mjs +0 -1
  643. package/dist/chunks/context-1.1.37-ayxgyhvf.mjs +0 -1
  644. package/dist/chunks/context-noninteractive-1.1.37-9fnpakkn.mjs +0 -1
  645. package/dist/chunks/conversation-1.1.37-c5qptech.mjs +0 -1
  646. package/dist/chunks/copilotHeaders-1.1.37-2jh9xkzj.mjs +0 -1
  647. package/dist/chunks/copy-1.1.37-3x6yh3re.mjs +0 -9
  648. package/dist/chunks/cost-1.1.37-k4egf2cb.mjs +0 -1
  649. package/dist/chunks/createSession-1.1.37-ps0330f5.mjs +0 -1
  650. package/dist/chunks/debug-1.1.37-rg6428fc.mjs +0 -1
  651. package/dist/chunks/defaultActionDeps-1.1.37-0p69kpbf.mjs +0 -1458
  652. package/dist/chunks/desktop-1.1.37-vw4rzhtp.mjs +0 -2
  653. package/dist/chunks/detectRepository-1.1.37-de5st3z1.mjs +0 -1
  654. package/dist/chunks/detection-1.1.37-2ah57ykf.mjs +0 -1
  655. package/dist/chunks/diff-1.1.37-h35ry5bf.mjs +0 -1
  656. package/dist/chunks/doctor-1.1.37-4sdv75rj.mjs +0 -1
  657. package/dist/chunks/doctorDiagnostic-1.1.37-aj2q1yxr.mjs +0 -1
  658. package/dist/chunks/earlyInput-1.1.37-f1bz41ba.mjs +0 -1
  659. package/dist/chunks/effort-1.1.37-qme7s71h.mjs +0 -13
  660. package/dist/chunks/engine-1.1.37-vhnerrj8.mjs +0 -1
  661. package/dist/chunks/envUtils-1.1.37-jmnztajb.mjs +0 -1
  662. package/dist/chunks/errors-1.1.37-gx18q68s.mjs +0 -1
  663. package/dist/chunks/exampleCommands-1.1.37-jeewe5zp.mjs +0 -1
  664. package/dist/chunks/execFileNoThrow-1.1.37-9znv87jk.mjs +0 -1
  665. package/dist/chunks/exit-1.1.37-g21nsxb0.mjs +0 -1
  666. package/dist/chunks/explorer-1.1.37-x26rvwxm.mjs +0 -1
  667. package/dist/chunks/export-1.1.37-f9367qzp.mjs +0 -2
  668. package/dist/chunks/fast-1.1.37-66kcejyq.mjs +0 -1
  669. package/dist/chunks/feedback-1.1.37-cmzfc89p.mjs +0 -16
  670. package/dist/chunks/git-1.1.37-2v8rmfsp.mjs +0 -1
  671. package/dist/chunks/githubModelsCredentials-1.1.37-qa9ahy75.mjs +0 -1
  672. package/dist/chunks/goal-1.1.37-qxqx92gp.mjs +0 -4
  673. package/dist/chunks/headless-1.1.37-dkg8aqth.mjs +0 -2
  674. package/dist/chunks/heapdump-1.1.37-4hzv26jg.mjs +0 -6
  675. package/dist/chunks/help-1.1.37-94a27s9t.mjs +0 -1
  676. package/dist/chunks/hooks-1.1.37-ekx4v46c.mjs +0 -79
  677. package/dist/chunks/hooks-1.1.37-yeewd50h.mjs +0 -1
  678. package/dist/chunks/ide-1.1.37-knedgvva.mjs +0 -3
  679. package/dist/chunks/image-processor-napi-1.1.37-cdpery4t.mjs +0 -1
  680. package/dist/chunks/import-1.1.37-e6j4yen6.mjs +0 -261
  681. package/dist/chunks/inboundAttachments-1.1.37-jjm28zc3.mjs +0 -1
  682. package/dist/chunks/index-1.1.37-21b053j0.mjs +0 -1
  683. package/dist/chunks/index-1.1.37-3v1qr5g5.mjs +0 -9
  684. package/dist/chunks/index-1.1.37-5jd6yv91.mjs +0 -1
  685. package/dist/chunks/index-1.1.37-5m0x7mgr.mjs +0 -2
  686. package/dist/chunks/index-1.1.37-7p4s9e93.mjs +0 -5
  687. package/dist/chunks/index-1.1.37-8d8wz2jd.mjs +0 -1
  688. package/dist/chunks/index-1.1.37-8nj0y31t.mjs +0 -1
  689. package/dist/chunks/index-1.1.37-9mdrpppp.mjs +0 -1
  690. package/dist/chunks/index-1.1.37-fsrw22yr.mjs +0 -1
  691. package/dist/chunks/index-1.1.37-gbkrjwx2.mjs +0 -1
  692. package/dist/chunks/index-1.1.37-j22mymj3.mjs +0 -1
  693. package/dist/chunks/index-1.1.37-j7mg2v2z.mjs +0 -1
  694. package/dist/chunks/index-1.1.37-jt0qvhqx.mjs +0 -9
  695. package/dist/chunks/index-1.1.37-kqbx8bd4.mjs +0 -1
  696. package/dist/chunks/index-1.1.37-md3nqn7b.mjs +0 -1
  697. package/dist/chunks/index-1.1.37-nvrt1jkm.mjs +0 -1
  698. package/dist/chunks/index-1.1.37-qs532q75.mjs +0 -2
  699. package/dist/chunks/index-1.1.37-vrf2sks4.mjs +0 -1
  700. package/dist/chunks/index-1.1.37-w2vtqz1f.mjs +0 -30
  701. package/dist/chunks/index-1.1.37-wtf428dj.mjs +0 -1
  702. package/dist/chunks/index-1.1.37-x3qnjdnj.mjs +0 -23
  703. package/dist/chunks/index-1.1.37-xvds1tk7.mjs +0 -1
  704. package/dist/chunks/index-1.1.37-ycghwm8a.mjs +0 -1
  705. package/dist/chunks/init-1.1.37-rej95xjh.mjs +0 -2
  706. package/dist/chunks/initReplBridge-1.1.37-fg8xhcbg.mjs +0 -1
  707. package/dist/chunks/ink-1.1.37-9hasxe0p.mjs +0 -1
  708. package/dist/chunks/insights-1.1.37-t8pdcny6.mjs +0 -870
  709. package/dist/chunks/install-1.1.37-3qw7jywz.mjs +0 -1
  710. package/dist/chunks/install-github-app-1.1.37-xxm8pfc7.mjs +0 -149
  711. package/dist/chunks/install-slack-app-1.1.37-k2gvh481.mjs +0 -1
  712. package/dist/chunks/interactiveHelpers-1.1.37-65a5va0g.mjs +0 -1
  713. package/dist/chunks/latestVersionCache-1.1.37-3a47ekt3.mjs +0 -1
  714. package/dist/chunks/loadAgentsDir-1.1.37-tacjzkxh.mjs +0 -1
  715. package/dist/chunks/loadPluginHooks-1.1.37-xp0k0sev.mjs +0 -1
  716. package/dist/chunks/log-1.1.37-zxjr2p0h.mjs +0 -1
  717. package/dist/chunks/main-1.1.37-z5knsc2c.mjs +0 -1
  718. package/dist/chunks/managedEnv-1.1.37-v6d9x7gc.mjs +0 -1
  719. package/dist/chunks/mcp-1.1.37-2f8vksgy.mjs +0 -1
  720. package/dist/chunks/mcp-1.1.37-t42e1h6v.mjs +0 -17
  721. package/dist/chunks/mcp-1.1.37-z5yx7ce8.mjs +0 -4
  722. package/dist/chunks/mcpb-1.1.37-nxn1ew24.mjs +0 -1
  723. package/dist/chunks/memory-1.1.37-e17frzj2.mjs +0 -128
  724. package/dist/chunks/model-1.1.37-415ebhh8.mjs +0 -2
  725. package/dist/chunks/model-1.1.37-51zfsc21.mjs +0 -1
  726. package/dist/chunks/new-1.1.37-qmpxmvhh.mjs +0 -1
  727. package/dist/chunks/node-1.1.37-60r1zc7a.mjs +0 -1
  728. package/dist/chunks/node-1.1.37-bzzjhz9b.mjs +0 -15
  729. package/dist/chunks/oauth-1.1.37-an1mr5z0.mjs +0 -1
  730. package/dist/chunks/openaiShim-1.1.37-d7tbje1m.mjs +0 -14
  731. package/dist/chunks/output-style-1.1.37-ky7bh1p8.mjs +0 -1
  732. package/dist/chunks/package-F6O7J2XI-1.1.37-cpdvge3d.mjs +0 -1
  733. package/dist/chunks/permissions-1.1.37-jfdwfjhx.mjs +0 -1
  734. package/dist/chunks/permissions-1.1.37-xa1rr619.mjs +0 -3
  735. package/dist/chunks/plan-1.1.37-mkad4kke.mjs +0 -1
  736. package/dist/chunks/plist-1.1.37-jp82073r.mjs +0 -1
  737. package/dist/chunks/plugin-1.1.37-4y7stngn.mjs +0 -29
  738. package/dist/chunks/pluginStartupCheck-1.1.37-mb876t1m.mjs +0 -1
  739. package/dist/chunks/plugins-1.1.37-vgwj76jr.mjs +0 -9
  740. package/dist/chunks/preActionHook-1.1.37-y5x9wxpb.mjs +0 -2
  741. package/dist/chunks/print-1.1.37-39471kxm.mjs +0 -57
  742. package/dist/chunks/process-1.1.37-0sxw7yj7.mjs +0 -1
  743. package/dist/chunks/processBashCommand-1.1.37-3a9hjw0c.mjs +0 -1
  744. package/dist/chunks/processSlashCommand-1.1.37-qkdzw4bn.mjs +0 -9
  745. package/dist/chunks/prompt-1.1.37-7ty4xbzv.mjs +0 -1
  746. package/dist/chunks/prompt-1.1.37-t1pkc4hm.mjs +0 -1
  747. package/dist/chunks/prompts-1.1.37-vc8tkqtx.mjs +0 -1
  748. package/dist/chunks/provider-1.1.37-d5ky3fex.mjs +0 -2
  749. package/dist/chunks/providerProfiles-1.1.37-qds9eqzt.mjs +0 -1
  750. package/dist/chunks/providerValidation-1.1.37-njz9qc5m.mjs +0 -6
  751. package/dist/chunks/registerSubcommands-1.1.37-mh25jf7y.mjs +0 -26
  752. package/dist/chunks/registry-1.1.37-j99mgf8f.mjs +0 -1
  753. package/dist/chunks/release-notes-1.1.37-9gkg8tfr.mjs +0 -5
  754. package/dist/chunks/reload-plugins-1.1.37-4sptja72.mjs +0 -2
  755. package/dist/chunks/remote-env-1.1.37-t2zt0dx6.mjs +0 -1
  756. package/dist/chunks/rename-1.1.37-r3rf1zcp.mjs +0 -1
  757. package/dist/chunks/replLauncher-1.1.37-q72zpdec.mjs +0 -1
  758. package/dist/chunks/resume-1.1.37-7y7v8kjq.mjs +0 -2
  759. package/dist/chunks/rewind-1.1.37-g7g9fq2x.mjs +0 -1
  760. package/dist/chunks/rootOptions-1.1.37-gab9zhq2.mjs +0 -1
  761. package/dist/chunks/runWorkflowHeadless-1.1.37-hfkacx24.mjs +0 -10
  762. package/dist/chunks/sandbox-adapter-1.1.37-0z182pcd.mjs +0 -1
  763. package/dist/chunks/sandbox-toggle-1.1.37-qpef07xe.mjs +0 -1
  764. package/dist/chunks/session-1.1.37-23e3vg40.mjs +0 -2
  765. package/dist/chunks/sessionStorage-1.1.37-80sj7d1y.mjs +0 -1
  766. package/dist/chunks/settings-1.1.37-9ydtb00s.mjs +0 -1
  767. package/dist/chunks/setup-1.1.37-zw16kqhk.mjs +0 -12
  768. package/dist/chunks/sinks-1.1.37-zfyvj9zb.mjs +0 -1
  769. package/dist/chunks/skills-1.1.37-k5m03dxr.mjs +0 -1
  770. package/dist/chunks/startupProfiler-1.1.37-c215kgmn.mjs +0 -1
  771. package/dist/chunks/startupUpdateCheck-1.1.37-gkvkp8j3.mjs +0 -1
  772. package/dist/chunks/state-1.1.37-n5ptmgvs.mjs +0 -1
  773. package/dist/chunks/stats-1.1.37-aa4vr5s9.mjs +0 -1
  774. package/dist/chunks/status-1.1.37-ay3wwhz4.mjs +0 -1
  775. package/dist/chunks/stickers-1.1.37-9s6a0we7.mjs +0 -1
  776. package/dist/chunks/subprocessEnv-1.1.37-j60ejzj9.mjs +0 -1
  777. package/dist/chunks/tasks-1.1.37-0kkyatcs.mjs +0 -1
  778. package/dist/chunks/teamHelpers-1.1.37-bh946f2s.mjs +0 -1
  779. package/dist/chunks/teammateModeSnapshot-1.1.37-hvr3p8hm.mjs +0 -1
  780. package/dist/chunks/teleport-1.1.37-r8pztaf5.mjs +0 -1
  781. package/dist/chunks/terminalSetup-1.1.37-db8a6fsx.mjs +0 -1
  782. package/dist/chunks/theme-1.1.37-syjd1g1y.mjs +0 -1
  783. package/dist/chunks/toolPool-1.1.37-99ckwfft.mjs +0 -1
  784. package/dist/chunks/toolSearch-1.1.37-w702g2e2.mjs +0 -1
  785. package/dist/chunks/tools-1.1.37-q0g8gdy1.mjs +0 -1
  786. package/dist/chunks/turndown.cjs-1.1.37-p3av7xdw.mjs +0 -69
  787. package/dist/chunks/types-1.1.37-0zw1rq84.mjs +0 -1
  788. package/dist/chunks/update-1.1.37-njeg6bcd.mjs +0 -72
  789. package/dist/chunks/upload-1.1.37-gzm0qpn7.mjs +0 -7
  790. package/dist/chunks/upstreamproxy-1.1.37-v8bpt97q.mjs +0 -14
  791. package/dist/chunks/usage-1.1.37-b2a8dppj.mjs +0 -1
  792. package/dist/chunks/util-1.1.37-psbfj1x5.mjs +0 -1
  793. package/dist/chunks/utils-1.1.37-efqgjtyn.mjs +0 -1
  794. package/dist/chunks/vim-1.1.37-3vwhey1j.mjs +0 -1
  795. package/dist/chunks/watchLoop-1.1.37-hmgj516c.mjs +0 -13
  796. package/dist/chunks/wiki-1.1.37-y24wnewk.mjs +0 -132
  797. package/dist/chunks/workflows-1.1.37-eywdbk9a.mjs +0 -1
  798. package/dist/chunks/worktree-1.1.37-k9y7x7fq.mjs +0 -1
  799. package/dist/chunks/worktreeModeEnabled-1.1.37-bq8bmkt7.mjs +0 -1
  800. package/dist/chunks/wrapper-1.1.37-mam70w68.mjs +0 -7
  801. /package/dist/chunks/{cli-1.1.37-tb7ktts9.mjs → cli-1.1.38-0sbej1sm.mjs} +0 -0
  802. /package/dist/chunks/{cli-1.1.37-g7xfccj8.mjs → cli-1.1.38-48ykmxgd.mjs} +0 -0
  803. /package/dist/chunks/{cli-1.1.37-6defhmsy.mjs → cli-1.1.38-5edb5t1a.mjs} +0 -0
  804. /package/dist/chunks/{cli-1.1.37-tfvyj3nx.mjs → cli-1.1.38-fckt5c5p.mjs} +0 -0
  805. /package/dist/chunks/{cli-1.1.37-422098yx.mjs → cli-1.1.38-g4av033p.mjs} +0 -0
@@ -0,0 +1,6 @@
1
+ import{Pqa as z}from"./cli-1.1.38-y66mw08s.mjs";var K$,U$,F$=(_)=>typeof _==="string"?{...U$,name:_}:{...U$,..._};var S_=z(()=>{K$=Symbol("Let zodToJsonSchema decide on which parser to use"),U$={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 __=z(()=>{(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_=z(()=>{__();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],b=Y===X.path.length-1;if(Q==="_errors"){if(b)H._errors.push($(X));Y++;continue}if(!Object.prototype.hasOwnProperty.call(H,Q))if(Q==="__proto__")Object.defineProperty(H,Q,{value:{_errors:[]},writable:!0,enumerable:!0,configurable:!0});else H[Q]={_errors:[]};if(H=H[Q],b)H._errors.push($(X));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 x_=z(()=>{v_();__();Z=bq});function $_(){return zq}var zq;var A_=z(()=>{x_();zq=Z});function D(_,$){let q=$_(),J=j_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===Z?void 0:Z].filter((W)=>!!W)});_.common.issues.push(J)}class U{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 S;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 U.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return S;if(X.status==="aborted")return S;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 j_=(_)=>{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((b)=>!!b).slice().reverse();for(let b of Q)Y=b(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},S,o=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),y_=(_)=>_.status==="aborted",n_=(_)=>_.status==="dirty",i=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var Z_=z(()=>{A_();x_();S=Object.freeze({status:"aborted"})});var C$=()=>{};var w;var k$=z(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class k{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 A(_){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 j{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 U,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 g$(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 g$(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({...A(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new D_({...A(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new c_({typeName:M.ZodBranded,type:this,...A(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new w_({...A(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 gq(_){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"||!$)&&Lq.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"||!$)&&Uq.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 V){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=m.create(d(J))}return new V({..._._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={..._,...$};if(Object.prototype.hasOwnProperty.call(H,"__proto__"))delete H.__proto__;for(let Y of X){if(Y==="__proto__")continue;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 r({values:_,typeName:M.ZodEnum,...A($)})}var g$=(_,$)=>{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,Aq,jq,Oq,Nq,Eq,Vq,Rq="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$",u_,Lq,Uq,Kq,Fq,fq,Cq,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])))",kq,x,t,a,O_,W_,N_,X_,H_,E_,c,y,V_,P,V,Q_,h=(_)=>{if(_ instanceof G_)return h(_.schema);else if(_ instanceof l)return h(_.innerType());else if(_ instanceof M_)return[_.value];else if(_ instanceof r)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 c_)return h(_.unwrap());else if(_ instanceof b_)return h(_.unwrap());else if(_ instanceof w_)return h(_._def.innerType);else return[]},i_,Y_,n,R_,L_,s,J_,G_,M_,r,B_,e,l,m,u,D_,w_,U_,D3,c_,K_,b_,w3,M,b3,z3,S3,v3,A3,j3,O3,N3,E3,V3,R3,L3,U3,K3,F3,f3,C3,k3,g3,I3,P3,m3,l3,T3,h3,x3,y3,n3,Z3,u3,p3,i3,c3,r3;var l$=z(()=>{v_();A_();k$();Z_();__();Sq=/^c[^\s-]{8,}$/i,vq=/^[0-9a-z]+$/,Aq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,jq=/^[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)?)??$/,Vq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,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])$/,Uq=/^(?:(?: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}=))?$/,Cq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,kq=new RegExp(`^${I$}$`);x=class x extends j{_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}),S}let q=new U,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(!Vq.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(Rq,"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(!jq.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(!Aq.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(!kq.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(!gq(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(!Cq.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 x({...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 x({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new x({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new x({...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 _}};x.create=(_)=>{return new x({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...A(_)})};t=class t extends j{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}),S}let q=void 0,J=new U;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,...A(_)})};a=class a extends j{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 U;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}),S}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,...A(_)})};O_=class O_ extends j{_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}),S}return K(_.data)}};O_.create=(_)=>{return new O_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...A(_)})};W_=class W_ extends j{_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}),S}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),S}let q=new U,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,...A(_)})};N_=class N_ extends j{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),S}return K(_.data)}};N_.create=(_)=>{return new N_({typeName:M.ZodSymbol,...A(_)})};X_=class X_ extends j{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),S}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodUndefined,...A(_)})};H_=class H_ extends j{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),S}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodNull,...A(_)})};E_=class E_ extends j{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};E_.create=(_)=>{return new E_({typeName:M.ZodAny,...A(_)})};c=class c extends j{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};c.create=(_)=>{return new c({typeName:M.ZodUnknown,...A(_)})};y=class y extends j{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),S}};y.create=(_)=>{return new y({typeName:M.ZodNever,...A(_)})};V_=class V_ extends j{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),S}return K(_.data)}};V_.create=(_)=>{return new V_({typeName:M.ZodVoid,...A(_)})};P=class P extends j{_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}),S;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 k($,X,$.path,H))})).then((X)=>{return U.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new k($,X,$.path,H))});return U.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,...A($)})};V=class V extends j{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}),S}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof y&&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 b=W[Q],L=J.data[Q];Y.push({key:{status:"valid",value:Q},value:b._parse(new k(J,L,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof y){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let b of H)Y.push({key:{status:"valid",value:b},value:{status:"valid",value:J.data[b]}});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 b of H){let L=J.data[b];Y.push({key:{status:"valid",value:b},value:Q._parse(new k(J,L,J.path,b)),alwaysSet:b in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let b of Y){let L=await b.key,L$=await b.value;Q.push({key:L,value:L$,alwaysSet:b.alwaysSet})}return Q}).then((Q)=>{return U.mergeObjectSync(q,Q)});else return U.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new V({...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 V({...this._def,unknownKeys:"strip"})}passthrough(){return new V({...this._def,unknownKeys:"passthrough"})}extend(_){return new V({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new V({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new V({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new V({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new V({...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 V({...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 V({...this._def,shape:()=>$})}keyof(){return m$(O.objectKeys(this.shape))}};V.create=(_,$)=>{return new V({shape:()=>_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...A($)})};V.strictCreate=(_,$)=>{return new V({shape:()=>_,unknownKeys:"strict",catchall:y.create(),typeName:M.ZodObject,...A($)})};V.lazycreate=(_,$)=>{return new V({shape:_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...A($)})};Q_=class Q_ extends j{_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}),S}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},b=Y._parseSync({data:$.data,path:$.path,parent:Q});if(b.status==="valid")return b;else if(b.status==="dirty"&&!W)W={result:b,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}),S}}get options(){return this._def.options}};Q_.create=(_,$)=>{return new Q_({options:_,typeName:M.ZodUnion,...A($)})};i_=class i_ extends j{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),S;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]}),S;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,...A(q)})}};Y_=class Y_ extends j{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(y_(W)||y_(X))return S;let H=p_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),S;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,...A(q)})};n=class n extends j{_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}),S;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"}),S;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 k(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return U.mergeArray($,X)});else return U.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,...A($)})};R_=class R_ extends j{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}),S;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new k(q,H,q.path,H)),value:X._parse(new k(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return U.mergeObjectAsync($,J);else return U.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof j)return new R_({keyType:_,valueType:$,typeName:M.ZodRecord,...A(q)});return new R_({keyType:x.create(),valueType:_,typeName:M.ZodRecord,...A($)})}};L_=class L_ extends j{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}),S;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new k(q,H,q.path,[Q,"key"])),value:W._parse(new k(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,b=await Y.value;if(Q.status==="aborted"||b.status==="aborted")return S;if(Q.status==="dirty"||b.status==="dirty")$.dirty();H.set(Q.value,b.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:b}=Y;if(Q.status==="aborted"||b.status==="aborted")return S;if(Q.status==="dirty"||b.status==="dirty")$.dirty();H.set(Q.value,b.value)}return{status:$.value,value:H}}}};L_.create=(_,$,q)=>{return new L_({valueType:$,keyType:_,typeName:M.ZodMap,...A(q)})};s=class s extends j{_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}),S;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 b of Y){if(b.status==="aborted")return S;if(b.status==="dirty")$.dirty();Q.add(b.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new k(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,...A($)})};J_=class J_ extends j{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}),S;function q(H,Y){return j_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return j_({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([]),b=await H._def.args.parseAsync(Y,W).catch((h_)=>{throw Q.addIssue(q(Y,h_)),Q}),L=await Reflect.apply(X,this,b);return await H._def.returns._def.type.parseAsync(L,W).catch((h_)=>{throw Q.addIssue(J(L,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 b=Reflect.apply(X,this,Q.data),L=H._def.returns.safeParse(b,W);if(!L.success)throw new f([J(b,L.error)]);return L.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new J_({...this._def,args:n.create(_).rest(c.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(c.create()),returns:$||c.create(),typeName:M.ZodFunction,...A(q)})}};G_=class G_ extends j{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,...A($)})};M_=class M_ extends j{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),S}return{status:"valid",value:_.data}}get value(){return this._def.value}};M_.create=(_,$)=>{return new M_({value:_,typeName:M.ZodLiteral,...A($)})};r=class r extends j{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),S}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}),S}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 r.create(_,{...this._def,...$})}exclude(_,$=this._def){return r.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};r.create=m$;B_=class B_ extends j{_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}),S}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}),S}return K(_.data)}get enum(){return this._def.values}};B_.create=(_,$)=>{return new B_({values:_,typeName:M.ZodNativeEnum,...A($)})};e=class e extends j{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}),S;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,...A($)})};l=class l extends j{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 S;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return S;if(Y.status==="dirty")return o(Y.value);if($.value==="dirty")return o(Y.value);return Y});else{if($.value==="aborted")return S;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return S;if(H.status==="dirty")return o(H.value);if($.value==="dirty")return o(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 S;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 S;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 S;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 S;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:$,...A(q)})};l.createWithPreprocess=(_,$,q)=>{return new l({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...A(q)})};m=class m extends j{_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,...A($)})};u=class u extends j{_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,...A($)})};D_=class D_ extends j{_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,...A($)})};w_=class w_ extends j{_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,...A($)})};U_=class U_ extends j{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),S}return{status:"valid",value:_.data}}};U_.create=(_)=>{return new U_({typeName:M.ZodNaN,...A(_)})};D3=Symbol("zod_brand");c_=class c_ extends j{_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 j{_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 S;if(W.status==="dirty")return $.dirty(),o(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 S;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 j{_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,...A($)})};w3={object:V.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=x.create,z3=t.create,S3=U_.create,v3=a.create,A3=O_.create,j3=W_.create,O3=N_.create,N3=X_.create,E3=H_.create,V3=E_.create,R3=c.create,L3=y.create,U3=V_.create,K3=P.create,F3=V.create,f3=V.strictCreate,C3=Q_.create,k3=i_.create,g3=Y_.create,I3=n.create,P3=R_.create,m3=L_.create,l3=s.create,T3=J_.create,h3=G_.create,x3=M_.create,y3=r.create,n3=B_.create,Z3=e.create,u3=l.create,p3=m.create,i3=u.create,c3=l.createWithPreprocess,r3=K_.create});var T$=z(()=>{A_();Z_();C$();__();l$();v_()});var F_=z(()=>{T$()});var f_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var C_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?f_($,_.currentPath):$.join("/")}}var C=z(()=>{C_()});function r_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,r_(_,$,J,W)}var p=()=>{};function h$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=v(_.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 o_=z(()=>{F_();p();R()});function x$(_,$){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_=z(()=>{p()});function y$(){return{type:"boolean"}}var t_=()=>{};function k_(_,$){return v(_.type._def,$)}var g_=z(()=>{R()});var n$=(_,$)=>{return v(_.innerType._def,$)};var a_=z(()=>{R()});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_=z(()=>{p()});function Z$(_,$){return{...v(_.innerType._def,$),default:_.defaultValue()}}var _$=z(()=>{R()});function u$(_,$){return $.effectStrategy==="input"?v(_.schema._def,$):E($)}var $$=z(()=>{R();C()});function p$(_){return{type:"string",enum:Array.from(_.values)}}var q$=()=>{};function i$(_,$){let q=[v(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),v(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(xq(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 xq=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var J$=z(()=>{R()});function c$(_,$){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,g.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,g.cuid,J.message,$);break;case"cuid2":F(q,g.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,g.base64url,J.message,$);break;case"jwt":F(q,g.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,g.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,g.ipv6Cidr,J.message,$);break}case"emoji":F(q,g.emoji(),J.message,$);break;case"ulid":{F(q,g.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,g.base64,J.message,$);break}}break}case"nanoid":F(q,g.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(!yq.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:r$($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",r$($,J),q,J)}function r$(_,$){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,g,yq;var P_=z(()=>{p();g={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-_]*$/};yq=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]:v(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:v(_.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}=k_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var l_=z(()=>{F_();R();P_();g_();C()});function o$(_,$){if($.mapStrategy==="record")return m_(_,$);let q=v(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=v(_.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$=z(()=>{R();l_();C()});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$=z(()=>{C()});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)=>v(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_=z(()=>{R();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=v(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=v(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var B$=z(()=>{R();T_()});function $q(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",r_(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$=z(()=>{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 b=uq(Q);if(b&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();b=!1}let L=v(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(L===void 0)continue;if(J.properties[Y]=L,!b)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 v(_.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$=z(()=>{R()});var Jq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return v(_.innerType._def,$);let q=v(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var b$=z(()=>{R();C()});var Wq=(_,$)=>{if($.pipeStrategy==="input")return v(_.in._def,$);else if($.pipeStrategy==="output")return v(_.out._def,$);let q=v(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=v(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var z$=z(()=>{R()});function Xq(_,$){return v(_.type._def,$)}var S$=z(()=>{R()});function Hq(_,$){let J={type:"array",uniqueItems:!0,items:v(_.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$=z(()=>{p();R()});function Qq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>v(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:v(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>v(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var A$=z(()=>{R()});function Yq(_){return{not:E(_)}}var j$=z(()=>{C()});function Gq(_){return E(_)}var O$=z(()=>{C()});var Mq=(_,$)=>{return v(_.innerType._def,$)};var N$=z(()=>{R()});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 x$(_,q);case M.ZodBoolean:return y$();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 c$(_,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 o$(_,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 k_(_,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$=z(()=>{F_();C();o_();d_();t_();g_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();l_();v$();P_();A$();j$();T_();O$();N$()});function v(_,$,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"?v(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 R=z(()=>{S_();E$();C_();C()});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 V$=z(()=>{S_()});var cq=(_,$)=>{let q=Dq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[b,L])=>({...Q,[b]:v(L._def,{...q,currentPath:[...q.basePath,q.definitionPath,b]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=v(_._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 R$=z(()=>{R();V$();C()});var wq=()=>{};var rq=z(()=>{R$();S_();V$();p();C_();R();wq();C();o_();d_();t_();g_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();N$();l_();v$();P_();A$();j$();T_();O$();E$();R$()});
6
+ export{cq as D1,rq as E1};
@@ -0,0 +1,3 @@
1
+ import{t1 as E,u1 as D,x1 as N}from"./cli-1.1.38-pnngv0r7.mjs";import{Q8 as y,y8 as j}from"./cli-1.1.38-t8k5snq9.mjs";import{Tfa as X,Yda as O,Yfa as d,_da as P,h_ as B,j_ as H,xea as S}from"./cli-1.1.38-a678cgp1.mjs";import{Wja as U,cka as f}from"./cli-1.1.38-mh6a6g83.mjs";import{fka as W,qka as b}from"./cli-1.1.38-nzbcas3j.mjs";import{Bpa as M,Wna as T}from"./cli-1.1.38-44ay6q12.mjs";import{Lqa as L,Pqa as p}from"./cli-1.1.38-y66mw08s.mjs";import{mkdir as G,readFile as u,writeFile as R}from"fs/promises";import{dirname as _,join as m}from"path";function I(){return m(W(),"cache","changelog.md")}async function Jq(){let J=H();if(!J.cachedChangelog)return;let q=I();try{await G(_(q),{recursive:!0}),await R(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(O())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(_(Y),{recursive:!0}),await R(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await u(J,"utf-8");return $=q,q}catch{return $="",""}}function F(){return $??""}function A(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=F()){try{let z=A(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=F()){try{let q=A(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();S();b();f();d();P();N();w=L(E(),1)});
3
+ export{zq as Ee,Jq as Fe,C as Ge,h as He,Kq as Ie,Qq as Je,c as Ke};
@@ -0,0 +1,2 @@
1
+ import{C1 as j}from"./cli-1.1.38-h6qtpp5r.mjs";import{Lqa as f,Pqa as g}from"./cli-1.1.38-y66mw08s.mjs";function q(){return b.useContext(k)}var b,k;var m=g(()=>{b=f(j(),1),k=b.createContext(null)});
2
+ export{k as Bf,q as Cf,m as Df};
@@ -0,0 +1,2 @@
1
+ import{Pqa as M}from"./cli-1.1.38-y66mw08s.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 Qi,W as Ri,X as Si,Z as Ti,Y as Ui};
@@ -0,0 +1,10 @@
1
+ import{sg as cZ,tg as gZ,ug as X8}from"./cli-1.1.38-an3fdzsz.mjs";import{Ch as EJ,Dh as vz}from"./cli-1.1.38-2jp2m8e4.mjs";import{Ai as yz,zi as MJ}from"./cli-1.1.38-gp49bfxk.mjs";import{$D as lz,DO as Wz,Dx as IZ,GM as _J,GO as d8,Hx as Uz,IC as Jz,Ix as EZ,JC as u8,Jx as $8,KM as pz,LS as jQ,MS as mZ,OC as Qz,Ok as aZ,PC as f8,Pj as hZ,Pk as S8,Qj as lQ,RD as zz,SD as p8,Sx as wQ,US as yQ,Ux as dZ,VQ as Yz,XD as ZZ,Xv as aQ,YD as QQ,Yj as mJ,Yv as h8,ZD as zQ,ZS as DQ,Zj as nJ,_D as XQ,_Q as Vz,aR as oZ,ax as NQ,bR as Hz,bx as Q8,cy as AQ,dR as m0,eR as Gz,ek as eJ,gB as eQ,gR as Bz,gy as z8,hB as x8,hR as LQ,iB as xZ,iR as FQ,jB as fZ,jR as Lz,kB as uZ,kR as Fz,lB as ZQ,mB as Zz,mR as UZ,mm as NZ,nm as UJ,ny as $Q,oB as JQ,oy as xQ,py as tQ,qy as sQ,tx as oQ,ux as R8,uy as uQ,vy as fQ,xK as Xz}from"./cli-1.1.38-tk968ykv.mjs";import{LW as LZ,MW as wz,RW as bZ,TW as Kz,VX as WJ,YX as I0,cW as AJ,dW as bz,dX as zJ,eW as u0,eX as Az,iW as QJ,jX as rQ,kX as T8,lX as XJ,nX as Pz,qX as D,rX as RQ,sX as p,tX as U8}from"./cli-1.1.38-y79rqp8p.mjs";import{nZ as jJ,oZ as DJ,pZ as Cz}from"./cli-1.1.38-q3yhkwkh.mjs";import{C0 as e0,I0 as PJ}from"./cli-1.1.38-1kce30qe.mjs";import{A1 as T,B1 as G0,y1 as E0,z1 as Y}from"./cli-1.1.38-h1fqbjjb.mjs";import{C1 as b0}from"./cli-1.1.38-h6qtpp5r.mjs";import{G5 as J8,O4 as QZ,Q4 as zZ,i5 as KQ,r5 as OQ}from"./cli-1.1.38-s1nggz9g.mjs";import{a6 as rZ,b6 as k8}from"./cli-1.1.38-z9faf3ft.mjs";import{d6 as hQ,e6 as P8}from"./cli-1.1.38-zx5nqvq6.mjs";import{Sca as OZ,_ca as wJ,cba as iQ,j_ as MZ,o9 as C0,p9 as NJ,xea as MQ,yba as I8}from"./cli-1.1.38-a678cgp1.mjs";import{$fa as DZ,aga as iJ,kga as JZ,tga as ez}from"./cli-1.1.38-qv0rqvhj.mjs";import{$ha as PZ,Iha as pZ,Kha as Z8,Vha as wZ,_ha as AZ,nia as fz}from"./cli-1.1.38-fr1kxnk2.mjs";import{Aja as A8,xja as n0}from"./cli-1.1.38-yfhvhcvt.mjs";import{ika as nQ,qka as _8}from"./cli-1.1.38-nzbcas3j.mjs";import{Bpa as v8,zpa as mQ}from"./cli-1.1.38-44ay6q12.mjs";import{Lqa as K0,Pqa as q0}from"./cli-1.1.38-y66mw08s.mjs";function CZ(){if(x0!==null)clearTimeout(x0),x0=null;vZ=Date.now();for(let J of GZ)J()}function Oz(){if(x0!==null)return;let J=Date.now()-vZ;if(J>=bZ){CZ();return}x0=setTimeout(CZ,bZ-J)}function tZ(){return yZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function l8(){return yZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var yZ,$0=null,GZ,x0=null,vZ=0,s0;var sZ=q0(()=>{Kz();yZ=K0(b0(),1),GZ=new Set;s0={update(J){let Z=$0;if($0=J(Z),$0===Z)return;if(Z===null!==($0===null))CZ();else Oz()},clear(){s0.update(()=>null)},read(){return $0},subscribe(J){return GZ.add(J),()=>{GZ.delete(J)}},getSnapshot(){return $0},getPresenceSnapshot(){return $0!==null},resetForTesting(){if(x0!==null)clearTimeout(x0),x0=null;$0=null,vZ=0,GZ.clear()}}});function _Z(J){let Z=Math.floor(J/2);return{leftCols:Z,panelCols:J-Z}}function ZJ(J,Z,Q){let{leftCols:z}=_Z(J);return[{lo:0,hi:z-1-BZ,rowHi:Z},{lo:z+(Q?Nz:0)+eZ,hi:J-1-eZ,rowHi:Z}]}function JJ(J){return J>=120}var Nz=1,eZ=1,BZ=1;var kZ=()=>{};function qJ({mode:J,left:Z,bottom:Q,modal:z,panel:X,rows:W,columns:q,scrollRef:H}){let V=X!=null&&J==="split",[F]=QJ(),B=XJ(F).sidePanelBackground,N=!B,C=g0.useRef(null),[U,S]=g0.useState(()=>Math.max(1,W-Dz));if(g0.useLayoutEffect(()=>{if(!V)return;let w=C.current;if(!w)return;let P=WJ(w).height;if(P>0)S((j)=>j===P?j:P)}),g0.useLayoutEffect(()=>{if(!V){LZ(null);return}return LZ(ZJ(q,U-1,N)),()=>LZ(null)},[V,q,U,N]),z==null&&X==null)return T(E0,{children:[Z,Q]});let l=(w,P)=>{let j=P?0:jz,M=P?0:1;return Y(IZ,{value:{rows:W-j-M,columns:q-4,scrollRef:H},children:T(D,{position:"absolute",bottom:0,left:0,right:0,height:P?W:void 0,maxHeight:W-j,flexDirection:"column",overflow:"hidden",opaque:!0,children:[P?null:Y(D,{flexShrink:0,children:Y(p,{color:"permission",children:"▔".repeat(q)})}),Y(D,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:w})]})})},v=z==null?null:l(z,!1);if(V){let{leftCols:w,panelCols:P}=_Z(q);return T(D,{flexDirection:"column",flexGrow:1,width:"100%",overflow:"hidden",children:[T(D,{ref:C,flexDirection:"row",flexGrow:1,width:"100%",overflow:"hidden",children:[Y(zJ,{value:{columns:w-BZ,rows:U},children:Y(D,{flexDirection:"column",width:w,paddingRight:BZ,flexShrink:0,overflow:"hidden",children:Z})}),Y(IZ,{value:{rows:U,columns:P-(N?1:0),scrollRef:H},children:Y(D,{flexDirection:"column",width:P,flexShrink:0,overflow:"hidden",borderStyle:N?"single":void 0,borderTop:!1,borderBottom:!1,borderRight:!1,borderColor:"subtle",backgroundColor:B?B:void 0,children:Y(D,{flexDirection:"column",flexShrink:0,overflow:"hidden",children:X})})})]}),Q,v]})}return T(E0,{children:[Z,Q,X==null?null:l(X,J==="takeover"),v]})}var g0,jz=2,Dz=6;var YJ=q0(()=>{Uz();Az();wz();I0();Pz();kZ();G0();g0=K0(b0(),1)});function LJ(J){let Z=FZ.c(6),{children:Q}=J,[z,X]=O0.useState(null),[W,q]=O0.useState(null),H;if(Z[0]!==Q||Z[1]!==W)H=Y(GJ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=H;else H=Z[2];let V;if(Z[3]!==z||Z[4]!==H)V=Y(HJ.Provider,{value:X,children:Y(BJ.Provider,{value:q,children:Y(VJ.Provider,{value:z,children:H})})}),Z[3]=z,Z[4]=H,Z[5]=V;else V=Z[5];return V}function FJ(){return O0.useContext(VJ)}function KJ(){return O0.useContext(GJ)}function qX(J){let Z=FZ.c(8),Q=O0.useContext(HJ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];O0.useEffect(z,X),O0.useEffect(W,q)}function YX(J){let Z=FZ.c(8),Q=O0.useContext(BJ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];O0.useEffect(z,X),O0.useEffect(W,q)}var FZ,O0,VJ,HJ,GJ,BJ;var OJ=q0(()=>{G0();FZ=K0(u0(),1),O0=K0(b0(),1),VJ=O0.createContext(null),HJ=O0.createContext(null),GJ=O0.createContext(null),BJ=O0.createContext(null)});function KZ(J){return J.type==="attachment"&&Ez.has(J.attachment.type)}var Mz,Ez;var SZ=q0(()=>{Mz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","bagel_console","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","todo_reminder_delta","task_reconcile","container_transition"],Ez=new Set(Mz)});import{fileURLToPath as _z}from"url";function yX(J){let[Z,Q]=Y0.useState(null),z=Y0.useRef(J);z.current=J;let X=Y0.useRef(null),W=Y0.useCallback(()=>{Q(null)},[]),q=Y0.useCallback((F)=>{let B=Math.max(0,F.getScrollHeight()-F.getViewportHeight());if(F.getScrollTop()+F.getPendingDelta()>=B)return;if(X.current===null)X.current=F.getScrollHeight(),Q(z.current)},[]),H=Y0.useCallback((F)=>{if(!F)return;F.scrollToBottom()},[]);Y0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let V=Y0.useCallback((F,B)=>{if(Q((N)=>N===null?null:N+F),X.current!==null)X.current+=B},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:H,shiftDivider:V}}function kz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Iz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Iz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function vX(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||KZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=kz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function _X(J){let Z=l0.c(48),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:H,panel:V,scrollRef:F,dividerYRef:B,hidePill:N,hideSticky:C,newMessageCount:U,onPillClick:S}=J,l=N===void 0?!1:N,v=C===void 0?!1:C,w=U===void 0?0:U,{rows:P,columns:j}=NZ(),[M,E]=Y0.useState(null),R;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))R={setStickyPrompt:E},Z[0]=R;else R=Z[0];let e=R,y;if(Z[1]!==F)y=(n)=>F?.current?.subscribe(n)??hz,Z[1]=F,Z[2]=y;else y=Z[2];let x=y,Q0;if(Z[3]!==B||Z[4]!==F)Q0=()=>{let n=F?.current,i=B?.current;if(!n||i==null)return!1;return n.getScrollTop()+n.getPendingDelta()+n.getViewportHeight()<i},Z[3]=B,Z[4]=F,Z[5]=Q0;else Q0=Z[5];let B0=Y0.useSyncExternalStore(x,Q0),Z0=e0();if(Y0.useLayoutEffect(Sz,[Z0]),Z0){let n=v?null:M,i=n!=null&&n!=="clicked"&&X==null?n:null,j0=n!=null&&X==null,g;if(Z[7]!==i)g=i&&Y($z,{text:i.text,onClick:i.scrollTo}),Z[7]=i,Z[8]=g;else g=Z[8];let a=j0?0:1,o;if(Z[9]!==Q)o=Y(TZ,{value:e,children:Q}),Z[9]=Q,Z[10]=o;else o=Z[10];let W0;if(Z[11]!==X||Z[12]!==F||Z[13]!==o||Z[14]!==a)W0=T(EJ,{ref:F,flexGrow:1,flexDirection:"column",paddingTop:a,stickyScroll:!0,children:[o,X]}),Z[11]=X,Z[12]=F,Z[13]=o,Z[14]=a,Z[15]=W0;else W0=Z[15];let _;if(Z[16]!==l||Z[17]!==w||Z[18]!==S||Z[19]!==X||Z[20]!==B0)_=!l&&B0&&X==null&&Y(Rz,{count:w,onClick:S}),Z[16]=l,Z[17]=w,Z[18]=S,Z[19]=X,Z[20]=B0,Z[21]=_;else _=Z[21];let z0;if(Z[22]!==W)z0=W!=null&&Y(D,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=z0;else z0=Z[23];let w0;if(Z[24]!==W0||Z[25]!==_||Z[26]!==z0||Z[27]!==g)w0=T(D,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[g,W0,_,z0]}),Z[24]=W0,Z[25]=_,Z[26]=z0,Z[27]=g,Z[28]=w0;else w0=Z[28];let O,I;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))O=Y(xz,{}),I=Y(uz,{}),Z[29]=O,Z[30]=I;else O=Z[29],I=Z[30];let h;if(Z[31]!==z)h=T(D,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[O,I,Y(D,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=h;else h=Z[32];let L0,N0=V==null?"anchored":JJ(j)?"split":"takeover";return Y(LJ,{children:Y(qJ,{mode:N0,left:w0,bottom:h,modal:q,panel:V,rows:P,columns:j,scrollRef:H??null})})}let r;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)r=T(E0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=r;else r=Z[46];return r}function Sz(){if(!e0())return;let J=AJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Tz,()=>{J.onHyperlinkClick=void 0}}function Tz(J){if(J.startsWith("file:"))try{jJ(_z(J))}catch{}else DJ(J)}function hz(){}function Rz(J){let Z=l0.c(10),{count:Q,onClick:z}=J,[X,W]=Y0.useState(!1),q,H;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),H=()=>W(!1),Z[0]=q,Z[1]=H;else q=Z[0],H=Z[1];let V=X?"userMessageBackgroundHover":"userMessageBackground",F;if(Z[2]!==Q)F=Q>0?`${Q} new ${OZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=F;else F=Z[3];let B;if(Z[4]!==V||Z[5]!==F)B=T(p,{backgroundColor:V,dimColor:!0,children:[" ",F," ",C0.arrowDown," "]}),Z[4]=V,Z[5]=F,Z[6]=B;else B=Z[6];let N;if(Z[7]!==z||Z[8]!==B)N=Y(D,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:Y(D,{onClick:z,onMouseEnter:q,onMouseLeave:H,children:B})}),Z[7]=z,Z[8]=B,Z[9]=N;else N=Z[9];return N}function $z(J){let Z=l0.c(8),{text:Q,onClick:z}=J,[X,W]=Y0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",H,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))H=()=>W(!0),V=()=>W(!1),Z[0]=H,Z[1]=V;else H=Z[0],V=Z[1];let F;if(Z[2]!==Q)F=T(p,{color:"subtle",wrap:"truncate-end",children:[C0.pointer," ",Q]}),Z[2]=Q,Z[3]=F;else F=Z[3];let B;if(Z[4]!==z||Z[5]!==q||Z[6]!==F)B=Y(D,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:H,onMouseLeave:V,children:F}),Z[4]=z,Z[5]=q,Z[6]=F,Z[7]=B;else B=Z[7];return B}function xz(){let J=l0.c(4),Z=FJ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=Y(D,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:Y(MJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function uz(){let J=l0.c(2),Z=KJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=Y(D,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var l0,Y0,TZ;var bJ=q0(()=>{NJ();YJ();kZ();OJ();UJ();vz();bz();I0();Cz();PJ();wJ();SZ();yz();G0();l0=K0(u0(),1),Y0=K0(b0(),1),TZ=Y0.createContext({setStickyPrompt:()=>{}})});function CJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var yJ=()=>{};function vJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${wZ}`))return!1;if(hZ(Z.text,AZ)!=="completed")return!1;return hZ(Z.text,PZ)?.startsWith(_J)??!1}function kJ(J,Z){if(!e0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(vJ(X)){let W=0;while(z<J.length&&vJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${wZ}><${AZ}>completed</${AZ}><${PZ}>${W} background commands completed</${PZ}></${wZ}>`}]}})}else Q.push(X),z++}return Q}var IJ=q0(()=>{fz();pz();PJ();UZ()});function SJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function TJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(SJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!SJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,H)=>q+H.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var hJ=()=>{};function RJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function $J(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(RJ(z)){let X=0;while(Q<J.length&&RJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var xJ=()=>{};function dz(J){let Z=uJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),uJ.set(J,Z);return Z}function RZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function fJ(J,Z,Q=!1){if(Q)return{messages:J};let z=dz(Z),X=new Map;for(let B of J){let N=RZ(B);if(N&&z.has(N.toolName)){let C=`${N.messageId}:${N.toolName}`,U=X.get(C)??[];U.push(B),X.set(C,U)}}let W=new Map,q=new Set;for(let[B,N]of X)if(N.length>=2){W.set(B,N);for(let C of N){let U=RZ(C);if(U)q.add(U.toolUseId)}}let H=new Map;for(let B of J)if(B.type==="user"){for(let N of B.message.content)if(N.type==="tool_result"&&q.has(N.tool_use_id))H.set(N.tool_use_id,B)}let V=[],F=new Set;for(let B of J){let N=RZ(B);if(N){let C=`${N.messageId}:${N.toolName}`,U=W.get(C);if(U){if(!F.has(C)){F.add(C);let S=U[0],l=[];for(let w of U){let P=w.message.content[0].id,j=H.get(P);if(j)l.push(j)}let v={type:"grouped_tool_use",toolName:N.toolName,messages:U,results:l,displayMessage:S,uuid:`grouped-${S.uuid}`,timestamp:S.timestamp,messageId:N.messageId};V.push(v)}continue}}if(B.type==="user"){let C=B.message.content.filter((U)=>U.type==="tool_result");if(C.length>0){if(C.every((S)=>q.has(S.tool_use_id)))continue}}V.push(B)}return{messages:V}}var uJ;var pJ=q0(()=>{uJ=new WeakMap});function jZ(J){let Z=gJ.get(J);if(Z!==void 0)return Z;let Q=cz(J).toLowerCase();return gJ.set(J,Q),Q}function cz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=cJ.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!cJ.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(mz(J.toolUseResult));Z=W.join(`
2
+ `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[gz(W.input)];return[]}).join(`
3
+ `);break}case"attachment":{if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
4
+ `)}break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(dJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+dJ.length),z=Q.indexOf("<system-reminder>")}return Q}function gz(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
5
+ `)}function mz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
6
+ `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
7
+ `))}return Q.join(`
8
+ `)}var dJ="</system-reminder>",cJ,gJ;var $Z=q0(()=>{UZ();cJ=new Set([mJ,nJ]),gJ=new WeakMap});function rJ(J){let Z=lJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(nz)))return null;let W=DZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=Y(p,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let H;if(Z[2]!==W||Z[3]!==q)H=Y(D,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=H;else H=Z[4];return H}function nz(J){return J.type==="text"}var lJ;var aJ=q0(()=>{iJ();I0();G0();lJ=K0(u0(),1)});function tJ(J){let Z=oJ.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(iz)))return null;let W,q,H;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=D,H=DZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=H;else W=Z[1],q=Z[2],H=Z[3];let V;if(Z[4]!==q)V=Y(p,{dimColor:!0,children:q}),Z[4]=q,Z[5]=V;else V=Z[5];let F;if(Z[6]!==W||Z[7]!==H||Z[8]!==V)F=Y(W,{minWidth:H,children:V}),Z[6]=W,Z[7]=H,Z[8]=V,Z[9]=F;else F=Z[9];return F}function iz(J){return J.type==="text"}var oJ;var sJ=q0(()=>{iJ();I0();G0();oJ=K0(u0(),1)});function YQ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(xZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0],H=q?.type==="tool_use"?q.input:void 0;if(xZ(W.toolName,H,Q).isCollapsible)continue}return!0}return!1}function rz(J){let Z=WQ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:H,inProgressToolUseIDs:V,streamingToolUseIDs:F,screen:B,canAnimate:N,lastThinkingBlockId:C,latestBashOutputUUID:U,columns:S,isLoading:l,lookups:v}=J,w=B==="transcript",P=Q.type==="grouped_tool_use",j=Q.type==="collapsed_read_search",M;if(Z[0]!==X||Z[1]!==V||Z[2]!==j||Z[3]!==l||Z[4]!==Q)M=j&&(uZ(Q,V)||l&&!X),Z[0]=X,Z[1]=V,Z[2]=j,Z[3]=l,Z[4]=Q,Z[5]=M;else M=Z[5];let E=M,R;if(Z[6]!==j||Z[7]!==P||Z[8]!==Q)R=P?Q.displayMessage:j?ZQ(Q):Q,Z[6]=j,Z[7]=P,Z[8]=Q,Z[9]=R;else R=Z[9];let e=R,y;if(Z[10]!==j||Z[11]!==P||Z[12]!==v||Z[13]!==Q)y=P||j?[]:FQ(Q,v),Z[10]=j,Z[11]=P,Z[12]=v,Z[13]=Q,Z[14]=y;else y=Z[14];let x=y,Q0;if(Z[15]!==V||Z[16]!==j||Z[17]!==P||Z[18]!==v||Z[19]!==Q||Z[20]!==B||Z[21]!==F){let _=P||j?eJ:LQ(Q,v);Q0=GQ(Q,F,V,_,B,v),Z[15]=V,Z[16]=j,Z[17]=P,Z[18]=v,Z[19]=Q,Z[20]=B,Z[21]=F,Z[22]=Q0}else Q0=Z[22];let B0=Q0,Z0=!1;if(N)if(P){let _;if(Z[23]!==V||Z[24]!==Q.messages){let z0;if(Z[26]!==V)z0=(w0)=>{let O=w0.message.content[0];return O?.type==="tool_use"&&V.has(O.id)},Z[26]=V,Z[27]=z0;else z0=Z[27];_=Q.messages.some(z0),Z[23]=V,Z[24]=Q.messages,Z[25]=_}else _=Z[25];Z0=_}else if(j){let _;if(Z[28]!==V||Z[29]!==Q)_=uZ(Q,V),Z[28]=V,Z[29]=Q,Z[30]=_;else _=Z[30];Z0=_}else{let _;if(Z[31]!==V||Z[32]!==Q){let z0=m0(Q);_=!z0||V.has(z0),Z[31]=V,Z[32]=Q,Z[33]=_}else _=Z[33];Z0=_}let r;if(Z[34]!==e||Z[35]!==w)r=w&&e.type==="assistant"&&e.message.content.some(az)&&(e.timestamp||e.message.model),Z[34]=e,Z[35]=w,Z[36]=r;else r=Z[36];let n=r,i=!n,j0=n?void 0:S,g;if(Z[37]!==q||Z[38]!==V||Z[39]!==E||Z[40]!==B0||Z[41]!==w||Z[42]!==z||Z[43]!==C||Z[44]!==U||Z[45]!==v||Z[46]!==Q||Z[48]!==x||Z[49]!==Z0||Z[50]!==i||Z[51]!==j0||Z[52]!==W||Z[53]!==H)g=Y(XQ,{message:Q,lookups:v,addMargin:i,containerWidth:j0,tools:W,commands:q,verbose:H,inProgressToolUseIDs:V,progressMessagesForMessage:x,shouldAnimate:Z0,shouldShowDot:!0,isTranscriptMode:w,isStatic:B0,isActiveCollapsedGroup:E,isUserContinuation:z,lastThinkingBlockId:C,latestBashOutputUUID:U}),Z[37]=q,Z[38]=V,Z[39]=E,Z[40]=B0,Z[41]=w,Z[42]=z,Z[43]=C,Z[44]=U,Z[45]=v,Z[46]=Q,Z[48]=x,Z[49]=Z0,Z[50]=i,Z[51]=j0,Z[52]=W,Z[53]=H,Z[54]=g;else g=Z[54];let a=g;if(!n){let _;if(Z[55]!==a)_=Y(ZZ,{children:a}),Z[55]=a,Z[56]=_;else _=Z[56];return _}let o;if(Z[57]!==e||Z[58]!==w)o=T(D,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[Y(tJ,{message:e,isTranscriptMode:w}),Y(rJ,{message:e,isTranscriptMode:w})]}),Z[57]=e,Z[58]=w,Z[59]=o;else o=Z[59];let W0;if(Z[60]!==S||Z[61]!==a||Z[62]!==o)W0=Y(ZZ,{children:T(D,{width:S,flexDirection:"column",children:[o,a]})}),Z[60]=S,Z[61]=a,Z[62]=o,Z[63]=W0;else W0=Z[63];return W0}function az(J){return J.type==="text"}function oz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return fZ(J).some((X)=>Z.has(X));let Q=m0(J);return!!Q&&Z.has(Q)}function tz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return fZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=m0(J);return!Q||Z.has(Q)}function sz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&zQ(Z.message))return!1;let X=oz(J.message,J.streamingToolUseIDs),W=tz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var WQ,qQ,VQ;var HQ=q0(()=>{I0();JQ();UZ();lz();aJ();BQ();sJ();QQ();G0();WQ=K0(u0(),1),qQ=K0(b0(),1);VQ=qQ.memo(rz,sz)});import{relative as W8}from"path";function PQ(J){return L8.filter((Z)=>Z.isActive(J))}var q8,Y8,V8,H8,G8,B8,L8;var UQ=q0(()=>{I0();DQ();NJ();Z8();ez();J8();X8();z8();Q8();G0();q8={id:"large-memory-files",type:"warning",isActive:(J)=>mZ(J.memoryFiles).length>0,render:(J)=>{let Z=mZ(J.memoryFiles);return Y(E0,{children:Z.map((Q)=>{let z=Q.path.startsWith(pZ())?W8(pZ(),Q.path):Q.path;return T(D,{flexDirection:"row",children:[Y(p,{color:"warning",children:C0.warning}),T(p,{color:"warning",children:["Large ",Y(p,{bold:!0,children:z})," will impact performance (",JZ(Q.content.length)," chars >"," ",JZ(jQ),")",Y(p,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},Y8={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=QZ();return OQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=QZ();return T(D,{flexDirection:"row",marginTop:1,children:[Y(p,{color:"warning",children:C0.warning}),T(p,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},V8={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!KQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0});return T(D,{flexDirection:"row",marginTop:1,children:[Y(p,{color:"warning",children:C0.warning}),T(p,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},H8={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=QZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=zZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=QZ();return T(D,{flexDirection:"column",marginTop:1,children:[T(D,{flexDirection:"row",children:[Y(p,{color:"warning",children:C0.warning}),T(p,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),T(D,{flexDirection:"column",marginLeft:3,children:[T(p,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),T(p,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},G8={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return gZ(J.agentDefinitions)>cZ},render:(J)=>{let Z=gZ(J.agentDefinitions);return T(D,{flexDirection:"row",children:[Y(p,{color:"warning",children:C0.warning}),T(p,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",JZ(Z)," tokens >"," ",JZ(cZ),")",Y(p,{dimColor:!0,children:" · /agents to manage"})]})]})}},B8={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!wQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=dZ();return Q!==null&&!NQ(Q)},render:()=>{let J=dZ(),Z=AQ(J);return T(D,{flexDirection:"row",gap:1,marginLeft:1,children:[Y(p,{color:"ide",children:C0.arrowUp}),T(p,{children:["Install the ",Y(p,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",Y(p,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},L8=[q8,G8,Y8,V8,H8,B8]});async function F8(){if(XZ)return XZ;return XZ=yQ().then((J)=>{WZ=J}).finally(()=>{XZ=null}),XZ}function bQ(J){let Z=EQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(WZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(WZ.length>0){X(WZ);return}F8().then(()=>{X(WZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let H={config:MZ(),agentDefinitions:Q,memoryFiles:z},V=PQ(H);if(V.length===0)return null;let F=D,B="column",N=1,C=V.map((S)=>Y(r0.Fragment,{children:S.render(H)},S.id)),U;if(Z[1]!==F||Z[2]!==C)U=Y(F,{flexDirection:B,paddingLeft:N,children:C}),Z[1]=F,Z[2]=C,Z[3]=U;else U=Z[3];return U}var EQ,r0,WZ,XZ=null;var CQ=q0(()=>{I0();DQ();MQ();UQ();G0();EQ=K0(u0(),1),r0=K0(b0(),1),WZ=[]});function vQ(J,Z,Q=200,z=50){let X=Z.current,W=X?J.findIndex((V)=>V.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let H=J[q];if(H&&(X?.uuid!==H.uuid||X.idx!==q))Z.current={uuid:H.uuid,idx:q};else if(!H&&X)Z.current=null;return q}var _Q=()=>{};function kQ(J,Z,Q){let z=c.useRef(new Map),X=c.useRef(0),W=c.useRef(0),q=c.useRef({arr:new Float64Array(0),version:-1,n:-1}),H=c.useRef(new Map),V=c.useRef(new Map),F=c.useRef(Q),B=c.useRef(!1),N=c.useRef(null),C=c.useRef(0);if(F.current!==Q){let O=F.current/Q;F.current=Q;for(let[I,h]of z.current)z.current.set(I,Math.max(1,Math.round(h*O)));X.current++,B.current=!0,C.current=2}let U=C.current>0?N.current:null,S=c.useRef(0),l=c.useRef(null),v=c.useCallback((O)=>J.current?.subscribe(O)??w8,[J]);c.useSyncExternalStore(v,()=>{let O=J.current;if(!O)return NaN;let I=O.getScrollTop()+O.getPendingDelta(),h=Math.floor(I/N8);return O.isSticky()?~h:h});let w=J.current?.getScrollTop()??-1,P=J.current?.getPendingDelta()??0,j=J.current?.getViewportHeight()??0,M=J.current?.isSticky()??!0;c.useMemo(()=>{let O=new Set(Z),I=!1;for(let h of z.current.keys())if(!O.has(h))z.current.delete(h),I=!0;for(let h of V.current.keys())if(!O.has(h))V.current.delete(h);if(I)X.current++},[Z]);let E=Z.length;if(q.current.version!==X.current||q.current.n!==E){let O=q.current.arr.length>=E+1?q.current.arr:new Float64Array(E+1);O[0]=0;for(let I=0;I<E;I++)O[I+1]=O[I]+(z.current.get(Z[I])??K8);q.current={arr:O,version:X.current,n:E}}let R=q.current.arr,e=R[E],y,x;if(U)[y,x]=U,y=Math.min(y,E),x=Math.min(x,E);else if(j===0||w<0)y=Math.max(0,E-O8),x=E;else{if(M){let J0=j+a0;y=E;while(y>0&&e-R[y-1]<J0)y--;x=E}else{let J0=S.current,V0=j*3,f0=Math.min(w,w+P),S0=Math.max(w,w+P),P0=S0-f0,T0=P0>V0?P<0?S0-V0:f0:f0,h0=T0+Math.min(P0,V0),p0=Math.max(0,T0-J0),d0=h0-J0,y0=p0-a0;{let G=0,K=E;while(G<K){let A=G+K>>1;if(R[A+1]<=y0)G=A+1;else K=A}y=G}{let G=N.current;if(G&&G[0]<y)for(let K=G[0];K<Math.min(y,G[1]);K++){let A=Z[K];if(H.current.has(A)&&!z.current.has(A)){y=K;break}}}let i0=j+2*a0,o0=Math.min(E,y+qZ),v0=0;x=y;while(x<o0&&(v0<i0||R[x]<d0+j+a0))v0+=z.current.get(Z[x])??nZ,x++}let O=j+2*a0,I=Math.max(0,x-qZ),h=0;for(let J0=y;J0<x;J0++)h+=z.current.get(Z[J0])??nZ;while(y>I&&h<O)y--,h+=z.current.get(Z[y])??nZ;let L0=N.current,N0=Math.abs(w-W.current)+Math.abs(P);if(L0&&N0>j*2){let[J0,V0]=L0;if(y<J0-YZ)y=J0-YZ;if(x>V0+YZ)x=V0+YZ;if(y>x)x=Math.min(y+YZ,E)}W.current=w}if(C.current>0)C.current--;else N.current=[y,x];let Q0=c.useDeferredValue(y),B0=c.useDeferredValue(x),Z0=y<Q0?Q0:y,r=x>B0?B0:x;if(Z0>r||M)Z0=y,r=x;if(P>0)r=x;if(r-Z0>qZ){let O=(R[Z0]+R[r])/2;if(w-S.current<O)r=Z0+qZ;else Z0=r-qZ}let n=S.current,i=R[Z0],j0=Z0===0?0:i+n,g=r===E?1/0:Math.max(i,R[r]-j)+n;c.useLayoutEffect(()=>{if(M)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(j0,g)}),c.useLayoutEffect(()=>{let O=l.current?.yogaNode;if(O&&O.getComputedWidth()>0)S.current=O.getComputedTop();if(B.current){B.current=!1;return}let I=!1;for(let[h,L0]of H.current){let N0=L0.yogaNode;if(!N0)continue;let J0=N0.getComputedHeight(),V0=z.current.get(h);if(J0>0){if(V0!==J0)z.current.set(h,J0),I=!0}else if(N0.getComputedWidth()>0&&V0!==0)z.current.set(h,0),I=!0}if(I)X.current++});let a=c.useCallback((O)=>{let I=V.current.get(O);if(!I)I=(h)=>{if(h)H.current.set(O,h);else{let L0=H.current.get(O)?.yogaNode;if(L0&&!B.current){let N0=L0.getComputedHeight();if((N0>0||L0.getComputedWidth()>0)&&z.current.get(O)!==N0)z.current.set(O,N0),X.current++}H.current.delete(O)}},V.current.set(O,I);return I},[]),o=c.useCallback((O)=>{let I=H.current.get(Z[O])?.yogaNode;if(!I||I.getComputedWidth()===0)return-1;return I.getComputedTop()},[Z]),W0=c.useCallback((O)=>H.current.get(Z[O])??null,[Z]),_=c.useCallback((O)=>z.current.get(Z[O]),[Z]),z0=c.useCallback((O)=>{let I=q.current;if(O<0||O>=I.n)return;J.current?.scrollTo(I.arr[O]+S.current)},[J]),w0=e-R[r];return{range:[Z0,r],topSpacer:i,bottomSpacer:w0,measureRef:a,spacerRef:l,offsets:R,getItemTop:o,getItemElement:W0,getItemHeight:_,scrollToIndex:z0}}var c,K8=3,a0=80,O8=30,N8,nZ=1,qZ=300,YZ=25,w8=()=>{};var IQ=q0(()=>{c=K0(b0(),1),N8=a0>>1});function j8(J){let Z=SQ.get(J);if(Z!==void 0)return Z;let Q=jZ(J);return SQ.set(J,Q),Q}function M8(J){let Z=TQ.get(J);if(Z!==void 0)return Z;let Q=E8(J);return TQ.set(J,Q),Q}function E8(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
9
+ `)}if(Z===null)return null;let Q=uQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function b8(J){let Z=pQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:H,clickable:V,onClickK:F,onEnterK:B,onLeaveK:N,renderItem:C}=J,U;if(Z[0]!==Q||Z[1]!==W)U=W(Q),Z[0]=Q,Z[1]=W,Z[2]=U;else U=Z[2];let S=q?"userMessageBackgroundHover":void 0,l=q?1:void 0,v;if(Z[3]!==V||Z[4]!==z||Z[5]!==F)v=V?(e)=>F(z,e.cellIsBlank):void 0,Z[3]=V,Z[4]=z,Z[5]=F,Z[6]=v;else v=Z[6];let w;if(Z[7]!==V||Z[8]!==Q||Z[9]!==B)w=V?()=>B(Q):void 0,Z[7]=V,Z[8]=Q,Z[9]=B,Z[10]=w;else w=Z[10];let P;if(Z[11]!==V||Z[12]!==Q||Z[13]!==N)P=V?()=>N(Q):void 0,Z[11]=V,Z[12]=Q,Z[13]=N,Z[14]=P;else P=Z[14];let j=H&&!q?"text":void 0,M;if(Z[15]!==X||Z[16]!==z||Z[17]!==C)M=C(z,X),Z[15]=X,Z[16]=z,Z[17]=C,Z[18]=M;else M=Z[18];let E;if(Z[19]!==j||Z[20]!==M)E=Y(RQ.Provider,{value:j,children:M}),Z[19]=j,Z[20]=M,Z[21]=E;else E=Z[21];let R;if(Z[22]!==U||Z[23]!==S||Z[24]!==l||Z[25]!==v||Z[26]!==w||Z[27]!==P||Z[28]!==E)R=Y(D,{ref:U,flexDirection:"column",backgroundColor:S,paddingBottom:l,onClick:v,onMouseEnter:w,onMouseLeave:P,children:E}),Z[22]=U,Z[23]=S,Z[24]=l,Z[25]=v,Z[26]=w,Z[27]=P,Z[28]=E,Z[29]=R;else R=Z[29];return R}function dQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:H,extractSearchText:V=j8,trackStickyPrompt:F,selectedIndex:B,cursorNavRef:N,setCursor:C,jumpRef:U,onSearchMatchesChange:S,scanElement:l,setPositions:v}){let w=k.useRef([]),P=k.useRef(J),j=k.useRef(z);if(j.current!==z||J.length<w.current.length||J[0]!==P.current[0])w.current=J.map((G)=>z(G));else for(let G=w.current.length;G<J.length;G++)w.current.push(z(J[G]));P.current=J,j.current=z;let M=w.current,{range:E,topSpacer:R,bottomSpacer:e,measureRef:y,spacerRef:x,offsets:Q0,getItemTop:B0,getItemElement:Z0,getItemHeight:r,scrollToIndex:n}=kQ(Z,M,Q),[i,j0]=E,g=k.useCallback((G)=>{if(r(G)===0)return!1;return $Q(J[G])},[r,J]);k.useImperativeHandle(N,()=>{let G=(u)=>C?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:xQ(u)?.name}),K=B??-1,A=(u,m,t=g)=>{for(let d=u;d>=0&&d<J.length;d+=m)if(t(d))return G(J[d]),!0;return!1},$=(u)=>g(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,$),navigatePrev:()=>A(K-1,-1),navigateNext:()=>{if(A(K+1,1))return;Z.current?.scrollToBottom(),C?.(null)},navigatePrevUser:()=>A(K-1,-1,$),navigateNextUser:()=>A(K+1,1,$),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>K>=0?J[K]??null:null}},[J,B,C,g]);let a=k.useRef({offsets:Q0,start:i,getItemElement:Z0,getItemTop:B0,messages:J,scrollToIndex:n});a.current={offsets:Q0,start:i,getItemElement:Z0,getItemTop:B0,messages:J,scrollToIndex:n},k.useEffect(()=>{if(B===void 0)return;let G=a.current,K=G.getItemElement(B);if(K)Z.current?.scrollToElement(K,1);else G.scrollToIndex(B)},[B,Z]);let o=k.useRef(null),W0=k.useRef({msgIdx:-1,positions:[]}),_=k.useRef(-1),z0=k.useRef(0),w0=k.useRef(0),O=k.useRef(()=>{}),I=k.useRef(()=>{}),h=k.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),L0=k.useRef(-1),N0=k.useRef(!1);function J0(G){let K=a.current.getItemTop(G);return Math.max(0,K-iZ)}function V0(G){let K=Z.current,{msgIdx:A,positions:$}=W0.current;if(!K||$.length===0||A<0){v?.(null);return}let u=Math.max(0,Math.min(G,$.length-1)),m=$[u],t=a.current.getItemTop(A),d=K.getViewportTop(),X0=t-K.getScrollTop(),R0=K.getViewportHeight(),A0=d+X0+m.row;if(A0<d||A0>=d+R0)K.scrollTo(Math.max(0,t+m.row-iZ)),X0=t-K.getScrollTop(),A0=d+X0+m.row;v?.({positions:$,rowOffset:d+X0,currentIdx:u});let M0=h.current,U0=M0.prefixSum.at(-1)??0,D0=(M0.prefixSum[M0.ptr]??0)+u+1;S?.(U0,D0),n0(`highlight(i=${A}, ord=${u}/${$.length}): pos={row:${m.row},col:${m.col}} lo=${X0} screenRow=${A0} badge=${D0}/${U0}`)}I.current=V0;let[f0,S0]=k.useState(0),P0=k.useCallback(()=>S0((G)=>G+1),[]);k.useEffect(()=>{let G=o.current;if(!G)return;let{idx:K,wantLast:A,tries:$}=G,u=Z.current;if(!u)return;let{getItemElement:m,getItemTop:t,scrollToIndex:d}=a.current,X0=m(K),R0=X0?.yogaNode?.getComputedHeight()??0;if(!X0||R0===0){if($>1){o.current=null,n0(`seek(i=${K}): no mount after scrollToIndex, skip`),O.current(A?-1:1);return}o.current={idx:K,wantLast:A,tries:$+1},d(K),P0();return}o.current=null,u.scrollTo(Math.max(0,t(K)-iZ));let A0=l?.(X0)??[];if(W0.current={msgIdx:K,positions:A0},n0(`seek(i=${K} t=${$}): ${A0.length} positions`),A0.length===0){if(++z0.current>20){z0.current=0;return}O.current(A?-1:1);return}z0.current=0;let M0=A?A0.length-1:0;h.current.screenOrd=M0,_.current=-1,I.current(M0);let U0=w0.current;if(U0)w0.current=0,O.current(U0)},[f0]);function T0(G,K){let A=Z.current;if(!A)return;let $=a.current,{getItemElement:u,scrollToIndex:m}=$;if(G<0||G>=$.messages.length)return;v?.(null),W0.current={msgIdx:-1,positions:[]},o.current={idx:G,wantLast:K,tries:0};let t=u(G),d=t?.yogaNode?.getComputedHeight()??0;if(t&&d>0)A.scrollTo(J0(G));else m(G);P0()}function h0(G){let K=h.current,{matches:A,prefixSum:$}=K,u=$.at(-1)??0;if(A.length===0)return;if(o.current){w0.current=G;return}if(_.current<0)_.current=K.ptr;let{positions:m}=W0.current,t=K.screenOrd+G;if(t>=0&&t<m.length){K.screenOrd=t,V0(t),_.current=-1;return}let d=(K.ptr+G+A.length)%A.length;if(d===_.current){v?.(null),_.current=-1,n0(`step: wraparound at ptr=${d}, all ${A.length} msgs phantoms`);return}K.ptr=d,K.screenOrd=0,T0(A[d],G<0);let X0=G<0?$[d+1]??u:$[d]+1;S?.(u,X0)}O.current=h0,k.useImperativeHandle(U,()=>({jumpToIndex:(G)=>{let K=Z.current;if(K)K.scrollTo(J0(G))},setSearchQuery:(G)=>{o.current=null,W0.current={msgIdx:-1,positions:[]},_.current=-1,v?.(null);let K=G.toLowerCase(),A=[],$=[0];if(K){let U0=a.current.messages;for(let D0=0;D0<U0.length;D0++){let _0=V(U0[D0]),L=_0.indexOf(K),b=0;while(L>=0)b++,L=_0.indexOf(K,L+K.length);if(b>0)A.push(D0),$.push($.at(-1)+b)}}let u=$.at(-1),m=0,t=Z.current,{offsets:d,start:X0,getItemTop:R0}=a.current,A0=R0(X0),M0=A0>=0?A0-d[X0]:0;if(A.length>0&&t){let U0=L0.current>=0?L0.current:t.getScrollTop(),D0=1/0;for(let _0=0;_0<A.length;_0++){let L=Math.abs(M0+d[A[_0]]-U0);if(L<=D0)D0=L,m=_0}n0(`setSearchQuery('${G}'): ${A.length} msgs · ptr=${m} msgIdx=${A[m]} curTop=${U0} origin=${M0}`)}if(h.current={matches:A,ptr:m,screenOrd:0,prefixSum:$},A.length>0)T0(A[m],!0);else if(L0.current>=0&&t)t.scrollTo(L0.current);S?.(u,A.length>0?$[m+1]??u:0)},nextMatch:()=>h0(1),prevMatch:()=>h0(-1),setAnchor:()=>{let G=Z.current;if(G)L0.current=G.getScrollTop()},disarmSearch:()=>{v?.(null),o.current=null,W0.current={msgIdx:-1,positions:[]},_.current=-1},warmSearchIndex:async()=>{if(N0.current)return 0;let G=a.current.messages,K=500,A=0,$=performance.now();for(let m=0;m<G.length;m+=K){await hQ(0);let t=performance.now(),d=Math.min(m+K,G.length);for(let X0=m;X0<d;X0++)V(G[X0]);A+=performance.now()-t}let u=Math.round(performance.now()-$);return n0(`warmSearchIndex: ${G.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(G.length/K)}`),N0.current=!0,Math.round(A)}}),[Z]);let[p0,d0]=k.useState(null),y0=k.useRef({onItemClick:W,setHoveredKey:d0});y0.current={onItemClick:W,setHoveredKey:d0};let i0=k.useCallback((G,K)=>{let A=y0.current;if(!K&&A.onItemClick)A.onItemClick(G)},[]),o0=k.useCallback((G)=>{y0.current.setHoveredKey(G)},[]),v0=k.useCallback((G)=>{y0.current.setHoveredKey((K)=>K===G?null:K)},[]);return T(E0,{children:[Y(D,{ref:x,height:R,flexShrink:0}),J.slice(i,j0).map((G,K)=>{let A=i+K,$=M[A],u=!!W&&(q?.(G)??!0),m=u&&p0===$,t=H?.(G);return Y(b8,{itemKey:$,msg:G,idx:A,measureRef:y,expanded:t,hovered:m,clickable:u,onClickK:i0,onEnterK:o0,onLeaveK:v0,renderItem:X},$)}),e>0&&Y(D,{height:e,flexShrink:0}),F&&Y(y8,{messages:J,start:i,end:j0,offsets:Q0,getItemTop:B0,getItemElement:Z0,scrollRef:Z})]})}function y8({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:H}=k.useContext(TZ),V=k.useCallback((M)=>q.current?.subscribe(M)??C8,[q]);k.useSyncExternalStore(V,()=>{let M=q.current;if(!M)return NaN;let E=M.getScrollTop()+M.getPendingDelta();return M.isSticky()?-1-E:E});let F=q.current?.isSticky()??!0,B=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),N=Z,C=-1;for(let M=Q-1;M>=Z;M--){let E=X(M);if(E>=0){if(E<B)break;C=E}N=M}let U=-1,S=null;if(N>0&&!F)for(let M=N-1;M>=0;M--){let E=M8(J[M]);if(E===null)continue;let R=X(M);if(R>=0&&R+1>=B)continue;U=M,S=E;break}let l=C>=0?C-z[N]:0,v=U>=0?Math.max(0,l+z[U]):-1,w=k.useRef({idx:-1,tries:0}),P=k.useRef("none"),j=k.useRef(-1);return k.useEffect(()=>{if(w.current.idx>=0)return;if(P.current==="armed"){P.current="force";return}let M=P.current==="force";if(P.current="none",!M&&j.current===U)return;if(j.current=U,S===null){H(null);return}let E=S.trimStart(),R=E.search(/\n\s*\n/),e=(R>=0?E.slice(0,R):E).slice(0,D8).replace(/\s+/g," ").trim();if(e===""){H(null);return}let y=U,x=v;H({text:e,scrollTo:()=>{H("clicked"),P.current="armed";let Q0=W(y);if(Q0)q.current?.scrollToElement(Q0,1);else q.current?.scrollTo(x),w.current={idx:y,tries:0}}})}),k.useEffect(()=>{if(w.current.idx<0)return;let M=W(w.current.idx);if(M)q.current?.scrollToElement(M,1),w.current={idx:-1,tries:0};else if(++w.current.tries>5)w.current={idx:-1,tries:0}}),null}var pQ,k,iZ=3,SQ,D8=500,TQ,C8=()=>{};var cQ=q0(()=>{IQ();I0();U8();bJ();A8();P8();$Z();fQ();G0();pQ=K0(u0(),1),k=K0(b0(),1),SQ=new WeakMap;TQ=new WeakMap});function gQ(J){return(J.type==="assistant"||J.type==="user"?m0(J):null)??J.uuid}function n8(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function GQ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let H=J.message.content[0];if(H?.type==="server_tool_use")return W.resolvedToolUseIDs.has(H.id)}let q=m0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(Lz(q,"PostToolUse",W))return!1;return CJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((H)=>{let V=H.message.content[0];return V?.type==="tool_use"&&W.resolvedToolUseIDs.has(V.id)});case"collapsed_read_search":return!1}return!1}var qz,VZ,f,c8,lZ=30,g8=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:H,conversationId:V,screen:F,streamingToolUses:B,showAllInTranscript:N=!1,agentDefinitions:C,hideLogo:U=!1,isLoading:S,hidePastThinking:l=!1,streamingThinking:v,hasStreamingText:w=!1,isBriefOnly:P=!1,unseenDivider:j,scrollRef:M,trackStickyPrompt:E,jumpRef:R,onSearchMatchesChange:e,scanElement:y,setPositions:x,disableRenderCap:Q0=!1,cursor:B0=null,setCursor:Z0,cursorNavRef:r,renderRange:n})=>{let{columns:i}=NZ(),j0=oQ("transcript:toggleShowAll","Transcript","Ctrl+E"),g=f.useMemo(()=>oZ(J).filter(Yz),[J]),a=f.useMemo(()=>{if(!v)return!1;if(v.isStreaming)return!0;if(v.streamingEndedAt)return Date.now()-v.streamingEndedAt<30000;return!1},[v]),o=f.useMemo(()=>{if(!l)return null;if(a)return"streaming";for(let L=g.length-1;L>=0;L--){let b=g[L];if(b?.type==="assistant"){let H0=b.message.content;for(let s=H0.length-1;s>=0;s--){let F0=H0[s];if(F0?.type==="thinking"&&!eQ(F0))return`${b.uuid}:${s}`}}else if(b?.type==="user"){if(!b.message.content.some((s)=>s.type==="tool_result"))return"no-thinking"}}return null},[g,l,a]),W0=f.useMemo(()=>{for(let L=g.length-1;L>=0;L--){let b=g[L];if(b?.type==="user"){let H0=b.message.content;for(let s of H0)if(s.type==="text"){let F0=s.text;if(F0.startsWith("<bash-stdout")||F0.startsWith("<bash-stderr"))return b.uuid}}}return null},[g]),_=f.useMemo(()=>Fz(g),[g]),z0=f.useMemo(()=>B.filter((L)=>!q.has(L.contentBlock.id)&&!_.has(L.contentBlock.id)),[B,q,_]),w0=f.useMemo(()=>z0.flatMap((L)=>{let b=Xz({content:[L.contentBlock]});return b.uuid=lQ(L.contentBlock.id,0),oZ([b])}),[z0]),O=F==="transcript",I=f.useMemo(()=>nQ(process.env.CLAUDIN_DISABLE_VIRTUAL_SCROLL),[]),h=M!=null&&!I,L0=O&&!N&&!h,N0=f.useRef(null),{collapsed:J0,lookups:V0,hasTruncatedMessages:f0,hiddenMessageCount:S0}=f.useMemo(()=>{let b=Hz(g.filter((t0)=>t0.type!=="progress").filter((t0)=>!KZ(t0)).filter((t0)=>Vz(t0,O)),w0),H0=L0?b.slice(-lZ):b,s=L0&&b.length>lZ,{messages:F0}=fJ(H0,Z,z),k0=kJ(TJ($J(zz(Zz(F0,Z)))),z),HZ=Gz(g,H0),c0=b.length-lZ;return{collapsed:k0,lookups:HZ,hasTruncatedMessages:s,hiddenMessageCount:c0}},[z,g,O,w0,L0,Z,P]),P0=f.useMemo(()=>{let b=!h&&!Q0?vQ(J0,N0):0;return n?J0.slice(n[0],n[1]):b>0?J0.slice(b):J0},[J0,n,h,Q0]),T0=f.useMemo(()=>new Set(B.map((L)=>L.contentBlock.id)),[B]),h0=Wz((L)=>L.tasks),p0=V0.asyncLaunchedToolUseIDs,d0=f.useMemo(()=>{if(p0.size===0)return null;let L=new Set;for(let[b,H0]of p0){let s=h0?.[H0]?.status;if(s==="running"||s==="requested"||s==="queued")L.add(b)}return L.size>0?L:null},[h0,p0]),y0=V0.resolvedToolUseIDs,i0=f.useMemo(()=>Bz(q,y0,d0),[q,y0,d0]),o0=f.useMemo(()=>{if(!j)return-1;let L=j.firstUnseenUuid.slice(0,24);return P0.findIndex((b)=>b.uuid.slice(0,24)===L)},[j,P0]),v0=f.useMemo(()=>{if(!B0)return-1;return P0.findIndex((L)=>L.uuid===B0.uuid)},[B0,P0]),[G,K]=f.useState(()=>new Set),A=f.useCallback((L)=>{let b=gQ(L);K((H0)=>{let s=new Set(H0);if(s.has(b))s.delete(b);else s.add(b);return s})},[]),$=f.useCallback((L)=>G.size>0&&G.has(gQ(L)),[G]),u=f.useRef(V0);u.current=V0;let m=f.useCallback((L)=>{if(L.type==="collapsed_read_search")return!0;if(L.type==="assistant"){let F0=L.message.content[0];return F0!=null&&aQ(F0)&&F0.type==="advisor_tool_result"&&F0.content.type==="advisor_result"}if(L.type!=="user")return!1;let b=L.message.content[0];if(b?.type!=="tool_result"||b.is_error||!L.toolUseResult)return!1;let H0=u.current.toolUseByToolUseID.get(b.tool_use_id)?.name;return(H0?aZ(Z,H0):void 0)?.isResultTruncated?.(L.toolUseResult)??!1},[Z]),t=(!X||!!X.shouldContinueAnimation)&&!W.length&&!H,d=i0.size>0,{progress:X0}=rQ(),R0=f.useRef(null),A0=MZ().terminalProgressBarEnabled&&!mQ();f.useEffect(()=>{let L=A0?d?"indeterminate":"completed":null;if(R0.current===L)return;R0.current=L,X0(L)},[X0,A0,d]),f.useEffect(()=>{return()=>X0(null)},[X0]);let M0=f.useCallback((L)=>`${L.uuid}-${V}`,[V]),U0=(L,b)=>{if(L.type==="progress")return null;let H0=b>0?P0[b-1]?.type:void 0,s=L.type==="user"&&H0==="user",F0=L.type==="collapsed_read_search"&&(w||YQ(P0,b,Z,T0)),k0=M0(L),HZ=Y(VQ,{message:L,isUserContinuation:s,hasContentAfter:F0,tools:Z,commands:Q,verbose:z||$(L)||B0?.expanded===!0&&b===v0,inProgressToolUseIDs:i0,streamingToolUseIDs:T0,screen:F,canAnimate:t,lastThinkingBlockId:o,latestBashOutputUUID:W0,columns:i,isLoading:S,lookups:V0},k0),c0=Y(tQ.Provider,{value:b===v0,children:HZ},k0);if(j&&b===o0)return[Y(D,{marginTop:1,children:Y(EZ,{title:`${j.count} new ${OZ(j.count,"message")}`,width:i,color:"inactive"})},"unseen-divider"),c0];return c0},D0=f.useRef(new WeakMap),_0=f.useCallback((L)=>{let b=D0.current.get(L);if(b!==void 0)return b;let H0=jZ(L);if(L.type==="user"&&L.toolUseResult&&Array.isArray(L.message.content)){let F0=L.message.content.find((k0)=>k0.type==="tool_result");if(F0&&"tool_use_id"in F0){let k0=V0.toolUseByToolUseID.get(F0.tool_use_id),c0=(k0&&aZ(Z,k0.name))?.extractSearchText?.(L.toolUseResult);if(c0!==void 0)H0=c0}}let s=H0.toLowerCase();return D0.current.set(L,s),s},[Z,V0]);return T(E0,{children:[!U&&!(n&&n[0]>0)&&Y(c8,{agentDefinitions:C}),f0&&Y(EZ,{title:`${j0} to show ${rZ.bold(S0)} previous messages`,width:i}),O&&N&&S0>0&&!Q0&&Y(EZ,{title:`${j0} to hide ${rZ.bold(S0)} previous messages`,width:i}),h?Y(sQ.Provider,{value:!0,children:Y(dQ,{messages:P0,scrollRef:M,columns:i,itemKey:M0,renderItem:U0,onItemClick:A,isItemClickable:m,isItemExpanded:$,trackStickyPrompt:E,selectedIndex:v0>=0?v0:void 0,cursorNavRef:r,setCursor:Z0,jumpRef:R,onSearchMatchesChange:e,scanElement:y,setPositions:x,extractSearchText:_0})}):P0.flatMap(U0),w&&!P&&Y(m8,{}),a&&v&&!P&&Y(D,{marginTop:1,children:Y(Qz,{param:{type:"thinking",thinking:v.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},m8=()=>{let J=tZ();if(!J)return null;return Y(D,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:T(D,{flexDirection:"row",children:[Y(D,{minWidth:2,children:Y(p,{color:"text",children:iQ})}),Y(D,{flexDirection:"column",children:Y(Jz,{children:J})})]})})},wq;var BQ=q0(()=>{k8();yJ();v8();I8();UJ();T8();I0();R8();d8();S8();h8();IJ();hJ();p8();JQ();xJ();MQ();_8();pJ();UZ();wJ();$Z();$8();u8();sZ();HQ();fQ();f8();SZ();x8();QQ();CQ();_Q();cQ();G0();qz=K0(u0(),1),VZ=K0(b0(),1),f=K0(b0(),1),c8=VZ.memo(function(Z){let Q=qz.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=Y(ZZ,{children:T(D,{flexDirection:"column",gap:1,children:[X,Y(VZ.Suspense,{fallback:null,children:Y(bQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});wq=VZ.memo(g8,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,H)=>q.contentBlock===W[H]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(n8(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,H)=>q.name===W[H]?.name))continue}return!1}}return!0})});
10
+ export{s0 as Nd,l8 as Od,sZ as Pd,JJ as Qd,kZ as Rd,qX as Sd,YX as Td,OJ as Ud,yX as Vd,vX as Wd,_X as Xd,bJ as Yd,wq as Zd,BQ as _d};
@@ -0,0 +1,2 @@
1
+ import{Aja as $,xja as Q}from"./cli-1.1.38-yfhvhcvt.mjs";import{Zja as K,cka as Z}from"./cli-1.1.38-mh6a6g83.mjs";import{fka as J,qka as Y}from"./cli-1.1.38-nzbcas3j.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
2
+ export{T as S,w as T,y as U};