@claudiolabs/claudin 1.1.33 → 1.1.34

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 (827) hide show
  1. package/dist/chunks/App-1.1.34-5bkzspjw.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.34-v9m1h6yf.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.34-s8q45b8r.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.34-za20vma5.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.34-bfqcybrw.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.34-y3y8zaw0.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.34-2c48wrw2.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.34-5pfk2t4c.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.34-jhjx7d79.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.34-fdz2yay1.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.34-9kn20864.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.34-rs0n3tbm.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.34-mb74003t.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.34-bfdfnz31.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.34-mxhsj5pz.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.34-g9xtcxfm.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.34-wjd1x7s6.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.34-zpsemk3f.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.34-gse2x86w.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.34-cp51s05w.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.34-pcx5e2xc.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.34-s3tfzny5.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.34-g8hnps71.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.34-a1bg24mk.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.34-fs7fa841.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.34-ybf25dvm.mjs +1 -0
  27. package/dist/chunks/agents-1.1.34-6xhfrt25.mjs +3 -0
  28. package/dist/chunks/agents-1.1.34-wsjsbryq.mjs +110 -0
  29. package/dist/chunks/api-1.1.34-99hm00p0.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.34-qydk3ezz.mjs +1 -0
  31. package/dist/chunks/auth-1.1.34-32n80bwr.mjs +1 -0
  32. package/dist/chunks/auth-1.1.34-mhmakxvf.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.34-jyxbmbqd.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.34-2b10v0j4.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.34-bd3mdsv9.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.34-v4c2njkh.mjs +1 -0
  37. package/dist/chunks/branch-1.1.34-949t9ara.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.34-8jc0ek6w.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.34-kgr2qvyz.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.34-ygna8r55.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.34-saff9rp6.mjs +88 -0
  42. package/dist/chunks/bridgePointer-1.1.34-5apzxa58.mjs +1 -0
  43. package/dist/chunks/btw-1.1.34-4246e84n.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.34-kj9mygnh.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.34-gyemr2df.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.34-fqz6k1qv.mjs +4 -0
  47. package/dist/chunks/caches-1.1.34-ebn0bryh.mjs +1 -0
  48. package/dist/chunks/cd-1.1.34-6458ex95.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.34-4jr3kmkg.mjs +1 -0
  50. package/dist/chunks/clear-1.1.34-da0gwb7n.mjs +1 -0
  51. package/dist/chunks/clearTerminal-1.1.34-410eb173.mjs +1 -0
  52. package/dist/chunks/cli-1.1.34-00hxx56p.mjs +2 -0
  53. package/dist/chunks/cli-1.1.34-0cmmxs6g.mjs +9 -0
  54. package/dist/chunks/cli-1.1.34-0h4whfas.mjs +6 -0
  55. package/dist/chunks/cli-1.1.34-0kkae10p.mjs +2 -0
  56. package/dist/chunks/cli-1.1.34-0mjf3pve.mjs +2 -0
  57. package/dist/chunks/cli-1.1.34-0t1h2v5v.mjs +2 -0
  58. package/dist/chunks/cli-1.1.34-0zqthr52.mjs +2 -0
  59. package/dist/chunks/cli-1.1.34-1229x70a.mjs +2 -0
  60. package/dist/chunks/cli-1.1.34-166q8s04.mjs +24 -0
  61. package/dist/chunks/cli-1.1.34-1a3s3rqs.mjs +3 -0
  62. package/dist/chunks/cli-1.1.34-1ategs07.mjs +2 -0
  63. package/dist/chunks/cli-1.1.34-1m5v3ffj.mjs +2 -0
  64. package/dist/chunks/cli-1.1.34-1nxczs7m.mjs +3 -0
  65. package/dist/chunks/cli-1.1.34-1xg52b7q.mjs +12 -0
  66. package/dist/chunks/cli-1.1.34-20femz8z.mjs +2 -0
  67. package/dist/chunks/cli-1.1.34-20p72tmb.mjs +20 -0
  68. package/dist/chunks/cli-1.1.34-21nzcpj6.mjs +5 -0
  69. package/dist/chunks/cli-1.1.34-24h4yeqf.mjs +2 -0
  70. package/dist/chunks/cli-1.1.34-2tf44a9a.mjs +2 -0
  71. package/dist/chunks/cli-1.1.34-33s2xs9e.mjs +2 -0
  72. package/dist/chunks/cli-1.1.34-372a0qyj.mjs +2 -0
  73. package/dist/chunks/cli-1.1.34-37g65vk7.mjs +2 -0
  74. package/dist/chunks/cli-1.1.34-37mgsk8w.mjs +2 -0
  75. package/dist/chunks/cli-1.1.34-3pr2wgys.mjs +2 -0
  76. package/dist/chunks/cli-1.1.34-3qpxmhy6.mjs +2 -0
  77. package/dist/chunks/cli-1.1.34-3rcacat5.mjs +3 -0
  78. package/dist/chunks/cli-1.1.34-4v8eanby.mjs +2 -0
  79. package/dist/chunks/cli-1.1.34-4x915j9t.mjs +2 -0
  80. package/dist/chunks/cli-1.1.34-4y5bvnfe.mjs +2 -0
  81. package/dist/chunks/cli-1.1.34-4zj4kbw4.mjs +2 -0
  82. package/dist/chunks/cli-1.1.34-58ergrxf.mjs +7 -0
  83. package/dist/chunks/cli-1.1.34-59csbz1a.mjs +60 -0
  84. package/dist/chunks/cli-1.1.34-5ec767fj.mjs +2 -0
  85. package/dist/chunks/cli-1.1.34-5ffnhvmt.mjs +3 -0
  86. package/dist/chunks/cli-1.1.34-5jdjfha3.mjs +2 -0
  87. package/dist/chunks/cli-1.1.34-5jnn83ne.mjs +2 -0
  88. package/dist/chunks/cli-1.1.34-5mg7y1hs.mjs +2 -0
  89. package/dist/chunks/cli-1.1.34-5qzy93s7.mjs +2 -0
  90. package/dist/chunks/cli-1.1.34-5t01yf6x.mjs +2 -0
  91. package/dist/chunks/cli-1.1.34-5vktvncs.mjs +2 -0
  92. package/dist/chunks/cli-1.1.34-5z4epq5b.mjs +4 -0
  93. package/dist/chunks/cli-1.1.34-643n510j.mjs +2 -0
  94. package/dist/chunks/cli-1.1.34-6jkjn6pd.mjs +2 -0
  95. package/dist/chunks/cli-1.1.34-70pxm3rb.mjs +133 -0
  96. package/dist/chunks/cli-1.1.34-79mxk0bc.mjs +2 -0
  97. package/dist/chunks/cli-1.1.34-7ad0dt89.mjs +2 -0
  98. package/dist/chunks/cli-1.1.34-7bcbswdn.mjs +2 -0
  99. package/dist/chunks/cli-1.1.34-7bxexffs.mjs +6 -0
  100. package/dist/chunks/cli-1.1.34-7n5bvchq.mjs +2 -0
  101. package/dist/chunks/cli-1.1.34-7npd3as5.mjs +18 -0
  102. package/dist/chunks/cli-1.1.34-7rd2xv38.mjs +3 -0
  103. package/dist/chunks/cli-1.1.34-80nhtgdq.mjs +2 -0
  104. package/dist/chunks/cli-1.1.34-83s0mm9a.mjs +2 -0
  105. package/dist/chunks/cli-1.1.34-84707tma.mjs +5491 -0
  106. package/dist/chunks/cli-1.1.34-859ap6f7.mjs +2 -0
  107. package/dist/chunks/cli-1.1.34-8r5c91mz.mjs +2 -0
  108. package/dist/chunks/cli-1.1.34-8s2k8jnr.mjs +39 -0
  109. package/dist/chunks/cli-1.1.34-8vfey6b5.mjs +2 -0
  110. package/dist/chunks/cli-1.1.34-92kps6jn.mjs +63 -0
  111. package/dist/chunks/cli-1.1.34-9jn997h8.mjs +2 -0
  112. package/dist/chunks/cli-1.1.34-9tctqya9.mjs +6 -0
  113. package/dist/chunks/cli-1.1.34-9tze8t1x.mjs +2 -0
  114. package/dist/chunks/cli-1.1.34-9z887t80.mjs +2 -0
  115. package/dist/chunks/cli-1.1.34-a6gj1b3g.mjs +2 -0
  116. package/dist/chunks/cli-1.1.34-a7et4z4n.mjs +2 -0
  117. package/dist/chunks/cli-1.1.34-ajqsr81p.mjs +2 -0
  118. package/dist/chunks/cli-1.1.34-ak4sm3t1.mjs +2 -0
  119. package/dist/chunks/cli-1.1.34-axnnzxpw.mjs +2 -0
  120. package/dist/chunks/cli-1.1.34-b9j8be5k.mjs +2 -0
  121. package/dist/chunks/cli-1.1.34-bt9brnrs.mjs +2 -0
  122. package/dist/chunks/cli-1.1.34-c3w48hst.mjs +2 -0
  123. package/dist/chunks/cli-1.1.34-cp457g25.mjs +11 -0
  124. package/dist/chunks/cli-1.1.34-cptp243m.mjs +2 -0
  125. package/dist/chunks/cli-1.1.34-cqxr7fsq.mjs +2 -0
  126. package/dist/chunks/cli-1.1.34-ctjatnq8.mjs +2 -0
  127. package/dist/chunks/cli-1.1.34-czhcyzgw.mjs +2 -0
  128. package/dist/chunks/cli-1.1.34-d0sgyvr1.mjs +4 -0
  129. package/dist/chunks/cli-1.1.34-d5enzbca.mjs +2 -0
  130. package/dist/chunks/cli-1.1.34-d8bccy48.mjs +7 -0
  131. package/dist/chunks/cli-1.1.34-dceap5rk.mjs +4 -0
  132. package/dist/chunks/cli-1.1.34-dj3hwt6m.mjs +3 -0
  133. package/dist/chunks/cli-1.1.34-dvx08sv2.mjs +2 -0
  134. package/dist/chunks/cli-1.1.34-e1vkhvbm.mjs +2 -0
  135. package/dist/chunks/cli-1.1.34-e4f2qw6n.mjs +2 -0
  136. package/dist/chunks/cli-1.1.34-e7fd8zh6.mjs +2 -0
  137. package/dist/chunks/cli-1.1.34-e9rxgan0.mjs +2 -0
  138. package/dist/chunks/cli-1.1.34-ehad4d4f.mjs +2 -0
  139. package/dist/chunks/cli-1.1.34-ev8ffgr9.mjs +2 -0
  140. package/dist/chunks/cli-1.1.34-ew7p2ct8.mjs +2 -0
  141. package/dist/chunks/cli-1.1.34-exsrnr6k.mjs +2 -0
  142. package/dist/chunks/cli-1.1.34-f806gv2e.mjs +7 -0
  143. package/dist/chunks/cli-1.1.34-faavcjnj.mjs +2 -0
  144. package/dist/chunks/cli-1.1.34-fd3cb4wv.mjs +2 -0
  145. package/dist/chunks/cli-1.1.34-ff6hyf5n.mjs +2 -0
  146. package/dist/chunks/cli-1.1.34-ffs3510y.mjs +2 -0
  147. package/dist/chunks/cli-1.1.34-fgbv1rw4.mjs +17 -0
  148. package/dist/chunks/cli-1.1.34-fgx6ej2m.mjs +34 -0
  149. package/dist/chunks/cli-1.1.34-fm4a40ta.mjs +2 -0
  150. package/dist/chunks/cli-1.1.34-fnds3msv.mjs +6 -0
  151. package/dist/chunks/cli-1.1.34-ftd1h34q.mjs +2 -0
  152. package/dist/chunks/cli-1.1.34-g0sqgp9m.mjs +2 -0
  153. package/dist/chunks/cli-1.1.34-g6kkzzxg.mjs +2 -0
  154. package/dist/chunks/cli-1.1.34-g7q1qz3e.mjs +2 -0
  155. package/dist/chunks/cli-1.1.34-g888fgsj.mjs +4 -0
  156. package/dist/chunks/cli-1.1.34-ge8xp99z.mjs +2 -0
  157. package/dist/chunks/cli-1.1.34-gsrndv90.mjs +2 -0
  158. package/dist/chunks/cli-1.1.34-h3ysfavt.mjs +4 -0
  159. package/dist/chunks/cli-1.1.34-h7927ctg.mjs +2 -0
  160. package/dist/chunks/cli-1.1.34-h7bcvee5.mjs +2 -0
  161. package/dist/chunks/cli-1.1.34-hdva7ptv.mjs +10 -0
  162. package/dist/chunks/cli-1.1.34-he92bjvt.mjs +2 -0
  163. package/dist/chunks/cli-1.1.34-hpn89fzn.mjs +2 -0
  164. package/dist/chunks/cli-1.1.34-hpt8kch4.mjs +2 -0
  165. package/dist/chunks/cli-1.1.34-hrw37per.mjs +8 -0
  166. package/dist/chunks/cli-1.1.34-hsngtgbm.mjs +24 -0
  167. package/dist/chunks/cli-1.1.34-hyya784q.mjs +2 -0
  168. package/dist/chunks/cli-1.1.34-j8ab267c.mjs +2 -0
  169. package/dist/chunks/cli-1.1.34-jkdgk3ns.mjs +2 -0
  170. package/dist/chunks/cli-1.1.34-jrxh48kf.mjs +4 -0
  171. package/dist/chunks/cli-1.1.34-jsp1hy0k.mjs +2 -0
  172. package/dist/chunks/cli-1.1.34-k4zd38bd.mjs +15 -0
  173. package/dist/chunks/cli-1.1.34-k761g5m2.mjs +2 -0
  174. package/dist/chunks/cli-1.1.34-k8gmdsqr.mjs +2 -0
  175. package/dist/chunks/cli-1.1.34-mbeaqq0q.mjs +6 -0
  176. package/dist/chunks/cli-1.1.34-mhjjf878.mjs +5 -0
  177. package/dist/chunks/cli-1.1.34-n5t6xk0e.mjs +2 -0
  178. package/dist/chunks/cli-1.1.34-n5zh4wyg.mjs +42 -0
  179. package/dist/chunks/cli-1.1.34-ncz9dava.mjs +2 -0
  180. package/dist/chunks/cli-1.1.34-nr50vg8g.mjs +25 -0
  181. package/dist/chunks/cli-1.1.34-nxeb9r8s.mjs +2 -0
  182. package/dist/chunks/cli-1.1.34-p5v4dwpg.mjs +4 -0
  183. package/dist/chunks/cli-1.1.34-p7yjh2wb.mjs +2 -0
  184. package/dist/chunks/cli-1.1.34-p9rd6dtm.mjs +2 -0
  185. package/dist/chunks/cli-1.1.34-q5stzg7k.mjs +2 -0
  186. package/dist/chunks/cli-1.1.34-q83yydqv.mjs +133 -0
  187. package/dist/chunks/cli-1.1.34-q8chhxkt.mjs +2 -0
  188. package/dist/chunks/cli-1.1.34-qc15bhsg.mjs +10 -0
  189. package/dist/chunks/cli-1.1.34-qef4zhc3.mjs +2 -0
  190. package/dist/chunks/cli-1.1.34-qs805z7n.mjs +9 -0
  191. package/dist/chunks/cli-1.1.34-qwd6k5t4.mjs +2 -0
  192. package/dist/chunks/cli-1.1.34-r222exkd.mjs +2 -0
  193. package/dist/chunks/cli-1.1.34-r3kdjy4e.mjs +2 -0
  194. package/dist/chunks/cli-1.1.34-r5dphbcm.mjs +2 -0
  195. package/dist/chunks/cli-1.1.34-rb7wdjza.mjs +45 -0
  196. package/dist/chunks/cli-1.1.34-rkx3x9f6.mjs +4 -0
  197. package/dist/chunks/cli-1.1.34-rqkzp4n2.mjs +2 -0
  198. package/dist/chunks/cli-1.1.34-rs4xg86x.mjs +2 -0
  199. package/dist/chunks/cli-1.1.34-s4gsmtx9.mjs +21 -0
  200. package/dist/chunks/cli-1.1.34-s8c2c7g3.mjs +3 -0
  201. package/dist/chunks/cli-1.1.34-s9g6mekb.mjs +2 -0
  202. package/dist/chunks/cli-1.1.34-sfxba1xz.mjs +3 -0
  203. package/dist/chunks/cli-1.1.34-shm51n5s.mjs +2 -0
  204. package/dist/chunks/cli-1.1.34-sj1pcnn3.mjs +2 -0
  205. package/dist/chunks/cli-1.1.34-sq51za8b.mjs +2 -0
  206. package/dist/chunks/cli-1.1.34-sxpgdyxm.mjs +2 -0
  207. package/dist/chunks/cli-1.1.34-syx85e6f.mjs +15 -0
  208. package/dist/chunks/cli-1.1.34-t4rp44p7.mjs +2 -0
  209. package/dist/chunks/cli-1.1.34-tj5mvsam.mjs +2 -0
  210. package/dist/chunks/cli-1.1.34-tmwcg7q1.mjs +2 -0
  211. package/dist/chunks/cli-1.1.34-ty06ehzt.mjs +3 -0
  212. package/dist/chunks/cli-1.1.34-v2gbtt59.mjs +50 -0
  213. package/dist/chunks/cli-1.1.34-vdk5kjz7.mjs +15 -0
  214. package/dist/chunks/cli-1.1.34-vdwfqapw.mjs +2 -0
  215. package/dist/chunks/cli-1.1.34-vmnqkma9.mjs +2 -0
  216. package/dist/chunks/cli-1.1.34-vpwwhg8z.mjs +2 -0
  217. package/dist/chunks/cli-1.1.34-vrsb0pea.mjs +2 -0
  218. package/dist/chunks/cli-1.1.34-vz14r55x.mjs +3 -0
  219. package/dist/chunks/cli-1.1.34-w7vjt3vm.mjs +2 -0
  220. package/dist/chunks/cli-1.1.34-w9ek3z9c.mjs +2 -0
  221. package/dist/chunks/cli-1.1.34-webjc1s3.mjs +2 -0
  222. package/dist/chunks/cli-1.1.34-wfb66gsv.mjs +2 -0
  223. package/dist/chunks/cli-1.1.34-wh74w227.mjs +2 -0
  224. package/dist/chunks/cli-1.1.34-whbj9gb8.mjs +24 -0
  225. package/dist/chunks/cli-1.1.34-wqkce8kj.mjs +2 -0
  226. package/dist/chunks/cli-1.1.34-wwjkncsv.mjs +203 -0
  227. package/dist/chunks/cli-1.1.34-wwvcrp2d.mjs +2 -0
  228. package/dist/chunks/cli-1.1.34-xptd4xtb.mjs +2 -0
  229. package/dist/chunks/cli-1.1.34-xwg0x7p4.mjs +5 -0
  230. package/dist/chunks/cli-1.1.34-xx555z7d.mjs +25 -0
  231. package/dist/chunks/cli-1.1.34-yfasvar9.mjs +2 -0
  232. package/dist/chunks/cli-1.1.34-yk56k2na.mjs +2 -0
  233. package/dist/chunks/cli-1.1.34-yqryw36t.mjs +2 -0
  234. package/dist/chunks/cli-1.1.34-yqyrt954.mjs +2 -0
  235. package/dist/chunks/cli-1.1.34-yrk4mxjw.mjs +16 -0
  236. package/dist/chunks/cli-1.1.34-z14xw89f.mjs +2 -0
  237. package/dist/chunks/cli-1.1.34-z1htezxg.mjs +2 -0
  238. package/dist/chunks/cli-1.1.34-z1tmh10g.mjs +2 -0
  239. package/dist/chunks/cli-1.1.34-z84fkt5q.mjs +2 -0
  240. package/dist/chunks/cli-1.1.34-zpsaqq15.mjs +17 -0
  241. package/dist/chunks/client-1.1.34-4exntck8.mjs +1 -0
  242. package/dist/chunks/color-1.1.34-d4199wch.mjs +1 -0
  243. package/dist/chunks/compact-1.1.34-jwr60dt0.mjs +2 -0
  244. package/dist/chunks/config-1.1.34-acewhfv4.mjs +1 -0
  245. package/dist/chunks/config-1.1.34-tqzmnvs7.mjs +1 -0
  246. package/dist/chunks/constants-1.1.34-s2nkrx7g.mjs +1 -0
  247. package/dist/chunks/context-1.1.34-wc822wp5.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-1.1.34-59xb33ys.mjs +1 -0
  249. package/dist/chunks/conversation-1.1.34-5k03q5nt.mjs +1 -0
  250. package/dist/chunks/copilotHeaders-1.1.34-dkmsvh40.mjs +1 -0
  251. package/dist/chunks/copy-1.1.34-efb24nm3.mjs +9 -0
  252. package/dist/chunks/cost-1.1.34-nqqv2xjh.mjs +1 -0
  253. package/dist/chunks/createSession-1.1.34-69d3ep6s.mjs +1 -0
  254. package/dist/chunks/debug-1.1.34-k568mcye.mjs +1 -0
  255. package/dist/chunks/defaultActionDeps-1.1.34-16tn959k.mjs +1480 -0
  256. package/dist/chunks/desktop-1.1.34-p9x626qf.mjs +2 -0
  257. package/dist/chunks/detectRepository-1.1.34-rqyapz8m.mjs +1 -0
  258. package/dist/chunks/detection-1.1.34-5xfznq79.mjs +1 -0
  259. package/dist/chunks/diff-1.1.34-5ggzgzf5.mjs +1 -0
  260. package/dist/chunks/doctor-1.1.34-j6mbdd5g.mjs +1 -0
  261. package/dist/chunks/doctorDiagnostic-1.1.34-spmjpktf.mjs +1 -0
  262. package/dist/chunks/earlyInput-1.1.34-a0ptf6h4.mjs +1 -0
  263. package/dist/chunks/effort-1.1.34-9k8mc8ca.mjs +13 -0
  264. package/dist/chunks/engine-1.1.34-y28mg4na.mjs +1 -0
  265. package/dist/chunks/envLessBridgeConfig-1.1.34-wm7tybv6.mjs +1 -0
  266. package/dist/chunks/envUtils-1.1.34-rmsh5nt5.mjs +1 -0
  267. package/dist/chunks/errors-1.1.34-61fzsrh4.mjs +1 -0
  268. package/dist/chunks/exampleCommands-1.1.34-8x8b7p9t.mjs +1 -0
  269. package/dist/chunks/execFileNoThrow-1.1.34-zemxr8xw.mjs +1 -0
  270. package/dist/chunks/exit-1.1.34-sw6zmmgn.mjs +1 -0
  271. package/dist/chunks/explorer-1.1.34-3apnqz0a.mjs +1 -0
  272. package/dist/chunks/export-1.1.34-1hyv5efm.mjs +2 -0
  273. package/dist/chunks/fast-1.1.34-3d72mbz1.mjs +1 -0
  274. package/dist/chunks/feedback-1.1.34-k74bh5v8.mjs +16 -0
  275. package/dist/chunks/git-1.1.34-p3qv0ed3.mjs +1 -0
  276. package/dist/chunks/githubModelsCredentials-1.1.34-hmjt89m3.mjs +1 -0
  277. package/dist/chunks/goal-1.1.34-m6dge19b.mjs +4 -0
  278. package/dist/chunks/headless-1.1.34-hpaadbg6.mjs +2 -0
  279. package/dist/chunks/heapdump-1.1.34-zc52x1pc.mjs +6 -0
  280. package/dist/chunks/help-1.1.34-0sgw7jbh.mjs +1 -0
  281. package/dist/chunks/hooks-1.1.34-8s6pawxx.mjs +1 -0
  282. package/dist/chunks/hooks-1.1.34-vnm6rywf.mjs +79 -0
  283. package/dist/chunks/ide-1.1.34-jbcf8ma9.mjs +3 -0
  284. package/dist/chunks/image-processor-napi-1.1.34-zrk7wvw2.mjs +1 -0
  285. package/dist/chunks/import-1.1.34-4j35p307.mjs +261 -0
  286. package/dist/chunks/inboundAttachments-1.1.34-pk5t3y0v.mjs +1 -0
  287. package/dist/chunks/index-1.1.34-086aty1n.mjs +1 -0
  288. package/dist/chunks/index-1.1.34-0q46c1bj.mjs +1 -0
  289. package/dist/chunks/index-1.1.34-2j48ar1m.mjs +1 -0
  290. package/dist/chunks/index-1.1.34-427npr7a.mjs +1 -0
  291. package/dist/chunks/index-1.1.34-50d0rg8h.mjs +5 -0
  292. package/dist/chunks/index-1.1.34-50j6q6gr.mjs +1 -0
  293. package/dist/chunks/index-1.1.34-ehvgt047.mjs +1 -0
  294. package/dist/chunks/index-1.1.34-faq1af2v.mjs +1 -0
  295. package/dist/chunks/index-1.1.34-fvrswew9.mjs +2 -0
  296. package/dist/chunks/index-1.1.34-mx39dxjj.mjs +30 -0
  297. package/dist/chunks/index-1.1.34-mxpb8hvr.mjs +9 -0
  298. package/dist/chunks/index-1.1.34-nye63dch.mjs +1 -0
  299. package/dist/chunks/index-1.1.34-qmmg0npy.mjs +2 -0
  300. package/dist/chunks/index-1.1.34-qxa3e3cv.mjs +1 -0
  301. package/dist/chunks/index-1.1.34-snehdv50.mjs +1 -0
  302. package/dist/chunks/index-1.1.34-t7jsxdbk.mjs +1 -0
  303. package/dist/chunks/index-1.1.34-wgm8z1dz.mjs +1 -0
  304. package/dist/chunks/index-1.1.34-wz64a3d4.mjs +9 -0
  305. package/dist/chunks/index-1.1.34-x83gwj6g.mjs +23 -0
  306. package/dist/chunks/index-1.1.34-xa114b8t.mjs +1 -0
  307. package/dist/chunks/index-1.1.34-y10pcdv1.mjs +1 -0
  308. package/dist/chunks/index-1.1.34-yqzmcm9y.mjs +1 -0
  309. package/dist/chunks/index-1.1.34-yxzywg42.mjs +1 -0
  310. package/dist/chunks/init-1.1.34-jdhgqsrc.mjs +2 -0
  311. package/dist/chunks/initReplBridge-1.1.34-b0awafmd.mjs +1 -0
  312. package/dist/chunks/ink-1.1.34-yb3z87en.mjs +1 -0
  313. package/dist/chunks/insights-1.1.34-a321wxgf.mjs +870 -0
  314. package/dist/chunks/install-1.1.34-064wyxwb.mjs +1 -0
  315. package/dist/chunks/install-github-app-1.1.34-smwffy57.mjs +149 -0
  316. package/dist/chunks/install-slack-app-1.1.34-a5bwj8gk.mjs +1 -0
  317. package/dist/chunks/interactiveHelpers-1.1.34-pq1b6btm.mjs +1 -0
  318. package/dist/chunks/keybindings-1.1.34-rq312f3j.mjs +2 -0
  319. package/dist/chunks/latestVersionCache-1.1.34-x006sta9.mjs +1 -0
  320. package/dist/chunks/loadAgentsDir-1.1.34-2w0hm9wz.mjs +1 -0
  321. package/dist/chunks/loadPluginHooks-1.1.34-t9s8mknk.mjs +1 -0
  322. package/dist/chunks/log-1.1.34-n41t6etn.mjs +1 -0
  323. package/dist/chunks/main-1.1.34-gh9n8dgw.mjs +1 -0
  324. package/dist/chunks/managedEnv-1.1.34-qntg5ykr.mjs +1 -0
  325. package/dist/chunks/mcp-1.1.34-5mtgev8d.mjs +17 -0
  326. package/dist/chunks/mcp-1.1.34-61dcjzjk.mjs +4 -0
  327. package/dist/chunks/mcp-1.1.34-9d1py1ez.mjs +1 -0
  328. package/dist/chunks/mcpb-1.1.34-x9mxeryp.mjs +1 -0
  329. package/dist/chunks/memory-1.1.34-sys90hns.mjs +128 -0
  330. package/dist/chunks/model-1.1.34-v1r14fy7.mjs +1 -0
  331. package/dist/chunks/model-1.1.34-vks7w05g.mjs +2 -0
  332. package/dist/chunks/node-1.1.34-5b5b2m9b.mjs +1 -0
  333. package/dist/chunks/node-1.1.34-sdqnj3qm.mjs +15 -0
  334. package/dist/chunks/oauth-1.1.34-bbmwrswg.mjs +1 -0
  335. package/dist/chunks/openaiShim-1.1.34-kj2a4r19.mjs +14 -0
  336. package/dist/chunks/output-style-1.1.34-a4dykckn.mjs +1 -0
  337. package/dist/chunks/package-F6O7J2XI-1.1.34-291qk0fk.mjs +1 -0
  338. package/dist/chunks/permissions-1.1.34-bqhsed60.mjs +1 -0
  339. package/dist/chunks/permissions-1.1.34-xkrhteme.mjs +3 -0
  340. package/dist/chunks/plan-1.1.34-j7qcpv9s.mjs +1 -0
  341. package/dist/chunks/plist-1.1.34-ykta36sg.mjs +1 -0
  342. package/dist/chunks/plugin-1.1.34-vszmzh0r.mjs +29 -0
  343. package/dist/chunks/pluginStartupCheck-1.1.34-5xap799m.mjs +1 -0
  344. package/dist/chunks/plugins-1.1.34-6ea553qa.mjs +9 -0
  345. package/dist/chunks/preActionHook-1.1.34-xy1pecch.mjs +2 -0
  346. package/dist/chunks/print-1.1.34-2gdkw86g.mjs +57 -0
  347. package/dist/chunks/process-1.1.34-fms89mxv.mjs +1 -0
  348. package/dist/chunks/processBashCommand-1.1.34-gcydk2hd.mjs +1 -0
  349. package/dist/chunks/processSlashCommand-1.1.34-a3q257ff.mjs +9 -0
  350. package/dist/chunks/prompt-1.1.34-ctfxsw9h.mjs +1 -0
  351. package/dist/chunks/prompt-1.1.34-wp8mvh7t.mjs +1 -0
  352. package/dist/chunks/prompts-1.1.34-bmq3swzy.mjs +1 -0
  353. package/dist/chunks/provider-1.1.34-00xnjkhs.mjs +2 -0
  354. package/dist/chunks/providerProfiles-1.1.34-psred1pr.mjs +1 -0
  355. package/dist/chunks/providerValidation-1.1.34-0vamj708.mjs +6 -0
  356. package/dist/chunks/registerSubcommands-1.1.34-pmqr2nmf.mjs +26 -0
  357. package/dist/chunks/registry-1.1.34-sapmjhjz.mjs +1 -0
  358. package/dist/chunks/release-notes-1.1.34-p6wg8evp.mjs +5 -0
  359. package/dist/chunks/reload-plugins-1.1.34-cd8e00jp.mjs +2 -0
  360. package/dist/chunks/remote-env-1.1.34-fpepp6cm.mjs +1 -0
  361. package/dist/chunks/remoteBridgeCore-1.1.34-mmxz0ypj.mjs +1 -0
  362. package/dist/chunks/rename-1.1.34-gwdavcb8.mjs +1 -0
  363. package/dist/chunks/replLauncher-1.1.34-5yvyazea.mjs +1 -0
  364. package/dist/chunks/resume-1.1.34-9abwrf3b.mjs +2 -0
  365. package/dist/chunks/rewind-1.1.34-qf51de9x.mjs +1 -0
  366. package/dist/chunks/rootOptions-1.1.34-dkd3s4x5.mjs +1 -0
  367. package/dist/chunks/runWorkflowHeadless-1.1.34-c0j2ym4w.mjs +10 -0
  368. package/dist/chunks/sandbox-adapter-1.1.34-ad556paa.mjs +1 -0
  369. package/dist/chunks/sandbox-toggle-1.1.34-1x2ddxv2.mjs +1 -0
  370. package/dist/chunks/session-1.1.34-h46ywygv.mjs +2 -0
  371. package/dist/chunks/sessionStorage-1.1.34-tc7rwcvm.mjs +1 -0
  372. package/dist/chunks/settings-1.1.34-bk3tb34s.mjs +1 -0
  373. package/dist/chunks/setup-1.1.34-3ddxnk01.mjs +12 -0
  374. package/dist/chunks/sinks-1.1.34-ww0tcz6j.mjs +1 -0
  375. package/dist/chunks/skills-1.1.34-3ybbxgjn.mjs +1 -0
  376. package/dist/chunks/startupProfiler-1.1.34-7z13z7v7.mjs +1 -0
  377. package/dist/chunks/startupUpdateCheck-1.1.34-45fyr9wz.mjs +1 -0
  378. package/dist/chunks/state-1.1.34-pymefs1m.mjs +1 -0
  379. package/dist/chunks/stats-1.1.34-4jw41qjm.mjs +1 -0
  380. package/dist/chunks/status-1.1.34-r120pa8k.mjs +1 -0
  381. package/dist/chunks/stickers-1.1.34-5zsfjhdn.mjs +1 -0
  382. package/dist/chunks/subprocessEnv-1.1.34-44r7jf62.mjs +1 -0
  383. package/dist/chunks/tasks-1.1.34-1mhjk4hs.mjs +1 -0
  384. package/dist/chunks/teamHelpers-1.1.34-jfmrh1r7.mjs +1 -0
  385. package/dist/chunks/teammateModeSnapshot-1.1.34-m47hpvj2.mjs +1 -0
  386. package/dist/chunks/teleport-1.1.34-g7gk9g3q.mjs +1 -0
  387. package/dist/chunks/terminalSetup-1.1.34-8e12gzad.mjs +1 -0
  388. package/dist/chunks/theme-1.1.34-bvmx3zyc.mjs +1 -0
  389. package/dist/chunks/thinkback-1.1.34-bz9h3qn7.mjs +1 -0
  390. package/dist/chunks/thinkback-play-1.1.34-azysb61e.mjs +1 -0
  391. package/dist/chunks/toolPool-1.1.34-tewk9s1e.mjs +1 -0
  392. package/dist/chunks/toolSearch-1.1.34-70r6c6d3.mjs +1 -0
  393. package/dist/chunks/tools-1.1.34-a7jpjvb5.mjs +1 -0
  394. package/dist/chunks/trustedDevice-1.1.34-jhn5330j.mjs +1 -0
  395. package/dist/chunks/turndown.cjs-1.1.34-8ve160tv.mjs +69 -0
  396. package/dist/chunks/types-1.1.34-0as4p0wf.mjs +1 -0
  397. package/dist/chunks/ultrareviewCommand-1.1.34-b7bpj27y.mjs +4 -0
  398. package/dist/chunks/update-1.1.34-wnetpcv6.mjs +72 -0
  399. package/dist/chunks/upload-1.1.34-3cdkjhmm.mjs +7 -0
  400. package/dist/chunks/upstreamproxy-1.1.34-x376823n.mjs +14 -0
  401. package/dist/chunks/usage-1.1.34-h5bv8trt.mjs +1 -0
  402. package/dist/chunks/util-1.1.34-7ctz504f.mjs +1 -0
  403. package/dist/chunks/utils-1.1.34-h9r9ybtj.mjs +1 -0
  404. package/dist/chunks/vim-1.1.34-4y4504z8.mjs +1 -0
  405. package/dist/chunks/watchLoop-1.1.34-tnjnpc05.mjs +13 -0
  406. package/dist/chunks/wiki-1.1.34-53n04tv3.mjs +132 -0
  407. package/dist/chunks/workflows-1.1.34-zefy425g.mjs +1 -0
  408. package/dist/chunks/worktree-1.1.34-gzm7041w.mjs +1 -0
  409. package/dist/chunks/worktreeModeEnabled-1.1.34-x9qxm01a.mjs +1 -0
  410. package/dist/chunks/wrapper-1.1.34-jmcmxyrm.mjs +7 -0
  411. package/dist/cli.mjs +2 -2
  412. package/package.json +9 -9
  413. package/dist/chunks/App-1.1.33-y76d67dw.mjs +0 -1
  414. package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +0 -1
  415. package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +0 -1
  416. package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +0 -1
  417. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +0 -1
  418. package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +0 -1
  419. package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +0 -6
  420. package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +0 -1
  421. package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +0 -6
  422. package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +0 -1
  423. package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +0 -1
  424. package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +0 -1
  425. package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +0 -1
  426. package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +0 -1
  427. package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +0 -1
  428. package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +0 -1
  429. package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +0 -1
  430. package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +0 -1
  431. package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +0 -1
  432. package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +0 -1
  433. package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +0 -9
  434. package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +0 -1
  435. package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +0 -1
  436. package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +0 -1
  437. package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +0 -1
  438. package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +0 -1
  439. package/dist/chunks/agents-1.1.33-mbve4trn.mjs +0 -3
  440. package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +0 -110
  441. package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +0 -1
  442. package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +0 -1
  443. package/dist/chunks/auth-1.1.33-k778a810.mjs +0 -1
  444. package/dist/chunks/auth-1.1.33-xappxyn1.mjs +0 -1
  445. package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +0 -52
  446. package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +0 -44
  447. package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +0 -1
  448. package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +0 -1
  449. package/dist/chunks/branch-1.1.33-gthrar82.mjs +0 -4
  450. package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +0 -2
  451. package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +0 -1
  452. package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +0 -1
  453. package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +0 -88
  454. package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +0 -1
  455. package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +0 -1
  456. package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +0 -3
  457. package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +0 -21
  458. package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +0 -4
  459. package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +0 -1
  460. package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +0 -3
  461. package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +0 -1
  462. package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +0 -1
  463. package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +0 -1
  464. package/dist/chunks/cli-1.1.33-05291q1a.mjs +0 -2
  465. package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +0 -15
  466. package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +0 -133
  467. package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +0 -24
  468. package/dist/chunks/cli-1.1.33-0sckqj39.mjs +0 -2
  469. package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +0 -2
  470. package/dist/chunks/cli-1.1.33-20v60hvd.mjs +0 -203
  471. package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +0 -2
  472. package/dist/chunks/cli-1.1.33-22addsh7.mjs +0 -4
  473. package/dist/chunks/cli-1.1.33-231zj4yg.mjs +0 -2
  474. package/dist/chunks/cli-1.1.33-241y9eee.mjs +0 -5
  475. package/dist/chunks/cli-1.1.33-283f43sy.mjs +0 -2
  476. package/dist/chunks/cli-1.1.33-2chamq3v.mjs +0 -2
  477. package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +0 -2
  478. package/dist/chunks/cli-1.1.33-303jm377.mjs +0 -2
  479. package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +0 -10
  480. package/dist/chunks/cli-1.1.33-39q98nwa.mjs +0 -2
  481. package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +0 -2
  482. package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +0 -2
  483. package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +0 -2
  484. package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +0 -2
  485. package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +0 -5
  486. package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +0 -24
  487. package/dist/chunks/cli-1.1.33-4t7b2799.mjs +0 -2
  488. package/dist/chunks/cli-1.1.33-525zf497.mjs +0 -16
  489. package/dist/chunks/cli-1.1.33-56fen5jd.mjs +0 -4
  490. package/dist/chunks/cli-1.1.33-5c19q87v.mjs +0 -2
  491. package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +0 -2
  492. package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +0 -2
  493. package/dist/chunks/cli-1.1.33-5pa215hx.mjs +0 -2
  494. package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +0 -17
  495. package/dist/chunks/cli-1.1.33-726gr74y.mjs +0 -2
  496. package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +0 -2
  497. package/dist/chunks/cli-1.1.33-7qjhgket.mjs +0 -2
  498. package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +0 -2
  499. package/dist/chunks/cli-1.1.33-7rd596wq.mjs +0 -2
  500. package/dist/chunks/cli-1.1.33-7shybbdj.mjs +0 -2
  501. package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +0 -50
  502. package/dist/chunks/cli-1.1.33-87p06j57.mjs +0 -2
  503. package/dist/chunks/cli-1.1.33-8dxvf995.mjs +0 -2
  504. package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +0 -18
  505. package/dist/chunks/cli-1.1.33-8p3h818h.mjs +0 -2
  506. package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +0 -2
  507. package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +0 -2
  508. package/dist/chunks/cli-1.1.33-90w26xxw.mjs +0 -4
  509. package/dist/chunks/cli-1.1.33-94s66kd2.mjs +0 -2
  510. package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +0 -2
  511. package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +0 -2
  512. package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +0 -2
  513. package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +0 -60
  514. package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +0 -3
  515. package/dist/chunks/cli-1.1.33-a6dvne78.mjs +0 -2
  516. package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +0 -2
  517. package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +0 -2
  518. package/dist/chunks/cli-1.1.33-afsw641c.mjs +0 -2
  519. package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +0 -3
  520. package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +0 -11
  521. package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +0 -2
  522. package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +0 -2
  523. package/dist/chunks/cli-1.1.33-bh8452tq.mjs +0 -2
  524. package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +0 -2
  525. package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +0 -2
  526. package/dist/chunks/cli-1.1.33-c14msjsc.mjs +0 -2
  527. package/dist/chunks/cli-1.1.33-c37dxjja.mjs +0 -2
  528. package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +0 -2
  529. package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +0 -2
  530. package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +0 -15
  531. package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +0 -2
  532. package/dist/chunks/cli-1.1.33-cj2t55an.mjs +0 -2
  533. package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +0 -4
  534. package/dist/chunks/cli-1.1.33-czpahv90.mjs +0 -25
  535. package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +0 -2
  536. package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +0 -4
  537. package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +0 -2
  538. package/dist/chunks/cli-1.1.33-das1k5jq.mjs +0 -3
  539. package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +0 -5
  540. package/dist/chunks/cli-1.1.33-df8tggjt.mjs +0 -2
  541. package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +0 -2
  542. package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +0 -3
  543. package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +0 -2
  544. package/dist/chunks/cli-1.1.33-dp41gds0.mjs +0 -2
  545. package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +0 -2
  546. package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +0 -2
  547. package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +0 -3
  548. package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +0 -2
  549. package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +0 -10
  550. package/dist/chunks/cli-1.1.33-effqmrgb.mjs +0 -2
  551. package/dist/chunks/cli-1.1.33-evp1q65w.mjs +0 -2
  552. package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +0 -2
  553. package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +0 -2
  554. package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +0 -63
  555. package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +0 -2
  556. package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +0 -2
  557. package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +0 -6
  558. package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +0 -2
  559. package/dist/chunks/cli-1.1.33-ggk9m978.mjs +0 -7
  560. package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +0 -34
  561. package/dist/chunks/cli-1.1.33-gnejtk17.mjs +0 -7
  562. package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +0 -17
  563. package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +0 -2
  564. package/dist/chunks/cli-1.1.33-h27b2an0.mjs +0 -2
  565. package/dist/chunks/cli-1.1.33-h75frpfe.mjs +0 -2
  566. package/dist/chunks/cli-1.1.33-heys42qe.mjs +0 -9
  567. package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +0 -2
  568. package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +0 -45
  569. package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +0 -2
  570. package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +0 -6
  571. package/dist/chunks/cli-1.1.33-j75f13gr.mjs +0 -2
  572. package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +0 -2
  573. package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +0 -2
  574. package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +0 -2
  575. package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +0 -2
  576. package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +0 -2
  577. package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +0 -2
  578. package/dist/chunks/cli-1.1.33-k466m68a.mjs +0 -2
  579. package/dist/chunks/cli-1.1.33-k51bffb8.mjs +0 -2
  580. package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +0 -2
  581. package/dist/chunks/cli-1.1.33-kg221c89.mjs +0 -2
  582. package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +0 -133
  583. package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +0 -4
  584. package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +0 -2
  585. package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +0 -2
  586. package/dist/chunks/cli-1.1.33-m06xge1a.mjs +0 -2
  587. package/dist/chunks/cli-1.1.33-m08stm17.mjs +0 -2
  588. package/dist/chunks/cli-1.1.33-m402nk5n.mjs +0 -2
  589. package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +0 -2
  590. package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +0 -2
  591. package/dist/chunks/cli-1.1.33-mhph00kg.mjs +0 -24
  592. package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +0 -2
  593. package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +0 -2
  594. package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +0 -4
  595. package/dist/chunks/cli-1.1.33-n55k105y.mjs +0 -2
  596. package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +0 -2
  597. package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +0 -15
  598. package/dist/chunks/cli-1.1.33-ndste4rf.mjs +0 -39
  599. package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +0 -9
  600. package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +0 -6
  601. package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +0 -7
  602. package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +0 -8
  603. package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +0 -42
  604. package/dist/chunks/cli-1.1.33-q8hq263y.mjs +0 -2
  605. package/dist/chunks/cli-1.1.33-qr675sx2.mjs +0 -2
  606. package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +0 -2
  607. package/dist/chunks/cli-1.1.33-ra054vbq.mjs +0 -2
  608. package/dist/chunks/cli-1.1.33-raynjbkq.mjs +0 -2
  609. package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +0 -2
  610. package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +0 -2
  611. package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +0 -2
  612. package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +0 -2
  613. package/dist/chunks/cli-1.1.33-rtme70ck.mjs +0 -2
  614. package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +0 -2
  615. package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +0 -2
  616. package/dist/chunks/cli-1.1.33-s5kw6064.mjs +0 -3
  617. package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +0 -2
  618. package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +0 -2
  619. package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +0 -3
  620. package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +0 -2
  621. package/dist/chunks/cli-1.1.33-t10xrxez.mjs +0 -2
  622. package/dist/chunks/cli-1.1.33-t26pazs8.mjs +0 -2
  623. package/dist/chunks/cli-1.1.33-t591k29k.mjs +0 -21
  624. package/dist/chunks/cli-1.1.33-t63yat1z.mjs +0 -2
  625. package/dist/chunks/cli-1.1.33-t78313g4.mjs +0 -3
  626. package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +0 -12
  627. package/dist/chunks/cli-1.1.33-tp6bhara.mjs +0 -4
  628. package/dist/chunks/cli-1.1.33-ts50d9at.mjs +0 -2
  629. package/dist/chunks/cli-1.1.33-ttc7emph.mjs +0 -25
  630. package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +0 -2
  631. package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +0 -6
  632. package/dist/chunks/cli-1.1.33-v615gn7w.mjs +0 -3
  633. package/dist/chunks/cli-1.1.33-vgynvhys.mjs +0 -5491
  634. package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +0 -2
  635. package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +0 -6
  636. package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +0 -2
  637. package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +0 -2
  638. package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +0 -2
  639. package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +0 -2
  640. package/dist/chunks/cli-1.1.33-xfawy00r.mjs +0 -2
  641. package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +0 -2
  642. package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +0 -2
  643. package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +0 -20
  644. package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +0 -2
  645. package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +0 -2
  646. package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +0 -2
  647. package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +0 -2
  648. package/dist/chunks/cli-1.1.33-yygdy86h.mjs +0 -2
  649. package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +0 -3
  650. package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +0 -2
  651. package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +0 -2
  652. package/dist/chunks/cli-1.1.33-zsk851wd.mjs +0 -2
  653. package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +0 -1
  654. package/dist/chunks/color-1.1.33-q69y353w.mjs +0 -1
  655. package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +0 -2
  656. package/dist/chunks/config-1.1.33-h6tzt18x.mjs +0 -1
  657. package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +0 -1
  658. package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +0 -1
  659. package/dist/chunks/context-1.1.33-pm79kmgf.mjs +0 -1
  660. package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +0 -1
  661. package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +0 -1
  662. package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +0 -1
  663. package/dist/chunks/copy-1.1.33-yynkyja4.mjs +0 -9
  664. package/dist/chunks/cost-1.1.33-sjebbq22.mjs +0 -1
  665. package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +0 -1
  666. package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +0 -1
  667. package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +0 -1480
  668. package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +0 -2
  669. package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +0 -1
  670. package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +0 -1
  671. package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +0 -1
  672. package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +0 -1
  673. package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +0 -1
  674. package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +0 -1
  675. package/dist/chunks/effort-1.1.33-nf63b81y.mjs +0 -13
  676. package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +0 -1
  677. package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +0 -1
  678. package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +0 -1
  679. package/dist/chunks/errors-1.1.33-xdf8frps.mjs +0 -1
  680. package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +0 -1
  681. package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +0 -1
  682. package/dist/chunks/exit-1.1.33-s8c549bt.mjs +0 -1
  683. package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +0 -1
  684. package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +0 -2
  685. package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +0 -1
  686. package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +0 -16
  687. package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +0 -1
  688. package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +0 -1
  689. package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +0 -4
  690. package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +0 -2
  691. package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +0 -6
  692. package/dist/chunks/help-1.1.33-65k2zqsp.mjs +0 -1
  693. package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +0 -1
  694. package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +0 -79
  695. package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +0 -3
  696. package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +0 -1
  697. package/dist/chunks/import-1.1.33-9vq41kwx.mjs +0 -261
  698. package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +0 -1
  699. package/dist/chunks/index-1.1.33-0szd959f.mjs +0 -9
  700. package/dist/chunks/index-1.1.33-1cyg72cg.mjs +0 -5
  701. package/dist/chunks/index-1.1.33-20n0wyay.mjs +0 -2
  702. package/dist/chunks/index-1.1.33-37m0wr5f.mjs +0 -1
  703. package/dist/chunks/index-1.1.33-4e6weswv.mjs +0 -2
  704. package/dist/chunks/index-1.1.33-5at6jw86.mjs +0 -9
  705. package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +0 -1
  706. package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +0 -1
  707. package/dist/chunks/index-1.1.33-809kmg0e.mjs +0 -1
  708. package/dist/chunks/index-1.1.33-av56945n.mjs +0 -1
  709. package/dist/chunks/index-1.1.33-ayj1khn3.mjs +0 -1
  710. package/dist/chunks/index-1.1.33-d4h14a2g.mjs +0 -1
  711. package/dist/chunks/index-1.1.33-j01a41jn.mjs +0 -1
  712. package/dist/chunks/index-1.1.33-j3pffnmd.mjs +0 -30
  713. package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +0 -23
  714. package/dist/chunks/index-1.1.33-pdret8nd.mjs +0 -1
  715. package/dist/chunks/index-1.1.33-px65xz19.mjs +0 -1
  716. package/dist/chunks/index-1.1.33-q02fr1yn.mjs +0 -1
  717. package/dist/chunks/index-1.1.33-qckmwfjb.mjs +0 -1
  718. package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +0 -1
  719. package/dist/chunks/index-1.1.33-thfe8yxq.mjs +0 -1
  720. package/dist/chunks/index-1.1.33-vpdejaqk.mjs +0 -1
  721. package/dist/chunks/index-1.1.33-x6vn8g63.mjs +0 -1
  722. package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +0 -2
  723. package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +0 -1
  724. package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +0 -1
  725. package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +0 -870
  726. package/dist/chunks/install-1.1.33-yddevjtj.mjs +0 -1
  727. package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +0 -149
  728. package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +0 -1
  729. package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +0 -1
  730. package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +0 -2
  731. package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +0 -1
  732. package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +0 -1
  733. package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +0 -1
  734. package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +0 -1
  735. package/dist/chunks/main-1.1.33-qvas86jh.mjs +0 -1
  736. package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +0 -1
  737. package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +0 -1
  738. package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +0 -4
  739. package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +0 -17
  740. package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +0 -1
  741. package/dist/chunks/memory-1.1.33-9qffk96q.mjs +0 -128
  742. package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +0 -1
  743. package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +0 -2
  744. package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +0 -1
  745. package/dist/chunks/node-1.1.33-qg258pyx.mjs +0 -15
  746. package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +0 -1
  747. package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +0 -14
  748. package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +0 -1
  749. package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +0 -1
  750. package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +0 -1
  751. package/dist/chunks/permissions-1.1.33-qk86j364.mjs +0 -3
  752. package/dist/chunks/plan-1.1.33-brttkasm.mjs +0 -1
  753. package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +0 -1
  754. package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +0 -29
  755. package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +0 -1
  756. package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +0 -9
  757. package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +0 -2
  758. package/dist/chunks/print-1.1.33-0an9v6wm.mjs +0 -57
  759. package/dist/chunks/process-1.1.33-34nr1vvf.mjs +0 -1
  760. package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +0 -1
  761. package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +0 -9
  762. package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +0 -1
  763. package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +0 -1
  764. package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +0 -1
  765. package/dist/chunks/provider-1.1.33-s17k8dew.mjs +0 -2
  766. package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +0 -1
  767. package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +0 -6
  768. package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +0 -26
  769. package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +0 -1
  770. package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +0 -5
  771. package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +0 -2
  772. package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +0 -1
  773. package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +0 -1
  774. package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +0 -1
  775. package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +0 -1
  776. package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +0 -2
  777. package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +0 -1
  778. package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +0 -1
  779. package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +0 -10
  780. package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +0 -1
  781. package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +0 -1
  782. package/dist/chunks/session-1.1.33-aepc1jdx.mjs +0 -2
  783. package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +0 -1
  784. package/dist/chunks/settings-1.1.33-16470dd7.mjs +0 -1
  785. package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +0 -12
  786. package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +0 -1
  787. package/dist/chunks/skills-1.1.33-srydghps.mjs +0 -1
  788. package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +0 -1
  789. package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +0 -1
  790. package/dist/chunks/state-1.1.33-yr57kw5b.mjs +0 -1
  791. package/dist/chunks/stats-1.1.33-py9web9f.mjs +0 -1
  792. package/dist/chunks/status-1.1.33-rstx4c0p.mjs +0 -1
  793. package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +0 -1
  794. package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +0 -1
  795. package/dist/chunks/tasks-1.1.33-170ayzks.mjs +0 -1
  796. package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +0 -1
  797. package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +0 -1
  798. package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +0 -1
  799. package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +0 -1
  800. package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +0 -1
  801. package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +0 -1
  802. package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +0 -1
  803. package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +0 -1
  804. package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +0 -1
  805. package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +0 -1
  806. package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +0 -1
  807. package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +0 -69
  808. package/dist/chunks/types-1.1.33-bc49bs3y.mjs +0 -1
  809. package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +0 -4
  810. package/dist/chunks/update-1.1.33-hz986n0w.mjs +0 -72
  811. package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +0 -7
  812. package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +0 -14
  813. package/dist/chunks/usage-1.1.33-jspq6593.mjs +0 -1
  814. package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +0 -1
  815. package/dist/chunks/utils-1.1.33-613tmzqb.mjs +0 -1
  816. package/dist/chunks/vim-1.1.33-gamhf412.mjs +0 -1
  817. package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +0 -13
  818. package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +0 -132
  819. package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +0 -1
  820. package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +0 -1
  821. package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +0 -1
  822. package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +0 -7
  823. /package/dist/chunks/{cli-1.1.33-kx980gfw.mjs → cli-1.1.34-0f5qa0q0.mjs} +0 -0
  824. /package/dist/chunks/{cli-1.1.33-5ff9vmz9.mjs → cli-1.1.34-1426jsf4.mjs} +0 -0
  825. /package/dist/chunks/{cli-1.1.33-xyh0vcv7.mjs → cli-1.1.34-6ndxsqp1.mjs} +0 -0
  826. /package/dist/chunks/{cli-1.1.33-f0vf76a6.mjs → cli-1.1.34-gmaedxb1.mjs} +0 -0
  827. /package/dist/chunks/{cli-1.1.33-1mfasbf1.mjs → cli-1.1.34-h9h6119y.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ import{$pa as W,Zpa as Q,_pa as V,aqa as X,bqa as Y,cqa as Z,vqa as w}from"./cli-1.1.34-n5zh4wyg.mjs";import{Iqa as v}from"./cli-1.1.34-4x915j9t.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
+ `),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
3
+ `)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
+ export{B as Aja,L as Bja,_ as Cja,S as Dja,k as Eja,F as Fja,D as Gja,P as Hja,x as Ija,y as Jja,T as Kja,O as Lja,R as Mja,U as Nja,f as Oja,N as Pja,I as Qja,$ as Rja,A as Sja,p as Tja,C as Uja,h as Vja,E as Wja,b as Xja};
@@ -0,0 +1,2 @@
1
+ import{Iqa as M}from"./cli-1.1.34-4x915j9t.mjs";function G(q){if(q===null||typeof q!=="object"||Array.isArray(q))return null;return q}function W(q){return typeof q==="string"&&q.length>0?q:null}function T(q){return typeof q==="boolean"?q:null}function g(q){if(!Array.isArray(q))return null;let z=[];for(let A of q){if(typeof A!=="string")return null;z.push(A)}return z}function F(q){let z=G(q);if(!z)return null;let A={};for(let[C,B]of Object.entries(z))if(typeof B==="string")A[C]=B;else if(typeof B==="number"||typeof B==="boolean")A[C]=String(B);return A}function k(q,...z){let A=q;for(let C of z){let B=G(A);if(!B)return;A=B[C]}return A}var O=()=>{};import{cpSync as X,existsSync as Q,mkdirSync as Y,readFileSync as Z,readdirSync as _,statSync as U,writeFileSync as $}from"fs";import{dirname as j}from"path";function b(q){try{return G(JSON.parse(Z(q,"utf8")))}catch{return null}}function x(q,z){$(q,JSON.stringify(z,null,2),{encoding:"utf8"})}function N(q){Y(q,{recursive:!0})}function D(q,z){if(!Q(q))return!1;if(!U(q).isDirectory())return!1;return N(j(z)),X(q,z,{recursive:!0,force:!1,errorOnExist:!1,dereference:!0}),!0}function p(q,z){let A=[],C=(B,H)=>{let I;try{I=_(B)}catch{return}for(let E of I.sort()){let J=`${B}/${E}`,K=H?`${H}/${E}`:E,L;try{L=U(J).isDirectory()}catch{continue}if(L)C(J,K);else if(z.some((V)=>E.endsWith(V)))A.push(K)}};if(!Q(q))return A;return C(q,""),A}var R=M(()=>{O()});
2
+ export{G as yg,W as zg,T as Ag,g as Bg,F as Cg,k as Dg,O as Eg,b as Fg,x as Gg,N as Hg,D as Ig,p as Jg,R as Kg};
@@ -0,0 +1,7 @@
1
+ import{Db as d}from"./cli-1.1.34-webjc1s3.mjs";import{kV as v,lV as U,nV as f,oV as O,qV as b,rV as h,sV as c,xV as i}from"./cli-1.1.34-9z887t80.mjs";import{m6 as y,t6 as u}from"./cli-1.1.34-1xg52b7q.mjs";import{y6 as B,z6 as A}from"./cli-1.1.34-4zj4kbw4.mjs";import{T8 as p,j9 as s}from"./cli-1.1.34-166q8s04.mjs";import{M_ as Y,O_ as I}from"./cli-1.1.34-wwjkncsv.mjs";import{Via as H,Wia as m,_ia as T,qja as G,tja as D}from"./cli-1.1.34-xwg0x7p4.mjs";import{Qja as q,Rja as S,Xja as F}from"./cli-1.1.34-d0sgyvr1.mjs";import{randomUUID as N}from"crypto";D();I();F();u();i();f();A();b();T();class j extends Error{retryAfterMs;constructor(J,K){super(J);this.retryAfterMs=K}}class R{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(J){this.config=J}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(J){if(this.closed)return;let K=Array.isArray(J)?J:[J];if(K.length===0)return;while(this.pending.length+K.length>this.config.maxQueueSize&&!this.closed)await new Promise((Q)=>{this.backpressureResolvers.push(Q)});if(this.closed)return;this.pending.push(...K),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((J)=>{this.flushResolvers.push(J)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let J of this.backpressureResolvers)J();this.backpressureResolvers=[];for(let J of this.flushResolvers)J();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let J=0;try{while(this.pending.length>0&&!this.closed){let K=this.takeBatch();if(K.length===0)continue;try{await this.config.send(K),J=0}catch(Q){if(J++,this.config.maxConsecutiveFailures!==void 0&&J>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(K.length,J),J=0,this.releaseBackpressure();continue}this.pending=K.concat(this.pending);let W=Q instanceof j?Q.retryAfterMs:void 0;await this.sleep(this.retryDelay(J,W));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let K of this.flushResolvers)K();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:J,maxBatchBytes:K}=this.config;if(K===void 0)return this.pending.splice(0,J);let Q=0,W=0;while(W<this.pending.length&&W<J){let Z;try{Z=Buffer.byteLength(H(this.pending[W]))}catch{this.pending.splice(W,1);continue}if(W>0&&Q+Z>K)break;Q+=Z,W++}return this.pending.splice(0,W)}retryDelay(J,K){let Q=Math.random()*this.config.jitterMs;if(K!==void 0)return Math.max(this.config.baseDelayMs,Math.min(K,this.config.maxDelayMs))+Q;return Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs)+Q}releaseBackpressure(){let J=this.backpressureResolvers;this.backpressureResolvers=[];for(let K of J)K()}sleep(J){return new Promise((K)=>{this.sleepResolve=K,setTimeout((Q,W)=>{Q.sleepResolve=null,W()},J,this,K)})}}A();class M{inflight=null;pending=null;closed=!1;config;constructor(J){this.config=J}enqueue(J){if(this.closed)return;this.pending=this.pending?P(this.pending,J):J,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let J=this.pending;this.pending=null,this.inflight=this.sendWithRetry(J).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(J){let K=J,Q=0;while(!this.closed){if(await this.config.send(K))return;if(Q++,await B(this.retryDelay(Q)),this.pending&&!this.closed)K=P(K,this.pending),this.pending=null}}retryDelay(J){let K=Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs),Q=Math.random()*this.config.jitterMs;return K+Q}}function P(J,K){let Q={...J};for(let[W,Z]of Object.entries(K))if((W==="external_metadata"||W==="internal_metadata")&&Q[W]&&typeof Q[W]==="object"&&typeof Z==="object"&&Z!==null)Q[W]={...Q[W],...Z};else Q[W]=Z;return Q}var g=20000,l=100;function E(){return!0}class k extends Error{reason;constructor(J){super(`CCRClient init failed: ${J}`);this.reason=J}}var n=10;function o(){return{byMessage:new Map,scopeToMessage:new Map}}function C(J){return`${J.session_id}:${J.parent_tool_use_id??""}`}function r(J,K){let Q=[],W=new Map;for(let Z of J){let $=Z.event;switch($.type){case"message_start":{let z=$.message.id,L=K.scopeToMessage.get(C(Z));if(L)K.byMessage.delete(L);K.scopeToMessage.set(C(Z),z),K.byMessage.set(z,[]),Q.push(Z);break}case"content_block_delta":{if($.delta.type!=="text_delta"){Q.push(Z);break}let z=K.scopeToMessage.get(C(Z)),L=z?K.byMessage.get(z):void 0;if(!L){Q.push(Z);break}let V=L[$.index]??=[];V.push($.delta.text);let X=W.get(V);if(X){X.event.delta.text=V.join("");break}let w={type:"stream_event",uuid:Z.uuid,session_id:Z.session_id,parent_tool_use_id:Z.parent_tool_use_id,event:{type:"content_block_delta",index:$.index,delta:{type:"text_delta",text:V.join("")}}};W.set(V,w),Q.push(w);break}default:Q.push(Z)}}return Q}function t(J,K){J.byMessage.delete(K.message.id);let Q=C(K);if(J.scopeToMessage.get(Q)===K.message.id)J.scopeToMessage.delete(Q)}class a{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=y({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=o();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(J,K,Q){if(this.onEpochMismatch=Q?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=Q?.heartbeatIntervalMs??g,this.heartbeatJitterFraction=Q?.heartbeatJitterFraction??0,this.getAuthHeaders=Q?.getAuthHeaders??U,K.protocol!=="http:"&&K.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${K.protocol}`);let W=K.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${K.protocol}//${K.host}${W}`,this.sessionId=W.split("/").pop()||"",this.workerState=new M({send:(Z)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...Z},"PUT worker").then(($)=>$.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(Z)=>{let $=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:Z},"client events");if(!$.ok)throw new j("client event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(Z)=>{let $=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:Z},"internal events");if(!$.ok)throw new j("internal event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new R({maxBatchSize:64,maxQueueSize:64,send:async(Z)=>{let $=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:Z.map((z)=>({event_id:z.eventId,status:z.status}))},"delivery batch");if(!$.ok)throw new j("delivery POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),J.setOnEvent((Z)=>{this.reportDelivery(Z.event_id,"received")})}async initialize(J){let K=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new k("no_auth_headers");if(J===void 0){let z=process.env.CLAUDE_CODE_WORKER_EPOCH;J=z?parseInt(z,10):NaN}if(isNaN(J))throw new k("missing_epoch");this.workerEpoch=J;let Q=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new k("worker_register_failed");this.currentState="idle",this.startHeartbeat(),h(()=>{this.writeEvent({type:"keep_alive"})}),G(`CCRClient: initialized, epoch=${this.workerEpoch}`),Y("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-K});let{metadata:Z,durationMs:$}=await Q;if(!this.closed)Y("info","cli_worker_state_restored",{duration_ms:$,had_state:Z!==null});return Z}async getWorkerState(){let J=Date.now(),K=this.getAuthHeaders();if(Object.keys(K).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,K,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-J}}async request(J,K,Q,W,{timeout:Z=1e4}={}){let $=this.getAuthHeaders();if(Object.keys($).length===0)return{ok:!1};try{let z=await this.http[J](`${this.sessionBaseUrl}${K}`,Q,{headers:{...$,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:Z});if(z.status>=200&&z.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(z.status===409)this.handleEpochMismatch();if(z.status===401||z.status===403){let L=v(),V=L?d(L):null;if(V!==null&&V*1000<Date.now())G(`CCRClient: session_token expired (exp=${new Date(V*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),Y("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=n)G(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),Y("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(G(`CCRClient: ${W} returned ${z.status}`,{level:"warn"}),Y("warn","cli_worker_request_failed",{method:J,path:K,status:z.status}),z.status===429){let L=z.headers?.["retry-after"],V=typeof L==="string"?parseInt(L,10):NaN;if(!isNaN(V)&&V>=0)return{ok:!1,retryAfterMs:V*1000}}return{ok:!1}}catch(z){return G(`CCRClient: ${W} failed: ${q(z)}`,{level:"warn"}),Y("warn","cli_worker_request_error",{method:J,path:K,error_code:S(z)}),{ok:!1}}}reportState(J,K){if(J===this.currentState&&!K)return;this.currentState=J,this.workerState.enqueue({worker_status:J,requires_action_details:K?{tool_name:K.tool_name,action_description:K.action_description,request_id:K.request_id}:null})}reportMetadata(J){this.workerState.enqueue({external_metadata:J})}handleEpochMismatch(){G("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),Y("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let J=()=>{let Q=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(K,this.heartbeatIntervalMs+Q)},K=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;J()};J()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)G("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),l);return}if(await this.flushStreamEventBuffer(),J.type==="assistant")t(this.streamTextAccumulator,J);await this.eventUploader.enqueue(this.toClientEvent(J))}toClientEvent(J){let K=J;return{payload:{...K,uuid:typeof K.uuid==="string"?K.uuid:N()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let J=this.streamEventBuffer;this.streamEventBuffer=[];let K=r(J,this.streamTextAccumulator);await this.eventUploader.enqueue(K.map((Q)=>({payload:Q,ephemeral:!0})))}async writeInternalEvent(J,K,{isCompaction:Q=!1,agentId:W}={}){let Z={payload:{type:J,...K,uuid:typeof K.uuid==="string"?K.uuid:N()},...Q&&{is_compaction:!0},...W&&{agent_id:W}};await this.internalEventUploader.enqueue(Z)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(J,K,Q){let W=this.getAuthHeaders();if(Object.keys(W).length===0)return null;let Z=[],$;do{let z=new URL(`${this.sessionBaseUrl}${J}`);for(let[V,X]of Object.entries(K))z.searchParams.set(V,X);if($)z.searchParams.set("cursor",$);let L=await this.getWithRetry(z.toString(),W,Q);if(!L)return null;Z.push(...L.data??[]),$=L.next_cursor}while($);return G(`CCRClient: Read ${Z.length} internal events from ${J}${K.subagents?" (subagents)":""}`),Z}async getWithRetry(J,K,Q){for(let W=1;W<=10;W++){let Z;try{Z=await this.http.get(J,{headers:{...K,"anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:30000})}catch($){if(G(`CCRClient: GET ${J} failed (attempt ${W}/10): ${q($)}`,{level:"warn"}),W<10){let z=Math.min(500*2**(W-1),30000)+Math.random()*500;await B(z)}continue}if(Z.status>=200&&Z.status<300)return Z.data;if(Z.status===409)this.handleEpochMismatch();if(G(`CCRClient: GET ${J} returned ${Z.status} (attempt ${W}/10)`,{level:"warn"}),W<10){let $=Math.min(500*2**(W-1),30000)+Math.random()*500;await B($)}}return G("CCRClient: GET retries exhausted",{level:"error"}),Y("error","cli_worker_get_retries_exhausted",{context:Q}),null}reportDelivery(J,K){this.deliveryUploader.enqueue({eventId:J,status:K})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),c(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}s();D();I();F();f();A();T();b();var e=1000,JJ=30000,KJ=600000,QJ=45000,WJ=new Set([401,403,404]),x=10,ZJ=500,$J=8000,GJ={stream:!0};function zJ(){return!0}function VJ(J){let K=[],Q=0,W;while((W=J.indexOf(`
2
+
3
+ `,Q))!==-1){let Z=J.slice(Q,W);if(Q=W+2,!Z.trim())continue;let $={},z=!1;for(let L of Z.split(`
4
+ `)){if(L.startsWith(":")){z=!0;continue}let V=L.indexOf(":");if(V===-1)continue;let X=L.slice(0,V),w=L[V+1]===" "?L.slice(V+2):L.slice(V+1);switch(X){case"event":$.event=w;break;case"id":$.id=w;break;case"data":$.data=$.data?$.data+`
5
+ `+w:w;break}}if($.data||z)K.push($)}return{frames:K,remaining:J.slice(Q)}}class YJ{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(J,K={},Q,W,Z,$){this.url=J;if(this.headers=K,this.sessionId=Q,this.refreshHeaders=W,this.getAuthHeaders=$??U,this.postUrl=LJ(J),Z!==void 0&&Z>0)this.lastSequenceNum=Z;G(`SSETransport: SSE URL = ${J.href}`),G(`SSETransport: POST URL = ${this.postUrl}`),Y("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){G(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Y("error","cli_sse_connect_failed");return}this.state="reconnecting";let J=Date.now(),K=new URL(this.url.href);if(this.lastSequenceNum>0)K.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let Q=this.getAuthHeaders(),W={...this.headers,...Q,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":O()};if(Q.Cookie)delete W.Authorization;if(this.lastSequenceNum>0)W["Last-Event-ID"]=String(this.lastSequenceNum);G(`SSETransport: Opening ${K.href}`),Y("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let Z=await fetch(K.href,{headers:W,signal:this.abortController.signal});if(!Z.ok){let z=WJ.has(Z.status);if(G(`SSETransport: HTTP ${Z.status}${z?" (permanent)":""}`,{level:"error"}),Y("error","cli_sse_connect_http_error",{status:Z.status}),z){this.state="closed",this.onCloseCallback?.(Z.status);return}this.handleConnectionError();return}if(!Z.body){G("SSETransport: No response body"),this.handleConnectionError();return}let $=Date.now()-J;G("SSETransport: Connected"),Y("info","cli_sse_connect_connected",{duration_ms:$}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(Z.body)}catch(Z){if(this.abortController?.signal.aborted)return;G(`SSETransport: Connection error: ${q(Z)}`,{level:"error"}),Y("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(J){let K=J.getReader(),Q=new TextDecoder,W="";try{while(!0){let{done:Z,value:$}=await K.read();if(Z)break;W+=Q.decode($,GJ);let{frames:z,remaining:L}=VJ(W);W=L;for(let V of z){if(this.resetLivenessTimer(),V.id){let X=parseInt(V.id,10);if(!isNaN(X)){if(this.seenSequenceNums.has(X))G(`SSETransport: DUPLICATE frame seq=${X} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),Y("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(X),this.seenSequenceNums.size>1000){let w=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<w)this.seenSequenceNums.delete(_)}if(X>this.lastSequenceNum)this.lastSequenceNum=X}}if(V.event&&V.data)this.handleSSEFrame(V.event,V.data);else if(V.data)G("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),Y("warn","cli_sse_frame_missing_event_field")}}}catch(Z){if(this.abortController?.signal.aborted)return;G(`SSETransport: Stream read error: ${q(Z)}`,{level:"error"}),Y("error","cli_sse_stream_read_error")}finally{K.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")G("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(J,K){if(J!=="client_event"){G(`SSETransport: Unexpected SSE event type '${J}' on worker stream`,{level:"warn"}),Y("warn","cli_sse_unexpected_event_type",{event_type:J});return}let Q;try{Q=m(K)}catch(Z){G(`SSETransport: Failed to parse client_event data: ${q(Z)}`,{level:"error"});return}let W=Q.payload;if(W&&typeof W==="object"&&"type"in W){let Z=this.sessionId?` session=${this.sessionId}`:"";G(`SSETransport: Event seq=${Q.sequence_num} event_id=${Q.event_id} event_type=${Q.event_type} payload_type=${String(W.type)}${Z}`),Y("info","cli_sse_message_received"),this.onData?.(H(W)+`
6
+ `)}else G(`SSETransport: Ignoring client_event with no type in payload: event_id=${Q.event_id}`);this.onEventCallback?.(Q)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let J=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=J;let K=J-this.reconnectStartTime;if(K<KJ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let Z=this.refreshHeaders();Object.assign(this.headers,Z),G("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let Q=Math.min(e*Math.pow(2,this.reconnectAttempts-1),JJ),W=Math.max(0,Q+Q*0.25*(2*Math.random()-1));G(`SSETransport: Reconnecting in ${Math.round(W)}ms (attempt ${this.reconnectAttempts}, ${Math.round(K/1000)}s elapsed)`),Y("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},W)}else G(`SSETransport: Reconnection time budget exhausted after ${Math.round(K/1000)}s`,{level:"error"}),Y("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:K}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,G("SSETransport: Liveness timeout, reconnecting",{level:"error"}),Y("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,QJ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(J){let K=this.getAuthHeaders();if(Object.keys(K).length===0){G("SSETransport: No session token available for POST"),Y("warn","cli_sse_post_no_token");return}let Q={...K,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()};G(`SSETransport: POST body keys=${Object.keys(J).join(",")}`);for(let W=1;W<=x;W++){try{let $=await p.post(this.postUrl,J,{headers:Q,validateStatus:zJ});if($.status===200||$.status===201){G(`SSETransport: POST success type=${J.type}`);return}if(G(`SSETransport: POST ${$.status} body=${H($.data).slice(0,200)}`),$.status>=400&&$.status<500&&$.status!==429){G(`SSETransport: POST returned ${$.status} (client error), not retrying`),Y("warn","cli_sse_post_client_error",{status:$.status});return}G(`SSETransport: POST returned ${$.status}, attempt ${W}/${x}`),Y("warn","cli_sse_post_retryable_error",{status:$.status,attempt:W})}catch($){G(`SSETransport: POST error: ${$.message}, attempt ${W}/${x}`),Y("warn","cli_sse_post_network_error",{attempt:W})}if(W===x){G(`SSETransport: POST failed after ${x} attempts, continuing`),Y("warn","cli_sse_post_retries_exhausted");return}let Z=Math.min(ZJ*Math.pow(2,W-1),$J);await B(Z)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnClose(J){this.onCloseCallback=J}setOnEvent(J){this.onEventCallback=J}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function LJ(J){let K=J.pathname;if(K.endsWith("/stream"))K=K.slice(0,-7);return`${J.protocol}//${J.host}${K}`}
7
+ export{R as ub,k as vb,a as wb,YJ as xb};
@@ -0,0 +1,4 @@
1
+ import{jd as c,md as Eq}from"./cli-1.1.34-3pr2wgys.mjs";import{Ao as Mq,Co as A,Do as D,Eo as Rq,Fo as h,Go as S,Ho as Aq,KM as v,LM as P,NM as Lq,Uo as i,Vo as Fq,Wo as b,XM as Qq,Xo as wq,bN as Xq,cN as I,do as s,eo as Tq,gN as vq,hN as O,iN as Yq,ip as l,jN as d,jp as n,kN as $q,lp as Oq,mp as y,np as e,op as qq,pN as Dq,pp as Gq,qp as Hq,rp as m,rq as Jq,tq as Cq,up as jq,yo as t}from"./cli-1.1.34-84707tma.mjs";import{Tda as F,Vda as L,jea as _q,nga as a,oda as V,sga as Bq,wda as Kq}from"./cli-1.1.34-wwjkncsv.mjs";import{cja as p,gja as xq}from"./cli-1.1.34-xwg0x7p4.mjs";import{Pja as o,Sja as N,Xja as Wq}from"./cli-1.1.34-d0sgyvr1.mjs";import{Xka as f,upa as Uq}from"./cli-1.1.34-qef4zhc3.mjs";import{Iqa as Zq}from"./cli-1.1.34-4x915j9t.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await I(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await Qq();for(let[B,K]of Object.entries($))try{let M=(await Xq(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(U){a(o(U));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,x=`${Z.name}@${Y}`,Q=await n({pluginId:x,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:l(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${x} (scope: ${H})${Q.depNote}`,pluginId:x,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await m(),Y=[...X,...J],z=bq(q,Y),Z=D(H),x=F(Z),Q,$;if(z)Q=Object.keys(x?.enabledPlugins??{}).find((W)=>W===q||W===z.name||W.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let W=yq(q);if(!W)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=W.pluginId,$=W.pluginName}let B=zq(H),U=O().plugins[Q],M=U?.find((W)=>W.scope===H&&W.projectPath===B);if(!M){let{scope:W}=kq(Q);if(W!==H&&U&&U.length>0){if(W==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${W} scope, not ${H}. Use --scope ${W} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...x?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),Yq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await P(R);if(j){if(Jq(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(t(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&i(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),x=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&x===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?x===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await m(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:U}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(U)return{success:!1,message:`Failed to ${X} plugin: ${U.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
+ ${G.join(`
3
+ `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function UG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await I(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=d().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),x=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let U=await Gq(G.source,{manifest:{name:G.name}});Q=U.path,B=!0,K=U.gitCommitSha,$=await b(q,G.source,U.manifest,U.path,G.version,U.gitCommitSha)}else{let U;try{U=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=U.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await Hq(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let U=y(q,$),M=e(q,$);if(J.version===$||J.installPath===U||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:x,alreadyUpToDate:!0,scope:Y};U=await qq(Q,q,$,G);let _=J.installPath;if($q(q,Y,z,U,$,K),_&&_!==U){let j=d();if(!Object.values(j.plugins).some((E)=>E.some((W)=>W.installPath===_)))await P(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${x||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:x,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{Uq();Mq();Wq();xq();Bq();Lq();Aq();Dq();vq();Tq();Rq();Oq();jq();Cq();Fq();Eq();wq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
+ export{k as Zc,HG as _c,JG as $c,QG as ad,kq as bd,XG as cd,YG as dd,$G as ed,zG as fd,ZG as gd,UG as hd,hq as id};
@@ -0,0 +1,3 @@
1
+ import{fb as $}from"./cli-1.1.34-jkdgk3ns.mjs";import{T8 as O,j9 as C}from"./cli-1.1.34-166q8s04.mjs";import{lga as q,mga as H,sga as E}from"./cli-1.1.34-wwjkncsv.mjs";import{Via as z,_ia as y,cja as V,gja as L,qja as X,ria as R,sia as A,tia as _,tja as N,via as w}from"./cli-1.1.34-xwg0x7p4.mjs";import{Rka as Z,upa as M}from"./cli-1.1.34-qef4zhc3.mjs";C();M();A();import{dirname as F,join as x}from"path";w();N();L();E();y();var D=q(new Date);function T(){return x($.errors(),D+".jsonl")}function J(G){return x($.mcpLogs(G),D+".jsonl")}function P(G){let K=R(G);return{write(Q){K.write(z(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var B=new Map;function W(G){let K=B.get(G);if(!K){let Q=F(G);K=P({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),B.set(G,K),_(async()=>K?.dispose())}return K}function S(G,K){}function I(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function v(G){let K=G.stack||G.message,Q="";if(O.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=I(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),S(T(),{error:`${Q}${K}`})}function f(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(Y)}function j(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(U)}function k(){H({logError:v,logMCPError:f,logMCPDebug:j,getErrorsPath:T,getMCPLogsPath:J}),X("Error log sink initialized")}function a(){k()}
3
+ export{a as D};
@@ -0,0 +1,2 @@
1
+ import{Iqa as j}from"./cli-1.1.34-4x915j9t.mjs";function G(){return`claude-swarm-${process.pid}`}var q="team-lead",A="claude-swarm",B="swarm-view",D="tmux",F="claude-hidden",H="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
2
+ export{q as g7,A as h7,B as i7,D as j7,F as k7,G as l7,H as m7,k as n7};
@@ -0,0 +1,2 @@
1
+ import{ML as E,NL as n,Ww as I,Xw as i}from"./cli-1.1.34-84707tma.mjs";import{Uaa as G,Vaa as s,Waa as f,Xaa as WH,Yaa as _,Zaa as XH}from"./cli-1.1.34-wwjkncsv.mjs";import{Cia as y,Dia as qH,Mia as j,Nia as BH,Sia as b,Tia as YH}from"./cli-1.1.34-xwg0x7p4.mjs";import{Bla as P,Cla as HH,fma as m,gma as $H,jma as q,kma as U,lma as B,mma as p,nla as F,nma as z,ola as QH,oma as u,pla as C,qla as e}from"./cli-1.1.34-qef4zhc3.mjs";import{Dpa as Y,Epa as t}from"./cli-1.1.34-n5t6xk0e.mjs";import{Iqa as Z}from"./cli-1.1.34-4x915j9t.mjs";function c(H,J){return J.length<2?H:z(H,I(J,0,-1))}var M;var N=Z(()=>{u();i();M=c});function r(H,J){J=q(J,H);var Q=-1,W=J.length;if(!W)return!0;while(++Q<W){var V=B(J[Q]);if(V==="__proto__"&&!l.call(H,"__proto__"))return!1;if((V==="constructor"||V==="prototype")&&Q<W-1)return!1}var X=M(H,J);return X==null||delete X[B(E(J))]}var o,l,K;var D=Z(()=>{U();n();N();p();o=Object.prototype,l=o.hasOwnProperty;K=r});function a(H){return G(H)?void 0:H}var w;var x=Z(()=>{s();w=a});function JH(H){return C(H)||P(H)||!!(L&&H&&H[L])}var L,k;var R=Z(()=>{t();HH();e();L=Y?Y.isConcatSpreadable:void 0;k=JH});function T(H,J,Q,W,V){var X=-1,h=H.length;Q||(Q=k),V||(V=[]);while(++X<h){var $=H[X];if(J>0&&Q($))if(J>1)T($,J-1,Q,W,V);else F(V,$);else if(!W)V[V.length]=$}return V}var A;var S=Z(()=>{QH();R();A=T});function VH(H){var J=H==null?0:H.length;return J?A(H,1):[]}var O;var g=Z(()=>{S();O=VH});function ZH(H){return _(f(H,void 0,O),H+"")}var d;var v=Z(()=>{g();WH();XH();d=ZH});var zH=1,IH=2,MH=4,NH,lH;var UH=Z(()=>{$H();YH();D();U();qH();x();v();BH();NH=d(function(H,J){var Q={};if(H==null)return Q;var W=!1;if(J=m(J,function(X){return X=q(X,H),W||(W=X.length>1),X}),y(H,j(H),Q),W)Q=b(Q,zH|IH|MH,w);var V=J.length;while(V--)K(Q,J[V]);return Q}),lH=NH});
2
+ export{lH as Bf,UH as Cf};
@@ -0,0 +1,2 @@
1
+ import{Iqa as z}from"./cli-1.1.34-4x915j9t.mjs";function B(j){switch(j.type){case"connected":return"connected";case"disabled":return"disabled";case"needs-auth":return"needs authentication";case"failed":return"failed";case"pending":{let{reconnectAttempt:q,maxReconnectAttempts:y}=j;return q&&y?`reconnecting (${q}/${y})…`:"connecting…"}}}function D(j){return j.type==="disabled"?"disconnected":B(j)}function E(j){switch(j.type){case"connected":return"active";case"failed":return"failed";case"pending":case"needs-auth":case"disabled":return"inactive"}}var C=()=>{};
2
+ export{B as Df,D as Ef,E as Ff,C as Gf};
@@ -0,0 +1,2 @@
1
+ import{j7 as y,n7 as V}from"./cli-1.1.34-dvx08sv2.mjs";import{$$ as p,A_ as K,baa as Q,y_ as q}from"./cli-1.1.34-wwjkncsv.mjs";import{Iqa as J}from"./cli-1.1.34-4x915j9t.mjs";function g(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function F(){return W||null}async function P(){return(await p(y,["-V"])).code===0}function l(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function w(){return(await p(Y,["session","list"])).code===0}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{K();Q();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
2
+ export{g as _6,D as $6,F as a7,P as b7,l as c7,Y as d7,w as e7,Z as f7};
@@ -0,0 +1,2 @@
1
+ import{$E as U,Kx as R,Lx as C,lF as A}from"./cli-1.1.34-84707tma.mjs";import{IX as M,KX as N,OX as P,pY as v,wW as d}from"./cli-1.1.34-59csbz1a.mjs";import{T1 as X,U1 as y,V1 as L}from"./cli-1.1.34-8vfey6b5.mjs";import{Vda as k,jea as T}from"./cli-1.1.34-wwjkncsv.mjs";import{Eqa as E,Iqa as O}from"./cli-1.1.34-4x915j9t.mjs";function u(I){let f=F.c(18),{onAccept:H,onDecline:q,declineExits:h}=I,J;if(f[1]!==H||f[2]!==q)J=function(m){f:switch(m){case"accept":{k("userSettings",{skipAutoPermissionPrompt:!0}),H();break f}case"accept-default":{k("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),H();break f}case"decline":q()}},f[1]=H,f[2]=q,f[3]=J;else J=f[3];let Y=J,K;if(f[4]===Symbol.for("react.memo_cache_sentinel"))K=y(M,{flexDirection:"column",gap:1,children:[X(N,{children:b}),X(P,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=K;else K=f[4];let Q;if(f[5]===Symbol.for("react.memo_cache_sentinel"))Q=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=Q;else Q=f[5];let V;if(f[6]===Symbol.for("react.memo_cache_sentinel"))V={label:"Yes, enable auto mode",value:"accept"},f[6]=V;else V=f[6];let Z=h?"No, exit":"No, go back",w;if(f[7]!==Z)w=[...Q,V,{label:Z,value:"decline"}],f[7]=Z,f[8]=w;else w=f[8];let z;if(f[9]!==Y)z=(B)=>Y(B),f[9]=Y,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=X(U,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let W;if(f[15]!==q||f[16]!==G)W=y(R,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[K,G]}),f[15]=q,f[16]=G,f[17]=W;else W=f[17];return W}var F,b="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";var p=O(()=>{v();T();A();C();L();F=E(d(),1)});
2
+ export{b as vc,u as wc,p as xc};
@@ -0,0 +1,2 @@
1
+ import{Lr as J,Nr as Y}from"./cli-1.1.34-84707tma.mjs";import{oV as G,qV as X}from"./cli-1.1.34-9z887t80.mjs";import{$5 as W,G2 as z,G5 as B,L2 as V,L5 as D,M5 as F}from"./cli-1.1.34-yrk4mxjw.mjs";import{T8 as y,j9 as Q}from"./cli-1.1.34-166q8s04.mjs";import{pia as w,qia as N}from"./cli-1.1.34-5t01yf6x.mjs";import{Iqa as M}from"./cli-1.1.34-4x915j9t.mjs";async function f(){if(!D()||!F())return{};let q=B();if(q&&z(q.expiresAt))return null;let m=J();if(m.error)throw Error(`Auth error: ${m.error}`);let K={"Content-Type":"application/json","User-Agent":G(),...m.headers},L=`${w().BASE_API_URL}/api/oauth/usage`;return(await y.get(L,{headers:K,timeout:5000})).data}var Z=M(()=>{Q();N();W();Y();X();V()});
2
+ export{f as ph,Z as qh};
@@ -0,0 +1,2 @@
1
+ import{Tpa as M,Upa as Y}from"./cli-1.1.34-n5t6xk0e.mjs";import{Iqa as W}from"./cli-1.1.34-4x915j9t.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDIN_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDIN_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-5-5","VERTEX_REGION_CLAUDE_5_5_OPUS"],["claude-opus-5","VERTEX_REGION_CLAUDE_5_OPUS"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
+ export{$ as Yja,N as Zja,X as _ja,_ as $ja,j as aka,U as bka,I as cka,S as dka,T as eka,c as fka,L as gka,w as hka,z as ika,k as jka};
@@ -0,0 +1,2 @@
1
+ import{ao as M,eo as qq,ko as h,mo as Oq,no as n,po as Wq}from"./cli-1.1.34-84707tma.mjs";import{T8 as f,j9 as r}from"./cli-1.1.34-166q8s04.mjs";import{Eca as c,Gca as d,Jca as g,Kca as u,Pca as Vq,nga as S,sga as e}from"./cli-1.1.34-wwjkncsv.mjs";import{yha as m,zha as Uq}from"./cli-1.1.34-92kps6jn.mjs";import{Via as y,Wia as R,_ia as P,cja as L,gja as T,qja as U,tja as t}from"./cli-1.1.34-xwg0x7p4.mjs";import{Qja as V,Rja as O,Sja as D,Xja as _}from"./cli-1.1.34-d0sgyvr1.mjs";import{Iqa as N}from"./cli-1.1.34-4x915j9t.mjs";import{homedir as o}from"os";import{resolve as s}from"path";async function Dq(Q){let q=Q.trim(),$=L(),X=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(X?.[1]){let z=X[1],G=X[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,Z=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return Z?{source:"git",url:G,ref:Z}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(x){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let J=G.endsWith(".git")?G:`${G}.git`;return Z?{source:"git",url:J,ref:Z}:{source:"git",url:J}}}return{source:"url",url:G}}let K=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||K){let z=s(q.startsWith("~")?q.replace(/^~/,o()):q),G;try{G=await $.stat(z)}catch(Z){let Y=O(Z);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??Z})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,Z=z?.[2];return Z?{source:"github",repo:G,ref:Z}:{source:"github",repo:G}}return null}var a=N(()=>{_();T()});import{randomBytes as Qq}from"crypto";import{readFile as Xq,rename as Zq,unlink as $q,writeFile as Bq}from"fs/promises";import{join as Gq}from"path";function p(){return Gq(M(),Yq)}async function Jq(){let Q=p();try{let q=await Xq(Q,{encoding:"utf-8"}),$=R(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return U("Install counts cache has invalid structure"),null;let X=$;if(X.version!==w)return U(`Install counts cache version mismatch (got ${X.version}, expected ${w})`),null;if(typeof X.fetchedAt!=="string"||!Array.isArray(X.counts))return U("Install counts cache has invalid structure"),null;let B=new Date(X.fetchedAt).getTime();if(Number.isNaN(B))return U("Install counts cache has invalid fetchedAt timestamp"),null;if(!X.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return U("Install counts cache has malformed entries"),null;if(Date.now()-B>xq)return U("Install counts cache is stale (>24h old)"),null;return{version:X.version,fetchedAt:X.fetchedAt,counts:X.counts}}catch(q){if(O(q)!=="ENOENT")U(`Failed to load install counts cache: ${V(q)}`);return null}}async function Kq(Q){let q=p(),$=`${q}.${Qq(8).toString("hex")}.tmp`;try{let X=M();await L().mkdir(X);let B=y(Q,null,2);await Bq($,B,{encoding:"utf-8",mode:384}),await Zq($,q),U("Install counts cache saved successfully")}catch(X){S(X);try{await $q($)}catch{}}}async function zq(){U(`Fetching install counts from ${b}`);try{let Q=await f.get(b,{timeout:1e4});if(!Q.data?.plugins||!Array.isArray(Q.data.plugins))throw Error("Invalid response format from install counts API");return Q.data.plugins}catch(Q){throw Q}}async function dq(){let Q=await Jq();if(Q){U("Using cached install counts");let q=new Map;for(let $ of Q.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await zq(),$={version:w,fetchedAt:new Date().toISOString(),counts:q};await Kq($);let X=new Map;for(let B of q)X.set(B.plugin,B.unique_installs);return X}catch(q){return S(q),U(`Failed to fetch install counts: ${V(q)}`),null}}function gq(Q){if(Q<1000)return String(Q);if(Q<1e6){let B=(Q/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Q/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var w=1,Yq="install-counts-cache.json",b="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",xq=86400000;var Hq=N(()=>{r();t();_();T();e();P();qq()});import{readdir as Rq,readFile as A,stat as vq}from"fs/promises";import*as H from"path";function Iq(Q){let q=H.basename(Q),$=H.basename(H.dirname(Q));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function C(Q){return Q.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function I(Q,q,$,X){if(Q.includes(".."))$.push({path:q,message:X?`Path contains "..": ${Q}. ${X}`:`Path contains ".." which could be a path traversal attempt: ${Q}`})}function Lq(Q){let q=Q.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Q?`./${q}`:"./plugins/my-plugin"}" instead of "${Q}".`}async function E(Q){let q=[],$=[],X=H.resolve(Q),B;try{B=await A(X,{encoding:"utf-8"})}catch(Z){let Y=O(Z),x;if(Y==="ENOENT")x=`File not found: ${X}`;else if(Y==="EISDIR")x=`Path is not a file: ${X}`;else x=`Failed to read file: ${V(Z)}`;return{success:!1,errors:[{path:"file",message:x,code:Y}],warnings:[],filePath:X,fileType:"plugin"}}let K;try{K=R(B)}catch(Z){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${V(Z)}`}],warnings:[],filePath:X,fileType:"plugin"}}if(K&&typeof K==="object"){let Z=K;if(Z.commands)(Array.isArray(Z.commands)?Z.commands:[Z.commands]).forEach((x,J)=>{if(typeof x==="string")I(x,`commands[${J}]`,q)});if(Z.agents)(Array.isArray(Z.agents)?Z.agents:[Z.agents]).forEach((x,J)=>{if(typeof x==="string")I(x,`agents[${J}]`,q)});if(Z.skills)(Array.isArray(Z.skills)?Z.skills:[Z.skills]).forEach((x,J)=>{if(typeof x==="string")I(x,`skills[${J}]`,q)})}let z=K;if(typeof K==="object"&&K!==null){let Z=K,Y=Object.keys(Z).filter((x)=>Aq.has(x));if(Y.length>0){let x={...Z};for(let J of Y)delete x[J],$.push({path:J,message:`Field '${J}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claudin "+"ignores it at load time."});z=x}}let G=d().strict().safeParse(z);if(!G.success)q.push(...C(G.error));if(G.success){let Z=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(Z.name))$.push({path:"name",message:`Plugin name "${Z.name}" is not kebab-case. Claudin accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!Z.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!Z.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!Z.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:X,fileType:"plugin"}}async function j(Q){let q=[],$=[],X=H.resolve(Q),B;try{B=await A(X,{encoding:"utf-8"})}catch(Z){let Y=O(Z),x;if(Y==="ENOENT")x=`File not found: ${X}`;else if(Y==="EISDIR")x=`Path is not a file: ${X}`;else x=`Failed to read file: ${V(Z)}`;return{success:!1,errors:[{path:"file",message:x,code:Y}],warnings:[],filePath:X,fileType:"marketplace"}}let K;try{K=R(B)}catch(Z){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${V(Z)}`}],warnings:[],filePath:X,fileType:"marketplace"}}if(K&&typeof K==="object"){let Z=K;if(Array.isArray(Z.plugins))Z.plugins.forEach((Y,x)=>{if(Y&&typeof Y==="object"&&"source"in Y){let J=Y.source;if(typeof J==="string")I(J,`plugins[${x}].source`,q,Lq(J));if(J&&typeof J==="object"&&"path"in J&&typeof J.path==="string")I(J.path,`plugins[${x}].source.path`,q)}})}let G=u().extend({plugins:m.array(g().strict())}).strict().safeParse(K);if(!G.success)q.push(...C(G.error));if(G.success){let Z=G.data;if(!Z.plugins||Z.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(Z.plugins){Z.plugins.forEach((J,W)=>{if(Z.plugins.filter((v)=>v.name===J.name).length>1)q.push({path:`plugins[${W}].name`,message:`Duplicate plugin name "${J.name}" found in marketplace`})});let Y=H.dirname(X),x=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[J,W]of Z.plugins.entries()){if(!W.version||typeof W.source!=="string"||!W.source.startsWith("./"))continue;let k=H.join(x,W.source,".claude-plugin","plugin.json"),v;try{let i=await A(k,{encoding:"utf-8"}),F=R(i);if(typeof F.version==="string")v=F.version}catch{continue}if(v&&v!==W.version)$.push({path:`plugins[${J}].version`,message:`Entry declares version "${W.version}" but ${W.source}/.claude-plugin/plugin.json says "${v}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${v}" to match.`})}}if(!Z.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:X,fileType:"marketplace"}}function Nq(Q,q,$){let X=[],B=[],K=q.match(n);if(!K)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:X,warnings:B,filePath:Q,fileType:$};let z=K[1]||"",G;try{G=h(z)}catch(J){return X.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${V(J)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:X,warnings:B,filePath:Q,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return X.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:X,warnings:B,filePath:Q,fileType:$};let Z=G;if(Z.description!==void 0){let J=Z.description;if(typeof J!=="string"&&typeof J!=="number"&&typeof J!=="boolean"&&J!==null)X.push({path:"description",message:`description must be a string, got ${Array.isArray(J)?"array":typeof J}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(Z.name!==void 0&&Z.name!==null&&typeof Z.name!=="string")X.push({path:"name",message:`name must be a string, got ${typeof Z.name}.`});let Y=Z["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))X.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((J)=>typeof J!=="string"))X.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let x=Z.shell;if(x!==void 0&&x!==null)if(typeof x!=="string")X.push({path:"shell",message:`shell must be a string, got ${typeof x}.`});else{let J=x.trim().toLowerCase();if(J!=="bash"&&J!=="powershell")X.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${x}'.`})}return{success:X.length===0,errors:X,warnings:B,filePath:Q,fileType:$}}async function _q(Q){let q;try{q=await A(Q,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Q,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${V(B)}`}],warnings:[],filePath:Q,fileType:"hooks"}}let $;try{$=R(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${V(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Q,fileType:"hooks"}}let X=c().safeParse($);if(!X.success)return{success:!1,errors:C(X.error),warnings:[],filePath:Q,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Q,fileType:"hooks"}}async function l(Q,q){let $;try{$=await Rq(Q,{withFileTypes:!0})}catch(B){let K=O(B);if(K==="ENOENT"||K==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Q,B.name,"SKILL.md"));let X=[];for(let B of $){let K=H.join(Q,B.name);if(B.isDirectory())X.push(...await l(K,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))X.push(K)}return X}async function tq(Q){let q=[],$=[["skill",H.join(Q,"skills")],["agent",H.join(Q,"agents")],["command",H.join(Q,"commands")]];for(let[B,K]of $){let z=await l(K,B==="skill");for(let G of z){let Z;try{Z=await A(G,{encoding:"utf-8"})}catch(x){if(D(x))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${V(x)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=Nq(G,Z,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let X=await _q(H.join(Q,"hooks","hooks.json"));if(X.errors.length>0||X.warnings.length>0)q.push(X);return q}async function rq(Q){let q=H.resolve(Q),$=null;try{$=await vq(q)}catch(B){if(!D(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),K=await j(B);if(K.errors[0]?.code!=="ENOENT")return K;let z=H.join(q,".claude-plugin","plugin.json"),G=await E(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Iq(Q)){case"plugin":return E(Q);case"marketplace":return j(Q);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),K=R(B);if(Array.isArray(K.plugins))return j(Q)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return E(Q)}}}var Aq;var wq=N(()=>{Uq();_();Wq();P();Oq();Vq();Aq=new Set(["category","source","tags","strict","id"])});
2
+ export{Dq as yc,a as zc,dq as Ac,gq as Bc,Hq as Cc,tq as Dc,rq as Ec,wq as Fc};
@@ -0,0 +1,2 @@
1
+ import{Iqa as b}from"./cli-1.1.34-4x915j9t.mjs";import*as q from"node:child_process";import*as v from"node:crypto";import*as w from"node:fs";import*as x from"node:os";import*as z from"node:path";import*as A from"node:stream";import*as B from"node:util";var k=()=>{};
2
+ export{q as L8,v as M8,w as N8,x as O8,z as P8,A as Q8,B as R8,k as S8};
@@ -0,0 +1,7 @@
1
+ import{Re as ZX,Xe as zZ}from"./cli-1.1.34-0kkae10p.mjs";import{Ef as nJ,Ff as aJ,Gf as DX}from"./cli-1.1.34-e4f2qw6n.mjs";import{$C as EQ,$E as yJ,AB as FQ,BB as SX,BM as D0,Bp as CQ,CB as K0,CI as _Q,CM as tJ,DA as bQ,DB as PQ,DI as gQ,Dl as wX,EA as dX,EI as cX,En as KX,Ep as pX,Fl as wZ,Fn as LZ,JG as T0,KI as w0,Kx as s,LI as $J,Lk as o0,Lx as U0,MI as iJ,NI as vX,Nk as NQ,Ok as EJ,PG as zQ,RB as u0,Rj as OQ,UB as ZQ,VE as AX,VQ as zX,YE as bZ,ZD as O0,ZL as x0,_D as a0,_Q as WX,aD as jX,aF as YZ,aM as VQ,dD as t0,dK as s0,du as NX,eD as vQ,fO as y0,fR as KQ,gE as QX,gK as RQ,gO as CX,gm as C0,gu as PZ,hE as ZZ,hm as IJ,hu as kJ,iO as oQ,iu as IX,kH as XX,lx as Z0,mx as f0,qH as qZ,rx as LX,sx as AZ,tx as D,uE as YQ,uI as m0,ux as P0,vE as CZ,vH as c0,vI as WQ,wE as qQ,wH as XJ,xH as OJ,xx as e,yx as H0}from"./cli-1.1.34-84707tma.mjs";import{AW as n0,IX as w,KX as Y,OX as vJ,YX as AQ,pY as Y0,wW as V0}from"./cli-1.1.34-59csbz1a.mjs";import{JZ as JX,KZ as XZ}from"./cli-1.1.34-5ffnhvmt.mjs";import{S1 as n,T1 as Z,U1 as z,V1 as r}from"./cli-1.1.34-8vfey6b5.mjs";import{W1 as A0}from"./cli-1.1.34-7ad0dt89.mjs";import{g7 as hJ,n7 as KZ}from"./cli-1.1.34-dvx08sv2.mjs";import{K9 as t,L9 as NJ,Uca as $Q,Xca as iQ,Zba as L0,Zca as sX,_ba as M0,eba as MX,eca as LJ,fba as E0,hba as KJ,oda as X0,wda as d0}from"./cli-1.1.34-wwjkncsv.mjs";import{Bga as N0,Dga as GX,Fga as ZJ,Gga as i0,Pga as h0,yga as I0}from"./cli-1.1.34-p5v4dwpg.mjs";import{eja as VX,gja as FZ,qja as XQ,tja as gX}from"./cli-1.1.34-xwg0x7p4.mjs";import{Qja as tQ,Xja as QZ}from"./cli-1.1.34-d0sgyvr1.mjs";import{Eqa as J0,Fqa as fX,Hqa as RZ,Iqa as o}from"./cli-1.1.34-4x915j9t.mjs";function g0(X){return typeof X==="object"&&X!==null&&"type"in X&&X.type==="local_agent"}function zJ(X){return{...X,retain:!1,messages:void 0,diskLoaded:!1,evictAfter:kJ(X.status)?Date.now()+yX:void 0}}function WJ(X,J){J((Q)=>{let q=Q.tasks[X],V=Q.viewingAgentTaskId,W=V!==void 0?Q.tasks[V]:void 0,N=V!==void 0&&V!==X&&g0(W)&&W.retain,G=g0(q)&&(!q.retain||q.evictAfter!==void 0),H=Q.viewingAgentTaskId!==X||Q.viewSelectionMode!=="viewing-agent";if(!G&&!H&&!N)return Q;let U=Q.tasks;if(N||G){if(U={...Q.tasks},N)U[V]=zJ(W);if(G)U[X]={...q,retain:!0,evictAfter:void 0}}return{...Q,viewingAgentTaskId:X,viewSelectionMode:"viewing-agent",tasks:U}})}function VJ(X){X((J)=>{let Q=J.viewingAgentTaskId,q={...J,viewingAgentTaskId:void 0,viewSelectionMode:"none"};if(Q===void 0)return J.viewSelectionMode==="none"?J:q;let V=J.tasks[Q];if(!g0(V)||!V.retain)return q;return{...q,tasks:{...J.tasks,[Q]:zJ(V)}}})}function jZ(X,J){J((Q)=>{let q=Q.tasks[X];if(!g0(q))return Q;if(q.status==="running")return q.abortController?.abort(),Q;if(q.evictAfter===0)return Q;let V=Q.viewingAgentTaskId===X;return{...Q,tasks:{...Q.tasks,[X]:{...zJ(q),evictAfter:0}},...V&&{viewingAgentTaskId:void 0,viewSelectionMode:"none"}}})}var yX=30000;var rJ=o(()=>{IX()});function dZ(X){return typeof X==="object"&&X!==null&&"type"in X&&X.type==="mcp_server"}function GJ(X){return{type:X.connectionType,reconnectAttempt:X.reconnectAttempt,maxReconnectAttempts:X.maxReconnectAttempts}}function v0(X){return X.connectionType==="connected"}var S0=()=>{};function j0(X){let J=[w0(X.container),iJ(X.container,X.restartCount)];if(X.container.state==="running"){let Q=$J(X.container);if(Q)J.push(Q)}return J.join(BX)}var BX=" · ";var p0=o(()=>{vX()});function FJ(X){switch(X.connectionType){case"connected":return t.tick;case"failed":return t.cross;case"needs-auth":return t.triangleUpOutline;case"pending":case"disabled":return t.radioOff}}function sJ(X){switch(aJ(GJ(X))){case"active":return"success";case"inactive":return"warning";case"failed":return"error"}}function _X(X){if(X.connectionType!=="connected")return null;if(X.toolCount>0)return`${X.toolCount} ${X0(X.toolCount,"tool")}`;if(X.resourceCount>0)return`${X.resourceCount} ${X0(X.resourceCount,"resource")}`;return null}function PJ(X){let J=[X.serverName,nJ(GJ(X))],Q=_X(X);if(Q)J.push(Q);if(X.connectionType==="failed"&&X.error){let q=X.error.split(`
2
+ `)[0]?.trim()??"";if(q!=="")J.push(q.length>oJ?`${q.slice(0,oJ)}…`:q)}return J.join(hX)}function eJ(X){return`${FJ(X)} ${PJ(X)}`}var hX=" · ",oJ=60;var HJ=o(()=>{NJ();S0();DX();d0()});function B0(X){switch(X.type){case"local_bash":return X.kind==="monitor"?X.description:X.command;case"remote_agent":return X.title;case"local_agent":return X.description;case"local_workflow":return X.summary??X.description;case"monitor_mcp":return X.description;case"dream":return X.description;case"in_process_teammate":return`@${X.identity.agentName}`;case"container":return j0(X);case"mcp_server":return eJ(X);default:return""}}var UJ=o(()=>{p0();HJ()});function JQ(X){if(X.status!=="running")return null;switch(X.type){case"container":return D0(X)?"stop":null;case"mcp_server":return v0(X)?"disconnect":null;default:return"stop"}}var QQ=o(()=>{tJ();S0()});function l0(X,J){if(JQ(X)===null)return;switch(X.type){case"container":J((Q)=>({...Q,pendingContainerStop:{taskId:X.id,name:w0(X.container),startedByUs:X.startedByUs}}));return;case"mcp_server":J((Q)=>({...Q,pendingMcpDisconnect:{taskId:X.id,serverName:X.serverName,toolCount:X.toolCount}}));return;case"local_bash":x0.kill(X.id,J);return;case"local_agent":u0.kill(X.id,J);return;case"in_process_teammate":T0.kill(X.id,J);return;case"monitor_mcp":YQ.kill(X.id,J);return;case"dream":m0.kill(X.id,J);return;case"remote_agent":c0.kill(X.id,J);return;default:{XQ(`killBackgroundTask: unhandled task type ${String(X.type)}`);return}}}var GQ=o(()=>{WQ();zQ();ZQ();VQ();qQ();OJ();p0();QQ();gX()});function k0(X,J,Q){let q=NQ(J,X.toolName);if(!q)return X.toolName;try{let V=q.inputSchema.safeParse(X.input),W=V.success?V.data:{},N=q.userFacingName(W);if(!N)return X.toolName;let G=q.renderToolUseMessage(W,{theme:Q,verbose:!1});if(G)return z(Y,{children:[N,"(",G,")"]});return N}catch{return X.toolName}}var RJ=o(()=>{Y0();EJ();r()});function OY(X){return X==="completed"||X==="failed"||X==="killed"}function HQ(X,J){let{isIdle:Q,awaitingApproval:q,hasError:V,shutdownRequested:W}=J??{};if(V)return t.cross;if(q)return t.questionMarkPrefix;if(W)return t.warning;if(X==="running"){if(Q)return t.ellipsis;return t.play}if(X==="completed")return t.tick;if(X==="failed"||X==="killed")return t.cross;return t.bullet}function UQ(X,J){let{isIdle:Q,awaitingApproval:q,hasError:V,shutdownRequested:W}=J??{};if(V)return"error";if(q)return"warning";if(W)return"warning";if(Q)return"background";if(X==="completed")return"success";if(X==="failed")return"error";if(X==="killed")return"warning";return"background"}function r0(X){if(X.shutdownRequested)return"stopping";if(X.awaitingPlanApproval)return"awaiting approval";if(X.isIdle)return"idle";return(X.progress?.recentActivities&&FQ(X.progress.recentActivities))??X.progress?.lastActivity?.activityDescription??"working"}function EY(X,J){if(!J)return!1;let Q=!1;for(let q of Object.values(X)){if(!K0(q))continue;if(Q=!0,q.type!=="in_process_teammate")return!1}return Q}var $0=o(()=>{NJ();PQ();SX()});function MQ(X){let J=fQ.c(54),{agent:Q,onDone:q,onKillAgent:V,onBack:W}=X,[N]=n0(),G;if(J[0]===Symbol.for("react.memo_cache_sentinel"))G=s0(o0()),J[0]=G;else G=J[0];let H=G,U=O0(Q.startTime,Q.status==="running",1000,Q.totalPausedMs??0),P;if(J[1]!==q)P={"confirm:yes":q},J[1]=q,J[2]=P;else P=J[2];let E;if(J[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Confirmation"},J[3]=E;else E=J[3];Z0(P,E);let O;if(J[4]!==Q.status||J[5]!==W||J[6]!==q||J[7]!==V)O=(S)=>{if(S.key===" ")S.preventDefault(),q();else if(S.key==="left"&&W)S.preventDefault(),W();else if(S.key==="x"&&Q.status==="running"&&V)S.preventDefault(),V()},J[4]=Q.status,J[5]=W,J[6]=q,J[7]=V,J[8]=O;else O=J[8];let M=O,f;if(J[9]!==Q.prompt)f=OQ(Q.prompt,"plan"),J[9]=Q.prompt,J[10]=f;else f=J[10];let R=f,C=Q.prompt.length>300?Q.prompt.substring(0,297)+"…":Q.prompt,K=Q.result?.totalTokens??Q.progress?.tokenCount,b=Q.result?.totalToolUseCount??Q.progress?.toolUseCount,B=Q.selectedAgent?.agentType??"agent",I=Q.description||"Async agent",y;if(J[11]!==B||J[12]!==I)y=z(Y,{children:[B," ›"," ",I]}),J[11]=B,J[12]=I,J[13]=y;else y=J[13];let _=y,L;if(J[14]!==Q.status)L=Q.status!=="running"&&z(Y,{color:UQ(Q.status),children:[HQ(Q.status)," ",Q.status==="completed"?"Completed":Q.status==="failed"?"Failed":"Stopped"," · "]}),J[14]=Q.status,J[15]=L;else L=J[15];let A;if(J[16]!==K)A=K!==void 0&&K>0&&z(n,{children:[" · ",i0(K)," tokens"]}),J[16]=K,J[17]=A;else A=J[17];let d;if(J[18]!==b)d=b!==void 0&&b>0&&z(n,{children:[" ","· ",b," ",b===1?"tool":"tools"]}),J[18]=b,J[19]=d;else d=J[19];let u;if(J[20]!==U||J[21]!==A||J[22]!==d)u=z(Y,{dimColor:!0,children:[U,A,d]}),J[20]=U,J[21]=A,J[22]=d,J[23]=u;else u=J[23];let m;if(J[24]!==u||J[25]!==L)m=z(Y,{children:[L,u]}),J[24]=u,J[25]=L,J[26]=m;else m=J[26];let c=m,j;if(J[27]!==Q.status||J[28]!==W||J[29]!==V)j=(S)=>S.pending?z(Y,{children:["Press ",S.keyName," again to exit"]}):z(e,{children:[W&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),Q.status==="running"&&V&&Z(D,{shortcut:"x",action:"stop"})]}),J[27]=Q.status,J[28]=W,J[29]=V,J[30]=j;else j=J[30];let h;if(J[31]!==Q.progress||J[32]!==Q.status||J[33]!==N)h=Q.status==="running"&&Q.progress?.recentActivities&&Q.progress.recentActivities.length>0&&z(w,{flexDirection:"column",children:[Z(Y,{bold:!0,dimColor:!0,children:"Progress"}),Q.progress.recentActivities.map((S,x)=>z(Y,{dimColor:x<Q.progress.recentActivities.length-1,wrap:"truncate-end",children:[x===Q.progress.recentActivities.length-1?"› ":" ",k0(S,H,N)]},x))]}),J[31]=Q.progress,J[32]=Q.status,J[33]=N,J[34]=h;else h=J[34];let l;if(J[35]!==C||J[36]!==R)l=R?Z(w,{marginTop:1,children:Z(EQ,{addMargin:!1,planContent:R})}):z(w,{flexDirection:"column",marginTop:1,children:[Z(Y,{bold:!0,dimColor:!0,children:"Prompt"}),Z(Y,{wrap:"wrap",children:C})]}),J[35]=C,J[36]=R,J[37]=l;else l=J[37];let v;if(J[38]!==Q.error||J[39]!==Q.status)v=Q.status==="failed"&&Q.error&&z(w,{flexDirection:"column",marginTop:1,children:[Z(Y,{bold:!0,color:"error",children:"Error"}),Z(Y,{color:"error",wrap:"wrap",children:Q.error})]}),J[38]=Q.error,J[39]=Q.status,J[40]=v;else v=J[40];let T;if(J[41]!==h||J[42]!==l||J[43]!==v)T=z(w,{flexDirection:"column",children:[h,l,v]}),J[41]=h,J[42]=l,J[43]=v,J[44]=T;else T=J[44];let g;if(J[45]!==q||J[46]!==c||J[47]!==j||J[48]!==T||J[49]!==_)g=Z(s,{title:_,subtitle:c,onCancel:q,color:"background",inputGuide:j,children:T}),J[45]=q,J[46]=c,J[47]=j,J[48]=T,J[49]=_,J[50]=g;else g=J[50];let p;if(J[51]!==M||J[52]!==g)p=Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:M,children:g}),J[51]=M,J[52]=g,J[53]=p;else p=J[53];return p}var fQ;var wQ=o(()=>{a0();Y0();f0();EJ();RQ();h0();KQ();H0();U0();P0();jX();RJ();$0();r();fQ=J0(V0(),1)});function AJ(X,J,Q,q){if(!X)return`${J} found · ${Q} verified`;if(X==="synthesizing"){let V=[`${Q} verified`];if(q>0)V.push(`${q} refuted`);return V.push("deduping"),V.join(" · ")}if(X==="verifying"){let V=[`${J} found`,`${Q} verified`];if(q>0)V.push(`${q} refuted`);return V.join(" · ")}return J>0?`${J} found`:"finding"}function fJ(X){let J=e0.c(5),{text:Q,phase:q}=X,V=q===void 0?0:q,W;if(J[0]!==Q)W=[...Q],J[0]=Q,J[1]=W;else W=J[1];let N;if(J[2]!==V||J[3]!==W)N=Z(n,{children:W.map((G,H)=>Z(Y,{color:CQ(H+V),children:G},H))}),J[2]=V,J[3]=W,J[4]=N;else N=J[4];return N}function MJ(X,J,Q){let q=wJ.useRef(X),V=wJ.useRef(J);if(Q||X<q.current)q.current=X;else if(X>q.current&&J!==V.current)q.current+=1,V.current=J;return q.current}function uX(X){let J=e0.c(15),{session:Q}=X,V=bQ().prefersReducedMotion??!1,W=Q.reviewProgress,N=Q.status==="running",[,G]=AQ(N&&!V?LQ:null),H=W?.bugsFound??0,U=W?.bugsVerified??0,P=W?.bugsRefuted??0,E=V||!N,O=MJ(H,G,E),M=MJ(U,G,E),f=MJ(P,G,E),R=Math.floor(G/(LQ*3))%7;if(Q.status==="completed"){let L;if(J[0]===Symbol.for("react.memo_cache_sentinel"))L=z(n,{children:[z(Y,{color:"background",children:[M0," "]}),Z(fJ,{text:"ultrareview",phase:0}),Z(Y,{dimColor:!0,children:" ready · shift+↓ to view"})]}),J[0]=L;else L=J[0];return L}if(Q.status==="failed"){let L;if(J[1]===Symbol.for("react.memo_cache_sentinel"))L=z(n,{children:[z(Y,{color:"background",children:[M0," "]}),Z(fJ,{text:"ultrareview",phase:0}),z(Y,{color:"error",dimColor:!0,children:[" · ","error"]})]}),J[1]=L;else L=J[1];return L}let C;if(J[2]!==O||J[3]!==W||J[4]!==f||J[5]!==M)C=!W?"setting up":AJ(W.stage,O,M,f),J[2]=O,J[3]=W,J[4]=f,J[5]=M,J[6]=C;else C=J[6];let K=C,b;if(J[7]===Symbol.for("react.memo_cache_sentinel"))b=z(Y,{color:"background",children:[L0," "]}),J[7]=b;else b=J[7];let B=N?R:0,I;if(J[8]!==B)I=Z(fJ,{text:"ultrareview",phase:B}),J[8]=B,J[9]=I;else I=J[9];let y;if(J[10]!==K)y=z(Y,{dimColor:!0,children:[" · ",K]}),J[10]=K,J[11]=y;else y=J[11];let _;if(J[12]!==I||J[13]!==y)_=z(n,{children:[b,I,y]}),J[12]=I,J[13]=y,J[14]=_;else _=J[14];return _}function _0(X){let J=e0.c(11),{session:Q}=X;if(Q.isRemoteReview){let G;if(J[0]!==Q)G=Z(uX,{session:Q}),J[0]=Q,J[1]=G;else G=J[1];return G}if(Q.status==="completed"){let G;if(J[2]===Symbol.for("react.memo_cache_sentinel"))G=Z(Y,{bold:!0,color:"success",dimColor:!0,children:"done"}),J[2]=G;else G=J[2];return G}if(Q.status==="failed"){let G;if(J[3]===Symbol.for("react.memo_cache_sentinel"))G=Z(Y,{bold:!0,color:"error",dimColor:!0,children:"error"}),J[3]=G;else G=J[3];return G}if(!Q.todoList.length){let G;if(J[4]!==Q.status)G=z(Y,{dimColor:!0,children:[Q.status,"…"]}),J[4]=Q.status,J[5]=G;else G=J[5];return G}let q;if(J[6]!==Q.todoList)q=E0(Q.todoList,TX),J[6]=Q.todoList,J[7]=q;else q=J[7];let V=q,W=Q.todoList.length,N;if(J[8]!==V||J[9]!==W)N=z(Y,{dimColor:!0,children:[V,"/",W]}),J[8]=V,J[9]=W,J[10]=N;else N=J[10];return N}function TX(X){return X.status==="completed"}var e0,wJ,LQ=80;var CJ=o(()=>{LJ();dX();Y0();KJ();pX();r();e0=J0(V0(),1),wJ=J0(A0(),1)});function G0(X){let J=bJ.c(4),{status:Q,label:q,suffix:V}=X,W=q??Q,N=Q==="completed"?"success":Q==="failed"?"error":Q==="killed"?"warning":void 0,G;if(J[0]!==N||J[1]!==W||J[2]!==V)G=z(Y,{color:N,dimColor:!0,children:["(",W,V,")"]}),J[0]=N,J[1]=W,J[2]=V,J[3]=G;else G=J[3];return G}function IQ(X){let J=bJ.c(4),{shell:Q}=X;switch(Q.status){case"completed":{let q;if(J[0]===Symbol.for("react.memo_cache_sentinel"))q=Z(G0,{status:"completed",label:"done"}),J[0]=q;else q=J[0];return q}case"failed":{let q;if(J[1]===Symbol.for("react.memo_cache_sentinel"))q=Z(G0,{status:"failed",label:"error"}),J[1]=q;else q=J[1];return q}case"killed":{let q;if(J[2]===Symbol.for("react.memo_cache_sentinel"))q=Z(G0,{status:"killed",label:"stopped"}),J[2]=q;else q=J[2];return q}case"running":case"pending":{let q;if(J[3]===Symbol.for("react.memo_cache_sentinel"))q=Z(G0,{status:"running"}),J[3]=q;else q=J[3];return q}}}var bJ;var yQ=o(()=>{Y0();r();bJ=J0(V0(),1)});function DQ(X){let J=BQ.c(92),{task:Q,maxActivityWidth:q}=X,V=q??40;switch(Q.type){case"local_bash":{let W=Q.kind==="monitor"?Q.description:Q.command,N;if(J[0]!==V||J[1]!==W)N=N0(W,V,!0),J[0]=V,J[1]=W,J[2]=N;else N=J[2];let G;if(J[3]!==Q)G=Z(IQ,{shell:Q}),J[3]=Q,J[4]=G;else G=J[4];let H;if(J[5]!==N||J[6]!==G)H=z(Y,{children:[N," ",G]}),J[5]=N,J[6]=G,J[7]=H;else H=J[7];return H}case"remote_agent":{if(Q.isRemoteReview){let O;if(J[8]!==Q)O=Z(Y,{children:Z(_0,{session:Q})}),J[8]=Q,J[9]=O;else O=J[9];return O}let N=Q.status==="running"||Q.status==="pending"?L0:M0,G;if(J[10]!==N)G=z(Y,{dimColor:!0,children:[N," "]}),J[10]=N,J[11]=G;else G=J[11];let H;if(J[12]!==V||J[13]!==Q.title)H=N0(Q.title,V,!0),J[12]=V,J[13]=Q.title,J[14]=H;else H=J[14];let U;if(J[15]===Symbol.for("react.memo_cache_sentinel"))U=Z(Y,{dimColor:!0,children:" · "}),J[15]=U;else U=J[15];let P;if(J[16]!==Q)P=Z(_0,{session:Q}),J[16]=Q,J[17]=P;else P=J[17];let E;if(J[18]!==G||J[19]!==H||J[20]!==P)E=z(Y,{children:[G,H,U,P]}),J[18]=G,J[19]=H,J[20]=P,J[21]=E;else E=J[21];return E}case"local_agent":{let W;if(J[22]!==V||J[23]!==Q.description)W=N0(Q.description,V,!0),J[22]=V,J[23]=Q.description,J[24]=W;else W=J[24];let N=Q.status==="completed"?"done":void 0,G=Q.status==="completed"&&!Q.notified?", unread":void 0,H;if(J[25]!==N||J[26]!==G||J[27]!==Q.status)H=Z(G0,{status:Q.status,label:N,suffix:G}),J[25]=N,J[26]=G,J[27]=Q.status,J[28]=H;else H=J[28];let U;if(J[29]!==W||J[30]!==H)U=z(Y,{children:[W," ",H]}),J[29]=W,J[30]=H,J[31]=U;else U=J[31];return U}case"in_process_teammate":{let W,N,G,H,U,P;if(J[32]!==V||J[33]!==Q){let M=r0(Q);N=Y;let f;if(J[40]!==Q.identity.color)f=t0(Q.identity.color),J[40]=Q.identity.color,J[41]=f;else f=J[41];if(J[42]!==f||J[43]!==Q.identity.agentName)P=z(Y,{color:f,children:["@",Q.identity.agentName]}),J[42]=f,J[43]=Q.identity.agentName,J[44]=P;else P=J[44];W=Y,G=!0,H=": ",U=N0(M,V,!0),J[32]=V,J[33]=Q,J[34]=W,J[35]=N,J[36]=G,J[37]=H,J[38]=U,J[39]=P}else W=J[34],N=J[35],G=J[36],H=J[37],U=J[38],P=J[39];let E;if(J[45]!==W||J[46]!==G||J[47]!==H||J[48]!==U)E=z(W,{dimColor:G,children:[H,U]}),J[45]=W,J[46]=G,J[47]=H,J[48]=U,J[49]=E;else E=J[49];let O;if(J[50]!==N||J[51]!==P||J[52]!==E)O=z(N,{children:[P,E]}),J[50]=N,J[51]=P,J[52]=E,J[53]=O;else O=J[53];return O}case"local_workflow":{let W=Q.workflowName??Q.summary??Q.description,N;if(J[54]!==V||J[55]!==W)N=N0(W,V,!0),J[54]=V,J[55]=W,J[56]=N;else N=J[56];let G;if(J[57]!==Q.agentCount||J[58]!==Q.status)G=Q.status==="running"?`${Q.agentCount} ${X0(Q.agentCount,"agent")}`:Q.status==="completed"?"done":void 0,J[57]=Q.agentCount,J[58]=Q.status,J[59]=G;else G=J[59];let H=Q.status==="completed"&&!Q.notified?", unread":void 0,U;if(J[60]!==G||J[61]!==H||J[62]!==Q.status)U=Z(G0,{status:Q.status,label:G,suffix:H}),J[60]=G,J[61]=H,J[62]=Q.status,J[63]=U;else U=J[63];let P;if(J[64]!==N||J[65]!==U)P=z(Y,{children:[N," ",U]}),J[64]=N,J[65]=U,J[66]=P;else P=J[66];return P}case"monitor_mcp":{let W;if(J[67]!==V||J[68]!==Q.description)W=N0(Q.description,V,!0),J[67]=V,J[68]=Q.description,J[69]=W;else W=J[69];let N=Q.status==="completed"?"done":void 0,G=Q.status==="completed"&&!Q.notified?", unread":void 0,H;if(J[70]!==N||J[71]!==G||J[72]!==Q.status)H=Z(G0,{status:Q.status,label:N,suffix:G}),J[70]=N,J[71]=G,J[72]=Q.status,J[73]=H;else H=J[73];let U;if(J[74]!==W||J[75]!==H)U=z(Y,{children:[W," ",H]}),J[74]=W,J[75]=H,J[76]=U;else U=J[76];return U}case"dream":{let W=Q.filesTouched.length,N;if(J[77]!==W||J[78]!==Q.phase||J[79]!==Q.sessionsReviewing)N=Q.phase==="updating"&&W>0?`${W} ${X0(W,"file")}`:`${Q.sessionsReviewing} ${X0(Q.sessionsReviewing,"session")}`,J[77]=W,J[78]=Q.phase,J[79]=Q.sessionsReviewing,J[80]=N;else N=J[80];let G=N,H;if(J[81]!==G||J[82]!==Q.phase)H=z(Y,{dimColor:!0,children:["· ",Q.phase," · ",G]}),J[81]=G,J[82]=Q.phase,J[83]=H;else H=J[83];let U=Q.status==="completed"?"done":void 0,P=Q.status==="completed"&&!Q.notified?", unread":void 0,E;if(J[84]!==U||J[85]!==P||J[86]!==Q.status)E=Z(G0,{status:Q.status,label:U,suffix:P}),J[84]=U,J[85]=P,J[86]=Q.status,J[87]=E;else E=J[87];let O;if(J[88]!==H||J[89]!==E||J[90]!==Q.description)O=z(Y,{children:[Q.description," ",H," ",E]}),J[88]=H,J[89]=E,J[90]=Q.description,J[91]=O;else O=J[91];return O}case"container":return Z(Y,{children:N0(B0(Q),V,!0)});case"mcp_server":return Z(Y,{children:N0(B0(Q),V,!0)})}}var BQ;var hQ=o(()=>{Y0();h0();vQ();d0();LJ();CJ();yQ();$0();UJ();r();BQ=J0(V0(),1)});function SQ(X){return lX.test(X)}function kX(X){return["logs","--tail",String(JJ),"--timestamps",X]}function rX(X,J){let Q=[],q=0;for(let V of[X,J]){let W="";for(let N of V.split(`
3
+ `)){if(N==="")continue;let G=xX.exec(N);if(G)W=G[1],Q.push({key:W,seq:q++,line:{time:G[2],text:G[3]}});else Q.push({key:W,seq:q++,line:{time:null,text:N}})}}return Q.sort((V,W)=>V.key===W.key?V.seq-W.seq:V.key<W.key?-1:1),Q.slice(-JJ).map((V)=>V.line)}async function jQ(X,J){let Q=await gQ(kX(X),{timeout:mX,abortSignal:J});if(Q.code!==0)return{kind:"error",message:Q.unavailable?_Q(Q.unavailable):Q.stderr.split(`
4
+ `).find((W)=>W.trim()!=="")??`docker logs exited with code ${Q.code}`};let q=rX(Q.stdout,Q.stderr);return q.length===0?{kind:"empty"}:{kind:"ok",lines:q}}var JJ=50,mX=1e4,xX,lX;var pQ=o(()=>{cX();xX=/^(\d{4}-\d{2}-\d{2}T(\d{2}:\d{2}:\d{2})\.\d+Z) (.*)$/;lX=/^[[(]?(?:\d{4}-\d{2}-\d{2}[T ])?\d{2}:\d{2}:\d{2}/});function uQ({task:X,onDone:J,onBack:Q,onStop:q}){let{columns:V}=C0(),[W,N]=b0.useState(null),G=X.container.id,H=X.container.state==="running";b0.useEffect(()=>{let O=!1,M=new AbortController,f=async()=>{let C=await jQ(G,M.signal);if(!O)N(C)};if(f(),!H)return()=>{O=!0,M.abort()};let R=setInterval(()=>void f(),$X);return()=>{O=!0,M.abort(),clearInterval(R)}},[G,H]);let U=b0.useCallback(()=>J("Container logs dismissed",{display:"system"}),[J]);Z0({"confirm:yes":U},{context:"Confirmation"});let P=(O)=>{if(O.key===" ")O.preventDefault(),U();else if(O.key==="left"&&Q)O.preventDefault(),Q();else if(O.key==="x"&&q)O.preventDefault(),q()},E=(O)=>{if(O.pending)return z(Y,{children:["Press ",O.keyName," again to exit"]});return z(e,{children:[Q&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),q&&Z(D,{shortcut:"x",action:"stop container"})]})};return Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:P,children:z(s,{title:`Logs · ${w0(X.container)}`,subtitle:Z(Y,{children:j0(X)}),onCancel:U,color:"background",inputGuide:E,children:[Z(w,{marginX:2,flexDirection:"column",children:z(Y,{children:[Z(Y,{bold:!0,children:"Image:"})," ",X.container.image]})}),Z(iX,{logs:W,columns:V})]})})}function iX({logs:X,columns:J}){if(X===null)return Z(w,{marginX:2,children:Z(Y,{dimColor:!0,children:"Loading logs…"})});if(X.kind==="error")return Z(w,{marginX:2,flexDirection:"column",children:Z(Y,{color:"error",children:X.message})});if(X.kind==="empty")return Z(w,{marginX:2,flexDirection:"column",children:Z(Y,{dimColor:!0,children:"No logs written yet."})});let Q=X.lines.slice(-dQ);return z(w,{marginX:2,flexDirection:"column",children:[Z(w,{borderStyle:"round",paddingX:1,flexDirection:"column",height:dQ+2,maxWidth:J-6,children:Q.map((q,V)=>z(Y,{wrap:"truncate-end",children:[q.time!==null&&q.text!==""&&!SQ(q.text)&&z(Y,{dimColor:!0,children:[q.time," "]}),q.text]},V))}),z(Y,{dimColor:!0,italic:!0,children:["Showing ",Q.length," of the last ",JJ," lines"]})]})}var b0,dQ=14,$X=2000;var TQ=o(()=>{Y0();H0();U0();P0();f0();IJ();p0();pQ();r();b0=J0(A0(),1)});function mQ(X){let J=cQ.c(70),{task:Q,onDone:q,onBack:V,onKill:W}=X,N=O0(Q.startTime,Q.status==="running",1000,0),G;if(J[0]!==q)G={"confirm:yes":q},J[0]=q,J[1]=G;else G=J[1];let H;if(J[2]===Symbol.for("react.memo_cache_sentinel"))H={context:"Confirmation"},J[2]=H;else H=J[2];Z0(G,H);let U;if(J[3]!==V||J[4]!==q||J[5]!==W||J[6]!==Q.status)U=(h)=>{if(h.key===" ")h.preventDefault(),q();else if(h.key==="left"&&V)h.preventDefault(),V();else if(h.key==="x"&&Q.status==="running"&&W)h.preventDefault(),W()},J[3]=V,J[4]=q,J[5]=W,J[6]=Q.status,J[7]=U;else U=J[7];let P=U,E,O,M,f,R,C,K,b,B,I,y,_,L,A,d,u;if(J[8]!==N||J[9]!==P||J[10]!==V||J[11]!==q||J[12]!==W||J[13]!==Q.filesTouched.length||J[14]!==Q.sessionsReviewing||J[15]!==Q.status||J[16]!==Q.turns){let h=Q.turns.filter(aX),l=h.slice(-oX),v=h.length-l.length;M=w,K="column",b=0,B=!0,I=P,O=s,d="Memory consolidation";let T=Q.sessionsReviewing,g;if(J[33]!==Q.sessionsReviewing)g=X0(Q.sessionsReviewing,"session"),J[33]=Q.sessionsReviewing,J[34]=g;else g=J[34];let p;if(J[35]!==Q.filesTouched.length)p=Q.filesTouched.length>0&&z(n,{children:[" ","· ",Q.filesTouched.length," ",X0(Q.filesTouched.length,"file")," touched"]}),J[35]=Q.filesTouched.length,J[36]=p;else p=J[36];if(J[37]!==N||J[38]!==g||J[39]!==p||J[40]!==Q.sessionsReviewing)u=z(Y,{dimColor:!0,children:[N," · reviewing ",T," ",g,p]}),J[37]=N,J[38]=g,J[39]=p,J[40]=Q.sessionsReviewing,J[41]=u;else u=J[41];if(f=q,R="background",J[42]!==V||J[43]!==W||J[44]!==Q.status)C=(x)=>x.pending?z(Y,{children:["Press ",x.keyName," again to exit"]}):z(e,{children:[V&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),Q.status==="running"&&W&&Z(D,{shortcut:"x",action:"stop"})]}),J[42]=V,J[43]=W,J[44]=Q.status,J[45]=C;else C=J[45];E=w,y="column",_=1;let S;if(J[46]===Symbol.for("react.memo_cache_sentinel"))S=Z(Y,{bold:!0,children:"Status:"}),J[46]=S;else S=J[46];if(J[47]!==Q.status)L=z(Y,{children:[S," ",Q.status==="running"?Z(Y,{color:"background",children:"running"}):Q.status==="completed"?Z(Y,{color:"success",children:Q.status}):Z(Y,{color:"error",children:Q.status})]}),J[47]=Q.status,J[48]=L;else L=J[48];A=l.length===0?Z(Y,{dimColor:!0,children:Q.status==="running"?"Starting…":"(no text output)"}):z(n,{children:[v>0&&z(Y,{dimColor:!0,children:["(",v," earlier ",X0(v,"turn"),")"]}),l.map(nX)]}),J[8]=N,J[9]=P,J[10]=V,J[11]=q,J[12]=W,J[13]=Q.filesTouched.length,J[14]=Q.sessionsReviewing,J[15]=Q.status,J[16]=Q.turns,J[17]=E,J[18]=O,J[19]=M,J[20]=f,J[21]=R,J[22]=C,J[23]=K,J[24]=b,J[25]=B,J[26]=I,J[27]=y,J[28]=_,J[29]=L,J[30]=A,J[31]=d,J[32]=u}else E=J[17],O=J[18],M=J[19],f=J[20],R=J[21],C=J[22],K=J[23],b=J[24],B=J[25],I=J[26],y=J[27],_=J[28],L=J[29],A=J[30],d=J[31],u=J[32];let m;if(J[49]!==E||J[50]!==y||J[51]!==_||J[52]!==L||J[53]!==A)m=z(E,{flexDirection:y,gap:_,children:[L,A]}),J[49]=E,J[50]=y,J[51]=_,J[52]=L,J[53]=A,J[54]=m;else m=J[54];let c;if(J[55]!==O||J[56]!==f||J[57]!==R||J[58]!==C||J[59]!==m||J[60]!==d||J[61]!==u)c=Z(O,{title:d,subtitle:u,onCancel:f,color:R,inputGuide:C,children:m}),J[55]=O,J[56]=f,J[57]=R,J[58]=C,J[59]=m,J[60]=d,J[61]=u,J[62]=c;else c=J[62];let j;if(J[63]!==M||J[64]!==K||J[65]!==b||J[66]!==B||J[67]!==I||J[68]!==c)j=Z(M,{flexDirection:K,tabIndex:b,autoFocus:B,onKeyDown:I,children:c}),J[63]=M,J[64]=K,J[65]=b,J[66]=B,J[67]=I,J[68]=c,J[69]=j;else j=J[69];return j}function nX(X,J){return z(w,{flexDirection:"column",children:[Z(Y,{wrap:"wrap",children:X.text}),X.toolUseCount>0&&z(Y,{dimColor:!0,children:[" ","(",X.toolUseCount," ",X0(X.toolUseCount,"tool"),")"]})]},J)}function aX(X){return X.text!==""}var cQ,oX=6;var xQ=o(()=>{a0();Y0();f0();d0();H0();U0();P0();r();cQ=J0(V0(),1)});function kQ(X){let J=lQ.c(63),{teammate:Q,onDone:q,onKill:V,onBack:W,onForeground:N}=X,[G]=n0(),H;if(J[0]===Symbol.for("react.memo_cache_sentinel"))H=s0(o0()),J[0]=H;else H=J[0];let U=H,P=O0(Q.startTime,Q.status==="running",1000,Q.totalPausedMs??0),E;if(J[1]!==q)E={"confirm:yes":q},J[1]=q,J[2]=E;else E=J[2];let O;if(J[3]===Symbol.for("react.memo_cache_sentinel"))O={context:"Confirmation"},J[3]=O;else O=J[3];Z0(E,O);let M;if(J[4]!==W||J[5]!==q||J[6]!==N||J[7]!==V||J[8]!==Q.status)M=(k)=>{if(k.key===" ")k.preventDefault(),q();else if(k.key==="left"&&W)k.preventDefault(),W();else if(k.key==="x"&&Q.status==="running"&&V)k.preventDefault(),V();else if(k.key==="f"&&Q.status==="running"&&N)k.preventDefault(),N()},J[4]=W,J[5]=q,J[6]=N,J[7]=V,J[8]=Q.status,J[9]=M;else M=J[9];let f=M,R;if(J[10]!==Q)R=r0(Q),J[10]=Q,J[11]=R;else R=J[11];let C=R,K=Q.result?.totalTokens??Q.progress?.tokenCount,b=Q.result?.totalToolUseCount??Q.progress?.toolUseCount,B;if(J[12]!==Q.prompt)B=I0(Q.prompt,300),J[12]=Q.prompt,J[13]=B;else B=J[13];let I=B,y;if(J[14]!==Q.identity.color)y=t0(Q.identity.color),J[14]=Q.identity.color,J[15]=y;else y=J[15];let _;if(J[16]!==y||J[17]!==Q.identity.agentName)_=z(Y,{color:y,children:["@",Q.identity.agentName]}),J[16]=y,J[17]=Q.identity.agentName,J[18]=_;else _=J[18];let L;if(J[19]!==C)L=C&&z(Y,{dimColor:!0,children:[" (",C,")"]}),J[19]=C,J[20]=L;else L=J[20];let A;if(J[21]!==_||J[22]!==L)A=z(Y,{children:[_,L]}),J[21]=_,J[22]=L,J[23]=A;else A=J[23];let d=A,u;if(J[24]!==Q.status)u=Q.status!=="running"&&z(Y,{color:Q.status==="completed"?"success":Q.status==="killed"?"warning":"error",children:[Q.status==="completed"?"Completed":Q.status==="failed"?"Failed":"Stopped"," · "]}),J[24]=Q.status,J[25]=u;else u=J[25];let m;if(J[26]!==K)m=K!==void 0&&K>0&&z(n,{children:[" · ",i0(K)," tokens"]}),J[26]=K,J[27]=m;else m=J[27];let c;if(J[28]!==b)c=b!==void 0&&b>0&&z(n,{children:[" ","· ",b," ",b===1?"tool":"tools"]}),J[28]=b,J[29]=c;else c=J[29];let j;if(J[30]!==P||J[31]!==m||J[32]!==c)j=z(Y,{dimColor:!0,children:[P,m,c]}),J[30]=P,J[31]=m,J[32]=c,J[33]=j;else j=J[33];let h;if(J[34]!==u||J[35]!==j)h=z(Y,{children:[u,j]}),J[34]=u,J[35]=j,J[36]=h;else h=J[36];let l=h,v;if(J[37]!==W||J[38]!==N||J[39]!==V||J[40]!==Q.status)v=(k)=>k.pending?z(Y,{children:["Press ",k.keyName," again to exit"]}):z(e,{children:[W&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),Q.status==="running"&&V&&Z(D,{shortcut:"x",action:"stop"}),Q.status==="running"&&N&&Z(D,{shortcut:"f",action:"foreground"})]}),J[37]=W,J[38]=N,J[39]=V,J[40]=Q.status,J[41]=v;else v=J[41];let T;if(J[42]!==Q.progress||J[43]!==Q.status||J[44]!==G)T=Q.status==="running"&&Q.progress?.recentActivities&&Q.progress.recentActivities.length>0&&z(w,{flexDirection:"column",children:[Z(Y,{bold:!0,dimColor:!0,children:"Progress"}),Q.progress.recentActivities.map((k,$)=>z(Y,{dimColor:$<Q.progress.recentActivities.length-1,wrap:"truncate-end",children:[$===Q.progress.recentActivities.length-1?"› ":" ",k0(k,U,G)]},$))]}),J[42]=Q.progress,J[43]=Q.status,J[44]=G,J[45]=T;else T=J[45];let g;if(J[46]===Symbol.for("react.memo_cache_sentinel"))g=Z(Y,{bold:!0,dimColor:!0,children:"Prompt"}),J[46]=g;else g=J[46];let p;if(J[47]!==I)p=z(w,{flexDirection:"column",marginTop:1,children:[g,Z(Y,{wrap:"wrap",children:I})]}),J[47]=I,J[48]=p;else p=J[48];let S;if(J[49]!==Q.error||J[50]!==Q.status)S=Q.status==="failed"&&Q.error&&z(w,{flexDirection:"column",marginTop:1,children:[Z(Y,{bold:!0,color:"error",children:"Error"}),Z(Y,{color:"error",wrap:"wrap",children:Q.error})]}),J[49]=Q.error,J[50]=Q.status,J[51]=S;else S=J[51];let x;if(J[52]!==q||J[53]!==l||J[54]!==v||J[55]!==T||J[56]!==p||J[57]!==S||J[58]!==d)x=z(s,{title:d,subtitle:l,onCancel:q,color:"background",inputGuide:v,children:[T,p,S]}),J[52]=q,J[53]=l,J[54]=v,J[55]=T,J[56]=p,J[57]=S,J[58]=d,J[59]=x;else x=J[59];let a;if(J[60]!==f||J[61]!==x)a=Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:f,children:x}),J[60]=f,J[61]=x,J[62]=a;else a=J[62];return a}var lQ;var rQ=o(()=>{a0();Y0();f0();EJ();RQ();h0();vQ();H0();U0();P0();RJ();$0();r();lQ=J0(V0(),1)});function nQ({task:X,onDone:J,onBack:Q,onDisconnect:q}){let V=y0((P)=>P.mcp.tools),W=QJ.useMemo(()=>{let P=$Q(X.serverName);return V.map((E)=>E.name).filter((E)=>typeof E==="string"&&E.startsWith(P)).map((E)=>iQ(E,X.serverName)).sort()},[V,X.serverName]),N=QJ.useCallback(()=>J("MCP server details dismissed",{display:"system"}),[J]);Z0({"confirm:yes":N},{context:"Confirmation"});let G=(P)=>{if(P.key===" ")P.preventDefault(),N();else if(P.key==="left"&&Q)P.preventDefault(),Q();else if(P.key==="x"&&q)P.preventDefault(),q()},H=(P)=>{if(P.pending)return z(Y,{children:["Press ",P.keyName," again to exit"]});return z(e,{children:[Q&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),q&&Z(D,{shortcut:"x",action:"disconnect"})]})},U=X.connectionType==="failed"&&X.error?X.error.split(`
5
+ `).slice(0,tX):[];return Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:G,children:z(s,{title:`MCP · ${X.serverName}`,subtitle:z(Y,{children:[z(Y,{color:sJ(X),children:[FJ(X)," "]}),PJ(X)]}),onCancel:N,color:"background",inputGuide:H,children:[z(w,{marginX:2,flexDirection:"column",children:[z(Y,{children:[Z(Y,{bold:!0,children:"Transport:"})," ",X.transport," · ",Z(Y,{bold:!0,children:"Scope:"})," ",X.scope]}),X.serverInfo&&z(Y,{children:[Z(Y,{bold:!0,children:"Server:"})," ",X.serverInfo.name," v",X.serverInfo.version]}),X.resourceCount>0&&z(Y,{children:[Z(Y,{bold:!0,children:"Resources:"})," ",X.resourceCount]})]}),U.length>0&&z(w,{marginX:2,marginTop:1,flexDirection:"column",children:[Z(Y,{bold:!0,children:"Error"}),U.map((P,E)=>Z(Y,{color:"error",wrap:"truncate-end",children:P},E))]}),Z(JZ,{names:W})]})})}function JZ({names:X}){if(X.length===0)return Z(w,{marginX:2,marginTop:1,children:Z(Y,{dimColor:!0,children:"This server contributes no tools."})});let J=X.slice(0,eX),Q=X.length-J.length;return z(w,{marginX:2,marginTop:1,flexDirection:"column",children:[z(Y,{bold:!0,children:["Tools (",X.length,")"]}),J.map((q)=>z(Y,{dimColor:!0,wrap:"truncate-end",children:[" ",q]},q)),Q>0&&z(Y,{dimColor:!0,italic:!0,children:[" ","and ",Q," more"]})]})}var QJ,eX=12,tX=6;var aQ=o(()=>{Y0();H0();U0();P0();f0();oQ();HJ();sX();r();QJ=J0(A0(),1)});function WZ(X){let J=BJ.c(15),{stage:Q,completed:q,hasProgress:V}=X,W;if(J[0]!==Q)W=Q?sQ.indexOf(Q):-1,J[0]=Q,J[1]=W;else W=J[1];let N=W,G=!q&&!V,H;if(J[2]!==G)H=G?Z(Y,{color:"background",children:"Setup"}):Z(Y,{dimColor:!0,children:"Setup"}),J[2]=G,J[3]=H;else H=J[3];let U;if(J[4]===Symbol.for("react.memo_cache_sentinel"))U=Z(Y,{dimColor:!0,children:" → "}),J[4]=U;else U=J[4];let P;if(J[5]!==q||J[6]!==N||J[7]!==G)P=sQ.map((M,f)=>{let R=!q&&!G&&f===N;return z(R0.default.Fragment,{children:[f>0&&Z(Y,{dimColor:!0,children:" → "}),R?Z(Y,{color:"background",children:eQ[M]}):Z(Y,{dimColor:!0,children:eQ[M]})]},M)}),J[5]=q,J[6]=N,J[7]=G,J[8]=P;else P=J[8];let E;if(J[9]!==q)E=q&&Z(Y,{color:"success",children:" ✓"}),J[9]=q,J[10]=E;else E=J[10];let O;if(J[11]!==H||J[12]!==P||J[13]!==E)O=z(Y,{children:[H,U,P,E]}),J[11]=H,J[12]=P,J[13]=E,J[14]=O;else O=J[14];return O}function VZ(X){let J=X.reviewProgress;if(!J)return X.status==="completed"?"done":"setting up";let Q=J.bugsVerified,q=J.bugsRefuted??0;if(X.status==="completed"){let V=[`${Q} ${X0(Q,"finding")}`];if(q>0)V.push(`${q} refuted`);return V.join(" · ")}return AJ(J.stage,J.bugsFound,Q,q)}function GZ(X){let J=BJ.c(56),{session:Q,onDone:q,onBack:V,onKill:W}=X,N=Q.status==="completed",G=Q.status==="running"||Q.status==="pending",[H,U]=R0.useState(!1),P=O0(Q.startTime,G,1000,0,Q.endTime),E;if(J[0]!==q)E=()=>q("Remote session details dismissed",{display:"system"}),J[0]=q,J[1]=E;else E=J[1];let O=E,M=V??O,f;if(J[2]!==Q.sessionId)f=XJ(Q.sessionId),J[2]=Q.sessionId,J[3]=f;else f=J[3];let R=f,C=N?"ready":G?"running":Q.status;if(H){let x;if(J[4]===Symbol.for("react.memo_cache_sentinel"))x=()=>U(!1),J[4]=x;else x=J[4];let a;if(J[5]===Symbol.for("react.memo_cache_sentinel"))a=Z(Y,{dimColor:!0,children:"This archives the remote session and stops local tracking. The review will not complete and any findings so far are discarded."}),J[5]=a;else a=J[5];let k;if(J[6]===Symbol.for("react.memo_cache_sentinel"))k={label:"Stop ultrareview",value:"stop"},J[6]=k;else k=J[6];let $;if(J[7]===Symbol.for("react.memo_cache_sentinel"))$=[k,{label:"Back",value:"back"}],J[7]=$;else $=J[7];let F;if(J[8]!==M||J[9]!==W)F=Z(s,{title:"Stop ultrareview?",onCancel:x,color:"background",children:z(w,{flexDirection:"column",gap:1,children:[a,Z(yJ,{options:$,onChange:(Q0)=>{if(Q0==="stop")W?.(),M();else U(!1)}})]})}),J[8]=M,J[9]=W,J[10]=F;else F=J[10];return F}let K;if(J[11]!==N||J[12]!==W||J[13]!==G)K=N?[{label:"Open in Claude Code on the web",value:"open"},{label:"Dismiss",value:"dismiss"}]:[{label:"Open in Claude Code on the web",value:"open"},...W&&G?[{label:"Stop ultrareview",value:"stop"}]:[],{label:"Back",value:"back"}],J[11]=N,J[12]=W,J[13]=G,J[14]=K;else K=J[14];let b=K,B;if(J[15]!==M||J[16]!==O||J[17]!==q||J[18]!==R)B=(x)=>{J:switch(x){case"open":{JX(R),q();break J}case"stop":{U(!0);break J}case"back":{M();break J}case"dismiss":O()}},J[15]=M,J[16]=O,J[17]=q,J[18]=R,J[19]=B;else B=J[19];let I=B,y=N?M0:L0,_;if(J[20]!==y)_=z(Y,{color:"background",children:[y," "]}),J[20]=y,J[21]=_;else _=J[21];let L;if(J[22]===Symbol.for("react.memo_cache_sentinel"))L=Z(Y,{bold:!0,children:"ultrareview"}),J[22]=L;else L=J[22];let A;if(J[23]!==P||J[24]!==C)A=z(Y,{dimColor:!0,children:[" · ",P," · ",C]}),J[23]=P,J[24]=C,J[25]=A;else A=J[25];let d;if(J[26]!==_||J[27]!==A)d=z(Y,{children:[_,L,A]}),J[26]=_,J[27]=A,J[28]=d;else d=J[28];let u=Q.reviewProgress?.stage,m=!!Q.reviewProgress,c;if(J[29]!==N||J[30]!==u||J[31]!==m)c=Z(WZ,{stage:u,completed:N,hasProgress:m}),J[29]=N,J[30]=u,J[31]=m,J[32]=c;else c=J[32];let j;if(J[33]!==Q)j=VZ(Q),J[33]=Q,J[34]=j;else j=J[34];let h;if(J[35]!==j)h=Z(Y,{children:j}),J[35]=j,J[36]=h;else h=J[36];let l;if(J[37]!==R)l=Z(Y,{dimColor:!0,children:R}),J[37]=R,J[38]=l;else l=J[38];let v;if(J[39]!==R||J[40]!==l)v=Z(vJ,{url:R,children:l}),J[39]=R,J[40]=l,J[41]=v;else v=J[41];let T;if(J[42]!==h||J[43]!==v)T=z(w,{flexDirection:"column",children:[h,v]}),J[42]=h,J[43]=v,J[44]=T;else T=J[44];let g;if(J[45]!==I||J[46]!==b)g=Z(yJ,{options:b,onChange:I}),J[45]=I,J[46]=b,J[47]=g;else g=J[47];let p;if(J[48]!==c||J[49]!==T||J[50]!==g)p=z(w,{flexDirection:"column",gap:1,children:[c,T,g]}),J[48]=c,J[49]=T,J[50]=g,J[51]=p;else p=J[51];let S;if(J[52]!==M||J[53]!==p||J[54]!==d)S=Z(s,{title:d,onCancel:M,color:"background",inputGuide:NZ,children:p}),J[52]=M,J[53]=p,J[54]=d,J[55]=S;else S=J[55];return S}function NZ(X){return X.pending?z(Y,{children:["Press ",X.keyName," again to exit"]}):z(e,{children:[Z(D,{shortcut:"Enter",action:"select"}),Z(D,{shortcut:"Esc",action:"go back"})]})}function YX({session:X,toolUseContext:J,onDone:Q,onBack:q,onKill:V}){let[W,N]=R0.useState(!1),[G,H]=R0.useState(null),U=R0.useMemo(()=>{if(X.isRemoteReview)return[];return zX(ZX(X.log)).filter((R)=>R.type!=="progress").slice(-3)},[X]);if(X.isRemoteReview)return Z(GZ,{session:X,onDone:Q,onBack:q,onKill:V});let P=()=>Q("Remote session details dismissed",{display:"system"}),E=(R)=>{if(R.key===" ")R.preventDefault(),Q("Remote session details dismissed",{display:"system"});else if(R.key==="left"&&q)R.preventDefault(),q();else if(R.key==="t"&&!W)R.preventDefault(),O();else if(R.key==="return")R.preventDefault(),P()};async function O(){N(!0),H(null);try{await XX(X.sessionId)}catch(R){H(tQ(R))}finally{N(!1)}}let M=I0(X.title,50),f=X.status==="pending"?"starting":X.status;return Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:E,children:z(s,{title:"Remote session details",onCancel:P,color:"background",inputGuide:(R)=>R.pending?z(Y,{children:["Press ",R.keyName," again to exit"]}):z(e,{children:[q&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),!W&&Z(D,{shortcut:"t",action:"teleport"})]}),children:[z(w,{flexDirection:"column",children:[z(Y,{children:[Z(Y,{bold:!0,children:"Status"}),":"," ",f==="running"||f==="starting"?Z(Y,{color:"background",children:f}):f==="completed"?Z(Y,{color:"success",children:f}):Z(Y,{color:"error",children:f})]}),z(Y,{children:[Z(Y,{bold:!0,children:"Runtime"}),":"," ",ZJ((X.endTime??Date.now())-X.startTime)]}),z(Y,{wrap:"truncate-end",children:[Z(Y,{bold:!0,children:"Title"}),": ",M]}),z(Y,{children:[Z(Y,{bold:!0,children:"Progress"}),":"," ",Z(_0,{session:X})]}),z(Y,{children:[Z(Y,{bold:!0,children:"Session URL"}),":"," ",Z(vJ,{url:XJ(X.sessionId),children:Z(Y,{dimColor:!0,children:XJ(X.sessionId)})})]})]}),X.log.length>0&&z(w,{flexDirection:"column",marginTop:1,children:[z(Y,{children:[Z(Y,{bold:!0,children:"Recent messages"}),":"]}),Z(w,{flexDirection:"column",height:10,overflowY:"hidden",children:U.map((R,C)=>Z(QX,{message:R,lookups:WX,addMargin:C>0,tools:J.options.tools,commands:J.options.commands,verbose:J.options.verbose,inProgressToolUseIDs:new Set,progressMessagesForMessage:[],shouldAnimate:!1,shouldShowDot:!1,style:"condensed",isTranscriptMode:!1,isStatic:!0},C))}),Z(w,{marginTop:1,children:z(Y,{dimColor:!0,italic:!0,children:["Showing last ",U.length," of ",X.log.length," ","messages"]})})]}),G&&Z(w,{marginTop:1,children:z(Y,{color:"error",children:["Teleport failed: ",G]})}),W&&Z(Y,{color:"background",children:"Teleporting to session…"})]})})}var BJ,R0,sQ,eQ;var qX=o(()=>{LJ();a0();Y0();OJ();XZ();QZ();h0();zZ();KQ();d0();qZ();YZ();H0();U0();P0();ZZ();CJ();r();BJ=J0(V0(),1),R0=J0(A0(),1),sQ=["finding","verifying","synthesizing"],eQ={finding:"Find",verifying:"Verify",synthesizing:"Dedupe"}});async function FX(X){let J=NX(X.id);try{let Q=await VX(J,HZ);return{content:Q.content,bytesTotal:Q.bytesTotal}}catch{return{content:"",bytesTotal:0}}}function PX(X){let J=DJ.c(57),{shell:Q,onDone:q,onKillShell:V,onBack:W}=X,{columns:N}=C0(),G;if(J[0]!==Q)G=()=>FX(Q),J[0]=Q,J[1]=G;else G=J[1];let[H,U]=q0.useState(G),P=q0.useDeferredValue(H),E;if(J[2]!==Q)E=()=>{if(Q.status!=="running")return;let $=setInterval(UZ,1000,U,Q);return()=>clearInterval($)},J[2]=Q,J[3]=E;else E=J[3];let O;if(J[4]!==Q.id||J[5]!==Q.status)O=[Q.id,Q.status],J[4]=Q.id,J[5]=Q.status,J[6]=O;else O=J[6];q0.useEffect(E,O);let M;if(J[7]!==q)M=()=>q("Shell details dismissed",{display:"system"}),J[7]=q,J[8]=M;else M=J[8];let f=M,R;if(J[9]!==f)R={"confirm:yes":f},J[9]=f,J[10]=R;else R=J[10];let C;if(J[11]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},J[11]=C;else C=J[11];Z0(R,C);let K;if(J[12]!==W||J[13]!==q||J[14]!==V||J[15]!==Q.status)K=($)=>{if($.key===" ")$.preventDefault(),q("Shell details dismissed",{display:"system"});else if($.key==="left"&&W)$.preventDefault(),W();else if($.key==="x"&&Q.status==="running"&&V)$.preventDefault(),V()},J[12]=W,J[13]=q,J[14]=V,J[15]=Q.status,J[16]=K;else K=J[16];let b=K,B=Q.kind==="monitor",I;if(J[17]!==Q.command)I=I0(Q.command,280),J[17]=Q.command,J[18]=I;else I=J[18];let y=I,_=B?"Monitor details":"Shell details",L;if(J[19]!==W||J[20]!==V||J[21]!==Q.status)L=($)=>$.pending?z(Y,{children:["Press ",$.keyName," again to exit"]}):z(e,{children:[W&&Z(D,{shortcut:"←",action:"go back"}),Z(D,{shortcut:"Esc/Enter/Space",action:"close"}),Q.status==="running"&&V&&Z(D,{shortcut:"x",action:"stop"})]}),J[19]=W,J[20]=V,J[21]=Q.status,J[22]=L;else L=J[22];let A;if(J[23]===Symbol.for("react.memo_cache_sentinel"))A=Z(Y,{bold:!0,children:"Status:"}),J[23]=A;else A=J[23];let d;if(J[24]!==Q.result||J[25]!==Q.status)d=z(Y,{children:[A," ",Q.status==="running"?z(Y,{color:"background",children:[Q.status,Q.result?.code!==void 0&&` (exit code: ${Q.result.code})`]}):Q.status==="completed"?z(Y,{color:"success",children:[Q.status,Q.result?.code!==void 0&&` (exit code: ${Q.result.code})`]}):z(Y,{color:"error",children:[Q.status,Q.result?.code!==void 0&&` (exit code: ${Q.result.code})`]})]}),J[24]=Q.result,J[25]=Q.status,J[26]=d;else d=J[26];let u;if(J[27]===Symbol.for("react.memo_cache_sentinel"))u=Z(Y,{bold:!0,children:"Runtime:"}),J[27]=u;else u=J[27];let m;if(J[28]!==Q.endTime)m=Q.endTime??Date.now(),J[28]=Q.endTime,J[29]=m;else m=J[29];let c=m-Q.startTime,j;if(J[30]!==c)j=ZJ(c),J[30]=c,J[31]=j;else j=J[31];let h;if(J[32]!==j)h=z(Y,{children:[u," ",j]}),J[32]=j,J[33]=h;else h=J[33];let l=B?"Script:":"Command:",v;if(J[34]!==l)v=Z(Y,{bold:!0,children:l}),J[34]=l,J[35]=v;else v=J[35];let T;if(J[36]!==y||J[37]!==v)T=z(Y,{wrap:"wrap",children:[v," ",y]}),J[36]=y,J[37]=v,J[38]=T;else T=J[38];let g;if(J[39]!==d||J[40]!==h||J[41]!==T)g=z(w,{flexDirection:"column",children:[d,h,T]}),J[39]=d,J[40]=h,J[41]=T,J[42]=g;else g=J[42];let p;if(J[43]===Symbol.for("react.memo_cache_sentinel"))p=Z(Y,{bold:!0,children:"Output:"}),J[43]=p;else p=J[43];let S;if(J[44]===Symbol.for("react.memo_cache_sentinel"))S=Z(Y,{dimColor:!0,children:"Loading output…"}),J[44]=S;else S=J[44];let x;if(J[45]!==N||J[46]!==P)x=z(w,{flexDirection:"column",children:[p,Z(q0.Suspense,{fallback:S,children:Z(OZ,{outputPromise:P,columns:N})})]}),J[45]=N,J[46]=P,J[47]=x;else x=J[47];let a;if(J[48]!==f||J[49]!==L||J[50]!==g||J[51]!==x||J[52]!==_)a=z(s,{title:_,onCancel:f,color:"background",inputGuide:L,children:[g,x]}),J[48]=f,J[49]=L,J[50]=g,J[51]=x,J[52]=_,J[53]=a;else a=J[53];let k;if(J[54]!==b||J[55]!==a)k=Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:b,children:a}),J[54]=b,J[55]=a,J[56]=k;else k=J[56];return k}function UZ(X,J){return X(FX(J))}function OZ(X){let J=DJ.c(19),{outputPromise:Q,columns:q}=X,{content:V,bytesTotal:W}=q0.use(Q);if(!V){let R;if(J[0]===Symbol.for("react.memo_cache_sentinel"))R=Z(Y,{dimColor:!0,children:"No output available"}),J[0]=R;else R=J[0];return R}let N,G;if(J[1]!==W||J[2]!==V){let R=[],C=V.length;for(let K=0;K<10&&C>0;K++){let b=V.lastIndexOf(`
6
+ `,C-1);R.push(b+1),C=b}R.reverse(),N=W>V.length,G=[];for(let K=0;K<R.length;K++){let b=R[K],B=K<R.length-1?R[K+1]-1:V.length,I=V.slice(b,B);if(I)G.push(I)}J[1]=W,J[2]=V,J[3]=N,J[4]=G}else N=J[3],G=J[4];let H=q-6,U;if(J[5]!==G)U=G.map(EZ),J[5]=G,J[6]=U;else U=J[6];let P;if(J[7]!==H||J[8]!==U)P=Z(w,{borderStyle:"round",paddingX:1,flexDirection:"column",height:12,maxWidth:H,children:U}),J[7]=H,J[8]=U,J[9]=P;else P=J[9];let E=`Showing ${G.length} lines`,O;if(J[10]!==W||J[11]!==N)O=N?` of ${GX(W)}`:"",J[10]=W,J[11]=N,J[12]=O;else O=J[12];let M;if(J[13]!==E||J[14]!==O)M=z(Y,{dimColor:!0,italic:!0,children:[E,O]}),J[13]=E,J[14]=O,J[15]=M;else M=J[15];let f;if(J[16]!==P||J[17]!==M)f=z(n,{children:[P,M]}),J[16]=P,J[17]=M,J[18]=f;else f=J[18];return f}function EZ(X,J){return Z(Y,{wrap:"truncate-end",children:X},J)}var DJ,q0,HZ=8192;var HX=o(()=>{IJ();Y0();f0();h0();FZ();PZ();H0();U0();P0();r();DJ=J0(V0(),1),q0=J0(A0(),1)});var UX={};RZ(UX,{default:()=>MZ});var fZ=()=>null,MZ;var OX=o(()=>{MZ=fZ});function yZ(X,J){return Object.values(X??{}).filter(K0).filter((q)=>!(q.type==="local_agent"&&q.id===J))}function zW({onDone:X,toolUseContext:J,initialDetailTaskId:Q}){let q=y0((F)=>F.tasks),V=y0((F)=>F.foregroundedTaskId),W=y0((F)=>F.expandedView)==="teammates",N=CX(),G=LX("chat:killAgents","Chat","ctrl+x ctrl+k"),H=q,U=F0.useRef(!1),[P,E]=F0.useState(()=>{if(Q)return U.current=!0,{mode:"detail",itemId:Q};let F=yZ(H,V);if(F.length===1)return U.current=!0,{mode:"detail",itemId:F[0].id};return{mode:"list"}}),[O,M]=F0.useState(0);AX("background-tasks-dialog");let{bashTasks:f,remoteSessions:R,agentTasks:C,teammateTasks:K,workflowTasks:b,mcpMonitors:B,containerTasks:I,mcpServerTasks:y,dreamTasks:_,allSelectableItems:L}=F0.useMemo(()=>{let W0=Object.values(H??{}).filter(K0).map(vZ).sort((i,qJ)=>{let xJ=i.status,lJ=qJ.status;if(xJ==="running"&&lJ!=="running")return-1;if(xJ!=="running"&&lJ==="running")return 1;let bX="task"in i?i.task.startTime:0;return("task"in qJ?qJ.task.startTime:0)-bX}),gJ=W0.filter((i)=>i.type==="local_bash"),SJ=W0.filter((i)=>i.type==="remote_agent"),jJ=W0.filter((i)=>i.type==="local_agent"&&i.id!==V),pJ=W0.filter((i)=>i.type==="local_workflow"),dJ=W0.filter((i)=>i.type==="monitor_mcp"),uJ=W0.filter((i)=>i.type==="container"),TJ=W0.filter((i)=>i.type==="mcp_server"),cJ=W0.filter((i)=>i.type==="dream"),YJ=W?[]:W0.filter((i)=>i.type==="in_process_teammate"),mJ=YJ.length>0?[{id:"__leader__",type:"leader",label:`@${hJ}`,status:"running"}]:[];return{bashTasks:gJ,remoteSessions:SJ,agentTasks:jJ,workflowTasks:pJ,mcpMonitors:dJ,containerTasks:uJ,mcpServerTasks:TJ,dreamTasks:cJ,teammateTasks:[...mJ,...YJ],allSelectableItems:[...mJ,...YJ,...gJ,...dJ,...uJ,...TJ,...SJ,...jJ,...pJ,...cJ]}},[H,V,W]),A=L[O]??null;Z0({"confirm:previous":()=>M((F)=>Math.max(0,F-1)),"confirm:next":()=>M((F)=>Math.min(L.length-1,F+1)),"confirm:yes":()=>{let F=L[O];if(F)if(F.type==="leader")VJ(N),X("Viewing leader",{display:"system"});else E({mode:"detail",itemId:F.id})}},{context:"Confirmation",isActive:P.mode==="list"});let d=(F)=>{if(P.mode!=="list")return;if(F.key==="left"){F.preventDefault(),X("Background tasks dialog dismissed",{display:"system"});return}let Q0=L[O];if(!Q0)return;if(F.key==="x"){if(F.preventDefault(),Q0.type!=="leader")l0(Q0.task,N)}if(F.key==="f"){if(Q0.type==="in_process_teammate"&&Q0.status==="running")F.preventDefault(),WJ(Q0.id,N),X("Viewing teammate",{display:"system"});else if(Q0.type==="leader")F.preventDefault(),VJ(N),X("Viewing leader",{display:"system"})}};async function u(F){await x0.kill(F,N)}async function m(F){await u0.kill(F,N)}async function c(F){await T0.kill(F,N)}async function j(F){await m0.kill(F,N)}async function h(F){await c0.kill(F,N)}let l=KX(X);F0.useEffect(()=>{if(P.mode!=="list"){let Q0=(H??{})[P.itemId];if(!Q0||Q0.type!=="local_workflow"&&!K0(Q0))if(U.current)l("Background tasks dialog dismissed",{display:"system"});else E({mode:"list"})}let F=L.length;if(O>=F&&F>0)M(F-1)},[P,H,O,L,l]);let v=()=>{if(U.current&&L.length<=1)X("Background tasks dialog dismissed",{display:"system"});else U.current=!1,E({mode:"list"})};if(P.mode!=="list"&&H){let F=H[P.itemId];if(!F)return null;switch(F.type){case"local_bash":return Z(PX,{shell:F,onDone:X,onKillShell:()=>void u(F.id),onBack:v},`shell-${F.id}`);case"local_agent":return Z(MQ,{agent:F,onDone:X,onKillAgent:()=>void m(F.id),onBack:v},`agent-${F.id}`);case"remote_agent":return Z(YX,{session:F,onDone:X,toolUseContext:J,onBack:v,onKill:F.status!=="running"?void 0:()=>void h(F.id)},`session-${F.id}`);case"in_process_teammate":return Z(kQ,{teammate:F,onDone:X,onKill:F.status==="running"?()=>void c(F.id):void 0,onBack:v,onForeground:F.status==="running"?()=>{WJ(F.id,N),X("Viewing teammate",{display:"system"})}:void 0},`teammate-${F.id}`);case"monitor_mcp":if(!RX)return null;return Z(RX,{task:F,onKill:F.status==="running"&&EX?()=>EX(F.id,N):void 0,onBack:v},`monitor-mcp-${F.id}`);case"dream":return Z(mQ,{task:F,onDone:()=>X("Background tasks dialog dismissed",{display:"system"}),onBack:v,onKill:F.status==="running"?()=>void j(F.id):void 0},`dream-${F.id}`);case"container":return Z(uQ,{task:F,onDone:X,onBack:v,onStop:D0(F)?()=>l0(F,N):void 0},`container-${F.id}`);case"mcp_server":return Z(nQ,{task:F,onDone:X,onBack:v,onDisconnect:v0(F)?()=>l0(F,N):void 0},`mcp-${F.id}`)}}let T=E0(f,(F)=>F.status==="running"),g=E0(R,(F)=>F.status==="running"||F.status==="pending")+E0(C,(F)=>F.status==="running"),p=E0(K,(F)=>F.status==="running"),S=MX([...p>0?[z(Y,{children:[p," ",p!==1?"agents":"agent"]},"teammates")]:[],...T>0?[z(Y,{children:[T," ",T!==1?"active shells":"active shell"]},"shells")]:[],...g>0?[z(Y,{children:[g," ",g!==1?"active agents":"active agent"]},"agents")]:[]],(F)=>Z(Y,{children:" · "},`separator-${F}`)),x=A!==null&&A.type!=="leader"&&(A.type==="container"?D0(A.task):A.type==="mcp_server"?v0(A.task):A.status==="running"),a=[Z(D,{shortcut:"↑/↓",action:"select"},"upDown"),...A?[Z(D,{shortcut:"Enter",action:A.type==="container"?"logs":"view"},"enter")]:[],...A?.type==="in_process_teammate"&&A.status==="running"?[Z(D,{shortcut:"f",action:"foreground"},"foreground")]:[],...x?[Z(D,{shortcut:"x",action:A?.type==="container"?"stop container":A?.type==="mcp_server"?"disconnect":"stop"},"kill")]:[],...C.some((F)=>F.status==="running")?[Z(D,{shortcut:G,action:"stop all agents"},"kill-all")]:[],Z(D,{shortcut:"←/Esc",action:"close"},"esc")],k=()=>X("Background tasks dialog dismissed",{display:"system"});function $(F){if(F.pending)return z(Y,{children:["Press ",F.keyName," again to exit"]});return Z(e,{children:a})}return Z(w,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:d,children:Z(s,{title:"Background tasks",subtitle:Z(n,{children:S}),onCancel:k,color:"background",inputGuide:$,children:L.length===0?Z(Y,{dimColor:!0,children:"No tasks currently running"}):z(w,{flexDirection:"column",children:[K.length>0&&z(w,{flexDirection:"column",children:[(f.length>0||R.length>0||C.length>0)&&z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Agents"]})," (",E0(K,(F)=>F.type!=="leader"),")"]}),Z(w,{flexDirection:"column",children:Z(BZ,{teammateTasks:K,currentSelectionId:A?.id})})]}),f.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0?1:0,children:[(K.length>0||R.length>0||C.length>0)&&z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Shells"]})," (",f.length,")"]}),Z(w,{flexDirection:"column",children:f.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),B.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0?1:0,children:[z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Monitors"]})," (",B.length,")"]}),Z(w,{flexDirection:"column",children:B.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),I.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0||B.length>0?1:0,children:[z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Containers"]})," (",I.length,")"]}),Z(w,{flexDirection:"column",children:I.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),y.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0||B.length>0||I.length>0?1:0,children:[z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","MCP"]})," (",y.length,")"]}),Z(w,{flexDirection:"column",children:y.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),R.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0||B.length>0||I.length>0||y.length>0?1:0,children:[z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Remote agents"]})," (",R.length,")"]}),Z(w,{flexDirection:"column",children:R.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),C.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0||B.length>0||I.length>0||y.length>0||R.length>0?1:0,children:[z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Local agents"]})," (",C.length,")"]}),Z(w,{flexDirection:"column",children:C.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),b.length>0&&z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0||B.length>0||I.length>0||y.length>0||R.length>0||C.length>0?1:0,children:[z(Y,{dimColor:!0,children:[z(Y,{bold:!0,children:[" ","Workflows"]})," (",b.length,")"]}),Z(w,{flexDirection:"column",children:b.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})]}),_.length>0&&Z(w,{flexDirection:"column",marginTop:K.length>0||f.length>0||B.length>0||I.length>0||y.length>0||R.length>0||C.length>0||b.length>0?1:0,children:Z(w,{flexDirection:"column",children:_.map((F)=>Z(z0,{item:F,isSelected:F.id===A?.id},F.id))})})]})})})}function vZ(X){let J=B0(X);switch(X.type){case"local_bash":return{id:X.id,type:"local_bash",label:J,status:X.status,task:X};case"remote_agent":return{id:X.id,type:"remote_agent",label:J,status:X.status,task:X};case"local_agent":return{id:X.id,type:"local_agent",label:J,status:X.status,task:X};case"in_process_teammate":return{id:X.id,type:"in_process_teammate",label:J,status:X.status,task:X};case"local_workflow":return{id:X.id,type:"local_workflow",label:J,status:X.status,task:X};case"monitor_mcp":return{id:X.id,type:"monitor_mcp",label:J,status:X.status,task:X};case"dream":return{id:X.id,type:"dream",label:J,status:X.status,task:X};case"container":return{id:X.id,type:"container",label:J,status:X.status,task:X};case"mcp_server":return{id:X.id,type:"mcp_server",label:J,status:X.status,task:X};default:throw Error(`toListItem: unhandled task type ${String(X.type)}`)}}function z0(X){let J=_J.c(14),{item:Q,isSelected:q}=X,{columns:V}=C0(),W=Math.max(30,V-26),N;if(J[0]===Symbol.for("react.memo_cache_sentinel"))N=wX(),J[0]=N;else N=J[0];let G=N,H=G&&q,U=q?t.pointer+" ":" ",P;if(J[1]!==H||J[2]!==U)P=Z(Y,{dimColor:H,children:U}),J[1]=H,J[2]=U,J[3]=P;else P=J[3];let E=q&&!G?"suggestion":void 0,O;if(J[4]!==Q.task||J[5]!==Q.type||J[6]!==W)O=Q.type==="leader"?z(Y,{children:["@",hJ]}):Z(DQ,{task:Q.task,maxActivityWidth:W}),J[4]=Q.task,J[5]=Q.type,J[6]=W,J[7]=O;else O=J[7];let M;if(J[8]!==E||J[9]!==O)M=Z(Y,{color:E,children:O}),J[8]=E,J[9]=O,J[10]=M;else M=J[10];let f;if(J[11]!==P||J[12]!==M)f=z(w,{flexDirection:"row",children:[P,M]}),J[11]=P,J[12]=M,J[13]=f;else f=J[13];return f}function BZ(X){let J=_J.c(3),{teammateTasks:Q,currentSelectionId:q}=X,V;if(J[0]!==q||J[1]!==Q){let W=Q.filter(hZ),N=Q.filter(DZ),G=new Map;for(let U of N){let P=U.task.identity.teamName,E=G.get(P);if(E)E.push(U);else G.set(P,[U])}let H=[...G.entries()];V=Z(n,{children:H.map((U)=>{let[P,E]=U,O=E.length+W.length;return z(w,{flexDirection:"column",children:[z(Y,{dimColor:!0,children:[" ","Team: ",P," (",O,")"]}),W.map((M)=>Z(z0,{item:M,isSelected:M.id===q},`${M.id}-${P}`)),E.map((M)=>Z(z0,{item:M,isSelected:M.id===q},M.id))]},P)})}),J[0]=q,J[1]=Q,J[2]=V}else V=J[2];return V}function DZ(X){return X.type==="in_process_teammate"}function hZ(X){return X.type==="leader"}var _J,F0,IZ,EX,RX;var _Z=o(()=>{NJ();wZ();LZ();IJ();oQ();rJ();WQ();zQ();ZQ();VQ();OJ();tJ();S0();PQ();UJ();GQ();KJ();KZ();bZ();Y0();f0();AZ();KJ();H0();U0();P0();wQ();hQ();TQ();xQ();rQ();aQ();qX();HX();r();_J=J0(V0(),1),F0=J0(A0(),1),IZ=(qQ(),fX(CZ)),EX=IZ?.killMonitorMcp??null,RX=(OX(),fX(UX)).MonitorMcpDetailDialog});
7
+ export{WJ as ve,VJ as we,jZ as xe,rJ as ye,dZ as ze,GJ as Ae,S0 as Be,FJ as Ce,sJ as De,PJ as Ee,HJ as Fe,B0 as Ge,UJ as He,JQ as Ie,QQ as Je,l0 as Ke,GQ as Le,OY as Me,EY as Ne,$0 as Oe,zW as Pe,_Z as Qe};
@@ -0,0 +1,2 @@
1
+ import{$5 as D,G5 as q}from"./cli-1.1.34-yrk4mxjw.mjs";import{pia as m,qia as z}from"./cli-1.1.34-5t01yf6x.mjs";import{Iqa as x}from"./cli-1.1.34-4x915j9t.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
2
+ export{E as si,F as ti,K as ui,M as vi,G as wi};
@@ -0,0 +1,2 @@
1
+ import{gn as O,hk as M,hn as P,ik as W,in as Q,jn as U,qt as X}from"./cli-1.1.34-84707tma.mjs";import{Iqa as V}from"./cli-1.1.34-4x915j9t.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as gg,$ as hg};
@@ -0,0 +1,2 @@
1
+ import{Iqa as V}from"./cli-1.1.34-4x915j9t.mjs";function Q(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function U(q,J){let z=q;for(let $ of J){if(z==null||typeof z!=="object")return;z=z[$]}return z}function L(q){if(!q)return!1;let J="";try{J=new URL(q).hostname.toLowerCase()}catch{}if(!J){let K=q.toLowerCase();return K.includes("localhost")||K.includes("127.0.0.1")||K.includes("::1")}let z=J.startsWith("[")&&J.endsWith("]")?J.slice(1,-1):J;if(z==="localhost"||z.endsWith(".localhost")||z.endsWith(".local")||z.endsWith(".lan")||z.endsWith(".internal")||z.endsWith(".intranet")||z.endsWith(".home.arpa"))return!0;let $=z.match(A);if($){let K=Number($[1]),j=Number($[2]);if(K===10)return!0;if(K===172&&j>=16&&j<=31)return!0;if(K===192&&j===168)return!0;if(K===127)return!0;if(K===169&&j===254)return!0;if(K===100&&j>=64&&j<=127)return!0}if(z==="::1"||z==="::")return!0;if(z.startsWith("fe80:")||Y.test(z)||B.test(z))return!0;return!1}function T(q,J){if(q==="github")return J?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let z=J?.openAiBaseUrl??"";if(L(z))return"self-hosted";let $=z.toLowerCase();if($.includes(":11434"))return"ollama";if($.includes("moonshot")||$.includes("kimi"))return"kimi";if($.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function I(q){if(!q||typeof q!=="object")return 0;let J=q,z=Q(J.cache_read_input_tokens);if(z>0)return z;let $=Q(U(q,["input_tokens_details","cached_tokens"]))||Q(U(q,["prompt_tokens_details","cached_tokens"]));if($>0)return $;let K=Q(J.cached_tokens);if(K>0)return K;let j=Q(J.prompt_cache_hit_tokens);if(j>0)return j;let X=Q(J.cached_content_token_count);if(X>0)return X;return 0}function x(q){if(!q||typeof q!=="object")return 0;let z=Q(q.cache_creation_input_tokens);if(z>0)return z;return Q(U(q,["cache_creation","ephemeral_5m_input_tokens"]))+Q(U(q,["cache_creation","ephemeral_1h_input_tokens"]))}function _(q){let J=I(q),z=q??{},$=Q(z.input_tokens)||Q(z.prompt_tokens),K=$>=J?$-J:$,j=Q(z.output_tokens)||Q(z.completion_tokens);return{input_tokens:K,output_tokens:j,cache_creation_input_tokens:x(q),cache_read_input_tokens:J}}function w(q,J){if(!q||typeof q!=="object")return F;let z=q,$=Q(z.cache_read_input_tokens),K=Q(z.cache_creation_input_tokens),j=Q(z.input_tokens);if(J==="copilot"||J==="ollama")return F;if(J==="self-hosted"&&$===0&&K===0)return F;let X=$+K+j;return{read:$,created:K,total:X,hitRate:X>0?Math.min(1,$/X):null,supported:!0}}function O(q){let J=[],z=new Map;for(let $ of q){let K=M.exec($);if(!K){J.push($);continue}let j=K[4],X=z.get(j);if(X){X.events++,X.results+=Number(K[1]),X.inputs+=Number(K[2]??0),X.tokensK+=Number(K[3]);continue}z.set(j,{index:J.length,events:1,results:Number(K[1]),inputs:Number(K[2]??0),tokensK:Number(K[3])}),J.push($)}for(let[$,K]of z){if(K.events===1)continue;let j=K.inputs>0?` + ${K.inputs} inputs`:"";J[K.index]=`relief clip ×${K.events} (${K.results} tool results${j}, ~${K.tokensK}k tokens, ${$} lane)`}return J}function g(q,J,z,$){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let K=[`${G(q.read)} read`];if(q.hitRate!==null)K.push(`hit ${Math.round(q.hitRate*100)}%`);let j=P(J);if(j)K.push(j);if(z&&z.length>0)K.push(`prefix rewritten: ${O(z).join(", ")}`);if($&&$.length>0)K.push(`cache break: ${$.join("; ")}`);return`[Cache: ${K.join(" • ")}]`}function C(q,J,z,$){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let K=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)K.push(`hit=${Math.round(q.hitRate*100)}%`);else K.push("hit=n/a");if(J&&J.clearedInputTokens>0)K.push(`server_cleared=${J.clearedToolUses}(-${G(J.clearedInputTokens)})`);if(z&&z.length>0)K.push(`rewrite=${O(z).join("+")}`);if($&&$.length>0)K.push(`break=${$.join("+")}`);return`[Cache: ${K.join(" ")}]`}function P(q){if(!q||q.clearedInputTokens===0)return"";let J=q.clearedToolUses===1?"tool result":"tool results";return`server cleared ${q.clearedToolUses} ${J} (-${G(q.clearedInputTokens)})`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(D,"")}k`;return`${(q/1e6).toFixed(1).replace(D,"")}m`}function y(q,J){if(!q.supported&&!J.supported)return F;if(!q.supported)return J;if(!J.supported)return q;let z=q.read+J.read,$=q.created+J.created,K=q.total+J.total;return{read:z,created:$,total:K,hitRate:K>0?z/K:null,supported:!0}}var F,A,Y,B,D,M;var N=V(()=>{F={read:0,created:0,total:0,hitRate:null,supported:!1};A=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,Y=/^fc[0-9a-f]{0,2}:/,B=/^fd[0-9a-f]{0,2}:/,D=/\.0$/;M=/^relief clip \((\d+) tool results(?: \+ (\d+) inputs)?, ~(\d+)k tokens, (\w+) lane\)$/});function k(q){return{currentTurn:Z,session:Z,currentTurnServerClears:H,sessionServerClears:H,currentTurnPrefixRewrites:[],currentTurnCacheBreaks:[],history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function n(q,J){W.currentTurn=y(W.currentTurn,q),W.session=y(W.session,q);let z={timestamp:Date.now(),label:J,metrics:q};if(W.history[W.historyWriteIdx]=z,W.historyWriteIdx=(W.historyWriteIdx+1)%W.historyMax,W.historySize<W.historyMax)W.historySize++}function v(q){let J=(z)=>({events:z.events+1,clearedToolUses:z.clearedToolUses+q.clearedToolUses,clearedInputTokens:z.clearedInputTokens+q.clearedInputTokens});W.currentTurnServerClears=J(W.currentTurnServerClears),W.sessionServerClears=J(W.sessionServerClears)}function R(q){W.currentTurnPrefixRewrites=[...W.currentTurnPrefixRewrites,q]}function h(q){W.currentTurnCacheBreaks=[...W.currentTurnCacheBreaks,q]}function d(){W.currentTurn=Z,W.currentTurnServerClears=H,W.currentTurnPrefixRewrites=[],W.currentTurnCacheBreaks=[]}function m(){W.currentTurn=Z,W.session=Z,W.currentTurnServerClears=H,W.sessionServerClears=H,W.currentTurnPrefixRewrites=[],W.currentTurnCacheBreaks=[],W.history=Array(W.historyMax),W.historyWriteIdx=0,W.historySize=0}function l(){return W.currentTurn}function o(){return W.currentTurnServerClears}function u(){return W.currentTurnPrefixRewrites}function p(){return W.currentTurnCacheBreaks}function i(){return W.sessionServerClears}function c(){return W.session}function s(){if(W.historySize<W.historyMax)return W.history.slice(0,W.historySize);let q=W.history.slice(W.historyWriteIdx),J=W.history.slice(0,W.historyWriteIdx);return q.concat(J)}var H,S=500,Z,W;var f=V(()=>{N();H={events:0,clearedToolUses:0,clearedInputTokens:0},Z={read:0,created:0,total:0,hitRate:null,supported:!1};W=k(S)});
2
+ export{T as LZ,_ as MZ,w as NZ,g as OZ,C as PZ,G as QZ,N as RZ,n as SZ,v as TZ,R as UZ,h as VZ,d as WZ,m as XZ,l as YZ,o as ZZ,u as _Z,p as $Z,i as a0,c as b0,s as c0,f as d0};
@@ -0,0 +1,2 @@
1
+ import{$E as U,aF as A,oF as V,pF as E}from"./cli-1.1.34-84707tma.mjs";import{FV as W,LV as G}from"./cli-1.1.34-3rcacat5.mjs";import{IX as F,KX as H,pY as O}from"./cli-1.1.34-59csbz1a.mjs";import{T1 as q,U1 as K,V1 as L}from"./cli-1.1.34-8vfey6b5.mjs";import{W1 as I}from"./cli-1.1.34-7ad0dt89.mjs";import{$5 as p,G5 as Q}from"./cli-1.1.34-yrk4mxjw.mjs";import{D_ as M,F_ as N,Tea as $}from"./cli-1.1.34-wwjkncsv.mjs";import{Eqa as Z,Iqa as _}from"./cli-1.1.34-4x915j9t.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
2
+ export{b as Rb,d as Sb,P as Tb};
@@ -0,0 +1,17 @@
1
+ import{X4 as x,b5 as K}from"./cli-1.1.34-yrk4mxjw.mjs";import{$_ as I,P_ as v,Yda as w,jea as J}from"./cli-1.1.34-wwjkncsv.mjs";import{bka as q,jka as G}from"./cli-1.1.34-ev8ffgr9.mjs";import{Iqa as z}from"./cli-1.1.34-4x915j9t.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDIN_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
2
+
3
+ You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
4
+
5
+ Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
6
+
7
+ Also call advisor:
8
+ - When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
9
+ - When stuck -- errors recurring, approach not converging, results that don't fit.
10
+ - When considering a change of approach.
11
+
12
+ On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
13
+
14
+ Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
15
+
16
+ If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
17
+ export{W as LT,k as MT,N as NT,X as OT,Z as PT,$ as QT,B as RT,D as ST,F as TT,O as UT};
@@ -0,0 +1,34 @@
1
+ import{GX as z,MX as Bq,NX as xq,pY as Aq}from"./cli-1.1.34-59csbz1a.mjs";import{v6 as H,w6 as Rq}from"./cli-1.1.34-7bxexffs.mjs";import{$$ as G,A_ as Mq,Aea as Gq,D_ as _,F_ as R,L$ as p,Naa as N,Oaa as m,S$ as zq,Tea as b,baa as o,g_ as Yq,h$ as $q,i$ as jq,j_ as Zq,k_ as wq,nga as v,sga as a,y_ as W,yea as l}from"./cli-1.1.34-wwjkncsv.mjs";import{Eha as T,Gha as Wq}from"./cli-1.1.34-0t1h2v5v.mjs";import{Via as Qq,Wia as Xq,_ia as _q,cja as c,gja as Hq}from"./cli-1.1.34-xwg0x7p4.mjs";import{Vja as E,Xja as Uq}from"./cli-1.1.34-d0sgyvr1.mjs";import{Tpa as s,Upa as Lq}from"./cli-1.1.34-n5t6xk0e.mjs";import{Iqa as A}from"./cli-1.1.34-4x915j9t.mjs";function h(){let q=l(T(),c().existsSync)!==null,J=p(T());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:J},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:q,isCompletable:!0,isEnabled:!J}]}function I(){return h().filter(({isCompletable:q,isEnabled:J})=>q&&J).every(({isComplete:q})=>q)}var y=A(()=>{Wq();zq();Hq();Gq()});function i(){if(N().hasCompletedProjectOnboarding)return;if(I())m((q)=>({...q,hasCompletedProjectOnboarding:!0}))}var lq;var n=A(()=>{Lq();b();y();y();lq=s(()=>{let q=N();if(q.hasCompletedProjectOnboarding||q.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!I()})});import{stat as r}from"fs/promises";import{homedir as Vq}from"os";import{join as vq}from"path";function Oq(q){_((J)=>({...J,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:q}))}function U(){_((q)=>({...q,appleTerminalSetupInProgress:!1}))}function Fq(){let q=R();return{inProgress:q.appleTerminalSetupInProgress??!1,backupPath:q.appleTerminalBackupPath||null}}function w(){return vq(Vq(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let q=w(),J=`${q}.bak`;try{let{code:K}=await G("defaults",["export","com.apple.Terminal",q]);if(K!==0)return null;try{await r(q)}catch{return null}return await G("defaults",["export","com.apple.Terminal",J]),Oq(J),J}catch(K){return v(K),null}}async function e(){let{inProgress:q,backupPath:J}=Fq();if(!q)return{status:"no_backup"};if(!J)return U(),{status:"no_backup"};try{await r(J)}catch{return U(),{status:"no_backup"}}try{let{code:K}=await G("defaults",["import","com.apple.Terminal",J]);if(K!==0)return{status:"failed",backupPath:J};return await G("killall",["cfprefsd"]),U(),{status:"restored"}}catch(K){return v(Error(`Failed to restore Terminal.app settings with: ${K}`)),U(),{status:"failed",backupPath:J}}}var qq=A(()=>{b();o();a()});import{randomBytes as k}from"crypto";import{copyFile as g,mkdir as f,readFile as u,writeFile as P}from"fs/promises";import{homedir as d,platform as S}from"os";import{dirname as Iq,join as O}from"path";import{pathToFileURL as Sq}from"url";function Dq(){let q=process.env.VSCODE_GIT_ASKPASS_MAIN??"",J=process.env.PATH??"";return q.includes(".vscode-server")||q.includes(".cursor-server")||q.includes(".windsurf-server")||J.includes(".vscode-server")||J.includes(".cursor-server")||J.includes(".windsurf-server")}function FJ(){if(!W.terminal||!(W.terminal in D))return null;return D[W.terminal]??null}function L(q){if(!Bq())return q;return`\x1B]8;;${Sq(q).href}\x07${q}\x1B]8;;\x07`}function Eq(){return S()==="darwin"&&W.terminal==="Apple_Terminal"||W.terminal==="vscode"||W.terminal==="cursor"||W.terminal==="windsurf"||W.terminal==="alacritty"||W.terminal==="zed"}async function Tq(q){let J="";switch(W.terminal){case"Apple_Terminal":J=await yq(q);break;case"vscode":J=await C("VSCode",q);break;case"cursor":J=await C("Cursor",q);break;case"windsurf":J=await C("Windsurf",q);break;case"alacritty":J=await Nq(q);break;case"zed":J=await bq(q);break;case null:break}return _((K)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(W.terminal??"")){if(K.shiftEnterKeyBindingInstalled===!0)return K;return{...K,shiftEnterKeyBindingInstalled:!0}}else if(W.terminal==="Apple_Terminal"){if(K.optionAsMetaKeyInstalled===!0)return K;return{...K,optionAsMetaKeyInstalled:!0}}return K}),i(),J}function UJ(){return R().shiftEnterKeyBindingInstalled===!0}function _J(){return R().hasUsedBackslashReturn===!0}function RJ(){if(!R().hasUsedBackslashReturn)_((J)=>({...J,hasUsedBackslashReturn:!0}))}async function wJ(q,J,K){if(W.terminal&&W.terminal in D){let X=`Shift+Enter is natively supported in ${D[W.terminal]}.
2
+
3
+ No configuration needed. Just use Shift+Enter to add newlines.`;return q(X),null}if(!Eq()){let X=W.terminal||"your current terminal",Y=$q(),B="";if(Y==="macos")B=` • macOS: Apple Terminal
4
+ `;else if(Y==="windows")B=` • Windows: Windows Terminal
5
+ `;let Z=`Terminal setup cannot be run from ${X}.
6
+
7
+ This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
+ ${H.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
+
10
+ To set up the shortcut (optional):
11
+ 1. Exit tmux/screen temporarily
12
+ 2. Run /terminal-setup directly in one of these terminals:
13
+ ${B} • IDE: VSCode, Cursor, Windsurf, Zed
14
+ • Other: Alacritty
15
+ 3. Return to tmux/screen - settings will persist
16
+
17
+ ${H.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return q(Z),null}let $=await Tq(J.options.theme);return q($),null}async function C(q="VSCode",J){if(Dq())return`${z("warning",J)(`Cannot install keybindings from a remote ${q} session.`)}${Q}${Q}${q} keybindings must be installed on your local machine, not the remote server.${Q}${Q}To install the Shift+Enter keybinding:${Q}1. Open ${q} on your local machine (not connected to remote)${Q}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${Q}3. Add this keybinding (the file must be a JSON array):${Q}${Q}${H.dim(`[
18
+ {
19
+ "key": "shift+enter",
20
+ "command": "workbench.action.terminal.sendSequence",
21
+ "args": { "text": "\\u001b\\r" },
22
+ "when": "terminalFocus"
23
+ }
24
+ ]`)}${Q}`;let K=q==="VSCode"?"Code":q,$=O(d(),S()==="win32"?O("AppData","Roaming",K,"User"):S()==="darwin"?O("Library","Application Support",K,"User"):O(".config",K,"User")),X=O($,"keybindings.json");try{await f($,{recursive:!0});let Y="[]",B=[],Z=!1;try{Y=await u(X,{encoding:"utf-8"}),Z=!0,B=Yq(Y)??[]}catch(V){if(!E(V))throw V}if(Z){let V=k(4).toString("hex"),x=`${X}.${V}.bak`;try{await g(X,x)}catch{return`${z("warning",J)(`Error backing up existing ${q} terminal keybindings. Bailing out.`)}${Q}${H.dim(`See ${L(X)}`)}${Q}${H.dim(`Backup path: ${L(x)}`)}${Q}`}}if(B.find((V)=>V.key==="shift+enter"&&V.command==="workbench.action.terminal.sendSequence"&&V.when==="terminalFocus"))return`${z("warning",J)(`Found existing ${q} terminal Shift+Enter key binding. Remove it to continue.`)}${Q}${H.dim(`See ${L(X)}`)}${Q}`;let j=Zq(Y,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await P(X,j,{encoding:"utf-8"}),`${z("success",J)(`Installed ${q} terminal Shift+Enter key binding`)}${Q}${H.dim(`See ${L(X)}`)}${Q}`}catch(Y){throw v(Y),Error(`Failed to install ${q} terminal Shift+Enter key binding`)}}async function Jq(q){let{code:J}=await G("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${q}':useOptionAsMetaKey bool true`,w()]);if(J!==0){let{code:K}=await G("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${q}':useOptionAsMetaKey true`,w()]);if(K!==0)return v(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${q}`)),!1}return!0}async function Kq(q){let{code:J}=await G("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${q}':Bell bool false`,w()]);if(J!==0){let{code:K}=await G("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${q}':Bell false`,w()]);if(K!==0)return v(Error(`Failed to disable audio bell for Terminal.app profile: ${q}`)),!1}return!0}async function yq(q){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:K,code:$}=await G("defaults",["read","com.apple.Terminal","Default Window Settings"]);if($!==0||!K.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:X,code:Y}=await G("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(Y!==0||!X.trim())throw Error("Failed to read startup Terminal.app profile");let B=!1,Z=K.trim(),F=await Jq(Z),M=await Kq(Z);if(F||M)B=!0;let j=X.trim();if(j!==Z){let V=await Jq(j),x=await Kq(j);if(V||x)B=!0}if(!B)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await G("killall",["cfprefsd"]),U(),`${z("success",q)("Configured Terminal.app settings:")}${Q}${z("success",q)('- Enabled "Use Option as Meta key"')}${Q}${z("success",q)("- Switched to visual bell")}${Q}${H.dim("Option+Enter will now enter a newline.")}${Q}${H.dim("You must restart Terminal.app for changes to take effect.",q)}${Q}`}catch(J){v(J);let K=await e(),$="Failed to enable Option as Meta key for Terminal.app.";if(K.status==="restored")throw Error(`${$} Your settings have been restored from backup.`);else if(K.status==="failed")throw Error(`${$} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${K.backupPath}`);else throw Error(`${$} No backup was available to restore from.`)}}async function Nq(q){let K=[],$=process.env.XDG_CONFIG_HOME;if($)K.push(O($,"alacritty","alacritty.toml"));else K.push(O(d(),".config","alacritty","alacritty.toml"));if(S()==="win32"){let Z=process.env.APPDATA;if(Z)K.push(O(Z,"alacritty","alacritty.toml"))}let X=null,Y="",B=!1;for(let Z of K)try{Y=await u(Z,{encoding:"utf-8"}),X=Z,B=!0;break}catch(F){if(!E(F))throw F}if(!X)X=K[0]??null;if(!X)throw Error("No valid config path found for Alacritty");try{if(B){if(Y.includes('mods = "Shift"')&&Y.includes('key = "Return"'))return`${z("warning",q)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${Q}${H.dim(`See ${L(X)}`)}${Q}`;let F=k(4).toString("hex"),M=`${X}.${F}.bak`;try{await g(X,M)}catch{return`${z("warning",q)("Error backing up existing Alacritty config. Bailing out.")}${Q}${H.dim(`See ${L(X)}`)}${Q}${H.dim(`Backup path: ${L(M)}`)}${Q}`}}else await f(Iq(X),{recursive:!0});let Z=Y;if(Y&&!Y.endsWith(`
25
+ `))Z+=`
26
+ `;return Z+=`
27
+ [[keyboard.bindings]]
28
+ key = "Return"
29
+ mods = "Shift"
30
+ chars = "\\u001B\\r"
31
+ `,await P(X,Z,{encoding:"utf-8"}),`${z("success",q)("Installed Alacritty Shift+Enter key binding")}${Q}${z("success",q)("You may need to restart Alacritty for changes to take effect")}${Q}${H.dim(`See ${L(X)}`)}${Q}`}catch(Z){throw v(Z),Error("Failed to install Alacritty Shift+Enter key binding")}}async function bq(q){let J=O(d(),".config","zed"),K=O(J,"keymap.json");try{await f(J,{recursive:!0});let $="[]",X=!1;try{$=await u(K,{encoding:"utf-8"}),X=!0}catch(B){if(!E(B))throw B}if(X){if($.includes("shift-enter"))return`${z("warning",q)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${Q}${H.dim(`See ${L(K)}`)}${Q}`;let B=k(4).toString("hex"),Z=`${K}.${B}.bak`;try{await g(K,Z)}catch{return`${z("warning",q)("Error backing up existing Zed keymap. Bailing out.")}${Q}${H.dim(`See ${L(K)}`)}${Q}${H.dim(`Backup path: ${L(Z)}`)}${Q}`}}let Y;try{if(Y=Xq($),!Array.isArray(Y))Y=[]}catch{Y=[]}return Y.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await P(K,Qq(Y,null,2)+`
32
+ `,{encoding:"utf-8"}),`${z("success",q)("Installed Zed Shift+Enter key binding")}${Q}${H.dim(`See ${L(K)}`)}${Q}`}catch($){throw v($),Error("Failed to install Zed Shift+Enter key binding")}}var Q=`
33
+ `,D;var Cq=A(()=>{Rq();xq();Aq();n();qq();b();Mq();Uq();o();wq();a();jq();_q();D={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
+ export{i as iW,n as jW,e as kW,qq as lW,FJ as mW,Eq as nW,Tq as oW,UJ as pW,_J as qW,RJ as rW,wJ as sW,Cq as tW};
@@ -0,0 +1,2 @@
1
+ import{Iqa as K}from"./cli-1.1.34-4x915j9t.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
+ export{M as uja,N as vja,Q as wja,R as xja,S as yja,L as zja};