@claudiolabs/claudin 1.1.16 → 1.1.18

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 (915) hide show
  1. package/dist/chunks/AgentTool-1.1.18-8r539yq1.mjs +1 -0
  2. package/dist/chunks/App-1.1.18-9qegazdp.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.18-75srd2ah.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.18-8s0prsvd.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.18-8908as3d.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.18-hzr5qznb.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.18-11b01q4g.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.18-gdmxhc4c.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.18-0ve87kmt.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.18-bm9y9hp0.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.18-s5gycf8y.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.18-ck22r980.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.18-k4rxj60y.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.18-7jtsdcvz.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.18-79c4xptb.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.18-at9smz0c.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.18-fmn6pds0.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.18-ethctbw9.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.18-7jny2tma.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.18-4tt9s4sx.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.18-9y6kadd2.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.18-0zp920qr.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.18-ywhxqdw4.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.18-cfmzwnnw.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.18-7czxxmxn.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.18-q46q6gnr.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.18-0s9sbdx0.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.18-2v7nqdda.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.18-5tbxn6cp.mjs +1 -0
  30. package/dist/chunks/agents-1.1.18-1zj1bttk.mjs +110 -0
  31. package/dist/chunks/agents-1.1.18-n28gzp6b.mjs +3 -0
  32. package/dist/chunks/api-1.1.18-kb26phxt.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.18-q0418p4r.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.18-ky0pcnme.mjs +1 -0
  35. package/dist/chunks/auth-1.1.18-4de9sj97.mjs +1 -0
  36. package/dist/chunks/auth-1.1.18-6yqhszf3.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.18-63jx6p2w.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.18-bk6w4529.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.18-bg5z208x.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.18-3m48d47f.mjs +1 -0
  41. package/dist/chunks/branch-1.1.18-sgfz4w61.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.18-ewtwajff.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.18-6aeg22kg.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.18-2ybc4ee8.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.18-pt5dztgy.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.18-w72zdv7w.mjs +1 -0
  47. package/dist/chunks/btw-1.1.18-w43t3mem.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.18-zfhza9df.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.18-ap6m4e42.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.18-gcvx2d6q.mjs +4 -0
  51. package/dist/chunks/caches-1.1.18-warrda1f.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.18-v3ghw0k9.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.18-b6tnjsjw.mjs +1 -0
  54. package/dist/chunks/clear-1.1.18-8abstaz1.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.18-wgv6q897.mjs +1 -0
  56. package/dist/chunks/cli-1.1.18-018bk764.mjs +2 -0
  57. package/dist/chunks/cli-1.1.18-049a81dd.mjs +25 -0
  58. package/dist/chunks/cli-1.1.18-0aakxjsk.mjs +2 -0
  59. package/dist/chunks/cli-1.1.18-0h118vrj.mjs +2 -0
  60. package/dist/chunks/cli-1.1.18-0tg14dph.mjs +2 -0
  61. package/dist/chunks/cli-1.1.18-0xknnw9q.mjs +2 -0
  62. package/dist/chunks/cli-1.1.18-0y6qt71a.mjs +2 -0
  63. package/dist/chunks/cli-1.1.18-0yhfm17h.mjs +2 -0
  64. package/dist/chunks/cli-1.1.18-0z5526z3.mjs +4 -0
  65. package/dist/chunks/cli-1.1.18-12tzkcxz.mjs +2 -0
  66. package/dist/chunks/cli-1.1.18-18rbpjbc.mjs +2 -0
  67. package/dist/chunks/cli-1.1.18-1c8pr80a.mjs +2 -0
  68. package/dist/chunks/cli-1.1.18-1spz0azv.mjs +3 -0
  69. package/dist/chunks/cli-1.1.18-1t3rb5a8.mjs +2 -0
  70. package/dist/chunks/cli-1.1.18-251zfmjp.mjs +5 -0
  71. package/dist/chunks/cli-1.1.18-27b82jjj.mjs +3 -0
  72. package/dist/chunks/cli-1.1.18-2ach0t0d.mjs +7 -0
  73. package/dist/chunks/cli-1.1.18-2gvrr93b.mjs +2 -0
  74. package/dist/chunks/cli-1.1.18-2k96kgmz.mjs +2 -0
  75. package/dist/chunks/cli-1.1.18-2qvvz2tv.mjs +2 -0
  76. package/dist/chunks/cli-1.1.18-2vdwwm5f.mjs +3 -0
  77. package/dist/chunks/cli-1.1.18-2w9274tq.mjs +59 -0
  78. package/dist/chunks/cli-1.1.18-2wsf8n3w.mjs +3 -0
  79. package/dist/chunks/cli-1.1.18-3b5j4jfq.mjs +2 -0
  80. package/dist/chunks/cli-1.1.18-3pn5knk8.mjs +2 -0
  81. package/dist/chunks/cli-1.1.18-3rm83ba2.mjs +2 -0
  82. package/dist/chunks/cli-1.1.18-3rxhxwbk.mjs +4 -0
  83. package/dist/chunks/cli-1.1.18-3s03nva1.mjs +2 -0
  84. package/dist/chunks/cli-1.1.18-3w57qes2.mjs +2 -0
  85. package/dist/chunks/cli-1.1.18-3y4pftxb.mjs +206 -0
  86. package/dist/chunks/cli-1.1.18-3z65nz4z.mjs +2 -0
  87. package/dist/chunks/cli-1.1.18-417wb57s.mjs +2 -0
  88. package/dist/chunks/cli-1.1.18-462kn9pt.mjs +2 -0
  89. package/dist/chunks/cli-1.1.18-4c3jqppx.mjs +2 -0
  90. package/dist/chunks/cli-1.1.18-4f2ncqzp.mjs +45 -0
  91. package/dist/chunks/cli-1.1.18-4h2r40da.mjs +2 -0
  92. package/dist/chunks/cli-1.1.18-4j0hy93x.mjs +3 -0
  93. package/dist/chunks/cli-1.1.18-4jy396p1.mjs +6 -0
  94. package/dist/chunks/cli-1.1.18-553zzrge.mjs +2 -0
  95. package/dist/chunks/cli-1.1.18-56vce0gb.mjs +2 -0
  96. package/dist/chunks/cli-1.1.18-5dw1bb8m.mjs +2 -0
  97. package/dist/chunks/cli-1.1.18-5fhws40c.mjs +2 -0
  98. package/dist/chunks/cli-1.1.18-5mr13yxz.mjs +2 -0
  99. package/dist/chunks/cli-1.1.18-5pa0bk59.mjs +2 -0
  100. package/dist/chunks/cli-1.1.18-5s8f8gd5.mjs +3 -0
  101. package/dist/chunks/cli-1.1.18-6hjdcw80.mjs +2 -0
  102. package/dist/chunks/cli-1.1.18-6nxyz9v3.mjs +2 -0
  103. package/dist/chunks/cli-1.1.18-6w9m5m4s.mjs +2 -0
  104. package/dist/chunks/cli-1.1.18-6wrbe4ft.mjs +4 -0
  105. package/dist/chunks/cli-1.1.18-703emt7y.mjs +16 -0
  106. package/dist/chunks/cli-1.1.18-70jytem3.mjs +2 -0
  107. package/dist/chunks/cli-1.1.18-70ktef72.mjs +2 -0
  108. package/dist/chunks/cli-1.1.18-71zz07m4.mjs +3 -0
  109. package/dist/chunks/cli-1.1.18-7g6xwfbz.mjs +2 -0
  110. package/dist/chunks/cli-1.1.18-7nsrr2k0.mjs +2 -0
  111. package/dist/chunks/cli-1.1.18-7pcfwrhj.mjs +2 -0
  112. package/dist/chunks/cli-1.1.18-7set7d4d.mjs +3 -0
  113. package/dist/chunks/cli-1.1.18-7wccrsx9.mjs +2 -0
  114. package/dist/chunks/cli-1.1.18-7xc4d1d9.mjs +2 -0
  115. package/dist/chunks/cli-1.1.18-86jznh5v.mjs +2 -0
  116. package/dist/chunks/cli-1.1.18-8fpwak2g.mjs +4 -0
  117. package/dist/chunks/cli-1.1.18-8thyc5yy.mjs +2 -0
  118. package/dist/chunks/cli-1.1.18-8vxrthte.mjs +4 -0
  119. package/dist/chunks/cli-1.1.18-8zrm4yfd.mjs +2 -0
  120. package/dist/chunks/cli-1.1.18-948h21gh.mjs +2 -0
  121. package/dist/chunks/cli-1.1.18-99wvb94x.mjs +2 -0
  122. package/dist/chunks/cli-1.1.18-9cpcw7fg.mjs +2 -0
  123. package/dist/chunks/cli-1.1.18-9jkqy8de.mjs +2 -0
  124. package/dist/chunks/cli-1.1.18-9zvacjd0.mjs +2 -0
  125. package/dist/chunks/cli-1.1.18-a888prq4.mjs +6 -0
  126. package/dist/chunks/cli-1.1.18-aek1gddg.mjs +2 -0
  127. package/dist/chunks/cli-1.1.18-af7txyky.mjs +133 -0
  128. package/dist/chunks/cli-1.1.18-aj93qvyc.mjs +3 -0
  129. package/dist/chunks/cli-1.1.18-avas0dtp.mjs +2 -0
  130. package/dist/chunks/cli-1.1.18-avhbxgh1.mjs +2 -0
  131. package/dist/chunks/cli-1.1.18-awvejq1d.mjs +2 -0
  132. package/dist/chunks/cli-1.1.18-b4azpwk0.mjs +18 -0
  133. package/dist/chunks/cli-1.1.18-b5h22srd.mjs +2 -0
  134. package/dist/chunks/cli-1.1.18-bfzft69m.mjs +2 -0
  135. package/dist/chunks/cli-1.1.18-c9h4ga5f.mjs +2 -0
  136. package/dist/chunks/cli-1.1.18-cahfd7zp.mjs +15 -0
  137. package/dist/chunks/cli-1.1.18-ccbh77pf.mjs +2 -0
  138. package/dist/chunks/cli-1.1.18-cd5r9mfb.mjs +2 -0
  139. package/dist/chunks/cli-1.1.18-cj8tr93q.mjs +2 -0
  140. package/dist/chunks/cli-1.1.18-cjkn7t4k.mjs +2 -0
  141. package/dist/chunks/cli-1.1.18-cphcr3xr.mjs +15 -0
  142. package/dist/chunks/cli-1.1.18-cqmjby3t.mjs +24 -0
  143. package/dist/chunks/cli-1.1.18-crpxak5f.mjs +2 -0
  144. package/dist/chunks/cli-1.1.18-cxg522yt.mjs +4 -0
  145. package/dist/chunks/cli-1.1.18-cy0ypdkd.mjs +2 -0
  146. package/dist/chunks/cli-1.1.18-dcrg5hwd.mjs +2 -0
  147. package/dist/chunks/cli-1.1.18-ddreb78e.mjs +2 -0
  148. package/dist/chunks/cli-1.1.18-dq2vate5.mjs +2 -0
  149. package/dist/chunks/cli-1.1.18-dvyh5qzn.mjs +2 -0
  150. package/dist/chunks/cli-1.1.18-dzbn08g2.mjs +2 -0
  151. package/dist/chunks/cli-1.1.18-e107yrwx.mjs +2 -0
  152. package/dist/chunks/cli-1.1.18-e8stczm5.mjs +2 -0
  153. package/dist/chunks/cli-1.1.18-ecds9fxm.mjs +2 -0
  154. package/dist/chunks/cli-1.1.18-ek85fj6n.mjs +2 -0
  155. package/dist/chunks/cli-1.1.18-erjpjwnr.mjs +4 -0
  156. package/dist/chunks/cli-1.1.18-esvp6n4e.mjs +66 -0
  157. package/dist/chunks/cli-1.1.18-ezpyhrzw.mjs +133 -0
  158. package/dist/chunks/cli-1.1.18-f2j32mha.mjs +2 -0
  159. package/dist/chunks/cli-1.1.18-f5ggv7be.mjs +2 -0
  160. package/dist/chunks/cli-1.1.18-f6m259he.mjs +2 -0
  161. package/dist/chunks/cli-1.1.18-f7jag2rr.mjs +2 -0
  162. package/dist/chunks/cli-1.1.18-f8sy5pe3.mjs +3 -0
  163. package/dist/chunks/cli-1.1.18-fh3h37zy.mjs +8 -0
  164. package/dist/chunks/cli-1.1.18-fr4nmsgv.mjs +3 -0
  165. package/dist/chunks/cli-1.1.18-fst0kx9m.mjs +24 -0
  166. package/dist/chunks/cli-1.1.18-gdvh8p4h.mjs +2 -0
  167. package/dist/chunks/cli-1.1.18-gnd39prj.mjs +18 -0
  168. package/dist/chunks/cli-1.1.18-gvzkraze.mjs +2 -0
  169. package/dist/chunks/cli-1.1.18-gz2c86d2.mjs +2 -0
  170. package/dist/chunks/cli-1.1.18-hbv881pn.mjs +2 -0
  171. package/dist/chunks/cli-1.1.18-heh8xz6x.mjs +2 -0
  172. package/dist/chunks/cli-1.1.18-hg5srcxb.mjs +7 -0
  173. package/dist/chunks/cli-1.1.18-hgn94jwm.mjs +2 -0
  174. package/dist/chunks/cli-1.1.18-hjp96a36.mjs +2 -0
  175. package/dist/chunks/cli-1.1.18-hphxdvpd.mjs +17 -0
  176. package/dist/chunks/cli-1.1.18-hsqq1hdd.mjs +9 -0
  177. package/dist/chunks/cli-1.1.18-hvd9yyb4.mjs +2 -0
  178. package/dist/chunks/cli-1.1.18-j1ryg6qv.mjs +2 -0
  179. package/dist/chunks/cli-1.1.18-j372h4fv.mjs +4 -0
  180. package/dist/chunks/cli-1.1.18-j461dthr.mjs +2 -0
  181. package/dist/chunks/cli-1.1.18-j5zh2pdx.mjs +17 -0
  182. package/dist/chunks/cli-1.1.18-jcqz5j7y.mjs +2 -0
  183. package/dist/chunks/cli-1.1.18-jgwwkx62.mjs +58 -0
  184. package/dist/chunks/cli-1.1.18-jjekxppq.mjs +25 -0
  185. package/dist/chunks/cli-1.1.18-jp0phw3q.mjs +2 -0
  186. package/dist/chunks/cli-1.1.18-k05shz35.mjs +2 -0
  187. package/dist/chunks/cli-1.1.18-k11n6026.mjs +3 -0
  188. package/dist/chunks/cli-1.1.18-k1pkc44n.mjs +2 -0
  189. package/dist/chunks/cli-1.1.18-kj7gj6vk.mjs +3 -0
  190. package/dist/chunks/cli-1.1.18-kkr6w2g7.mjs +2 -0
  191. package/dist/chunks/cli-1.1.18-m04wmdz7.mjs +9 -0
  192. package/dist/chunks/cli-1.1.18-mfjtdkn6.mjs +20 -0
  193. package/dist/chunks/cli-1.1.18-mg0s34rf.mjs +2 -0
  194. package/dist/chunks/cli-1.1.18-mg7jmbh9.mjs +2 -0
  195. package/dist/chunks/cli-1.1.18-mhy7qzsz.mjs +21 -0
  196. package/dist/chunks/cli-1.1.18-mm8bkmax.mjs +2 -0
  197. package/dist/chunks/cli-1.1.18-mqwcfz14.mjs +2 -0
  198. package/dist/chunks/cli-1.1.18-mrrbn0jj.mjs +6 -0
  199. package/dist/chunks/cli-1.1.18-mwevzyy2.mjs +2 -0
  200. package/dist/chunks/cli-1.1.18-mycrby1p.mjs +2 -0
  201. package/dist/chunks/cli-1.1.18-mz10pywc.mjs +2 -0
  202. package/dist/chunks/cli-1.1.18-n05vxdaj.mjs +2 -0
  203. package/dist/chunks/cli-1.1.18-n7dkmrv9.mjs +24 -0
  204. package/dist/chunks/cli-1.1.18-ndct9t5e.mjs +4 -0
  205. package/dist/chunks/cli-1.1.18-npdweafk.mjs +6 -0
  206. package/dist/chunks/cli-1.1.18-ns45fmht.mjs +2 -0
  207. package/dist/chunks/cli-1.1.18-p0ey1z9w.mjs +2 -0
  208. package/dist/chunks/cli-1.1.18-p28wy0mz.mjs +2 -0
  209. package/dist/chunks/cli-1.1.18-p3yf1aq6.mjs +42 -0
  210. package/dist/chunks/cli-1.1.18-p5rqk1qq.mjs +2 -0
  211. package/dist/chunks/cli-1.1.18-pbdm30bs.mjs +2 -0
  212. package/dist/chunks/cli-1.1.18-psb6qqc1.mjs +2 -0
  213. package/dist/chunks/cli-1.1.18-pt16bxrm.mjs +2 -0
  214. package/dist/chunks/cli-1.1.18-pzeg2p3k.mjs +2 -0
  215. package/dist/chunks/cli-1.1.18-q7qp6pv5.mjs +2 -0
  216. package/dist/chunks/cli-1.1.18-qfz5keqx.mjs +2 -0
  217. package/dist/chunks/cli-1.1.18-qrz1vgy2.mjs +2 -0
  218. package/dist/chunks/cli-1.1.18-qs28eyy1.mjs +2 -0
  219. package/dist/chunks/cli-1.1.18-qykcs1fr.mjs +4 -0
  220. package/dist/chunks/cli-1.1.18-r50x1ezt.mjs +2 -0
  221. package/dist/chunks/cli-1.1.18-ra67yknr.mjs +6 -0
  222. package/dist/chunks/cli-1.1.18-rbfhhwym.mjs +2 -0
  223. package/dist/chunks/cli-1.1.18-rbkz8pj4.mjs +2 -0
  224. package/dist/chunks/cli-1.1.18-rnqtkprk.mjs +2 -0
  225. package/dist/chunks/cli-1.1.18-rp84hvn4.mjs +2 -0
  226. package/dist/chunks/cli-1.1.18-rykfqnyd.mjs +2 -0
  227. package/dist/chunks/cli-1.1.18-s5nhwqft.mjs +2 -0
  228. package/dist/chunks/cli-1.1.18-sdsvkqmn.mjs +2 -0
  229. package/dist/chunks/cli-1.1.18-sq93n51h.mjs +2 -0
  230. package/dist/chunks/cli-1.1.18-t526ry94.mjs +34 -0
  231. package/dist/chunks/cli-1.1.18-ta6r8qry.mjs +2 -0
  232. package/dist/chunks/cli-1.1.18-tm7nmhz8.mjs +2 -0
  233. package/dist/chunks/cli-1.1.18-ts8ermsd.mjs +2 -0
  234. package/dist/chunks/cli-1.1.18-v42h6ekh.mjs +15 -0
  235. package/dist/chunks/cli-1.1.18-v4gc446r.mjs +2 -0
  236. package/dist/chunks/cli-1.1.18-v5btk93t.mjs +3 -0
  237. package/dist/chunks/cli-1.1.18-v75xqnbv.mjs +2 -0
  238. package/dist/chunks/cli-1.1.18-vgfpa3bs.mjs +5 -0
  239. package/dist/chunks/cli-1.1.18-vnsqk2vn.mjs +2 -0
  240. package/dist/chunks/cli-1.1.18-vx2rxj7b.mjs +2 -0
  241. package/dist/chunks/cli-1.1.18-vymgw42z.mjs +2 -0
  242. package/dist/chunks/cli-1.1.18-vzrv28w4.mjs +24 -0
  243. package/dist/chunks/cli-1.1.18-wp7r00wk.mjs +2 -0
  244. package/dist/chunks/cli-1.1.18-wzpxr762.mjs +50 -0
  245. package/dist/chunks/cli-1.1.18-x0bha3jf.mjs +2 -0
  246. package/dist/chunks/cli-1.1.18-x7jyxff1.mjs +3 -0
  247. package/dist/chunks/cli-1.1.18-x7k6y949.mjs +39 -0
  248. package/dist/chunks/cli-1.1.18-x9wfjwnm.mjs +2 -0
  249. package/dist/chunks/cli-1.1.18-xfb4pete.mjs +5410 -0
  250. package/dist/chunks/cli-1.1.18-xpxkw4js.mjs +2 -0
  251. package/dist/chunks/cli-1.1.18-y0eah2b9.mjs +2 -0
  252. package/dist/chunks/cli-1.1.18-y89tqne6.mjs +2 -0
  253. package/dist/chunks/cli-1.1.18-ybazgea3.mjs +1 -0
  254. package/dist/chunks/cli-1.1.18-ybfayy4j.mjs +2 -0
  255. package/dist/chunks/cli-1.1.18-yk1f4vsx.mjs +2 -0
  256. package/dist/chunks/cli-1.1.18-ypcye8ae.mjs +6 -0
  257. package/dist/chunks/cli-1.1.18-ythtynpe.mjs +12 -0
  258. package/dist/chunks/cli-1.1.18-yymp5d28.mjs +12 -0
  259. package/dist/chunks/cli-1.1.18-yysexesh.mjs +2 -0
  260. package/dist/chunks/cli-1.1.18-z2dx0w6b.mjs +2 -0
  261. package/dist/chunks/cli-1.1.18-zd969gzb.mjs +2 -0
  262. package/dist/chunks/cli-1.1.18-zdx4ywwf.mjs +2 -0
  263. package/dist/chunks/cli-1.1.18-zhq044yz.mjs +26 -0
  264. package/dist/chunks/cli-1.1.18-ztyf20j1.mjs +2 -0
  265. package/dist/chunks/client-1.1.18-zdqzxpen.mjs +1 -0
  266. package/dist/chunks/color-1.1.18-qt7znj00.mjs +1 -0
  267. package/dist/chunks/compact-1.1.18-qev191am.mjs +3 -0
  268. package/dist/chunks/config-1.1.18-9kjysdvn.mjs +1 -0
  269. package/dist/chunks/config-1.1.18-am3webex.mjs +1 -0
  270. package/dist/chunks/constants-1.1.18-hdfyvthe.mjs +1 -0
  271. package/dist/chunks/context-1.1.18-ywdzshyf.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-1.1.18-ncf3febd.mjs +1 -0
  273. package/dist/chunks/conversation-1.1.18-h1q8gp2k.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-1.1.18-t0s2718z.mjs +1 -0
  275. package/dist/chunks/copy-1.1.18-66cbtmsa.mjs +9 -0
  276. package/dist/chunks/cost-1.1.18-350gegdk.mjs +1 -0
  277. package/dist/chunks/createSSHSession-1.1.18-vgmc8evp.mjs +1 -0
  278. package/dist/chunks/createSession-1.1.18-0e04rk8g.mjs +1 -0
  279. package/dist/chunks/debug-1.1.18-c4v63z13.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-1.1.18-jg2xdcgn.mjs +1534 -0
  281. package/dist/chunks/desktop-1.1.18-sghgn08z.mjs +1 -0
  282. package/dist/chunks/detectRepository-1.1.18-m0xvtgqt.mjs +1 -0
  283. package/dist/chunks/detection-1.1.18-d7kpetjp.mjs +1 -0
  284. package/dist/chunks/diff-1.1.18-y9e1gbv0.mjs +1 -0
  285. package/dist/chunks/doctor-1.1.18-me0b6eyh.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-1.1.18-d85k2x5j.mjs +1 -0
  287. package/dist/chunks/earlyInput-1.1.18-6jzg1a3e.mjs +1 -0
  288. package/dist/chunks/effort-1.1.18-kzqkmbjd.mjs +13 -0
  289. package/dist/chunks/engine-1.1.18-z5jbth81.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-1.1.18-1cqrnkp2.mjs +1 -0
  291. package/dist/chunks/envUtils-1.1.18-x298f5cb.mjs +1 -0
  292. package/dist/chunks/environmentSelection-1.1.18-6k9hzg6p.mjs +1 -0
  293. package/dist/chunks/environments-1.1.18-r0dv94mx.mjs +1 -0
  294. package/dist/chunks/errors-1.1.18-q6s6h2zs.mjs +1 -0
  295. package/dist/chunks/exampleCommands-1.1.18-0zc9623h.mjs +1 -0
  296. package/dist/chunks/execFileNoThrow-1.1.18-spcbfmbw.mjs +1 -0
  297. package/dist/chunks/exit-1.1.18-zvcsa8gc.mjs +1 -0
  298. package/dist/chunks/explorer-1.1.18-wf8yy5vj.mjs +1 -0
  299. package/dist/chunks/export-1.1.18-qeyf86rn.mjs +2 -0
  300. package/dist/chunks/extra-usage-1.1.18-t0cm4v50.mjs +1 -0
  301. package/dist/chunks/extra-usage-noninteractive-1.1.18-w6zswndv.mjs +1 -0
  302. package/dist/chunks/fast-1.1.18-c6bbr2sj.mjs +1 -0
  303. package/dist/chunks/feedback-1.1.18-8c9j05d9.mjs +14 -0
  304. package/dist/chunks/firstPartyEventLogger-1.1.18-mk3qv1p1.mjs +1 -0
  305. package/dist/chunks/git-1.1.18-716sc7rw.mjs +1 -0
  306. package/dist/chunks/githubModelsCredentials-1.1.18-60dnzg1p.mjs +1 -0
  307. package/dist/chunks/goal-1.1.18-8em4jke5.mjs +4 -0
  308. package/dist/chunks/growthbook-1.1.18-b3tgw6y3.mjs +1 -0
  309. package/dist/chunks/headless-1.1.18-b5szxwsw.mjs +2 -0
  310. package/dist/chunks/heapdump-1.1.18-vjq0hc7v.mjs +6 -0
  311. package/dist/chunks/help-1.1.18-21j0mh6r.mjs +1 -0
  312. package/dist/chunks/hookChains-1.1.18-hptz3v0e.mjs +3 -0
  313. package/dist/chunks/hooks-1.1.18-0zec4dds.mjs +1 -0
  314. package/dist/chunks/hooks-1.1.18-ha1g38hn.mjs +79 -0
  315. package/dist/chunks/ide-1.1.18-rkvs3qqd.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-1.1.18-nakzgnn7.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-1.1.18-qxn6m4rg.mjs +1 -0
  318. package/dist/chunks/index-1.1.18-0ha3tnh6.mjs +1 -0
  319. package/dist/chunks/index-1.1.18-18y0bk36.mjs +1 -0
  320. package/dist/chunks/index-1.1.18-1kzcw8rj.mjs +9 -0
  321. package/dist/chunks/index-1.1.18-3yaj9awp.mjs +1 -0
  322. package/dist/chunks/index-1.1.18-427vyn1s.mjs +1 -0
  323. package/dist/chunks/index-1.1.18-5aebjh6r.mjs +2 -0
  324. package/dist/chunks/index-1.1.18-7qw763sw.mjs +1 -0
  325. package/dist/chunks/index-1.1.18-9p90ysn2.mjs +23 -0
  326. package/dist/chunks/index-1.1.18-a31cga5m.mjs +1 -0
  327. package/dist/chunks/index-1.1.18-awg146jw.mjs +1 -0
  328. package/dist/chunks/index-1.1.18-bsk8rb63.mjs +1 -0
  329. package/dist/chunks/index-1.1.18-cvzxd0hz.mjs +1 -0
  330. package/dist/chunks/index-1.1.18-ejew46p1.mjs +1 -0
  331. package/dist/chunks/index-1.1.18-gdwz7smf.mjs +1 -0
  332. package/dist/chunks/index-1.1.18-hcwn8mp8.mjs +1 -0
  333. package/dist/chunks/index-1.1.18-j843bxtx.mjs +9 -0
  334. package/dist/chunks/index-1.1.18-jhj8ae5j.mjs +30 -0
  335. package/dist/chunks/index-1.1.18-k9471m74.mjs +1 -0
  336. package/dist/chunks/index-1.1.18-kvv48kwq.mjs +5 -0
  337. package/dist/chunks/index-1.1.18-n6ntpnas.mjs +1 -0
  338. package/dist/chunks/index-1.1.18-n8a9f3dp.mjs +2 -0
  339. package/dist/chunks/index-1.1.18-ppwdm9bc.mjs +1 -0
  340. package/dist/chunks/index-1.1.18-zaqj0a20.mjs +1 -0
  341. package/dist/chunks/init-1.1.18-kgjtv56b.mjs +1 -0
  342. package/dist/chunks/initReplBridge-1.1.18-we3h7znp.mjs +1 -0
  343. package/dist/chunks/ink-1.1.18-s45xz0d5.mjs +1 -0
  344. package/dist/chunks/insights-1.1.18-qxdn050x.mjs +870 -0
  345. package/dist/chunks/install-1.1.18-hrtjazqa.mjs +1 -0
  346. package/dist/chunks/install-github-app-1.1.18-9y1kn2dm.mjs +149 -0
  347. package/dist/chunks/install-slack-app-1.1.18-yfeb37pz.mjs +1 -0
  348. package/dist/chunks/instrumentation-1.1.18-0s0n0snp.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-1.1.18-vsnpskhb.mjs +1 -0
  350. package/dist/chunks/keybindings-1.1.18-6zbse835.mjs +2 -0
  351. package/dist/chunks/knowledge-1.1.18-6ex2a771.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-1.1.18-8dq1wk9a.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-1.1.18-4vpps6mn.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-1.1.18-4j6dvx4m.mjs +1 -0
  355. package/dist/chunks/log-1.1.18-ft9dg3fj.mjs +1 -0
  356. package/dist/chunks/main-1.1.18-s1hnrh3q.mjs +1 -0
  357. package/dist/chunks/managedEnv-1.1.18-jqjx86ng.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.18-24906cg4.mjs +1 -0
  359. package/dist/chunks/mcp-1.1.18-7t3h9h66.mjs +4 -0
  360. package/dist/chunks/mcp-1.1.18-ast61twg.mjs +17 -0
  361. package/dist/chunks/mcpb-1.1.18-snfk9dz9.mjs +1 -0
  362. package/dist/chunks/memory-1.1.18-7k51bcr6.mjs +72 -0
  363. package/dist/chunks/model-1.1.18-0njn3xdn.mjs +2 -0
  364. package/dist/chunks/model-1.1.18-ny459y9j.mjs +1 -0
  365. package/dist/chunks/node-1.1.18-gk5h7jp4.mjs +12 -0
  366. package/dist/chunks/oauth-1.1.18-w9bt5qvg.mjs +1 -0
  367. package/dist/chunks/openaiShim-1.1.18-xzt8j2wx.mjs +14 -0
  368. package/dist/chunks/output-style-1.1.18-q591t8v1.mjs +1 -0
  369. package/dist/chunks/package-KQCMZM5L-1.1.18-whakyscr.mjs +1 -0
  370. package/dist/chunks/parseConnectUrl-1.1.18-bwgbwc1r.mjs +1 -0
  371. package/dist/chunks/parser-1.1.18-qad863f5.mjs +1 -0
  372. package/dist/chunks/passes-1.1.18-t0hq8ewm.mjs +1 -0
  373. package/dist/chunks/permissions-1.1.18-5a7765tc.mjs +1 -0
  374. package/dist/chunks/permissions-1.1.18-ed8ysk2a.mjs +3 -0
  375. package/dist/chunks/plan-1.1.18-4hc85kck.mjs +1 -0
  376. package/dist/chunks/plist-1.1.18-7sdbzzm0.mjs +1 -0
  377. package/dist/chunks/plugin-1.1.18-9tkb7bap.mjs +29 -0
  378. package/dist/chunks/pluginStartupCheck-1.1.18-j31xzm3k.mjs +1 -0
  379. package/dist/chunks/plugins-1.1.18-ab7msm6m.mjs +9 -0
  380. package/dist/chunks/preActionHook-1.1.18-dkhj1e0v.mjs +2 -0
  381. package/dist/chunks/print-1.1.18-j2g7hv0n.mjs +57 -0
  382. package/dist/chunks/process-1.1.18-fvq9b7q3.mjs +1 -0
  383. package/dist/chunks/processBashCommand-1.1.18-vq69a3e4.mjs +1 -0
  384. package/dist/chunks/processSlashCommand-1.1.18-n1yqhpgg.mjs +9 -0
  385. package/dist/chunks/prompt-1.1.18-acbj3trk.mjs +1 -0
  386. package/dist/chunks/prompt-1.1.18-wh5jv6ay.mjs +1 -0
  387. package/dist/chunks/prompts-1.1.18-m0az7ynn.mjs +1 -0
  388. package/dist/chunks/protocolHandler-1.1.18-k2shdefe.mjs +13 -0
  389. package/dist/chunks/provider-1.1.18-g384d5y0.mjs +2 -0
  390. package/dist/chunks/providerProfiles-1.1.18-sehcrk96.mjs +1 -0
  391. package/dist/chunks/providerValidation-1.1.18-ge2ffym5.mjs +6 -0
  392. package/dist/chunks/rate-limit-options-1.1.18-9dst3c2h.mjs +1 -0
  393. package/dist/chunks/registerSubcommands-1.1.18-7t053hjx.mjs +26 -0
  394. package/dist/chunks/registry-1.1.18-xrd7m0b5.mjs +1 -0
  395. package/dist/chunks/release-notes-1.1.18-ayafp97j.mjs +5 -0
  396. package/dist/chunks/reload-plugins-1.1.18-hmvtf1f4.mjs +2 -0
  397. package/dist/chunks/remote-env-1.1.18-w9k53dqm.mjs +1 -0
  398. package/dist/chunks/remoteBridgeCore-1.1.18-ex403g4q.mjs +1 -0
  399. package/dist/chunks/remoteSession-1.1.18-4axy7j90.mjs +1 -0
  400. package/dist/chunks/rename-1.1.18-2v175525.mjs +1 -0
  401. package/dist/chunks/replBridgeHandle-1.1.18-z7ttbjsb.mjs +1 -0
  402. package/dist/chunks/replLauncher-1.1.18-4z8q3518.mjs +1 -0
  403. package/dist/chunks/resume-1.1.18-7s9nkn6h.mjs +2 -0
  404. package/dist/chunks/rewind-1.1.18-wwasabaf.mjs +1 -0
  405. package/dist/chunks/rootOptions-1.1.18-drrms6kn.mjs +1 -0
  406. package/dist/chunks/runWorkflowHeadless-1.1.18-grdmbjgn.mjs +10 -0
  407. package/dist/chunks/sandbox-adapter-1.1.18-4290hdqx.mjs +1 -0
  408. package/dist/chunks/sandbox-toggle-1.1.18-859vsbae.mjs +1 -0
  409. package/dist/chunks/session-1.1.18-ndwcefxm.mjs +2 -0
  410. package/dist/chunks/sessionDiscovery-1.1.18-mqhk62gm.mjs +1 -0
  411. package/dist/chunks/sessionFileAccessHooks-1.1.18-2ypck9c4.mjs +1 -0
  412. package/dist/chunks/sessionStorage-1.1.18-w8jyzxb1.mjs +1 -0
  413. package/dist/chunks/settings-1.1.18-8tv1qyh6.mjs +1 -0
  414. package/dist/chunks/setup-1.1.18-frcmhac0.mjs +12 -0
  415. package/dist/chunks/sinks-1.1.18-zxg6qwxv.mjs +1 -0
  416. package/dist/chunks/skills-1.1.18-zxh8yk9d.mjs +1 -0
  417. package/dist/chunks/startupProfiler-1.1.18-h7ey8bj0.mjs +1 -0
  418. package/dist/chunks/startupUpdateCheck-1.1.18-bws73cnz.mjs +1 -0
  419. package/dist/chunks/state-1.1.18-12hrspsf.mjs +1 -0
  420. package/dist/chunks/stats-1.1.18-kmhwdmq9.mjs +6 -0
  421. package/dist/chunks/status-1.1.18-4aep2t86.mjs +1 -0
  422. package/dist/chunks/stickers-1.1.18-20nhxd0w.mjs +1 -0
  423. package/dist/chunks/subprocessEnv-1.1.18-a6f6xtx7.mjs +1 -0
  424. package/dist/chunks/tasks-1.1.18-5brzcp4c.mjs +1 -0
  425. package/dist/chunks/teamHelpers-1.1.18-ewst0n42.mjs +1 -0
  426. package/dist/chunks/teammateModeSnapshot-1.1.18-n1rgqqyr.mjs +1 -0
  427. package/dist/chunks/teleport-1.1.18-e63krqkp.mjs +1 -0
  428. package/dist/chunks/terminalSetup-1.1.18-6nf0ex7b.mjs +1 -0
  429. package/dist/chunks/theme-1.1.18-egp4mwdb.mjs +1 -0
  430. package/dist/chunks/thinkback-1.1.18-wphxbpgs.mjs +1 -0
  431. package/dist/chunks/thinkback-play-1.1.18-rjmn2eej.mjs +1 -0
  432. package/dist/chunks/toolPool-1.1.18-s1ssr2ef.mjs +1 -0
  433. package/dist/chunks/toolSearch-1.1.18-c9cwkafr.mjs +1 -0
  434. package/dist/chunks/tools-1.1.18-1dqtpknx.mjs +1 -0
  435. package/dist/chunks/trustedDevice-1.1.18-3h8z5wdy.mjs +1 -0
  436. package/dist/chunks/turndown.cjs-1.1.18-e9b2pss1.mjs +69 -0
  437. package/dist/chunks/types-1.1.18-31emf7xp.mjs +1 -0
  438. package/dist/chunks/ultrareviewCommand-1.1.18-x96n2df3.mjs +4 -0
  439. package/dist/chunks/update-1.1.18-rfhbgb3x.mjs +72 -0
  440. package/dist/chunks/upgrade-1.1.18-5dd5b35g.mjs +1 -0
  441. package/dist/chunks/upload-1.1.18-6rcbt5xr.mjs +7 -0
  442. package/dist/chunks/upstreamproxy-1.1.18-xx3jrk14.mjs +14 -0
  443. package/dist/chunks/url-handler-napi-1.1.18-y4e042py.mjs +1 -0
  444. package/dist/chunks/usage-1.1.18-q3y9c6vk.mjs +1 -0
  445. package/dist/chunks/util-1.1.18-2vgfzdph.mjs +1 -0
  446. package/dist/chunks/utils-1.1.18-8tjbjr7v.mjs +1 -0
  447. package/dist/chunks/vim-1.1.18-44eqnfwb.mjs +1 -0
  448. package/dist/chunks/watchLoop-1.1.18-c2shb8qc.mjs +13 -0
  449. package/dist/chunks/watcher-1.1.18-cb1x3sr6.mjs +1 -0
  450. package/dist/chunks/wiki-1.1.18-r1abckjp.mjs +132 -0
  451. package/dist/chunks/workflows-1.1.18-jtx40wvq.mjs +1 -0
  452. package/dist/chunks/worktree-1.1.18-ds3kez7h.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-1.1.18-2wj8e6bc.mjs +1 -0
  454. package/dist/chunks/wrapper-1.1.18-shbmq2kg.mjs +7 -0
  455. package/dist/cli.mjs +2 -2
  456. package/dist/help-doctor.txt +3 -3
  457. package/dist/help-install.txt +2 -2
  458. package/dist/help-mcp.txt +2 -2
  459. package/dist/help-plugin.txt +2 -2
  460. package/dist/help-plugins.txt +2 -2
  461. package/dist/help.txt +3 -3
  462. package/package.json +9 -9
  463. package/dist/chunks/AgentTool-1.1.16-d8xg1846.mjs +0 -1
  464. package/dist/chunks/App-1.1.16-1qyat349.mjs +0 -1
  465. package/dist/chunks/ApproveApiKey-1.1.16-gphm4kr9.mjs +0 -1
  466. package/dist/chunks/AssistantSessionChooser-1.1.16-ae0771hz.mjs +0 -1
  467. package/dist/chunks/AutoModeOptInDialog-1.1.16-ntf57kwj.mjs +0 -1
  468. package/dist/chunks/BypassPermissionsModeDialog-1.1.16-z8km64vb.mjs +0 -1
  469. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.16-9c1nen0b.mjs +0 -1
  470. package/dist/chunks/ConsoleOAuthFlow-1.1.16-e52dm35b.mjs +0 -1
  471. package/dist/chunks/DiffDialog-1.1.16-frav7jtc.mjs +0 -6
  472. package/dist/chunks/Doctor-1.1.16-rnr2zeqm.mjs +0 -1
  473. package/dist/chunks/ExplorerDialog-1.1.16-32sa07f8.mjs +0 -6
  474. package/dist/chunks/ITermBackend-1.1.16-wcn0wvqj.mjs +0 -1
  475. package/dist/chunks/InvalidConfigDialog-1.1.16-ptpv0yby.mjs +0 -1
  476. package/dist/chunks/InvalidSettingsDialog-1.1.16-2c80150t.mjs +0 -1
  477. package/dist/chunks/MigrationDialog-1.1.16-xf5ytnvw.mjs +0 -1
  478. package/dist/chunks/Onboarding-1.1.16-mq6axxmv.mjs +0 -1
  479. package/dist/chunks/ProviderManager-1.1.16-df81g99v.mjs +0 -1
  480. package/dist/chunks/REPL-1.1.16-67e78vej.mjs +0 -1
  481. package/dist/chunks/ResumeConversation-1.1.16-nfz9vfxh.mjs +0 -1
  482. package/dist/chunks/SnapshotUpdateDialog-1.1.16-nmypjs9s.mjs +0 -1
  483. package/dist/chunks/TeleportProgress-1.1.16-8xp4cat6.mjs +0 -1
  484. package/dist/chunks/TeleportRepoMismatchDialog-1.1.16-b873egjf.mjs +0 -1
  485. package/dist/chunks/TeleportResumeWrapper-1.1.16-p12j7gbz.mjs +0 -1
  486. package/dist/chunks/TmuxBackend-1.1.16-wfj4hbxa.mjs +0 -9
  487. package/dist/chunks/ToolSearchTool-1.1.16-t59p4sqb.mjs +0 -1
  488. package/dist/chunks/TrustDialog-1.1.16-6gnr1pgn.mjs +0 -1
  489. package/dist/chunks/activeProvider-1.1.16-pz7hzyed.mjs +0 -1
  490. package/dist/chunks/add-dir-1.1.16-whsjbedt.mjs +0 -1
  491. package/dist/chunks/agentTypes-1.1.16-7fxyjypa.mjs +0 -1
  492. package/dist/chunks/agents-1.1.16-1d6y0xda.mjs +0 -3
  493. package/dist/chunks/agents-1.1.16-s5e41ewr.mjs +0 -110
  494. package/dist/chunks/api-1.1.16-k1mytgsx.mjs +0 -1
  495. package/dist/chunks/asciicast-1.1.16-bxvyntn8.mjs +0 -1
  496. package/dist/chunks/assistant-1.1.16-acqmddet.mjs +0 -1
  497. package/dist/chunks/auth-1.1.16-7nwthv6n.mjs +0 -1
  498. package/dist/chunks/auth-1.1.16-c46k0chb.mjs +0 -1
  499. package/dist/chunks/autoMode-1.1.16-t7thnrw0.mjs +0 -48
  500. package/dist/chunks/autoUpdater-1.1.16-5k3bxrjz.mjs +0 -1
  501. package/dist/chunks/backgroundHousekeeping-1.1.16-nhb6p8p3.mjs +0 -1
  502. package/dist/chunks/branch-1.1.16-72eesr6a.mjs +0 -4
  503. package/dist/chunks/bridge-1.1.16-8n6h1b8c.mjs +0 -2
  504. package/dist/chunks/bridgeConfig-1.1.16-jmz78ab3.mjs +0 -1
  505. package/dist/chunks/bridgeEnabled-1.1.16-nwrn0y9j.mjs +0 -1
  506. package/dist/chunks/bridgeMain-1.1.16-04vqwa21.mjs +0 -88
  507. package/dist/chunks/bridgePointer-1.1.16-krkxjxkj.mjs +0 -1
  508. package/dist/chunks/btw-1.1.16-h0jqrzph.mjs +0 -1
  509. package/dist/chunks/buddy-1.1.16-k6dwkrbz.mjs +0 -3
  510. package/dist/chunks/cache-probe-1.1.16-rk6d7v9j.mjs +0 -21
  511. package/dist/chunks/cacheStats-1.1.16-f3tggvs4.mjs +0 -4
  512. package/dist/chunks/caches-1.1.16-kxkg6hxt.mjs +0 -1
  513. package/dist/chunks/claudeDesktop-1.1.16-jggzvahb.mjs +0 -1
  514. package/dist/chunks/claudemd-1.1.16-7dtnkedr.mjs +0 -1
  515. package/dist/chunks/clear-1.1.16-qrpawrqq.mjs +0 -1
  516. package/dist/chunks/clearTerminal-1.1.16-hcv9w964.mjs +0 -1
  517. package/dist/chunks/cli-1.1.16-00hws7wd.mjs +0 -15
  518. package/dist/chunks/cli-1.1.16-02ynr76s.mjs +0 -2
  519. package/dist/chunks/cli-1.1.16-06f5zq2n.mjs +0 -3
  520. package/dist/chunks/cli-1.1.16-07smcaht.mjs +0 -2
  521. package/dist/chunks/cli-1.1.16-08mt7pd3.mjs +0 -26
  522. package/dist/chunks/cli-1.1.16-0chc168e.mjs +0 -2
  523. package/dist/chunks/cli-1.1.16-0w56n0k6.mjs +0 -2
  524. package/dist/chunks/cli-1.1.16-11vm4ckb.mjs +0 -3
  525. package/dist/chunks/cli-1.1.16-14fn34eq.mjs +0 -2
  526. package/dist/chunks/cli-1.1.16-14qj3fgz.mjs +0 -2
  527. package/dist/chunks/cli-1.1.16-16cpmrsq.mjs +0 -2
  528. package/dist/chunks/cli-1.1.16-1p0006m7.mjs +0 -2
  529. package/dist/chunks/cli-1.1.16-1rw7f88z.mjs +0 -2
  530. package/dist/chunks/cli-1.1.16-21rqtmb8.mjs +0 -2
  531. package/dist/chunks/cli-1.1.16-2c672gb7.mjs +0 -12
  532. package/dist/chunks/cli-1.1.16-2mzk1cmm.mjs +0 -2
  533. package/dist/chunks/cli-1.1.16-2ssqta47.mjs +0 -2
  534. package/dist/chunks/cli-1.1.16-2v8aceee.mjs +0 -2
  535. package/dist/chunks/cli-1.1.16-2xgcx2pv.mjs +0 -2
  536. package/dist/chunks/cli-1.1.16-3ha615b6.mjs +0 -2
  537. package/dist/chunks/cli-1.1.16-3k3hzdbv.mjs +0 -9
  538. package/dist/chunks/cli-1.1.16-3wey4s8m.mjs +0 -2
  539. package/dist/chunks/cli-1.1.16-48pfhgz1.mjs +0 -2
  540. package/dist/chunks/cli-1.1.16-49bqpfq6.mjs +0 -16
  541. package/dist/chunks/cli-1.1.16-4azerbgs.mjs +0 -2
  542. package/dist/chunks/cli-1.1.16-4eszpnge.mjs +0 -2
  543. package/dist/chunks/cli-1.1.16-4kbzs997.mjs +0 -2
  544. package/dist/chunks/cli-1.1.16-4pr1991p.mjs +0 -8
  545. package/dist/chunks/cli-1.1.16-4qysqchs.mjs +0 -24
  546. package/dist/chunks/cli-1.1.16-4v9hjjtt.mjs +0 -3
  547. package/dist/chunks/cli-1.1.16-50vqanyq.mjs +0 -4
  548. package/dist/chunks/cli-1.1.16-54087k9r.mjs +0 -2
  549. package/dist/chunks/cli-1.1.16-5a4a2nqs.mjs +0 -2
  550. package/dist/chunks/cli-1.1.16-5bx6tpmw.mjs +0 -2
  551. package/dist/chunks/cli-1.1.16-5dtt0nsq.mjs +0 -15
  552. package/dist/chunks/cli-1.1.16-5hfex73v.mjs +0 -2
  553. package/dist/chunks/cli-1.1.16-5vc6gf8n.mjs +0 -2
  554. package/dist/chunks/cli-1.1.16-5wsywzcq.mjs +0 -2
  555. package/dist/chunks/cli-1.1.16-65skb0g1.mjs +0 -2
  556. package/dist/chunks/cli-1.1.16-67hp7vy9.mjs +0 -2
  557. package/dist/chunks/cli-1.1.16-67yh08z2.mjs +0 -2
  558. package/dist/chunks/cli-1.1.16-69ma6qdv.mjs +0 -2
  559. package/dist/chunks/cli-1.1.16-6fekr49f.mjs +0 -2
  560. package/dist/chunks/cli-1.1.16-6ptafg83.mjs +0 -59
  561. package/dist/chunks/cli-1.1.16-72wxrwg0.mjs +0 -2
  562. package/dist/chunks/cli-1.1.16-7aatqp3z.mjs +0 -2
  563. package/dist/chunks/cli-1.1.16-7c9cj19v.mjs +0 -2
  564. package/dist/chunks/cli-1.1.16-7j9fntrz.mjs +0 -2
  565. package/dist/chunks/cli-1.1.16-7k62y2m1.mjs +0 -45
  566. package/dist/chunks/cli-1.1.16-7k7w1py7.mjs +0 -39
  567. package/dist/chunks/cli-1.1.16-7xaxs3ra.mjs +0 -18
  568. package/dist/chunks/cli-1.1.16-7z989ymx.mjs +0 -24
  569. package/dist/chunks/cli-1.1.16-892pqd2m.mjs +0 -3
  570. package/dist/chunks/cli-1.1.16-8azzqa5w.mjs +0 -2
  571. package/dist/chunks/cli-1.1.16-8brzp1nw.mjs +0 -6
  572. package/dist/chunks/cli-1.1.16-8efk3qjx.mjs +0 -2
  573. package/dist/chunks/cli-1.1.16-8pms22dq.mjs +0 -2
  574. package/dist/chunks/cli-1.1.16-90p1j6wj.mjs +0 -3
  575. package/dist/chunks/cli-1.1.16-9bvj95e0.mjs +0 -2
  576. package/dist/chunks/cli-1.1.16-9gc3v32k.mjs +0 -2
  577. package/dist/chunks/cli-1.1.16-9mjvq93j.mjs +0 -2
  578. package/dist/chunks/cli-1.1.16-9vaffwrt.mjs +0 -2
  579. package/dist/chunks/cli-1.1.16-9wfv4nx7.mjs +0 -2
  580. package/dist/chunks/cli-1.1.16-9zybbj79.mjs +0 -2
  581. package/dist/chunks/cli-1.1.16-a09ca16c.mjs +0 -2
  582. package/dist/chunks/cli-1.1.16-a2heems6.mjs +0 -2
  583. package/dist/chunks/cli-1.1.16-a6z5s072.mjs +0 -58
  584. package/dist/chunks/cli-1.1.16-aae4w645.mjs +0 -42
  585. package/dist/chunks/cli-1.1.16-acbajet0.mjs +0 -2
  586. package/dist/chunks/cli-1.1.16-amvj9fsw.mjs +0 -3
  587. package/dist/chunks/cli-1.1.16-b06spwrg.mjs +0 -21
  588. package/dist/chunks/cli-1.1.16-b7t8n05k.mjs +0 -2
  589. package/dist/chunks/cli-1.1.16-b80x5mp6.mjs +0 -2
  590. package/dist/chunks/cli-1.1.16-c6ydw1c8.mjs +0 -2
  591. package/dist/chunks/cli-1.1.16-c839tmen.mjs +0 -2
  592. package/dist/chunks/cli-1.1.16-c9b05x0s.mjs +0 -2
  593. package/dist/chunks/cli-1.1.16-cc5chgna.mjs +0 -2
  594. package/dist/chunks/cli-1.1.16-cddsh2r4.mjs +0 -25
  595. package/dist/chunks/cli-1.1.16-cmfztzmq.mjs +0 -2
  596. package/dist/chunks/cli-1.1.16-cmw3ar20.mjs +0 -2
  597. package/dist/chunks/cli-1.1.16-cnwnk7gb.mjs +0 -2
  598. package/dist/chunks/cli-1.1.16-cs3aeka5.mjs +0 -12
  599. package/dist/chunks/cli-1.1.16-d6tf8dzn.mjs +0 -20
  600. package/dist/chunks/cli-1.1.16-df44y8yq.mjs +0 -3
  601. package/dist/chunks/cli-1.1.16-dfr9axye.mjs +0 -2
  602. package/dist/chunks/cli-1.1.16-dh0eqfrb.mjs +0 -25
  603. package/dist/chunks/cli-1.1.16-dn98cknd.mjs +0 -6
  604. package/dist/chunks/cli-1.1.16-dqwre8s7.mjs +0 -2
  605. package/dist/chunks/cli-1.1.16-dqxwanh1.mjs +0 -2
  606. package/dist/chunks/cli-1.1.16-dtwt84pe.mjs +0 -6
  607. package/dist/chunks/cli-1.1.16-dtyn1qwz.mjs +0 -2
  608. package/dist/chunks/cli-1.1.16-dxyq8q3t.mjs +0 -18
  609. package/dist/chunks/cli-1.1.16-e0fmjnmt.mjs +0 -2
  610. package/dist/chunks/cli-1.1.16-e15bgq0q.mjs +0 -2
  611. package/dist/chunks/cli-1.1.16-eabt3s19.mjs +0 -2
  612. package/dist/chunks/cli-1.1.16-eatavqvn.mjs +0 -2
  613. package/dist/chunks/cli-1.1.16-eg2wh4gb.mjs +0 -2
  614. package/dist/chunks/cli-1.1.16-egxjzfe2.mjs +0 -34
  615. package/dist/chunks/cli-1.1.16-ejy0gvv1.mjs +0 -2
  616. package/dist/chunks/cli-1.1.16-f3tex0kv.mjs +0 -24
  617. package/dist/chunks/cli-1.1.16-f6arq2qw.mjs +0 -3
  618. package/dist/chunks/cli-1.1.16-f9d79a6c.mjs +0 -2
  619. package/dist/chunks/cli-1.1.16-fd7yx131.mjs +0 -2
  620. package/dist/chunks/cli-1.1.16-g0z56bnb.mjs +0 -2
  621. package/dist/chunks/cli-1.1.16-g2m8cf2k.mjs +0 -2
  622. package/dist/chunks/cli-1.1.16-gqgat9ps.mjs +0 -2
  623. package/dist/chunks/cli-1.1.16-gtw5ckd8.mjs +0 -2
  624. package/dist/chunks/cli-1.1.16-gyw71nnw.mjs +0 -2
  625. package/dist/chunks/cli-1.1.16-gze584gt.mjs +0 -2
  626. package/dist/chunks/cli-1.1.16-h1rfrt5t.mjs +0 -1
  627. package/dist/chunks/cli-1.1.16-haqxs2zy.mjs +0 -2
  628. package/dist/chunks/cli-1.1.16-hbzd5k64.mjs +0 -2
  629. package/dist/chunks/cli-1.1.16-hd541yqt.mjs +0 -5
  630. package/dist/chunks/cli-1.1.16-hf9kpgyk.mjs +0 -2
  631. package/dist/chunks/cli-1.1.16-hq7j37g9.mjs +0 -2
  632. package/dist/chunks/cli-1.1.16-htk59n0r.mjs +0 -2
  633. package/dist/chunks/cli-1.1.16-hwr77b8n.mjs +0 -5469
  634. package/dist/chunks/cli-1.1.16-hyxvna5x.mjs +0 -2
  635. package/dist/chunks/cli-1.1.16-j1hg5tkr.mjs +0 -3
  636. package/dist/chunks/cli-1.1.16-jcye29qq.mjs +0 -202
  637. package/dist/chunks/cli-1.1.16-k7hg3739.mjs +0 -2
  638. package/dist/chunks/cli-1.1.16-kf5fv5t0.mjs +0 -2
  639. package/dist/chunks/cli-1.1.16-kndxajhc.mjs +0 -2
  640. package/dist/chunks/cli-1.1.16-kpxhnxpz.mjs +0 -2
  641. package/dist/chunks/cli-1.1.16-kxckvss5.mjs +0 -4
  642. package/dist/chunks/cli-1.1.16-kz0jkcdc.mjs +0 -2
  643. package/dist/chunks/cli-1.1.16-m0b6tw88.mjs +0 -3
  644. package/dist/chunks/cli-1.1.16-m68wgnx0.mjs +0 -50
  645. package/dist/chunks/cli-1.1.16-manqzza5.mjs +0 -2
  646. package/dist/chunks/cli-1.1.16-mbr5p7h4.mjs +0 -2
  647. package/dist/chunks/cli-1.1.16-n37yee4e.mjs +0 -5
  648. package/dist/chunks/cli-1.1.16-n9r7jwvf.mjs +0 -4
  649. package/dist/chunks/cli-1.1.16-nbxzev2y.mjs +0 -3
  650. package/dist/chunks/cli-1.1.16-nh0pt7e0.mjs +0 -2
  651. package/dist/chunks/cli-1.1.16-njacmwr1.mjs +0 -4
  652. package/dist/chunks/cli-1.1.16-p0fj6fyd.mjs +0 -2
  653. package/dist/chunks/cli-1.1.16-pdga6t1k.mjs +0 -133
  654. package/dist/chunks/cli-1.1.16-pj3sbyjh.mjs +0 -2
  655. package/dist/chunks/cli-1.1.16-pzq1a8yw.mjs +0 -2
  656. package/dist/chunks/cli-1.1.16-q827fp1q.mjs +0 -2
  657. package/dist/chunks/cli-1.1.16-qh481y6y.mjs +0 -2
  658. package/dist/chunks/cli-1.1.16-qwgc24yv.mjs +0 -2
  659. package/dist/chunks/cli-1.1.16-qy3897dn.mjs +0 -2
  660. package/dist/chunks/cli-1.1.16-qyhfqd1t.mjs +0 -4
  661. package/dist/chunks/cli-1.1.16-r0tgqw2k.mjs +0 -4
  662. package/dist/chunks/cli-1.1.16-r102pkgg.mjs +0 -3
  663. package/dist/chunks/cli-1.1.16-r2q5qzd6.mjs +0 -2
  664. package/dist/chunks/cli-1.1.16-r3n44d17.mjs +0 -2
  665. package/dist/chunks/cli-1.1.16-r41v96xz.mjs +0 -6
  666. package/dist/chunks/cli-1.1.16-rb7paxmn.mjs +0 -2
  667. package/dist/chunks/cli-1.1.16-rmn7pfkz.mjs +0 -2
  668. package/dist/chunks/cli-1.1.16-rvyqa9q1.mjs +0 -2
  669. package/dist/chunks/cli-1.1.16-s404wy1x.mjs +0 -6
  670. package/dist/chunks/cli-1.1.16-s73aeg9m.mjs +0 -3
  671. package/dist/chunks/cli-1.1.16-sbck6gp1.mjs +0 -2
  672. package/dist/chunks/cli-1.1.16-sk0nvcb8.mjs +0 -2
  673. package/dist/chunks/cli-1.1.16-sk5cfvaa.mjs +0 -2
  674. package/dist/chunks/cli-1.1.16-t0vza3m9.mjs +0 -2
  675. package/dist/chunks/cli-1.1.16-t3hq60ht.mjs +0 -2
  676. package/dist/chunks/cli-1.1.16-t52j6pb6.mjs +0 -6
  677. package/dist/chunks/cli-1.1.16-t7jxtkz8.mjs +0 -2
  678. package/dist/chunks/cli-1.1.16-the4daty.mjs +0 -17
  679. package/dist/chunks/cli-1.1.16-tjqwb7e1.mjs +0 -2
  680. package/dist/chunks/cli-1.1.16-tjzxdkkt.mjs +0 -17
  681. package/dist/chunks/cli-1.1.16-tpxwx276.mjs +0 -2
  682. package/dist/chunks/cli-1.1.16-tv4kjnwq.mjs +0 -24
  683. package/dist/chunks/cli-1.1.16-tv97myza.mjs +0 -7
  684. package/dist/chunks/cli-1.1.16-v2e4pd3g.mjs +0 -2
  685. package/dist/chunks/cli-1.1.16-vchwnr3f.mjs +0 -2
  686. package/dist/chunks/cli-1.1.16-vf5x3nc4.mjs +0 -2
  687. package/dist/chunks/cli-1.1.16-vhwypfn6.mjs +0 -2
  688. package/dist/chunks/cli-1.1.16-vkc2wbwd.mjs +0 -2
  689. package/dist/chunks/cli-1.1.16-vngrsrs8.mjs +0 -3
  690. package/dist/chunks/cli-1.1.16-vq6g4ncg.mjs +0 -2
  691. package/dist/chunks/cli-1.1.16-vra6hr5d.mjs +0 -2
  692. package/dist/chunks/cli-1.1.16-vzv60xz8.mjs +0 -4
  693. package/dist/chunks/cli-1.1.16-w4zy236d.mjs +0 -2
  694. package/dist/chunks/cli-1.1.16-w5ns6t4b.mjs +0 -2
  695. package/dist/chunks/cli-1.1.16-way1d0g7.mjs +0 -2
  696. package/dist/chunks/cli-1.1.16-wbzh2wm5.mjs +0 -2
  697. package/dist/chunks/cli-1.1.16-wpgdph2x.mjs +0 -7
  698. package/dist/chunks/cli-1.1.16-wv6e57r1.mjs +0 -2
  699. package/dist/chunks/cli-1.1.16-wxyxm2zp.mjs +0 -2
  700. package/dist/chunks/cli-1.1.16-wysnfmek.mjs +0 -4
  701. package/dist/chunks/cli-1.1.16-wzzrc1xq.mjs +0 -2
  702. package/dist/chunks/cli-1.1.16-x0gywt7y.mjs +0 -2
  703. package/dist/chunks/cli-1.1.16-x1r7521q.mjs +0 -133
  704. package/dist/chunks/cli-1.1.16-x4k8bzvc.mjs +0 -2
  705. package/dist/chunks/cli-1.1.16-x9m0y8t1.mjs +0 -2
  706. package/dist/chunks/cli-1.1.16-xaye0g9z.mjs +0 -2
  707. package/dist/chunks/cli-1.1.16-xe8wmqtk.mjs +0 -15
  708. package/dist/chunks/cli-1.1.16-xfke0ngj.mjs +0 -2
  709. package/dist/chunks/cli-1.1.16-xqk1znpb.mjs +0 -2
  710. package/dist/chunks/cli-1.1.16-y11gejtr.mjs +0 -9
  711. package/dist/chunks/cli-1.1.16-y1vrwcq4.mjs +0 -2
  712. package/dist/chunks/cli-1.1.16-y4qp7bb2.mjs +0 -2
  713. package/dist/chunks/cli-1.1.16-ynvgphfk.mjs +0 -2
  714. package/dist/chunks/cli-1.1.16-yqaq6eek.mjs +0 -2
  715. package/dist/chunks/cli-1.1.16-yv8wazsp.mjs +0 -2
  716. package/dist/chunks/cli-1.1.16-yymrc4dd.mjs +0 -2
  717. package/dist/chunks/cli-1.1.16-yzrxqdz1.mjs +0 -4
  718. package/dist/chunks/cli-1.1.16-z56ew2eh.mjs +0 -66
  719. package/dist/chunks/cli-1.1.16-z93174n6.mjs +0 -2
  720. package/dist/chunks/cli-1.1.16-zedxs5mz.mjs +0 -2
  721. package/dist/chunks/cli-1.1.16-zgwt3v22.mjs +0 -2
  722. package/dist/chunks/cli-1.1.16-ztv6fvbq.mjs +0 -4
  723. package/dist/chunks/cli-1.1.16-zx2pqyak.mjs +0 -2
  724. package/dist/chunks/cli-1.1.16-zy1hy3m7.mjs +0 -3
  725. package/dist/chunks/cli-1.1.16-zzc307e7.mjs +0 -2
  726. package/dist/chunks/client-1.1.16-mxfnn25v.mjs +0 -1
  727. package/dist/chunks/color-1.1.16-kxb5k02m.mjs +0 -1
  728. package/dist/chunks/compact-1.1.16-zn3r524w.mjs +0 -3
  729. package/dist/chunks/config-1.1.16-866900pg.mjs +0 -1
  730. package/dist/chunks/config-1.1.16-pnqk3e4x.mjs +0 -1
  731. package/dist/chunks/constants-1.1.16-y8q2q4nx.mjs +0 -1
  732. package/dist/chunks/context-1.1.16-g23rxjdc.mjs +0 -1
  733. package/dist/chunks/context-noninteractive-1.1.16-cccdk7gt.mjs +0 -1
  734. package/dist/chunks/conversation-1.1.16-b3c8ysvx.mjs +0 -1
  735. package/dist/chunks/copilotHeaders-1.1.16-n2gqvrz3.mjs +0 -1
  736. package/dist/chunks/copy-1.1.16-evtbz4pr.mjs +0 -9
  737. package/dist/chunks/cost-1.1.16-je2dhky8.mjs +0 -1
  738. package/dist/chunks/createSSHSession-1.1.16-7bjctayt.mjs +0 -1
  739. package/dist/chunks/createSession-1.1.16-q7ezgde2.mjs +0 -1
  740. package/dist/chunks/debug-1.1.16-rwekwqaz.mjs +0 -1
  741. package/dist/chunks/defaultActionDeps-1.1.16-drefjcq7.mjs +0 -1534
  742. package/dist/chunks/desktop-1.1.16-s5p2s8z1.mjs +0 -1
  743. package/dist/chunks/detectRepository-1.1.16-0mj2v70d.mjs +0 -1
  744. package/dist/chunks/detection-1.1.16-a6g1ea8w.mjs +0 -1
  745. package/dist/chunks/diff-1.1.16-5c3cx6ex.mjs +0 -1
  746. package/dist/chunks/doctor-1.1.16-41p56y0f.mjs +0 -1
  747. package/dist/chunks/doctorDiagnostic-1.1.16-w0td1z7t.mjs +0 -1
  748. package/dist/chunks/earlyInput-1.1.16-fb3qxbjk.mjs +0 -1
  749. package/dist/chunks/effort-1.1.16-9gw3x1mz.mjs +0 -13
  750. package/dist/chunks/engine-1.1.16-35cg9rmx.mjs +0 -1
  751. package/dist/chunks/envLessBridgeConfig-1.1.16-1d34y7k2.mjs +0 -1
  752. package/dist/chunks/envUtils-1.1.16-4t6p0jjh.mjs +0 -1
  753. package/dist/chunks/environmentSelection-1.1.16-63yqca4b.mjs +0 -1
  754. package/dist/chunks/environments-1.1.16-zg1cebes.mjs +0 -1
  755. package/dist/chunks/errors-1.1.16-5ry90xtn.mjs +0 -1
  756. package/dist/chunks/exampleCommands-1.1.16-gctdwyey.mjs +0 -1
  757. package/dist/chunks/execFileNoThrow-1.1.16-ja5wfnqk.mjs +0 -1
  758. package/dist/chunks/exit-1.1.16-gp3attw5.mjs +0 -1
  759. package/dist/chunks/explorer-1.1.16-ksz2kh3r.mjs +0 -1
  760. package/dist/chunks/export-1.1.16-4q6eppsd.mjs +0 -2
  761. package/dist/chunks/extra-usage-1.1.16-gtvkswnt.mjs +0 -1
  762. package/dist/chunks/extra-usage-noninteractive-1.1.16-y936p9yp.mjs +0 -1
  763. package/dist/chunks/fast-1.1.16-9d3xqrpf.mjs +0 -1
  764. package/dist/chunks/feedback-1.1.16-3va6ar52.mjs +0 -14
  765. package/dist/chunks/firstPartyEventLogger-1.1.16-rzm5ms2c.mjs +0 -1
  766. package/dist/chunks/git-1.1.16-wxjpazsv.mjs +0 -1
  767. package/dist/chunks/githubModelsCredentials-1.1.16-8db65cwz.mjs +0 -1
  768. package/dist/chunks/goal-1.1.16-n6zn5hv0.mjs +0 -4
  769. package/dist/chunks/growthbook-1.1.16-595crq4b.mjs +0 -1
  770. package/dist/chunks/headless-1.1.16-ngrfttd2.mjs +0 -2
  771. package/dist/chunks/heapdump-1.1.16-xeq6wdmt.mjs +0 -6
  772. package/dist/chunks/help-1.1.16-cr6p1e9d.mjs +0 -1
  773. package/dist/chunks/hookChains-1.1.16-9h14zpb6.mjs +0 -3
  774. package/dist/chunks/hooks-1.1.16-1g8bmj2c.mjs +0 -79
  775. package/dist/chunks/hooks-1.1.16-n1gmh33c.mjs +0 -1
  776. package/dist/chunks/ide-1.1.16-9vtwyzje.mjs +0 -3
  777. package/dist/chunks/image-processor-napi-1.1.16-xs3s51me.mjs +0 -1
  778. package/dist/chunks/inboundAttachments-1.1.16-c6drgpf3.mjs +0 -1
  779. package/dist/chunks/index-1.1.16-18yhpv52.mjs +0 -23
  780. package/dist/chunks/index-1.1.16-2rsmxhr2.mjs +0 -30
  781. package/dist/chunks/index-1.1.16-2xc5zjwe.mjs +0 -5
  782. package/dist/chunks/index-1.1.16-3cscsx0v.mjs +0 -1
  783. package/dist/chunks/index-1.1.16-3vpat7c1.mjs +0 -9
  784. package/dist/chunks/index-1.1.16-3zhbr1qd.mjs +0 -1
  785. package/dist/chunks/index-1.1.16-54nbfa3c.mjs +0 -1
  786. package/dist/chunks/index-1.1.16-6f495kq6.mjs +0 -1
  787. package/dist/chunks/index-1.1.16-82gx3ah5.mjs +0 -1
  788. package/dist/chunks/index-1.1.16-ap17zed0.mjs +0 -1
  789. package/dist/chunks/index-1.1.16-b07w4tdb.mjs +0 -1
  790. package/dist/chunks/index-1.1.16-cca87zba.mjs +0 -9
  791. package/dist/chunks/index-1.1.16-dxjx9gq8.mjs +0 -1
  792. package/dist/chunks/index-1.1.16-ehk0dpk3.mjs +0 -1
  793. package/dist/chunks/index-1.1.16-g6p5h9x8.mjs +0 -1
  794. package/dist/chunks/index-1.1.16-hsmqsx4f.mjs +0 -2
  795. package/dist/chunks/index-1.1.16-n1gyvm02.mjs +0 -1
  796. package/dist/chunks/index-1.1.16-ppkq03k8.mjs +0 -1
  797. package/dist/chunks/index-1.1.16-qpdm2q81.mjs +0 -1
  798. package/dist/chunks/index-1.1.16-qww85f6n.mjs +0 -1
  799. package/dist/chunks/index-1.1.16-s5e31nps.mjs +0 -1
  800. package/dist/chunks/index-1.1.16-v1zrqah7.mjs +0 -2
  801. package/dist/chunks/index-1.1.16-vbj2a5jp.mjs +0 -1
  802. package/dist/chunks/init-1.1.16-6wdrdz2r.mjs +0 -1
  803. package/dist/chunks/initReplBridge-1.1.16-6bhkywe8.mjs +0 -1
  804. package/dist/chunks/ink-1.1.16-e7whmjxf.mjs +0 -1
  805. package/dist/chunks/insights-1.1.16-s2czmsxt.mjs +0 -870
  806. package/dist/chunks/install-1.1.16-hm3j0jqe.mjs +0 -1
  807. package/dist/chunks/install-github-app-1.1.16-xmkdh35y.mjs +0 -149
  808. package/dist/chunks/install-slack-app-1.1.16-1a8z176x.mjs +0 -1
  809. package/dist/chunks/instrumentation-1.1.16-5tqqjvsb.mjs +0 -1
  810. package/dist/chunks/interactiveHelpers-1.1.16-49sn5m39.mjs +0 -1
  811. package/dist/chunks/keybindings-1.1.16-c6n8k84r.mjs +0 -2
  812. package/dist/chunks/knowledge-1.1.16-08yzaswd.mjs +0 -2
  813. package/dist/chunks/latestVersionCache-1.1.16-a0dks1p1.mjs +0 -1
  814. package/dist/chunks/loadAgentsDir-1.1.16-jbfc3ync.mjs +0 -1
  815. package/dist/chunks/loadPluginHooks-1.1.16-0pym4ad2.mjs +0 -1
  816. package/dist/chunks/log-1.1.16-yahqz556.mjs +0 -1
  817. package/dist/chunks/main-1.1.16-2egj6bns.mjs +0 -1
  818. package/dist/chunks/managedEnv-1.1.16-tgd635vq.mjs +0 -1
  819. package/dist/chunks/mcp-1.1.16-fkx2awnj.mjs +0 -17
  820. package/dist/chunks/mcp-1.1.16-n7sgsh7q.mjs +0 -1
  821. package/dist/chunks/mcp-1.1.16-ry6g2t33.mjs +0 -4
  822. package/dist/chunks/mcpb-1.1.16-74c05aj3.mjs +0 -1
  823. package/dist/chunks/memory-1.1.16-6jbqggnn.mjs +0 -72
  824. package/dist/chunks/model-1.1.16-3bvzfbem.mjs +0 -2
  825. package/dist/chunks/model-1.1.16-sjpwhja7.mjs +0 -1
  826. package/dist/chunks/node-1.1.16-gsj0fpm7.mjs +0 -12
  827. package/dist/chunks/oauth-1.1.16-bt9x98w7.mjs +0 -1
  828. package/dist/chunks/openaiShim-1.1.16-8gems3mz.mjs +0 -14
  829. package/dist/chunks/output-style-1.1.16-embrry9v.mjs +0 -1
  830. package/dist/chunks/package-KQCMZM5L-1.1.16-d3m1d21p.mjs +0 -1
  831. package/dist/chunks/parseConnectUrl-1.1.16-zffe39j3.mjs +0 -1
  832. package/dist/chunks/parser-1.1.16-3ps9dtdr.mjs +0 -1
  833. package/dist/chunks/passes-1.1.16-n0a3pvdf.mjs +0 -1
  834. package/dist/chunks/permissions-1.1.16-jk4pmrmf.mjs +0 -3
  835. package/dist/chunks/permissions-1.1.16-wnz2vr3h.mjs +0 -1
  836. package/dist/chunks/plan-1.1.16-rtkh7eh3.mjs +0 -1
  837. package/dist/chunks/plist-1.1.16-t71wt7sc.mjs +0 -1
  838. package/dist/chunks/plugin-1.1.16-t9jaj1gv.mjs +0 -29
  839. package/dist/chunks/pluginStartupCheck-1.1.16-c6cf7tmk.mjs +0 -1
  840. package/dist/chunks/plugins-1.1.16-73hwgvfk.mjs +0 -9
  841. package/dist/chunks/preActionHook-1.1.16-nthzxbp9.mjs +0 -2
  842. package/dist/chunks/print-1.1.16-armgf1aq.mjs +0 -57
  843. package/dist/chunks/process-1.1.16-3ct2vh70.mjs +0 -1
  844. package/dist/chunks/processBashCommand-1.1.16-89y7gsbx.mjs +0 -1
  845. package/dist/chunks/processSlashCommand-1.1.16-1kjtbhx2.mjs +0 -9
  846. package/dist/chunks/prompt-1.1.16-0386v4at.mjs +0 -1
  847. package/dist/chunks/prompt-1.1.16-k5y0dpf7.mjs +0 -1
  848. package/dist/chunks/prompts-1.1.16-xsnbw92m.mjs +0 -1
  849. package/dist/chunks/protocolHandler-1.1.16-yx039y6v.mjs +0 -13
  850. package/dist/chunks/provider-1.1.16-m0kk3yhs.mjs +0 -2
  851. package/dist/chunks/providerProfiles-1.1.16-2v2pwv6d.mjs +0 -1
  852. package/dist/chunks/providerValidation-1.1.16-282tqjjx.mjs +0 -6
  853. package/dist/chunks/rate-limit-options-1.1.16-avgds6pk.mjs +0 -1
  854. package/dist/chunks/registerSubcommands-1.1.16-mzwjj9v6.mjs +0 -26
  855. package/dist/chunks/registry-1.1.16-n34j5qfk.mjs +0 -1
  856. package/dist/chunks/release-notes-1.1.16-8q4sx928.mjs +0 -5
  857. package/dist/chunks/reload-plugins-1.1.16-7znfn6r1.mjs +0 -2
  858. package/dist/chunks/remote-env-1.1.16-pv7edzf2.mjs +0 -1
  859. package/dist/chunks/remoteBridgeCore-1.1.16-jv7q72cp.mjs +0 -1
  860. package/dist/chunks/remoteSession-1.1.16-mmf3btpt.mjs +0 -1
  861. package/dist/chunks/rename-1.1.16-m3xv2hvc.mjs +0 -1
  862. package/dist/chunks/replBridgeHandle-1.1.16-0vph2kjs.mjs +0 -1
  863. package/dist/chunks/replLauncher-1.1.16-g5z9jade.mjs +0 -1
  864. package/dist/chunks/resume-1.1.16-40c9ahqr.mjs +0 -2
  865. package/dist/chunks/rewind-1.1.16-tpy93a43.mjs +0 -1
  866. package/dist/chunks/rootOptions-1.1.16-3apcbhbp.mjs +0 -1
  867. package/dist/chunks/runWorkflowHeadless-1.1.16-ejyeyghc.mjs +0 -10
  868. package/dist/chunks/sandbox-adapter-1.1.16-xb7gb62s.mjs +0 -1
  869. package/dist/chunks/sandbox-toggle-1.1.16-pm4wkyc5.mjs +0 -1
  870. package/dist/chunks/session-1.1.16-vrf7bvfv.mjs +0 -2
  871. package/dist/chunks/sessionDiscovery-1.1.16-e919fb36.mjs +0 -1
  872. package/dist/chunks/sessionFileAccessHooks-1.1.16-6sbxmck5.mjs +0 -1
  873. package/dist/chunks/sessionStorage-1.1.16-1pd52qxc.mjs +0 -1
  874. package/dist/chunks/settings-1.1.16-0twvg2yc.mjs +0 -1
  875. package/dist/chunks/setup-1.1.16-mhj053ej.mjs +0 -12
  876. package/dist/chunks/sinks-1.1.16-10wxx1a3.mjs +0 -1
  877. package/dist/chunks/skills-1.1.16-r7v633j2.mjs +0 -1
  878. package/dist/chunks/startupProfiler-1.1.16-mmrhkw7p.mjs +0 -1
  879. package/dist/chunks/startupUpdateCheck-1.1.16-8tj1n7gt.mjs +0 -1
  880. package/dist/chunks/state-1.1.16-8zy52d2r.mjs +0 -1
  881. package/dist/chunks/stats-1.1.16-mrmhzc8j.mjs +0 -6
  882. package/dist/chunks/status-1.1.16-qpanvb67.mjs +0 -1
  883. package/dist/chunks/stickers-1.1.16-0d4zm7x4.mjs +0 -1
  884. package/dist/chunks/subprocessEnv-1.1.16-3pz224am.mjs +0 -1
  885. package/dist/chunks/tasks-1.1.16-cv8bsqt6.mjs +0 -1
  886. package/dist/chunks/teamHelpers-1.1.16-yrkqrc58.mjs +0 -1
  887. package/dist/chunks/teammateModeSnapshot-1.1.16-xgaxxh5q.mjs +0 -1
  888. package/dist/chunks/teleport-1.1.16-rhtckzvp.mjs +0 -1
  889. package/dist/chunks/terminalSetup-1.1.16-fptwmgph.mjs +0 -1
  890. package/dist/chunks/theme-1.1.16-4tskjw6p.mjs +0 -1
  891. package/dist/chunks/thinkback-1.1.16-d1x5jsx0.mjs +0 -1
  892. package/dist/chunks/thinkback-play-1.1.16-54xyd092.mjs +0 -1
  893. package/dist/chunks/toolPool-1.1.16-ga5s9f1k.mjs +0 -1
  894. package/dist/chunks/toolSearch-1.1.16-xw1xa379.mjs +0 -1
  895. package/dist/chunks/tools-1.1.16-h2yhp23r.mjs +0 -1
  896. package/dist/chunks/trustedDevice-1.1.16-nrdjhk2z.mjs +0 -1
  897. package/dist/chunks/turndown.cjs-1.1.16-4yvp9q16.mjs +0 -69
  898. package/dist/chunks/types-1.1.16-47y90s0f.mjs +0 -1
  899. package/dist/chunks/ultrareviewCommand-1.1.16-ej1e8hkt.mjs +0 -4
  900. package/dist/chunks/update-1.1.16-rtkcq95j.mjs +0 -72
  901. package/dist/chunks/upgrade-1.1.16-52bm5sf9.mjs +0 -1
  902. package/dist/chunks/upload-1.1.16-m2wyhzek.mjs +0 -7
  903. package/dist/chunks/upstreamproxy-1.1.16-vwczyqak.mjs +0 -14
  904. package/dist/chunks/url-handler-napi-1.1.16-qa109pxx.mjs +0 -1
  905. package/dist/chunks/usage-1.1.16-yqk04de2.mjs +0 -1
  906. package/dist/chunks/util-1.1.16-5f2kcd2a.mjs +0 -1
  907. package/dist/chunks/utils-1.1.16-pgvxvt37.mjs +0 -1
  908. package/dist/chunks/vim-1.1.16-9pd3j7qj.mjs +0 -1
  909. package/dist/chunks/watchLoop-1.1.16-wdxk66eb.mjs +0 -13
  910. package/dist/chunks/watcher-1.1.16-cd9fad12.mjs +0 -1
  911. package/dist/chunks/wiki-1.1.16-8290ftnh.mjs +0 -132
  912. package/dist/chunks/workflows-1.1.16-f4k926bs.mjs +0 -1
  913. package/dist/chunks/worktree-1.1.16-4s4hp83q.mjs +0 -1
  914. package/dist/chunks/worktreeModeEnabled-1.1.16-je59whhd.mjs +0 -1
  915. package/dist/chunks/wrapper-1.1.16-dfsehczs.mjs +0 -7
