@claudiolabs/claudin 1.1.31 → 1.1.32

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 (861) hide show
  1. package/dist/chunks/App-1.1.32-x0g3m6v6.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.32-8x1yxm2f.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.32-scm9btv0.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.32-wtcy84rn.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.32-y88y88zt.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.32-kzv0tbna.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.32-4cm0cwer.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.32-289yb4jj.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.32-5gjqvpvs.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.32-a8pwddd1.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.32-6qdrtdpr.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.32-hwzxtdsd.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.32-yytrpays.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.32-c5yyxz32.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.32-7q71086g.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.32-yzppvfrk.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.32-rv15raev.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.32-n3bsegx5.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.32-68xgndte.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.32-zb4vkx03.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.32-q3c5nqks.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.32-3whrqawk.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.32-33mkg42t.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.32-9brew90d.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.32-8hkh1hcx.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.32-ph49ernt.mjs +1 -0
  27. package/dist/chunks/agents-1.1.32-6ajrxrdr.mjs +110 -0
  28. package/dist/chunks/agents-1.1.32-6gc09pk2.mjs +3 -0
  29. package/dist/chunks/api-1.1.32-8qx9q5eh.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.32-4knajfec.mjs +1 -0
  31. package/dist/chunks/auth-1.1.32-9xrd6x89.mjs +1 -0
  32. package/dist/chunks/auth-1.1.32-s83fshpf.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.32-e680w683.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.32-7m1d4dy7.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.32-hhg3dezv.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.32-8ddhae4q.mjs +1 -0
  37. package/dist/chunks/branch-1.1.32-xaq3pb3p.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.32-ec6fc8kh.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.32-bse7ynz2.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.32-84ntyqxd.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.32-d20ebbde.mjs +88 -0
  42. package/dist/chunks/bridgePointer-1.1.32-40jwkts4.mjs +1 -0
  43. package/dist/chunks/btw-1.1.32-kg0w3tw2.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.32-c53wp8x4.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.32-a9jc0rn9.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.32-bh9jpngp.mjs +4 -0
  47. package/dist/chunks/caches-1.1.32-va3h1efn.mjs +1 -0
  48. package/dist/chunks/cd-1.1.32-yar6t6sg.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.32-xjcschxc.mjs +1 -0
  50. package/dist/chunks/claudemd-1.1.32-kb9tec8y.mjs +1 -0
  51. package/dist/chunks/clear-1.1.32-ywfd1kha.mjs +1 -0
  52. package/dist/chunks/clearTerminal-1.1.32-x7tbxm3w.mjs +1 -0
  53. package/dist/chunks/cli-1.1.32-06xv4rmw.mjs +2 -0
  54. package/dist/chunks/cli-1.1.32-0pmhmsew.mjs +42 -0
  55. package/dist/chunks/cli-1.1.32-1913x5jp.mjs +15 -0
  56. package/dist/chunks/cli-1.1.32-1c9z2mtv.mjs +2 -0
  57. package/dist/chunks/cli-1.1.32-1cp8vbtp.mjs +9 -0
  58. package/dist/chunks/cli-1.1.32-1rackf2c.mjs +4 -0
  59. package/dist/chunks/cli-1.1.32-1rprka6j.mjs +2 -0
  60. package/dist/chunks/cli-1.1.32-1t75hwdn.mjs +2 -0
  61. package/dist/chunks/cli-1.1.32-1yrmnphh.mjs +2 -0
  62. package/dist/chunks/cli-1.1.32-260jjrwt.mjs +6 -0
  63. package/dist/chunks/cli-1.1.32-26474ywa.mjs +2 -0
  64. package/dist/chunks/cli-1.1.32-28vx0a5m.mjs +2 -0
  65. package/dist/chunks/cli-1.1.32-28x0bz68.mjs +2 -0
  66. package/dist/chunks/cli-1.1.32-2k074m5f.mjs +2 -0
  67. package/dist/chunks/cli-1.1.32-2kd689v0.mjs +2 -0
  68. package/dist/chunks/cli-1.1.32-2m68a9w2.mjs +2 -0
  69. package/dist/chunks/cli-1.1.32-2tyhwqjh.mjs +10 -0
  70. package/dist/chunks/cli-1.1.32-2wcdy0zp.mjs +17 -0
  71. package/dist/chunks/cli-1.1.32-2x7x44mg.mjs +2 -0
  72. package/dist/chunks/cli-1.1.32-336t9pmv.mjs +2 -0
  73. package/dist/chunks/cli-1.1.32-33jnyekk.mjs +2 -0
  74. package/dist/chunks/cli-1.1.32-36t0985q.mjs +21 -0
  75. package/dist/chunks/cli-1.1.32-3gbh5q5w.mjs +2 -0
  76. package/dist/chunks/cli-1.1.32-3z4a0eqz.mjs +3 -0
  77. package/dist/chunks/cli-1.1.32-41xx49ta.mjs +2 -0
  78. package/dist/chunks/cli-1.1.32-46wadmxk.mjs +2 -0
  79. package/dist/chunks/cli-1.1.32-49sdmvtj.mjs +25 -0
  80. package/dist/chunks/cli-1.1.32-4ekmdczr.mjs +25 -0
  81. package/dist/chunks/cli-1.1.32-4ft4m446.mjs +2 -0
  82. package/dist/chunks/cli-1.1.32-4rsr6phf.mjs +2 -0
  83. package/dist/chunks/cli-1.1.32-4vdyqkkd.mjs +2 -0
  84. package/dist/chunks/cli-1.1.32-4yat84kg.mjs +2 -0
  85. package/dist/chunks/cli-1.1.32-5a158c45.mjs +2 -0
  86. package/dist/chunks/cli-1.1.32-5c5dcwk6.mjs +2 -0
  87. package/dist/chunks/cli-1.1.32-5cngr1kn.mjs +2 -0
  88. package/dist/chunks/cli-1.1.32-5dq711bj.mjs +2 -0
  89. package/dist/chunks/cli-1.1.32-5j5n166h.mjs +2 -0
  90. package/dist/chunks/cli-1.1.32-5qjjtpkh.mjs +133 -0
  91. package/dist/chunks/cli-1.1.32-5qwps3ts.mjs +2 -0
  92. package/dist/chunks/cli-1.1.32-5v0afeqw.mjs +2 -0
  93. package/dist/chunks/cli-1.1.32-5xmh2b7j.mjs +2 -0
  94. package/dist/chunks/cli-1.1.32-60pc6r2s.mjs +2 -0
  95. package/dist/chunks/cli-1.1.32-6317frxz.mjs +2 -0
  96. package/dist/chunks/cli-1.1.32-65c5zdmx.mjs +2 -0
  97. package/dist/chunks/cli-1.1.32-6f9r9qcb.mjs +2 -0
  98. package/dist/chunks/cli-1.1.32-6jbgafh2.mjs +2 -0
  99. package/dist/chunks/cli-1.1.32-6jhkp60n.mjs +2 -0
  100. package/dist/chunks/cli-1.1.32-6jxftegx.mjs +6 -0
  101. package/dist/chunks/cli-1.1.32-7566j53x.mjs +2 -0
  102. package/dist/chunks/cli-1.1.32-76wfpwbd.mjs +2 -0
  103. package/dist/chunks/cli-1.1.32-7zp3b6gq.mjs +2 -0
  104. package/dist/chunks/cli-1.1.32-8b5ej63w.mjs +2 -0
  105. package/dist/chunks/cli-1.1.32-8hsb6vgz.mjs +2 -0
  106. package/dist/chunks/cli-1.1.32-8jkgzjh4.mjs +5 -0
  107. package/dist/chunks/cli-1.1.32-8t8t42xx.mjs +2 -0
  108. package/dist/chunks/cli-1.1.32-8yc37yqa.mjs +34 -0
  109. package/dist/chunks/cli-1.1.32-97e0qadj.mjs +2 -0
  110. package/dist/chunks/cli-1.1.32-9c0an85r.mjs +2 -0
  111. package/dist/chunks/cli-1.1.32-9fe7efg9.mjs +2 -0
  112. package/dist/chunks/cli-1.1.32-9jxkev29.mjs +2 -0
  113. package/dist/chunks/cli-1.1.32-9wsnkggz.mjs +11 -0
  114. package/dist/chunks/cli-1.1.32-9yka8m9x.mjs +5490 -0
  115. package/dist/chunks/cli-1.1.32-a3dfp7ps.mjs +12 -0
  116. package/dist/chunks/cli-1.1.32-acgh1gj8.mjs +2 -0
  117. package/dist/chunks/cli-1.1.32-ajhvj43e.mjs +2 -0
  118. package/dist/chunks/cli-1.1.32-aqfcrtfz.mjs +5 -0
  119. package/dist/chunks/cli-1.1.32-aysp26sz.mjs +45 -0
  120. package/dist/chunks/cli-1.1.32-b1bbb8eb.mjs +7 -0
  121. package/dist/chunks/cli-1.1.32-b3hsysf6.mjs +2 -0
  122. package/dist/chunks/cli-1.1.32-b4dgaz0a.mjs +2 -0
  123. package/dist/chunks/cli-1.1.32-bce46tmm.mjs +2 -0
  124. package/dist/chunks/cli-1.1.32-bnam9df8.mjs +2 -0
  125. package/dist/chunks/cli-1.1.32-bt4yfsm7.mjs +2 -0
  126. package/dist/chunks/cli-1.1.32-c4v8081j.mjs +2 -0
  127. package/dist/chunks/cli-1.1.32-c6n1kre3.mjs +2 -0
  128. package/dist/chunks/cli-1.1.32-c7ypbb63.mjs +2 -0
  129. package/dist/chunks/cli-1.1.32-cpzgn83z.mjs +2 -0
  130. package/dist/chunks/cli-1.1.32-cx7ygksc.mjs +2 -0
  131. package/dist/chunks/cli-1.1.32-czrfbd3q.mjs +2 -0
  132. package/dist/chunks/cli-1.1.32-d47cvy98.mjs +2 -0
  133. package/dist/chunks/cli-1.1.32-dkyyv5mx.mjs +2 -0
  134. package/dist/chunks/cli-1.1.32-dp2kpscr.mjs +2 -0
  135. package/dist/chunks/cli-1.1.32-dtd3vpkv.mjs +2 -0
  136. package/dist/chunks/cli-1.1.32-e1btgk5y.mjs +4 -0
  137. package/dist/chunks/cli-1.1.32-e96q5k17.mjs +2 -0
  138. package/dist/chunks/cli-1.1.32-ebg7m8yz.mjs +2 -0
  139. package/dist/chunks/cli-1.1.32-ehg64cg0.mjs +2 -0
  140. package/dist/chunks/cli-1.1.32-erw03mnm.mjs +2 -0
  141. package/dist/chunks/cli-1.1.32-f3895pf8.mjs +2 -0
  142. package/dist/chunks/cli-1.1.32-fhzs65yw.mjs +2 -0
  143. package/dist/chunks/cli-1.1.32-fjz81t0j.mjs +2 -0
  144. package/dist/chunks/cli-1.1.32-fr30sgy9.mjs +2 -0
  145. package/dist/chunks/cli-1.1.32-fzepmkcj.mjs +2 -0
  146. package/dist/chunks/cli-1.1.32-g5dzf2w1.mjs +24 -0
  147. package/dist/chunks/cli-1.1.32-gg7yn5bt.mjs +8 -0
  148. package/dist/chunks/cli-1.1.32-gpq33yz0.mjs +2 -0
  149. package/dist/chunks/cli-1.1.32-gqbeasga.mjs +2 -0
  150. package/dist/chunks/cli-1.1.32-gvv8h6dg.mjs +18 -0
  151. package/dist/chunks/cli-1.1.32-gwf0a8ej.mjs +2 -0
  152. package/dist/chunks/cli-1.1.32-h23ch6fy.mjs +2 -0
  153. package/dist/chunks/cli-1.1.32-h4tpddgz.mjs +4 -0
  154. package/dist/chunks/cli-1.1.32-h7cb9f8y.mjs +2 -0
  155. package/dist/chunks/cli-1.1.32-hbwke9cs.mjs +2 -0
  156. package/dist/chunks/cli-1.1.32-hgjgfp8p.mjs +60 -0
  157. package/dist/chunks/cli-1.1.32-hhd65der.mjs +2 -0
  158. package/dist/chunks/cli-1.1.32-hzn2mba8.mjs +3 -0
  159. package/dist/chunks/cli-1.1.32-j31v1t7y.mjs +15 -0
  160. package/dist/chunks/cli-1.1.32-jatnsd1n.mjs +2 -0
  161. package/dist/chunks/cli-1.1.32-jjanec91.mjs +2 -0
  162. package/dist/chunks/cli-1.1.32-jnrsn4v0.mjs +2 -0
  163. package/dist/chunks/cli-1.1.32-jqhfcb0t.mjs +2 -0
  164. package/dist/chunks/cli-1.1.32-jt6w5mqv.mjs +2 -0
  165. package/dist/chunks/cli-1.1.32-k5d30qej.mjs +3 -0
  166. package/dist/chunks/cli-1.1.32-k9zkw4st.mjs +2 -0
  167. package/dist/chunks/cli-1.1.32-kn0zs89y.mjs +63 -0
  168. package/dist/chunks/cli-1.1.32-kqkbjp3x.mjs +4 -0
  169. package/dist/chunks/cli-1.1.32-m7dxkbpn.mjs +2 -0
  170. package/dist/chunks/cli-1.1.32-m9c0pceb.mjs +3 -0
  171. package/dist/chunks/cli-1.1.32-m9p4pd60.mjs +2 -0
  172. package/dist/chunks/cli-1.1.32-merqy9t2.mjs +2 -0
  173. package/dist/chunks/cli-1.1.32-mrftpsrs.mjs +15 -0
  174. package/dist/chunks/cli-1.1.32-n3smn7a4.mjs +2 -0
  175. package/dist/chunks/cli-1.1.32-n6rpvpf2.mjs +2 -0
  176. package/dist/chunks/cli-1.1.32-n7cyeje8.mjs +2 -0
  177. package/dist/chunks/cli-1.1.32-n9vdkdfk.mjs +2 -0
  178. package/dist/chunks/cli-1.1.32-nmcy47z7.mjs +4 -0
  179. package/dist/chunks/cli-1.1.32-nt9eqa35.mjs +2 -0
  180. package/dist/chunks/cli-1.1.32-p70gsyp3.mjs +2 -0
  181. package/dist/chunks/cli-1.1.32-pe6kmf9g.mjs +3 -0
  182. package/dist/chunks/cli-1.1.32-pfhbrjhs.mjs +20 -0
  183. package/dist/chunks/cli-1.1.32-pfwbgg79.mjs +2 -0
  184. package/dist/chunks/cli-1.1.32-pm7ctgdf.mjs +7 -0
  185. package/dist/chunks/cli-1.1.32-pve0ffcp.mjs +203 -0
  186. package/dist/chunks/cli-1.1.32-pwvfjtva.mjs +2 -0
  187. package/dist/chunks/cli-1.1.32-px6268dx.mjs +2 -0
  188. package/dist/chunks/cli-1.1.32-px93hhj4.mjs +3 -0
  189. package/dist/chunks/cli-1.1.32-qmgvm9rq.mjs +2 -0
  190. package/dist/chunks/cli-1.1.32-qvx7w9wm.mjs +2 -0
  191. package/dist/chunks/cli-1.1.32-qzjfn21e.mjs +3 -0
  192. package/dist/chunks/cli-1.1.32-r5ww85n4.mjs +6 -0
  193. package/dist/chunks/cli-1.1.32-r6g8b118.mjs +5 -0
  194. package/dist/chunks/cli-1.1.32-r7020tw8.mjs +4 -0
  195. package/dist/chunks/cli-1.1.32-rbvnjjkt.mjs +2 -0
  196. package/dist/chunks/cli-1.1.32-rmz4ezae.mjs +3 -0
  197. package/dist/chunks/cli-1.1.32-rswqkymv.mjs +133 -0
  198. package/dist/chunks/cli-1.1.32-s2kkv51h.mjs +2 -0
  199. package/dist/chunks/cli-1.1.32-s4betse1.mjs +2 -0
  200. package/dist/chunks/cli-1.1.32-sqsxnqqb.mjs +2 -0
  201. package/dist/chunks/cli-1.1.32-t1n0b84g.mjs +2 -0
  202. package/dist/chunks/cli-1.1.32-tgr1e1hd.mjs +2 -0
  203. package/dist/chunks/cli-1.1.32-th2r4378.mjs +9 -0
  204. package/dist/chunks/cli-1.1.32-thsw9p6n.mjs +2 -0
  205. package/dist/chunks/cli-1.1.32-tp4tyjy3.mjs +2 -0
  206. package/dist/chunks/cli-1.1.32-tq108hv4.mjs +2 -0
  207. package/dist/chunks/cli-1.1.32-tzn98f6r.mjs +24 -0
  208. package/dist/chunks/cli-1.1.32-v3cks7qj.mjs +6 -0
  209. package/dist/chunks/cli-1.1.32-v4chz2b0.mjs +2 -0
  210. package/dist/chunks/cli-1.1.32-vdezbpdh.mjs +2 -0
  211. package/dist/chunks/cli-1.1.32-vf3r8a91.mjs +16 -0
  212. package/dist/chunks/cli-1.1.32-vmr6f229.mjs +2 -0
  213. package/dist/chunks/cli-1.1.32-vnhzy4jx.mjs +2 -0
  214. package/dist/chunks/cli-1.1.32-vtzwmjs8.mjs +3 -0
  215. package/dist/chunks/cli-1.1.32-vy2ngm3p.mjs +2 -0
  216. package/dist/chunks/cli-1.1.32-w2b0neg3.mjs +4 -0
  217. package/dist/chunks/cli-1.1.32-wnhqapmf.mjs +24 -0
  218. package/dist/chunks/cli-1.1.32-wsqyehdw.mjs +2 -0
  219. package/dist/chunks/cli-1.1.32-wyv15h7a.mjs +6 -0
  220. package/dist/chunks/cli-1.1.32-x0crp5g9.mjs +2 -0
  221. package/dist/chunks/cli-1.1.32-x23z7923.mjs +2 -0
  222. package/dist/chunks/cli-1.1.32-x8j1spnv.mjs +2 -0
  223. package/dist/chunks/cli-1.1.32-xfhe1m2y.mjs +2 -0
  224. package/dist/chunks/cli-1.1.32-xj2e8mzf.mjs +2 -0
  225. package/dist/chunks/cli-1.1.32-xy1pvy12.mjs +2 -0
  226. package/dist/chunks/cli-1.1.32-y4agg2c2.mjs +17 -0
  227. package/dist/chunks/cli-1.1.32-ycyg88ky.mjs +2 -0
  228. package/dist/chunks/cli-1.1.32-ydbtpc9v.mjs +12 -0
  229. package/dist/chunks/cli-1.1.32-yfs9ppge.mjs +2 -0
  230. package/dist/chunks/cli-1.1.32-yhftam6y.mjs +50 -0
  231. package/dist/chunks/cli-1.1.32-yhzhm57s.mjs +2 -0
  232. package/dist/chunks/cli-1.1.32-yq68bsa5.mjs +2 -0
  233. package/dist/chunks/cli-1.1.32-yv0wyp2m.mjs +2 -0
  234. package/dist/chunks/cli-1.1.32-yv9hzzq7.mjs +2 -0
  235. package/dist/chunks/cli-1.1.32-yw64r19c.mjs +2 -0
  236. package/dist/chunks/cli-1.1.32-z7x4jfeb.mjs +4 -0
  237. package/dist/chunks/cli-1.1.32-zegecv6e.mjs +2 -0
  238. package/dist/chunks/cli-1.1.32-zeyasrw5.mjs +2 -0
  239. package/dist/chunks/cli-1.1.32-zfyd4kyq.mjs +2 -0
  240. package/dist/chunks/cli-1.1.32-zfzqc12y.mjs +26 -0
  241. package/dist/chunks/cli-1.1.32-zkq2v1fz.mjs +2 -0
  242. package/dist/chunks/cli-1.1.32-zqtqvc9y.mjs +3 -0
  243. package/dist/chunks/cli-1.1.32-zr4x17ne.mjs +3 -0
  244. package/dist/chunks/cli-1.1.32-zraeg1n2.mjs +2 -0
  245. package/dist/chunks/cli-1.1.32-zrxqe296.mjs +7 -0
  246. package/dist/chunks/cli-1.1.32-zv1p3q66.mjs +2 -0
  247. package/dist/chunks/cli-1.1.32-zwetcrr2.mjs +39 -0
  248. package/dist/chunks/client-1.1.32-y4ehgz03.mjs +1 -0
  249. package/dist/chunks/color-1.1.32-an3gq6pv.mjs +1 -0
  250. package/dist/chunks/compact-1.1.32-kp67c5pn.mjs +2 -0
  251. package/dist/chunks/config-1.1.32-9kqd30ca.mjs +1 -0
  252. package/dist/chunks/config-1.1.32-chryg3ab.mjs +1 -0
  253. package/dist/chunks/constants-1.1.32-azab2vra.mjs +1 -0
  254. package/dist/chunks/context-1.1.32-t6yf3tch.mjs +1 -0
  255. package/dist/chunks/context-noninteractive-1.1.32-tbes3yx4.mjs +1 -0
  256. package/dist/chunks/conversation-1.1.32-edtsb1fp.mjs +1 -0
  257. package/dist/chunks/copilotHeaders-1.1.32-cxjr3qqd.mjs +1 -0
  258. package/dist/chunks/copy-1.1.32-2yk1zben.mjs +9 -0
  259. package/dist/chunks/cost-1.1.32-ykkmca1s.mjs +1 -0
  260. package/dist/chunks/createSession-1.1.32-pky6wawr.mjs +1 -0
  261. package/dist/chunks/debug-1.1.32-f8fanjpw.mjs +1 -0
  262. package/dist/chunks/defaultActionDeps-1.1.32-nf0mf9nq.mjs +1480 -0
  263. package/dist/chunks/desktop-1.1.32-h4q834kk.mjs +2 -0
  264. package/dist/chunks/detectRepository-1.1.32-y3wjkn3b.mjs +1 -0
  265. package/dist/chunks/detection-1.1.32-13rzk2y0.mjs +1 -0
  266. package/dist/chunks/diff-1.1.32-tsgcxd5v.mjs +1 -0
  267. package/dist/chunks/doctor-1.1.32-dg4q70ty.mjs +1 -0
  268. package/dist/chunks/doctorDiagnostic-1.1.32-xpjhp8fe.mjs +1 -0
  269. package/dist/chunks/earlyInput-1.1.32-rzjwc8xb.mjs +1 -0
  270. package/dist/chunks/effort-1.1.32-76tc9ft4.mjs +13 -0
  271. package/dist/chunks/engine-1.1.32-qp8px0cr.mjs +1 -0
  272. package/dist/chunks/envLessBridgeConfig-1.1.32-mamfyksw.mjs +1 -0
  273. package/dist/chunks/envUtils-1.1.32-x5ddw5jb.mjs +1 -0
  274. package/dist/chunks/errors-1.1.32-pw0ngznd.mjs +1 -0
  275. package/dist/chunks/exampleCommands-1.1.32-j9bvstfq.mjs +1 -0
  276. package/dist/chunks/execFileNoThrow-1.1.32-ah9wga16.mjs +1 -0
  277. package/dist/chunks/exit-1.1.32-4j8q9ztw.mjs +1 -0
  278. package/dist/chunks/explorer-1.1.32-dabb8sse.mjs +1 -0
  279. package/dist/chunks/export-1.1.32-zt3yhqen.mjs +2 -0
  280. package/dist/chunks/fast-1.1.32-cms216af.mjs +1 -0
  281. package/dist/chunks/feedback-1.1.32-r94c0y57.mjs +16 -0
  282. package/dist/chunks/git-1.1.32-9xc0s3ry.mjs +1 -0
  283. package/dist/chunks/githubModelsCredentials-1.1.32-r5xq7s7y.mjs +1 -0
  284. package/dist/chunks/goal-1.1.32-bkjq4858.mjs +4 -0
  285. package/dist/chunks/headless-1.1.32-ae4d3qgy.mjs +2 -0
  286. package/dist/chunks/heapdump-1.1.32-jdrsrqfx.mjs +6 -0
  287. package/dist/chunks/help-1.1.32-5z54ce4t.mjs +1 -0
  288. package/dist/chunks/hooks-1.1.32-2mse496x.mjs +1 -0
  289. package/dist/chunks/hooks-1.1.32-jv66gnpt.mjs +79 -0
  290. package/dist/chunks/ide-1.1.32-tx45prsy.mjs +3 -0
  291. package/dist/chunks/image-processor-napi-1.1.32-bwdr4dza.mjs +1 -0
  292. package/dist/chunks/import-1.1.32-7w75n01b.mjs +261 -0
  293. package/dist/chunks/inboundAttachments-1.1.32-1vfz9rkn.mjs +1 -0
  294. package/dist/chunks/index-1.1.32-3wzxvtbf.mjs +1 -0
  295. package/dist/chunks/index-1.1.32-49p9ghn6.mjs +1 -0
  296. package/dist/chunks/index-1.1.32-7ttnyjb3.mjs +2 -0
  297. package/dist/chunks/index-1.1.32-aqkr7bx2.mjs +9 -0
  298. package/dist/chunks/index-1.1.32-az0sxjjn.mjs +5 -0
  299. package/dist/chunks/index-1.1.32-b4rwnxe8.mjs +1 -0
  300. package/dist/chunks/index-1.1.32-bpzdp87c.mjs +23 -0
  301. package/dist/chunks/index-1.1.32-c3gnrfg0.mjs +1 -0
  302. package/dist/chunks/index-1.1.32-cjq261cn.mjs +9 -0
  303. package/dist/chunks/index-1.1.32-crx2adff.mjs +1 -0
  304. package/dist/chunks/index-1.1.32-dn9thxs1.mjs +30 -0
  305. package/dist/chunks/index-1.1.32-fwm6yqt6.mjs +1 -0
  306. package/dist/chunks/index-1.1.32-g58gm84f.mjs +1 -0
  307. package/dist/chunks/index-1.1.32-g9e9ne9q.mjs +1 -0
  308. package/dist/chunks/index-1.1.32-m694vs1n.mjs +1 -0
  309. package/dist/chunks/index-1.1.32-rbv0wt7t.mjs +1 -0
  310. package/dist/chunks/index-1.1.32-revsqy4q.mjs +1 -0
  311. package/dist/chunks/index-1.1.32-t011v5cn.mjs +1 -0
  312. package/dist/chunks/index-1.1.32-tv85kbw0.mjs +1 -0
  313. package/dist/chunks/index-1.1.32-v09n34s4.mjs +1 -0
  314. package/dist/chunks/index-1.1.32-vaknvmtk.mjs +2 -0
  315. package/dist/chunks/index-1.1.32-vxn4pvkx.mjs +1 -0
  316. package/dist/chunks/index-1.1.32-zep1vry1.mjs +1 -0
  317. package/dist/chunks/init-1.1.32-xac664gq.mjs +2 -0
  318. package/dist/chunks/initReplBridge-1.1.32-d1g5bqts.mjs +1 -0
  319. package/dist/chunks/ink-1.1.32-brepbf1s.mjs +1 -0
  320. package/dist/chunks/insights-1.1.32-ccteb3zt.mjs +870 -0
  321. package/dist/chunks/install-1.1.32-xhcj1s97.mjs +1 -0
  322. package/dist/chunks/install-github-app-1.1.32-2rb2b8y2.mjs +149 -0
  323. package/dist/chunks/install-slack-app-1.1.32-7e22rmh8.mjs +1 -0
  324. package/dist/chunks/interactiveHelpers-1.1.32-tw81dggb.mjs +1 -0
  325. package/dist/chunks/keybindings-1.1.32-bsjftmx2.mjs +2 -0
  326. package/dist/chunks/latestVersionCache-1.1.32-ecgj54va.mjs +1 -0
  327. package/dist/chunks/loadAgentsDir-1.1.32-9c4e13wb.mjs +1 -0
  328. package/dist/chunks/loadPluginHooks-1.1.32-qb96n0p6.mjs +1 -0
  329. package/dist/chunks/log-1.1.32-0wdbtf8k.mjs +1 -0
  330. package/dist/chunks/main-1.1.32-9s7gbk2b.mjs +1 -0
  331. package/dist/chunks/managedEnv-1.1.32-8aapabn1.mjs +1 -0
  332. package/dist/chunks/mcp-1.1.32-2ct5ytwv.mjs +1 -0
  333. package/dist/chunks/mcp-1.1.32-42npdfwc.mjs +17 -0
  334. package/dist/chunks/mcp-1.1.32-8c3f7gfy.mjs +4 -0
  335. package/dist/chunks/mcpb-1.1.32-482tejv1.mjs +1 -0
  336. package/dist/chunks/memory-1.1.32-jrnzabfj.mjs +77 -0
  337. package/dist/chunks/model-1.1.32-wjtssjq7.mjs +1 -0
  338. package/dist/chunks/model-1.1.32-z7v5ah7s.mjs +2 -0
  339. package/dist/chunks/node-1.1.32-bgrnv9d0.mjs +15 -0
  340. package/dist/chunks/node-1.1.32-pek9xbcv.mjs +1 -0
  341. package/dist/chunks/oauth-1.1.32-b01rfrnw.mjs +1 -0
  342. package/dist/chunks/openaiShim-1.1.32-68nafznt.mjs +14 -0
  343. package/dist/chunks/output-style-1.1.32-se3pq9dn.mjs +1 -0
  344. package/dist/chunks/package-D2QZMRW7-1.1.32-jykb9rfa.mjs +1 -0
  345. package/dist/chunks/permissions-1.1.32-r62vjas0.mjs +3 -0
  346. package/dist/chunks/permissions-1.1.32-v83ds1fq.mjs +1 -0
  347. package/dist/chunks/plan-1.1.32-remxpgv3.mjs +1 -0
  348. package/dist/chunks/plist-1.1.32-y2bh274p.mjs +1 -0
  349. package/dist/chunks/plugin-1.1.32-h9pgs6zn.mjs +29 -0
  350. package/dist/chunks/pluginStartupCheck-1.1.32-vyn1sara.mjs +1 -0
  351. package/dist/chunks/plugins-1.1.32-wxz7p0xc.mjs +9 -0
  352. package/dist/chunks/preActionHook-1.1.32-259wvsmh.mjs +2 -0
  353. package/dist/chunks/print-1.1.32-k37wv4h9.mjs +57 -0
  354. package/dist/chunks/process-1.1.32-tya6ctch.mjs +1 -0
  355. package/dist/chunks/processBashCommand-1.1.32-hfk6nzmr.mjs +1 -0
  356. package/dist/chunks/processSlashCommand-1.1.32-ga3g4qev.mjs +9 -0
  357. package/dist/chunks/prompt-1.1.32-crsv325t.mjs +1 -0
  358. package/dist/chunks/prompt-1.1.32-jyfkevpw.mjs +1 -0
  359. package/dist/chunks/prompts-1.1.32-mythhsq2.mjs +1 -0
  360. package/dist/chunks/provider-1.1.32-c16c25q6.mjs +2 -0
  361. package/dist/chunks/providerProfiles-1.1.32-gv05d26p.mjs +1 -0
  362. package/dist/chunks/providerValidation-1.1.32-srfcyanm.mjs +6 -0
  363. package/dist/chunks/registerSubcommands-1.1.32-af1r42j6.mjs +26 -0
  364. package/dist/chunks/registry-1.1.32-nvr3xen5.mjs +1 -0
  365. package/dist/chunks/release-notes-1.1.32-gtntbc84.mjs +5 -0
  366. package/dist/chunks/reload-plugins-1.1.32-qmx4b0zf.mjs +2 -0
  367. package/dist/chunks/remote-env-1.1.32-srz0skx2.mjs +1 -0
  368. package/dist/chunks/remoteBridgeCore-1.1.32-17erfh69.mjs +1 -0
  369. package/dist/chunks/rename-1.1.32-yww8w15q.mjs +1 -0
  370. package/dist/chunks/replLauncher-1.1.32-carhn5x3.mjs +1 -0
  371. package/dist/chunks/resume-1.1.32-y7g779fj.mjs +2 -0
  372. package/dist/chunks/rewind-1.1.32-xktcmbbk.mjs +1 -0
  373. package/dist/chunks/rootOptions-1.1.32-q7914mqe.mjs +1 -0
  374. package/dist/chunks/runWorkflowHeadless-1.1.32-yr1peyj2.mjs +10 -0
  375. package/dist/chunks/sandbox-adapter-1.1.32-kct2shfd.mjs +1 -0
  376. package/dist/chunks/sandbox-toggle-1.1.32-wa7kgd6b.mjs +1 -0
  377. package/dist/chunks/session-1.1.32-07pqmcyz.mjs +2 -0
  378. package/dist/chunks/sessionFileAccessHooks-1.1.32-1ekf9af3.mjs +1 -0
  379. package/dist/chunks/sessionStorage-1.1.32-vcm53ywe.mjs +1 -0
  380. package/dist/chunks/settings-1.1.32-kwtz4r22.mjs +1 -0
  381. package/dist/chunks/setup-1.1.32-695k1eyn.mjs +12 -0
  382. package/dist/chunks/sinks-1.1.32-3eh8hb97.mjs +1 -0
  383. package/dist/chunks/skills-1.1.32-ymdek4dt.mjs +1 -0
  384. package/dist/chunks/startupProfiler-1.1.32-sxxmxavv.mjs +1 -0
  385. package/dist/chunks/startupUpdateCheck-1.1.32-25e14c0p.mjs +1 -0
  386. package/dist/chunks/state-1.1.32-q2y7dv84.mjs +1 -0
  387. package/dist/chunks/stats-1.1.32-p79st2jy.mjs +1 -0
  388. package/dist/chunks/status-1.1.32-wsaad3gy.mjs +1 -0
  389. package/dist/chunks/stickers-1.1.32-erbhpqdc.mjs +1 -0
  390. package/dist/chunks/subprocessEnv-1.1.32-29m5mf2s.mjs +1 -0
  391. package/dist/chunks/tasks-1.1.32-fv2ze8ev.mjs +1 -0
  392. package/dist/chunks/teamHelpers-1.1.32-b2x5nsht.mjs +1 -0
  393. package/dist/chunks/teammateModeSnapshot-1.1.32-w65af42z.mjs +1 -0
  394. package/dist/chunks/teleport-1.1.32-6d4336gw.mjs +1 -0
  395. package/dist/chunks/terminalSetup-1.1.32-t82mfgh5.mjs +1 -0
  396. package/dist/chunks/theme-1.1.32-7qn5nf2j.mjs +1 -0
  397. package/dist/chunks/thinkback-1.1.32-awsxj77a.mjs +1 -0
  398. package/dist/chunks/thinkback-play-1.1.32-jz9fjb47.mjs +1 -0
  399. package/dist/chunks/toolPool-1.1.32-fjydq0km.mjs +1 -0
  400. package/dist/chunks/toolSearch-1.1.32-y8vfsj9n.mjs +1 -0
  401. package/dist/chunks/tools-1.1.32-pd8bskwj.mjs +1 -0
  402. package/dist/chunks/trustedDevice-1.1.32-891wyppj.mjs +1 -0
  403. package/dist/chunks/turndown.cjs-1.1.32-nsrwegv6.mjs +69 -0
  404. package/dist/chunks/types-1.1.32-v6b8jgxx.mjs +1 -0
  405. package/dist/chunks/ultrareviewCommand-1.1.32-wkj4mpew.mjs +4 -0
  406. package/dist/chunks/update-1.1.32-zz1tgpba.mjs +72 -0
  407. package/dist/chunks/upload-1.1.32-43gcqyx2.mjs +7 -0
  408. package/dist/chunks/upstreamproxy-1.1.32-nqwkbma5.mjs +14 -0
  409. package/dist/chunks/usage-1.1.32-80bkg4qd.mjs +1 -0
  410. package/dist/chunks/util-1.1.32-c7zmr7sf.mjs +1 -0
  411. package/dist/chunks/utils-1.1.32-x2mf8n7e.mjs +1 -0
  412. package/dist/chunks/vim-1.1.32-mz41whem.mjs +1 -0
  413. package/dist/chunks/watchLoop-1.1.32-yftqp4h6.mjs +13 -0
  414. package/dist/chunks/watcher-1.1.32-jy13qnvt.mjs +1 -0
  415. package/dist/chunks/wiki-1.1.32-z6ngme51.mjs +132 -0
  416. package/dist/chunks/workflows-1.1.32-mpyvb578.mjs +1 -0
  417. package/dist/chunks/worktree-1.1.32-qxw9fxfk.mjs +1 -0
  418. package/dist/chunks/worktreeModeEnabled-1.1.32-w3d8pgmt.mjs +1 -0
  419. package/dist/chunks/wrapper-1.1.32-5xty3sv5.mjs +7 -0
  420. package/dist/cli.mjs +2 -2
  421. package/package.json +9 -9
  422. package/dist/chunks/AgentTool-1.1.31-6e06310w.mjs +0 -1
  423. package/dist/chunks/App-1.1.31-bp57fthj.mjs +0 -1
  424. package/dist/chunks/ApproveApiKey-1.1.31-ptx7r5x2.mjs +0 -1
  425. package/dist/chunks/AutoModeOptInDialog-1.1.31-0d22j8k7.mjs +0 -1
  426. package/dist/chunks/BypassPermissionsModeDialog-1.1.31-v2cfafqt.mjs +0 -1
  427. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.31-a8e8ar2n.mjs +0 -1
  428. package/dist/chunks/ConsoleOAuthFlow-1.1.31-zq76tmk2.mjs +0 -1
  429. package/dist/chunks/DiffDialog-1.1.31-r1mknqwv.mjs +0 -6
  430. package/dist/chunks/Doctor-1.1.31-t4n9k4nc.mjs +0 -1
  431. package/dist/chunks/ExplorerDialog-1.1.31-41a3c01z.mjs +0 -6
  432. package/dist/chunks/ITermBackend-1.1.31-y9f8hq45.mjs +0 -1
  433. package/dist/chunks/InvalidConfigDialog-1.1.31-xpdggxkf.mjs +0 -1
  434. package/dist/chunks/InvalidSettingsDialog-1.1.31-0bg1r1g6.mjs +0 -1
  435. package/dist/chunks/MigrationDialog-1.1.31-w8fpbc16.mjs +0 -1
  436. package/dist/chunks/Onboarding-1.1.31-23zjjspn.mjs +0 -1
  437. package/dist/chunks/ProviderManager-1.1.31-504qgqkc.mjs +0 -1
  438. package/dist/chunks/REPL-1.1.31-nyzbwycm.mjs +0 -1
  439. package/dist/chunks/ResumeConversation-1.1.31-dqkxr7bz.mjs +0 -1
  440. package/dist/chunks/SnapshotUpdateDialog-1.1.31-htqfbpbp.mjs +0 -1
  441. package/dist/chunks/TeleportProgress-1.1.31-27h2np2z.mjs +0 -1
  442. package/dist/chunks/TeleportRepoMismatchDialog-1.1.31-41nwynfk.mjs +0 -1
  443. package/dist/chunks/TeleportResumeWrapper-1.1.31-ea5827ce.mjs +0 -1
  444. package/dist/chunks/TmuxBackend-1.1.31-jvrhermf.mjs +0 -9
  445. package/dist/chunks/ToolSearchTool-1.1.31-c0sya3fj.mjs +0 -1
  446. package/dist/chunks/TrustDialog-1.1.31-28w5033t.mjs +0 -1
  447. package/dist/chunks/activeProvider-1.1.31-dbrkwgfw.mjs +0 -1
  448. package/dist/chunks/add-dir-1.1.31-r6x72g59.mjs +0 -1
  449. package/dist/chunks/agentTypes-1.1.31-kb6srdzm.mjs +0 -1
  450. package/dist/chunks/agents-1.1.31-1jetdejb.mjs +0 -110
  451. package/dist/chunks/agents-1.1.31-mfr4h93c.mjs +0 -3
  452. package/dist/chunks/api-1.1.31-hp3y91t9.mjs +0 -1
  453. package/dist/chunks/asciicast-1.1.31-t0xrwnqn.mjs +0 -1
  454. package/dist/chunks/auth-1.1.31-76rswxwe.mjs +0 -1
  455. package/dist/chunks/auth-1.1.31-yhv86kw0.mjs +0 -1
  456. package/dist/chunks/autoMode-1.1.31-qma18egk.mjs +0 -52
  457. package/dist/chunks/autoModeSetup-1.1.31-egrmqsva.mjs +0 -44
  458. package/dist/chunks/autoUpdater-1.1.31-417m125q.mjs +0 -1
  459. package/dist/chunks/backgroundHousekeeping-1.1.31-e5emh88x.mjs +0 -1
  460. package/dist/chunks/branch-1.1.31-bxrg1svq.mjs +0 -4
  461. package/dist/chunks/bridge-1.1.31-1rsj352r.mjs +0 -2
  462. package/dist/chunks/bridgeConfig-1.1.31-r9vnvw71.mjs +0 -1
  463. package/dist/chunks/bridgeEnabled-1.1.31-d9mxn4g0.mjs +0 -1
  464. package/dist/chunks/bridgeMain-1.1.31-7sf093b0.mjs +0 -88
  465. package/dist/chunks/bridgePointer-1.1.31-n1t53nem.mjs +0 -1
  466. package/dist/chunks/btw-1.1.31-skw1dhb5.mjs +0 -1
  467. package/dist/chunks/buddy-1.1.31-wtmggn5p.mjs +0 -3
  468. package/dist/chunks/cache-probe-1.1.31-pgss169p.mjs +0 -21
  469. package/dist/chunks/cacheStats-1.1.31-af3nkg2b.mjs +0 -4
  470. package/dist/chunks/caches-1.1.31-yvqtsfx3.mjs +0 -1
  471. package/dist/chunks/cd-1.1.31-9t47yj0z.mjs +0 -3
  472. package/dist/chunks/claudeDesktop-1.1.31-b7a99nfq.mjs +0 -1
  473. package/dist/chunks/claudemd-1.1.31-h72v8r12.mjs +0 -1
  474. package/dist/chunks/clear-1.1.31-ndp0q9t9.mjs +0 -1
  475. package/dist/chunks/clearTerminal-1.1.31-d6d2q7kn.mjs +0 -1
  476. package/dist/chunks/cli-1.1.31-03xjvk1e.mjs +0 -3
  477. package/dist/chunks/cli-1.1.31-0fnqd3bq.mjs +0 -25
  478. package/dist/chunks/cli-1.1.31-0mmyq6jx.mjs +0 -2
  479. package/dist/chunks/cli-1.1.31-0yagz4xw.mjs +0 -2
  480. package/dist/chunks/cli-1.1.31-1192t9cm.mjs +0 -2
  481. package/dist/chunks/cli-1.1.31-13cx7z8n.mjs +0 -60
  482. package/dist/chunks/cli-1.1.31-1dv9ay7v.mjs +0 -2
  483. package/dist/chunks/cli-1.1.31-1q4btmra.mjs +0 -2
  484. package/dist/chunks/cli-1.1.31-1qw0s3a8.mjs +0 -2
  485. package/dist/chunks/cli-1.1.31-1wxttnqr.mjs +0 -2
  486. package/dist/chunks/cli-1.1.31-2csxt0x3.mjs +0 -2
  487. package/dist/chunks/cli-1.1.31-2ffqcy85.mjs +0 -2
  488. package/dist/chunks/cli-1.1.31-2j93x895.mjs +0 -24
  489. package/dist/chunks/cli-1.1.31-2mfapzkq.mjs +0 -2
  490. package/dist/chunks/cli-1.1.31-2pdbmb7w.mjs +0 -3
  491. package/dist/chunks/cli-1.1.31-2zvm1tgs.mjs +0 -2
  492. package/dist/chunks/cli-1.1.31-312b3zf6.mjs +0 -2
  493. package/dist/chunks/cli-1.1.31-32mahfs2.mjs +0 -2
  494. package/dist/chunks/cli-1.1.31-3dy87m85.mjs +0 -2
  495. package/dist/chunks/cli-1.1.31-3ehzwm1n.mjs +0 -2
  496. package/dist/chunks/cli-1.1.31-3jzsv5dy.mjs +0 -2
  497. package/dist/chunks/cli-1.1.31-3s51hvv0.mjs +0 -2
  498. package/dist/chunks/cli-1.1.31-3zy5yd1t.mjs +0 -133
  499. package/dist/chunks/cli-1.1.31-44jshpbd.mjs +0 -2
  500. package/dist/chunks/cli-1.1.31-4awnya8e.mjs +0 -2
  501. package/dist/chunks/cli-1.1.31-4cp1xkaj.mjs +0 -2
  502. package/dist/chunks/cli-1.1.31-4ja5kbt5.mjs +0 -4
  503. package/dist/chunks/cli-1.1.31-4tneme0y.mjs +0 -2
  504. package/dist/chunks/cli-1.1.31-528vtf9a.mjs +0 -2
  505. package/dist/chunks/cli-1.1.31-52wt9w8w.mjs +0 -15
  506. package/dist/chunks/cli-1.1.31-556xnzb4.mjs +0 -2
  507. package/dist/chunks/cli-1.1.31-562nqgh7.mjs +0 -2
  508. package/dist/chunks/cli-1.1.31-58anwssk.mjs +0 -2
  509. package/dist/chunks/cli-1.1.31-5ab9cpbt.mjs +0 -3
  510. package/dist/chunks/cli-1.1.31-5kgkq6vm.mjs +0 -2
  511. package/dist/chunks/cli-1.1.31-5ma2m26d.mjs +0 -2
  512. package/dist/chunks/cli-1.1.31-5tgfa7xy.mjs +0 -2
  513. package/dist/chunks/cli-1.1.31-5xd2j6e7.mjs +0 -2
  514. package/dist/chunks/cli-1.1.31-612bpjx6.mjs +0 -2
  515. package/dist/chunks/cli-1.1.31-619zan4w.mjs +0 -2
  516. package/dist/chunks/cli-1.1.31-6m1k9909.mjs +0 -2
  517. package/dist/chunks/cli-1.1.31-6pxakyvg.mjs +0 -2
  518. package/dist/chunks/cli-1.1.31-6qm466ss.mjs +0 -2
  519. package/dist/chunks/cli-1.1.31-706cv7fx.mjs +0 -2
  520. package/dist/chunks/cli-1.1.31-7692zxpg.mjs +0 -2
  521. package/dist/chunks/cli-1.1.31-774jqp88.mjs +0 -2
  522. package/dist/chunks/cli-1.1.31-777381m0.mjs +0 -34
  523. package/dist/chunks/cli-1.1.31-7hmq6k3a.mjs +0 -26
  524. package/dist/chunks/cli-1.1.31-7wdp9ve5.mjs +0 -3
  525. package/dist/chunks/cli-1.1.31-8bcb1d1y.mjs +0 -2
  526. package/dist/chunks/cli-1.1.31-8esfq0f2.mjs +0 -2
  527. package/dist/chunks/cli-1.1.31-8h9zps1d.mjs +0 -2
  528. package/dist/chunks/cli-1.1.31-8sw4prf8.mjs +0 -22
  529. package/dist/chunks/cli-1.1.31-8syj0cmx.mjs +0 -2
  530. package/dist/chunks/cli-1.1.31-9493f46x.mjs +0 -9
  531. package/dist/chunks/cli-1.1.31-978dpg39.mjs +0 -2
  532. package/dist/chunks/cli-1.1.31-9a1gsrx2.mjs +0 -24
  533. package/dist/chunks/cli-1.1.31-9adq5rjd.mjs +0 -2
  534. package/dist/chunks/cli-1.1.31-9d5v98td.mjs +0 -2
  535. package/dist/chunks/cli-1.1.31-9e4vtbvh.mjs +0 -3
  536. package/dist/chunks/cli-1.1.31-9efpx64n.mjs +0 -20
  537. package/dist/chunks/cli-1.1.31-9gf60j86.mjs +0 -2
  538. package/dist/chunks/cli-1.1.31-9gzbwjb8.mjs +0 -2
  539. package/dist/chunks/cli-1.1.31-9m6ef5kb.mjs +0 -2
  540. package/dist/chunks/cli-1.1.31-9m6gmh2w.mjs +0 -2
  541. package/dist/chunks/cli-1.1.31-9x9gaa7g.mjs +0 -2
  542. package/dist/chunks/cli-1.1.31-a4vvez04.mjs +0 -2
  543. package/dist/chunks/cli-1.1.31-a5wav9hq.mjs +0 -2
  544. package/dist/chunks/cli-1.1.31-a611zwj5.mjs +0 -10
  545. package/dist/chunks/cli-1.1.31-adnn5x8c.mjs +0 -16
  546. package/dist/chunks/cli-1.1.31-afzdmcrq.mjs +0 -2
  547. package/dist/chunks/cli-1.1.31-ahbyaapz.mjs +0 -12
  548. package/dist/chunks/cli-1.1.31-aqm3wayg.mjs +0 -2
  549. package/dist/chunks/cli-1.1.31-b2pt6rsc.mjs +0 -2
  550. package/dist/chunks/cli-1.1.31-b7258j1y.mjs +0 -2
  551. package/dist/chunks/cli-1.1.31-b8rbgfhm.mjs +0 -2
  552. package/dist/chunks/cli-1.1.31-bdt0j0zj.mjs +0 -4
  553. package/dist/chunks/cli-1.1.31-bfsa3dvr.mjs +0 -2
  554. package/dist/chunks/cli-1.1.31-bx3e5rv6.mjs +0 -3
  555. package/dist/chunks/cli-1.1.31-c17g88x0.mjs +0 -9
  556. package/dist/chunks/cli-1.1.31-c9707zjx.mjs +0 -63
  557. package/dist/chunks/cli-1.1.31-can8wyac.mjs +0 -2
  558. package/dist/chunks/cli-1.1.31-cpay8r5h.mjs +0 -2
  559. package/dist/chunks/cli-1.1.31-cpeph4zm.mjs +0 -6
  560. package/dist/chunks/cli-1.1.31-d930nxk6.mjs +0 -3
  561. package/dist/chunks/cli-1.1.31-d9sxj86f.mjs +0 -2
  562. package/dist/chunks/cli-1.1.31-dc4fq4s3.mjs +0 -2
  563. package/dist/chunks/cli-1.1.31-dctwr6q4.mjs +0 -5
  564. package/dist/chunks/cli-1.1.31-dcyx3536.mjs +0 -39
  565. package/dist/chunks/cli-1.1.31-dhecyw04.mjs +0 -3
  566. package/dist/chunks/cli-1.1.31-dmghye74.mjs +0 -4
  567. package/dist/chunks/cli-1.1.31-ek449yjc.mjs +0 -6
  568. package/dist/chunks/cli-1.1.31-emhqeb1g.mjs +0 -2
  569. package/dist/chunks/cli-1.1.31-eqfmzrxc.mjs +0 -2
  570. package/dist/chunks/cli-1.1.31-eqvc58gw.mjs +0 -2
  571. package/dist/chunks/cli-1.1.31-ewhwdszf.mjs +0 -2
  572. package/dist/chunks/cli-1.1.31-f1zfyp44.mjs +0 -2
  573. package/dist/chunks/cli-1.1.31-f2abkvxa.mjs +0 -4
  574. package/dist/chunks/cli-1.1.31-fbdr0297.mjs +0 -2
  575. package/dist/chunks/cli-1.1.31-fdjs93ba.mjs +0 -2
  576. package/dist/chunks/cli-1.1.31-fdk7yhs0.mjs +0 -2
  577. package/dist/chunks/cli-1.1.31-fjdb444f.mjs +0 -7
  578. package/dist/chunks/cli-1.1.31-fk787pkf.mjs +0 -15
  579. package/dist/chunks/cli-1.1.31-fpqqpyrw.mjs +0 -3
  580. package/dist/chunks/cli-1.1.31-fr8t4a7n.mjs +0 -2
  581. package/dist/chunks/cli-1.1.31-fy2x8k7r.mjs +0 -2
  582. package/dist/chunks/cli-1.1.31-g41zancj.mjs +0 -3
  583. package/dist/chunks/cli-1.1.31-g58b1jfa.mjs +0 -5473
  584. package/dist/chunks/cli-1.1.31-ggtvemxf.mjs +0 -2
  585. package/dist/chunks/cli-1.1.31-gk7te1jt.mjs +0 -2
  586. package/dist/chunks/cli-1.1.31-gq54djk0.mjs +0 -2
  587. package/dist/chunks/cli-1.1.31-h102y1at.mjs +0 -8
  588. package/dist/chunks/cli-1.1.31-h1sv3apa.mjs +0 -4
  589. package/dist/chunks/cli-1.1.31-h41m4yrw.mjs +0 -2
  590. package/dist/chunks/cli-1.1.31-h5a78vp8.mjs +0 -2
  591. package/dist/chunks/cli-1.1.31-hfdt80w2.mjs +0 -50
  592. package/dist/chunks/cli-1.1.31-hk88wxhm.mjs +0 -2
  593. package/dist/chunks/cli-1.1.31-hpxjvh3j.mjs +0 -3
  594. package/dist/chunks/cli-1.1.31-hvnwvzhh.mjs +0 -58
  595. package/dist/chunks/cli-1.1.31-j0fbn8aw.mjs +0 -2
  596. package/dist/chunks/cli-1.1.31-jfj1gvgy.mjs +0 -2
  597. package/dist/chunks/cli-1.1.31-jh2sb5nk.mjs +0 -42
  598. package/dist/chunks/cli-1.1.31-jnyr50hq.mjs +0 -2
  599. package/dist/chunks/cli-1.1.31-jwa8f70w.mjs +0 -2
  600. package/dist/chunks/cli-1.1.31-jyzz7q1c.mjs +0 -2
  601. package/dist/chunks/cli-1.1.31-k0zfy1nt.mjs +0 -2
  602. package/dist/chunks/cli-1.1.31-kfw3q4sp.mjs +0 -133
  603. package/dist/chunks/cli-1.1.31-kp8hq72m.mjs +0 -2
  604. package/dist/chunks/cli-1.1.31-kzh4darh.mjs +0 -2
  605. package/dist/chunks/cli-1.1.31-m5w2d13z.mjs +0 -2
  606. package/dist/chunks/cli-1.1.31-m9yqg6jg.mjs +0 -2
  607. package/dist/chunks/cli-1.1.31-mcekc48f.mjs +0 -2
  608. package/dist/chunks/cli-1.1.31-mtcbc6g3.mjs +0 -4
  609. package/dist/chunks/cli-1.1.31-n130x03f.mjs +0 -2
  610. package/dist/chunks/cli-1.1.31-n305h9qd.mjs +0 -25
  611. package/dist/chunks/cli-1.1.31-n4g6s1bz.mjs +0 -2
  612. package/dist/chunks/cli-1.1.31-n5vytp0f.mjs +0 -2
  613. package/dist/chunks/cli-1.1.31-nh2cfavp.mjs +0 -2
  614. package/dist/chunks/cli-1.1.31-njfyxwfr.mjs +0 -2
  615. package/dist/chunks/cli-1.1.31-nvecb8c6.mjs +0 -2
  616. package/dist/chunks/cli-1.1.31-nyvjx813.mjs +0 -24
  617. package/dist/chunks/cli-1.1.31-nyvz0ev8.mjs +0 -5
  618. package/dist/chunks/cli-1.1.31-p99fz46k.mjs +0 -206
  619. package/dist/chunks/cli-1.1.31-pb50hb6v.mjs +0 -12
  620. package/dist/chunks/cli-1.1.31-pg2ntz9b.mjs +0 -17
  621. package/dist/chunks/cli-1.1.31-pgde5349.mjs +0 -2
  622. package/dist/chunks/cli-1.1.31-pp98t7k8.mjs +0 -2
  623. package/dist/chunks/cli-1.1.31-ptvddvjv.mjs +0 -2
  624. package/dist/chunks/cli-1.1.31-pzz7j17y.mjs +0 -3
  625. package/dist/chunks/cli-1.1.31-q67trvk0.mjs +0 -2
  626. package/dist/chunks/cli-1.1.31-q6k8ems6.mjs +0 -21
  627. package/dist/chunks/cli-1.1.31-qj8vksz8.mjs +0 -2
  628. package/dist/chunks/cli-1.1.31-qq0sng13.mjs +0 -2
  629. package/dist/chunks/cli-1.1.31-qsftejzk.mjs +0 -2
  630. package/dist/chunks/cli-1.1.31-qv6x2hht.mjs +0 -2
  631. package/dist/chunks/cli-1.1.31-qyztdyg2.mjs +0 -2
  632. package/dist/chunks/cli-1.1.31-r5g0ns02.mjs +0 -2
  633. package/dist/chunks/cli-1.1.31-r7jps0tn.mjs +0 -3
  634. package/dist/chunks/cli-1.1.31-rqyqyvdn.mjs +0 -2
  635. package/dist/chunks/cli-1.1.31-rspa4dsq.mjs +0 -6
  636. package/dist/chunks/cli-1.1.31-rw3xn3tc.mjs +0 -4
  637. package/dist/chunks/cli-1.1.31-s1a6vw53.mjs +0 -2
  638. package/dist/chunks/cli-1.1.31-s1vgm3hb.mjs +0 -2
  639. package/dist/chunks/cli-1.1.31-s246tb6v.mjs +0 -15
  640. package/dist/chunks/cli-1.1.31-satbt91m.mjs +0 -18
  641. package/dist/chunks/cli-1.1.31-sc82f8hw.mjs +0 -6
  642. package/dist/chunks/cli-1.1.31-sn0x975f.mjs +0 -24
  643. package/dist/chunks/cli-1.1.31-sn2bmgwr.mjs +0 -2
  644. package/dist/chunks/cli-1.1.31-t2y2tkme.mjs +0 -2
  645. package/dist/chunks/cli-1.1.31-t6m64e0q.mjs +0 -6
  646. package/dist/chunks/cli-1.1.31-t96rrv1m.mjs +0 -2
  647. package/dist/chunks/cli-1.1.31-tc6xppyr.mjs +0 -2
  648. package/dist/chunks/cli-1.1.31-tctd36c8.mjs +0 -2
  649. package/dist/chunks/cli-1.1.31-thhdw5e1.mjs +0 -2
  650. package/dist/chunks/cli-1.1.31-v02fpzs5.mjs +0 -2
  651. package/dist/chunks/cli-1.1.31-v7nswcm8.mjs +0 -2
  652. package/dist/chunks/cli-1.1.31-var05xaf.mjs +0 -2
  653. package/dist/chunks/cli-1.1.31-vbch5rht.mjs +0 -2
  654. package/dist/chunks/cli-1.1.31-vf004w21.mjs +0 -2
  655. package/dist/chunks/cli-1.1.31-vhstdnfa.mjs +0 -7
  656. package/dist/chunks/cli-1.1.31-vphyv007.mjs +0 -2
  657. package/dist/chunks/cli-1.1.31-vpkbqj90.mjs +0 -4
  658. package/dist/chunks/cli-1.1.31-vr977n4j.mjs +0 -2
  659. package/dist/chunks/cli-1.1.31-w0vfcfhs.mjs +0 -2
  660. package/dist/chunks/cli-1.1.31-w225x38q.mjs +0 -2
  661. package/dist/chunks/cli-1.1.31-war7w6d7.mjs +0 -2
  662. package/dist/chunks/cli-1.1.31-wba64b2s.mjs +0 -2
  663. package/dist/chunks/cli-1.1.31-wfv9e9p4.mjs +0 -2
  664. package/dist/chunks/cli-1.1.31-wmt8ywr9.mjs +0 -2
  665. package/dist/chunks/cli-1.1.31-wnpf6e90.mjs +0 -2
  666. package/dist/chunks/cli-1.1.31-x1wr5k0p.mjs +0 -2
  667. package/dist/chunks/cli-1.1.31-x96s38b0.mjs +0 -2
  668. package/dist/chunks/cli-1.1.31-xqdypd2k.mjs +0 -6
  669. package/dist/chunks/cli-1.1.31-xv09f0k4.mjs +0 -2
  670. package/dist/chunks/cli-1.1.31-yte5f9f9.mjs +0 -45
  671. package/dist/chunks/cli-1.1.31-yz72mhbg.mjs +0 -2
  672. package/dist/chunks/cli-1.1.31-z3s1pnd3.mjs +0 -1
  673. package/dist/chunks/cli-1.1.31-z6qe8e42.mjs +0 -2
  674. package/dist/chunks/cli-1.1.31-z7hdz84q.mjs +0 -17
  675. package/dist/chunks/cli-1.1.31-zsjs5eq0.mjs +0 -2
  676. package/dist/chunks/cli-1.1.31-zvbpmw2y.mjs +0 -2
  677. package/dist/chunks/cli-1.1.31-zy7nrvt9.mjs +0 -2
  678. package/dist/chunks/cli-1.1.31-zzd4cheh.mjs +0 -2
  679. package/dist/chunks/client-1.1.31-3bn971t2.mjs +0 -1
  680. package/dist/chunks/color-1.1.31-n3q45hw4.mjs +0 -1
  681. package/dist/chunks/compact-1.1.31-zkekkcjq.mjs +0 -3
  682. package/dist/chunks/config-1.1.31-1t6yz96k.mjs +0 -1
  683. package/dist/chunks/config-1.1.31-enwx50r9.mjs +0 -1
  684. package/dist/chunks/constants-1.1.31-5peb81d1.mjs +0 -1
  685. package/dist/chunks/context-1.1.31-9crzemp8.mjs +0 -1
  686. package/dist/chunks/context-noninteractive-1.1.31-twqynyp7.mjs +0 -1
  687. package/dist/chunks/conversation-1.1.31-yw2es9kq.mjs +0 -1
  688. package/dist/chunks/copilotHeaders-1.1.31-axfr0ar5.mjs +0 -1
  689. package/dist/chunks/copy-1.1.31-y97hza01.mjs +0 -9
  690. package/dist/chunks/cost-1.1.31-wtp1fp62.mjs +0 -1
  691. package/dist/chunks/createSSHSession-1.1.31-tsfe2dea.mjs +0 -1
  692. package/dist/chunks/createSession-1.1.31-pddv01ds.mjs +0 -1
  693. package/dist/chunks/debug-1.1.31-5awffxcd.mjs +0 -1
  694. package/dist/chunks/defaultActionDeps-1.1.31-6a742vb3.mjs +0 -1480
  695. package/dist/chunks/desktop-1.1.31-zq54hfwy.mjs +0 -2
  696. package/dist/chunks/detectRepository-1.1.31-s6pe6c1x.mjs +0 -1
  697. package/dist/chunks/detection-1.1.31-zss1hfbq.mjs +0 -1
  698. package/dist/chunks/diff-1.1.31-ksj17xmk.mjs +0 -1
  699. package/dist/chunks/doctor-1.1.31-v4djfk2w.mjs +0 -1
  700. package/dist/chunks/doctorDiagnostic-1.1.31-gs3rsn7y.mjs +0 -1
  701. package/dist/chunks/earlyInput-1.1.31-s1vpzgtx.mjs +0 -1
  702. package/dist/chunks/effort-1.1.31-6z9vjdd8.mjs +0 -13
  703. package/dist/chunks/engine-1.1.31-rv1fs549.mjs +0 -1
  704. package/dist/chunks/envLessBridgeConfig-1.1.31-5p5f4zyz.mjs +0 -1
  705. package/dist/chunks/envUtils-1.1.31-ntcm9cr0.mjs +0 -1
  706. package/dist/chunks/environmentSelection-1.1.31-hh2weytc.mjs +0 -1
  707. package/dist/chunks/environments-1.1.31-yvgyx900.mjs +0 -1
  708. package/dist/chunks/errors-1.1.31-n434b94a.mjs +0 -1
  709. package/dist/chunks/exampleCommands-1.1.31-gntd6p22.mjs +0 -1
  710. package/dist/chunks/execFileNoThrow-1.1.31-s2n0jxqw.mjs +0 -1
  711. package/dist/chunks/exit-1.1.31-rgrjhztt.mjs +0 -1
  712. package/dist/chunks/explorer-1.1.31-cyken2c0.mjs +0 -1
  713. package/dist/chunks/export-1.1.31-nmjy9qp1.mjs +0 -2
  714. package/dist/chunks/fast-1.1.31-58c4aeze.mjs +0 -1
  715. package/dist/chunks/feedback-1.1.31-m0vj61dd.mjs +0 -16
  716. package/dist/chunks/git-1.1.31-9ytjvad9.mjs +0 -1
  717. package/dist/chunks/githubModelsCredentials-1.1.31-7pk651pz.mjs +0 -1
  718. package/dist/chunks/goal-1.1.31-2a9eh1dv.mjs +0 -4
  719. package/dist/chunks/headless-1.1.31-btcvy308.mjs +0 -2
  720. package/dist/chunks/heapdump-1.1.31-3d2namke.mjs +0 -6
  721. package/dist/chunks/help-1.1.31-sewrb4nb.mjs +0 -1
  722. package/dist/chunks/hookChains-1.1.31-72mrrs9j.mjs +0 -3
  723. package/dist/chunks/hooks-1.1.31-0gf2fwcn.mjs +0 -1
  724. package/dist/chunks/hooks-1.1.31-t1v6dwz6.mjs +0 -79
  725. package/dist/chunks/ide-1.1.31-rfvpxf98.mjs +0 -3
  726. package/dist/chunks/image-processor-napi-1.1.31-6m3111th.mjs +0 -1
  727. package/dist/chunks/import-1.1.31-n4khxgen.mjs +0 -261
  728. package/dist/chunks/inboundAttachments-1.1.31-js74nw49.mjs +0 -1
  729. package/dist/chunks/index-1.1.31-1d2w0stv.mjs +0 -1
  730. package/dist/chunks/index-1.1.31-7xyvb71n.mjs +0 -1
  731. package/dist/chunks/index-1.1.31-b35axgfq.mjs +0 -1
  732. package/dist/chunks/index-1.1.31-bb3ds6px.mjs +0 -5
  733. package/dist/chunks/index-1.1.31-d8kmfk8g.mjs +0 -1
  734. package/dist/chunks/index-1.1.31-djqjbcj1.mjs +0 -1
  735. package/dist/chunks/index-1.1.31-fbcpgjqr.mjs +0 -1
  736. package/dist/chunks/index-1.1.31-fzj8sx04.mjs +0 -1
  737. package/dist/chunks/index-1.1.31-h4jmtajm.mjs +0 -9
  738. package/dist/chunks/index-1.1.31-hxatxhrm.mjs +0 -1
  739. package/dist/chunks/index-1.1.31-jjp83m1j.mjs +0 -1
  740. package/dist/chunks/index-1.1.31-jk9pvxkr.mjs +0 -1
  741. package/dist/chunks/index-1.1.31-jy33bsc3.mjs +0 -2
  742. package/dist/chunks/index-1.1.31-kdnrzq4a.mjs +0 -1
  743. package/dist/chunks/index-1.1.31-kv3bfsq2.mjs +0 -23
  744. package/dist/chunks/index-1.1.31-mxjtqbfj.mjs +0 -1
  745. package/dist/chunks/index-1.1.31-p8xpgawg.mjs +0 -1
  746. package/dist/chunks/index-1.1.31-phw15bz8.mjs +0 -1
  747. package/dist/chunks/index-1.1.31-pr2zcv22.mjs +0 -30
  748. package/dist/chunks/index-1.1.31-q75y58jp.mjs +0 -2
  749. package/dist/chunks/index-1.1.31-qhsyqcg4.mjs +0 -1
  750. package/dist/chunks/index-1.1.31-tzvhzkcd.mjs +0 -1
  751. package/dist/chunks/index-1.1.31-wgdk68t3.mjs +0 -9
  752. package/dist/chunks/init-1.1.31-4ayzds5h.mjs +0 -2
  753. package/dist/chunks/initReplBridge-1.1.31-ebns690c.mjs +0 -1
  754. package/dist/chunks/ink-1.1.31-rx0229yp.mjs +0 -1
  755. package/dist/chunks/insights-1.1.31-t8z4k64x.mjs +0 -870
  756. package/dist/chunks/install-1.1.31-fvw0rbqj.mjs +0 -1
  757. package/dist/chunks/install-github-app-1.1.31-zmtxtda9.mjs +0 -149
  758. package/dist/chunks/install-slack-app-1.1.31-j04t1paw.mjs +0 -1
  759. package/dist/chunks/interactiveHelpers-1.1.31-xq2br8z8.mjs +0 -1
  760. package/dist/chunks/keybindings-1.1.31-a0dfh2gb.mjs +0 -2
  761. package/dist/chunks/knowledge-1.1.31-g087p4dy.mjs +0 -2
  762. package/dist/chunks/latestVersionCache-1.1.31-vyesmh7x.mjs +0 -1
  763. package/dist/chunks/loadAgentsDir-1.1.31-39mbd67g.mjs +0 -1
  764. package/dist/chunks/loadPluginHooks-1.1.31-7pnfkxj8.mjs +0 -1
  765. package/dist/chunks/log-1.1.31-75wjvmg7.mjs +0 -1
  766. package/dist/chunks/main-1.1.31-htavj2vh.mjs +0 -1
  767. package/dist/chunks/managedEnv-1.1.31-3t5j20s3.mjs +0 -1
  768. package/dist/chunks/mcp-1.1.31-g8q13cfk.mjs +0 -1
  769. package/dist/chunks/mcp-1.1.31-gnbrx51d.mjs +0 -17
  770. package/dist/chunks/mcp-1.1.31-tb2yw0fm.mjs +0 -4
  771. package/dist/chunks/mcpb-1.1.31-an4y7m57.mjs +0 -1
  772. package/dist/chunks/memory-1.1.31-6ebsap62.mjs +0 -77
  773. package/dist/chunks/model-1.1.31-dfs178qb.mjs +0 -1
  774. package/dist/chunks/model-1.1.31-yjsxjv0f.mjs +0 -2
  775. package/dist/chunks/node-1.1.31-4gqzhhpj.mjs +0 -15
  776. package/dist/chunks/node-1.1.31-bknsrjhq.mjs +0 -1
  777. package/dist/chunks/oauth-1.1.31-0dfgbykp.mjs +0 -1
  778. package/dist/chunks/openaiShim-1.1.31-bx5cgqc0.mjs +0 -14
  779. package/dist/chunks/output-style-1.1.31-fqg3pscb.mjs +0 -1
  780. package/dist/chunks/package-D2QZMRW7-1.1.31-tbwnz9re.mjs +0 -1
  781. package/dist/chunks/parseConnectUrl-1.1.31-htt07xve.mjs +0 -1
  782. package/dist/chunks/parser-1.1.31-22dqq9cd.mjs +0 -1
  783. package/dist/chunks/permissions-1.1.31-2jt71rmf.mjs +0 -1
  784. package/dist/chunks/permissions-1.1.31-8eevgx6v.mjs +0 -3
  785. package/dist/chunks/plan-1.1.31-sgds3thc.mjs +0 -1
  786. package/dist/chunks/plist-1.1.31-50ff60z2.mjs +0 -1
  787. package/dist/chunks/plugin-1.1.31-j5n91qc0.mjs +0 -29
  788. package/dist/chunks/pluginStartupCheck-1.1.31-28rvz0zj.mjs +0 -1
  789. package/dist/chunks/plugins-1.1.31-cq05wg0h.mjs +0 -9
  790. package/dist/chunks/preActionHook-1.1.31-xmrm67ge.mjs +0 -2
  791. package/dist/chunks/print-1.1.31-4n5d0cdk.mjs +0 -57
  792. package/dist/chunks/process-1.1.31-7c3jtep7.mjs +0 -1
  793. package/dist/chunks/processBashCommand-1.1.31-ycb3ehgr.mjs +0 -1
  794. package/dist/chunks/processSlashCommand-1.1.31-0bwjc7n4.mjs +0 -9
  795. package/dist/chunks/prompt-1.1.31-1krmkgep.mjs +0 -1
  796. package/dist/chunks/prompt-1.1.31-vsft6hz3.mjs +0 -1
  797. package/dist/chunks/prompts-1.1.31-jp2k44tp.mjs +0 -1
  798. package/dist/chunks/protocolHandler-1.1.31-yc5dejjn.mjs +0 -13
  799. package/dist/chunks/provider-1.1.31-sba30ytt.mjs +0 -2
  800. package/dist/chunks/providerProfiles-1.1.31-8g3p4ntd.mjs +0 -1
  801. package/dist/chunks/providerValidation-1.1.31-rnj0xtqw.mjs +0 -6
  802. package/dist/chunks/registerSubcommands-1.1.31-rtx2e9wp.mjs +0 -26
  803. package/dist/chunks/registry-1.1.31-ecyhakd2.mjs +0 -1
  804. package/dist/chunks/release-notes-1.1.31-gf017wax.mjs +0 -5
  805. package/dist/chunks/reload-plugins-1.1.31-de7agwmx.mjs +0 -2
  806. package/dist/chunks/remote-env-1.1.31-x3aaeh2d.mjs +0 -1
  807. package/dist/chunks/remoteBridgeCore-1.1.31-37k3bw33.mjs +0 -1
  808. package/dist/chunks/remoteSession-1.1.31-tkas2k4z.mjs +0 -1
  809. package/dist/chunks/rename-1.1.31-4q58stc8.mjs +0 -1
  810. package/dist/chunks/replBridgeHandle-1.1.31-64getkgv.mjs +0 -1
  811. package/dist/chunks/replLauncher-1.1.31-0n74v295.mjs +0 -1
  812. package/dist/chunks/resume-1.1.31-btzfzzf4.mjs +0 -2
  813. package/dist/chunks/rewind-1.1.31-9m2a508m.mjs +0 -1
  814. package/dist/chunks/rootOptions-1.1.31-bftj813f.mjs +0 -1
  815. package/dist/chunks/runWorkflowHeadless-1.1.31-tra2r0dx.mjs +0 -10
  816. package/dist/chunks/sandbox-adapter-1.1.31-6nyy2rag.mjs +0 -1
  817. package/dist/chunks/sandbox-toggle-1.1.31-h1n35f5k.mjs +0 -1
  818. package/dist/chunks/session-1.1.31-xb800b9s.mjs +0 -2
  819. package/dist/chunks/sessionFileAccessHooks-1.1.31-gkkyesrj.mjs +0 -1
  820. package/dist/chunks/sessionStorage-1.1.31-s7gez2t6.mjs +0 -1
  821. package/dist/chunks/settings-1.1.31-w7zfpg83.mjs +0 -1
  822. package/dist/chunks/setup-1.1.31-b6kjgetf.mjs +0 -12
  823. package/dist/chunks/sinks-1.1.31-g9n7r1nh.mjs +0 -1
  824. package/dist/chunks/skills-1.1.31-ag9r3asv.mjs +0 -1
  825. package/dist/chunks/startupProfiler-1.1.31-h19httmy.mjs +0 -1
  826. package/dist/chunks/startupUpdateCheck-1.1.31-f3g7de65.mjs +0 -1
  827. package/dist/chunks/state-1.1.31-tbc1c6c2.mjs +0 -1
  828. package/dist/chunks/stats-1.1.31-71xjrkax.mjs +0 -1
  829. package/dist/chunks/status-1.1.31-n65g11nc.mjs +0 -1
  830. package/dist/chunks/stickers-1.1.31-eze0atpf.mjs +0 -1
  831. package/dist/chunks/subprocessEnv-1.1.31-r788gbdf.mjs +0 -1
  832. package/dist/chunks/tasks-1.1.31-tbc0x51m.mjs +0 -1
  833. package/dist/chunks/teamHelpers-1.1.31-yt18sjr2.mjs +0 -1
  834. package/dist/chunks/teammateModeSnapshot-1.1.31-f3bgkc7m.mjs +0 -1
  835. package/dist/chunks/teleport-1.1.31-4mvcqr5j.mjs +0 -1
  836. package/dist/chunks/terminalSetup-1.1.31-y574v0gj.mjs +0 -1
  837. package/dist/chunks/theme-1.1.31-2nth8fxb.mjs +0 -1
  838. package/dist/chunks/thinkback-1.1.31-yt5309kx.mjs +0 -1
  839. package/dist/chunks/thinkback-play-1.1.31-n61vtr8q.mjs +0 -1
  840. package/dist/chunks/toolPool-1.1.31-2wrjcf13.mjs +0 -1
  841. package/dist/chunks/toolSearch-1.1.31-vr7hen30.mjs +0 -1
  842. package/dist/chunks/tools-1.1.31-xgrxwk7j.mjs +0 -1
  843. package/dist/chunks/trustedDevice-1.1.31-ad2f2kvj.mjs +0 -1
  844. package/dist/chunks/turndown.cjs-1.1.31-mtgg85tg.mjs +0 -69
  845. package/dist/chunks/types-1.1.31-ery244ea.mjs +0 -1
  846. package/dist/chunks/ultrareviewCommand-1.1.31-fs3fn2qp.mjs +0 -4
  847. package/dist/chunks/update-1.1.31-j79f7es2.mjs +0 -72
  848. package/dist/chunks/upload-1.1.31-ehqzz7x7.mjs +0 -7
  849. package/dist/chunks/upstreamproxy-1.1.31-z70ctdj3.mjs +0 -14
  850. package/dist/chunks/url-handler-napi-1.1.31-e0hbcnyw.mjs +0 -1
  851. package/dist/chunks/usage-1.1.31-qgmy1ktr.mjs +0 -1
  852. package/dist/chunks/util-1.1.31-jy81jvt3.mjs +0 -1
  853. package/dist/chunks/utils-1.1.31-3jpj59nn.mjs +0 -1
  854. package/dist/chunks/vim-1.1.31-wbbckx93.mjs +0 -1
  855. package/dist/chunks/watchLoop-1.1.31-v994wq2d.mjs +0 -13
  856. package/dist/chunks/watcher-1.1.31-zr0darq0.mjs +0 -1
  857. package/dist/chunks/wiki-1.1.31-7gcn31zm.mjs +0 -132
  858. package/dist/chunks/workflows-1.1.31-ek8twhyg.mjs +0 -1
  859. package/dist/chunks/worktree-1.1.31-krxr11er.mjs +0 -1
  860. package/dist/chunks/worktreeModeEnabled-1.1.31-m3t752mj.mjs +0 -1
  861. package/dist/chunks/wrapper-1.1.31-037s1v4h.mjs +0 -7