@@ -1,9 +0,0 @@
1
- import{gC as p,sC as o}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import{f3 as E,g3 as F,h3 as c,l3 as i}from"./cli-1.1.16-8azzqa5w.mjs";import{n3 as v,o3 as V,p3 as H,q3 as R,r3 as M,t3 as l}from"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import{E7 as _,F7 as d}from"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{Dga as W,I_ as B,K_ as I,Lga as g,laa as A,naa as w}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import{Ika as q,Lka as T}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Ssa as S}from"./cli-1.1.16-w5ns6t4b.mjs";function C(){return _(m)}function u(){let z,G=new Promise((K)=>{z=K}),J=D;return D=G,J.then(()=>z)}function P(z){return{red:"red",blue:"blue",green:"green",yellow:"yellow",purple:"magenta",orange:"colour208",pink:"colour205",cyan:"cyan"}[z]}function Y(z){return B(H,z)}function $(z){return B(H,["-L",M(),...z])}class N{type="tmux";displayName="tmux";supportsHideShow=!0;async isAvailable(){return c()}async isRunningInside(){return E()}async createTeammatePaneInSwarmView(z,G){let J=await u();try{if(await this.isRunningInside())return await this.createTeammatePaneWithLeader(z,G);return await this.createTeammatePaneExternal(z,G)}finally{J()}}async sendCommandToPane(z,G,J=!1){let Q=await(J?$:Y)(["send-keys","-t",z,G,"Enter"]);if(Q.code!==0)throw Error(`Failed to send command to pane ${z}: ${Q.stderr}`)}async setPaneBorderColor(z,G,J=!1){let K=P(G),Q=J?$:Y;await Q(["select-pane","-t",z,"-P",`bg=default,fg=${K}`]),await Q(["set-option","-p","-t",z,"pane-border-style",`fg=${K}`]),await Q(["set-option","-p","-t",z,"pane-active-border-style",`fg=${K}`])}async setPaneTitle(z,G,J,K=!1){let Q=P(J),j=K?$:Y;await j(["select-pane","-t",z,"-T",G]),await j(["set-option","-p","-t",z,"pane-border-format",`#[fg=${Q},bold] #{pane_title} #[default]`])}async enablePaneBorderStatus(z,G=!1){let J=z||await this.getCurrentWindowTarget();if(!J)return;await(G?$:Y)(["set-option","-w","-t",J,"pane-border-status","top"])}async rebalancePanes(z,G){if(G)await this.rebalancePanesWithLeader(z);else await this.rebalancePanesTiled(z)}async killPane(z,G=!1){return(await(G?$:Y)(["kill-pane","-t",z])).code===0}async hidePane(z,G=!1){let J=G?$:Y;await J(["new-session","-d","-s",R]);let K=await J(["break-pane","-d","-s",z,"-t",`${R}:`]);if(K.code===0)q(`[TmuxBackend] Hidden pane ${z}`);else q(`[TmuxBackend] Failed to hide pane ${z}: ${K.stderr}`);return K.code===0}async showPane(z,G,J=!1){let K=J?$:Y,Q=await K(["join-pane","-h","-s",z,"-t",G]);if(Q.code!==0)return q(`[TmuxBackend] Failed to show pane ${z}: ${Q.stderr}`),!1;q(`[TmuxBackend] Showed pane ${z} in ${G}`),await K(["select-layout","-t",G,"main-vertical"]);let Z=(await K(["list-panes","-t",G,"-F","#{pane_id}"])).stdout.trim().split(`
2
- `).filter(Boolean);if(Z[0])await K(["resize-pane","-t",Z[0],"-x","30%"]);return!0}async getCurrentPaneId(){let z=F();if(z)return z;let G=await B(H,["display-message","-p","#{pane_id}"]);if(G.code!==0)return q(`[TmuxBackend] Failed to get current pane ID (exit ${G.code}): ${G.stderr}`),null;return G.stdout.trim()}async getCurrentWindowTarget(){if(h)return h;let z=F(),G=["display-message"];if(z)G.push("-t",z);G.push("-p","#{session_name}:#{window_index}");let J=await B(H,G);if(J.code!==0)return q(`[TmuxBackend] Failed to get current window target (exit ${J.code}): ${J.stderr}`),null;return h=J.stdout.trim(),h}async getCurrentWindowPaneCount(z,G=!1){let J=z||await this.getCurrentWindowTarget();if(!J)return null;let K=["list-panes","-t",J,"-F","#{pane_id}"],Q=G?await $(K):await Y(K);if(Q.code!==0)return W(Error(`[TmuxBackend] Failed to get pane count for ${J} (exit ${Q.code}): ${Q.stderr}`)),null;return A(Q.stdout.trim().split(`
3
- `),Boolean)}async hasSessionInSwarm(z){return(await $(["has-session","-t",z])).code===0}async createExternalSwarmSession(){if(!await this.hasSessionInSwarm(v)){let j=await $(["new-session","-d","-s",v,"-n",V,"-P","-F","#{pane_id}"]);if(j.code!==0)throw Error(`Failed to create swarm session: ${j.stderr||"Unknown error"}`);let Z=j.stdout.trim(),f=`${v}:${V}`;return q(`[TmuxBackend] Created external swarm session with window ${f}, pane ${Z}`),{windowTarget:f,paneId:Z}}let J=(await $(["list-windows","-t",v,"-F","#{window_name}"])).stdout.trim().split(`
4
- `).filter(Boolean),K=`${v}:${V}`;if(J.includes(V)){let Z=(await $(["list-panes","-t",K,"-F","#{pane_id}"])).stdout.trim().split(`
5
- `).filter(Boolean);return{windowTarget:K,paneId:Z[0]||""}}let Q=await $(["new-window","-t",v,"-n",V,"-P","-F","#{pane_id}"]);if(Q.code!==0)throw Error(`Failed to create swarm-view window: ${Q.stderr||"Unknown error"}`);return{windowTarget:K,paneId:Q.stdout.trim()}}async createTeammatePaneWithLeader(z,G){let J=await this.getCurrentPaneId(),K=await this.getCurrentWindowTarget();if(!J||!K)throw Error("Could not determine current tmux pane/window");let Q=await this.getCurrentWindowPaneCount(K);if(Q===null)throw Error("Could not determine pane count for current window");let j=Q===1,Z;if(j)Z=await B(H,["split-window","-t",J,"-h","-l","70%","-P","-F","#{pane_id}"]);else{let y=(await B(H,["list-panes","-t",K,"-F","#{pane_id}"])).stdout.trim().split(`
6
- `).filter(Boolean).slice(1),b=y.length,U=b%2===1,k=Math.floor((b-1)/2),x=y[k]||y[y.length-1];Z=await B(H,["split-window","-t",x,U?"-v":"-h","-P","-F","#{pane_id}"])}if(Z.code!==0)throw Error(`Failed to create teammate pane: ${Z.stderr}`);let f=Z.stdout.trim();return q(`[TmuxBackend] Created teammate pane for ${z}: ${f}`),await this.setPaneBorderColor(f,G),await this.setPaneTitle(f,z,G),await this.rebalancePanesWithLeader(K),await C(),{paneId:f,isFirstTeammate:j}}async createTeammatePaneExternal(z,G){let{windowTarget:J,paneId:K}=await this.createExternalSwarmSession(),Q=await this.getCurrentWindowPaneCount(J,!0);if(Q===null)throw Error("Could not determine pane count for swarm window");let j=!O&&Q===1,Z;if(j)Z=K,O=!0,q(`[TmuxBackend] Using initial pane for first teammate ${z}: ${Z}`),await this.enablePaneBorderStatus(J,!0);else{let X=(await $(["list-panes","-t",J,"-F","#{pane_id}"])).stdout.trim().split(`
7
- `).filter(Boolean),L=X.length,y=L%2===1,b=Math.floor((L-1)/2),U=X[b]||X[X.length-1],k=await $(["split-window","-t",U,y?"-v":"-h","-P","-F","#{pane_id}"]);if(k.code!==0)throw Error(`Failed to create teammate pane: ${k.stderr}`);Z=k.stdout.trim(),q(`[TmuxBackend] Created teammate pane for ${z}: ${Z}`)}return await this.setPaneBorderColor(Z,G,!0),await this.setPaneTitle(Z,z,G,!0),await this.rebalancePanesTiled(J),await C(),{paneId:Z,isFirstTeammate:j}}async rebalancePanesWithLeader(z){let J=(await Y(["list-panes","-t",z,"-F","#{pane_id}"])).stdout.trim().split(`
8
- `).filter(Boolean);if(J.length<=2)return;await Y(["select-layout","-t",z,"main-vertical"]);let K=J[0];await Y(["resize-pane","-t",K,"-x","30%"]),q(`[TmuxBackend] Rebalanced ${J.length-1} teammate panes with leader`)}async rebalancePanesTiled(z){let J=(await $(["list-panes","-t",z,"-F","#{pane_id}"])).stdout.trim().split(`
9
- `).filter(Boolean);if(J.length<=1)return;await $(["select-layout","-t",z,"tiled"]),q(`[TmuxBackend] Rebalanced ${J.length} teammate panes with tiled layout`)}}var O=!1,h=null,D,m=200;var s=S(()=>{T();I();g();w();d();l();i();o();D=Promise.resolve();p(N)});s();export{N as TmuxBackend};
@@ -1 +0,0 @@
1
- import{BD as a,CD as b,DD as c,ED as d,FD as e}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";e();export{b as outputSchema,a as inputSchema,c as clearToolSearchDescriptionCache,d as ToolSearchTool};
@@ -1 +0,0 @@
1
- import{AG as vq,BG as rq,DS as _,HS as nq,Sm as m,TM as Dq,Tm as pq,bN as aq,fj as U,gj as Qq,vG as Tq,xG as cq}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import{mU as Jq,nU as Aq}from"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import{AY as kq,BY as iq,vY as wq,xY as mq}from"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import{B1 as gq,W0 as Vq,Y0 as f,a1 as Mq,xZ as uq}from"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import{$3 as fq,Y3 as r,Z3 as X,_3 as G}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as $q}from"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{Bea as Kq,Fda as Q,Rea as Lq,Tda as Hq,dfa as Sq}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import{Ria as c,Tia as lq}from"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import{Fja as i,Ija as dq}from"./cli-1.1.16-5a4a2nqs.mjs";import{uka as Pq,yka as hq}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import{Wpa as Nq,era as _q}from"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Osa as Rq}from"./cli-1.1.16-w5ns6t4b.mjs";dq();_q();iq();gq();mq();aq();Qq();Sq();lq();hq();nq();cq();rq();var Fq=Rq(uq(),1),Oq=Rq($q(),1);import{homedir as Gq}from"os";Hq();Qq();Aq();pq();function n(z){if(z===null||z.disableAllHooks)return!1;if(z.statusLine)return!0;if(z.fileSuggestion)return!0;if(!z.hooks)return!1;for(let q of Object.values(z.hooks))if(q.length>0)return!0;return!1}function Uq(){let z=[],q=Q("projectSettings");if(n(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(n(J))z.push(".claudin/settings.local.json");return z}function o(z){return z.some((q)=>q.ruleBehavior==="allow"&&(q.ruleValue.toolName===U||q.ruleValue.toolName.startsWith(U+"(")))}function Xq(){let z=[],q=m("projectSettings");if(o(q))z.push(".claudin/settings.json");let J=m("localSettings");if(o(J))z.push(".claudin/settings.local.json");return z}function e(z){return!!z?.otelHeadersHelper}function Yq(){let z=[],q=Q("projectSettings");if(e(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(e(J))z.push(".claudin/settings.local.json");return z}function s(z){return!!z?.apiKeyHelper}function Zq(){let z=[],q=Q("projectSettings");if(s(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(s(J))z.push(".claudin/settings.local.json");return z}function t(z){return!!(z?.awsAuthRefresh||z?.awsCredentialExport)}function Iq(){let z=[],q=Q("projectSettings");if(t(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(t(J))z.push(".claudin/settings.local.json");return z}function qq(z){return!!z?.gcpAuthRefresh}function Wq(){let z=[],q=Q("projectSettings");if(qq(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(qq(J))z.push(".claudin/settings.local.json");return z}function zq(z){if(!z?.env)return!1;return Object.keys(z.env).some((q)=>!Jq.has(q.toUpperCase()))}function bq(){let z=[],q=Q("projectSettings");if(zq(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(zq(J))z.push(".claudin/settings.local.json");return z}fq();function jz(z){let q=Fq.c(33),{onDone:J,commands:Z}=z,R;if(q[0]===Symbol.for("react.memo_cache_sentinel"))R=Dq("project"),q[0]=R;else R=q[0];let{servers:Bq}=R,N;if(q[1]===Symbol.for("react.memo_cache_sentinel"))N=Object.keys(Bq),q[1]=N;else N=q[1];let d=N.length>0,P;if(q[2]===Symbol.for("react.memo_cache_sentinel"))P=Uq(),q[2]=P;else P=q[2];let h=P.length>0,K;if(q[3]===Symbol.for("react.memo_cache_sentinel"))K=Xq(),q[3]=K;else K=q[3];let yq=K,L;if(q[4]===Symbol.for("react.memo_cache_sentinel"))L=Zq(),q[4]=L;else L=q[4];let l=L.length>0,V;if(q[5]===Symbol.for("react.memo_cache_sentinel"))V=Iq(),q[5]=V;else V=q[5];let S=V.length>0,M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=Wq(),q[6]=M;else M=q[6];let $=M.length>0,w;if(q[7]===Symbol.for("react.memo_cache_sentinel"))w=Yq(),q[7]=w;else w=q[7];let u=w.length>0,k;if(q[8]===Symbol.for("react.memo_cache_sentinel"))k=bq(),q[8]=k;else k=q[8];let g=k.length>0,T;if(q[9]!==Z)T=Z?.some(zz)??!1,q[9]=Z,q[10]=T;else T=q[10];let jq=T,v;if(q[11]!==Z)v=Z?.some(tq)??!1,q[11]=Z,q[12]=v;else v=q[12];let Eq=v,Y=yq.length>0||jq||Eq,Cq=Kq(),D,F;if(q[13]!==Y)D=()=>{let p=Gq()===c();i("",{isHomeDir:p,hasMcpServers:d,hasHooks:h,hasBashExecution:Y,hasApiKeyHelper:l,hasAwsCommands:S,hasGcpCommands:$,hasOtelHeadersHelper:u,hasDangerousEnvVars:g})},F=[d,h,Y,l,S,$,u,g],q[13]=Y,q[14]=D,q[15]=F;else D=q[14],F=q[15];Oq.default.useEffect(D,F);let O;if(q[16]!==Y||q[17]!==J)O=function(xq){if(xq==="exit"){_(1);return}let a=Gq()===c();if(i("",{isHomeDir:a,hasMcpServers:d,hasHooks:h,hasBashExecution:Y,hasApiKeyHelper:l,hasAwsCommands:S,hasGcpCommands:$,hasOtelHeadersHelper:u,hasDangerousEnvVars:g}),a)Nq(!0);else Lq(sq);J()},q[16]=Y,q[17]=J,q[18]=O;else O=q[18];let B=O,I=kq(eq),y;if(q[19]===Symbol.for("react.memo_cache_sentinel"))y={context:"Confirmation"},q[19]=y;else y=q[19];if(wq("confirm:no",oq,y),Cq)return setTimeout(J),null;let j,E,C;if(q[20]===Symbol.for("react.memo_cache_sentinel"))j=X(f,{bold:!0,children:Pq().cwd()}),E=G(f,{children:["Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what","'","s in this folder first."]}),C=G(f,{children:["Claude Code","'","ll be able to read, edit, and execute files here."]}),q[20]=j,q[21]=E,q[22]=C;else j=q[20],E=q[21],C=q[22];let x;if(q[23]===Symbol.for("react.memo_cache_sentinel"))x=X(f,{dimColor:!0,children:X(Mq,{url:"https://code.claude.com/docs/en/security",children:"Security guide"})}),q[23]=x;else x=q[23];let H;if(q[24]===Symbol.for("react.memo_cache_sentinel"))H=[{label:"Yes, I trust this folder",value:"enable_all"},{label:"No, exit",value:"exit"}],q[24]=H;else H=q[24];let W;if(q[25]!==B)W=X(Tq,{options:H,onChange:(p)=>B(p),onCancel:()=>B("exit")}),q[25]=B,q[26]=W;else W=q[26];let b;if(q[27]!==I.keyName||q[28]!==I.pending)b=X(f,{dimColor:!0,children:I.pending?G(r,{children:["Press ",I.keyName," again to exit"]}):X(r,{children:"Enter to confirm · Esc to cancel"})}),q[27]=I.keyName,q[28]=I.pending,q[29]=b;else b=q[29];let A;if(q[30]!==W||q[31]!==b)A=X(vq,{color:"warning",titleColor:"warning",title:"Accessing workspace:",children:G(Vq,{flexDirection:"column",gap:1,paddingTop:1,children:[j,E,C,x,W,b]})}),q[30]=W,q[31]=b,q[32]=A;else A=q[32];return A}function oq(){_(0)}function eq(){return _(1)}function sq(z){return{...z,hasTrustDialogAccepted:!0}}function tq(z){return z.type==="prompt"&&(z.loadedFrom==="skills"||z.loadedFrom==="plugin")&&(z.source==="projectSettings"||z.source==="localSettings"||z.source==="plugin")&&z.allowedTools?.some(qz)}function qz(z){return z===U||z.startsWith(U+"(")}function zz(z){return z.type==="prompt"&&z.loadedFrom==="commands_DEPRECATED"&&(z.source==="projectSettings"||z.source==="localSettings")&&z.allowedTools?.some(Jz)}function Jz(z){return z===U||z.startsWith(U+"(")}export{jz as TrustDialog};
@@ -1 +0,0 @@
1
- import{mga as a,nga as b,oga as c,pga as d,qga as e,rga as f}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";f();export{c as tryGetActiveProvider,d as invalidateActiveProviderCache,b as getActiveProvider,e as _peekActiveProviderCacheForTesting,a as ActiveProviderNotConfiguredError};
@@ -1 +0,0 @@
1
- import{Dh as X,Eh as n}from"./cli-1.1.16-7c9cj19v.mjs";import"./cli-1.1.16-sk0nvcb8.mjs";import"./cli-1.1.16-sbck6gp1.mjs";import"./cli-1.1.16-9vaffwrt.mjs";import"./cli-1.1.16-0chc168e.mjs";import{KO as U,LO as b,MO as p,Vm as v,Ym as C,_m as $,cp as P,dp as m,gm as W,hm as g}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import{B1 as i,W0 as M,Y0 as V,xZ as D}from"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import{$3 as Z,Z3 as L,_3 as T}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as h}from"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import{e9 as K,f9 as x}from"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{r_ as H,s_ as d}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import{Iqa as f,Jqa as F,era as c}from"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Osa as _,Ssa as u}from"./cli-1.1.16-w5ns6t4b.mjs";function o(G){let k=y.c(10),{message:I,args:J,onDone:B}=G,E,w;if(k[0]!==B)E=()=>{let O=setTimeout(B,0);return()=>clearTimeout(O)},w=[B],k[0]=B,k[1]=E,k[2]=w;else E=k[1],w=k[2];A.useEffect(E,w);let q;if(k[3]!==J)q=T(V,{dimColor:!0,children:[H.pointer," /add-dir ",J]}),k[3]=J,k[4]=q;else q=k[4];let z;if(k[5]!==I)z=L(W,{children:L(V,{children:I})}),k[5]=I,k[6]=z;else z=k[6];let N;if(k[7]!==q||k[8]!==z)N=T(M,{flexDirection:"column",children:[q,z]}),k[7]=q,k[8]=z,k[9]=N;else N=k[9];return N}async function Gk(G,k,I){let J=(I??"").trim(),B=k.getAppState(),E=async(q,z=!1)=>{let O={type:"addDirectories",directories:[q],destination:z?"localSettings":"session"},S=k.getAppState(),j=v(S.toolPermissionContext,O);k.setAppState((R)=>({...R,toolPermissionContext:j}));let Y=f();if(!Y.includes(q))F([...Y,q]);P.refreshConfig();let Q;if(z)try{C(O),Q=`Added ${K.bold(q)} as a working directory and saved to local settings`}catch(R){Q=`Added ${K.bold(q)} as a working directory. Failed to save to local settings: ${R instanceof Error?R.message:"Unknown error"}`}else Q=`Added ${K.bold(q)} as a working directory for this session`;let l=`${Q} ${K.dim("· /permissions to manage")}`;G(l)};if(!J)return L(X,{permissionContext:B.toolPermissionContext,onAddDirectory:E,onCancel:()=>{G("Did not add a working directory.")}});let w=await U(J,B.toolPermissionContext);if(w.resultType!=="success"){let q=b(w);return L(o,{message:q,args:I??"",onDone:()=>G(q)})}return L(X,{directoryPath:w.absolutePath,permissionContext:B.toolPermissionContext,onAddDirectory:E,onCancel:()=>{G(`Did not add ${K.bold(w.absolutePath)} as a working directory.`)}})}var y,A;var a=u(()=>{x();d();c();g();n();i();$();m();p();Z();y=_(D(),1),A=_(h(),1)});a();export{Gk as call};
@@ -1 +0,0 @@
1
- import{jK as a,kK as b}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";b();export{a as getKnownAgentTypes};
@@ -1,3 +0,0 @@
1
- import{Rc as H,Sc as I,Tc as J,Uc as K,Vc as L,Wc as U}from"./cli-1.1.16-c6ydw1c8.mjs";import{av as F,dv as G,jv as T}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import{Ria as E,Tia as R}from"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";U();T();R();function C(j){let x=J(j),y=[j.agentType];if(x)y.push(x);if(j.memory)y.push(`${j.memory} memory`);return y.join(" · ")}async function Z(){let j=E(),{allAgents:x}=await G(j),y=F(x),M=I(x,y),k=[],z=0;for(let{label:N,source:P}of H){let B=M.filter((q)=>q.source===P).sort(L);if(B.length===0)continue;k.push(`${N}:`);for(let q of B)if(q.overriddenBy){let Q=K(q.overriddenBy);k.push(` (shadowed by ${Q}) ${C(q)}`)}else k.push(` ${C(q)}`),z++;k.push("")}if(k.length===0)console.log("No agents found.");else console.log(`${z} active agents
2
- `),console.log(k.join(`
3
- `).trimEnd())}export{Z as agentsHandler};
@@ -1,110 +0,0 @@
1
- import{Rc as $Q,Sc as I0,Tc as rQ,Uc as VZ,Vc as GZ,Wc as RZ}from"./cli-1.1.16-c6ydw1c8.mjs";import{Xc as z0,Yc as iq}from"./cli-1.1.16-xaye0g9z.mjs";import"./cli-1.1.16-kndxajhc.mjs";import"./cli-1.1.16-qy3897dn.mjs";import{dd as gZ,ed as uq}from"./cli-1.1.16-9zybbj79.mjs";import{Gg as IQ,Hg as oJ,Ig as VQ}from"./cli-1.1.16-n37yee4e.mjs";import{$u as LQ,AA as a0,AD as e0,AJ as Qq,BJ as lX,CJ as Xq,DR as aX,ER as Oq,Ey as kX,Gy as c0,IK as _0,Ix as SX,Jx as MQ,KN as nX,LK as XY,LN as Yq,Lx as pQ,Mu as DX,Nu as TQ,Ok as yZ,Ou as EX,Pu as tX,Qn as eX,Qu as jQ,RR as TZ,Rk as yq,Rn as Pq,Un as xZ,Uu as E0,Vn as Tq,Vx as eJ,Wu as dq,Wx as sJ,Xu as rJ,Yu as iQ,Yx as zQ,Zu as UQ,_R as Sq,_u as JZ,ao as n,av as nJ,bo as CJ,co as o,dO as _Z,dU as mZ,do as zJ,dv as k0,eU as pq,eo as XJ,ev as N0,fO as hq,fo as IJ,gJ as dX,hD as cX,hJ as t0,iD as o0,iI as cZ,io as wJ,jI as mq,jN as cQ,jO as jZ,jm as WQ,jo as lQ,jv as XQ,kJ as iX,km as nZ,lG as TJ,lJ as Jq,lm as _Q,mA as pX,mG as bQ,mO as _q,mv as jX,nA as l0,nv as $0,oA as TX,oK as hZ,ox as OQ,pA as r0,px as wX,qx as SQ,rN as Zq,rx as AZ,sx as Aq,tA as mX,tN as rX,uA as n0,uN as qq,vA as uX,vG as bJ,wA as s0,wG as qQ,zA as xX,zD as gX,zJ as $X}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import{AY as hJ,BY as GQ,HY as uJ,IY as xQ,vY as t,xY as DJ}from"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import{B1 as GJ,W0 as M,Y0 as L,q1 as C0,xZ as UJ}from"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import{$3 as j,Y3 as RJ,Z3 as X,_3 as F}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as EJ}from"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import{e9 as SJ,f9 as dQ}from"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{$ca as fX,$da as fQ,Dga as CQ,Fca as uQ,Hea as P0,Lca as i0,Lga as gq,Mca as YQ,Pca as hX,Uda as pJ,Yaa as oX,ada as _X,dfa as cq,eba as Mq,iba as UX,ida as BX,kba as p0,laa as iJ,naa as AX,r_ as YJ,s_ as ZQ}from"./cli-1.1.16-jcye29qq.mjs";import{Tga as XX,aha as b0,gha as kZ}from"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import{Ria as QQ,Tia as RX}from"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import{Fja as BQ,Ija as fZ}from"./cli-1.1.16-5a4a2nqs.mjs";import{mka as ZX,qka as Cq}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import{Yka as uZ,fla as M0,hla as AQ,nla as hQ}from"./cli-1.1.16-njacmwr1.mjs";import{Bla as S0,qla as GX}from"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Osa as s,Ssa as r}from"./cli-1.1.16-w5ns6t4b.mjs";var AJ;var VX=r(()=>{AJ={FOLDER_NAME:".claudin",AGENTS_DIR:"agents"}});import{mkdir as T0,open as m0,unlink as u0}from"fs/promises";import{join as _J}from"path";function LX(Q,J,q,Y,V,Z,G){let U=J.replace(/\\/g,"\\\\").replace(/"/g,"\\\"").replace(/\n/g,"\\\\n"),W=q===void 0||q.length===1&&q[0]==="*"?"":`
2
- tools: ${q.join(", ")}`,O=G!==void 0?`
3
- effort: ${G}`:"",K=V?`
4
- color: ${V}`:"",R=Z?`
5
- memory: ${Z}`:"";return`---
6
- name: ${Q}
7
- description: "${U}"${W}${O}${K}${R}
8
- ---
9
-
10
- ${Y}
11
- `}function FQ(Q){switch(Q){case"flagSettings":throw Error(`Cannot get directory path for ${Q} agents`);case"userSettings":return _J(GX(),AJ.AGENTS_DIR);case"projectSettings":return _J(QQ(),AJ.FOLDER_NAME,AJ.AGENTS_DIR);case"policySettings":return _J(UX(),AJ.FOLDER_NAME,AJ.AGENTS_DIR);case"localSettings":return _J(QQ(),AJ.FOLDER_NAME,AJ.AGENTS_DIR)}}function FX(Q){switch(Q){case"projectSettings":return _J(".",AJ.FOLDER_NAME,AJ.AGENTS_DIR);default:return FQ(Q)}}function KQ(Q){let J=FQ(Q.source);return _J(J,`${Q.agentType}.md`)}function HQ(Q){if(Q.source==="built-in")return"Built-in";if(Q.source==="plugin")throw Error("Cannot get file path for plugin agents");let J=FQ(Q.source),q=Q.filename||Q.agentType;return _J(J,`${q}.md`)}function KX(Q){if(Q.source==="built-in")return"Built-in";let J=FX(Q.source);return _J(J,`${Q.agentType}.md`)}function HX(Q){if(UQ(Q))return"Built-in";if(LQ(Q))return`Plugin: ${Q.plugin||"Unknown"}`;if(Q.source==="flagSettings")return"CLI argument";let J=FX(Q.source),q=Q.filename||Q.agentType;return _J(J,`${q}.md`)}async function x0(Q){let J=FQ(Q);return await T0(J,{recursive:!0}),J}async function WX(Q,J,q,Y,V,Z=!0,G,U,H){if(Q==="built-in")throw Error("Cannot save built-in agents");await x0(Q);let W=KQ({source:Q,agentType:J}),O=LX(J,q,Y,V,G,U,H);try{await PX(W,O,Z?"wx":"w")}catch(K){if(AQ(K)==="EEXIST")throw Error(`Agent file already exists: ${W}`);throw K}}async function OX(Q,J,q,Y,V,Z,G){if(Q.source==="built-in")throw Error("Cannot update built-in agents");let U=HQ(Q),H=LX(Q.agentType,J,q,Y,V,Z,G);await PX(U,H)}async function MX(Q){if(Q.source==="built-in")throw Error("Cannot delete built-in agents");let J=HQ(Q);try{await u0(J)}catch(q){if(AQ(q)!=="ENOENT")throw q}}async function PX(Q,J,q="w"){let Y=await m0(Q,q);try{await Y.writeFile(J,{encoding:"utf-8"}),await Y.datasync()}finally{await Y.close()}}var cJ=r(()=>{p0();XQ();RX();S0();hQ();VX()});function zX(Q){let J=NX.c(48),{agent:q,tools:Y,onBack:V}=Q,Z=MQ(q,Y,!1),G;if(J[0]!==q)G=HX(q),J[0]=q,J[1]=G;else G=J[1];let U=G,H;if(J[2]!==q.agentType)H=EX(q.agentType),J[2]=q.agentType,J[3]=H;else H=J[3];let W=H,O;if(J[4]===Symbol.for("react.memo_cache_sentinel"))O={context:"Confirmation"},J[4]=O;else O=J[4];t("confirm:no",V,O);let K;if(J[5]!==V)K=(w)=>{if(w.key==="return")w.preventDefault(),V()},J[5]=V,J[6]=K;else K=J[6];let R=K,z=function(){if(Z.hasWildcard)return X(L,{children:"All tools"});if(!q.tools||q.tools.length===0)return X(L,{children:"None"});return F(RJ,{children:[Z.validTools.length>0&&X(L,{children:Z.validTools.join(", ")}),Z.invalidTools.length>0&&F(L,{color:"warning",children:[YJ.warning," Unrecognized:"," ",Z.invalidTools.join(", ")]})]})},E=M,C="column",y=1,I=0,v=!0,P;if(J[7]!==U)P=X(L,{dimColor:!0,children:U}),J[7]=U,J[8]=P;else P=J[8];let f;if(J[9]===Symbol.for("react.memo_cache_sentinel"))f=F(L,{children:[X(L,{bold:!0,children:"Description"})," (tells Claude when to use this agent):"]}),J[9]=f;else f=J[9];let b;if(J[10]!==q.whenToUse)b=F(M,{flexDirection:"column",children:[f,X(M,{marginLeft:2,children:X(L,{children:q.whenToUse})})]}),J[10]=q.whenToUse,J[11]=b;else b=J[11];let S=M,k;if(J[12]===Symbol.for("react.memo_cache_sentinel"))k=F(L,{children:[X(L,{bold:!0,children:"Tools"}),":"," "]}),J[12]=k;else k=J[12];let g=z(),A;if(J[13]!==S||J[14]!==k||J[15]!==g)A=F(S,{children:[k,g]}),J[13]=S,J[14]=k,J[15]=g,J[16]=A;else A=J[16];let d;if(J[17]===Symbol.for("react.memo_cache_sentinel"))d=X(L,{bold:!0,children:"Model"}),J[17]=d;else d=J[17];let i;if(J[18]!==q.model)i=OQ(q.model),J[18]=q.model,J[19]=i;else i=J[19];let l;if(J[20]!==i)l=F(L,{children:[d,": ",i]}),J[20]=i,J[21]=l;else l=J[21];let c;if(J[22]!==q.permissionMode)c=q.permissionMode&&F(L,{children:[X(L,{bold:!0,children:"Permission mode"}),": ",q.permissionMode]}),J[22]=q.permissionMode,J[23]=c;else c=J[23];let N;if(J[24]!==q.memory)N=q.memory&&F(L,{children:[X(L,{bold:!0,children:"Memory"}),": ",WQ(q.memory)]}),J[24]=q.memory,J[25]=N;else N=J[25];let p;if(J[26]!==q.hooks)p=q.hooks&&Object.keys(q.hooks).length>0&&F(L,{children:[X(L,{bold:!0,children:"Hooks"}),": ",Object.keys(q.hooks).join(", ")]}),J[26]=q.hooks,J[27]=p;else p=J[27];let B;if(J[28]!==q.skills)B=q.skills&&q.skills.length>0&&F(L,{children:[X(L,{bold:!0,children:"Skills"}),":"," ",q.skills.length>10?`${q.skills.length} skills`:q.skills.join(", ")]}),J[28]=q.skills,J[29]=B;else B=J[29];let D;if(J[30]!==q.agentType||J[31]!==W)D=W&&X(M,{children:F(L,{children:[X(L,{bold:!0,children:"Color"}),":"," ",F(L,{backgroundColor:W,color:"inverseText",children:[" ",q.agentType," "]})]})}),J[30]=q.agentType,J[31]=W,J[32]=D;else D=J[32];let x;if(J[33]!==q)x=!UQ(q)&&F(RJ,{children:[X(M,{children:F(L,{children:[X(L,{bold:!0,children:"System prompt"}),":"]})}),X(M,{marginLeft:2,marginRight:2,children:X(kX,{children:q.getSystemPrompt()})})]}),J[33]=q,J[34]=x;else x=J[34];let T;if(J[35]!==E||J[36]!==R||J[37]!==b||J[38]!==A||J[39]!==l||J[40]!==c||J[41]!==N||J[42]!==p||J[43]!==B||J[44]!==D||J[45]!==x||J[46]!==P)T=F(E,{flexDirection:C,gap:y,tabIndex:I,autoFocus:v,onKeyDown:R,children:[P,b,A,l,c,N,p,B,D,x]}),J[35]=E,J[36]=R,J[37]=b,J[38]=A,J[39]=l,J[40]=c,J[41]=N,J[42]=p,J[43]=B,J[44]=D,J[45]=x,J[46]=P,J[47]=T;else T=J[47];return T}var NX;var IX=r(()=>{ZQ();GJ();DJ();jQ();_Q();pQ();XQ();SQ();c0();cJ();j();NX=s(UJ(),1)});function PQ(Q){let J=bX.c(17),{agentName:q,currentColor:Y,onConfirm:V}=Q,Z=Y===void 0?"automatic":Y,G;if(J[0]!==Z)G=gJ.findIndex((I)=>I===Z),J[0]=Z,J[1]=G;else G=J[1];let[U,H]=vX.useState(Math.max(0,G)),W;if(J[2]!==V||J[3]!==U)W=(I)=>{if(I.key==="up")I.preventDefault(),H(d0);else if(I.key==="down")I.preventDefault(),H(g0);else if(I.key==="return"){I.preventDefault();let v=gJ[U];V(v==="automatic"?void 0:v)}},J[2]=V,J[3]=U,J[4]=W;else W=J[4];let O=W,K=gJ[U],R;if(J[5]!==U)R=gJ.map((I,v)=>{let P=v===U;return F(M,{flexDirection:"row",gap:1,children:[X(L,{color:P?"suggestion":void 0,children:P?YJ.pointer:" "}),I==="automatic"?X(L,{bold:P,children:"Automatic color"}):F(M,{gap:1,children:[X(L,{backgroundColor:TQ[I],color:"inverseText",children:" "}),X(L,{bold:P,children:fX(I)})]})]},I)}),J[5]=U,J[6]=R;else R=J[6];let z;if(J[7]!==R)z=X(M,{flexDirection:"column",children:R}),J[7]=R,J[8]=z;else z=J[8];let E;if(J[9]===Symbol.for("react.memo_cache_sentinel"))E=X(L,{children:"Preview: "}),J[9]=E;else E=J[9];let C;if(J[10]!==q||J[11]!==K)C=F(M,{marginTop:1,children:[E,K===void 0||K==="automatic"?F(L,{inverse:!0,bold:!0,children:[" ","@",q," "]}):F(L,{backgroundColor:TQ[K],color:"inverseText",bold:!0,children:[" ","@",q," "]})]}),J[10]=q,J[11]=K,J[12]=C;else C=J[12];let y;if(J[13]!==O||J[14]!==z||J[15]!==C)y=F(M,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:O,children:[z,C]}),J[13]=O,J[14]=z,J[15]=C,J[16]=y;else y=J[16];return y}function g0(Q){return Q<gJ.length-1?Q+1:0}function d0(Q){return Q>0?Q-1:gJ.length-1}var bX,vX,gJ;var mQ=r(()=>{ZQ();GJ();jQ();BX();j();bX=s(UJ(),1),vX=s(EJ(),1),gJ=["automatic",...DX]});function dJ(Q){let J=CX.c(11),{initialModel:q,onComplete:Y,onCancel:V}=Q,Z;if(J[0]!==q){J:{let K=wX();if(q&&!K.some((R)=>R.value===q)){Z=[{value:q,label:q,description:"Current model (custom ID)"},...K];break J}Z=K}J[0]=q,J[1]=Z}else Z=J[1];let G=Z,U=q??"inherit",H;if(J[2]===Symbol.for("react.memo_cache_sentinel"))H=X(M,{marginBottom:1,children:X(L,{dimColor:!0,children:"Model determines the agent's reasoning capabilities and speed."})}),J[2]=H;else H=J[2];let W;if(J[3]!==V||J[4]!==Y)W=()=>V?V():Y(void 0),J[3]=V,J[4]=Y,J[5]=W;else W=J[5];let O;if(J[6]!==U||J[7]!==G||J[8]!==Y||J[9]!==W)O=F(M,{flexDirection:"column",children:[H,X(bJ,{options:G,defaultValue:U,onChange:Y,onCancel:W})]}),J[6]=U,J[7]=G,J[8]=Y,J[9]=W,J[10]=O;else O=J[10];return O}var CX;var EQ=r(()=>{GJ();SQ();qQ();j();CX=s(UJ(),1)});function yX(){return{READ_ONLY:{name:"Read-only tools",toolNames:new Set([uX.name,mX.name,aX.name,gX.name,dX.name,jX.name,lX.name,iX.name,$X.name,rX.name,nX.name])},EDIT:{name:"Edit tools",toolNames:new Set([pX.name,TX.name,xX.name])},EXECUTION:{name:"Execution tools",toolNames:new Set([cX.name])},MCP:{name:"MCP tools",toolNames:new Set,isMcp:!0},OTHER:{name:"Other tools",toolNames:new Set}}}function Vq(Q){let J=new Map;return Q.forEach((q)=>{if(cQ(q)){let Y=uQ(q.name);if(Y?.serverName){let V=J.get(Y.serverName)||[];V.push(q),J.set(Y.serverName,V)}}}),Array.from(J.entries()).map(([q,Y])=>({serverName:q,tools:Y})).sort((q,Y)=>q.serverName.localeCompare(Y.serverName))}function kQ(Q){let J=sX.c(69),{tools:q,initialTools:Y,onComplete:V,onCancel:Z}=Q,G;if(J[0]!==q)G=SX({tools:q,isBuiltIn:!1,isAsync:!1}),J[0]=q,J[1]=G;else G=J[1];let U=G,H;if(J[2]!==U||J[3]!==Y)H=!Y||Y.includes("*")?U.map(Wq):Y,J[2]=U,J[3]=Y,J[4]=H;else H=J[4];let W=H,[O,K]=$J.useState(W),[R,z]=$J.useState(0),[E,C]=$J.useState(!1),y;if(J[5]!==U)y=new Set(U.map(Hq)),J[5]=U,J[6]=y;else y=J[6];let I=y,v;if(J[7]!==O||J[8]!==I){let u;if(J[10]!==I)u=(h)=>I.has(h),J[10]=I,J[11]=u;else u=J[11];v=O.filter(u),J[7]=O,J[8]=I,J[9]=v}else v=J[9];let P=v,f;if(J[12]!==P)f=new Set(P),J[12]=P,J[13]=f;else f=J[13];let b=f,S=P.length===U.length&&U.length>0,k;if(J[14]===Symbol.for("react.memo_cache_sentinel"))k=(u)=>{if(!u)return;K((h)=>h.includes(u)?h.filter((qJ)=>qJ!==u):[...h,u])},J[14]=k;else k=J[14];let g=k,A;if(J[15]===Symbol.for("react.memo_cache_sentinel"))A=(u,h)=>{K((qJ)=>{if(h){let QJ=u.filter((fJ)=>!qJ.includes(fJ));return[...qJ,...QJ]}else return qJ.filter((QJ)=>!u.includes(QJ))})},J[15]=A;else A=J[15];let d=A,i;if(J[16]!==U||J[17]!==V||J[18]!==P)i=()=>{let u=U.map(Kq),qJ=P.length===u.length&&u.every((QJ)=>P.includes(QJ))?void 0:P;V(qJ)},J[16]=U,J[17]=V,J[18]=P,J[19]=i;else i=J[19];let l=i,c;if(J[20]!==U){let u=yX();c={readOnly:[],edit:[],execution:[],mcp:[],other:[]},U.forEach((h)=>{if(cQ(h))c.mcp.push(h);else if(u.READ_ONLY.toolNames.has(h.name))c.readOnly.push(h);else if(u.EDIT.toolNames.has(h.name))c.edit.push(h);else if(u.EXECUTION.toolNames.has(h.name))c.execution.push(h);else if(h.name!==YQ)c.other.push(h)}),J[20]=U,J[21]=c}else c=J[21];let N=c,p;if(J[22]!==b)p=(u)=>{let qJ=iJ(u,(QJ)=>b.has(QJ.name))<u.length;return()=>{let QJ=u.map(Fq);d(QJ,qJ)}},J[22]=b,J[23]=p;else p=J[23];let B=p,D;if(J[24]!==B||J[25]!==U||J[26]!==R||J[27]!==l||J[28]!==S||J[29]!==b||J[30]!==E||J[31]!==N.edit||J[32]!==N.execution||J[33]!==N.mcp||J[34]!==N.other||J[35]!==N.readOnly){D=[],D.push({id:"continue",label:"Continue",action:l,isContinue:!0});let u;if(J[37]!==U||J[38]!==S)u=()=>{let PJ=U.map(Lq);d(PJ,!S)},J[37]=U,J[38]=S,J[39]=u;else u=J[39];D.push({id:"bucket-all",label:`${S?YJ.checkboxOn:YJ.checkboxOff} All tools`,action:u});let h=yX();[{id:"bucket-readonly",name:h.READ_ONLY.name,tools:N.readOnly},{id:"bucket-edit",name:h.EDIT.name,tools:N.edit},{id:"bucket-execution",name:h.EXECUTION.name,tools:N.execution},{id:"bucket-mcp",name:h.MCP.name,tools:N.mcp},{id:"bucket-other",name:h.OTHER.name,tools:N.other}].forEach((PJ)=>{let{id:mJ,name:BJ,tools:tJ}=PJ;if(tJ.length===0)return;let JQ=iJ(tJ,(j0)=>b.has(j0.name))===tJ.length;D.push({id:mJ,label:`${JQ?YJ.checkboxOn:YJ.checkboxOff} ${BJ}`,action:B(tJ)})});let QJ=D.length,fJ;if(J[40]!==R||J[41]!==E||J[42]!==QJ)fJ=()=>{if(C(!E),E&&R>QJ)z(QJ)},J[40]=R,J[41]=E,J[42]=QJ,J[43]=fJ;else fJ=J[43];D.push({id:"toggle-individual",label:E?"Hide advanced options":"Show advanced options",action:fJ,isToggle:!0});let YX=Vq(U);if(E){if(YX.length>0)D.push({id:"mcp-servers-header",label:"MCP Servers:",action:Uq,isHeader:!0}),YX.forEach((PJ)=>{let{serverName:mJ,tools:BJ}=PJ,yQ=iJ(BJ,(JQ)=>b.has(JQ.name))===BJ.length;D.push({id:`mcp-server-${mJ}`,label:`${yQ?YJ.checkboxOn:YJ.checkboxOff} ${mJ} (${BJ.length} ${_X(BJ.length,"tool")})`,action:()=>{let JQ=BJ.map(Rq);d(JQ,!yQ)}})}),D.push({id:"tools-header",label:"Individual Tools:",action:Gq,isHeader:!0});U.forEach((PJ)=>{let mJ=PJ.name;if(PJ.name.startsWith("mcp__")){let BJ=uQ(PJ.name);mJ=BJ?`${BJ.toolName} (${BJ.serverName})`:PJ.name}D.push({id:`tool-${PJ.name}`,label:`${b.has(PJ.name)?YJ.checkboxOn:YJ.checkboxOff} ${mJ}`,action:()=>g(PJ.name)})})}J[24]=B,J[25]=U,J[26]=R,J[27]=l,J[28]=S,J[29]=b,J[30]=E,J[31]=N.edit,J[32]=N.execution,J[33]=N.mcp,J[34]=N.other,J[35]=N.readOnly,J[36]=D}else D=J[36];let x;if(J[44]!==Y||J[45]!==Z||J[46]!==V)x=()=>{if(Z)Z();else V(Y)},J[44]=Y,J[45]=Z,J[46]=V,J[47]=x;else x=J[47];let T=x,w;if(J[48]===Symbol.for("react.memo_cache_sentinel"))w={context:"Confirmation"},J[48]=w;else w=J[48];t("confirm:no",T,w);let m;if(J[49]!==R||J[50]!==D)m=(u)=>{if(u.key==="return"){u.preventDefault();let h=D[R];if(h&&!h.isHeader)h.action()}else if(u.key==="up"){u.preventDefault();let h=R-1;while(h>0&&D[h]?.isHeader)h--;z(Math.max(0,h))}else if(u.key==="down"){u.preventDefault();let h=R+1;while(h<D.length-1&&D[h]?.isHeader)h++;z(Math.min(D.length-1,h))}},J[49]=R,J[50]=D,J[51]=m;else m=J[51];let _=m,$=R===0?"suggestion":void 0,a=R===0,JJ=R===0?`${YJ.pointer} `:" ",VJ;if(J[52]!==$||J[53]!==a||J[54]!==JJ)VJ=F(L,{color:$,bold:a,children:[JJ,"[ Continue ]"]}),J[52]=$,J[53]=a,J[54]=JJ,J[55]=VJ;else VJ=J[55];let MJ;if(J[56]===Symbol.for("react.memo_cache_sentinel"))MJ=X(uJ,{width:40}),J[56]=MJ;else MJ=J[56];let LJ;if(J[57]!==D)LJ=D.slice(1),J[57]=D,J[58]=LJ;else LJ=J[58];let HJ;if(J[59]!==R||J[60]!==LJ)HJ=LJ.map((u,h)=>{let qJ=h+1===R,QJ=u.isToggle,fJ=u.isHeader;return F($J.default.Fragment,{children:[QJ&&X(uJ,{width:40}),fJ&&h>0&&X(M,{marginTop:1}),F(L,{color:fJ?void 0:qJ?"suggestion":void 0,dimColor:fJ,bold:QJ&&qJ,children:[fJ?"":qJ?`${YJ.pointer} `:" ",QJ?`[ ${u.label} ]`:u.label]})]},u.id)}),J[59]=R,J[60]=LJ,J[61]=HJ;else HJ=J[61];let WJ=S?"All tools selected":`${b.size} of ${U.length} tools selected`,FJ;if(J[62]!==WJ)FJ=X(M,{marginTop:1,flexDirection:"column",children:X(L,{dimColor:!0,children:WJ})}),J[62]=WJ,J[63]=FJ;else FJ=J[63];let KJ;if(J[64]!==_||J[65]!==VJ||J[66]!==HJ||J[67]!==FJ)KJ=F(M,{flexDirection:"column",marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:_,children:[VJ,MJ,HJ,FJ]}),J[64]=_,J[65]=VJ,J[66]=HJ,J[67]=FJ,J[68]=KJ;else KJ=J[68];return KJ}function Gq(){}function Rq(Q){return Q.name}function Uq(){}function Lq(Q){return Q.name}function Fq(Q){return Q.name}function Kq(Q){return Q.name}function Hq(Q){return Q.name}function Wq(Q){return Q.name}var sX,$J;var gQ=r(()=>{ZQ();i0();Zq();pQ();hX();o0();Oq();l0();e0();r0();s0();n0();qq();a0();Yq();Qq();Jq();$0();t0();Xq();GJ();DJ();AX();BX();xQ();j();sX=s(UJ(),1),$J=s(EJ(),1)});function lJ(Q){if(Q==="all")return"Agents";if(Q==="built-in")return"Built-in agents";if(Q==="plugin")return"Plugin agents";return eX(oX(Q))}var NQ=r(()=>{Pq();Mq()});function QZ({agent:Q,tools:J,onSaved:q,onBack:Y}){let V=sJ(),[Z,G]=NJ.useState("menu"),[U,H]=NJ.useState(0),[W,O]=NJ.useState(null),[K,R]=NJ.useState(Q.color),z=NJ.useCallback(async()=>{let P=HQ(Q),f=await IQ(P);if(f.error)O(f.error);else q(`Opened ${Q.agentType} in editor. If you made edits, restart to load the latest version.`)},[Q,q]),E=NJ.useCallback(async(P={})=>{let{tools:f,color:b,model:S}=P,k=b??K,g=f!==void 0,A=S!==void 0,d=k!==Q.color;if(!g&&!A&&!d)return!1;try{if(!JZ(Q)&&!LQ(Q))return!1;if(g||d)await OX(Q,Q.whenToUse,f??Q.tools,Q.getSystemPrompt(),k);if(A&&Q.baseDir)await rJ(Q.baseDir,Q.agentType,S);if(d&&k)tX(Q.agentType,k);return V((i)=>{let l=i.agentDefinitions.allAgents.map((c)=>c.agentType===Q.agentType?{...c,tools:f??c.tools,color:k,model:S??c.model}:c);return{...i,agentDefinitions:{...i.agentDefinitions,activeAgents:nJ(l),allAgents:l}}}),q(`Updated agent: ${SJ.bold(Q.agentType)}`),!0}catch(i){return O(i instanceof Error?i.message:"Failed to save agent"),!1}},[Q,K,q,V]),C=NJ.useMemo(()=>[{label:"Open in editor",action:z},{label:"Edit tools",action:()=>G("edit-tools")},{label:"Edit model",action:()=>G("edit-model")},{label:"Edit color",action:()=>G("edit-color")}],[z]),y=NJ.useCallback(()=>{if(O(null),Z==="menu")Y();else G("menu")},[Z,Y]),I=NJ.useCallback((P)=>{if(P.key==="up")P.preventDefault(),H((f)=>Math.max(0,f-1));else if(P.key==="down")P.preventDefault(),H((f)=>Math.min(C.length-1,f+1));else if(P.key==="return"){P.preventDefault();let f=C[U];if(f)f.action()}},[C,U]);t("confirm:no",y,{context:"Confirmation"});let v=()=>F(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:I,children:[F(L,{dimColor:!0,children:["Source: ",lJ(Q.source)]}),X(M,{marginTop:1,flexDirection:"column",children:C.map((P,f)=>F(L,{color:f===U?"suggestion":void 0,children:[f===U?`${YJ.pointer} `:" ",P.label]},P.label))}),W&&X(M,{marginTop:1,children:X(L,{color:"error",children:W})})]});switch(Z){case"menu":return v();case"edit-tools":return X(kQ,{tools:J,initialTools:Q.tools,onComplete:async(P)=>{G("menu"),await E({tools:P})}});case"edit-color":return X(PQ,{agentName:Q.agentType,currentColor:K||Q.color||"automatic",onConfirm:async(P)=>{R(P),G("menu"),await E({color:P})}});case"edit-model":return X(dJ,{initialModel:Q.model,onComplete:async(P)=>{G("menu"),await E({model:P})}});default:return null}}var NJ;var XZ=r(()=>{dQ();ZQ();zQ();GJ();DJ();jQ();XQ();VQ();iQ();cJ();mQ();EQ();gQ();NQ();j();NJ=s(EJ(),1)});function xJ(Q){let J=ZZ.c(2),{instructions:q}=Q,Y=q===void 0?"Press ↑↓ to navigate · Enter to select · Esc to go back":q,V=hJ(),Z=V.pending?`Press ${V.keyName} again to exit`:Y,G;if(J[0]!==Z)G=X(M,{marginLeft:2,children:X(L,{dimColor:!0,children:Z})}),J[0]=Z,J[1]=G;else G=J[1];return G}var ZZ;var qZ=r(()=>{GQ();GJ();j();ZZ=s(UJ(),1)});function YZ(Q,J){if(Q.length<=J)return Q;if(J<=1)return Q.slice(0,J);return`${Q.slice(0,J-1)}…`}function UZ(Q){return{isOverridden:!!Q.overriddenBy,overriddenBy:Q.overriddenBy||null}}function Nq(Q){let J=Eq,q=kq;for(let Y of Q){if(Y.agentType.length>J)J=Y.agentType.length;let V=rQ(Y);if(V&&V.length>q)q=V.length}return{name:Math.min(J,32),model:Math.min(q,28)}}function zq({agent:Q,isSelected:J,dimmed:q,widths:Y,selectable:V}){let{isOverridden:Z,overriddenBy:G}=UZ(Q),U=q&&!J,H=V&&J?"suggestion":void 0,W=rQ(Q)??"",O=V?J?`${YJ.pointer} `:" ":"";return F(M,{flexDirection:"row",children:[X(M,{width:Y.name+(V?2:0),flexShrink:0,children:F(L,{dimColor:U,color:H,children:[O,YZ(Q.agentType,Y.name)]})}),X(M,{width:Y.model+2,flexShrink:0,children:X(L,{dimColor:!0,color:H,children:YZ(W,Y.model)})}),G&&X(M,{flexShrink:0,children:F(L,{dimColor:!J,color:J?"warning":void 0,children:[YJ.warning," shadowed by ",VZ(G)]})})]},`${Q.agentType}-${Q.source}`)}function RQ({widths:Q,selectable:J}){return F(M,{flexDirection:"row",children:[X(M,{width:Q.name+(J?2:0),flexShrink:0,children:X(L,{dimColor:!0,children:J?" Name":"Name"})}),X(M,{width:Q.model+2,flexShrink:0,children:X(L,{dimColor:!0,children:"Model"})})]})}function LZ({source:Q,agents:J,onBack:q,onSelect:Y,onCreateNew:V,changes:Z}){let[G,U]=vJ.useState(null),[H,W]=vJ.useState(!0),O=vJ.useMemo(()=>[...J].sort(GZ),[J]),K=vJ.useMemo(()=>Nq(O),[O]),R=vJ.useMemo(()=>{if(Q==="all")return $Q.flatMap(({source:A})=>O.filter((d)=>d.source===A));if(Q==="built-in")return O.filter((A)=>A.source==="built-in");let k=O.filter((A)=>A.source!=="built-in"),g=O.filter((A)=>A.source==="built-in");return[...k,...g]},[O,Q]);vJ.useEffect(()=>{if(!G&&!H&&R.length>0)if(V)W(!0);else U(R[0]||null)},[R,G,H,V]);let z=(k)=>{if(k.key==="return"){if(k.preventDefault(),H&&V)V();else if(G)Y(G);return}if(k.key!=="up"&&k.key!=="down")return;k.preventDefault();let g=!!V,A=R.length+(g?1:0);if(A===0)return;let d=0;if(!H&&G){let l=R.findIndex((c)=>c.agentType===G.agentType&&c.source===G.source);if(l>=0)d=g?l+1:l}let i=k.key==="up"?d===0?A-1:d-1:d===A-1?0:d+1;if(g&&i===0)W(!0),U(null);else{let l=g?i-1:i,c=R[l];if(c)W(!1),U(c)}},E=()=>F(M,{children:[X(L,{color:H?"suggestion":void 0,children:H?`${YJ.pointer} `:" "}),X(L,{color:H?"suggestion":void 0,children:"Create new agent"})]}),C=(k)=>{let g=!H&&G?.agentType===k.agentType&&G?.source===k.source,{isOverridden:A}=UZ(k);return X(zq,{agent:k,isSelected:!!g,dimmed:A,widths:K,selectable:!0},`${k.agentType}-${k.source}`)},y=(k="Built-in (always available):")=>{let g=O.filter((A)=>A.source==="built-in");if(g.length===0)return null;return F(M,{flexDirection:"column",marginBottom:1,paddingLeft:2,children:[X(L,{bold:!0,dimColor:!0,children:k}),X(RQ,{widths:K,selectable:!0}),g.map(C)]})},I=(k,g)=>{if(!g.length)return null;let A=g[0]?.baseDir;return F(M,{flexDirection:"column",marginBottom:1,children:[F(M,{paddingLeft:2,children:[X(L,{bold:!0,dimColor:!0,children:k}),A&&F(L,{dimColor:!0,children:[" (",A,")"]})]}),X(M,{paddingLeft:2,children:X(RQ,{widths:K,selectable:!0})}),g.map(C)]})},v=lJ(Q),P=O.filter((k)=>k.source==="built-in");if(!O.length||Q!=="built-in"&&!O.some((k)=>k.source!=="built-in"))return X(wJ,{title:v,subtitle:"No agents found",onCancel:q,hideInputGuide:!0,children:F(M,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:z,children:[V&&X(M,{children:E()}),X(L,{dimColor:!0,children:"No agents found. Create specialized subagents that Claude can delegate to."}),X(L,{dimColor:!0,children:"Each subagent has its own context window, custom system prompt, and specific tools."}),X(L,{dimColor:!0,children:"Try creating: Code Reviewer, Code Simplifier, Security Reviewer, Tech Lead, or UX Reviewer."}),Q!=="built-in"&&O.some((k)=>k.source==="built-in")&&y()]})});let b=iJ(O,(k)=>!k.overriddenBy),S;if(Q==="all")S=F(RJ,{children:[$Q.filter((k)=>k.source!=="built-in").map(({label:k,source:g})=>X(vJ.Fragment,{children:I(k,O.filter((A)=>A.source===g))},g)),P.length>0&&F(M,{flexDirection:"column",marginBottom:1,paddingLeft:2,children:[F(L,{dimColor:!0,children:[X(L,{bold:!0,children:"Built-in agents"})," (always available)"]}),X(RQ,{widths:K,selectable:!0}),P.map(C)]})]});else if(Q==="built-in")S=F(RJ,{children:[X(L,{dimColor:!0,italic:!0,children:"Select a built-in agent and press Enter to change its model."}),F(M,{marginTop:1,flexDirection:"column",children:[X(RQ,{widths:K,selectable:!0}),O.map(C)]})]});else S=F(RJ,{children:[F(M,{flexDirection:"column",children:[X(RQ,{widths:K,selectable:!0}),O.filter((k)=>k.source!=="built-in").map(C)]}),O.some((k)=>k.source==="built-in")&&F(RJ,{children:[X(uJ,{}),y()]})]});return F(wJ,{title:v,subtitle:`${b} agents`,onCancel:q,hideInputGuide:!0,children:[Z&&Z.length>0&&X(M,{marginTop:1,children:X(L,{dimColor:!0,children:Z[Z.length-1]})}),F(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:z,children:[V&&X(M,{marginBottom:1,children:E()}),S]})]})}var vJ,Eq=20,kq=12;var FZ=r(()=>{ZQ();GJ();RZ();AX();lQ();xQ();NQ();j();vJ=s(EJ(),1)});function sQ(Q){let J=KZ.c(38),{steps:q,initialData:Y,onComplete:V,onCancel:Z,children:G,title:U,showStepCounter:H}=Q,W;if(J[0]!==Y)W=Y===void 0?{}:Y,J[0]=Y,J[1]=W;else W=J[1];let O=W,K=H===void 0?!0:H,[R,z]=jJ.useState(0),[E,C]=jJ.useState(O),[y,I]=jJ.useState(!1),v;if(J[2]===Symbol.for("react.memo_cache_sentinel"))v=[],J[2]=v;else v=J[2];let[P,f]=jJ.useState(v);hJ();let b,S;if(J[3]!==y||J[4]!==V||J[5]!==E)b=()=>{if(y)f([]),V(E)},S=[y,E,V],J[3]=y,J[4]=V,J[5]=E,J[6]=b,J[7]=S;else b=J[6],S=J[7];jJ.useEffect(b,S);let k;if(J[8]!==R||J[9]!==P||J[10]!==q.length)k=()=>{if(R<q.length-1){if(P.length>0)f((_)=>[..._,R]);z(Bq)}else I(!0)},J[8]=R,J[9]=P,J[10]=q.length,J[11]=k;else k=J[11];let g=k,A;if(J[12]!==R||J[13]!==P||J[14]!==Z)A=()=>{if(P.length>0){let _=P[P.length-1];if(_!==void 0)f(fq),z(_)}else if(R>0)z(Iq);else if(Z)Z()},J[12]=R,J[13]=P,J[14]=Z,J[15]=A;else A=J[15];let d=A,i;if(J[16]!==R||J[17]!==q.length)i=(_)=>{if(_>=0&&_<q.length)f(($)=>[...$,R]),z(_)},J[16]=R,J[17]=q.length,J[18]=i;else i=J[18];let l=i,c;if(J[19]!==Z)c=()=>{if(f([]),Z)Z()},J[19]=Z,J[20]=c;else c=J[20];let N=c,p;if(J[21]===Symbol.for("react.memo_cache_sentinel"))p=(_)=>{C(($)=>({...$,..._}))},J[21]=p;else p=J[21];let B=p,D;if(J[22]!==N||J[23]!==R||J[24]!==d||J[25]!==g||J[26]!==l||J[27]!==K||J[28]!==q.length||J[29]!==U||J[30]!==E)D={currentStepIndex:R,totalSteps:q.length,wizardData:E,setWizardData:C,updateWizardData:B,goNext:g,goBack:d,goToStep:l,cancel:N,title:U,showStepCounter:K},J[22]=N,J[23]=R,J[24]=d,J[25]=g,J[26]=l,J[27]=K,J[28]=q.length,J[29]=U,J[30]=E,J[31]=D;else D=J[31];let x=D,T=q[R];if(!T||y)return null;let w;if(J[32]!==T||J[33]!==G)w=G||X(T,{}),J[32]=T,J[33]=G,J[34]=w;else w=J[34];let m;if(J[35]!==x||J[36]!==w)m=X(nQ.Provider,{value:x,children:w}),J[35]=x,J[36]=w,J[37]=m;else m=J[37];return m}function Iq(Q){return Q-1}function fq(Q){return Q.slice(0,-1)}function Bq(Q){return Q+1}var KZ,jJ,nQ;var aQ=r(()=>{GQ();j();KZ=s(UJ(),1),jJ=s(EJ(),1),nQ=jJ.createContext(null)});function e(){let Q=HZ.useContext(nQ);if(!Q)throw Error("useWizard must be used within a WizardProvider");return Q}var HZ;var oQ=r(()=>{aQ();HZ=s(EJ(),1)});function eQ({instructions:Q=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]})}){let J=hJ();return X(M,{marginLeft:3,marginTop:1,children:X(L,{dimColor:!0,children:J.pending?`Press ${J.keyName} again to exit`:Q})})}var tQ=r(()=>{GQ();GJ();zJ();IJ();CJ();j()});function ZJ(Q){let J=WZ.c(11),{title:q,color:Y,children:V,subtitle:Z,footerText:G}=Q,U=Y===void 0?"suggestion":Y,{currentStepIndex:H,totalSteps:W,title:O,showStepCounter:K,goBack:R}=e(),z=q||O||"Wizard",E=K!==!1?` (${H+1}/${W})`:"",C=`${z}${E}`,y;if(J[0]!==V||J[1]!==U||J[2]!==R||J[3]!==Z||J[4]!==C)y=X(wJ,{title:C,subtitle:Z,onCancel:R,color:U,hideInputGuide:!0,isCancelActive:!1,children:V}),J[0]=V,J[1]=U,J[2]=R,J[3]=Z,J[4]=C,J[5]=y;else y=J[5];let I;if(J[6]!==G)I=X(eQ,{instructions:G}),J[6]=G,J[7]=I;else I=J[7];let v;if(J[8]!==y||J[9]!==I)v=F(RJ,{children:[y,I]}),J[8]=y,J[9]=I,J[10]=v;else v=J[10];return v}var WZ;var kJ=r(()=>{lQ();oQ();tQ();j();WZ=s(UJ(),1)});var OJ=r(()=>{oQ();kJ();tQ();aQ()});function MZ(){let Q=OZ.c(14),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Z={context:"Confirmation"},Q[0]=Z;else Z=Q[0];t("confirm:no",q,Z);let G;if(Q[1]!==J||Q[2]!==Y||Q[3]!==V.agentType||Q[4]!==V.location||Q[5]!==V.selectedModel||Q[6]!==V.selectedTools||Q[7]!==V.systemPrompt||Q[8]!==V.whenToUse)G=(K)=>{Y({selectedColor:K,finalAgent:{agentType:V.agentType,whenToUse:V.whenToUse,getSystemPrompt:()=>V.systemPrompt,tools:V.selectedTools,...V.selectedModel?{model:V.selectedModel}:{},...K?{color:K}:{},source:V.location}}),J()},Q[1]=J,Q[2]=Y,Q[3]=V.agentType,Q[4]=V.location,Q[5]=V.selectedModel,Q[6]=V.selectedTools,Q[7]=V.systemPrompt,Q[8]=V.whenToUse,Q[9]=G;else G=Q[9];let U=G,H;if(Q[10]===Symbol.for("react.memo_cache_sentinel"))H=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[10]=H;else H=Q[10];let W=V.agentType||"agent",O;if(Q[11]!==U||Q[12]!==W)O=X(ZJ,{subtitle:"Choose background color",footerText:H,children:X(M,{children:X(PQ,{agentName:W,currentColor:"automatic",onConfirm:U})})}),Q[11]=U,Q[12]=W,Q[13]=O;else O=Q[13];return O}var OZ;var PZ=r(()=>{GJ();DJ();zJ();IJ();CJ();OJ();kJ();mQ();j();OZ=s(UJ(),1)});function JX(Q){if(!Q)return"Agent type is required";if(!/^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$/.test(Q))return"Agent type must start and end with alphanumeric characters and contain only letters, numbers, and hyphens";if(Q.length<3)return"Agent type must be at least 3 characters long";if(Q.length>50)return"Agent type must be less than 50 characters";return null}function EZ(Q,J,q){let Y=[],V=[];if(!Q.agentType)Y.push("Agent type is required");else{let G=JX(Q.agentType);if(G)Y.push(G);let U=q.find((H)=>H.agentType===Q.agentType&&H.source!==Q.source);if(U)Y.push(`Agent type "${Q.agentType}" already exists in ${lJ(U.source)}`)}if(!Q.whenToUse)Y.push("Description (description) is required");else if(Q.whenToUse.length<10)V.push("Description should be more descriptive (at least 10 characters)");else if(Q.whenToUse.length>5000)V.push("Description is very long (over 5000 characters)");if(Q.tools!==void 0&&!Array.isArray(Q.tools))Y.push("Tools must be an array");else{if(Q.tools===void 0)V.push("Agent has access to all tools");else if(Q.tools.length===0)V.push("No tools selected - agent will have very limited capabilities");let G=MQ(Q,J,!1);if(G.invalidTools.length>0)Y.push(`Invalid tools: ${G.invalidTools.join(", ")}`)}let Z=Q.getSystemPrompt();if(!Z)Y.push("System prompt is required");else if(Z.length<20)Y.push("System prompt is too short (minimum 20 characters)");else if(Z.length>1e4)V.push("System prompt is very long (over 10,000 characters)");return{isValid:Y.length===0,errors:Y,warnings:V}}var QX=r(()=>{pQ();NQ()});function zZ(Q){let J=NZ.c(88),{tools:q,existingAgents:Y,onSave:V,onSaveAndEdit:Z,error:G}=Q,{goBack:U,wizardData:H}=e(),W;if(J[0]===Symbol.for("react.memo_cache_sentinel"))W={context:"Confirmation"},J[0]=W;else W=J[0];t("confirm:no",U,W);let O;if(J[1]!==V||J[2]!==Z)O=(_)=>{if(_.key==="s"||_.key==="return")_.preventDefault(),V();else if(_.key==="e")_.preventDefault(),Z()},J[1]=V,J[2]=Z,J[3]=O;else O=J[3];let K=O,R=H.finalAgent,z,E,C,y,I,v,P,f,b,S,k,g,A,d,i,l,c,N,p;if(J[4]!==R||J[5]!==Y||J[6]!==K||J[7]!==q||J[8]!==H.location){let _=EZ(R,q,Y),$;if(J[28]!==R)$=XX(R.getSystemPrompt(),240),J[28]=R,J[29]=$;else $=J[29];let a=$,JJ;if(J[30]!==R.whenToUse)JJ=XX(R.whenToUse,240),J[30]=R.whenToUse,J[31]=JJ;else JJ=J[31];let VJ=JJ,MJ=vq,LJ;if(J[32]!==R.memory)LJ=pJ()?F(L,{children:[X(L,{bold:!0,children:"Memory"}),": ",WQ(R.memory)]}):null,J[32]=R.memory,J[33]=LJ;else LJ=J[33];let HJ=LJ;if(E=ZJ,k="Confirm and save",J[34]===Symbol.for("react.memo_cache_sentinel"))g=F(XJ,{children:[X(n,{shortcut:"s/Enter",action:"save"}),X(n,{shortcut:"e",action:"edit in your editor"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]}),J[34]=g;else g=J[34];z=M,A="column",d=0,i=!0,l=K;let WJ;if(J[35]===Symbol.for("react.memo_cache_sentinel"))WJ=X(L,{bold:!0,children:"Name"}),J[35]=WJ;else WJ=J[35];if(J[36]!==R.agentType)c=F(L,{children:[WJ,": ",R.agentType]}),J[36]=R.agentType,J[37]=c;else c=J[37];let FJ;if(J[38]===Symbol.for("react.memo_cache_sentinel"))FJ=X(L,{bold:!0,children:"Location"}),J[38]=FJ;else FJ=J[38];let KJ;if(J[39]!==R.agentType||J[40]!==H.location)KJ=KX({source:H.location,agentType:R.agentType}),J[39]=R.agentType,J[40]=H.location,J[41]=KJ;else KJ=J[41];if(J[42]!==KJ)N=F(L,{children:[FJ,":"," ",KJ]}),J[42]=KJ,J[43]=N;else N=J[43];let u;if(J[44]===Symbol.for("react.memo_cache_sentinel"))u=X(L,{bold:!0,children:"Tools"}),J[44]=u;else u=J[44];let h;if(J[45]!==R.tools)h=MJ(R.tools),J[45]=R.tools,J[46]=h;else h=J[46];if(J[47]!==h)p=F(L,{children:[u,": ",h]}),J[47]=h,J[48]=p;else p=J[48];let qJ;if(J[49]===Symbol.for("react.memo_cache_sentinel"))qJ=X(L,{bold:!0,children:"Model"}),J[49]=qJ;else qJ=J[49];let QJ;if(J[50]!==R.model)QJ=OQ(R.model),J[50]=R.model,J[51]=QJ;else QJ=J[51];if(J[52]!==QJ)C=F(L,{children:[qJ,": ",QJ]}),J[52]=QJ,J[53]=C;else C=J[53];if(y=HJ,J[54]===Symbol.for("react.memo_cache_sentinel"))I=X(M,{marginTop:1,children:F(L,{children:[X(L,{bold:!0,children:"Description"})," (tells Claude when to use this agent):"]})}),J[54]=I;else I=J[54];if(J[55]!==VJ)v=X(M,{marginLeft:2,marginTop:1,children:X(L,{children:VJ})}),J[55]=VJ,J[56]=v;else v=J[56];if(J[57]===Symbol.for("react.memo_cache_sentinel"))P=X(M,{marginTop:1,children:F(L,{children:[X(L,{bold:!0,children:"System prompt"}),":"]})}),J[57]=P;else P=J[57];if(J[58]!==a)f=X(M,{marginLeft:2,marginTop:1,children:X(L,{children:a})}),J[58]=a,J[59]=f;else f=J[59];b=_.warnings.length>0&&F(M,{marginTop:1,flexDirection:"column",children:[X(L,{color:"warning",children:"Warnings:"}),_.warnings.map(bq)]}),S=_.errors.length>0&&F(M,{marginTop:1,flexDirection:"column",children:[X(L,{color:"error",children:"Errors:"}),_.errors.map(Dq)]}),J[4]=R,J[5]=Y,J[6]=K,J[7]=q,J[8]=H.location,J[9]=z,J[10]=E,J[11]=C,J[12]=y,J[13]=I,J[14]=v,J[15]=P,J[16]=f,J[17]=b,J[18]=S,J[19]=k,J[20]=g,J[21]=A,J[22]=d,J[23]=i,J[24]=l,J[25]=c,J[26]=N,J[27]=p}else z=J[9],E=J[10],C=J[11],y=J[12],I=J[13],v=J[14],P=J[15],f=J[16],b=J[17],S=J[18],k=J[19],g=J[20],A=J[21],d=J[22],i=J[23],l=J[24],c=J[25],N=J[26],p=J[27];let B;if(J[60]!==G)B=G&&X(M,{marginTop:1,children:X(L,{color:"error",children:G})}),J[60]=G,J[61]=B;else B=J[61];let D;if(J[62]===Symbol.for("react.memo_cache_sentinel"))D=X(L,{bold:!0,children:"s"}),J[62]=D;else D=J[62];let x;if(J[63]===Symbol.for("react.memo_cache_sentinel"))x=X(L,{bold:!0,children:"Enter"}),J[63]=x;else x=J[63];let T;if(J[64]===Symbol.for("react.memo_cache_sentinel"))T=X(M,{marginTop:2,children:F(L,{color:"success",children:["Press ",D," or ",x," to save,"," ",X(L,{bold:!0,children:"e"})," to save and edit"]})}),J[64]=T;else T=J[64];let w;if(J[65]!==z||J[66]!==C||J[67]!==y||J[68]!==I||J[69]!==v||J[70]!==P||J[71]!==f||J[72]!==b||J[73]!==S||J[74]!==B||J[75]!==A||J[76]!==d||J[77]!==i||J[78]!==l||J[79]!==c||J[80]!==N||J[81]!==p)w=F(z,{flexDirection:A,tabIndex:d,autoFocus:i,onKeyDown:l,children:[c,N,p,C,y,I,v,P,f,b,S,B,T]}),J[65]=z,J[66]=C,J[67]=y,J[68]=I,J[69]=v,J[70]=P,J[71]=f,J[72]=b,J[73]=S,J[74]=B,J[75]=A,J[76]=d,J[77]=i,J[78]=l,J[79]=c,J[80]=N,J[81]=p,J[82]=w;else w=J[82];let m;if(J[83]!==E||J[84]!==k||J[85]!==g||J[86]!==w)m=X(E,{subtitle:k,footerText:g,children:w}),J[83]=E,J[84]=k,J[85]=g,J[86]=w,J[87]=m;else m=J[87];return m}function Dq(Q,J){return F(L,{color:"error",children:[" ","• ",Q]},J)}function bq(Q,J){return F(L,{dimColor:!0,children:[" ","• ",Q]},J)}function vq(Q){if(Q===void 0)return"All tools";if(Q.length===0)return"None";if(Q.length===1)return Q[0]||"None";if(Q.length===2)return Q.join(" and ");return`${Q.slice(0,-1).join(", ")}, and ${Q[Q.length-1]}`}var NZ;var IZ=r(()=>{GJ();DJ();fQ();_Q();kZ();SQ();zJ();IJ();CJ();OJ();kJ();cJ();QX();j();NZ=s(UJ(),1)});import{dirname as wq}from"path";function BZ({tools:Q,existingAgents:J,onComplete:q}){let{wizardData:Y}=e(),[V,Z]=aJ.useState(null),G=sJ(),U=aJ.useCallback(async(O)=>{if(!Y?.finalAgent)return;try{if(await WX(Y.location,Y.finalAgent.agentType,Y.finalAgent.whenToUse,Y.finalAgent.tools,Y.finalAgent.getSystemPrompt(),!0,Y.finalAgent.color,Y.finalAgent.memory),Y.finalAgent.model){let R=KQ({source:Y.location,agentType:Y.finalAgent.agentType}),z=wq(R);await rJ(z,Y.finalAgent.agentType,Y.finalAgent.model)}if(G((R)=>{if(!Y.finalAgent)return R;let z=R.agentDefinitions.allAgents.concat(Y.finalAgent);return{...R,agentDefinitions:{...R.agentDefinitions,activeAgents:nJ(z),allAgents:z}}}),O){let R=KQ({source:Y.location,agentType:Y.finalAgent.agentType});await IQ(R)}BQ("",{agent_type:Y.finalAgent.agentType,generation_method:Y.wasGenerated?"generated":"manual",source:Y.location,tool_count:Y.finalAgent.tools?.length??"all",has_custom_model:!!Y.finalAgent.model,has_custom_color:!!Y.finalAgent.color,has_memory:!!Y.finalAgent.memory,memory_scope:Y.finalAgent.memory??"none",...O?{opened_in_editor:!0}:{}});let K=O?`Created agent: ${SJ.bold(Y.finalAgent.agentType)} and opened in editor. If you made edits, restart to load the latest version.`:`Created agent: ${SJ.bold(Y.finalAgent.agentType)}`;q(K)}catch(K){Z(K instanceof Error?K.message:"Failed to save agent")}},[Y,q,G]),H=aJ.useCallback(()=>U(!1),[U]),W=aJ.useCallback(()=>U(!0),[U]);return X(zZ,{tools:Q,existingAgents:J,onSave:H,onSaveAndEdit:W,error:V})}var aJ;var DZ=r(()=>{dQ();fZ();zQ();XQ();iQ();VQ();OJ();cJ();IZ();j();aJ=s(EJ(),1)});function vZ(){let Q=bZ.c(18),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),[Z,G]=DQ.useState(V.whenToUse||""),[U,H]=DQ.useState(Z.length),[W,O]=DQ.useState(null),K;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))K={context:"Settings"},Q[0]=K;else K=Q[0];t("confirm:no",q,K);let R;if(Q[1]!==Z)R=async()=>{let S=await oJ(Z);if(S.content!==null)G(S.content),H(S.content.length)},Q[1]=Z,Q[2]=R;else R=Q[2];let z=R,E;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Chat"},Q[3]=E;else E=Q[3];t("chat:externalEditor",z,E);let C;if(Q[4]!==J||Q[5]!==Y)C=(S)=>{let k=S.trim();if(!k){O("Description is required");return}O(null),Y({whenToUse:k}),J()},Q[4]=J,Q[5]=Y,Q[6]=C;else C=Q[6];let y=C,I;if(Q[7]===Symbol.for("react.memo_cache_sentinel"))I=F(XJ,{children:[X(n,{shortcut:"Type",action:"enter text"}),X(n,{shortcut:"Enter",action:"continue"}),X(o,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),Q[7]=I;else I=Q[7];let v;if(Q[8]===Symbol.for("react.memo_cache_sentinel"))v=X(L,{children:"When should Claude use this agent?"}),Q[8]=v;else v=Q[8];let P;if(Q[9]!==U||Q[10]!==y||Q[11]!==Z)P=X(M,{marginTop:1,children:X(TJ,{value:Z,onChange:G,onSubmit:y,placeholder:"e.g., use this agent after you're done writing code...",columns:80,cursorOffset:U,onChangeCursorOffset:H,focus:!0,showCursor:!0})}),Q[9]=U,Q[10]=y,Q[11]=Z,Q[12]=P;else P=Q[12];let f;if(Q[13]!==W)f=W&&X(M,{marginTop:1,children:X(L,{color:"error",children:W})}),Q[13]=W,Q[14]=f;else f=Q[14];let b;if(Q[15]!==P||Q[16]!==f)b=X(ZJ,{subtitle:"Description (tell Claude when to use this agent)",footerText:I,children:F(M,{flexDirection:"column",children:[v,P,f]})}),Q[15]=P,Q[16]=f,Q[17]=b;else b=Q[17];return b}var bZ,DQ;var wZ=r(()=>{GJ();DJ();VQ();zJ();IJ();CJ();bQ();OJ();kJ();j();bZ=s(UJ(),1),DQ=s(EJ(),1)});async function SZ(Q,J,q,Y){let V=q.length>0?`
12
-
13
- IMPORTANT: The following identifiers already exist and must NOT be used: ${q.join(", ")}`:"",Z=`Create an agent configuration based on this request: "${Q}".${V}
14
- Return ONLY the JSON object, no other text.`,G=hZ({content:Z}),U=await mZ(),H=_Z([G],U),W=pJ()?CZ+jq:CZ,R=(await jZ({messages:TZ(H),systemPrompt:AZ([W]),thinkingConfig:{type:"disabled"},tools:[],signal:Y,options:{getToolPermissionContext:async()=>yZ(),model:J,toolChoice:void 0,agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,querySource:"agent_creation",mcpTools:[]}})).message.content.filter((E)=>E.type==="text").map((E)=>E.text).join(`
15
- `),z;try{z=ZX(R.trim())}catch{let E=R.match(/\{[\s\S]*\}/);if(!E)throw Error("No JSON object found in response");z=ZX(E[0])}if(!z.identifier||!z.whenToUse||!z.systemPrompt)throw Error("Invalid agent configuration generated");return BQ("",{agent_identifier:z.identifier}),{identifier:z.identifier,whenToUse:z.whenToUse,systemPrompt:z.systemPrompt}}var CZ,jq=`
16
-
17
- 7. **Agent Memory Instructions**: If the user mentions "memory", "remember", "learn", "persist", or similar concepts, OR if the agent would benefit from building up knowledge across conversations (e.g., code reviewers learning patterns, architects learning codebase structure, etc.), include domain-specific memory update instructions in the systemPrompt.
18
-
19
- Add a section like this to the systemPrompt, tailored to the agent's specific domain:
20
-
21
- "**Update your agent memory** as you discover [domain-specific items]. This builds up institutional knowledge across conversations. Write concise notes about what you found and where.
22
-
23
- Examples of what to record:
24
- - [domain-specific item 1]
25
- - [domain-specific item 2]
26
- - [domain-specific item 3]"
27
-
28
- Examples of domain-specific memory instructions:
29
- - For a code-reviewer: "Update your agent memory as you discover code patterns, style conventions, common issues, and architectural decisions in this codebase."
30
- - For a test-runner: "Update your agent memory as you discover test patterns, common failure modes, flaky tests, and testing best practices."
31
- - For an architect: "Update your agent memory as you discover codepaths, library locations, key architectural decisions, and component relationships."
32
- - For a documentation writer: "Update your agent memory as you discover documentation patterns, API structures, and terminology conventions."
33
-
34
- The memory instructions should be specific to what the agent would naturally learn while performing its core tasks.
35
- `;var pZ=r(()=>{pq();_q();yq();hX();hq();Sq();fQ();fZ();Cq();Aq();CZ=`You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.
36
-
37
- **Important Context**: You may have access to project-specific instructions from CLAUDE.md files and other context that may include coding standards, project structure, and custom requirements. Consider this context when creating agents to ensure they align with the project's established patterns and practices.
38
-
39
- When a user describes what they want an agent to do, you will:
40
-
41
- 1. **Extract Core Intent**: Identify the fundamental purpose, key responsibilities, and success criteria for the agent. Look for both explicit requirements and implicit needs. Consider any project-specific context from CLAUDE.md files. For agents that are meant to review code, you should assume that the user is asking to review recently written code and not the whole codebase, unless the user has explicitly instructed you otherwise.
42
-
43
- 2. **Design Expert Persona**: Create a compelling expert identity that embodies deep domain knowledge relevant to the task. The persona should inspire confidence and guide the agent's decision-making approach.
44
-
45
- 3. **Architect Comprehensive Instructions**: Develop a system prompt that:
46
- - Establishes clear behavioral boundaries and operational parameters
47
- - Provides specific methodologies and best practices for task execution
48
- - Anticipates edge cases and provides guidance for handling them
49
- - Incorporates any specific requirements or preferences mentioned by the user
50
- - Defines output format expectations when relevant
51
- - Aligns with project-specific coding standards and patterns from CLAUDE.md
52
-
53
- 4. **Optimize for Performance**: Include:
54
- - Decision-making frameworks appropriate to the domain
55
- - Quality control mechanisms and self-verification steps
56
- - Efficient workflow patterns
57
- - Clear escalation or fallback strategies
58
-
59
- 5. **Create Identifier**: Design a concise, descriptive identifier that:
60
- - Uses lowercase letters, numbers, and hyphens only
61
- - Is typically 2-4 words joined by hyphens
62
- - Clearly indicates the agent's primary function
63
- - Is memorable and easy to type
64
- - Avoids generic terms like "helper" or "assistant"
65
-
66
- 6 **Example agent descriptions**:
67
- - in the 'whenToUse' field of the JSON object, you should include examples of when this agent should be used.
68
- - examples should be of the form:
69
- - <example>
70
- Context: The user is creating a test-runner agent that should be called after a logical chunk of code is written.
71
- user: "Please write a function that checks if a number is prime"
72
- assistant: "Here is the relevant function: "
73
- <function call omitted for brevity only for this example>
74
- <commentary>
75
- Since a significant piece of code was written, use the ${YQ} tool to launch the test-runner agent to run the tests.
76
- </commentary>
77
- assistant: "Now let me use the test-runner agent to run the tests"
78
- </example>
79
- - <example>
80
- Context: User is creating an agent for Claude Code product questions.
81
- user: "How do I configure Claude Code hooks?"
82
- assistant: "I'm going to use the ${YQ} tool to launch the claudin-guide agent to answer the question"
83
- <commentary>
84
- Since the user is asking how to use Claude Code, use the claudin-guide agent.
85
- </commentary>
86
- </example>
87
- - If the user mentioned or implied that the agent should be used proactively, you should include examples of this.
88
- - NOTE: Ensure that in the examples, you are making the assistant use the Agent tool and not simply respond directly to the task.
89
-
90
- Your output must be a valid JSON object with exactly these fields:
91
- {
92
- "identifier": "A unique, descriptive identifier using lowercase letters, numbers, and hyphens (e.g., 'test-runner', 'api-docs-writer', 'code-formatter')",
93
- "whenToUse": "A precise, actionable description starting with 'Use this agent when...' that clearly defines the triggering conditions and use cases. Ensure you include examples as described above.",
94
- "systemPrompt": "The complete system prompt that will govern the agent's behavior, written in second person ('You are...', 'You will...') and structured for maximum clarity and effectiveness"
95
- }
96
-
97
- Key principles for your system prompts:
98
- - Be specific rather than generic - avoid vague instructions
99
- - Include concrete examples when they would clarify behavior
100
- - Balance comprehensiveness with clarity - every instruction should add value
101
- - Ensure the agent has enough context to handle variations of the core task
102
- - Make the agent proactive in seeking clarification when needed
103
- - Build in quality assurance and self-correction mechanisms
104
-
105
- Remember: The agents you create should be autonomous experts capable of handling their designated tasks with minimal additional guidance. Your system prompts are their complete operational manual.
106
- `});function dZ(){let{updateWizardData:Q,goBack:J,goToStep:q,wizardData:Y}=e(),[V,Z]=yJ.useState(Y.generationPrompt||""),[G,U]=yJ.useState(!1),[H,W]=yJ.useState(null),[O,K]=yJ.useState(V.length),R=gZ(),z=yJ.useRef(null),E=yJ.useCallback(()=>{if(z.current)z.current.abort(),z.current=null,U(!1),W("Generation cancelled")},[]);t("confirm:no",E,{context:"Settings",isActive:G});let C=yJ.useCallback(async()=>{let P=await oJ(V);if(P.content!==null)Z(P.content),K(P.content.length)},[V]);t("chat:externalEditor",C,{context:"Chat",isActive:!G});let y=yJ.useCallback(()=>{Q({generationPrompt:"",agentType:"",systemPrompt:"",whenToUse:"",generatedAgent:void 0,wasGenerated:!1}),Z(""),W(null),J()},[Q,J]);t("confirm:no",y,{context:"Settings",isActive:!G});let I=async()=>{let P=V.trim();if(!P){W("Please describe what the agent should do");return}W(null),U(!0),Q({generationPrompt:P,isGenerating:!0});let f=xZ();z.current=f;try{let b=await SZ(P,R,[],f.signal);Q({agentType:b.identifier,whenToUse:b.whenToUse,systemPrompt:b.systemPrompt,generatedAgent:b,isGenerating:!1,wasGenerated:!0}),q(6)}catch(b){if(uZ(b));else if(b instanceof Error&&!b.message.includes("No assistant message found"))W(b.message||"Failed to generate agent");Q({isGenerating:!1})}finally{U(!1),z.current=null}},v="Describe what this agent should do and when it should be used (be comprehensive for best results)";if(G)return X(ZJ,{subtitle:v,footerText:X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"}),children:F(M,{flexDirection:"row",alignItems:"center",children:[X(cZ,{}),X(L,{color:"suggestion",children:" Generating agent from description..."})]})});return X(ZJ,{subtitle:v,footerText:F(XJ,{children:[X(o,{action:"confirm:yes",context:"Confirmation",fallback:"Enter",description:"submit"}),X(o,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),children:F(M,{flexDirection:"column",children:[H&&X(M,{marginBottom:1,children:X(L,{color:"error",children:H})}),X(TJ,{value:V,onChange:Z,onSubmit:I,placeholder:"e.g., Help me write unit tests for my code...",columns:80,cursorOffset:O,onChangeCursorOffset:K,focus:!0,showCursor:!0})]})})}var yJ;var iZ=r(()=>{uq();GJ();DJ();Tq();hQ();VQ();zJ();IJ();mq();bQ();OJ();kJ();pZ();j();yJ=s(EJ(),1)});function lZ(){let Q=$Z.c(11),{goNext:J,updateWizardData:q,cancel:Y}=e(),V;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))V={label:"Project (.claudin/agents/)",value:"projectSettings"},Q[0]=V;else V=Q[0];let Z;if(Q[1]===Symbol.for("react.memo_cache_sentinel"))Z=[V,{label:"Personal (~/.claudin/agents/)",value:"userSettings"}],Q[1]=Z;else Z=Q[1];let G=Z,U;if(Q[2]===Symbol.for("react.memo_cache_sentinel"))U=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]}),Q[2]=U;else U=Q[2];let H;if(Q[3]!==J||Q[4]!==q)H=(K)=>{q({location:K}),J()},Q[3]=J,Q[4]=q,Q[5]=H;else H=Q[5];let W;if(Q[6]!==Y)W=()=>Y(),Q[6]=Y,Q[7]=W;else W=Q[7];let O;if(Q[8]!==H||Q[9]!==W)O=X(ZJ,{subtitle:"Choose location",footerText:U,children:X(M,{children:X(bJ,{options:G,onChange:H,onCancel:W},"location-select")})}),Q[8]=H,Q[9]=W,Q[10]=O;else O=Q[10];return O}var $Z;var rZ=r(()=>{GJ();zJ();qQ();IJ();CJ();OJ();kJ();j();$Z=s(UJ(),1)});function aZ(){let Q=sZ.c(13),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Z={context:"Confirmation"},Q[0]=Z;else Z=Q[0];t("confirm:no",q,Z);let G=V.location==="userSettings",U;if(Q[1]!==G)U=G?[{label:"User scope (~/.claudin/agent-memory/) (Recommended)",value:"user"},{label:"None (no persistent memory)",value:"none"},{label:"Project scope (.claudin/agent-memory/)",value:"project"},{label:"Local scope (.claudin/agent-memory-local/)",value:"local"}]:[{label:"Project scope (.claudin/agent-memory/) (Recommended)",value:"project"},{label:"None (no persistent memory)",value:"none"},{label:"User scope (~/.claudin/agent-memory/)",value:"user"},{label:"Local scope (.claudin/agent-memory-local/)",value:"local"}],Q[1]=G,Q[2]=U;else U=Q[2];let H=U,W;if(Q[3]!==J||Q[4]!==Y||Q[5]!==V.finalAgent||Q[6]!==V.systemPrompt)W=(z)=>{let E=z==="none"?void 0:z,C=V.finalAgent?.agentType;Y({selectedMemory:E,finalAgent:V.finalAgent?{...V.finalAgent,memory:E,getSystemPrompt:pJ()&&E&&C?()=>V.systemPrompt+`
107
-
108
- `+nZ(C,E):()=>V.systemPrompt}:void 0}),J()},Q[3]=J,Q[4]=Y,Q[5]=V.finalAgent,Q[6]=V.systemPrompt,Q[7]=W;else W=Q[7];let O=W,K;if(Q[8]===Symbol.for("react.memo_cache_sentinel"))K=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[8]=K;else K=Q[8];let R;if(Q[9]!==q||Q[10]!==O||Q[11]!==H)R=X(ZJ,{subtitle:"Configure agent memory",footerText:K,children:X(M,{children:X(bJ,{options:H,onChange:O,onCancel:q},"memory-select")})}),Q[9]=q,Q[10]=O,Q[11]=H,Q[12]=R;else R=Q[12];return R}var sZ;var oZ=r(()=>{GJ();DJ();fQ();_Q();zJ();qQ();IJ();CJ();OJ();kJ();j();sZ=s(UJ(),1)});function tZ(){let Q=eZ.c(11),{goNext:J,goBack:q,updateWizardData:Y,goToStep:V}=e(),Z;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Z=[{label:"Generate with Claude (recommended)",value:"generate"},{label:"Manual configuration",value:"manual"}],Q[0]=Z;else Z=Q[0];let G=Z,U;if(Q[1]===Symbol.for("react.memo_cache_sentinel"))U=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[1]=U;else U=Q[1];let H;if(Q[2]!==J||Q[3]!==V||Q[4]!==Y)H=(K)=>{let R=K;if(Y({method:R,wasGenerated:R==="generate"}),R==="generate")J();else V(3)},Q[2]=J,Q[3]=V,Q[4]=Y,Q[5]=H;else H=Q[5];let W;if(Q[6]!==q)W=()=>q(),Q[6]=q,Q[7]=W;else W=Q[7];let O;if(Q[8]!==H||Q[9]!==W)O=X(ZJ,{subtitle:"Creation method",footerText:U,children:X(M,{children:X(bJ,{options:G,onChange:H,onCancel:W},"method-select")})}),Q[8]=H,Q[9]=W,Q[10]=O;else O=Q[10];return O}var eZ;var J0=r(()=>{GJ();zJ();qQ();IJ();CJ();OJ();kJ();j();eZ=s(UJ(),1)});function X0(){let Q=Q0.c(8),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(Q[0]!==J||Q[1]!==Y)Z=(W)=>{Y({selectedModel:W}),J()},Q[0]=J,Q[1]=Y,Q[2]=Z;else Z=Q[2];let G=Z,U;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))U=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[3]=U;else U=Q[3];let H;if(Q[4]!==q||Q[5]!==G||Q[6]!==V.selectedModel)H=X(ZJ,{subtitle:"Select model",footerText:U,children:X(dJ,{initialModel:V.selectedModel,onComplete:G,onCancel:q})}),Q[4]=q,Q[5]=G,Q[6]=V.selectedModel,Q[7]=H;else H=Q[7];return H}var Q0;var Z0=r(()=>{zJ();IJ();CJ();OJ();kJ();EQ();j();Q0=s(UJ(),1)});function Y0(){let Q=q0.c(20),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),[Z,G]=vQ.useState(V.systemPrompt||""),[U,H]=vQ.useState(Z.length),[W,O]=vQ.useState(null),K;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))K={context:"Settings"},Q[0]=K;else K=Q[0];t("confirm:no",q,K);let R;if(Q[1]!==Z)R=async()=>{let k=await oJ(Z);if(k.content!==null)G(k.content),H(k.content.length)},Q[1]=Z,Q[2]=R;else R=Q[2];let z=R,E;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Chat"},Q[3]=E;else E=Q[3];t("chat:externalEditor",z,E);let C;if(Q[4]!==J||Q[5]!==Z||Q[6]!==Y)C=()=>{let k=Z.trim();if(!k){O("System prompt is required");return}O(null),Y({systemPrompt:k}),J()},Q[4]=J,Q[5]=Z,Q[6]=Y,Q[7]=C;else C=Q[7];let y=C,I;if(Q[8]===Symbol.for("react.memo_cache_sentinel"))I=F(XJ,{children:[X(n,{shortcut:"Type",action:"enter text"}),X(n,{shortcut:"Enter",action:"continue"}),X(o,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),Q[8]=I;else I=Q[8];let v,P;if(Q[9]===Symbol.for("react.memo_cache_sentinel"))v=X(L,{children:"Enter the system prompt for your agent:"}),P=X(L,{dimColor:!0,children:"Be comprehensive for best results"}),Q[9]=v,Q[10]=P;else v=Q[9],P=Q[10];let f;if(Q[11]!==U||Q[12]!==y||Q[13]!==Z)f=X(M,{marginTop:1,children:X(TJ,{value:Z,onChange:G,onSubmit:y,placeholder:"You are a helpful code reviewer who...",columns:80,cursorOffset:U,onChangeCursorOffset:H,focus:!0,showCursor:!0})}),Q[11]=U,Q[12]=y,Q[13]=Z,Q[14]=f;else f=Q[14];let b;if(Q[15]!==W)b=W&&X(M,{marginTop:1,children:X(L,{color:"error",children:W})}),Q[15]=W,Q[16]=b;else b=Q[16];let S;if(Q[17]!==f||Q[18]!==b)S=X(ZJ,{subtitle:"System prompt",footerText:I,children:F(M,{flexDirection:"column",children:[v,P,f,b]})}),Q[17]=f,Q[18]=b,Q[19]=S;else S=Q[19];return S}var q0,vQ;var V0=r(()=>{GJ();DJ();VQ();zJ();IJ();CJ();bQ();OJ();kJ();j();q0=s(UJ(),1),vQ=s(EJ(),1)});function R0(Q){let J=G0.c(9),{tools:q}=Q,{goNext:Y,goBack:V,updateWizardData:Z,wizardData:G}=e(),U;if(J[0]!==Y||J[1]!==Z)U=(R)=>{Z({selectedTools:R}),Y()},J[0]=Y,J[1]=Z,J[2]=U;else U=J[2];let H=U,W=G.selectedTools,O;if(J[3]===Symbol.for("react.memo_cache_sentinel"))O=F(XJ,{children:[X(n,{shortcut:"Enter",action:"toggle selection"}),X(n,{shortcut:"↑↓",action:"navigate"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),J[3]=O;else O=J[3];let K;if(J[4]!==V||J[5]!==H||J[6]!==W||J[7]!==q)K=X(ZJ,{subtitle:"Select tools",footerText:O,children:X(kQ,{tools:q,initialTools:W,onComplete:H,onCancel:V})}),J[4]=V,J[5]=H,J[6]=W,J[7]=q,J[8]=K;else K=J[8];return K}var G0;var U0=r(()=>{zJ();IJ();CJ();OJ();kJ();gQ();j();G0=s(UJ(),1)});function F0(Q){let J=L0.c(15),{goNext:q,goBack:Y,updateWizardData:V,wizardData:Z}=e(),[G,U]=wQ.useState(Z.agentType||""),[H,W]=wQ.useState(null),[O,K]=wQ.useState(G.length),R;if(J[0]===Symbol.for("react.memo_cache_sentinel"))R={context:"Settings"},J[0]=R;else R=J[0];t("confirm:no",Y,R);let z;if(J[1]!==q||J[2]!==V)z=(f)=>{let b=f.trim(),S=JX(b);if(S){W(S);return}W(null),V({agentType:b}),q()},J[1]=q,J[2]=V,J[3]=z;else z=J[3];let E=z,C;if(J[4]===Symbol.for("react.memo_cache_sentinel"))C=F(XJ,{children:[X(n,{shortcut:"Type",action:"enter text"}),X(n,{shortcut:"Enter",action:"continue"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),J[4]=C;else C=J[4];let y;if(J[5]===Symbol.for("react.memo_cache_sentinel"))y=X(L,{children:"Enter a unique identifier for your agent:"}),J[5]=y;else y=J[5];let I;if(J[6]!==G||J[7]!==O||J[8]!==E)I=X(M,{marginTop:1,children:X(TJ,{value:G,onChange:U,onSubmit:E,placeholder:"e.g., test-runner, tech-lead, etc",columns:60,cursorOffset:O,onChangeCursorOffset:K,focus:!0,showCursor:!0})}),J[6]=G,J[7]=O,J[8]=E,J[9]=I;else I=J[9];let v;if(J[10]!==H)v=H&&X(M,{marginTop:1,children:X(L,{color:"error",children:H})}),J[10]=H,J[11]=v;else v=J[11];let P;if(J[12]!==I||J[13]!==v)P=X(ZJ,{subtitle:"Agent type (identifier)",footerText:C,children:F(M,{flexDirection:"column",children:[y,I,v]})}),J[12]=I,J[13]=v,J[14]=P;else P=J[14];return P}var L0,wQ;var K0=r(()=>{GJ();DJ();zJ();IJ();CJ();bQ();OJ();kJ();QX();j();L0=s(UJ(),1),wQ=s(EJ(),1)});function W0(Q){let J=H0.c(17),{tools:q,existingAgents:Y,onComplete:V,onCancel:Z}=Q,G;if(J[0]!==Y)G=()=>X(F0,{existingAgents:Y}),J[0]=Y,J[1]=G;else G=J[1];let U;if(J[2]!==q)U=()=>X(R0,{tools:q}),J[2]=q,J[3]=U;else U=J[3];let H;if(J[4]===Symbol.for("react.memo_cache_sentinel"))H=pJ()?[aZ]:[],J[4]=H;else H=J[4];let W;if(J[5]!==Y||J[6]!==V||J[7]!==q)W=()=>X(BZ,{tools:q,existingAgents:Y,onComplete:V}),J[5]=Y,J[6]=V,J[7]=q,J[8]=W;else W=J[8];let O;if(J[9]!==G||J[10]!==U||J[11]!==W)O=[lZ,tZ,dZ,G,Y0,vZ,U,X0,MZ,...H,W],J[9]=G,J[10]=U,J[11]=W,J[12]=O;else O=J[12];let K=O,R;if(J[13]===Symbol.for("react.memo_cache_sentinel"))R={},J[13]=R;else R=J[13];let z;if(J[14]!==Z||J[15]!==K)z=X(sQ,{steps:K,initialData:R,onComplete:xq,onCancel:Z,title:"Create new agent",showStepCounter:!1}),J[14]=Z,J[15]=K,J[16]=z;else z=J[16];return z}function xq(){}var H0;var O0=r(()=>{fQ();OJ();PZ();DZ();wZ();iZ();rZ();oZ();J0();Z0();V0();U0();K0();j();H0=s(UJ(),1)});function B0(Q){let J=f0.c(157),{tools:q,onExit:Y}=Q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel"))V={mode:"list-agents",source:"all"},J[0]=V;else V=J[0];let[Z,G]=qX.useState(V),U=eJ(JY),H=eJ(tq),W=eJ(eq),O=sJ(),{allAgents:K,activeAgents:R}=U,z;if(J[1]===Symbol.for("react.memo_cache_sentinel"))z=[],J[1]=z;else z=J[1];let[E,C]=qX.useState(z),y=z0(q,H,W);hJ();let I;if(J[2]!==K)I=K.filter(oq),J[2]=K,J[3]=I;else I=J[3];let v;if(J[4]!==K)v=K.filter(aq),J[4]=K,J[5]=v;else v=J[5];let P;if(J[6]!==K)P=K.filter(sq),J[6]=K,J[7]=P;else P=J[7];let f;if(J[8]!==K)f=K.filter(nq),J[8]=K,J[9]=f;else f=J[9];let b;if(J[10]!==K)b=K.filter(rq),J[10]=K,J[11]=b;else b=J[11];let S;if(J[12]!==K)S=K.filter(lq),J[12]=K,J[13]=S;else S=J[13];let k;if(J[14]!==K)k=K.filter($q),J[14]=K,J[15]=k;else k=J[15];let g;if(J[16]!==K||J[17]!==I||J[18]!==v||J[19]!==P||J[20]!==f||J[21]!==b||J[22]!==S||J[23]!==k)g={"built-in":I,userSettings:v,projectSettings:P,policySettings:f,localSettings:b,flagSettings:S,plugin:k,all:K},J[16]=K,J[17]=I,J[18]=v,J[19]=P,J[20]=f,J[21]=b,J[22]=S,J[23]=k,J[24]=g;else g=J[24];let A=g,d;if(J[25]===Symbol.for("react.memo_cache_sentinel"))d=(N)=>{C((p)=>[...p,N]),G({mode:"list-agents",source:"all"})},J[25]=d;else d=J[25];let i=d,l;if(J[26]!==O)l=async(N)=>{try{await MX(N),O((p)=>{let B=p.agentDefinitions.allAgents.filter((D)=>!(D.agentType===N.agentType&&D.source===N.source));return{...p,agentDefinitions:{...p.agentDefinitions,allAgents:B,activeAgents:nJ(B)}}}),C((p)=>[...p,`Deleted agent: ${SJ.bold(N.agentType)}`]),G({mode:"list-agents",source:"all"})}catch(p){CQ(M0(p))}},J[26]=O,J[27]=l;else l=J[27];let c=l;switch(Z.mode){case"list-agents":{let N;if(J[28]!==A||J[29]!==Z.source)N=Z.source==="all"?[...A["built-in"],...A.userSettings,...A.projectSettings,...A.localSettings,...A.policySettings,...A.flagSettings,...A.plugin]:A[Z.source],J[28]=A,J[29]=Z.source,J[30]=N;else N=J[30];let p=N,B;if(J[31]!==R||J[32]!==p)B=I0(p,R),J[31]=R,J[32]=p,J[33]=B;else B=J[33];let x=B,T;if(J[34]!==E||J[35]!==Y)T=()=>{let JJ=E.length>0?`Agent changes:
109
- ${E.join(`
110
- `)}`:void 0;Y(JJ??"Agents dialog dismissed",{display:E.length===0?"system":void 0})},J[34]=E,J[35]=Y,J[36]=T;else T=J[36];let w;if(J[37]!==Z)w=(JJ)=>G({mode:"agent-menu",agent:JJ,previousMode:Z}),J[37]=Z,J[38]=w;else w=J[38];let m;if(J[39]===Symbol.for("react.memo_cache_sentinel"))m=()=>G({mode:"create-agent"}),J[39]=m;else m=J[39];let _;if(J[40]!==E||J[41]!==Z.source||J[42]!==x||J[43]!==T||J[44]!==w)_=X(LZ,{source:Z.source,agents:x,onBack:T,onSelect:w,onCreateNew:m,changes:E}),J[40]=E,J[41]=Z.source,J[42]=x,J[43]=T,J[44]=w,J[45]=_;else _=J[45];let $;if(J[46]===Symbol.for("react.memo_cache_sentinel"))$=X(xJ,{}),J[46]=$;else $=J[46];let a;if(J[47]!==_)a=F(RJ,{children:[_,$]}),J[47]=_,J[48]=a;else a=J[48];return a}case"create-agent":{let N;if(J[49]===Symbol.for("react.memo_cache_sentinel"))N=()=>G({mode:"list-agents",source:"all"}),J[49]=N;else N=J[49];let p;if(J[50]!==R||J[51]!==y)p=X(W0,{tools:y,existingAgents:R,onComplete:i,onCancel:N}),J[50]=R,J[51]=y,J[52]=p;else p=J[52];return p}case"agent-menu":{let N;if(J[53]!==K||J[54]!==Z.agent.agentType||J[55]!==Z.agent.source){let h;if(J[57]!==Z.agent.agentType||J[58]!==Z.agent.source)h=(qJ)=>qJ.agentType===Z.agent.agentType&&qJ.source===Z.agent.source,J[57]=Z.agent.agentType,J[58]=Z.agent.source,J[59]=h;else h=J[59];N=K.find(h),J[53]=K,J[54]=Z.agent.agentType,J[55]=Z.agent.source,J[56]=N}else N=J[56];let B=N||Z.agent,D=B.source!=="built-in"&&B.source!=="plugin"&&B.source!=="flagSettings",x=B.source==="built-in",T;if(J[60]===Symbol.for("react.memo_cache_sentinel"))T={label:"View agent",value:"view"},J[60]=T;else T=J[60];let w;if(D)w=[{label:"Edit agent",value:"edit"},{label:"Change model",value:"change-model"},{label:"Delete agent",value:"delete"}];else if(x)w=[{label:"Change model",value:"change-model"}];else w=[];let m;if(J[63]===Symbol.for("react.memo_cache_sentinel"))m={label:"Back",value:"back"},J[63]=m;else m=J[63];let _;if(J[64]!==w)_=[T,...w,m],J[64]=w,J[65]=_;else _=J[65];let $=_,a;if(J[66]!==B||J[67]!==Z)a=(h)=>{J:switch(h){case"view":{G({mode:"view-agent",agent:B,previousMode:Z.previousMode});break J}case"edit":{G({mode:"edit-agent",agent:B,previousMode:Z});break J}case"delete":{G({mode:"delete-confirm",agent:B,previousMode:Z});break J}case"change-model":{G({mode:"edit-builtin-model",agent:B,previousMode:Z});break J}case"back":G(Z.previousMode)}},J[66]=B,J[67]=Z,J[68]=a;else a=J[68];let JJ=a,VJ;if(J[69]!==Z.previousMode)VJ=()=>G(Z.previousMode),J[69]=Z.previousMode,J[70]=VJ;else VJ=J[70];let MJ;if(J[71]!==Z.previousMode)MJ=()=>G(Z.previousMode),J[71]=Z.previousMode,J[72]=MJ;else MJ=J[72];let LJ;if(J[73]!==JJ||J[74]!==$||J[75]!==MJ)LJ=X(bJ,{options:$,onChange:JJ,onCancel:MJ}),J[73]=JJ,J[74]=$,J[75]=MJ,J[76]=LJ;else LJ=J[76];let HJ;if(J[77]!==E)HJ=E.length>0&&X(M,{marginTop:1,children:X(L,{dimColor:!0,children:E[E.length-1]})}),J[77]=E,J[78]=HJ;else HJ=J[78];let WJ;if(J[79]!==LJ||J[80]!==HJ)WJ=F(M,{flexDirection:"column",children:[LJ,HJ]}),J[79]=LJ,J[80]=HJ,J[81]=WJ;else WJ=J[81];let FJ;if(J[82]!==Z.agent.agentType||J[83]!==VJ||J[84]!==WJ)FJ=X(wJ,{title:Z.agent.agentType,onCancel:VJ,hideInputGuide:!0,children:WJ}),J[82]=Z.agent.agentType,J[83]=VJ,J[84]=WJ,J[85]=FJ;else FJ=J[85];let KJ;if(J[86]===Symbol.for("react.memo_cache_sentinel"))KJ=X(xJ,{}),J[86]=KJ;else KJ=J[86];let u;if(J[87]!==FJ)u=F(RJ,{children:[FJ,KJ]}),J[87]=FJ,J[88]=u;else u=J[88];return u}case"view-agent":{let N;if(J[89]!==K||J[90]!==Z.agent){let $;if(J[92]!==Z.agent)$=(a)=>a.agentType===Z.agent.agentType&&a.source===Z.agent.source,J[92]=Z.agent,J[93]=$;else $=J[93];N=K.find($),J[89]=K,J[90]=Z.agent,J[91]=N}else N=J[91];let B=N||Z.agent,D;if(J[94]!==B||J[95]!==Z.previousMode)D=()=>G({mode:"agent-menu",agent:B,previousMode:Z.previousMode}),J[94]=B,J[95]=Z.previousMode,J[96]=D;else D=J[96];let x;if(J[97]!==B||J[98]!==Z.previousMode)x=()=>G({mode:"agent-menu",agent:B,previousMode:Z.previousMode}),J[97]=B,J[98]=Z.previousMode,J[99]=x;else x=J[99];let T;if(J[100]!==B||J[101]!==K||J[102]!==y||J[103]!==x)T=X(zX,{agent:B,tools:y,allAgents:K,onBack:x}),J[100]=B,J[101]=K,J[102]=y,J[103]=x,J[104]=T;else T=J[104];let w;if(J[105]!==B.agentType||J[106]!==D||J[107]!==T)w=X(wJ,{title:B.agentType,onCancel:D,hideInputGuide:!0,children:T}),J[105]=B.agentType,J[106]=D,J[107]=T,J[108]=w;else w=J[108];let m;if(J[109]===Symbol.for("react.memo_cache_sentinel"))m=X(xJ,{instructions:"Press Enter or Esc to go back"}),J[109]=m;else m=J[109];let _;if(J[110]!==w)_=F(RJ,{children:[w,m]}),J[110]=w,J[111]=_;else _=J[111];return _}case"delete-confirm":{let N;if(J[112]===Symbol.for("react.memo_cache_sentinel"))N=[{label:"Yes, delete",value:"yes"},{label:"No, cancel",value:"no"}],J[112]=N;else N=J[112];let p=N,B;if(J[113]!==Z)B=()=>{if("previousMode"in Z)G(Z.previousMode)},J[113]=Z,J[114]=B;else B=J[114];let D;if(J[115]!==Z.agent.agentType)D=F(L,{children:["Are you sure you want to delete the agent"," ",X(L,{bold:!0,children:Z.agent.agentType}),"?"]}),J[115]=Z.agent.agentType,J[116]=D;else D=J[116];let x;if(J[117]!==Z.agent.source)x=X(M,{marginTop:1,children:F(L,{dimColor:!0,children:["Source: ",Z.agent.source]})}),J[117]=Z.agent.source,J[118]=x;else x=J[118];let T;if(J[119]!==c||J[120]!==Z)T=(JJ)=>{if(JJ==="yes")c(Z.agent);else if("previousMode"in Z)G(Z.previousMode)},J[119]=c,J[120]=Z,J[121]=T;else T=J[121];let w;if(J[122]!==Z)w=()=>{if("previousMode"in Z)G(Z.previousMode)},J[122]=Z,J[123]=w;else w=J[123];let m;if(J[124]!==T||J[125]!==w)m=X(M,{marginTop:1,children:X(bJ,{options:p,onChange:T,onCancel:w})}),J[124]=T,J[125]=w,J[126]=m;else m=J[126];let _;if(J[127]!==B||J[128]!==D||J[129]!==x||J[130]!==m)_=F(wJ,{title:"Delete agent",onCancel:B,color:"error",children:[D,x,m]}),J[127]=B,J[128]=D,J[129]=x,J[130]=m,J[131]=_;else _=J[131];let $;if(J[132]===Symbol.for("react.memo_cache_sentinel"))$=X(xJ,{instructions:"Press ↑↓ to navigate, Enter to select, Esc to cancel"}),J[132]=$;else $=J[132];let a;if(J[133]!==_)a=F(RJ,{children:[_,$]}),J[133]=_,J[134]=a;else a=J[134];return a}case"edit-agent":{let N;if(J[135]!==K||J[136]!==Z.agent){let JJ;if(J[138]!==Z.agent)JJ=(VJ)=>VJ.agentType===Z.agent.agentType&&VJ.source===Z.agent.source,J[138]=Z.agent,J[139]=JJ;else JJ=J[139];N=K.find(JJ),J[135]=K,J[136]=Z.agent,J[137]=N}else N=J[137];let B=N||Z.agent,D=`Edit agent: ${B.agentType}`,x;if(J[140]!==Z.previousMode)x=()=>G(Z.previousMode),J[140]=Z.previousMode,J[141]=x;else x=J[141];let T,w;if(J[142]!==Z.previousMode)T=(JJ)=>{i(JJ),G(Z.previousMode)},w=()=>G(Z.previousMode),J[142]=Z.previousMode,J[143]=T,J[144]=w;else T=J[143],w=J[144];let m;if(J[145]!==B||J[146]!==y||J[147]!==T||J[148]!==w)m=X(QZ,{agent:B,tools:y,onSaved:T,onBack:w}),J[145]=B,J[146]=y,J[147]=T,J[148]=w,J[149]=m;else m=J[149];let _;if(J[150]!==D||J[151]!==x||J[152]!==m)_=X(wJ,{title:D,onCancel:x,hideInputGuide:!0,children:m}),J[150]=D,J[151]=x,J[152]=m,J[153]=_;else _=J[153];let $;if(J[154]===Symbol.for("react.memo_cache_sentinel"))$=X(xJ,{}),J[154]=$;else $=J[154];let a;if(J[155]!==_)a=F(RJ,{children:[_,$]}),J[155]=_,J[156]=a;else a=J[156];return a}case"edit-builtin-model":{let{agent:N,previousMode:p}=Z,B=async(x)=>{let T=x??"inherit";try{if(N.source==="built-in")P0((m)=>({...m,agentModelOverrides:{...m.agentModelOverrides??{},[E0(N.agentType)]:T}}));else if(N.baseDir)rJ(N.baseDir,N.agentType,T);else{CQ(Error(`Cannot save model override for ${N.agentType}: missing baseDir`)),G(p);return}N0();let w=await k0(QQ());O((m)=>({...m,agentDefinitions:{...m.agentDefinitions,allAgents:w.allAgents,activeAgents:w.activeAgents}})),C((m)=>[...m,`Set model for ${SJ.bold(N.agentType)} → ${T}`])}catch(w){CQ(w)}G(p)},D=()=>G(p);return F(RJ,{children:[X(wJ,{title:`Change model: ${N.agentType}`,onCancel:D,hideInputGuide:!0,children:X(dJ,{initialModel:N.model??"inherit",onComplete:B,onCancel:D})}),X(xJ,{})]})}default:return null}}function $q(Q){return Q.source==="plugin"}function lq(Q){return Q.source==="flagSettings"}function rq(Q){return Q.source==="localSettings"}function nq(Q){return Q.source==="policySettings"}function sq(Q){return Q.source==="projectSettings"}function aq(Q){return Q.source==="userSettings"}function oq(Q){return Q.source==="built-in"}function eq(Q){return Q.toolPermissionContext}function tq(Q){return Q.mcp.tools}function JY(Q){return Q.agentDefinitions}var f0,qX;var D0=r(()=>{dQ();GQ();iq();GJ();zQ();RZ();XQ();dq();iQ();cq();hQ();gq();qQ();lQ();IX();XZ();qZ();FZ();EQ();cJ();RX();O0();j();f0=s(UJ(),1),qX=s(EJ(),1)});function v0(){let Q=eJ((q)=>q.tasks),J=Object.values(Q).filter((q)=>q.type==="local_agent"&&q.agentType!=="main-session"&&(q.status==="running"||q.status==="pending"));return F(M,{flexDirection:"column",paddingTop:1,children:[X(uJ,{color:"permission"}),X(M,{flexDirection:"column",paddingX:2,children:J.length===0?X(M,{marginTop:1,children:X(L,{dimColor:!0,children:"No subagents are currently running."})}):X(M,{flexDirection:"column",marginTop:1,gap:1,children:J.map((q)=>{let Y=q.progress?.tokenCount??0,V=q.progress?.toolUseCount??0,Z=q.model??"inherit",G=q.progress?.lastActivity;return F(M,{flexDirection:"column",children:[F(M,{flexDirection:"row",gap:1,children:[X(L,{bold:!0,children:q.agentType}),X(L,{dimColor:!0,children:"·"}),X(L,{dimColor:!0,children:Z}),X(L,{dimColor:!0,children:"·"}),F(L,{dimColor:!0,children:[b0(Y)," tokens"]}),V>0&&F(RJ,{children:[X(L,{dimColor:!0,children:"·"}),F(L,{dimColor:!0,children:[V," tool",V!==1?"s":""]})]})]}),G&&X(M,{paddingLeft:2,children:X(L,{dimColor:!0,italic:!0,children:G.activityDescription??G.toolName})})]},q.id)})})})]})}var w0=r(()=>{GJ();zQ();kZ();xQ();j()});function QY({onExit:Q}){let J=hJ();t("confirm:no",Q,{context:"Confirmation",isActive:!0});let q=J.pending?`Press ${J.keyName} again to exit`:"←/→ switch tabs · ↑↓ navigate · Enter select · Esc close";return X(M,{marginLeft:2,marginTop:1,children:X(L,{dimColor:!0,children:q})})}function A0({tools:Q,onExit:J}){let[q,Y]=y0.useState("library");C0((Z,G)=>{if(G.leftArrow)Y("running");if(G.rightArrow)Y("library")},{isActive:!0});let V=F(M,{flexDirection:"row",gap:1,marginBottom:0,children:[X(L,{bold:!0,color:"permission",children:"Agents"}),F(L,{bold:q==="running",inverse:q==="running",children:[" ","Running"," "]}),F(L,{bold:q==="library",inverse:q==="library",children:[" ","Library"," "]})]});if(q==="running")return F(M,{flexDirection:"column",children:[V,X(v0,{}),X(QY,{onExit:()=>J("Agents dialog dismissed",{display:"system"})})]});return F(M,{flexDirection:"column",children:[V,X(B0,{tools:Q,onExit:J})]})}var y0;var h0=r(()=>{GJ();GQ();DJ();D0();w0();j();y0=s(EJ(),1)});async function RF(Q,J){let Y=J.getAppState().toolPermissionContext,V=_0(Y);return X(A0,{tools:V,onExit:Q})}var ZY=r(()=>{h0();XY();j()});ZY();export{RF as call};
@@ -1 +0,0 @@
1
- import{n4 as a,o4 as b,p4 as c,q4 as d,r4 as e,s4 as f,t4 as g,u4 as h,v4 as i,w4 as j,x4 as k}from"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";k();export{j as updateSessionTitle,i as sendEventToRemoteSession,d as prepareApiRequest,a as isTransientNetworkError,f as getOAuthHeaders,h as getBranchFromSession,g as fetchSession,e as fetchCodeSessionsFromSessionsAPI,b as axiosGetWithRetry,c as CodeSessionSchema};
@@ -1 +0,0 @@
1
- import{jb as a,kb as b}from"./cli-1.1.16-eg2wh4gb.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";export{b as renameRecordingForSession,a as getSessionRecordingPaths};
@@ -1 +0,0 @@
1
- import"./cli-1.1.16-w5ns6t4b.mjs";var e=null;async function r(){return""}function s(t){return null}export{e as default,r as computeDefaultInstallDir,s as NewInstallWizard};
@@ -1 +0,0 @@
1
- import{$7 as s,A8 as T,B8 as U,C8 as V,D8 as W,E8 as X,F8 as Y,G8 as Z,H8 as _,I8 as $,J7 as a,K7 as b,K8 as aa,L7 as c,M7 as d,N7 as e,O7 as f,P7 as g,Q7 as h,R7 as i,S7 as j,T7 as k,U7 as l,V7 as m,W7 as n,X7 as o,Y7 as p,Z7 as q,_7 as r,a8 as t,b8 as u,c8 as v,d8 as w,e8 as x,f8 as y,g8 as z,h8 as A,i8 as B,j8 as C,k8 as D,l8 as E,m8 as F,n8 as G,o8 as H,p8 as I,q8 as J,r8 as K,s8 as L,t8 as M,u8 as N,v8 as O,w8 as P,x8 as Q,y8 as R,z8 as S}from"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";aa();export{$ as validateForceLoginOrg,C as saveOAuthTokensIfNeeded,z as saveApiKey,B as removeApiKey,u as refreshGcpCredentialsIfNeeded,t as refreshGcpAuth,o as refreshAwsAuth,p as refreshAndGetAwsCredentials,w as prefetchGcpCredentialsIfSafe,x as prefetchAwsCredentialsAndBedRockInfoIfSafe,n as prefetchApiKeyFromApiKeyHelperIfSafe,W as isUsing3PServices,Q as isTeamSubscriber,R as isTeamPremiumSubscriber,T as isProSubscriber,M as isOverageProvisioningAllowed,X as isOtelHeadersHelperFromProjectOrLocalSettings,P as isMaxSubscriber,r as isGcpAuthRefreshFromProjectSettings,S as isEnterpriseSubscriber,A as isCustomApiKeyApproved,Z as isConsumerSubscriber,I as isClaudeAISubscriber,h as isAwsCredentialExportFromProjectSettings,g as isAwsAuthRefreshFromProjectSettings,a as isAnthropicAuthEnabled,K as is1PApiCustomer,J as hasProfileScope,N as hasOpusAccess,d as hasAnthropicApiKeyAuth,F as handleOAuth401Error,O as getSubscriptionType,V as getSubscriptionName,U as getRateLimitTier,Y as getOtelHeadersFromHelper,L as getOauthAccountInfo,f as getConfiguredApiKeyHelper,G as getClaudeAIOAuthTokensAsync,D as getClaudeAIOAuthTokens,b as getAuthTokenSource,j as getApiKeyHelperElapsedMs,y as getApiKeyFromConfigOrMacOSKeychain,l as getApiKeyFromApiKeyHelperCached,k as getApiKeyFromApiKeyHelper,e as getAnthropicApiKeyWithSource,c as getAnthropicApiKey,_ as getAccountInformation,E as clearOAuthTokenCache,v as clearGcpCredentialsCache,q as clearAwsCredentialsCache,m as clearApiKeyHelperCache,s as checkGcpCredentialsValid,H as checkAndRefreshOAuthTokenIfNeeded,i as calculateApiKeyHelperTTL};
@@ -1 +0,0 @@
1
- import{AH as c,BH as d,CH as e,DH as f,EH as g,yH as a,zH as b}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";g();export{a as performLogout,c as installOAuthTokens,b as clearAuthRelatedCaches,e as authStatus,f as authLogout,d as authLogin};
@@ -1,48 +0,0 @@
1
- import{Ex as w,Fx as z,Gu as b,Gx as F,Hu as I,Hx as N}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import{$6 as x,B6 as y,U6 as P}from"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{Rda as Q,Tda as k}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import{lka as $,qka as U}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import{gla as Z,nla as T}from"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";T();x();N();k();I();U();function G(h){process.stdout.write($(h,null,2)+`
2
- `)}var V=`Auto-mode classifier prompts are not bundled in this build.
3
- Effective behavior at runtime: auto-allow for non-allowlisted tools.
4
- Add prompt templates at src/permissions/yolo-classifier-prompts/ and rebuild to enable.
5
- `;function D(){if(!w()){process.stdout.write(V);return}G(z())}function E(){if(!w()){process.stdout.write(V);return}let h=Q(),j=z();G({allow:h?.allow?.length?h.allow:j.allow,soft_deny:h?.soft_deny?.length?h.soft_deny:j.soft_deny,environment:h?.environment?.length?h.environment:j.environment})}var m=`You are an expert reviewer of auto mode classifier rules for Claude Code.
6
-
7
- Claude Code has an "auto mode" that uses an AI classifier to decide whether tool calls should be auto-approved or require user confirmation. Users can write custom rules in three categories:
8
-
9
- - **allow**: Actions the classifier should auto-approve
10
- - **soft_deny**: Actions the classifier should block (require user confirmation)
11
- - **environment**: Context about the user's setup that helps the classifier make decisions
12
-
13
- Your job is to critique the user's custom rules for clarity, completeness, and potential issues. The classifier is an LLM that reads these rules as part of its system prompt.
14
-
15
- For each rule, evaluate:
16
- 1. **Clarity**: Is the rule unambiguous? Could the classifier misinterpret it?
17
- 2. **Completeness**: Are there gaps or edge cases the rule doesn't cover?
18
- 3. **Conflicts**: Do any of the rules conflict with each other?
19
- 4. **Actionability**: Is the rule specific enough for the classifier to act on?
20
-
21
- Be concise and constructive. Only comment on rules that could be improved. If all rules look good, say so.`;async function M(h){if(!w()){process.stdout.write(V);return}let j=Q();if(!((j?.allow?.length??0)>0||(j?.soft_deny?.length??0)>0||(j?.environment?.length??0)>0)){process.stdout.write(`No custom auto mode rules found.
22
-
23
- Add rules to your settings file under autoMode.{allow, soft_deny, environment}.
24
- Run \`claude auto-mode defaults\` to see the default rules for reference.
25
- `);return}let H=h.model?P(h.model):y(),q=z(),v=F(),O=K("allow",j?.allow??[],q.allow)+K("soft_deny",j?.soft_deny??[],q.soft_deny)+K("environment",j?.environment??[],q.environment);process.stdout.write(`Analyzing your auto mode rules…
26
-
27
- `);let X;try{X=await b({querySource:"auto_mode_critique",model:H,system:m,max_tokens:4096,messages:[{role:"user",content:`Here is the full classifier system prompt that the auto mode classifier receives:
28
-
29
- <classifier_system_prompt>
30
- `+v+`
31
- </classifier_system_prompt>
32
-
33
- Here are the user's custom rules that REPLACE the corresponding default sections:
34
-
35
- `+O+`
36
- Please critique these custom rules.`}]})}catch(J){process.stderr.write("Failed to analyze rules: "+Z(J)+`
37
- `),process.exitCode=1;return}let Y=X.content.find((J)=>J.type==="text");if(Y?.type==="text")process.stdout.write(Y.text+`
38
- `);else process.stdout.write(`No critique was generated. Please try again.
39
- `)}function K(h,j,W){if(j.length===0)return"";let H=j.map((v)=>"- "+v).join(`
40
- `),q=W.map((v)=>"- "+v).join(`
41
- `);return"## "+h+` (custom rules replacing defaults)
42
- Custom:
43
- `+H+`
44
-
45
- Defaults being replaced:
46
- `+q+`
47
-
48
- `}export{D as autoModeDefaultsHandler,M as autoModeCritiqueHandler,E as autoModeConfigHandler};
@@ -1 +0,0 @@
1
- import{BU as a,CU as b,DU as c,EU as d,FU as e,GU as f,HU as g,IU as h,JU as i,KU as j,LU as k,MU as l,NU as m,OU as n,PU as o}from"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";o();export{f as shouldSkipVersion,b as repairBunGlobalBinary,n as installGlobalPackage,m as getVersionHistory,j as getNpmDistTags,e as getMaxVersionMessage,d as getMaxVersion,g as getLockFilePath,k as getLatestVersionFromGcs,i as getLatestVersion,l as getGcsDistTags,a as getBunGlobalPackageDir,h as checkGlobalInstallPermissions,c as assertMinVersion};
@@ -1 +0,0 @@
1
- import{Sa as a}from"./cli-1.1.16-6fekr49f.mjs";import"./cli-1.1.16-5wsywzcq.mjs";import"./cli-1.1.16-n9r7jwvf.mjs";import"./cli-1.1.16-48pfhgz1.mjs";import"./cli-1.1.16-a6z5s072.mjs";import"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";export{a as startBackgroundHousekeeping};
@@ -1,4 +0,0 @@
1
- import{BT as E,DT as c,Dj as C,Jj as D,Kj as M,Pj as R,aT as j}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import"./cli-1.1.16-72wxrwg0.mjs";import"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import{Taa as U,Waa as b,_ca as w,ida as k}from"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import{Fja as F,Ija as N}from"./cli-1.1.16-5a4a2nqs.mjs";import{lka as O,qka as S}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import{era as I,fna as z,lna as v}from"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Ssa as h}from"./cli-1.1.16-w5ns6t4b.mjs";import{randomUUID as u}from"crypto";import{mkdir as y,readFile as p,writeFile as f}from"fs/promises";function g(Q){let G=Q?.message?.content;if(!G)return"Branched conversation";let X=typeof G==="string"?G:G.find((Z)=>Z.type==="text")?.text;if(!X)return"Branched conversation";return X.replace(/\s+/g," ").trim().slice(0,100)||"Branched conversation"}async function d(Q){let G=u(),X=z(),Z=R(v()),Y=M(G),V=D();await y(Z,{recursive:!0,mode:448});let K;try{K=await p(V)}catch{throw Error("No conversation to branch")}if(K.length===0)throw Error("No conversation to branch");let _=U(K),W=_.filter((A)=>C(A)&&!A.isSidechain),H=_.filter((A)=>A.type==="content-replacement"&&A.sessionId===X).flatMap((A)=>A.replacements);if(W.length===0)throw Error("No messages to branch");let $=null,q=[],B=[];for(let A of W){let L={...A,sessionId:G,parentUuid:$,isSidechain:!1,forkedFrom:{sessionId:X,messageUuid:A.uuid}},J={...A,sessionId:G};if(B.push(J),q.push(O(L)),A.type!=="progress")$=A.uuid}if(H.length>0){let A={type:"content-replacement",sessionId:G,replacements:H};q.push(O(A))}return await f(Y,q.join(`
2
- `)+`
3
- `,{encoding:"utf8",mode:384}),{sessionId:G,title:Q,forkPath:Y,serializedMessages:B,contentReplacementRecords:H}}async function l(Q){let G=`${Q} (Branch)`;if((await E(G,{exact:!0})).length===0)return G;let Z=await E(`${Q} (Branch`),Y=new Set([1]),V=new RegExp(`^${w(Q)} \\(Branch(?: (\\d+))?\\)$`);for(let _ of Z){let W=_.customTitle?.match(V);if(W)if(W[1])Y.add(parseInt(W[1],10));else Y.add(1)}let K=2;while(Y.has(K))K++;return`${Q} (Branch ${K})`}async function AA(Q,G,X){let Z=X?.trim()||void 0,Y=z();try{let{sessionId:V,title:K,forkPath:_,serializedMessages:W,contentReplacementRecords:H}=await d(Z),$=new Date,q=g(W.find((T)=>T.type==="user")),A=await l(K??q);await j(V,A,_),F("",{message_count:W.length,has_custom_title:!!K});let L={date:$.toISOString().split("T")[0],messages:W,fullPath:_,value:$.getTime(),created:$,modified:$,firstPrompt:q,messageCount:W.length,isSidechain:!1,sessionId:V,customTitle:A,contentReplacements:H},J=K?` "${K}"`:"",x=`
4
- To resume the original: claude -r ${Y}`,P=`Branched conversation${J}. You are now in the branch.${x}`;if(G.resume)await G.resume(V,L,"fork"),Q(P,{display:"system"});else Q(`Branched conversation${J}. Resume with: /resume ${V}`);return null}catch(V){let K=V instanceof Error?V.message:"Unknown error occurred";return Q(`Failed to branch conversation: ${K}`),null}}var m=h(()=>{I();N();b();c();S();k()});m();export{g as deriveFirstPrompt,AA as call};
@@ -1,2 +0,0 @@
1
- import{cc as Oz,dc as xz}from"./cli-1.1.16-xfke0ngj.mjs";import{gc as Uz,ic as uz}from"./cli-1.1.16-amvj9fsw.mjs";import{Ee as bz,Fe as Tz}from"./cli-1.1.16-5dtt0nsq.mjs";import{Xe as fz,Ze as Lz,_e as gz}from"./cli-1.1.16-69ma6qdv.mjs";import{wi as Fz,yi as vz}from"./cli-1.1.16-2xgcx2pv.mjs";import{Vx as q,Wx as Xz,Yx as mz,io as Pz,jo as Bz,nG as s,oG as hz,pG as kz,sG as Sz}from"./cli-1.1.16-hwr77b8n.mjs";import"./cli-1.1.16-ejy0gvv1.mjs";import"./cli-1.1.16-acbajet0.mjs";import"./cli-1.1.16-00hws7wd.mjs";import"./cli-1.1.16-hq7j37g9.mjs";import"./cli-1.1.16-q827fp1q.mjs";import"./cli-1.1.16-tjzxdkkt.mjs";import"./cli-1.1.16-4azerbgs.mjs";import"./cli-1.1.16-9wfv4nx7.mjs";import"./cli-1.1.16-tjqwb7e1.mjs";import"./cli-1.1.16-p0fj6fyd.mjs";import"./cli-1.1.16-11vm4ckb.mjs";import"./cli-1.1.16-yymrc4dd.mjs";import"./cli-1.1.16-4kbzs997.mjs";import{OW as Mz,PW as Nz,RW as qz,UW as Dz}from"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-y1vrwcq4.mjs";import"./cli-1.1.16-rvyqa9q1.mjs";import"./cli-1.1.16-pzq1a8yw.mjs";import"./cli-1.1.16-tv4kjnwq.mjs";import"./cli-1.1.16-manqzza5.mjs";import{wY as Gz,xY as Rz}from"./cli-1.1.16-cnwnk7gb.mjs";import"./cli-1.1.16-egxjzfe2.mjs";import{B1 as Ez,W0 as n,Y0 as N,xZ as Az}from"./cli-1.1.16-6ptafg83.mjs";import"./cli-1.1.16-4v9hjjtt.mjs";import"./cli-1.1.16-gze584gt.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-x0gywt7y.mjs";import"./cli-1.1.16-a2heems6.mjs";import"./cli-1.1.16-vchwnr3f.mjs";import"./cli-1.1.16-dn98cknd.mjs";import"./cli-1.1.16-8azzqa5w.mjs";import"./cli-1.1.16-x9m0y8t1.mjs";import"./cli-1.1.16-8brzp1nw.mjs";import{$3 as Zz,Z3 as X,_3 as o}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as Iz}from"./cli-1.1.16-2mzk1cmm.mjs";import"./cli-1.1.16-cc5chgna.mjs";import"./cli-1.1.16-vq6g4ncg.mjs";import"./cli-1.1.16-vra6hr5d.mjs";import"./cli-1.1.16-s73aeg9m.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-ynvgphfk.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-wv6e57r1.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import{Fja as $,Ija as jz}from"./cli-1.1.16-5a4a2nqs.mjs";import{Ika as Vz,Lka as yz}from"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import{Osa as Kz,Ssa as Cz,Tsa as wz}from"./cli-1.1.16-w5ns6t4b.mjs";function cz(H){let z=Yz.c(10),{onDone:J,name:Z}=H,P=Xz(),b=q(dz),S=q(az),K=q(_z),[D,G]=M.useState(!1),f;if(z[0]!==Z||z[1]!==J||z[2]!==b||z[3]!==S||z[4]!==K||z[5]!==P)f=()=>{if((b||S)&&!K){G(!0);return}let V=!1;return(async()=>{let Y=await zH();if(V)return;if(Y){$("",{action:"preflight_failed"}),J(Y,{display:"system"});return}if(Oz()){P((W)=>{if(W.showRemoteCallout)return W;return{...W,showRemoteCallout:!0,replBridgeInitialName:Z}}),J("",{display:"system"});return}$("",{action:"connect"}),P((W)=>{if(W.replBridgeEnabled&&!W.replBridgeOutboundOnly)return W;return{...W,replBridgeEnabled:!0,replBridgeExplicit:!0,replBridgeOutboundOnly:!1,replBridgeInitialName:Z}}),J("Remote Control connecting…",{display:"system"})})(),()=>{V=!0}},z[0]=Z,z[1]=J,z[2]=b,z[3]=S,z[4]=K,z[5]=P,z[6]=f;else f=z[6];let k;if(z[7]===Symbol.for("react.memo_cache_sentinel"))k=[],z[7]=k;else k=z[7];if(M.useEffect(f,k),D){let V;if(z[8]!==J)V=X(lz,{onDone:J}),z[8]=J,z[9]=V;else V=z[9];return V}return null}function _z(H){return H.replBridgeOutboundOnly}function az(H){return H.replBridgeEnabled}function dz(H){return H.replBridgeConnected}function lz(H){let z=Yz.c(61),{onDone:J}=H;kz("bridge-disconnect-dialog");let Z=Xz(),P=q(tz),b=q(ez),S=q($z),[K,D]=M.useState(2),[G,f]=M.useState(!1),[k,V]=M.useState(""),Y=S?P:b,W,T;if(z[0]!==Y||z[1]!==G)W=()=>{if(!G||!Y){V("");return}bz(Y,{type:"utf8",errorCorrectionLevel:"L"}).then(V).catch(()=>V(""))},T=[G,Y],z[0]=Y,z[1]=G,z[2]=W,z[3]=T;else W=z[2],T=z[3];M.useEffect(W,T);let g;if(z[4]!==J||z[5]!==Z)g=function(){Z(sz),$("",{action:"disconnect"}),J(Lz,{display:"system"})},z[4]=J,z[5]=Z,z[6]=g;else g=z[6];let e=g,u;if(z[7]===Symbol.for("react.memo_cache_sentinel"))u=function(){f(nz)},z[7]=u;else u=z[7];let Qz=u,x;if(z[8]!==J)x=function(){J(void 0,{display:"skip"})},z[8]=J,z[9]=x;else x=z[9];let L=x,c,_;if(z[10]===Symbol.for("react.memo_cache_sentinel"))c=()=>D(oz),_=()=>D(rz),z[10]=c,z[11]=_;else c=z[10],_=z[11];let a;if(z[12]!==K||z[13]!==L||z[14]!==e)a={"select:next":c,"select:previous":_,"select:accept":()=>{if(K===0)e();else if(K===1)Qz();else L()}},z[12]=K,z[13]=L,z[14]=e,z[15]=a;else a=z[15];let d;if(z[16]===Symbol.for("react.memo_cache_sentinel"))d={context:"Select"},z[16]=d;else d=z[16];Gz(a,d);let U,O,Q,C,F,w,j,y,I;if(z[17]!==Y||z[18]!==L||z[19]!==k||z[20]!==G){let v=k?k.split(`
2
- `).filter(iz):[];O=Pz,j="Remote Control",y=L,I=!0,U=n,Q="column",C=1;let Wz=Y?` at ${Y}`:"";if(z[30]!==Wz)F=o(N,{children:["This session is available via Remote Control",Wz,"."]}),z[30]=Wz,z[31]=F;else F=z[31];w=G&&v.length>0&&X(n,{flexDirection:"column",children:v.map(pz)}),z[17]=Y,z[18]=L,z[19]=k,z[20]=G,z[21]=U,z[22]=O,z[23]=Q,z[24]=C,z[25]=F,z[26]=w,z[27]=j,z[28]=y,z[29]=I}else U=z[21],O=z[22],Q=z[23],C=z[24],F=z[25],w=z[26],j=z[27],y=z[28],I=z[29];let t=K===0,l;if(z[32]===Symbol.for("react.memo_cache_sentinel"))l=X(N,{children:"Disconnect this session"}),z[32]=l;else l=z[32];let A;if(z[33]!==t)A=X(s,{isFocused:t,children:l}),z[33]=t,z[34]=A;else A=z[34];let zz=K===1,Hz=G?"Hide QR code":"Show QR code",E;if(z[35]!==Hz)E=X(N,{children:Hz}),z[35]=Hz,z[36]=E;else E=z[36];let R;if(z[37]!==zz||z[38]!==E)R=X(s,{isFocused:zz,children:E}),z[37]=zz,z[38]=E,z[39]=R;else R=z[39];let Jz=K===2,p;if(z[40]===Symbol.for("react.memo_cache_sentinel"))p=X(N,{children:"Continue"}),z[40]=p;else p=z[40];let B;if(z[41]!==Jz)B=X(s,{isFocused:Jz,children:p}),z[41]=Jz,z[42]=B;else B=z[42];let m;if(z[43]!==A||z[44]!==R||z[45]!==B)m=o(n,{flexDirection:"column",children:[A,R,B]}),z[43]=A,z[44]=R,z[45]=B,z[46]=m;else m=z[46];let i;if(z[47]===Symbol.for("react.memo_cache_sentinel"))i=X(N,{dimColor:!0,children:"Enter to select · Esc to continue"}),z[47]=i;else i=z[47];let h;if(z[48]!==U||z[49]!==Q||z[50]!==C||z[51]!==F||z[52]!==w||z[53]!==m)h=o(U,{flexDirection:Q,gap:C,children:[F,w,m,i]}),z[48]=U,z[49]=Q,z[50]=C,z[51]=F,z[52]=w,z[53]=m,z[54]=h;else h=z[54];let r;if(z[55]!==O||z[56]!==j||z[57]!==y||z[58]!==I||z[59]!==h)r=X(O,{title:j,onCancel:y,hideInputGuide:I,children:h}),z[55]=O,z[56]=j,z[57]=y,z[58]=I,z[59]=h,z[60]=r;else r=z[60];return r}function pz(H,z){return X(N,{children:H},z)}function iz(H){return H.length>0}function rz(H){return(H-1+3)%3}function oz(H){return(H+1)%3}function nz(H){return!H}function sz(H){if(!H.replBridgeEnabled)return H;return{...H,replBridgeEnabled:!1,replBridgeExplicit:!1,replBridgeOutboundOnly:!1}}function $z(H){return H.replBridgeSessionActive}function ez(H){return H.replBridgeConnectUrl}function tz(H){return H.replBridgeSessionUrl}async function zH(){let{waitForPolicyLimitsToLoad:H,isPolicyAllowed:z}=await import("./index-1.1.16-n1gyvm02.mjs");if(await H(),!z("allow_remote_control"))return"Remote Control is disabled by your organization's policy.";let J=await Mz();if(J)return J;let P=Nz()?await Uz():qz();if(P)return P;if(!Fz())return fz;return Vz("[bridge] Prerequisites passed, enabling bridge"),null}async function bH(H,z,J){let Z=J.trim()||void 0;return X(cz,{onDone:H,name:Z})}var Yz,M;var HH=Cz(()=>{Tz();vz();Dz();uz();gz();Bz();hz();xz();Sz();Ez();Rz();jz();mz();yz();Zz();Yz=Kz(Az(),1),M=Kz(Iz(),1)});HH();export{bH as call};
@@ -1 +0,0 @@
1
- import{ui as a,vi as b,wi as c,xi as d,yi as e}from"./cli-1.1.16-2xgcx2pv.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";e();export{a as getBridgeTokenOverride,b as getBridgeBaseUrlOverride,d as getBridgeBaseUrl,c as getBridgeAccessToken};
@@ -1 +0,0 @@
1
- import{MW as a,NW as b,OW as c,PW as d,QW as e,RW as f,SW as g,TW as h,UW as i}from"./cli-1.1.16-vngrsrs8.mjs";import"./cli-1.1.16-yv8wazsp.mjs";import"./cli-1.1.16-49bqpfq6.mjs";import"./cli-1.1.16-cs3aeka5.mjs";import"./cli-1.1.16-dtwt84pe.mjs";import"./cli-1.1.16-pdga6t1k.mjs";import"./cli-1.1.16-gyw71nnw.mjs";import"./cli-1.1.16-jcye29qq.mjs";import"./cli-1.1.16-r0tgqw2k.mjs";import"./cli-1.1.16-b7t8n05k.mjs";import"./cli-1.1.16-c9b05x0s.mjs";import"./cli-1.1.16-way1d0g7.mjs";import"./cli-1.1.16-z56ew2eh.mjs";import"./cli-1.1.16-kz0jkcdc.mjs";import"./cli-1.1.16-3wey4s8m.mjs";import"./cli-1.1.16-5a4a2nqs.mjs";import"./cli-1.1.16-s404wy1x.mjs";import"./cli-1.1.16-cmw3ar20.mjs";import"./cli-1.1.16-njacmwr1.mjs";import"./cli-1.1.16-b80x5mp6.mjs";import"./cli-1.1.16-eabt3s19.mjs";import"./cli-1.1.16-vhwypfn6.mjs";import"./cli-1.1.16-aae4w645.mjs";import"./cli-1.1.16-4qysqchs.mjs";import"./cli-1.1.16-r41v96xz.mjs";import"./cli-1.1.16-zgwt3v22.mjs";import"./cli-1.1.16-w5ns6t4b.mjs";i();export{d as isEnvLessBridgeEnabled,e as isCseShimEnabled,h as isCcrMirrorEnabled,b as isBridgeEnabledBlocking,a as isBridgeEnabled,g as getCcrAutoConnectDefault,c as getBridgeDisabledReason,f as checkBridgeMinVersion};