@@ -0,0 +1,2 @@
1
+ import{Bo as h,Do as Oq,Eo as n,Go as Wq,ro as M,vo as qq}from"./cli-1.1.32-9yka8m9x.mjs";import{b9 as f,t9 as r}from"./cli-1.1.32-g5dzf2w1.mjs";import{Dga as e,Oca as c,Qca as d,Tca as g,Uca as u,Zca as Vq,yga as S}from"./cli-1.1.32-pve0ffcp.mjs";import{Lha as m,Mha as Uq}from"./cli-1.1.32-kn0zs89y.mjs";import{Dja as U,Gja as t,gja as y,hja as R,lja as P,pja as L,tja as T}from"./cli-1.1.32-8jkgzjh4.mjs";import{bka as V,cka as O,dka as D,ika as _}from"./cli-1.1.32-z7x4jfeb.mjs";import{Wqa as N}from"./cli-1.1.32-yw64r19c.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 Gc,a as Hc,dq as Ic,gq as Jc,Hq as Kc,tq as Lc,rq as Mc,wq as Nc};
@@ -0,0 +1,2 @@
1
+ import{$A as c,Am as Qq,Ax as Yq,Dx as S,Ex as Zq,Fx as p,Gx as $q,HN as h,Hx as V,IN as a,Ix as zq,KN as Iq,Lx as u,Mx as Wq,YA as g,_j as H,aB as _q,ak as Jq,dB as T,eB as Vq,nF as r,wx as m,xx as Xq,yx as d,zF as Fq,zm as w}from"./cli-1.1.32-9yka8m9x.mjs";import{LY as Nq,WW as v,XW as y,YW as j,cY as J,eY as N}from"./cli-1.1.32-hgjgfp8p.mjs";import{m2 as _,n2 as q,o2 as G,p2 as b}from"./cli-1.1.32-jjanec91.mjs";import{q2 as Lq}from"./cli-1.1.32-6f9r9qcb.mjs";import{dea as B,tea as Gq}from"./cli-1.1.32-pve0ffcp.mjs";import{Sqa as e,Wqa as qq}from"./cli-1.1.32-yw64r19c.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[K]=v(),U=y(),{columns:i}=w(),Y=Q.useMemo(()=>g(),[]),Z=Y===null?c(K):null,{setPreviewTheme:k,savePreview:M,cancelPreview:R}=j(),z=h((L)=>L.settings.syntaxHighlightingDisabled??!1),f=a();m("ThemePicker",!0);let W=p("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),l=Q.useCallback(()=>{if(Y===null){let L=!z;B("userSettings",{syntaxHighlightingDisabled:L}),f((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,f]);d("theme:toggleSyntaxHighlighting",l,{context:"ThemePicker"});let D=S($?()=>{}:void 0),E=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{k(L)},[k]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else H(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDIN_SYNTAX_HIGHLIGHT=${process.env.CLAUDIN_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(r,{options:E,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:E.length,defaultValue:U,defaultFocusValue:U})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Oq,{patch:Aq,dim:!1,filePath:"demo.js",firstLine:null,width:i})},K),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:D.pending?G(_,{children:["Press ",D.keyName," again to exit"]}):G(u,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Oq,Aq;var Kq=qq(()=>{Zq();Qq();Nq();Xq();Yq();$q();Iq();Jq();Gq();Fq();Wq();zq();_q();Vq();b();Q=e(Lq(),1),Oq=T,Aq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
2
+ export{mq as th,Kq as uh};
@@ -0,0 +1,2 @@
1
+ import{Wqa as o}from"./cli-1.1.32-yw64r19c.mjs";var t=3,n=1,i=32,_="generativelanguage.googleapis.com",s,c="api.kimi.com",p="opencode.ai",r,a,E,S;var e=o(()=>{s=new Set(["api.moonshot.ai","api.moonshot.cn"]),r=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),a=new Set(["api.deepseek.com"]),E={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},S=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
2
+ export{t as y7,n as z7,i as A7,_ as B7,s as C7,c as D7,p as E7,r as F7,a as G7,E as H7,S as I7,e as J7};
@@ -0,0 +1,2 @@
1
+ import{$pa as G1,Ipa as nQ,Jpa as H8,Kpa as d,Lpa as g1,Mpa as F5,Npa as RY,Opa as q,Ppa as A,Qpa as m,Rpa as bQ,Spa as P,Tpa as Q1,Upa as Q$,Vpa as J7,Wpa as E5,Xpa as vY,Ypa as v,Zpa as iY,_pa as C,aqa as y,bqa as VQ,cqa as a,dqa as MQ,eqa as X$,fqa as B7}from"./cli-1.1.32-hbwke9cs.mjs";import{Vqa as K5,Wqa as X}from"./cli-1.1.32-yw64r19c.mjs";import{randomUUID as s}from"crypto";var I1=()=>{};import{realpathSync as HQ}from"fs";import{cwd as t$}from"process";function e$(Q){return _1.add(Q),()=>_1.delete(Q)}function QJ(){g()}function g(){for(let Q of _1)try{Q()}catch{}}function k1(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof HQ==="function"){let Y=t$();try{Q=HQ(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],statsStore:null,sessionId:s(),parentSessionId:void 0,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}var _1,$;var V=X(()=>{I1();_1=new Set;$=k1()});function $J(){return $.systemPromptSectionCache}function JJ(Q,J){$.systemPromptSectionCache.set(Q,J)}function YJ(){$.systemPromptSectionCache.clear()}function ZJ(){return $.lastEmittedDate}function XJ(Q){$.lastEmittedDate=Q}function HJ(){return $.additionalDirectoriesForClaudeMd}function WJ(Q){$.additionalDirectoriesForClaudeMd=Q}function xJ(){return $.allowedChannels}function UJ(Q){$.allowedChannels=Q,g()}function KJ(){return $.hasDevChannels}function GJ(Q){$.hasDevChannels=Q}function BJ(){return $.largeSystemPromptDetected}function NJ(Q){$.largeSystemPromptDetected=Q}function wJ(){return $.afkModeHeaderLatched}function zJ(Q){$.afkModeHeaderLatched=Q}function FJ(){return $.fastModeHeaderLatched}function RJ(Q){$.fastModeHeaderLatched=Q}function qJ(){return $.thinkingClearLatched}function DJ(Q){$.thinkingClearLatched=Q}function OJ(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function VJ(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function MJ(){return $.deferredDeltaLegacySession}function LJ(Q){$.deferredDeltaLegacySession=Q}function E1(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function PJ(){return $.sessionEpochMs}function fJ(){return $.promptId}function CJ(Q){$.promptId=Q}function IJ(){return!1}function _J(){return null}var v1=X(()=>{V()});function WQ(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var xQ=()=>{};function kJ(){return $.sessionId}function EJ(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=s(),$.sessionProjectDir=null,KQ($.sessionId),$.sessionId}function vJ(){return $.parentSessionId}function gJ(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,KQ(Q)}function KQ(Q){$.pendingSessionWakeup=null,E1(),$.sessionEpochMs=Date.now(),UQ.emit(Q)}function yJ(){return $.sessionProjectDir}var UQ,dJ;var GQ=X(()=>{I1();v1();V();xQ();UQ=WQ();dJ=UQ.subscribe});function SJ(){return $.originalCwd}function pJ(){return $.projectRoot}function AJ(Q){$.originalCwd=Q.normalize("NFC")}function mJ(Q){$.projectRoot=Q.normalize("NFC")}function hJ(){return $.cwd}function jJ(Q){$.cwd=Q.normalize("NFC")}function nJ(){return $.directConnectServerUrl}function bJ(Q){$.directConnectServerUrl=Q}var BQ=X(()=>{V()});function iJ(){this.__data__=new d,this.size=0}var NQ;var wQ=X(()=>{g1();NQ=iJ});function uJ(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var zQ;var FQ=X(()=>{zQ=uJ});function TJ(Q){return this.__data__.get(Q)}var RQ;var qQ=X(()=>{RQ=TJ});function lJ(Q){return this.__data__.has(Q)}var DQ;var OQ=X(()=>{DQ=lJ});function rJ(Q,J){var Y=this.__data__;if(Y instanceof d){var Z=Y.__data__;if(!y||Z.length<cJ-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new a(Z)}return Y.set(Q,J),this.size=Y.size,this}var cJ=200,LQ;var PQ=X(()=>{g1();VQ();MQ();LQ=rJ});function S(Q){var J=this.__data__=new d(Q);this.size=J.size}var p;var d1=X(()=>{g1();wQ();FQ();qQ();OQ();PQ();S.prototype.clear=NQ;S.prototype.delete=zQ;S.prototype.get=RQ;S.prototype.has=DQ;S.prototype.set=LQ;p=S});function sJ(Q){return this.__data__.set(Q,oJ),this}var oJ="__lodash_hash_undefined__",fQ;var CQ=X(()=>{fQ=sJ});function aJ(Q){return this.__data__.has(Q)}var IQ;var _Q=X(()=>{IQ=aJ});function t(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new a;while(++J<Y)this.add(Q[J])}var kQ;var EQ=X(()=>{MQ();CQ();_Q();t.prototype.add=t.prototype.push=fQ;t.prototype.has=IQ;kQ=t});function tJ(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var vQ;var gQ=X(()=>{vQ=tJ});function eJ(Q,J){return Q.has(J)}var dQ;var yQ=X(()=>{dQ=eJ});function J8(Q,J,Y,Z,H,W){var x=Y&Q8,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,M=Y&$8?new kQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(M){if(!vQ(J,function(_,k){if(!dQ(M,k)&&(R===_||H(R,_,Y,Z,W)))return M.push(k)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var Q8=1,$8=2,e;var y1=X(()=>{EQ();gQ();yQ();e=J8});var Y8,S1;var SQ=X(()=>{A();Y8=q.Uint8Array,S1=Y8});function Z8(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var pQ;var AQ=X(()=>{pQ=Z8});function X8(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var mQ;var hQ=X(()=>{mQ=X8});function O8(Q,J,Y,Z,H,W,x){switch(Y){case D8:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case q8:if(Q.byteLength!=J.byteLength||!W(new S1(Q),new S1(J)))return!1;return!0;case U8:case K8:case N8:return nQ(+Q,+J);case G8:return Q.name==J.name&&Q.message==J.message;case w8:case F8:return Q==J+"";case B8:var U=pQ;case z8:var B=Z&W8;if(U||(U=mQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=x8,x.set(Q,J);var F=e(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case R8:if(p1)return p1.call(Q)==p1.call(J)}return!1}var W8=1,x8=2,U8="[object Boolean]",K8="[object Date]",G8="[object Error]",B8="[object Map]",N8="[object Number]",w8="[object RegExp]",z8="[object Set]",F8="[object String]",R8="[object Symbol]",q8="[object ArrayBuffer]",D8="[object DataView]",jQ,p1,iQ;var uQ=X(()=>{bQ();SQ();H8();y1();AQ();hQ();jQ=m?m.prototype:void 0,p1=jQ?jQ.valueOf:void 0;iQ=O8});function V8(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var TQ;var lQ=X(()=>{TQ=V8});var M8,w;var L=X(()=>{M8=Array.isArray,w=M8});function L8(Q,J,Y){var Z=J(Q);return w(Q)?Z:TQ(Z,Y(Q))}var cQ;var rQ=X(()=>{lQ();L();cQ=L8});function P8(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var oQ;var sQ=X(()=>{oQ=P8});function f8(){return[]}var aQ;var tQ=X(()=>{aQ=f8});var C8,I8,eQ,_8,Q5;var $5=X(()=>{sQ();tQ();C8=Object.prototype,I8=C8.propertyIsEnumerable,eQ=Object.getOwnPropertySymbols,_8=!eQ?aQ:function(Q){if(Q==null)return[];return Q=Object(Q),oQ(eQ(Q),function(J){return I8.call(Q,J)})},Q5=_8});function k8(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var J5;var Y5=X(()=>{J5=k8});function E8(Q){return Q!=null&&typeof Q=="object"}var O;var h=X(()=>{O=E8});function g8(Q){return O(Q)&&P(Q)==v8}var v8="[object Arguments]",A1;var Z5=X(()=>{Q1();h();A1=g8});var X5,d8,y8,S8,$1;var m1=X(()=>{Z5();h();X5=Object.prototype,d8=X5.hasOwnProperty,y8=X5.propertyIsEnumerable,S8=A1(function(){return arguments}())?A1:function(Q){return O(Q)&&d8.call(Q,"callee")&&!y8.call(Q,"callee")},$1=S8});function p8(){return!1}var H5;var W5=X(()=>{H5=p8});var Y1={};K5(Y1,{default:()=>j});var G5,x5,A8,U5,m8,h8,j;var h1=X(()=>{A();W5();G5=typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,x5=G5&&typeof J1=="object"&&J1&&!J1.nodeType&&J1,A8=x5&&x5.exports===G5,U5=A8?q.Buffer:void 0,m8=U5?U5.isBuffer:void 0,h8=m8||H5,j=h8});function b8(Q,J){var Y=typeof Q;return J=J==null?j8:J,!!J&&(Y=="number"||Y!="symbol"&&n8.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var j8=9007199254740991,n8,Z1;var j1=X(()=>{n8=/^(?:0|[1-9]\d*)$/;Z1=b8});function u8(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=i8}var i8=9007199254740991,n;var X1=X(()=>{n=u8});function zY(Q){return O(Q)&&n(Q.length)&&!!G[P(Q)]}var T8="[object Arguments]",l8="[object Array]",c8="[object Boolean]",r8="[object Date]",o8="[object Error]",s8="[object Function]",a8="[object Map]",t8="[object Number]",e8="[object Object]",QY="[object RegExp]",$Y="[object Set]",JY="[object String]",YY="[object WeakMap]",ZY="[object ArrayBuffer]",XY="[object DataView]",HY="[object Float32Array]",WY="[object Float64Array]",xY="[object Int8Array]",UY="[object Int16Array]",KY="[object Int32Array]",GY="[object Uint8Array]",BY="[object Uint8ClampedArray]",NY="[object Uint16Array]",wY="[object Uint32Array]",G,B5;var N5=X(()=>{Q1();X1();h();G={};G[HY]=G[WY]=G[xY]=G[UY]=G[KY]=G[GY]=G[BY]=G[NY]=G[wY]=!0;G[T8]=G[l8]=G[ZY]=G[c8]=G[XY]=G[r8]=G[o8]=G[s8]=G[a8]=G[t8]=G[e8]=G[QY]=G[$Y]=G[JY]=G[YY]=!1;B5=zY});function FY(Q){return function(J){return Q(J)}}var w5;var z5=X(()=>{w5=FY});var W1={};K5(W1,{default:()=>x1});var R5,T,qY,n1,DY,x1;var q5=X(()=>{RY();R5=typeof W1=="object"&&W1&&!W1.nodeType&&W1,T=R5&&typeof H1=="object"&&H1&&!H1.nodeType&&H1,qY=T&&T.exports===R5,n1=qY&&F5.process,DY=function(){try{var Q=T&&T.require&&T.require("util").types;if(Q)return Q;return n1&&n1.binding&&n1.binding("util")}catch(J){}}(),x1=DY});var D5,OY,U1;var b1=X(()=>{N5();z5();q5();D5=x1&&x1.isTypedArray,OY=D5?w5(D5):B5,U1=OY});function LY(Q,J){var Y=w(Q),Z=!Y&&$1(Q),H=!Y&&!Z&&j(Q),W=!Y&&!Z&&!H&&U1(Q),x=Y||Z||H||W,U=x?J5(Q.length,String):[],B=U.length;for(var K in Q)if((J||MY.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||Z1(K,B))))U.push(K);return U}var VY,MY,O5;var V5=X(()=>{Y5();m1();L();h1();j1();b1();VY=Object.prototype,MY=VY.hasOwnProperty;O5=LY});function fY(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||PY;return Q===Y}var PY,M5;var L5=X(()=>{PY=Object.prototype;M5=fY});function CY(Q,J){return function(Y){return Q(J(Y))}}var P5;var f5=X(()=>{P5=CY});var IY,C5;var I5=X(()=>{f5();IY=P5(Object.keys,Object),C5=IY});function EY(Q){if(!M5(Q))return C5(Q);var J=[];for(var Y in Object(Q))if(kY.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var _Y,kY,_5;var k5=X(()=>{L5();I5();_Y=Object.prototype,kY=_Y.hasOwnProperty;_5=EY});function gY(Q){return Q!=null&&n(Q.length)&&!E5(Q)}var v5;var g5=X(()=>{vY();X1();v5=gY});function dY(Q){return v5(Q)?O5(Q):_5(Q)}var K1;var i1=X(()=>{V5();k5();g5();K1=dY});function yY(Q){return cQ(Q,K1,Q5)}var u1;var d5=X(()=>{rQ();$5();i1();u1=yY});function mY(Q,J,Y,Z,H,W){var x=Y&SY,U=u1(Q),B=U.length,K=u1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:AY.call(J,N)))return!1}var M=W.get(Q),R=W.get(J);if(M&&R)return M==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var _=Q[N],k=J[N];if(Z)var XQ=x?Z(k,_,N,J,Q,W):Z(_,k,N,Q,J,W);if(!(XQ===void 0?_===k||H(_,k,Y,Z,W):XQ)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var r=Q.constructor,o=J.constructor;if(r!=o&&(("constructor"in Q)&&("constructor"in J))&&!(typeof r=="function"&&r instanceof r&&typeof o=="function"&&o instanceof o))D=!1}return W.delete(Q),W.delete(J),D}var SY=1,pY,AY,y5;var S5=X(()=>{d5();pY=Object.prototype,AY=pY.hasOwnProperty;y5=mY});var hY,B1;var p5=X(()=>{G1();A();hY=C(q,"DataView"),B1=hY});var jY,N1;var A5=X(()=>{G1();A();jY=C(q,"Promise"),N1=jY});var nY,w1;var m5=X(()=>{G1();A();nY=C(q,"Set"),w1=nY});var bY,z1;var h5=X(()=>{G1();A();bY=C(q,"WeakMap"),z1=bY});var j5="[object Map]",uY="[object Object]",n5="[object Promise]",b5="[object Set]",i5="[object WeakMap]",u5="[object DataView]",TY,lY,cY,rY,oY,E,T1;var T5=X(()=>{p5();VQ();A5();m5();h5();Q1();iY();TY=v(B1),lY=v(y),cY=v(N1),rY=v(w1),oY=v(z1),E=P;if(B1&&E(new B1(new ArrayBuffer(1)))!=u5||y&&E(new y)!=j5||N1&&E(N1.resolve())!=n5||w1&&E(new w1)!=b5||z1&&E(new z1)!=i5)E=function(Q){var J=P(Q),Y=J==uY?Q.constructor:void 0,Z=Y?v(Y):"";if(Z)switch(Z){case TY:return u5;case lY:return j5;case cY:return n5;case rY:return b5;case oY:return i5}return J};T1=E});function tY(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?c5:T1(Q),K=U?c5:T1(J);B=B==l5?F1:B,K=K==l5?F1:K;var F=B==F1,z=K==F1,N=B==K;if(N&&j(Q)){if(!j(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||U1(Q)?e(Q,J,Y,Z,H,W):iQ(Q,J,B,Y,Z,H,W);if(!(Y&sY)){var M=F&&r5.call(Q,"__wrapped__"),R=z&&r5.call(J,"__wrapped__");if(M||R){var D=M?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),y5(Q,J,Y,Z,H,W)}var sY=1,l5="[object Arguments]",c5="[object Array]",F1="[object Object]",aY,r5,o5;var s5=X(()=>{d1();y1();uQ();S5();T5();L();h1();b1();aY=Object.prototype,r5=aY.hasOwnProperty;o5=tY});function a5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return o5(Q,J,Y,Z,a5,H)}var R1;var l1=X(()=>{s5();h();R1=a5});function $7(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?R1(F,K,eY|Q7,Z,z):N))return!1}}return!0}var eY=1,Q7=2,t5;var e5=X(()=>{d1();l1();t5=$7});function Y7(Q){return Q===Q&&!Q$(Q)}var q1;var c1=X(()=>{J7();q1=Y7});function Z7(Q){var J=K1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,q1(H)]}return J}var $$;var J$=X(()=>{c1();i1();$$=Z7});function X7(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var D1;var r1=X(()=>{D1=X7});function H7(Q){var J=$$(Q);if(J.length==1&&J[0][2])return D1(J[0][0],J[0][1]);return function(Y){return Y===Q||t5(Y,Q,J)}}var Y$;var Z$=X(()=>{e5();J$();r1();Y$=H7});function x7(Q){return typeof Q=="symbol"||O(Q)&&P(Q)==W7}var W7="[object Symbol]",b;var O1=X(()=>{Q1();h();b=x7});function G7(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||b(Q))return!0;return K7.test(Q)||!U7.test(Q)||J!=null&&Q in Object(J)}var U7,K7,i;var V1=X(()=>{L();O1();U7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K7=/^\w*$/;i=G7});function w7(Q){var J=X$(Q,function(Z){if(Y.size===N7)Y.clear();return Z}),Y=J.cache;return J}var N7=500,H$;var W$=X(()=>{B7();H$=w7});var z7,F7,R7,x$;var U$=X(()=>{W$();z7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,F7=/\\(\\)?/g,R7=H$(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(z7,function(Y,Z,H,W){J.push(H?W.replace(F7,"$1"):Z||Y)}),J}),x$=R7});function q7(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var K$;var G$=X(()=>{K$=q7});function w$(Q){if(typeof Q=="string")return Q;if(w(Q))return K$(Q,w$)+"";if(b(Q))return N$?N$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-D7?"-0":J}var D7=1/0,B$,N$,z$;var F$=X(()=>{bQ();G$();L();O1();B$=m?m.prototype:void 0,N$=B$?B$.toString:void 0;z$=w$});function O7(Q){return Q==null?"":z$(Q)}var R$;var q$=X(()=>{F$();R$=O7});function V7(Q,J){if(w(Q))return Q;return i(Q,J)?[Q]:x$(R$(Q))}var M1;var o1=X(()=>{L();V1();U$();q$();M1=V7});function L7(Q){if(typeof Q=="string"||b(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-M7?"-0":J}var M7=1/0,I;var l=X(()=>{O1();I=L7});function P7(Q,J){J=M1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var L1;var s1=X(()=>{o1();l();L1=P7});function f7(Q,J,Y){var Z=Q==null?void 0:L1(Q,J);return Z===void 0?Y:Z}var D$;var O$=X(()=>{s1();D$=f7});function C7(Q,J){return Q!=null&&J in Object(Q)}var V$;var M$=X(()=>{V$=C7});function I7(Q,J,Y){J=M1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&n(H)&&Z1(x,H)&&(w(Q)||$1(Q))}var L$;var P$=X(()=>{o1();m1();L();j1();X1();l();L$=I7});function _7(Q,J){return Q!=null&&L$(Q,J,V$)}var f$;var C$=X(()=>{M$();P$();f$=_7});function v7(Q,J){if(i(Q)&&q1(J))return D1(I(Q),J);return function(Y){var Z=D$(Y,Q);return Z===void 0&&Z===J?f$(Y,Q):R1(J,Z,k7|E7)}}var k7=1,E7=2,I$;var _$=X(()=>{l1();O$();C$();V1();c1();r1();l();I$=v7});function g7(Q){return Q}var k$;var E$=X(()=>{k$=g7});function d7(Q){return function(J){return J==null?void 0:J[Q]}}var v$;var g$=X(()=>{v$=d7});function y7(Q){return function(J){return L1(J,Q)}}var d$;var y$=X(()=>{s1();d$=y7});function S7(Q){return i(Q)?v$(I(Q)):d$(Q)}var S$;var p$=X(()=>{g$();y$();V1();l();S$=S7});function p7(Q){if(typeof Q=="function")return Q;if(Q==null)return k$;if(typeof Q=="object")return w(Q)?I$(Q[0],Q[1]):Y$(Q);return S$(Q)}var A$;var m$=X(()=>{Z$();_$();E$();L();p$();A$=p7});function A7(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var h$;var j$=X(()=>{h$=A7});function m7(Q,J){return Q&&Q.length?h$(Q,A$(J,2)):0}var u;var n$=X(()=>{m$();j$();u=m7});function h7(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function j7(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function n7(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function b7(){return $.totalCostUSD}function i7(){return $.totalAPIDuration}function u7(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function T7(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function l7(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function c7(){return $.totalAPIDurationWithoutRetries}function r7(){return $.totalToolDuration}function o7(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function s7(){return $.turnHookDurationMs}function a7(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function t7(){$.turnHookDurationMs=0,$.turnHookCount=0}function e7(){return $.turnHookCount}function QZ(){return $.turnToolDurationMs}function $Z(){$.turnToolDurationMs=0,$.turnToolCount=0}function JZ(){return $.turnToolCount}function YZ(){return $.turnClassifierDurationMs}function ZZ(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function XZ(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function HZ(){return $.turnClassifierCount}function WZ(){return $.statsStore}function xZ(Q){$.statsStore=Q}function UZ(Q){if(Q)b$();else a1=!0}function KZ(){if(a1)b$()}function b$(){$.lastInteractionTime=Date.now(),a1=!1}function GZ(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function BZ(){return $.totalLinesAdded}function NZ(){return $.totalLinesRemoved}function wZ(){return u(Object.values($.modelUsage),"inputTokens")}function t1(){return u(Object.values($.modelUsage),"outputTokens")}function zZ(){return u(Object.values($.modelUsage),"cacheReadInputTokens")}function FZ(){return u(Object.values($.modelUsage),"cacheCreationInputTokens")}function RZ(){return u(Object.values($.modelUsage),"webSearchRequests")}function qZ(){return t1()-e1}function DZ(){return QQ}function OZ(Q){e1=t1(),QQ=Q,f1=0}function VZ(){return f1}function MZ(){f1++}function i$(){e1=0,QQ=null,f1=0}function LZ(){$.hasUnknownModelCost=!0}function PZ(){return $.hasUnknownModelCost}function fZ(){return $.lastMainRequestId}function CZ(Q){$.lastMainRequestId=Q}function IZ(){return $.lastApiCompletionTimestamp}function _Z(Q){$.lastApiCompletionTimestamp=Q}function kZ(){$.pendingPostCompaction=!0}function EZ(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function vZ(){return $.lastInteractionTime}function gZ(){if(P1=!0,c)clearTimeout(c);c=setTimeout(()=>{P1=!1,c=void 0},u$),c.unref?.()}function dZ(){return P1}async function yZ(){while(P1)await new Promise((Q)=>setTimeout(Q,u$).unref?.())}function SZ(){return $.modelUsage}function pZ(Q){return $.modelUsage[Q]}function AZ(){return $.mainLoopModelOverride}function mZ(){return $.initialMainLoopModel}function hZ(Q){$.mainLoopModelOverride=Q}function jZ(Q){$.initialMainLoopModel=Q}function nZ(){return $.sdkBetas}function bZ(Q){$.sdkBetas=Q}function iZ(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function uZ({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function TZ(){return $.modelStrings}function lZ(Q){$.modelStrings=Q}function cZ(){$.modelStrings=null}var a1=!1,e1=0,QQ=null,f1=0,P1=!1,c,u$=150;var $Q=X(()=>{n$();V()});function T3(){return JQ}function l3(Q){JQ=Q}function c3(Q){return C1.has(Q)?C1.get(Q):void 0}function r3(Q,J){C1.set(Q,J)}function o3(Q){return YQ.get(Q)}function s3(Q,J){YQ.set(Q,J)}function T$(){JQ=null,C1.clear(),YQ.clear()}function a3(){return ZQ}function t3(Q){ZQ=Q}function e3(){ZQ=void 0}var JQ=null,C1,YQ,ZQ;var l$=X(()=>{C1=new Map;YQ=new Map});function c$(){return!$.isInteractive}function rZ(){return $.isInteractive}function oZ(Q){$.isInteractive=Q}function sZ(){return $.clientType}function aZ(Q){$.clientType=Q}function tZ(){return $.sdkAgentProgressSummariesEnabled}function eZ(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q6(){return $.kairosActive}function $6(Q){$.kairosActive=Q,g()}function J6(){return $.strictToolResultPairing}function Y6(Q){$.strictToolResultPairing=Q}function Z6(){return $.userMsgOptIn}function X6(Q){$.userMsgOptIn=Q,g()}function H6(){return $.sessionSource}function W6(Q){$.sessionSource=Q}function x6(){return $.questionPreviewFormat}function U6(Q){$.questionPreviewFormat=Q}function K6(){return $.agentColorMap}function G6(){return $.flagSettingsPath}function B6(Q){$.flagSettingsPath=Q}function N6(){return $.flagSettingsInline}function w6(Q){$.flagSettingsInline=Q}function z6(){return $.sessionIngressToken}function F6(Q){$.sessionIngressToken=Q}function R6(){return $.oauthTokenFromFd}function q6(Q){$.oauthTokenFromFd=Q}function D6(){return $.apiKeyFromFd}function O6(Q){$.apiKeyFromFd=Q}function V6(){return $.allowedSettingSources}function M6(Q){$.allowedSettingSources=Q}function L6(){return c$()&&$.clientType!=="claude-vscode"}function P6(Q){$.inlinePlugins=Q}function f6(){return $.inlinePlugins}function C6(Q){$.useCoworkPlugins=Q,T$()}function I6(){return $.useCoworkPlugins}function _6(Q){$.sessionBypassPermissionsMode=Q}function k6(){return $.sessionBypassPermissionsMode}function E6(Q){$.scheduledTasksEnabled=Q}function v6(){return $.scheduledTasksEnabled}var r$=X(()=>{l$();V()});function g6(Q){$.lastAPIRequest=Q}function d6(){return $.lastAPIRequest}function y6(Q){$.lastAPIRequestMessages=Q}function S6(){return $.lastAPIRequestMessages}function p6(Q){$.lastClassifierRequests=Q}function A6(){return $.lastClassifierRequests}function m6(Q){$.cachedClaudeMdContent=Q}function h6(){return $.cachedClaudeMdContent}function j6(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function n6(Q){$.initJsonSchema=Q}function b6(){return $.initJsonSchema}function i6(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function u6(){return $.registeredHooks}function T6(){$.registeredHooks=null}function l6(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function c6(){$.initJsonSchema=null,$.registeredHooks=null}var o$=X(()=>{V()});function r6(){return $.sessionCronTasks}function o6(Q){$.sessionCronTasks.push(Q)}function s6(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function a6(){return $.pendingSessionWakeup}function t6(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function e6(){$.pendingSessionWakeup=null}function QX(Q){$.sessionTrustAccepted=Q}function $X(){return $.sessionTrustAccepted}function JX(Q){$.sessionPersistenceDisabled=Q}function YX(){return $.sessionPersistenceDisabled}function ZX(){return $.hasExitedPlanMode}function XX(Q){$.hasExitedPlanMode=Q}function HX(){return $.needsPlanModeExitAttachment}function WX(Q){$.needsPlanModeExitAttachment=Q}function xX(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function UX(){return $.needsAutoModeExitAttachment}function KX(Q){$.needsAutoModeExitAttachment=Q}function GX(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function BX(){return $.planSlugCache}function NX(){return $.sessionCreatedTeams}function wX(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function zX(){return $.teleportedSessionInfo}function FX(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function RX(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function qX(){return $.invokedSkills}function DX(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function OX(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function VX(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function MX(){return $.mainThreadAgentType}function LX(Q){$.mainThreadAgentType=Q}function PX(){return $.isRemoteMode}function fX(Q){$.isRemoteMode=Q}var s$=X(()=>{V()});function CX(){throw Error("resetStateForTests can only be called in tests")}var a$=X(()=>{$Q();V()});var IX=X(()=>{V();v1();GQ();BQ();$Q();r$();o$();s$();a$()});
2
+ export{e$ as xka,QJ as yka,$J as zka,JJ as Aka,YJ as Bka,ZJ as Cka,XJ as Dka,HJ as Eka,WJ as Fka,xJ as Gka,UJ as Hka,KJ as Ika,GJ as Jka,BJ as Kka,NJ as Lka,wJ as Mka,zJ as Nka,FJ as Oka,RJ as Pka,qJ as Qka,DJ as Rka,OJ as Ska,VJ as Tka,MJ as Uka,LJ as Vka,E1 as Wka,PJ as Xka,fJ as Yka,CJ as Zka,IJ as _ka,_J as $ka,WQ as ala,xQ as bla,kJ as cla,EJ as dla,vJ as ela,gJ as fla,dJ as gla,yJ as hla,SJ as ila,pJ as jla,AJ as kla,mJ as lla,hJ as mla,jJ as nla,nJ as ola,bJ as pla,p as qla,d1 as rla,kQ as sla,EQ as tla,dQ as ula,yQ as vla,S1 as wla,SQ as xla,mQ as yla,hQ as zla,TQ as Ala,lQ as Bla,w as Cla,L as Dla,cQ as Ela,rQ as Fla,oQ as Gla,sQ as Hla,aQ as Ila,tQ as Jla,Q5 as Kla,$5 as Lla,O as Mla,h as Nla,$1 as Ola,m1 as Pla,j as Qla,h1 as Rla,Z1 as Sla,j1 as Tla,w5 as Ula,z5 as Vla,x1 as Wla,q5 as Xla,U1 as Yla,b1 as Zla,O5 as _la,V5 as $la,M5 as ama,L5 as bma,P5 as cma,f5 as dma,v5 as ema,g5 as fma,K1 as gma,i1 as hma,u1 as ima,d5 as jma,w1 as kma,m5 as lma,T1 as mma,T5 as nma,R1 as oma,l1 as pma,b as qma,O1 as rma,K$ as sma,G$ as tma,R$ as uma,q$ as vma,M1 as wma,o1 as xma,I as yma,l as zma,L1 as Ama,s1 as Bma,k$ as Cma,E$ as Dma,A$ as Ema,m$ as Fma,h7 as Gma,j7 as Hma,n7 as Ima,b7 as Jma,i7 as Kma,u7 as Lma,T7 as Mma,l7 as Nma,c7 as Oma,r7 as Pma,o7 as Qma,s7 as Rma,a7 as Sma,t7 as Tma,e7 as Uma,QZ as Vma,$Z as Wma,JZ as Xma,YZ as Yma,ZZ as Zma,XZ as _ma,HZ as $ma,WZ as ana,xZ as bna,UZ as cna,KZ as dna,GZ as ena,BZ as fna,NZ as gna,wZ as hna,t1 as ina,zZ as jna,FZ as kna,RZ as lna,qZ as mna,DZ as nna,OZ as ona,VZ as pna,MZ as qna,LZ as rna,PZ as sna,fZ as tna,CZ as una,IZ as vna,_Z as wna,kZ as xna,EZ as yna,vZ as zna,gZ as Ana,dZ as Bna,yZ as Cna,SZ as Dna,pZ as Ena,AZ as Fna,mZ as Gna,hZ as Hna,jZ as Ina,nZ as Jna,bZ as Kna,iZ as Lna,uZ as Mna,TZ as Nna,lZ as Ona,cZ as Pna,T3 as Qna,l3 as Rna,c3 as Sna,r3 as Tna,o3 as Una,s3 as Vna,T$ as Wna,a3 as Xna,t3 as Yna,e3 as Zna,l$ as _na,c$ as $na,rZ as aoa,oZ as boa,sZ as coa,aZ as doa,tZ as eoa,eZ as foa,Q6 as goa,$6 as hoa,J6 as ioa,Y6 as joa,Z6 as koa,X6 as loa,H6 as moa,W6 as noa,x6 as ooa,U6 as poa,K6 as qoa,G6 as roa,B6 as soa,N6 as toa,w6 as uoa,z6 as voa,F6 as woa,R6 as xoa,q6 as yoa,D6 as zoa,O6 as Aoa,V6 as Boa,M6 as Coa,L6 as Doa,P6 as Eoa,f6 as Foa,C6 as Goa,I6 as Hoa,_6 as Ioa,k6 as Joa,E6 as Koa,v6 as Loa,g6 as Moa,d6 as Noa,y6 as Ooa,S6 as Poa,p6 as Qoa,A6 as Roa,m6 as Soa,h6 as Toa,j6 as Uoa,n6 as Voa,b6 as Woa,i6 as Xoa,u6 as Yoa,T6 as Zoa,l6 as _oa,c6 as $oa,r6 as apa,o6 as bpa,s6 as cpa,a6 as dpa,t6 as epa,e6 as fpa,QX as gpa,$X as hpa,JX as ipa,YX as jpa,ZX as kpa,XX as lpa,HX as mpa,WX as npa,xX as opa,UX as ppa,KX as qpa,GX as rpa,BX as spa,NX as tpa,wX as upa,zX as vpa,FX as wpa,RX as xpa,qX as ypa,DX as zpa,OX as Apa,VX as Bpa,MX as Cpa,LX as Dpa,PX as Epa,fX as Fpa,CX as Gpa,IX as Hpa};
@@ -0,0 +1,2 @@
1
+ import{Wqa as $}from"./cli-1.1.32-yw64r19c.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function A(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function N(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function m(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function q(z=1){return z===0?"":J(z,"A")}function D(z=1){return z===0?"":J(z,"B")}function M(z=1){return z===0?"":J(z,"C")}function W(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function b(z,Q){let V="";if(z<0)V+=W(-z);else if(z>0)V+=M(z);if(Q<0)V+=q(-Q);else if(Q>0)V+=D(Q);return V}function S(){return J("K")}function l(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=q(1);return Q+=k,Q}function o(z=1){return z===0?"":J(z,"S")}function y(z=1){return z===0?"":J(z,"T")}function a(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,k,v,F,K,E,c,t,n,i,r,e,s,zz,Jz;var X=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];k=J("G");v=J("H");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");c=J("r"),t=J("200~"),n=J("201~"),i=J("I"),r=J("O"),e=J(">1u"),s=J("<u"),zz=J(">4;2m"),Jz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+v}var P,Zz;var f=$(()=>{X();P=J(0,"f");Zz=T()});
2
+ export{d as w1,Y as x1,h as y1,j as z1,H as A1,w as B1,L as C1,A as D1,N as E1,m as F1,J as G1,g as H1,I as I1,_ as J1,u as K1,R as L1,C as M1,v as N1,b as O1,S as P1,K as Q1,l as R1,o as S1,y as T1,a as U1,c as V1,t as W1,n as X1,i as Y1,r as Z1,e as _1,s as $1,zz as a2,Jz as b2,X as c2,T as d2,Zz as e2,f as f2};
@@ -0,0 +1,2 @@
1
+ import{Yx as X,Zx as h,nF as Y,zF as p}from"./cli-1.1.32-9yka8m9x.mjs";import{LY as D,SW as v,eY as B}from"./cli-1.1.32-hgjgfp8p.mjs";import{n2 as I,o2 as J,p2 as W}from"./cli-1.1.32-jjanec91.mjs";import{N_ as U,cfa as b}from"./cli-1.1.32-pve0ffcp.mjs";import{Sqa as G}from"./cli-1.1.32-yw64r19c.mjs";D();b();p();h();W();var Z=G(v(),1);function C(S){let k=Z.c(17),{customApiKeyTruncated:q,onDone:L}=S,M;if(k[0]!==q||k[1]!==L)M=function(f){k:switch(f){case"yes":{U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,approved:[...z.customApiKeyResponses?.approved??[],q]}})),L(!0);break k}case"no":U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,rejected:[...z.customApiKeyResponses?.rejected??[],q]}})),L(!1)}},k[0]=q,k[1]=L,k[2]=M;else M=k[2];let w=M,E;if(k[3]!==w)E=()=>w("no"),k[3]=w,k[4]=E;else E=k[4];let N;if(k[5]===Symbol.for("react.memo_cache_sentinel"))N=I(B,{bold:!0,children:"ANTHROPIC_API_KEY"}),k[5]=N;else N=k[5];let F;if(k[6]!==q)F=J(B,{children:[N,J(B,{children:[": sk-ant-...",q]})]}),k[6]=q,k[7]=F;else F=k[7];let O;if(k[8]===Symbol.for("react.memo_cache_sentinel"))O=I(B,{children:"Do you want to use this API key?"}),k[8]=O;else O=k[8];let P;if(k[9]===Symbol.for("react.memo_cache_sentinel"))P={label:"Yes",value:"yes"},k[9]=P;else P=k[9];let Q;if(k[10]===Symbol.for("react.memo_cache_sentinel"))Q=[P,{label:J(B,{children:["No (",I(B,{bold:!0,children:"recommended"}),")"]}),value:"no"}],k[10]=Q;else Q=k[10];let H;if(k[11]!==w)H=I(Y,{defaultValue:"no",defaultFocusValue:"no",options:Q,onChange:(V)=>w(V),onCancel:()=>w("no")}),k[11]=w,k[12]=H;else H=k[12];let R;if(k[13]!==E||k[14]!==F||k[15]!==H)R=J(X,{title:"Detected a custom API key in your environment",color:"warning",onCancel:E,children:[F,O,H]}),k[13]=E,k[14]=F,k[15]=H,k[16]=R;else R=k[16];return R}
2
+ export{C as X};
@@ -0,0 +1,2 @@
1
+ import{Uqa as N}from"./cli-1.1.32-yw64r19c.mjs";var zt=N((J)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),U=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),K=Symbol.for("react.view_transition"),C=Symbol.iterator;function W(t){if(t===null||typeof t!=="object")return null;return t=C&&t[C]||t["@@iterator"],typeof t==="function"?t:null}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function l(t,e,r){this.props=t,this.context=e,this.refs=h,this.updater=r||w}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,r){this.props=t,this.context=e,this.refs=h,this.updater=r||w}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var m=Array.isArray;function E(){}var s={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function x(t,e,r){var n=r.ref;return{$$typeof:y,type:t,key:e,ref:n!==void 0?n:null,props:r}}function b(t,e){return x(t.type,e,t.props)}function R(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function B(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var d=/\/+/g;function _(t,e){return typeof t==="object"&&t!==null&&t.key!=null?B(""+t.key):e.toString(36)}function Q(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,r,n,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var i=!1;if(t===null)i=!0;else switch(u){case"bigint":case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case y:case $:i=!0;break;case S:return i=t._init,p(i(t._payload),e,r,n,o)}}if(i)return o=o(t),i=n===""?"."+_(t,0):n,m(o)?(r="",i!=null&&(r=i.replace(d,"$&/")+"/"),p(o,e,r,"",function(I){return I})):o!=null&&(R(o)&&(o=b(o,r+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+i)),e.push(o)),1;i=0;var c=n===""?".":n+":";if(m(t))for(var f=0;f<t.length;f++)n=t[f],u=c+_(n,f),i+=p(n,e,r,u,o);else if(f=W(t),typeof f==="function")for(t=f.call(t),f=0;!(n=t.next()).done;)n=n.value,u=c+_(n,f++),i+=p(n,e,r,u,o);else if(u==="object"){if(typeof t.then==="function")return p(Q(t),e,r,n,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return i}function a(t,e,r){if(t==null)return t;var n=[],o=0;return p(t,n,"","",function(u){return e.call(r,u,o++)}),n}function X(t){if(t._status===-1){var e=t._result,r=e();r.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n,r.status===void 0&&(r.status="fulfilled",r.value=n)},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n,r.status===void 0&&(r.status="rejected",r.reason=n)}),t._status===-1&&(t._status=0,t._result=r)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)};function H(t){var e=s.T,r={};r.types=e!==null?e.types:null,s.T=r;try{var n=t(),o=s.S;o!==null&&o(r,n),typeof n==="object"&&n!==null&&typeof n.then==="function"&&n.then(E,A)}catch(u){A(u)}finally{e!==null&&r.types!==null&&(e.types=r.types),s.T=e}}function j(t){var e=s.T;if(e!==null){var r=e.types;r===null?e.types=[t]:r.indexOf(t)===-1&&r.push(t)}else H(j.bind(null,t))}var Z={map:a,forEach:function(t,e,r){a(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return a(t,function(){e++}),e},toArray:function(t){return a(t,function(e){return e})||[]},only:function(t){if(!R(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};J.Activity=G;J.Children=Z;J.Component=l;J.Fragment=Y;J.Profiler=L;J.PureComponent=v;J.StrictMode=M;J.Suspense=q;J.ViewTransition=K;J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s;J.__COMPILER_RUNTIME={__proto__:null,c:function(t){return s.H.useMemoCache(t)}};J.addTransitionType=j;J.cache=function(t){return function(){return t.apply(null,arguments)}};J.cacheSignal=function(){return null};J.cloneElement=function(t,e,r){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var n=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!O.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(n[u]=e[u]);var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){for(var i=Array(u),c=0;c<u;c++)i[c]=arguments[c+2];n.children=i}return x(t.type,o,n)};J.createContext=function(t){return t={$$typeof:U,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:k,_context:t},t};J.createElement=function(t,e,r){var n,o={},u=null;if(e!=null)for(n in e.key!==void 0&&(u=""+e.key),e)O.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(o[n]=e[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var c=Array(i),f=0;f<i;f++)c[f]=arguments[f+2];o.children=c}if(t&&t.defaultProps)for(n in i=t.defaultProps,i)o[n]===void 0&&(o[n]=i[n]);return x(t,u,o)};J.createRef=function(){return{current:null}};J.forwardRef=function(t){return{$$typeof:D,render:t}};J.isValidElement=R;J.lazy=function(t){return{$$typeof:S,_payload:{_status:-1,_result:t},_init:X}};J.memo=function(t,e){return{$$typeof:z,type:t,compare:e===void 0?null:e}};J.startTransition=H;J.unstable_useCacheRefresh=function(){return s.H.useCacheRefresh()};J.use=function(t){return s.H.use(t)};J.useActionState=function(t,e,r){return s.H.useActionState(t,e,r)};J.useCallback=function(t,e){return s.H.useCallback(t,e)};J.useContext=function(t){return s.H.useContext(t)};J.useDebugValue=function(){};J.useDeferredValue=function(t,e){return s.H.useDeferredValue(t,e)};J.useEffect=function(t,e){return s.H.useEffect(t,e)};J.useEffectEvent=function(t){return s.H.useEffectEvent(t)};J.useId=function(){return s.H.useId()};J.useImperativeHandle=function(t,e,r){return s.H.useImperativeHandle(t,e,r)};J.useInsertionEffect=function(t,e){return s.H.useInsertionEffect(t,e)};J.useLayoutEffect=function(t,e){return s.H.useLayoutEffect(t,e)};J.useMemo=function(t,e){return s.H.useMemo(t,e)};J.useOptimistic=function(t,e){return s.H.useOptimistic(t,e)};J.useReducer=function(t,e,r){return s.H.useReducer(t,e,r)};J.useRef=function(t){return s.H.useRef(t)};J.useState=function(t){return s.H.useState(t)};J.useSyncExternalStore=function(t,e,r){return s.H.useSyncExternalStore(t,e,r)};J.useTransition=function(){return s.H.useTransition()};J.version="19.3.0"});
2
+ export{zt as q2};
@@ -0,0 +1,2 @@
1
+ import{LN as L,MN as M,Zn as J,_n as Z,pG as z,qG as h}from"./cli-1.1.32-9yka8m9x.mjs";import{SW as X}from"./cli-1.1.32-hgjgfp8p.mjs";import{q2 as W}from"./cli-1.1.32-6f9r9qcb.mjs";import{Epa as H,Hpa as V}from"./cli-1.1.32-60pc6r2s.mjs";import{Sqa as D,Wqa as U}from"./cli-1.1.32-yw64r19c.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{M();V();h();Z();P=D(X(),1),x=D(W(),1)});
2
+ export{v as mg,A as ng};
@@ -0,0 +1,2 @@
1
+ import{Cp as D,EM as C,IM as E,So as m,Uo as A,Vo as v,xp as L,yo as U,yp as R,zo as F}from"./cli-1.1.32-9yka8m9x.mjs";import{Dga as y,Rca as H,Zca as f,bea as B,dea as M,tea as j,yga as N}from"./cli-1.1.32-pve0ffcp.mjs";import{Rha as G,Tha as b}from"./cli-1.1.32-m7dxkbpn.mjs";import{Dja as w,Gja as h}from"./cli-1.1.32-8jkgzjh4.mjs";import{Wqa as _}from"./cli-1.1.32-yw64r19c.mjs";import{join as T}from"path";function g(){let q=new Map,Q=U();for(let[x,z]of Object.entries(Q)){if(!x.includes("@"))continue;if(z===!0)q.set(x,"flag");else if(z===!1)q.delete(x)}let X=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:x,source:z}of X){let Z=B(z);if(!Z?.enabledPlugins)continue;for(let[J,V]of Object.entries(Z.enabledPlugins)){if(!J.includes("@"))continue;if(J in Q&&Q[J]!==V)w(`Plugin ${J} from --add-dir (${Q[J]}) overridden by ${z} (${V})`);if(V===!0)q.set(J,x);else if(V===!1)q.delete(J)}}return w(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([x,z])=>`${x}(${z})`).join(", ")}`),q}function i(q){return m[q]}async function n(q,Q,X="user"){let x=X!=="user"?G():void 0,z=A(X),Z=B(z),J={...Z?.enabledPlugins},V=[],k=[];for(let $=0;$<q.length;$++){let K=q[$];if(!K)continue;if(Q)Q(K,$+1,q.length);try{let W=await C(K);if(!W){k.push({name:K,error:"Plugin not found in any marketplace"});continue}let{entry:Y,marketplaceInstallLocation:O}=W;if(!H(Y.source))await L(K,Y,X,x);else R({pluginId:K,installPath:T(O,Y.source),version:Y.version},X,x);J[K]=!0,V.push(K)}catch(W){let Y=W instanceof Error?W.message:String(W);k.push({name:K,error:Y}),N(W)}}return M(z,{...Z,enabledPlugins:J}),{installed:V,failed:k}}var S=_(()=>{b();h();y();j();F();E();v();D();f()});
2
+ export{g as rd,i as sd,n as td,S as ud};
@@ -0,0 +1,6 @@
1
+ import{Wqa as I}from"./cli-1.1.32-yw64r19c.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
2
+ `:`
3
+ `)+H,K=J+1,J=$.indexOf(`
4
+ `,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
5
+ `);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
6
+ export{q1 as E6,Y1 as F6,X1 as G6};
@@ -0,0 +1,2 @@
1
+ import{G9 as _,K9 as $,L9 as T}from"./cli-1.1.32-bt4yfsm7.mjs";import{F$ as Y,N_ as W,P_ as V,Uaa as D,aaa as U,cfa as j,uaa as Z,vaa as w,waa as k}from"./cli-1.1.32-pve0ffcp.mjs";import{Dja as N,Gja as M}from"./cli-1.1.32-8jkgzjh4.mjs";import{Hpa as O,ila as X}from"./cli-1.1.32-60pc6r2s.mjs";O();j();M();T();U();w();D();import{realpath as x}from"fs/promises";async function y(){try{let q=await _();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=k(A)??A,B;try{B=(await x(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function f(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(Y));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Z(q);if(!I)return!1;let z=$(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function l(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
+ export{y as G,f as H,P as I,d as J,l as K};
@@ -0,0 +1,2 @@
1
+ import{Dga as N,P_ as A,cfa as L,yga as B}from"./cli-1.1.32-pve0ffcp.mjs";import{Dja as z,Gja as K}from"./cli-1.1.32-8jkgzjh4.mjs";import{Vqa as I,Wqa as J}from"./cli-1.1.32-yw64r19c.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
+ export{P as b7,Q as c7,R as d7,H as e7,U as f7,V as g7,W as h7};
@@ -0,0 +1,2 @@
1
+ import{eqa as M,fqa as Y}from"./cli-1.1.32-hbwke9cs.mjs";import{Wqa as W}from"./cli-1.1.32-yw64r19c.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","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 jka,N as kka,X as lka,_ as mka,j as nka,U as oka,I as pka,S as qka,T as rka,c as ska,L as tka,w as uka,z as vka,k as wka};
@@ -0,0 +1,2 @@
1
+ import{hH as U,iH as w}from"./cli-1.1.32-9yka8m9x.mjs";import{LY as k,SW as f,cY as N,eY as O}from"./cli-1.1.32-hgjgfp8p.mjs";import{n2 as M,o2 as H,p2 as R}from"./cli-1.1.32-jjanec91.mjs";import{Sqa as Y,Wqa as Z}from"./cli-1.1.32-yw64r19c.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
+ export{_ as Tg,A as Ug};
@@ -0,0 +1,2 @@
1
+ import{AV as u,KU as d,jV as f,kV as h,yU as C}from"./cli-1.1.32-5c5dcwk6.mjs";import{$Y as F,ZY as w}from"./cli-1.1.32-px6268dx.mjs";import{K2 as O,P2 as i}from"./cli-1.1.32-vf3r8a91.mjs";import{D6 as I,n6 as x,q6 as v,x6 as M,y6 as A}from"./cli-1.1.32-a3dfp7ps.mjs";import{Dga as j,yga as K}from"./cli-1.1.32-pve0ffcp.mjs";import{Cia as R,Dia as _}from"./cli-1.1.32-ajhvj43e.mjs";import{Dja as J,Gja as W,gja as X,hja as P,lja as T}from"./cli-1.1.32-8jkgzjh4.mjs";import{bka as y,ika as p}from"./cli-1.1.32-z7x4jfeb.mjs";import{Xqa as q}from"./cli-1.1.32-yw64r19c.mjs";W();j();F();_();W();p();j();v();I();T();import{randomUUID as S}from"crypto";var L=2000,k=5,c=30000,Y=3,E=new Set([4003]);function b(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class U{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,G){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=G}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${R().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let G={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:G,proxy:A(z),tls:x()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let H=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(H)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");K(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.1.32-5xty3sv5.mjs"),Z=new $(z,{headers:G,agent:M(z),...x()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(H)=>{this.handleMessage(H.toString())}),Z.on("error",(H)=>{K(Error(`[SessionsWebSocket] Error: ${H.message}`)),this.callbacks.onError?.(H)}),Z.on("close",(H,V)=>{J(`[SessionsWebSocket] Closed: code=${H} reason=${V.toString()}`),this.handleClose(H)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=P(B);if(b(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){K(Error(`[SessionsWebSocket] Failed to parse message: ${y(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",E.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(L*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<k)this.reconnectAttempts++,this.scheduleReconnect(L,`attempt ${this.reconnectAttempts}/${k}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},c)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:S(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function D(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class N{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{K(z),this.callbacks.onError?.(z)}};this.websocket=new U(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(D(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let G={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(G)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await w(this.config.sessionId,B,z);if(!Q)K(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){K(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let G={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(G)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,G=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:G,viewerOnly:$}}W();j();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:G}=B,$=h(z);if(!$){K(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=f(z),H=!Q;return J(`[Reconnection] Computed initial team context for ${H?"leader":`teammate ${G}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:G,isLeader:H,teammates:{}}}function xz(B,z,Q){let G=h(z);if(!G){K(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=G.members.find((V)=>V.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,H=f(z);B((V)=>({...V,teamContext:{teamName:z,teamFilePath:H,leadAgentId:G.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=O();for(let[G,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(G)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Uz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
2
+ export{N as pa,$z as qa,Xz as ra,xz as sa,Uz as ta};
@@ -0,0 +1,5 @@
1
+ import{Jja as XX,Mja as P8}from"./cli-1.1.32-zeyasrw5.mjs";import{cka as r,ika as C8}from"./cli-1.1.32-z7x4jfeb.mjs";import{lka as QX,oka as NJ,wka as T8}from"./cli-1.1.32-7zp3b6gq.mjs";import{$la as _X,Ala as eJ,Bla as hX,Cla as fQ,Dla as k6,Ela as $Q,Fla as bX,Hpa as k8,Ila as JQ,Jla as dX,Kla as g,Lla as oJ,Mla as n,Nla as LQ,Qla as pQ,Rla as T6,Ula as l,Vla as wQ,Wla as w,Xla as kQ,_la as yJ,ama as h,bma as vJ,cla as JX,cma as tJ,dma as jX,ema as hJ,fma as SX,gma as y,hma as OJ,ima as gQ,jma as P6,mma as O,nma as GJ,qla as dQ,rla as w6,wla as HJ,xla as iX}from"./cli-1.1.32-60pc6r2s.mjs";import{$pa as EX,Ipa as SJ,Jpa as IX,Opa as cJ,Ppa as kX,Qpa as qJ,Rpa as tX,Upa as L,Vpa as XJ,_pa as LJ,eqa as x,fqa as FJ}from"./cli-1.1.32-hbwke9cs.mjs";import{Vqa as uJ,Wqa as U,Yqa as N,Zqa as W}from"./cli-1.1.32-yw64r19c.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],H=0,q=null,G=null;function B(){if(q)clearTimeout(q),q=null}function I(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],H=0,B()}function M(){if(!q)q=setTimeout(I,Q)}function V(){if(G){G.push(...Z),Z=[],H=0,B();return}let F=Z;Z=[],H=0,B(),G=F,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(F){if(Y){J(F);return}if(Z.push(F),H+=F.length,M(),Z.length>=X||H>=$)V()},flush:I,dispose(){I()}}}var IJ=()=>{};function BJ(J){return t.add(J),()=>t.delete(J)}async function n8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function UX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function NX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function xJ(J,Q){if(!Q)return!0;let X=UX(J);return NX(X,Q)}var VJ;var DJ=U(()=>{FJ();VJ=x((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function WX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=WX});var MX,e;var _J=U(()=>{EX();MX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=MX});function zX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=zX});function FX(J,Q,X){var $=J[Q];if(!(CX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var BX,CX,j;var QJ=U(()=>{JJ();IX();BX=Object.prototype,CX=BX.hasOwnProperty;j=FX});function VX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,H=Q.length;while(++Z<H){var q=Q[Z],G=$?$(X[q],J[q],q,X,J):void 0;if(G===void 0)G=J[q];if(Y)m(X,q,G);else j(X,q,G)}return X}var R;var k=U(()=>{QJ();JJ();R=VX});function xX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=xX});function DX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var TJ;var PJ=U(()=>{TJ=DX});function LX(J){if(!L(J))return TJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!AX.call(J,$))))X.push($);return X}var RX,AX,mJ;var jJ=U(()=>{XJ();vJ();PJ();RX=Object.prototype,AX=RX.hasOwnProperty;mJ=LX});function OX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{_X();jJ();SX();_=OX});function wX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=wX});var p={};uJ(p,{default:()=>$J});function PX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,TX,gJ,bJ,$J;var lJ=U(()=>{kX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,TX=pJ&&pJ.exports===nJ,gJ=TX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=PX});function vX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=vX});function mX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=mX});var yX,b;var ZJ=U(()=>{jX();yX=tJ(Object.getPrototypeOf,Object),b=yX});var fX,pX,u;var YJ=U(()=>{hX();ZJ();oJ();dX();fX=Object.getOwnPropertySymbols,pX=!fX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=pX});function gX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=gX});function uX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{bX();YJ();d();ZQ=uX});function lX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&nX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var cX,nX,HQ;var qQ=U(()=>{cX=Object.prototype,nX=cX.hasOwnProperty;HQ=lX});function rX(J){var Q=new J.constructor(J.byteLength);return new HJ(Q).set(new HJ(J)),Q}var S;var c=U(()=>{iX();S=rX});function oX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=oX});function aX(J){var Q=new J.constructor(J.source,sX.exec(J));return Q.lastIndex=J.lastIndex,Q}var sX,UQ;var NQ=U(()=>{sX=/\w*$/;UQ=aX});function eX(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{tX();WQ=qJ?qJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=eX});function J6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var IQ;var BQ=U(()=>{c();IQ=J6});function V6(J,Q,X){var $=J.constructor;switch(Q){case K6:return S(J);case Q6:case X6:return new $(+J);case U6:return GQ(J,X);case N6:case W6:case E6:case M6:case z6:case I6:case B6:case C6:case F6:return IQ(J,X);case $6:return new $;case Z6:case q6:return new $(J);case Y6:return UQ(J);case H6:return new $;case G6:return MQ(J)}}var Q6="[object Boolean]",X6="[object Date]",$6="[object Map]",Z6="[object Number]",Y6="[object RegExp]",H6="[object Set]",q6="[object String]",G6="[object Symbol]",K6="[object ArrayBuffer]",U6="[object DataView]",N6="[object Float32Array]",W6="[object Float64Array]",E6="[object Int8Array]",M6="[object Int16Array]",z6="[object Int32Array]",I6="[object Uint8Array]",B6="[object Uint8ClampedArray]",C6="[object Uint16Array]",F6="[object Uint32Array]",CQ;var FQ=U(()=>{c();KQ();NQ();zQ();BQ();CQ=V6});var VQ,x6,xQ;var DQ=U(()=>{XJ();VQ=Object.create,x6=function(){function J(){}return function(Q){if(!L(Q))return{};if(VQ)return VQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),xQ=x6});function D6(J){return typeof J.constructor=="function"&&!h(J)?xQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=D6});function A6(J){return n(J)&&O(J)==R6}var R6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=A6});var OQ,L6,TQ;var PQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,L6=OQ?l(OQ):_Q,TQ=L6});function S6(J){return n(J)&&O(J)==_6}var _6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=S6});var jQ,O6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,O6=jQ?l(jQ):vQ,yQ=O6});function i(J,Q,X,$,Y,Z){var H,q=Q&v6,G=Q&m6,B=Q&j6;if(X)H=Y?X(J,$,Y,Z):X(J);if(H!==void 0)return H;if(!L(J))return J;var I=fQ(J);if(I){if(H=HQ(J),!q)return iJ(J,H)}else{var M=O(J),V=M==uQ||M==p6;if(pQ(J))return $J(J,q);if(M==cQ||M==bQ||V&&!Y){if(H=G||V?{}:RQ(J),!q)return G?QQ(J,dJ(H,J)):sJ(J,wJ(H,J))}else{if(!z[M])return Y?J:{};H=CQ(J,M,q)}}Z||(Z=new dQ);var F=Z.get(J);if(F)return F;if(Z.set(J,H),yQ(J))J.forEach(function(D){H.add(i(D,Q,X,D,J,Z))});else if(TQ(J))J.forEach(function(D,A){H.set(A,i(D,Q,X,A,J,Z))});var v=B?G?ZQ:gQ:G?_:y,MJ=I?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(H,A,i(D,Q,X,A,J,Z))}),H}var v6=1,m6=2,j6=4,bQ="[object Arguments]",y6="[object Array]",h6="[object Boolean]",d6="[object Date]",f6="[object Error]",uQ="[object Function]",p6="[object GeneratorFunction]",g6="[object Map]",b6="[object Number]",cQ="[object Object]",u6="[object RegExp]",c6="[object Set]",n6="[object String]",l6="[object Symbol]",i6="[object WeakMap]",r6="[object ArrayBuffer]",o6="[object DataView]",s6="[object Float32Array]",a6="[object Float64Array]",t6="[object Int8Array]",e6="[object Int16Array]",J8="[object Int32Array]",Q8="[object Uint8Array]",X8="[object Uint8ClampedArray]",$8="[object Uint16Array]",Z8="[object Uint32Array]",z,nQ;var lQ=U(()=>{w6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();P6();YQ();GJ();qQ();FQ();AQ();k6();T6();PQ();XJ();hQ();OJ();d();z={};z[bQ]=z[y6]=z[r6]=z[o6]=z[h6]=z[d6]=z[s6]=z[a6]=z[t6]=z[e6]=z[J8]=z[g6]=z[b6]=z[cQ]=z[u6]=z[c6]=z[n6]=z[l6]=z[Q8]=z[X8]=z[$8]=z[Z8]=!0;z[f6]=z[uQ]=z[i6]=!1;nQ=i});function q8(J){return nQ(J,Y8|H8)}var Y8=1,H8=4,iQ;var rQ=U(()=>{lQ();iQ=q8});var B8={};uJ(B8,{writeFileSync_DEPRECATED:()=>I8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>E8,cloneDeep:()=>z8,clone:()=>M8});import{closeSync as G8,writeFileSync as oQ,fsyncSync as K8,openSync as U8}from"fs";function W8(){return N8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var H=Z,q=1}finally{W(Y,H,q)}}function M8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}}function z8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function I8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let B=typeof X==="object"&&"encoding"in X?X.encoding:void 0,I=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=U8(J,"w",I),oQ(M,Q,{encoding:B??void 0}),K8(M)}finally{if(M!==void 0)G8(M)}}else oQ(J,Q,X)}catch(H){var q=H,G=1}finally{W(Z,q,G)}}var N8,E,E8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}};var UJ=U(()=>{rQ();N8={[Symbol.dispose](){}};E=W8});import*as K from"fs";import{mkdir as F8,open as o,readdir as V8,readFile as sQ,copyFile as x8,rename as D8,rmdir as R8,rm as A8,stat as L8,unlink as _8}from"fs/promises";import{homedir as aQ}from"os";import*as C from"path";function tQ(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function Q1(J,Q,X){let{resolvedPath:$}=tQ(J,Q);if(X.has($))return!0;return X.add($),!1}function S8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),H=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?H:C.join(H,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function X1(J){let Q=J;if(Q==="~")Q=aQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(aQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let H=Q,q=new Set,G=40;for(let B=0;B<G;B++){if(q.has(H))break;if(q.add(H),!$.existsSync(H)){if(H===Q){let F=S8($,Q);if(F!==void 0)X.add(F)}break}let I=$.lstatSync(H);if(I.isFIFO()||I.isSocket()||I.isCharacterDevice()||I.isBlockDevice())break;if(!I.isSymbolicLink())break;let M=$.readlinkSync(H),V=C.isAbsolute(M)?M:C.resolve(C.dirname(H),M);X.add(V),H=V}}catch{}let{resolvedPath:Y,isSymlink:Z}=tQ($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return w8}async function $1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let H=Buffer.allocUnsafe(Z);let q=0;while(q<Z){let{bytesRead:F}=await $.read(H,q,Z-q,Q+q);if(F===0)break;q+=F}return{content:H.toString("utf8",0,q),bytesRead:q,bytesTotal:Y}}catch(B){var I=B,M=1}finally{var V=W(G,I,M);V&&await V}}async function Z1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let H=Buffer.allocUnsafe(Z);let q=0;while(q<Z){let{bytesRead:F}=await X.read(H,q,Z-q,Y+q);if(F===0)break;q+=F}return{content:H.toString("utf8",0,q),bytesRead:q,bytesTotal:$}}catch(B){var I=B,M=1}finally{var V=W(G,I,M);V&&await V}}async function*Y1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),H=Buffer.alloc(4096);while(Y>0){let q=Math.min(4096,Y);Y-=q,await X.read(H,0,q,Y);let G=Buffer.concat([H.subarray(0,q),Z]),B=G.indexOf(10);if(B===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,B));let I=G.toString("utf8",B+1).split(`
2
+ `);for(let M=I.length-1;M>=0;M--){let V=I[M];if(V)yield V}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var O8,w8;var eQ=U(()=>{C8();UJ();O8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return L8(J)},async readdir(J){return V8(J,{withFileTypes:!0})},async unlink(J){return _8(J)},async rmdir(J){return R8(J)},async rm(J,Q){return A8(J,Q)},async mkdir(J,Q){try{await F8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return sQ(J,{encoding:Q.encoding})},async rename(J,Q){return D8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return x8(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),B=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:B}}finally{if($)K.closeSync($)}}catch(Z){var H=Z,q=1}finally{W(Y,H,q)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var H=Z,q=1}finally{W(Y,H,q)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var H=Z,q=1}finally{W(Y,H,q)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var H=Z,q=1}finally{W(Y,H,q)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,H=1}finally{W($,Z,H)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return sQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),H=0;while(H<Y){let{bytesRead:q}=await X.read(Z,H,Y-H,H);if(q===0)break;H+=q}return H<Y?Z.subarray(0,H):Z}finally{await X.close()}}},w8=O8});import{appendFile as v8,mkdir as m8,symlink as j8,unlink as y8}from"fs/promises";import{dirname as $X,join as ZX}from"path";function F1(){let J=P();return YX=!0,P.cache.clear?.(),J}function f8(J){if(!P())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=d8();return xJ(J,Q)}function V1(J){EJ=J}function x1(){return EJ}async function p8(J,Q,X,$){if(J)await m8(Q,{recursive:!0}).catch(()=>{});await v8(X,$),KX()}function g8(){}function b8(){if(!T){let J=null;T=zJ({writeFn:(Q)=>{let X=GX(),$=$X(X),Y=J!==$;if(J=$,P()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),KX();return}a=a.then(p8.bind(null,Y,$,X,Q)).catch(g8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:P()}),BJ(async()=>{T?.dispose(),await a})}return T}async function D1(){T?.flush(),await a}function R1(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[h8()])return;if(!f8(J))return;if(EJ&&J.includes(`
3
+ `))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
4
+ `;if(HX()){XX($);return}b8().write($)}function GX(){return qX()??process.env.CLAUDIN_DEBUG_LOGS_DIR??ZX(QX(),"debug",`${JX()}.txt`)}function A1(J,Q){}var WJ,h8,YX=!1,P,d8,HX,qX,EJ=!1,T=null,a,KX;var u8=U(()=>{FJ();k8();IJ();CJ();DJ();T8();eQ();P8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},h8=x(()=>{let J=process.env.CLAUDIN_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),P=x(()=>{return YX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||HX()||process.argv.some((J)=>J.startsWith("--debug="))||qX()!==null});d8=x(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return VJ(Q)}),HX=x(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),qX=x(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();KX=x(async()=>{try{let J=GX(),Q=$X(J),X=ZX(Q,"latest");await y8(X).catch(()=>{}),await j8(J,X)}catch{}})});
5
+ export{zJ as Eia,IJ as Fia,BJ as Gia,n8 as Hia,CJ as Iia,e as Jia,_J as Kia,m as Lia,JJ as Mia,j as Nia,QJ as Oia,R as Pia,k as Qia,_ as Ria,d as Sia,$J as Tia,lJ as Uia,iJ as Via,rJ as Wia,b as Xia,ZJ as Yia,ZQ as Zia,YQ as _ia,IQ as $ia,BQ as aja,RQ as bja,AQ as cja,nQ as dja,lQ as eja,E as fja,KJ as gja,E8 as hja,M8 as ija,I8 as jja,B8 as kja,UJ as lja,tQ as mja,Q1 as nja,X1 as oja,s as pja,$1 as qja,Z1 as rja,Y1 as sja,eQ as tja,h8 as uja,P as vja,F1 as wja,d8 as xja,HX as yja,qX as zja,V1 as Aja,x1 as Bja,D1 as Cja,R1 as Dja,GX as Eja,A1 as Fja,u8 as Gja};
@@ -0,0 +1,2 @@
1
+ import{Ad as P,yd as _}from"./cli-1.1.32-yfs9ppge.mjs";import{Ae as y,ze as Z}from"./cli-1.1.32-ydbtpc9v.mjs";import{Ey as X,GN as Y,Gy as K,KN as A,ux as V,xx as C}from"./cli-1.1.32-9yka8m9x.mjs";import{n2 as H,p2 as Q}from"./cli-1.1.32-jjanec91.mjs";import{q2 as W}from"./cli-1.1.32-6f9r9qcb.mjs";import{Gga as L,Hga as M}from"./cli-1.1.32-1rackf2c.mjs";import{Sqa as T,Wqa as U}from"./cli-1.1.32-yw64r19c.mjs";function b({children:q}){let{bindings:D}=X(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function j(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function v(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let B=(w)=>_(H(Y,{children:H(b,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=j(w);for(let w=0;w<N;w+=I){let O=await B([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await v(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var x=U(()=>{M();y();C();K();A();P();Q();J=T(W(),1)});
2
+ export{l as jc,x as kc};
@@ -0,0 +1,34 @@
1
+ import{LY as Aq,aY as z,gY as Bq,hY as xq}from"./cli-1.1.32-hgjgfp8p.mjs";import{F6 as H,G6 as Rq}from"./cli-1.1.32-6jxftegx.mjs";import{Dga as a,I_ as W,Iea as l,K_ as Mq,Kea as Gq,N_ as _,P_ as R,V$ as p,Xaa as N,Yaa as m,aaa as zq,cfa as b,jaa as G,laa as o,q_ as Yq,r$ as $q,s$ as jq,t_ as Zq,u_ as wq,yga as v}from"./cli-1.1.32-pve0ffcp.mjs";import{Rha as T,Tha as Wq}from"./cli-1.1.32-m7dxkbpn.mjs";import{gja as Qq,hja as Xq,lja as _q,pja as c,tja as Hq}from"./cli-1.1.32-8jkgzjh4.mjs";import{gka as E,ika as Uq}from"./cli-1.1.32-z7x4jfeb.mjs";import{eqa as s,fqa as Lq}from"./cli-1.1.32-hbwke9cs.mjs";import{Wqa as A}from"./cli-1.1.32-yw64r19c.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 EW,n as FW,e as GW,qq as HW,FJ as IW,Eq as JW,Tq as KW,UJ as LW,_J as MW,RJ as NW,wJ as OW,Cq as PW};
@@ -0,0 +1,2 @@
1
+ import{nb as T}from"./cli-1.1.32-b3hsysf6.mjs";import{Qc as o,Rc as vq}from"./cli-1.1.32-yhzhm57s.mjs";import{$m as I,Cj as C,Jm as y,Om as e,PK as Bq,PN as D,QK as Tq,QN as Xq,RK as a,SK as bq,fn as qq,jE as m,kE as Jq,kG as f,oG as Aq,pG as p,qG as Qq,qm as P,tS as Zq,ym as t}from"./cli-1.1.32-9yka8m9x.mjs";import{SU as c,TU as g,cV as Gq}from"./cli-1.1.32-5c5dcwk6.mjs";import{Dga as r,gea as h,sea as j,tea as i,yga as V}from"./cli-1.1.32-pve0ffcp.mjs";import{Dja as S,Gja as s,pja as x,tja as l}from"./cli-1.1.32-8jkgzjh4.mjs";import{lka as U,wka as n}from"./cli-1.1.32-7zp3b6gq.mjs";import{Hpa as wq,aoa as L,zna as v}from"./cli-1.1.32-60pc6r2s.mjs";import{Tqa as _q}from"./cli-1.1.32-yw64r19c.mjs";bq();async function R(){}wq();import{join as K}from"path";s();n();l();Jq();r();Xq();e();Zq();Qq();Gq();i();qq();t();var $q=30;function N(){let Q=((h()||{}).cleanupPeriodDays??$q)*24*60*60*1000;return new Date(Date.now()-Q)}function d(G,q){return{messages:G.messages+q.messages,errors:G.errors+q.errors}}function zq(G){let q=G.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(q)}async function O(G,q,Q){let J={messages:0,errors:0};try{let X=await x().readdir(G);for(let Z of X)try{if(zq(Z.name)<q)if(await x().unlink(K(G,Z.name)),Q)J.messages++;else J.errors++}catch(z){V(z)}}catch(X){if(X instanceof Error&&"code"in X&&X.code!=="ENOENT")V(X)}return J}async function Kq(){let G=x(),q=N(),Q=T.errors(),J=T.baseLogs(),X=await O(Q,q,!1);try{let Z;try{Z=await G.readdir(J)}catch{return X}let z=Z.filter(($)=>$.isDirectory()&&$.name.startsWith("mcp-logs-")).map(($)=>K(J,$.name));for(let $ of z)X=d(X,await O($,q,!0)),await Y($,G)}catch(Z){if(Z instanceof Error&&"code"in Z&&Z.code!=="ENOENT")V(Z)}return X}async function M(G,q,Q){if((await Q.stat(G)).mtime<q)return await Q.unlink(G),!0;return!1}async function Y(G,q){try{await q.rmdir(G)}catch{}}async function Yq(){let G=N(),q={messages:0,errors:0},Q=C(),J=x(),X;try{X=await J.readdir(Q)}catch{return q}for(let Z of X){if(!Z.isDirectory())continue;let z=K(Q,Z.name),$;try{$=await J.readdir(z)}catch{q.errors++;continue}for(let W of $)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await M(K(z,W.name),G,J))q.messages++}catch{q.errors++}}else if(W.isDirectory()){let A=K(z,W.name),_=K(A,I),k;try{k=await J.readdir(_)}catch{await Y(A,J);continue}for(let w of k)if(w.isFile())try{if(await M(K(_,w.name),G,J))q.messages++}catch{q.errors++}else if(w.isDirectory()){let B=K(_,w.name),H;try{H=await J.readdir(B)}catch{continue}for(let F of H){if(!F.isFile())continue;try{if(await M(K(B,F.name),G,J))q.messages++}catch{q.errors++}}await Y(B,J)}await Y(_,J),await Y(A,J)}await Y(z,J)}return q}async function E(G,q,Q=!0){let J=N(),X={messages:0,errors:0},Z=x(),z;try{z=await Z.readdir(G)}catch{return X}for(let $ of z){if(!$.isFile()||!$.name.endsWith(q))continue;try{if(await M(K(G,$.name),J,Z))X.messages++}catch{X.errors++}}if(Q)await Y(G,Z);return X}async function xq(){let G=y(),q=await E(G,".md"),Q=K(U(),"plans");if(Q!==G){let J=await E(Q,".md");return d(q,J)}return q}async function Wq(){let G=N(),q={messages:0,errors:0},Q=x();try{let J=U(),X=K(J,"file-history"),Z;try{Z=await Q.readdir(X)}catch{return q}let z=Z.filter(($)=>$.isDirectory()).map(($)=>K(X,$.name));await Promise.all(z.map(async($)=>{try{if((await Q.stat($)).mtime<G)await Q.rm($,{recursive:!0,force:!0}),q.messages++}catch{q.errors++}})),await Y(X,Q)}catch(J){V(J)}return q}async function Nq(){let G=N(),q={messages:0,errors:0},Q=x();try{let J=U(),X=K(J,"session-env"),Z;try{Z=await Q.readdir(X)}catch{return q}let z=Z.filter(($)=>$.isDirectory()).map(($)=>K(X,$.name));for(let $ of z)try{if((await Q.stat($)).mtime<G)await Q.rm($,{recursive:!0,force:!0}),q.messages++}catch{q.errors++}await Y(X,Q)}catch(J){V(J)}return q}async function Vq(){let G=N(),q={messages:0,errors:0},Q=x();try{let J=K(U(),"tasks"),X=g(c()),Z;try{Z=await Q.readdir(J)}catch{return q}for(let z of Z){if(!z.isDirectory()||z.name===X)continue;let $=K(J,z.name);try{if(await Uq($,Q)<G)await Q.rm($,{recursive:!0,force:!0}),q.messages++}catch{q.errors++}}await Y(J,Q)}catch(J){V(J)}return q}async function Uq(G,q){let Q=(await q.stat(G)).mtime,J=await q.readdir(G).catch(()=>[]);for(let X of J){if(!X.isFile())continue;try{let{mtime:Z}=await q.stat(K(G,X.name));if(Z>Q)Q=Z}catch{}}return Q}async function Mq(){let G=N(),q={messages:0,errors:0},Q=x(),J=K(U(),"debug"),X;try{X=await Q.readdir(J)}catch{return q}for(let Z of X){if(!Z.isFile()||!Z.name.endsWith(".txt")||Z.name==="latest")continue;try{if(await M(K(J,Z.name),G,Q))q.messages++}catch{q.errors++}}return q}async function u(){let{errors:G}=p();if(G.length>0&&j("cleanupPeriodDays")){S("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await Kq(),await Yq(),await xq(),await Wq(),await Nq(),await Vq(),await Mq(),await m(),await D(N());let q=await P(N())}Aq();vq();var Lq=(Tq(),_q(Bq)),b=600000;function nq(){R(),Lq.initExtractMemories(),a(),o();let G=!0;async function q(){if(L()&&v()>Date.now()-60000){setTimeout(q,b).unref();return}if(G)G=!1,await u();if(L()&&v()>Date.now()-60000){setTimeout(q,b).unref();return}await f()}setTimeout(q,b).unref()}
2
+ export{nq as ua};
@@ -0,0 +1,2 @@
1
+ import{n2 as w,p2 as F}from"./cli-1.1.32-jjanec91.mjs";import{Xqa as D}from"./cli-1.1.32-yw64r19c.mjs";F();var z,B;function O(q,v){z=q,B=v}async function Q(q,v,G,H){let J=z??import("./App-1.1.32-x0g3m6v6.mjs"),K=B??import("./REPL-1.1.32-yzppvfrk.mjs");z=void 0,B=void 0;let[{App:M},{REPL:N}]=await Promise.all([J,K]);await H(q,w(M,{...v,children:w(N,{...G})}))}
2
+ export{O as pb,Q as qb};
@@ -0,0 +1,2 @@
1
+ import{gi as v,hi as jf}from"./cli-1.1.32-yv9hzzq7.mjs";import{li as c,ni as bf}from"./cli-1.1.32-gvv8h6dg.mjs";import{$R as g,Cv as Qf,FB as C,GB as Xf,Ij as H,Im as w,JR as A,OG as M,Om as Bf,PG as _f,Vj as O,WS as Kf,Wj as s,Xl as e,Yl as ff,an as y,bC as T,dv as L,fm as W,fn as Gf,gS as l,iC as Yf,jC as I,jw as h,kC as Zf,kL as u,lL as $f,nw as m,qu as N,ru as E,rw as Vf,sS as Df,su as Jf,tS as S,uS as p,ym as zf,zv as P}from"./cli-1.1.32-9yka8m9x.mjs";import{Dga as t,yga as F}from"./cli-1.1.32-pve0ffcp.mjs";import{Hpa as a,cla as R,dla as D,fpa as x,ila as K,tna as U}from"./cli-1.1.32-60pc6r2s.mjs";import{Tqa as q,Wqa as o}from"./cli-1.1.32-yw64r19c.mjs";import{randomUUID as qf}from"crypto";async function vf({setMessages:V,readFileState:d,discoveredSkillNames:k,loadedNestedMemoryPaths:i,getAppState:G,setAppState:J,setConversationId:X}){let Y=p();await L("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Uf=U(),Q=new Set,Z=[],_=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if(_(f))continue;if(T(f))Q.add(f.agentId),Z.push(f);else if(M(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(v(Q),C(K()),d.clear(),k?.clear(),i?.clear(),J)J((f)=>{let B={};for(let[j,z]of Object.entries(f.tasks)){if(!_(z)){B[j]=z;continue}try{if(z.status==="running"){if(I(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(r){F(r)}N(j)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});w(),g(),x(),c(),m(),h();let n=R();D({setCurrentAsParent:!0}),y(n),await A();for(let f of Z){if(f.status!=="running")continue;E(f.id,H(O(f.agentId)))}{let{saveMode:f}=(S(),q(Df)),{isCoordinatorMode:B}=(ff(),q(e));f(B()?"coordinator":"normal")}let $=W();if($)l($);let b=await P("clear");if(b.length>0)V(()=>b)}var Rf=o(()=>{a();_f();Yf();Zf();s();Vf();$f();Kf();t();bf();Bf();Xf();Qf();S();Jf();Gf();zf();jf()});
2
+ export{vf as ei,Rf as fi};
@@ -0,0 +1,2 @@
1
+ import{Wqa as M}from"./cli-1.1.32-yw64r19c.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as ij,W as jj,X as kj,Z as lj,Y as mj};
@@ -0,0 +1,11 @@
1
+ import{f7 as x,h7 as d}from"./cli-1.1.32-76wfpwbd.mjs";import{i7 as E,j7 as C,l7 as j,m7 as $,o7 as I,p7 as u}from"./cli-1.1.32-zv1p3q66.mjs";import{Dga as F,N_ as O,P_ as Z,cfa as T,jaa as Q,kaa as X,laa as D,r$ as B,s$ as b,yga as f}from"./cli-1.1.32-pve0ffcp.mjs";import{Dja as q,Gja as A}from"./cli-1.1.32-8jkgzjh4.mjs";import{$na as p,Hpa as m}from"./cli-1.1.32-60pc6r2s.mjs";import{Wqa as N,Xqa as R}from"./cli-1.1.32-yw64r19c.mjs";import{homedir as Y}from"os";async function e(){if((await Q("which",["uv"])).code===0)return q("[it2Setup] Found uv (will use uv tool install)"),"uvx";if((await Q("which",["pipx"])).code===0)return q("[it2Setup] Found pipx package manager"),"pipx";if((await Q("which",["pip"])).code===0)return q("[it2Setup] Found pip package manager"),"pip";if((await Q("which",["pip3"])).code===0)return q("[it2Setup] Found pip3 package manager"),"pip";return q("[it2Setup] No Python package manager found"),null}async function k(){return(await Q("which",["it2"])).code===0}async function qq(z){q(`[it2Setup] Installing it2 using ${z}`);let H;switch(z){case"uvx":H=await X("uv",["tool","install","it2"],{cwd:Y()});break;case"pipx":H=await X("pipx",["install","it2"],{cwd:Y()});break;case"pip":if(H=await X("pip",["install","--user","it2"],{cwd:Y()}),H.code!==0)H=await X("pip3",["install","--user","it2"],{cwd:Y()});break}if(H.code!==0){let J=H.stderr||"Unknown installation error";return f(Error(`[it2Setup] Failed to install it2: ${J}`)),{success:!1,error:J,packageManager:z}}return q("[it2Setup] it2 installed successfully"),{success:!0,packageManager:z}}async function zq(){if(q("[it2Setup] Verifying it2 setup..."),!await k())return{success:!1,error:"it2 CLI is not installed or not in PATH"};let H=await Q("it2",["session","list"]);if(H.code!==0){let J=H.stderr.toLowerCase();if(J.includes("api")||J.includes("python")||J.includes("connection refused")||J.includes("not enabled"))return q("[it2Setup] Python API not enabled in iTerm2"),{success:!1,error:"Python API not enabled in iTerm2 preferences",needsPythonApiEnabled:!0};return{success:!1,error:H.stderr||"Failed to communicate with iTerm2"}}return q("[it2Setup] it2 setup verified successfully"),{success:!0}}function Hq(){return["Almost done! Enable the Python API in iTerm2:",""," iTerm2 → Settings → General → Magic → Enable Python API","","After enabling, you may need to restart iTerm2."]}function Jq(){if(Z().iterm2It2SetupComplete!==!0)O((H)=>({...H,iterm2It2SetupComplete:!0})),q("[it2Setup] Marked it2 setup as complete")}function Kq(z){if(Z().preferTmuxOverIterm2!==z)O((J)=>({...J,preferTmuxOverIterm2:z})),q(`[it2Setup] Set preferTmuxOverIterm2 = ${z}`)}function w(){return Z().preferTmuxOverIterm2===!0}var v=N(()=>{T();A();D();F()});async function s(){if(y)return;await import("./TmuxBackend-1.1.32-q3c5nqks.mjs"),await import("./ITermBackend-1.1.32-a8pwddd1.mjs"),y=!0}function _q(z){S=z}function $q(z){q(`[registry] registerITermBackend called, class=${z?.name||"undefined"}`),W=z}function _(){if(!S)throw Error("TmuxBackend not registered. Import TmuxBackend.ts before using the registry.");return new S}function h(){if(!W)throw Error("ITermBackend not registered. Import ITermBackend.ts before using the registry.");return new W}async function Oq(){if(await s(),K)return q(`[BackendRegistry] Using cached backend: ${K.backend.type}`),K;q("[BackendRegistry] Starting backend detection...");let z=await C(),H=$();if(q(`[BackendRegistry] Environment: insideTmux=${z}, inITerm2=${H}`),z){q("[BackendRegistry] Selected: tmux (running inside tmux session)");let L=_();return U=L,K={backend:L,isNative:!0,needsIt2Setup:!1},K}if(H){let L=w();if(L)q("[BackendRegistry] User prefers tmux over iTerm2, skipping iTerm2 detection");else{let V=await I();if(q(`[BackendRegistry] iTerm2 detected, it2 CLI available: ${V}`),V){q("[BackendRegistry] Selected: iterm2 (native iTerm2 with it2 CLI)");let M=h();return U=M,K={backend:M,isNative:!0,needsIt2Setup:!1},K}}let P=await j();if(q(`[BackendRegistry] it2 not available, tmux available: ${P}`),P){q("[BackendRegistry] Selected: tmux (fallback in iTerm2, it2 setup recommended)");let V=_();return U=V,K={backend:V,isNative:!1,needsIt2Setup:!L},K}throw q("[BackendRegistry] ERROR: iTerm2 detected but no it2 CLI and no tmux"),Error("iTerm2 detected but it2 CLI not installed. Install it2 with: pip install it2")}let J=await j();if(q(`[BackendRegistry] Not in tmux or iTerm2, tmux available: ${J}`),J){q("[BackendRegistry] Selected: tmux (external session mode)");let L=_();return U=L,K={backend:L,isNative:!1,needsIt2Setup:!1},K}throw q("[BackendRegistry] ERROR: No pane backend available"),Error(t())}function t(){switch(B()){case"macos":return`To use agent swarms, install tmux:
2
+ brew install tmux
3
+ Then start a tmux session with: tmux new-session -s claude`;case"linux":case"wsl":return`To use agent swarms, install tmux:
4
+ sudo apt install tmux # Ubuntu/Debian
5
+ sudo dnf install tmux # Fedora/RHEL
6
+ Then start a tmux session with: tmux new-session -s claude`;case"windows":return`To use agent swarms, you need tmux which requires WSL (Windows Subsystem for Linux).
7
+ Install WSL first, then inside WSL run:
8
+ sudo apt install tmux
9
+ Then start a tmux session with: tmux new-session -s claude`;default:return`To use agent swarms, install tmux using your system's package manager.
10
+ Then start a tmux session with: tmux new-session -s claude`}}function Eq(z){switch(z){case"tmux":return _();case"iterm2":return h()}}function jq(){return U}function yq(){return K}function Sq(){q("[BackendRegistry] Marking in-process fallback as active"),G=!0}function i(){return x()}function l(){if(p())return q("[BackendRegistry] isInProcessEnabled: true (non-interactive session)"),!0;let z=i(),H;if(z==="in-process")H=!0;else if(z==="tmux")H=!1;else{if(G)return q("[BackendRegistry] isInProcessEnabled: true (fallback after pane backend unavailable)"),!0;let J=E(),L=$();H=!J&&!L}return q(`[BackendRegistry] isInProcessEnabled: ${H} (mode=${z}, insideTmux=${E()}, inITerm2=${$()})`),H}function Wq(){return l()?"in-process":"tmux"}function Gq(){U=null,K=null,y=!1,G=!1}var U=null,K=null,y=!1,G=!1,S=null,W=null;var n=N(()=>{m();A();b();u();v();d()});
11
+ export{e as K6,qq as L6,zq as M6,Hq as N6,Jq as O6,Kq as P6,v as Q6,s as R6,_q as S6,$q as T6,Oq as U6,Eq as V6,jq as W6,yq as X6,Sq as Y6,l as Z6,Wq as _6,Gq as $6,n as a7};