@claudiolabs/claudin 1.1.30 → 1.1.31

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 (904) hide show
  1. package/dist/chunks/AgentTool-1.1.31-6e06310w.mjs +1 -0
  2. package/dist/chunks/App-1.1.31-bp57fthj.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.31-ptx7r5x2.mjs +1 -0
  4. package/dist/chunks/AutoModeOptInDialog-1.1.31-0d22j8k7.mjs +1 -0
  5. package/dist/chunks/BypassPermissionsModeDialog-1.1.31-v2cfafqt.mjs +1 -0
  6. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.31-a8e8ar2n.mjs +1 -0
  7. package/dist/chunks/ConsoleOAuthFlow-1.1.31-zq76tmk2.mjs +1 -0
  8. package/dist/chunks/DiffDialog-1.1.31-r1mknqwv.mjs +6 -0
  9. package/dist/chunks/Doctor-1.1.31-t4n9k4nc.mjs +1 -0
  10. package/dist/chunks/ExplorerDialog-1.1.31-41a3c01z.mjs +6 -0
  11. package/dist/chunks/ITermBackend-1.1.31-y9f8hq45.mjs +1 -0
  12. package/dist/chunks/InvalidConfigDialog-1.1.31-xpdggxkf.mjs +1 -0
  13. package/dist/chunks/InvalidSettingsDialog-1.1.31-0bg1r1g6.mjs +1 -0
  14. package/dist/chunks/MigrationDialog-1.1.31-w8fpbc16.mjs +1 -0
  15. package/dist/chunks/Onboarding-1.1.31-23zjjspn.mjs +1 -0
  16. package/dist/chunks/ProviderManager-1.1.31-504qgqkc.mjs +1 -0
  17. package/dist/chunks/REPL-1.1.31-nyzbwycm.mjs +1 -0
  18. package/dist/chunks/ResumeConversation-1.1.31-dqkxr7bz.mjs +1 -0
  19. package/dist/chunks/SnapshotUpdateDialog-1.1.31-htqfbpbp.mjs +1 -0
  20. package/dist/chunks/TeleportProgress-1.1.31-27h2np2z.mjs +1 -0
  21. package/dist/chunks/TeleportRepoMismatchDialog-1.1.31-41nwynfk.mjs +1 -0
  22. package/dist/chunks/TeleportResumeWrapper-1.1.31-ea5827ce.mjs +1 -0
  23. package/dist/chunks/TmuxBackend-1.1.31-jvrhermf.mjs +9 -0
  24. package/dist/chunks/ToolSearchTool-1.1.31-c0sya3fj.mjs +1 -0
  25. package/dist/chunks/TrustDialog-1.1.31-28w5033t.mjs +1 -0
  26. package/dist/chunks/activeProvider-1.1.31-dbrkwgfw.mjs +1 -0
  27. package/dist/chunks/add-dir-1.1.31-r6x72g59.mjs +1 -0
  28. package/dist/chunks/agentTypes-1.1.31-kb6srdzm.mjs +1 -0
  29. package/dist/chunks/agents-1.1.31-1jetdejb.mjs +110 -0
  30. package/dist/chunks/agents-1.1.31-mfr4h93c.mjs +3 -0
  31. package/dist/chunks/api-1.1.31-hp3y91t9.mjs +1 -0
  32. package/dist/chunks/asciicast-1.1.31-t0xrwnqn.mjs +1 -0
  33. package/dist/chunks/auth-1.1.31-76rswxwe.mjs +1 -0
  34. package/dist/chunks/auth-1.1.31-yhv86kw0.mjs +1 -0
  35. package/dist/chunks/autoMode-1.1.31-qma18egk.mjs +52 -0
  36. package/dist/chunks/autoModeSetup-1.1.31-egrmqsva.mjs +44 -0
  37. package/dist/chunks/autoUpdater-1.1.31-417m125q.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-1.1.31-e5emh88x.mjs +1 -0
  39. package/dist/chunks/branch-1.1.31-bxrg1svq.mjs +4 -0
  40. package/dist/chunks/bridge-1.1.31-1rsj352r.mjs +2 -0
  41. package/dist/chunks/bridgeConfig-1.1.31-r9vnvw71.mjs +1 -0
  42. package/dist/chunks/bridgeEnabled-1.1.31-d9mxn4g0.mjs +1 -0
  43. package/dist/chunks/bridgeMain-1.1.31-7sf093b0.mjs +88 -0
  44. package/dist/chunks/bridgePointer-1.1.31-n1t53nem.mjs +1 -0
  45. package/dist/chunks/btw-1.1.31-skw1dhb5.mjs +1 -0
  46. package/dist/chunks/buddy-1.1.31-wtmggn5p.mjs +3 -0
  47. package/dist/chunks/cache-probe-1.1.31-pgss169p.mjs +21 -0
  48. package/dist/chunks/cacheStats-1.1.31-af3nkg2b.mjs +4 -0
  49. package/dist/chunks/caches-1.1.31-yvqtsfx3.mjs +1 -0
  50. package/dist/chunks/cd-1.1.31-9t47yj0z.mjs +3 -0
  51. package/dist/chunks/claudeDesktop-1.1.31-b7a99nfq.mjs +1 -0
  52. package/dist/chunks/claudemd-1.1.31-h72v8r12.mjs +1 -0
  53. package/dist/chunks/clear-1.1.31-ndp0q9t9.mjs +1 -0
  54. package/dist/chunks/clearTerminal-1.1.31-d6d2q7kn.mjs +1 -0
  55. package/dist/chunks/cli-1.1.31-03xjvk1e.mjs +3 -0
  56. package/dist/chunks/cli-1.1.31-0fnqd3bq.mjs +25 -0
  57. package/dist/chunks/cli-1.1.31-0mmyq6jx.mjs +2 -0
  58. package/dist/chunks/cli-1.1.31-0yagz4xw.mjs +2 -0
  59. package/dist/chunks/cli-1.1.31-1192t9cm.mjs +2 -0
  60. package/dist/chunks/cli-1.1.31-13cx7z8n.mjs +60 -0
  61. package/dist/chunks/cli-1.1.31-1dv9ay7v.mjs +2 -0
  62. package/dist/chunks/cli-1.1.31-1q4btmra.mjs +2 -0
  63. package/dist/chunks/cli-1.1.31-1qw0s3a8.mjs +2 -0
  64. package/dist/chunks/cli-1.1.31-1wxttnqr.mjs +2 -0
  65. package/dist/chunks/cli-1.1.31-2csxt0x3.mjs +2 -0
  66. package/dist/chunks/cli-1.1.31-2ffqcy85.mjs +2 -0
  67. package/dist/chunks/cli-1.1.31-2j93x895.mjs +24 -0
  68. package/dist/chunks/cli-1.1.31-2mfapzkq.mjs +2 -0
  69. package/dist/chunks/cli-1.1.31-2pdbmb7w.mjs +3 -0
  70. package/dist/chunks/cli-1.1.31-2zvm1tgs.mjs +2 -0
  71. package/dist/chunks/cli-1.1.31-312b3zf6.mjs +2 -0
  72. package/dist/chunks/cli-1.1.31-32mahfs2.mjs +2 -0
  73. package/dist/chunks/cli-1.1.31-3dy87m85.mjs +2 -0
  74. package/dist/chunks/cli-1.1.31-3ehzwm1n.mjs +2 -0
  75. package/dist/chunks/cli-1.1.31-3jzsv5dy.mjs +2 -0
  76. package/dist/chunks/cli-1.1.31-3s51hvv0.mjs +2 -0
  77. package/dist/chunks/cli-1.1.31-3zy5yd1t.mjs +133 -0
  78. package/dist/chunks/cli-1.1.31-44jshpbd.mjs +2 -0
  79. package/dist/chunks/cli-1.1.31-4awnya8e.mjs +2 -0
  80. package/dist/chunks/cli-1.1.31-4cp1xkaj.mjs +2 -0
  81. package/dist/chunks/cli-1.1.31-4ja5kbt5.mjs +4 -0
  82. package/dist/chunks/cli-1.1.31-4tneme0y.mjs +2 -0
  83. package/dist/chunks/cli-1.1.31-528vtf9a.mjs +2 -0
  84. package/dist/chunks/cli-1.1.31-52wt9w8w.mjs +15 -0
  85. package/dist/chunks/cli-1.1.31-556xnzb4.mjs +2 -0
  86. package/dist/chunks/cli-1.1.31-562nqgh7.mjs +2 -0
  87. package/dist/chunks/cli-1.1.31-58anwssk.mjs +2 -0
  88. package/dist/chunks/cli-1.1.31-5ab9cpbt.mjs +3 -0
  89. package/dist/chunks/cli-1.1.31-5kgkq6vm.mjs +2 -0
  90. package/dist/chunks/cli-1.1.31-5ma2m26d.mjs +2 -0
  91. package/dist/chunks/cli-1.1.31-5tgfa7xy.mjs +2 -0
  92. package/dist/chunks/cli-1.1.31-5xd2j6e7.mjs +2 -0
  93. package/dist/chunks/cli-1.1.31-612bpjx6.mjs +2 -0
  94. package/dist/chunks/cli-1.1.31-619zan4w.mjs +2 -0
  95. package/dist/chunks/cli-1.1.31-6m1k9909.mjs +2 -0
  96. package/dist/chunks/cli-1.1.31-6pxakyvg.mjs +2 -0
  97. package/dist/chunks/cli-1.1.31-6qm466ss.mjs +2 -0
  98. package/dist/chunks/cli-1.1.31-706cv7fx.mjs +2 -0
  99. package/dist/chunks/cli-1.1.31-7692zxpg.mjs +2 -0
  100. package/dist/chunks/cli-1.1.31-774jqp88.mjs +2 -0
  101. package/dist/chunks/cli-1.1.31-777381m0.mjs +34 -0
  102. package/dist/chunks/cli-1.1.31-7hmq6k3a.mjs +26 -0
  103. package/dist/chunks/cli-1.1.31-7wdp9ve5.mjs +3 -0
  104. package/dist/chunks/cli-1.1.31-8bcb1d1y.mjs +2 -0
  105. package/dist/chunks/cli-1.1.31-8esfq0f2.mjs +2 -0
  106. package/dist/chunks/cli-1.1.31-8h9zps1d.mjs +2 -0
  107. package/dist/chunks/cli-1.1.31-8sw4prf8.mjs +22 -0
  108. package/dist/chunks/cli-1.1.31-8syj0cmx.mjs +2 -0
  109. package/dist/chunks/cli-1.1.31-9493f46x.mjs +9 -0
  110. package/dist/chunks/cli-1.1.31-978dpg39.mjs +2 -0
  111. package/dist/chunks/cli-1.1.31-9a1gsrx2.mjs +24 -0
  112. package/dist/chunks/cli-1.1.31-9adq5rjd.mjs +2 -0
  113. package/dist/chunks/cli-1.1.31-9d5v98td.mjs +2 -0
  114. package/dist/chunks/cli-1.1.31-9e4vtbvh.mjs +3 -0
  115. package/dist/chunks/cli-1.1.31-9efpx64n.mjs +20 -0
  116. package/dist/chunks/cli-1.1.31-9gf60j86.mjs +2 -0
  117. package/dist/chunks/cli-1.1.31-9gzbwjb8.mjs +2 -0
  118. package/dist/chunks/cli-1.1.31-9m6ef5kb.mjs +2 -0
  119. package/dist/chunks/cli-1.1.31-9m6gmh2w.mjs +2 -0
  120. package/dist/chunks/cli-1.1.31-9x9gaa7g.mjs +2 -0
  121. package/dist/chunks/cli-1.1.31-a4vvez04.mjs +2 -0
  122. package/dist/chunks/cli-1.1.31-a5wav9hq.mjs +2 -0
  123. package/dist/chunks/cli-1.1.31-a611zwj5.mjs +10 -0
  124. package/dist/chunks/cli-1.1.31-adnn5x8c.mjs +16 -0
  125. package/dist/chunks/cli-1.1.31-afzdmcrq.mjs +2 -0
  126. package/dist/chunks/cli-1.1.31-ahbyaapz.mjs +12 -0
  127. package/dist/chunks/cli-1.1.31-aqm3wayg.mjs +2 -0
  128. package/dist/chunks/cli-1.1.31-b2pt6rsc.mjs +2 -0
  129. package/dist/chunks/cli-1.1.31-b7258j1y.mjs +2 -0
  130. package/dist/chunks/cli-1.1.31-b8rbgfhm.mjs +2 -0
  131. package/dist/chunks/cli-1.1.31-bdt0j0zj.mjs +4 -0
  132. package/dist/chunks/cli-1.1.31-bfsa3dvr.mjs +2 -0
  133. package/dist/chunks/cli-1.1.31-bx3e5rv6.mjs +3 -0
  134. package/dist/chunks/cli-1.1.31-c17g88x0.mjs +9 -0
  135. package/dist/chunks/cli-1.1.31-c9707zjx.mjs +63 -0
  136. package/dist/chunks/cli-1.1.31-can8wyac.mjs +2 -0
  137. package/dist/chunks/cli-1.1.31-cpay8r5h.mjs +2 -0
  138. package/dist/chunks/cli-1.1.31-cpeph4zm.mjs +6 -0
  139. package/dist/chunks/cli-1.1.31-d9sxj86f.mjs +2 -0
  140. package/dist/chunks/cli-1.1.31-dc4fq4s3.mjs +2 -0
  141. package/dist/chunks/cli-1.1.31-dctwr6q4.mjs +5 -0
  142. package/dist/chunks/cli-1.1.31-dcyx3536.mjs +39 -0
  143. package/dist/chunks/cli-1.1.31-dhecyw04.mjs +3 -0
  144. package/dist/chunks/cli-1.1.31-dmghye74.mjs +4 -0
  145. package/dist/chunks/cli-1.1.31-ek449yjc.mjs +6 -0
  146. package/dist/chunks/cli-1.1.31-emhqeb1g.mjs +2 -0
  147. package/dist/chunks/cli-1.1.31-eqfmzrxc.mjs +2 -0
  148. package/dist/chunks/cli-1.1.31-eqvc58gw.mjs +2 -0
  149. package/dist/chunks/cli-1.1.31-ewhwdszf.mjs +2 -0
  150. package/dist/chunks/cli-1.1.31-f1zfyp44.mjs +2 -0
  151. package/dist/chunks/cli-1.1.31-f2abkvxa.mjs +4 -0
  152. package/dist/chunks/cli-1.1.31-fbdr0297.mjs +2 -0
  153. package/dist/chunks/cli-1.1.31-fdjs93ba.mjs +2 -0
  154. package/dist/chunks/cli-1.1.31-fdk7yhs0.mjs +2 -0
  155. package/dist/chunks/cli-1.1.31-fjdb444f.mjs +7 -0
  156. package/dist/chunks/cli-1.1.31-fk787pkf.mjs +15 -0
  157. package/dist/chunks/cli-1.1.31-fpqqpyrw.mjs +3 -0
  158. package/dist/chunks/cli-1.1.31-fr8t4a7n.mjs +2 -0
  159. package/dist/chunks/cli-1.1.31-fy2x8k7r.mjs +2 -0
  160. package/dist/chunks/cli-1.1.31-g41zancj.mjs +3 -0
  161. package/dist/chunks/cli-1.1.31-g58b1jfa.mjs +5473 -0
  162. package/dist/chunks/cli-1.1.31-ggtvemxf.mjs +2 -0
  163. package/dist/chunks/cli-1.1.31-gk7te1jt.mjs +2 -0
  164. package/dist/chunks/cli-1.1.31-gq54djk0.mjs +2 -0
  165. package/dist/chunks/cli-1.1.31-h102y1at.mjs +8 -0
  166. package/dist/chunks/cli-1.1.31-h1sv3apa.mjs +4 -0
  167. package/dist/chunks/cli-1.1.31-h41m4yrw.mjs +2 -0
  168. package/dist/chunks/cli-1.1.31-h5a78vp8.mjs +2 -0
  169. package/dist/chunks/cli-1.1.31-hfdt80w2.mjs +50 -0
  170. package/dist/chunks/cli-1.1.31-hk88wxhm.mjs +2 -0
  171. package/dist/chunks/cli-1.1.31-hpxjvh3j.mjs +3 -0
  172. package/dist/chunks/cli-1.1.31-hvnwvzhh.mjs +58 -0
  173. package/dist/chunks/cli-1.1.31-j0fbn8aw.mjs +2 -0
  174. package/dist/chunks/cli-1.1.31-jfj1gvgy.mjs +2 -0
  175. package/dist/chunks/cli-1.1.31-jh2sb5nk.mjs +42 -0
  176. package/dist/chunks/cli-1.1.31-jnyr50hq.mjs +2 -0
  177. package/dist/chunks/cli-1.1.31-jwa8f70w.mjs +2 -0
  178. package/dist/chunks/cli-1.1.31-jyzz7q1c.mjs +2 -0
  179. package/dist/chunks/cli-1.1.31-k0zfy1nt.mjs +2 -0
  180. package/dist/chunks/cli-1.1.31-kfw3q4sp.mjs +133 -0
  181. package/dist/chunks/cli-1.1.31-kp8hq72m.mjs +2 -0
  182. package/dist/chunks/cli-1.1.31-kzh4darh.mjs +2 -0
  183. package/dist/chunks/cli-1.1.31-m5w2d13z.mjs +2 -0
  184. package/dist/chunks/cli-1.1.31-m9yqg6jg.mjs +2 -0
  185. package/dist/chunks/cli-1.1.31-mcekc48f.mjs +2 -0
  186. package/dist/chunks/cli-1.1.31-mtcbc6g3.mjs +4 -0
  187. package/dist/chunks/cli-1.1.31-n130x03f.mjs +2 -0
  188. package/dist/chunks/cli-1.1.31-n305h9qd.mjs +25 -0
  189. package/dist/chunks/cli-1.1.31-n4g6s1bz.mjs +2 -0
  190. package/dist/chunks/cli-1.1.31-n5vytp0f.mjs +2 -0
  191. package/dist/chunks/cli-1.1.31-nh2cfavp.mjs +2 -0
  192. package/dist/chunks/cli-1.1.31-njfyxwfr.mjs +2 -0
  193. package/dist/chunks/cli-1.1.31-nvecb8c6.mjs +2 -0
  194. package/dist/chunks/cli-1.1.31-nyvjx813.mjs +24 -0
  195. package/dist/chunks/cli-1.1.31-nyvz0ev8.mjs +5 -0
  196. package/dist/chunks/cli-1.1.31-p99fz46k.mjs +206 -0
  197. package/dist/chunks/cli-1.1.31-pb50hb6v.mjs +12 -0
  198. package/dist/chunks/cli-1.1.31-pg2ntz9b.mjs +17 -0
  199. package/dist/chunks/cli-1.1.31-pgde5349.mjs +2 -0
  200. package/dist/chunks/cli-1.1.31-pp98t7k8.mjs +2 -0
  201. package/dist/chunks/cli-1.1.31-ptvddvjv.mjs +2 -0
  202. package/dist/chunks/cli-1.1.31-pzz7j17y.mjs +3 -0
  203. package/dist/chunks/cli-1.1.31-q67trvk0.mjs +2 -0
  204. package/dist/chunks/cli-1.1.31-q6k8ems6.mjs +21 -0
  205. package/dist/chunks/cli-1.1.31-qj8vksz8.mjs +2 -0
  206. package/dist/chunks/cli-1.1.31-qq0sng13.mjs +2 -0
  207. package/dist/chunks/cli-1.1.31-qsftejzk.mjs +2 -0
  208. package/dist/chunks/cli-1.1.31-qv6x2hht.mjs +2 -0
  209. package/dist/chunks/cli-1.1.31-qyztdyg2.mjs +2 -0
  210. package/dist/chunks/cli-1.1.31-r5g0ns02.mjs +2 -0
  211. package/dist/chunks/cli-1.1.31-r7jps0tn.mjs +3 -0
  212. package/dist/chunks/cli-1.1.31-rqyqyvdn.mjs +2 -0
  213. package/dist/chunks/cli-1.1.31-rspa4dsq.mjs +6 -0
  214. package/dist/chunks/cli-1.1.31-rw3xn3tc.mjs +4 -0
  215. package/dist/chunks/cli-1.1.31-s1a6vw53.mjs +2 -0
  216. package/dist/chunks/cli-1.1.31-s1vgm3hb.mjs +2 -0
  217. package/dist/chunks/cli-1.1.31-s246tb6v.mjs +15 -0
  218. package/dist/chunks/cli-1.1.31-satbt91m.mjs +18 -0
  219. package/dist/chunks/cli-1.1.31-sc82f8hw.mjs +6 -0
  220. package/dist/chunks/cli-1.1.31-sn0x975f.mjs +24 -0
  221. package/dist/chunks/cli-1.1.31-sn2bmgwr.mjs +2 -0
  222. package/dist/chunks/cli-1.1.31-t2y2tkme.mjs +2 -0
  223. package/dist/chunks/cli-1.1.31-t6m64e0q.mjs +6 -0
  224. package/dist/chunks/cli-1.1.31-t96rrv1m.mjs +2 -0
  225. package/dist/chunks/cli-1.1.31-tc6xppyr.mjs +2 -0
  226. package/dist/chunks/cli-1.1.31-tctd36c8.mjs +2 -0
  227. package/dist/chunks/cli-1.1.31-thhdw5e1.mjs +2 -0
  228. package/dist/chunks/cli-1.1.31-v02fpzs5.mjs +2 -0
  229. package/dist/chunks/cli-1.1.31-v7nswcm8.mjs +2 -0
  230. package/dist/chunks/cli-1.1.31-var05xaf.mjs +2 -0
  231. package/dist/chunks/cli-1.1.31-vbch5rht.mjs +2 -0
  232. package/dist/chunks/cli-1.1.31-vf004w21.mjs +2 -0
  233. package/dist/chunks/cli-1.1.31-vhstdnfa.mjs +7 -0
  234. package/dist/chunks/cli-1.1.31-vphyv007.mjs +2 -0
  235. package/dist/chunks/cli-1.1.31-vpkbqj90.mjs +4 -0
  236. package/dist/chunks/cli-1.1.31-vr977n4j.mjs +2 -0
  237. package/dist/chunks/cli-1.1.31-w0vfcfhs.mjs +2 -0
  238. package/dist/chunks/cli-1.1.31-w225x38q.mjs +2 -0
  239. package/dist/chunks/cli-1.1.31-war7w6d7.mjs +2 -0
  240. package/dist/chunks/cli-1.1.31-wba64b2s.mjs +2 -0
  241. package/dist/chunks/cli-1.1.31-wfv9e9p4.mjs +2 -0
  242. package/dist/chunks/cli-1.1.31-wmt8ywr9.mjs +2 -0
  243. package/dist/chunks/cli-1.1.31-wnpf6e90.mjs +2 -0
  244. package/dist/chunks/cli-1.1.31-x1wr5k0p.mjs +2 -0
  245. package/dist/chunks/cli-1.1.31-x96s38b0.mjs +2 -0
  246. package/dist/chunks/cli-1.1.31-xqdypd2k.mjs +6 -0
  247. package/dist/chunks/cli-1.1.31-xv09f0k4.mjs +2 -0
  248. package/dist/chunks/cli-1.1.31-yte5f9f9.mjs +45 -0
  249. package/dist/chunks/cli-1.1.31-yz72mhbg.mjs +2 -0
  250. package/dist/chunks/cli-1.1.31-z3s1pnd3.mjs +1 -0
  251. package/dist/chunks/cli-1.1.31-z6qe8e42.mjs +2 -0
  252. package/dist/chunks/cli-1.1.31-z7hdz84q.mjs +17 -0
  253. package/dist/chunks/cli-1.1.31-zsjs5eq0.mjs +2 -0
  254. package/dist/chunks/cli-1.1.31-zvbpmw2y.mjs +2 -0
  255. package/dist/chunks/cli-1.1.31-zy7nrvt9.mjs +2 -0
  256. package/dist/chunks/cli-1.1.31-zzd4cheh.mjs +2 -0
  257. package/dist/chunks/client-1.1.31-3bn971t2.mjs +1 -0
  258. package/dist/chunks/color-1.1.31-n3q45hw4.mjs +1 -0
  259. package/dist/chunks/compact-1.1.31-zkekkcjq.mjs +3 -0
  260. package/dist/chunks/config-1.1.31-1t6yz96k.mjs +1 -0
  261. package/dist/chunks/config-1.1.31-enwx50r9.mjs +1 -0
  262. package/dist/chunks/constants-1.1.31-5peb81d1.mjs +1 -0
  263. package/dist/chunks/context-1.1.31-9crzemp8.mjs +1 -0
  264. package/dist/chunks/context-noninteractive-1.1.31-twqynyp7.mjs +1 -0
  265. package/dist/chunks/conversation-1.1.31-yw2es9kq.mjs +1 -0
  266. package/dist/chunks/copilotHeaders-1.1.31-axfr0ar5.mjs +1 -0
  267. package/dist/chunks/copy-1.1.31-y97hza01.mjs +9 -0
  268. package/dist/chunks/cost-1.1.31-wtp1fp62.mjs +1 -0
  269. package/dist/chunks/createSSHSession-1.1.31-tsfe2dea.mjs +1 -0
  270. package/dist/chunks/createSession-1.1.31-pddv01ds.mjs +1 -0
  271. package/dist/chunks/debug-1.1.31-5awffxcd.mjs +1 -0
  272. package/dist/chunks/defaultActionDeps-1.1.31-6a742vb3.mjs +1480 -0
  273. package/dist/chunks/desktop-1.1.31-zq54hfwy.mjs +2 -0
  274. package/dist/chunks/detectRepository-1.1.31-s6pe6c1x.mjs +1 -0
  275. package/dist/chunks/detection-1.1.31-zss1hfbq.mjs +1 -0
  276. package/dist/chunks/diff-1.1.31-ksj17xmk.mjs +1 -0
  277. package/dist/chunks/doctor-1.1.31-v4djfk2w.mjs +1 -0
  278. package/dist/chunks/doctorDiagnostic-1.1.31-gs3rsn7y.mjs +1 -0
  279. package/dist/chunks/earlyInput-1.1.31-s1vpzgtx.mjs +1 -0
  280. package/dist/chunks/effort-1.1.31-6z9vjdd8.mjs +13 -0
  281. package/dist/chunks/engine-1.1.31-rv1fs549.mjs +1 -0
  282. package/dist/chunks/envLessBridgeConfig-1.1.31-5p5f4zyz.mjs +1 -0
  283. package/dist/chunks/envUtils-1.1.31-ntcm9cr0.mjs +1 -0
  284. package/dist/chunks/environmentSelection-1.1.31-hh2weytc.mjs +1 -0
  285. package/dist/chunks/environments-1.1.31-yvgyx900.mjs +1 -0
  286. package/dist/chunks/errors-1.1.31-n434b94a.mjs +1 -0
  287. package/dist/chunks/exampleCommands-1.1.31-gntd6p22.mjs +1 -0
  288. package/dist/chunks/execFileNoThrow-1.1.31-s2n0jxqw.mjs +1 -0
  289. package/dist/chunks/exit-1.1.31-rgrjhztt.mjs +1 -0
  290. package/dist/chunks/explorer-1.1.31-cyken2c0.mjs +1 -0
  291. package/dist/chunks/export-1.1.31-nmjy9qp1.mjs +2 -0
  292. package/dist/chunks/fast-1.1.31-58c4aeze.mjs +1 -0
  293. package/dist/chunks/feedback-1.1.31-m0vj61dd.mjs +16 -0
  294. package/dist/chunks/git-1.1.31-9ytjvad9.mjs +1 -0
  295. package/dist/chunks/githubModelsCredentials-1.1.31-7pk651pz.mjs +1 -0
  296. package/dist/chunks/goal-1.1.31-2a9eh1dv.mjs +4 -0
  297. package/dist/chunks/headless-1.1.31-btcvy308.mjs +2 -0
  298. package/dist/chunks/heapdump-1.1.31-3d2namke.mjs +6 -0
  299. package/dist/chunks/help-1.1.31-sewrb4nb.mjs +1 -0
  300. package/dist/chunks/hookChains-1.1.31-72mrrs9j.mjs +3 -0
  301. package/dist/chunks/hooks-1.1.31-0gf2fwcn.mjs +1 -0
  302. package/dist/chunks/hooks-1.1.31-t1v6dwz6.mjs +79 -0
  303. package/dist/chunks/ide-1.1.31-rfvpxf98.mjs +3 -0
  304. package/dist/chunks/image-processor-napi-1.1.31-6m3111th.mjs +1 -0
  305. package/dist/chunks/import-1.1.31-n4khxgen.mjs +261 -0
  306. package/dist/chunks/inboundAttachments-1.1.31-js74nw49.mjs +1 -0
  307. package/dist/chunks/index-1.1.31-1d2w0stv.mjs +1 -0
  308. package/dist/chunks/index-1.1.31-7xyvb71n.mjs +1 -0
  309. package/dist/chunks/index-1.1.31-b35axgfq.mjs +1 -0
  310. package/dist/chunks/index-1.1.31-bb3ds6px.mjs +5 -0
  311. package/dist/chunks/index-1.1.31-d8kmfk8g.mjs +1 -0
  312. package/dist/chunks/index-1.1.31-djqjbcj1.mjs +1 -0
  313. package/dist/chunks/index-1.1.31-fbcpgjqr.mjs +1 -0
  314. package/dist/chunks/index-1.1.31-fzj8sx04.mjs +1 -0
  315. package/dist/chunks/index-1.1.31-h4jmtajm.mjs +9 -0
  316. package/dist/chunks/index-1.1.31-hxatxhrm.mjs +1 -0
  317. package/dist/chunks/index-1.1.31-jjp83m1j.mjs +1 -0
  318. package/dist/chunks/index-1.1.31-jk9pvxkr.mjs +1 -0
  319. package/dist/chunks/index-1.1.31-jy33bsc3.mjs +2 -0
  320. package/dist/chunks/index-1.1.31-kdnrzq4a.mjs +1 -0
  321. package/dist/chunks/index-1.1.31-kv3bfsq2.mjs +23 -0
  322. package/dist/chunks/index-1.1.31-mxjtqbfj.mjs +1 -0
  323. package/dist/chunks/index-1.1.31-p8xpgawg.mjs +1 -0
  324. package/dist/chunks/index-1.1.31-phw15bz8.mjs +1 -0
  325. package/dist/chunks/index-1.1.31-pr2zcv22.mjs +30 -0
  326. package/dist/chunks/index-1.1.31-q75y58jp.mjs +2 -0
  327. package/dist/chunks/index-1.1.31-qhsyqcg4.mjs +1 -0
  328. package/dist/chunks/index-1.1.31-tzvhzkcd.mjs +1 -0
  329. package/dist/chunks/index-1.1.31-wgdk68t3.mjs +9 -0
  330. package/dist/chunks/init-1.1.31-4ayzds5h.mjs +2 -0
  331. package/dist/chunks/initReplBridge-1.1.31-ebns690c.mjs +1 -0
  332. package/dist/chunks/ink-1.1.31-rx0229yp.mjs +1 -0
  333. package/dist/chunks/insights-1.1.31-t8z4k64x.mjs +870 -0
  334. package/dist/chunks/install-1.1.31-fvw0rbqj.mjs +1 -0
  335. package/dist/chunks/install-github-app-1.1.31-zmtxtda9.mjs +149 -0
  336. package/dist/chunks/install-slack-app-1.1.31-j04t1paw.mjs +1 -0
  337. package/dist/chunks/interactiveHelpers-1.1.31-xq2br8z8.mjs +1 -0
  338. package/dist/chunks/keybindings-1.1.31-a0dfh2gb.mjs +2 -0
  339. package/dist/chunks/knowledge-1.1.31-g087p4dy.mjs +2 -0
  340. package/dist/chunks/latestVersionCache-1.1.31-vyesmh7x.mjs +1 -0
  341. package/dist/chunks/loadAgentsDir-1.1.31-39mbd67g.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-1.1.31-7pnfkxj8.mjs +1 -0
  343. package/dist/chunks/log-1.1.31-75wjvmg7.mjs +1 -0
  344. package/dist/chunks/main-1.1.31-htavj2vh.mjs +1 -0
  345. package/dist/chunks/managedEnv-1.1.31-3t5j20s3.mjs +1 -0
  346. package/dist/chunks/mcp-1.1.31-g8q13cfk.mjs +1 -0
  347. package/dist/chunks/mcp-1.1.31-gnbrx51d.mjs +17 -0
  348. package/dist/chunks/mcp-1.1.31-tb2yw0fm.mjs +4 -0
  349. package/dist/chunks/mcpb-1.1.31-an4y7m57.mjs +1 -0
  350. package/dist/chunks/memory-1.1.31-6ebsap62.mjs +77 -0
  351. package/dist/chunks/model-1.1.31-dfs178qb.mjs +1 -0
  352. package/dist/chunks/model-1.1.31-yjsxjv0f.mjs +2 -0
  353. package/dist/chunks/node-1.1.31-4gqzhhpj.mjs +15 -0
  354. package/dist/chunks/node-1.1.31-bknsrjhq.mjs +1 -0
  355. package/dist/chunks/oauth-1.1.31-0dfgbykp.mjs +1 -0
  356. package/dist/chunks/openaiShim-1.1.31-bx5cgqc0.mjs +14 -0
  357. package/dist/chunks/output-style-1.1.31-fqg3pscb.mjs +1 -0
  358. package/dist/chunks/package-D2QZMRW7-1.1.31-tbwnz9re.mjs +1 -0
  359. package/dist/chunks/parseConnectUrl-1.1.31-htt07xve.mjs +1 -0
  360. package/dist/chunks/parser-1.1.31-22dqq9cd.mjs +1 -0
  361. package/dist/chunks/permissions-1.1.31-2jt71rmf.mjs +1 -0
  362. package/dist/chunks/permissions-1.1.31-8eevgx6v.mjs +3 -0
  363. package/dist/chunks/plan-1.1.31-sgds3thc.mjs +1 -0
  364. package/dist/chunks/plist-1.1.31-50ff60z2.mjs +1 -0
  365. package/dist/chunks/plugin-1.1.31-j5n91qc0.mjs +29 -0
  366. package/dist/chunks/pluginStartupCheck-1.1.31-28rvz0zj.mjs +1 -0
  367. package/dist/chunks/plugins-1.1.31-cq05wg0h.mjs +9 -0
  368. package/dist/chunks/preActionHook-1.1.31-xmrm67ge.mjs +2 -0
  369. package/dist/chunks/print-1.1.31-4n5d0cdk.mjs +57 -0
  370. package/dist/chunks/process-1.1.31-7c3jtep7.mjs +1 -0
  371. package/dist/chunks/processBashCommand-1.1.31-ycb3ehgr.mjs +1 -0
  372. package/dist/chunks/processSlashCommand-1.1.31-0bwjc7n4.mjs +9 -0
  373. package/dist/chunks/prompt-1.1.31-1krmkgep.mjs +1 -0
  374. package/dist/chunks/prompt-1.1.31-vsft6hz3.mjs +1 -0
  375. package/dist/chunks/prompts-1.1.31-jp2k44tp.mjs +1 -0
  376. package/dist/chunks/protocolHandler-1.1.31-yc5dejjn.mjs +13 -0
  377. package/dist/chunks/provider-1.1.31-sba30ytt.mjs +2 -0
  378. package/dist/chunks/providerProfiles-1.1.31-8g3p4ntd.mjs +1 -0
  379. package/dist/chunks/providerValidation-1.1.31-rnj0xtqw.mjs +6 -0
  380. package/dist/chunks/registerSubcommands-1.1.31-rtx2e9wp.mjs +26 -0
  381. package/dist/chunks/registry-1.1.31-ecyhakd2.mjs +1 -0
  382. package/dist/chunks/release-notes-1.1.31-gf017wax.mjs +5 -0
  383. package/dist/chunks/reload-plugins-1.1.31-de7agwmx.mjs +2 -0
  384. package/dist/chunks/remote-env-1.1.31-x3aaeh2d.mjs +1 -0
  385. package/dist/chunks/remoteBridgeCore-1.1.31-37k3bw33.mjs +1 -0
  386. package/dist/chunks/remoteSession-1.1.31-tkas2k4z.mjs +1 -0
  387. package/dist/chunks/rename-1.1.31-4q58stc8.mjs +1 -0
  388. package/dist/chunks/replBridgeHandle-1.1.31-64getkgv.mjs +1 -0
  389. package/dist/chunks/replLauncher-1.1.31-0n74v295.mjs +1 -0
  390. package/dist/chunks/resume-1.1.31-btzfzzf4.mjs +2 -0
  391. package/dist/chunks/rewind-1.1.31-9m2a508m.mjs +1 -0
  392. package/dist/chunks/rootOptions-1.1.31-bftj813f.mjs +1 -0
  393. package/dist/chunks/runWorkflowHeadless-1.1.31-tra2r0dx.mjs +10 -0
  394. package/dist/chunks/sandbox-adapter-1.1.31-6nyy2rag.mjs +1 -0
  395. package/dist/chunks/sandbox-toggle-1.1.31-h1n35f5k.mjs +1 -0
  396. package/dist/chunks/session-1.1.31-xb800b9s.mjs +2 -0
  397. package/dist/chunks/sessionFileAccessHooks-1.1.31-gkkyesrj.mjs +1 -0
  398. package/dist/chunks/sessionStorage-1.1.31-s7gez2t6.mjs +1 -0
  399. package/dist/chunks/settings-1.1.31-w7zfpg83.mjs +1 -0
  400. package/dist/chunks/setup-1.1.31-b6kjgetf.mjs +12 -0
  401. package/dist/chunks/sinks-1.1.31-g9n7r1nh.mjs +1 -0
  402. package/dist/chunks/skills-1.1.31-ag9r3asv.mjs +1 -0
  403. package/dist/chunks/startupProfiler-1.1.31-h19httmy.mjs +1 -0
  404. package/dist/chunks/startupUpdateCheck-1.1.31-f3g7de65.mjs +1 -0
  405. package/dist/chunks/state-1.1.31-tbc1c6c2.mjs +1 -0
  406. package/dist/chunks/stats-1.1.31-71xjrkax.mjs +1 -0
  407. package/dist/chunks/status-1.1.31-n65g11nc.mjs +1 -0
  408. package/dist/chunks/stickers-1.1.31-eze0atpf.mjs +1 -0
  409. package/dist/chunks/subprocessEnv-1.1.31-r788gbdf.mjs +1 -0
  410. package/dist/chunks/tasks-1.1.31-tbc0x51m.mjs +1 -0
  411. package/dist/chunks/teamHelpers-1.1.31-yt18sjr2.mjs +1 -0
  412. package/dist/chunks/teammateModeSnapshot-1.1.31-f3bgkc7m.mjs +1 -0
  413. package/dist/chunks/teleport-1.1.31-4mvcqr5j.mjs +1 -0
  414. package/dist/chunks/terminalSetup-1.1.31-y574v0gj.mjs +1 -0
  415. package/dist/chunks/theme-1.1.31-2nth8fxb.mjs +1 -0
  416. package/dist/chunks/thinkback-1.1.31-yt5309kx.mjs +1 -0
  417. package/dist/chunks/thinkback-play-1.1.31-n61vtr8q.mjs +1 -0
  418. package/dist/chunks/toolPool-1.1.31-2wrjcf13.mjs +1 -0
  419. package/dist/chunks/toolSearch-1.1.31-vr7hen30.mjs +1 -0
  420. package/dist/chunks/tools-1.1.31-xgrxwk7j.mjs +1 -0
  421. package/dist/chunks/trustedDevice-1.1.31-ad2f2kvj.mjs +1 -0
  422. package/dist/chunks/turndown.cjs-1.1.31-mtgg85tg.mjs +69 -0
  423. package/dist/chunks/types-1.1.31-ery244ea.mjs +1 -0
  424. package/dist/chunks/ultrareviewCommand-1.1.31-fs3fn2qp.mjs +4 -0
  425. package/dist/chunks/update-1.1.31-j79f7es2.mjs +72 -0
  426. package/dist/chunks/upload-1.1.31-ehqzz7x7.mjs +7 -0
  427. package/dist/chunks/upstreamproxy-1.1.31-z70ctdj3.mjs +14 -0
  428. package/dist/chunks/url-handler-napi-1.1.31-e0hbcnyw.mjs +1 -0
  429. package/dist/chunks/usage-1.1.31-qgmy1ktr.mjs +1 -0
  430. package/dist/chunks/util-1.1.31-jy81jvt3.mjs +1 -0
  431. package/dist/chunks/utils-1.1.31-3jpj59nn.mjs +1 -0
  432. package/dist/chunks/vim-1.1.31-wbbckx93.mjs +1 -0
  433. package/dist/chunks/watchLoop-1.1.31-v994wq2d.mjs +13 -0
  434. package/dist/chunks/watcher-1.1.31-zr0darq0.mjs +1 -0
  435. package/dist/chunks/wiki-1.1.31-7gcn31zm.mjs +132 -0
  436. package/dist/chunks/workflows-1.1.31-ek8twhyg.mjs +1 -0
  437. package/dist/chunks/worktree-1.1.31-krxr11er.mjs +1 -0
  438. package/dist/chunks/worktreeModeEnabled-1.1.31-m3t752mj.mjs +1 -0
  439. package/dist/chunks/wrapper-1.1.31-037s1v4h.mjs +7 -0
  440. package/dist/cli.mjs +2 -2
  441. package/package.json +9 -9
  442. package/dist/chunks/AgentTool-1.1.30-3wq8zzaa.mjs +0 -1
  443. package/dist/chunks/App-1.1.30-ywb53g2c.mjs +0 -1
  444. package/dist/chunks/ApproveApiKey-1.1.30-wtpe9n8e.mjs +0 -1
  445. package/dist/chunks/AssistantSessionChooser-1.1.30-776xks64.mjs +0 -1
  446. package/dist/chunks/AutoModeOptInDialog-1.1.30-bjm91hx0.mjs +0 -1
  447. package/dist/chunks/BypassPermissionsModeDialog-1.1.30-rcy7msd9.mjs +0 -1
  448. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.30-bexsqxcb.mjs +0 -1
  449. package/dist/chunks/ConsoleOAuthFlow-1.1.30-jfhq3h4z.mjs +0 -1
  450. package/dist/chunks/DiffDialog-1.1.30-kqds97f2.mjs +0 -6
  451. package/dist/chunks/Doctor-1.1.30-48qzfckm.mjs +0 -1
  452. package/dist/chunks/ExplorerDialog-1.1.30-tfv4wc5m.mjs +0 -6
  453. package/dist/chunks/ITermBackend-1.1.30-z31ecx5v.mjs +0 -1
  454. package/dist/chunks/InvalidConfigDialog-1.1.30-f17w1kzx.mjs +0 -1
  455. package/dist/chunks/InvalidSettingsDialog-1.1.30-fzajgngq.mjs +0 -1
  456. package/dist/chunks/MigrationDialog-1.1.30-15c4h452.mjs +0 -1
  457. package/dist/chunks/Onboarding-1.1.30-xajg2p3r.mjs +0 -1
  458. package/dist/chunks/ProviderManager-1.1.30-8jrhxd1r.mjs +0 -1
  459. package/dist/chunks/REPL-1.1.30-74pzzw1d.mjs +0 -1
  460. package/dist/chunks/ResumeConversation-1.1.30-8bmshptz.mjs +0 -1
  461. package/dist/chunks/SnapshotUpdateDialog-1.1.30-v5fnwt30.mjs +0 -1
  462. package/dist/chunks/TeleportProgress-1.1.30-v55nsv7g.mjs +0 -1
  463. package/dist/chunks/TeleportRepoMismatchDialog-1.1.30-2hg56v1b.mjs +0 -1
  464. package/dist/chunks/TeleportResumeWrapper-1.1.30-r2hwd3a6.mjs +0 -1
  465. package/dist/chunks/TmuxBackend-1.1.30-y6hny4s2.mjs +0 -9
  466. package/dist/chunks/ToolSearchTool-1.1.30-cq18pvam.mjs +0 -1
  467. package/dist/chunks/TrustDialog-1.1.30-qp3cr0fk.mjs +0 -1
  468. package/dist/chunks/activeProvider-1.1.30-ydaqb760.mjs +0 -1
  469. package/dist/chunks/add-dir-1.1.30-gta8twv0.mjs +0 -1
  470. package/dist/chunks/agentTypes-1.1.30-rxcmv28v.mjs +0 -1
  471. package/dist/chunks/agents-1.1.30-d5hxfnnt.mjs +0 -3
  472. package/dist/chunks/agents-1.1.30-q3f25044.mjs +0 -110
  473. package/dist/chunks/api-1.1.30-30hng0e4.mjs +0 -1
  474. package/dist/chunks/asciicast-1.1.30-mhcedd5b.mjs +0 -1
  475. package/dist/chunks/assistant-1.1.30-1zxsr09t.mjs +0 -1
  476. package/dist/chunks/auth-1.1.30-mmymct98.mjs +0 -1
  477. package/dist/chunks/auth-1.1.30-ntfwzwxz.mjs +0 -1
  478. package/dist/chunks/autoMode-1.1.30-9jd1avyj.mjs +0 -52
  479. package/dist/chunks/autoModeSetup-1.1.30-8cnp296z.mjs +0 -44
  480. package/dist/chunks/autoUpdater-1.1.30-f0wbf5ha.mjs +0 -1
  481. package/dist/chunks/backgroundHousekeeping-1.1.30-b7t4y9th.mjs +0 -1
  482. package/dist/chunks/branch-1.1.30-x77nhthz.mjs +0 -4
  483. package/dist/chunks/bridge-1.1.30-scfmh172.mjs +0 -2
  484. package/dist/chunks/bridgeConfig-1.1.30-8hd92b6p.mjs +0 -1
  485. package/dist/chunks/bridgeEnabled-1.1.30-n5c6p8kd.mjs +0 -1
  486. package/dist/chunks/bridgeMain-1.1.30-9cpc29zx.mjs +0 -88
  487. package/dist/chunks/bridgePointer-1.1.30-gsa0eerc.mjs +0 -1
  488. package/dist/chunks/btw-1.1.30-gyh84rd1.mjs +0 -1
  489. package/dist/chunks/buddy-1.1.30-vzfs4xt1.mjs +0 -3
  490. package/dist/chunks/cache-probe-1.1.30-qjppzj5p.mjs +0 -21
  491. package/dist/chunks/cacheStats-1.1.30-w1c0ekr4.mjs +0 -4
  492. package/dist/chunks/caches-1.1.30-6rye5cdg.mjs +0 -1
  493. package/dist/chunks/cd-1.1.30-tn402589.mjs +0 -3
  494. package/dist/chunks/claudeDesktop-1.1.30-sm5ncwqz.mjs +0 -1
  495. package/dist/chunks/claudemd-1.1.30-36eyf63s.mjs +0 -1
  496. package/dist/chunks/clear-1.1.30-p5p9kp96.mjs +0 -1
  497. package/dist/chunks/clearTerminal-1.1.30-nrdembs6.mjs +0 -1
  498. package/dist/chunks/cli-1.1.30-053d5ph7.mjs +0 -2
  499. package/dist/chunks/cli-1.1.30-092dkm0p.mjs +0 -2
  500. package/dist/chunks/cli-1.1.30-0e0e9msg.mjs +0 -17
  501. package/dist/chunks/cli-1.1.30-0fz758j0.mjs +0 -2
  502. package/dist/chunks/cli-1.1.30-0qcyzbs1.mjs +0 -2
  503. package/dist/chunks/cli-1.1.30-0yafp3ky.mjs +0 -2
  504. package/dist/chunks/cli-1.1.30-1j4dyr5r.mjs +0 -2
  505. package/dist/chunks/cli-1.1.30-1k2bwved.mjs +0 -3
  506. package/dist/chunks/cli-1.1.30-1qczaqkt.mjs +0 -2
  507. package/dist/chunks/cli-1.1.30-1wfffyq2.mjs +0 -2
  508. package/dist/chunks/cli-1.1.30-1xmhk219.mjs +0 -2
  509. package/dist/chunks/cli-1.1.30-1ybfyckn.mjs +0 -2
  510. package/dist/chunks/cli-1.1.30-1zsgv3yp.mjs +0 -2
  511. package/dist/chunks/cli-1.1.30-2af3eeg6.mjs +0 -2
  512. package/dist/chunks/cli-1.1.30-2cmsx74f.mjs +0 -26
  513. package/dist/chunks/cli-1.1.30-2hw4vdpg.mjs +0 -2
  514. package/dist/chunks/cli-1.1.30-2pqs37e0.mjs +0 -3
  515. package/dist/chunks/cli-1.1.30-2y4yj9sd.mjs +0 -2
  516. package/dist/chunks/cli-1.1.30-2yd2af56.mjs +0 -50
  517. package/dist/chunks/cli-1.1.30-2zq3aea6.mjs +0 -2
  518. package/dist/chunks/cli-1.1.30-322advqh.mjs +0 -4
  519. package/dist/chunks/cli-1.1.30-3b1nw95m.mjs +0 -2
  520. package/dist/chunks/cli-1.1.30-3c6j35rs.mjs +0 -2
  521. package/dist/chunks/cli-1.1.30-3x86c2pa.mjs +0 -24
  522. package/dist/chunks/cli-1.1.30-489cr054.mjs +0 -2
  523. package/dist/chunks/cli-1.1.30-4d90v0pd.mjs +0 -6
  524. package/dist/chunks/cli-1.1.30-4kytbyxq.mjs +0 -15
  525. package/dist/chunks/cli-1.1.30-4t03vay7.mjs +0 -2
  526. package/dist/chunks/cli-1.1.30-4wqfr0ya.mjs +0 -2
  527. package/dist/chunks/cli-1.1.30-4zrfbe17.mjs +0 -2
  528. package/dist/chunks/cli-1.1.30-51kze0eh.mjs +0 -2
  529. package/dist/chunks/cli-1.1.30-569esepc.mjs +0 -60
  530. package/dist/chunks/cli-1.1.30-57b410qh.mjs +0 -25
  531. package/dist/chunks/cli-1.1.30-5cc6nada.mjs +0 -2
  532. package/dist/chunks/cli-1.1.30-5f76gnk2.mjs +0 -2
  533. package/dist/chunks/cli-1.1.30-5j2mdj81.mjs +0 -2
  534. package/dist/chunks/cli-1.1.30-5pn20fxz.mjs +0 -2
  535. package/dist/chunks/cli-1.1.30-5r9pakw5.mjs +0 -2
  536. package/dist/chunks/cli-1.1.30-63ndyxgm.mjs +0 -2
  537. package/dist/chunks/cli-1.1.30-6eaj3n76.mjs +0 -9
  538. package/dist/chunks/cli-1.1.30-6phpx599.mjs +0 -2
  539. package/dist/chunks/cli-1.1.30-6pp4z5px.mjs +0 -2
  540. package/dist/chunks/cli-1.1.30-7a064pfm.mjs +0 -2
  541. package/dist/chunks/cli-1.1.30-7bdj31x8.mjs +0 -2
  542. package/dist/chunks/cli-1.1.30-7dtpd1ra.mjs +0 -2
  543. package/dist/chunks/cli-1.1.30-7h45a0x6.mjs +0 -6
  544. package/dist/chunks/cli-1.1.30-7ma427qh.mjs +0 -8
  545. package/dist/chunks/cli-1.1.30-7q8f7mp7.mjs +0 -2
  546. package/dist/chunks/cli-1.1.30-84cemtwn.mjs +0 -4
  547. package/dist/chunks/cli-1.1.30-87zsgch6.mjs +0 -21
  548. package/dist/chunks/cli-1.1.30-8a5gwcde.mjs +0 -2
  549. package/dist/chunks/cli-1.1.30-8e36e2c1.mjs +0 -2
  550. package/dist/chunks/cli-1.1.30-8hcc4gax.mjs +0 -15
  551. package/dist/chunks/cli-1.1.30-8t3c3a4k.mjs +0 -20
  552. package/dist/chunks/cli-1.1.30-8vr9ea9g.mjs +0 -2
  553. package/dist/chunks/cli-1.1.30-8zyep40e.mjs +0 -2
  554. package/dist/chunks/cli-1.1.30-902jyjpx.mjs +0 -2
  555. package/dist/chunks/cli-1.1.30-917y0q4m.mjs +0 -2
  556. package/dist/chunks/cli-1.1.30-92t0b3hs.mjs +0 -2
  557. package/dist/chunks/cli-1.1.30-94vhzqcd.mjs +0 -2
  558. package/dist/chunks/cli-1.1.30-9685r12p.mjs +0 -2
  559. package/dist/chunks/cli-1.1.30-9h8mm4pg.mjs +0 -2
  560. package/dist/chunks/cli-1.1.30-9m8jc7as.mjs +0 -4
  561. package/dist/chunks/cli-1.1.30-9rn8qz9x.mjs +0 -2
  562. package/dist/chunks/cli-1.1.30-9s9qp1m7.mjs +0 -2
  563. package/dist/chunks/cli-1.1.30-a1phf5vm.mjs +0 -2
  564. package/dist/chunks/cli-1.1.30-a2ww16zh.mjs +0 -2
  565. package/dist/chunks/cli-1.1.30-a2xctbvc.mjs +0 -18
  566. package/dist/chunks/cli-1.1.30-amecp2v0.mjs +0 -3
  567. package/dist/chunks/cli-1.1.30-aqvjv0jh.mjs +0 -4
  568. package/dist/chunks/cli-1.1.30-aw93z4yt.mjs +0 -2
  569. package/dist/chunks/cli-1.1.30-b1mqmct7.mjs +0 -4
  570. package/dist/chunks/cli-1.1.30-bfqnz691.mjs +0 -2
  571. package/dist/chunks/cli-1.1.30-bgrp9j3q.mjs +0 -2
  572. package/dist/chunks/cli-1.1.30-bwdw42tf.mjs +0 -24
  573. package/dist/chunks/cli-1.1.30-bzjamz5p.mjs +0 -2
  574. package/dist/chunks/cli-1.1.30-c0b5kmhr.mjs +0 -2
  575. package/dist/chunks/cli-1.1.30-c2e2yeaj.mjs +0 -2
  576. package/dist/chunks/cli-1.1.30-c44kpd39.mjs +0 -2
  577. package/dist/chunks/cli-1.1.30-c70p43p6.mjs +0 -133
  578. package/dist/chunks/cli-1.1.30-c9xtenrd.mjs +0 -2
  579. package/dist/chunks/cli-1.1.30-ca1a9ntm.mjs +0 -2
  580. package/dist/chunks/cli-1.1.30-cb34mrvh.mjs +0 -2
  581. package/dist/chunks/cli-1.1.30-cgcdnarw.mjs +0 -2
  582. package/dist/chunks/cli-1.1.30-cjetc80p.mjs +0 -2
  583. package/dist/chunks/cli-1.1.30-cwc68erm.mjs +0 -2
  584. package/dist/chunks/cli-1.1.30-d3n6dp6r.mjs +0 -2
  585. package/dist/chunks/cli-1.1.30-d8chymja.mjs +0 -2
  586. package/dist/chunks/cli-1.1.30-d9sphwgb.mjs +0 -3
  587. package/dist/chunks/cli-1.1.30-dbbhdfn1.mjs +0 -2
  588. package/dist/chunks/cli-1.1.30-dv38qw87.mjs +0 -3
  589. package/dist/chunks/cli-1.1.30-dy1jvt4f.mjs +0 -2
  590. package/dist/chunks/cli-1.1.30-e0fcx44n.mjs +0 -2
  591. package/dist/chunks/cli-1.1.30-e15hq24m.mjs +0 -2
  592. package/dist/chunks/cli-1.1.30-eg5krttf.mjs +0 -2
  593. package/dist/chunks/cli-1.1.30-ehk76t59.mjs +0 -2
  594. package/dist/chunks/cli-1.1.30-em031y3s.mjs +0 -2
  595. package/dist/chunks/cli-1.1.30-endh0hmx.mjs +0 -2
  596. package/dist/chunks/cli-1.1.30-ensp6hjk.mjs +0 -2
  597. package/dist/chunks/cli-1.1.30-erqva8zn.mjs +0 -2
  598. package/dist/chunks/cli-1.1.30-etnn22zf.mjs +0 -2
  599. package/dist/chunks/cli-1.1.30-f6tarbyn.mjs +0 -2
  600. package/dist/chunks/cli-1.1.30-f8qnd0hw.mjs +0 -20
  601. package/dist/chunks/cli-1.1.30-f9cckkn6.mjs +0 -7
  602. package/dist/chunks/cli-1.1.30-f9tp1b8r.mjs +0 -6
  603. package/dist/chunks/cli-1.1.30-fa5djn9v.mjs +0 -2
  604. package/dist/chunks/cli-1.1.30-facztg9n.mjs +0 -133
  605. package/dist/chunks/cli-1.1.30-fct5wt67.mjs +0 -2
  606. package/dist/chunks/cli-1.1.30-fm4mj7wy.mjs +0 -2
  607. package/dist/chunks/cli-1.1.30-fpa799y4.mjs +0 -3
  608. package/dist/chunks/cli-1.1.30-fzan6qjf.mjs +0 -2
  609. package/dist/chunks/cli-1.1.30-g17zgmea.mjs +0 -3
  610. package/dist/chunks/cli-1.1.30-g3qd3ec3.mjs +0 -2
  611. package/dist/chunks/cli-1.1.30-g4c9mx6r.mjs +0 -2
  612. package/dist/chunks/cli-1.1.30-g9qsgq1r.mjs +0 -2
  613. package/dist/chunks/cli-1.1.30-gdmbygdz.mjs +0 -2
  614. package/dist/chunks/cli-1.1.30-gev0f31f.mjs +0 -24
  615. package/dist/chunks/cli-1.1.30-gk8x7f6m.mjs +0 -2
  616. package/dist/chunks/cli-1.1.30-gncy6j5b.mjs +0 -2
  617. package/dist/chunks/cli-1.1.30-gv4z21b9.mjs +0 -4
  618. package/dist/chunks/cli-1.1.30-gvp1pabq.mjs +0 -2
  619. package/dist/chunks/cli-1.1.30-h5yj1axw.mjs +0 -6
  620. package/dist/chunks/cli-1.1.30-h9pfkdf2.mjs +0 -2
  621. package/dist/chunks/cli-1.1.30-ha9qd4n4.mjs +0 -2
  622. package/dist/chunks/cli-1.1.30-he73pyqy.mjs +0 -2
  623. package/dist/chunks/cli-1.1.30-hncb22wm.mjs +0 -2
  624. package/dist/chunks/cli-1.1.30-hxy861gq.mjs +0 -2
  625. package/dist/chunks/cli-1.1.30-j29r8pgr.mjs +0 -4
  626. package/dist/chunks/cli-1.1.30-j2wahkcp.mjs +0 -6
  627. package/dist/chunks/cli-1.1.30-j46p2me4.mjs +0 -3
  628. package/dist/chunks/cli-1.1.30-jb34rbbt.mjs +0 -7
  629. package/dist/chunks/cli-1.1.30-jevxd0jk.mjs +0 -2
  630. package/dist/chunks/cli-1.1.30-jgxnrbme.mjs +0 -2
  631. package/dist/chunks/cli-1.1.30-jvqc1jfc.mjs +0 -2
  632. package/dist/chunks/cli-1.1.30-jyvb3jrk.mjs +0 -3
  633. package/dist/chunks/cli-1.1.30-kx2svwf6.mjs +0 -2
  634. package/dist/chunks/cli-1.1.30-kzbhw1mf.mjs +0 -2
  635. package/dist/chunks/cli-1.1.30-m5fx6y02.mjs +0 -2
  636. package/dist/chunks/cli-1.1.30-m5ta5zwh.mjs +0 -2
  637. package/dist/chunks/cli-1.1.30-m62yy9h8.mjs +0 -2
  638. package/dist/chunks/cli-1.1.30-mebteknr.mjs +0 -206
  639. package/dist/chunks/cli-1.1.30-mef66hvr.mjs +0 -10
  640. package/dist/chunks/cli-1.1.30-mgj06132.mjs +0 -2
  641. package/dist/chunks/cli-1.1.30-mpmg84pk.mjs +0 -3
  642. package/dist/chunks/cli-1.1.30-mz5a585j.mjs +0 -9
  643. package/dist/chunks/cli-1.1.30-n306djbd.mjs +0 -2
  644. package/dist/chunks/cli-1.1.30-naaxghkh.mjs +0 -2
  645. package/dist/chunks/cli-1.1.30-nhfsct38.mjs +0 -2
  646. package/dist/chunks/cli-1.1.30-p3m6d618.mjs +0 -2
  647. package/dist/chunks/cli-1.1.30-p63h2njx.mjs +0 -42
  648. package/dist/chunks/cli-1.1.30-p6bsj13y.mjs +0 -2
  649. package/dist/chunks/cli-1.1.30-pc2wp50b.mjs +0 -5504
  650. package/dist/chunks/cli-1.1.30-pc6nevmd.mjs +0 -2
  651. package/dist/chunks/cli-1.1.30-pez1sh7w.mjs +0 -2
  652. package/dist/chunks/cli-1.1.30-pg6jbgcq.mjs +0 -12
  653. package/dist/chunks/cli-1.1.30-pgx35gqd.mjs +0 -2
  654. package/dist/chunks/cli-1.1.30-pw08jvvr.mjs +0 -3
  655. package/dist/chunks/cli-1.1.30-pzp496y6.mjs +0 -2
  656. package/dist/chunks/cli-1.1.30-q00wdmf9.mjs +0 -2
  657. package/dist/chunks/cli-1.1.30-q51sf5gk.mjs +0 -2
  658. package/dist/chunks/cli-1.1.30-q8sd13v9.mjs +0 -2
  659. package/dist/chunks/cli-1.1.30-q8xgmv1x.mjs +0 -39
  660. package/dist/chunks/cli-1.1.30-qcwzchrc.mjs +0 -2
  661. package/dist/chunks/cli-1.1.30-qdnzwgr7.mjs +0 -2
  662. package/dist/chunks/cli-1.1.30-qjdmnkfj.mjs +0 -2
  663. package/dist/chunks/cli-1.1.30-qm4vn98q.mjs +0 -2
  664. package/dist/chunks/cli-1.1.30-qn71nvqn.mjs +0 -2
  665. package/dist/chunks/cli-1.1.30-qykdr3bk.mjs +0 -2
  666. package/dist/chunks/cli-1.1.30-r4ap6bq3.mjs +0 -4
  667. package/dist/chunks/cli-1.1.30-rdbwn1xc.mjs +0 -2
  668. package/dist/chunks/cli-1.1.30-rdgv4qpw.mjs +0 -2
  669. package/dist/chunks/cli-1.1.30-s27erhy7.mjs +0 -2
  670. package/dist/chunks/cli-1.1.30-s2b0zbj0.mjs +0 -1
  671. package/dist/chunks/cli-1.1.30-s7f7x42j.mjs +0 -2
  672. package/dist/chunks/cli-1.1.30-sdxgwxfm.mjs +0 -2
  673. package/dist/chunks/cli-1.1.30-sgm7bcet.mjs +0 -58
  674. package/dist/chunks/cli-1.1.30-sr3wnzt7.mjs +0 -17
  675. package/dist/chunks/cli-1.1.30-syea4bx7.mjs +0 -2
  676. package/dist/chunks/cli-1.1.30-t27wxks6.mjs +0 -6
  677. package/dist/chunks/cli-1.1.30-tc8vq728.mjs +0 -15
  678. package/dist/chunks/cli-1.1.30-tcz89gqa.mjs +0 -2
  679. package/dist/chunks/cli-1.1.30-tt85hxby.mjs +0 -25
  680. package/dist/chunks/cli-1.1.30-ty0pw373.mjs +0 -24
  681. package/dist/chunks/cli-1.1.30-vcexen3n.mjs +0 -2
  682. package/dist/chunks/cli-1.1.30-vda14n5e.mjs +0 -2
  683. package/dist/chunks/cli-1.1.30-vf6wrqmh.mjs +0 -2
  684. package/dist/chunks/cli-1.1.30-vhh5kt6v.mjs +0 -2
  685. package/dist/chunks/cli-1.1.30-vrgnzjd2.mjs +0 -2
  686. package/dist/chunks/cli-1.1.30-w9wdamqc.mjs +0 -34
  687. package/dist/chunks/cli-1.1.30-wfs29rd9.mjs +0 -12
  688. package/dist/chunks/cli-1.1.30-wgmdrp34.mjs +0 -2
  689. package/dist/chunks/cli-1.1.30-wjx6yhry.mjs +0 -2
  690. package/dist/chunks/cli-1.1.30-wmpgbhw0.mjs +0 -16
  691. package/dist/chunks/cli-1.1.30-x76str7r.mjs +0 -3
  692. package/dist/chunks/cli-1.1.30-x8wzmxay.mjs +0 -2
  693. package/dist/chunks/cli-1.1.30-x960htw5.mjs +0 -2
  694. package/dist/chunks/cli-1.1.30-xhk0n48x.mjs +0 -2
  695. package/dist/chunks/cli-1.1.30-xqb55m51.mjs +0 -2
  696. package/dist/chunks/cli-1.1.30-xrrzhx6s.mjs +0 -5
  697. package/dist/chunks/cli-1.1.30-xxvagrpc.mjs +0 -2
  698. package/dist/chunks/cli-1.1.30-y1pn2vb5.mjs +0 -2
  699. package/dist/chunks/cli-1.1.30-ycv7a9hg.mjs +0 -2
  700. package/dist/chunks/cli-1.1.30-ygdwz4ed.mjs +0 -4
  701. package/dist/chunks/cli-1.1.30-yt59tc1t.mjs +0 -2
  702. package/dist/chunks/cli-1.1.30-yw5qpt76.mjs +0 -2
  703. package/dist/chunks/cli-1.1.30-yy92v8yq.mjs +0 -63
  704. package/dist/chunks/cli-1.1.30-z1e7k65a.mjs +0 -5
  705. package/dist/chunks/cli-1.1.30-z9xfs5zq.mjs +0 -2
  706. package/dist/chunks/cli-1.1.30-zfz29t3v.mjs +0 -3
  707. package/dist/chunks/cli-1.1.30-zj3nk96z.mjs +0 -2
  708. package/dist/chunks/cli-1.1.30-zm2e2zvb.mjs +0 -2
  709. package/dist/chunks/cli-1.1.30-zpss0nht.mjs +0 -3
  710. package/dist/chunks/cli-1.1.30-zxkfqcvj.mjs +0 -2
  711. package/dist/chunks/cli-1.1.30-zych8w4z.mjs +0 -45
  712. package/dist/chunks/client-1.1.30-6xd07jrd.mjs +0 -1
  713. package/dist/chunks/color-1.1.30-yhxh49s0.mjs +0 -1
  714. package/dist/chunks/compact-1.1.30-wxxb111z.mjs +0 -3
  715. package/dist/chunks/config-1.1.30-4gdp5w7v.mjs +0 -1
  716. package/dist/chunks/config-1.1.30-s02sv9vf.mjs +0 -1
  717. package/dist/chunks/constants-1.1.30-g1xm727k.mjs +0 -1
  718. package/dist/chunks/context-1.1.30-pepgc836.mjs +0 -1
  719. package/dist/chunks/context-noninteractive-1.1.30-ahdmm09h.mjs +0 -1
  720. package/dist/chunks/conversation-1.1.30-93marv3a.mjs +0 -1
  721. package/dist/chunks/copilotHeaders-1.1.30-ypx3j03s.mjs +0 -1
  722. package/dist/chunks/copy-1.1.30-bsfx33za.mjs +0 -9
  723. package/dist/chunks/cost-1.1.30-rhgx2a0h.mjs +0 -1
  724. package/dist/chunks/createSSHSession-1.1.30-p5qve4c1.mjs +0 -1
  725. package/dist/chunks/createSession-1.1.30-rwvvv9na.mjs +0 -1
  726. package/dist/chunks/debug-1.1.30-j1zw0q5b.mjs +0 -1
  727. package/dist/chunks/defaultActionDeps-1.1.30-5gkcnqp5.mjs +0 -1481
  728. package/dist/chunks/desktop-1.1.30-rwbfgek7.mjs +0 -1
  729. package/dist/chunks/detectRepository-1.1.30-2xwvggy6.mjs +0 -1
  730. package/dist/chunks/detection-1.1.30-kkar89w6.mjs +0 -1
  731. package/dist/chunks/diff-1.1.30-t1r0x9g4.mjs +0 -1
  732. package/dist/chunks/doctor-1.1.30-cvqts45f.mjs +0 -1
  733. package/dist/chunks/doctorDiagnostic-1.1.30-smg0046q.mjs +0 -1
  734. package/dist/chunks/earlyInput-1.1.30-cpx4e858.mjs +0 -1
  735. package/dist/chunks/effort-1.1.30-jdxyeqz7.mjs +0 -13
  736. package/dist/chunks/engine-1.1.30-8qhtasfe.mjs +0 -1
  737. package/dist/chunks/envLessBridgeConfig-1.1.30-jnz4sy6x.mjs +0 -1
  738. package/dist/chunks/envUtils-1.1.30-y5dyaydm.mjs +0 -1
  739. package/dist/chunks/environmentSelection-1.1.30-w1z47qad.mjs +0 -1
  740. package/dist/chunks/environments-1.1.30-sjscvfn9.mjs +0 -1
  741. package/dist/chunks/errors-1.1.30-7cmbc98j.mjs +0 -1
  742. package/dist/chunks/exampleCommands-1.1.30-jx9hvt2q.mjs +0 -1
  743. package/dist/chunks/execFileNoThrow-1.1.30-dqrsra7k.mjs +0 -1
  744. package/dist/chunks/exit-1.1.30-m2yzbcth.mjs +0 -1
  745. package/dist/chunks/explorer-1.1.30-5tat30es.mjs +0 -1
  746. package/dist/chunks/export-1.1.30-545a0v8x.mjs +0 -2
  747. package/dist/chunks/extra-usage-1.1.30-5k9b4t6b.mjs +0 -1
  748. package/dist/chunks/extra-usage-noninteractive-1.1.30-h5fqbtg3.mjs +0 -1
  749. package/dist/chunks/fast-1.1.30-91wr1vy4.mjs +0 -1
  750. package/dist/chunks/feedback-1.1.30-36xrb399.mjs +0 -14
  751. package/dist/chunks/firstPartyEventLogger-1.1.30-be1ke8r3.mjs +0 -1
  752. package/dist/chunks/git-1.1.30-sxa8xf85.mjs +0 -1
  753. package/dist/chunks/githubModelsCredentials-1.1.30-m7a8kdwg.mjs +0 -1
  754. package/dist/chunks/goal-1.1.30-71sj2735.mjs +0 -4
  755. package/dist/chunks/growthbook-1.1.30-rx44zvrq.mjs +0 -1
  756. package/dist/chunks/headless-1.1.30-h98t9mfb.mjs +0 -2
  757. package/dist/chunks/heapdump-1.1.30-82m1rvjw.mjs +0 -6
  758. package/dist/chunks/help-1.1.30-vnsg1001.mjs +0 -1
  759. package/dist/chunks/hookChains-1.1.30-tc5ff3xr.mjs +0 -3
  760. package/dist/chunks/hooks-1.1.30-2sctf45c.mjs +0 -79
  761. package/dist/chunks/hooks-1.1.30-707b390t.mjs +0 -1
  762. package/dist/chunks/ide-1.1.30-e8neepsj.mjs +0 -3
  763. package/dist/chunks/image-processor-napi-1.1.30-gcqgfeec.mjs +0 -1
  764. package/dist/chunks/import-1.1.30-g0p9rj63.mjs +0 -261
  765. package/dist/chunks/inboundAttachments-1.1.30-a5p4ftqg.mjs +0 -1
  766. package/dist/chunks/index-1.1.30-00d73fwg.mjs +0 -1
  767. package/dist/chunks/index-1.1.30-0sdck5q1.mjs +0 -9
  768. package/dist/chunks/index-1.1.30-38597fv3.mjs +0 -5
  769. package/dist/chunks/index-1.1.30-3z58evcj.mjs +0 -1
  770. package/dist/chunks/index-1.1.30-5k081eyt.mjs +0 -1
  771. package/dist/chunks/index-1.1.30-8n15b4e3.mjs +0 -2
  772. package/dist/chunks/index-1.1.30-9nx8fm72.mjs +0 -1
  773. package/dist/chunks/index-1.1.30-9zfyk995.mjs +0 -23
  774. package/dist/chunks/index-1.1.30-ba27qy75.mjs +0 -1
  775. package/dist/chunks/index-1.1.30-cddndqaa.mjs +0 -1
  776. package/dist/chunks/index-1.1.30-cnbcr7zp.mjs +0 -1
  777. package/dist/chunks/index-1.1.30-f65yg5kz.mjs +0 -9
  778. package/dist/chunks/index-1.1.30-fwvhky1a.mjs +0 -1
  779. package/dist/chunks/index-1.1.30-hmnpjmd5.mjs +0 -1
  780. package/dist/chunks/index-1.1.30-nemv1gaj.mjs +0 -1
  781. package/dist/chunks/index-1.1.30-pnpy7v0s.mjs +0 -1
  782. package/dist/chunks/index-1.1.30-q4x054c8.mjs +0 -2
  783. package/dist/chunks/index-1.1.30-racdqjba.mjs +0 -1
  784. package/dist/chunks/index-1.1.30-scb66j47.mjs +0 -1
  785. package/dist/chunks/index-1.1.30-tfz6950h.mjs +0 -30
  786. package/dist/chunks/index-1.1.30-tx381qq5.mjs +0 -1
  787. package/dist/chunks/index-1.1.30-w4zhj1qd.mjs +0 -1
  788. package/dist/chunks/index-1.1.30-xxh224ea.mjs +0 -1
  789. package/dist/chunks/init-1.1.30-txzpz2vm.mjs +0 -1
  790. package/dist/chunks/initReplBridge-1.1.30-hkrhwfr3.mjs +0 -1
  791. package/dist/chunks/ink-1.1.30-av1t4b54.mjs +0 -1
  792. package/dist/chunks/insights-1.1.30-nbs0zndp.mjs +0 -870
  793. package/dist/chunks/install-1.1.30-kd3vnaat.mjs +0 -1
  794. package/dist/chunks/install-github-app-1.1.30-ea78ytf6.mjs +0 -149
  795. package/dist/chunks/install-slack-app-1.1.30-v2q1py01.mjs +0 -1
  796. package/dist/chunks/instrumentation-1.1.30-20686d7h.mjs +0 -1
  797. package/dist/chunks/interactiveHelpers-1.1.30-rd0zzjyp.mjs +0 -1
  798. package/dist/chunks/keybindings-1.1.30-157aap7w.mjs +0 -2
  799. package/dist/chunks/knowledge-1.1.30-4mcx1txk.mjs +0 -2
  800. package/dist/chunks/latestVersionCache-1.1.30-65qvjpys.mjs +0 -1
  801. package/dist/chunks/loadAgentsDir-1.1.30-nfrca2zv.mjs +0 -1
  802. package/dist/chunks/loadPluginHooks-1.1.30-wa8regkc.mjs +0 -1
  803. package/dist/chunks/log-1.1.30-nh81h0jz.mjs +0 -1
  804. package/dist/chunks/main-1.1.30-87zf4enf.mjs +0 -1
  805. package/dist/chunks/managedEnv-1.1.30-p38nd6r6.mjs +0 -1
  806. package/dist/chunks/mcp-1.1.30-egynhffm.mjs +0 -17
  807. package/dist/chunks/mcp-1.1.30-gaz9mgmq.mjs +0 -4
  808. package/dist/chunks/mcp-1.1.30-r6q89d8c.mjs +0 -1
  809. package/dist/chunks/mcpb-1.1.30-qxpx83j6.mjs +0 -1
  810. package/dist/chunks/memory-1.1.30-72gbfb3b.mjs +0 -77
  811. package/dist/chunks/model-1.1.30-7nsbqqvm.mjs +0 -2
  812. package/dist/chunks/model-1.1.30-f7d6dbt2.mjs +0 -1
  813. package/dist/chunks/node-1.1.30-nbnhkya6.mjs +0 -15
  814. package/dist/chunks/node-1.1.30-vaaf7x0g.mjs +0 -1
  815. package/dist/chunks/oauth-1.1.30-g201gbyg.mjs +0 -1
  816. package/dist/chunks/openaiShim-1.1.30-rz4xax1e.mjs +0 -14
  817. package/dist/chunks/output-style-1.1.30-ms4eck90.mjs +0 -1
  818. package/dist/chunks/package-D2QZMRW7-1.1.30-08c7mgpt.mjs +0 -1
  819. package/dist/chunks/parseConnectUrl-1.1.30-bd7ade4m.mjs +0 -1
  820. package/dist/chunks/parser-1.1.30-qe7n0vnw.mjs +0 -1
  821. package/dist/chunks/passes-1.1.30-3cz64bpa.mjs +0 -1
  822. package/dist/chunks/permissions-1.1.30-28z7ax7g.mjs +0 -3
  823. package/dist/chunks/permissions-1.1.30-vgtb4qf9.mjs +0 -1
  824. package/dist/chunks/plan-1.1.30-s865r5b5.mjs +0 -1
  825. package/dist/chunks/plist-1.1.30-pxa62mce.mjs +0 -1
  826. package/dist/chunks/plugin-1.1.30-6apj9sf8.mjs +0 -29
  827. package/dist/chunks/pluginStartupCheck-1.1.30-gmcab9kx.mjs +0 -1
  828. package/dist/chunks/plugins-1.1.30-40c7sagf.mjs +0 -9
  829. package/dist/chunks/preActionHook-1.1.30-q2g48qsk.mjs +0 -2
  830. package/dist/chunks/print-1.1.30-drvg0v0c.mjs +0 -57
  831. package/dist/chunks/process-1.1.30-f6y2msx6.mjs +0 -1
  832. package/dist/chunks/processBashCommand-1.1.30-5bzgcejg.mjs +0 -1
  833. package/dist/chunks/processSlashCommand-1.1.30-2bwd1kpt.mjs +0 -9
  834. package/dist/chunks/prompt-1.1.30-9rbbx5vr.mjs +0 -1
  835. package/dist/chunks/prompt-1.1.30-phmv317m.mjs +0 -1
  836. package/dist/chunks/prompts-1.1.30-1myv5ewh.mjs +0 -1
  837. package/dist/chunks/protocolHandler-1.1.30-d6jkd0dk.mjs +0 -13
  838. package/dist/chunks/provider-1.1.30-cwkzb2t8.mjs +0 -2
  839. package/dist/chunks/providerProfiles-1.1.30-qe0y7b6e.mjs +0 -1
  840. package/dist/chunks/providerValidation-1.1.30-rzg2nkx3.mjs +0 -6
  841. package/dist/chunks/rate-limit-options-1.1.30-4q04y9f7.mjs +0 -1
  842. package/dist/chunks/registerSubcommands-1.1.30-k3ar1dyg.mjs +0 -26
  843. package/dist/chunks/registry-1.1.30-epdyxcsa.mjs +0 -1
  844. package/dist/chunks/release-notes-1.1.30-k11yp5hh.mjs +0 -5
  845. package/dist/chunks/reload-plugins-1.1.30-n7qhqqr3.mjs +0 -2
  846. package/dist/chunks/remote-env-1.1.30-f8e03jpx.mjs +0 -1
  847. package/dist/chunks/remoteBridgeCore-1.1.30-fqankvvx.mjs +0 -1
  848. package/dist/chunks/remoteSession-1.1.30-fc5x1bz4.mjs +0 -1
  849. package/dist/chunks/rename-1.1.30-vw8eyfha.mjs +0 -1
  850. package/dist/chunks/replBridgeHandle-1.1.30-bagtg7fm.mjs +0 -1
  851. package/dist/chunks/replLauncher-1.1.30-318vaq80.mjs +0 -1
  852. package/dist/chunks/resume-1.1.30-jrj1wpvj.mjs +0 -2
  853. package/dist/chunks/rewind-1.1.30-z97mdn25.mjs +0 -1
  854. package/dist/chunks/rootOptions-1.1.30-ybrgmmyy.mjs +0 -1
  855. package/dist/chunks/runWorkflowHeadless-1.1.30-w3gn8w75.mjs +0 -10
  856. package/dist/chunks/sandbox-adapter-1.1.30-4rd9w5by.mjs +0 -1
  857. package/dist/chunks/sandbox-toggle-1.1.30-zmtfq25w.mjs +0 -1
  858. package/dist/chunks/session-1.1.30-sbykpbav.mjs +0 -2
  859. package/dist/chunks/sessionDiscovery-1.1.30-dd680nx7.mjs +0 -1
  860. package/dist/chunks/sessionFileAccessHooks-1.1.30-4rhdr018.mjs +0 -1
  861. package/dist/chunks/sessionStorage-1.1.30-cwb5a83p.mjs +0 -1
  862. package/dist/chunks/settings-1.1.30-xxee6nzb.mjs +0 -1
  863. package/dist/chunks/setup-1.1.30-p2wwqw6v.mjs +0 -12
  864. package/dist/chunks/sinks-1.1.30-phkc3yep.mjs +0 -1
  865. package/dist/chunks/skills-1.1.30-vsg5twx1.mjs +0 -1
  866. package/dist/chunks/startupProfiler-1.1.30-wa0xbx1z.mjs +0 -1
  867. package/dist/chunks/startupUpdateCheck-1.1.30-9cgnvwtt.mjs +0 -1
  868. package/dist/chunks/state-1.1.30-ge0kb9gr.mjs +0 -1
  869. package/dist/chunks/stats-1.1.30-n5w7ehyg.mjs +0 -1
  870. package/dist/chunks/status-1.1.30-snsvg4xb.mjs +0 -1
  871. package/dist/chunks/stickers-1.1.30-7ffpw08c.mjs +0 -1
  872. package/dist/chunks/subprocessEnv-1.1.30-5efpmhgz.mjs +0 -1
  873. package/dist/chunks/tasks-1.1.30-ykgkx7d8.mjs +0 -1
  874. package/dist/chunks/teamHelpers-1.1.30-cjjzmnj6.mjs +0 -1
  875. package/dist/chunks/teammateModeSnapshot-1.1.30-e2mh88ze.mjs +0 -1
  876. package/dist/chunks/teleport-1.1.30-9y1akw6m.mjs +0 -1
  877. package/dist/chunks/terminalSetup-1.1.30-mwbzfrfc.mjs +0 -1
  878. package/dist/chunks/theme-1.1.30-9dqykgv2.mjs +0 -1
  879. package/dist/chunks/thinkback-1.1.30-3pbzqt97.mjs +0 -1
  880. package/dist/chunks/thinkback-play-1.1.30-83akae4q.mjs +0 -1
  881. package/dist/chunks/toolPool-1.1.30-3kvrwtxa.mjs +0 -1
  882. package/dist/chunks/toolSearch-1.1.30-s60zcj4t.mjs +0 -1
  883. package/dist/chunks/tools-1.1.30-by0ddhf4.mjs +0 -1
  884. package/dist/chunks/trustedDevice-1.1.30-ecq2hfrc.mjs +0 -1
  885. package/dist/chunks/turndown.cjs-1.1.30-m5hyejns.mjs +0 -69
  886. package/dist/chunks/types-1.1.30-mrv5q877.mjs +0 -1
  887. package/dist/chunks/ultrareviewCommand-1.1.30-5etzjedp.mjs +0 -4
  888. package/dist/chunks/update-1.1.30-ax60cy72.mjs +0 -72
  889. package/dist/chunks/upgrade-1.1.30-hrny7f12.mjs +0 -1
  890. package/dist/chunks/upload-1.1.30-s0z8kw2s.mjs +0 -7
  891. package/dist/chunks/upstreamproxy-1.1.30-tkvbafsh.mjs +0 -14
  892. package/dist/chunks/url-handler-napi-1.1.30-enhczdhm.mjs +0 -1
  893. package/dist/chunks/usage-1.1.30-ew9dakf2.mjs +0 -1
  894. package/dist/chunks/util-1.1.30-knp77fm5.mjs +0 -1
  895. package/dist/chunks/utils-1.1.30-74ykpfac.mjs +0 -1
  896. package/dist/chunks/vim-1.1.30-y01vnb23.mjs +0 -1
  897. package/dist/chunks/watchLoop-1.1.30-sjecqqx4.mjs +0 -13
  898. package/dist/chunks/watcher-1.1.30-qnfq5sma.mjs +0 -1
  899. package/dist/chunks/wiki-1.1.30-qddcp6x2.mjs +0 -132
  900. package/dist/chunks/workflows-1.1.30-j5wcb76g.mjs +0 -1
  901. package/dist/chunks/worktree-1.1.30-m6gvqkc9.mjs +0 -1
  902. package/dist/chunks/worktreeModeEnabled-1.1.30-nma5ggmd.mjs +0 -1
  903. package/dist/chunks/wrapper-1.1.30-c8vm3try.mjs +0 -7
  904. /package/dist/chunks/{cli-1.1.30-vxh27fdj.mjs → cli-1.1.31-d930nxk6.mjs} +0 -0
@@ -0,0 +1,110 @@
1
+ import{Sc as iQ,Tc as z0,Uc as lQ,Vc as YZ,Wc as VZ,Xc as GZ}from"./cli-1.1.31-j0fbn8aw.mjs";import{Yc as k0,Zc as gq}from"./cli-1.1.31-zzd4cheh.mjs";import"./cli-1.1.31-hk88wxhm.mjs";import"./cli-1.1.31-9x9gaa7g.mjs";import{ed as cZ,fd as Tq}from"./cli-1.1.31-ptvddvjv.mjs";import{Wg as IQ,Xg as oJ,Yg as VQ}from"./cli-1.1.31-dctwr6q4.mjs";import{$J as gX,$t as $0,Az as mX,BK as iX,Bz as s0,CK as Jq,DA as uX,DK as $X,EA as a0,EK as Qq,GR as _q,Hq as DX,Iq as pQ,JB as cX,Jq as PX,KB as MQ,KT as pZ,Kq as eX,LN as rX,LT as jq,Lq as _Q,MB as SQ,ML as A0,MN as Zq,Mr as oX,NN as AZ,Nr as Oq,Ny as eJ,ON as yq,Oy as sJ,PB as EX,PL as JY,Qy as NQ,RB as u0,Rq as M0,Ru as hJ,SN as hZ,Sm as WQ,Ss as n,Su as GQ,Tm as lZ,Tq as xq,Ts as CJ,Tt as uQ,Tu as o,Um as hQ,Uq as rJ,Us as t,Uu as NJ,VN as Aq,Vq as dQ,Vu as XJ,Wq as UQ,Ws as BJ,Wu as IJ,Xq as tX,YI as uZ,Yq as LQ,ZI as pq,Zq as nJ,aK as e0,ar as P0,br as E0,cv as uJ,dl as wZ,dv as cQ,gl as wq,gr as XQ,gv as wJ,hK as dX,ht as _X,hv as $Q,iK as t0,iR as sX,it as d0,jR as Hq,mH as TJ,nB as OQ,nH as BQ,oB as vX,pB as jQ,qB as CZ,rB as Cq,rz as SX,sL as yZ,sz as l0,tz as pX,uG as xX,uM as lX,uz as r0,vG as o0,vM as Xq,wH as bJ,wR as SZ,wr as mZ,xH as qQ,xr as Sq,yt as jX,yz as TX,zt as i0,zz as n0}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import{BZ as v0,NZ as GJ,SX as UJ,fZ as M,hZ as L}from"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import{o3 as RJ,p3 as X,q3 as F,r3 as j}from"./cli-1.1.31-eqfmzrxc.mjs";import{s3 as EJ}from"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import{Y7 as SJ,Z7 as gQ}from"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import{$ca as j0,Cfa as pJ,Eca as aX,Fea as IX,Gea as hX,Jfa as fQ,Kha as wQ,Mca as Wq,Oea as fX,Q$ as O0,Sha as cq,X_ as YJ,Y_ as ZQ,Zca as RX,jea as mQ,kga as uq,pea as g0,qea as YQ,tea as AX,xca as iJ,zca as yX}from"./cli-1.1.31-p99fz46k.mjs";import{_ha as QX,hia as D0,pia as EZ}from"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import{eja as QQ,gja as GX}from"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import{Aka as vq,wka as XX}from"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import{gla as TZ,pla as W0,rla as yQ,xla as AQ}from"./cli-1.1.31-dmghye74.mjs";import{Ala as VX,Lla as _0}from"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import{hsa as s,lsa as r}from"./cli-1.1.31-qj8vksz8.mjs";var AJ;var YX=r(()=>{AJ={FOLDER_NAME:".claudin",AGENTS_DIR:"agents"}});import{mkdir as S0,open as p0,unlink as T0}from"fs/promises";import{join as _J}from"path";function UX(Q,J,q,V,Y,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=Y?`
4
+ color: ${Y}`:"",R=Z?`
5
+ memory: ${Z}`:"";return`---
6
+ name: ${Q}
7
+ description: "${U}"${W}${O}${K}${R}
8
+ ---
9
+
10
+ ${V}
11
+ `}function FQ(Q){switch(Q){case"flagSettings":throw Error(`Cannot get directory path for ${Q} agents`);case"userSettings":return _J(VX(),AJ.AGENTS_DIR);case"projectSettings":return _J(QQ(),AJ.FOLDER_NAME,AJ.AGENTS_DIR);case"policySettings":return _J(RX(),AJ.FOLDER_NAME,AJ.AGENTS_DIR);case"localSettings":return _J(QQ(),AJ.FOLDER_NAME,AJ.AGENTS_DIR)}}function LX(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 FX(Q){if(Q.source==="built-in")return"Built-in";let J=LX(Q.source);return _J(J,`${Q.agentType}.md`)}function KX(Q){if(UQ(Q))return"Built-in";if(LQ(Q))return`Plugin: ${Q.plugin||"Unknown"}`;if(Q.source==="flagSettings")return"CLI argument";let J=LX(Q.source),q=Q.filename||Q.agentType;return _J(J,`${q}.md`)}async function m0(Q){let J=FQ(Q);return await S0(J,{recursive:!0}),J}async function HX(Q,J,q,V,Y,Z=!0,G,U,H){if(Q==="built-in")throw Error("Cannot save built-in agents");await m0(Q);let W=KQ({source:Q,agentType:J}),O=UX(J,q,V,Y,G,U,H);try{await MX(W,O,Z?"wx":"w")}catch(K){if(yQ(K)==="EEXIST")throw Error(`Agent file already exists: ${W}`);throw K}}async function WX(Q,J,q,V,Y,Z,G){if(Q.source==="built-in")throw Error("Cannot update built-in agents");let U=HQ(Q),H=UX(Q.agentType,J,q,V,Y,Z,G);await MX(U,H)}async function OX(Q){if(Q.source==="built-in")throw Error("Cannot delete built-in agents");let J=HQ(Q);try{await T0(J)}catch(q){if(yQ(q)!=="ENOENT")throw q}}async function MX(Q,J,q="w"){let V=await p0(Q,q);try{await V.writeFile(J,{encoding:"utf-8"}),await V.datasync()}finally{await V.close()}}var xJ=r(()=>{j0();XQ();GX();_0();AQ();YX()});function zX(Q){let J=kX.c(48),{agent:q,tools:V,onBack:Y}=Q,Z=MQ(q,V,!1),G;if(J[0]!==q)G=KX(q),J[0]=q,J[1]=G;else G=J[1];let U=G,H;if(J[2]!==q.agentType)H=PX(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",Y,O);let K;if(J[5]!==Y)K=(w)=>{if(w.key==="return")w.preventDefault(),Y()},J[5]=Y,J[6]=K;else K=J[6];let R=K,N=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=N(),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 x;if(J[22]!==q.permissionMode)x=q.permissionMode&&F(L,{children:[X(L,{bold:!0,children:"Permission mode"}),": ",q.permissionMode]}),J[22]=q.permissionMode,J[23]=x;else x=J[23];let z;if(J[24]!==q.memory)z=q.memory&&F(L,{children:[X(L,{bold:!0,children:"Memory"}),": ",WQ(q.memory)]}),J[24]=q.memory,J[25]=z;else z=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 D;if(J[28]!==q.skills)D=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]=D;else D=J[29];let B;if(J[30]!==q.agentType||J[31]!==W)B=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]=B;else B=J[32];let c;if(J[33]!==q)c=!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(EX,{children:q.getSystemPrompt()})})]}),J[33]=q,J[34]=c;else c=J[34];let T;if(J[35]!==E||J[36]!==R||J[37]!==b||J[38]!==A||J[39]!==l||J[40]!==x||J[41]!==z||J[42]!==p||J[43]!==D||J[44]!==B||J[45]!==c||J[46]!==P)T=F(E,{flexDirection:C,gap:y,tabIndex:I,autoFocus:v,onKeyDown:R,children:[P,b,A,l,x,z,p,D,B,c]}),J[35]=E,J[36]=R,J[37]=b,J[38]=A,J[39]=l,J[40]=x,J[41]=z,J[42]=p,J[43]=D,J[44]=B,J[45]=c,J[46]=P,J[47]=T;else T=J[47];return T}var kX;var NX=r(()=>{ZQ();GJ();BJ();_Q();hQ();SQ();XQ();jQ();u0();xJ();j();kX=s(UJ(),1)});function PQ(Q){let J=BX.c(17),{agentName:q,currentColor:V,onConfirm:Y}=Q,Z=V===void 0?"automatic":V,G;if(J[0]!==Z)G=gJ.findIndex((I)=>I===Z),J[0]=Z,J[1]=G;else G=J[1];let[U,H]=bX.useState(Math.max(0,G)),W;if(J[2]!==Y||J[3]!==U)W=(I)=>{if(I.key==="up")I.preventDefault(),H(x0);else if(I.key==="down")I.preventDefault(),H(c0);else if(I.key==="return"){I.preventDefault();let v=gJ[U];Y(v==="automatic"?void 0:v)}},J[2]=Y,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:pQ[I],color:"inverseText",children:" "}),X(L,{bold:P,children:IX(I)})]})]},I)}),J[5]=U,J[6]=R;else R=J[6];let N;if(J[7]!==R)N=X(M,{flexDirection:"column",children:R}),J[7]=R,J[8]=N;else N=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:pQ[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]!==N||J[15]!==C)y=F(M,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:O,children:[N,C]}),J[13]=O,J[14]=N,J[15]=C,J[16]=y;else y=J[16];return y}function c0(Q){return Q<gJ.length-1?Q+1:0}function x0(Q){return Q>0?Q-1:gJ.length-1}var BX,bX,gJ;var TQ=r(()=>{ZQ();GJ();_Q();fX();j();BX=s(UJ(),1),bX=s(EJ(),1),gJ=["automatic",...DX]});function dJ(Q){let J=wX.c(11),{initialModel:q,onComplete:V,onCancel:Y}=Q,Z;if(J[0]!==q){J:{let K=vX();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]!==Y||J[4]!==V)W=()=>Y?Y():V(void 0),J[3]=Y,J[4]=V,J[5]=W;else W=J[5];let O;if(J[6]!==U||J[7]!==G||J[8]!==V||J[9]!==W)O=F(M,{flexDirection:"column",children:[H,X(bJ,{options:G,defaultValue:U,onChange:V,onCancel:W})]}),J[6]=U,J[7]=G,J[8]=V,J[9]=W,J[10]=O;else O=J[10];return O}var wX;var EQ=r(()=>{GJ();jQ();qQ();j();wX=s(UJ(),1)});function CX(){return{READ_ONLY:{name:"Read-only tools",toolNames:new Set([mX.name,TX.name,sX.name,lX.name,gX.name,xX.name,$X.name,dX.name,iX.name,_X.name,jX.name])},EDIT:{name:"Edit tools",toolNames:new Set([SX.name,pX.name,uX.name])},EXECUTION:{name:"Execution tools",toolNames:new Set([rX.name])},MCP:{name:"MCP tools",toolNames:new Set,isMcp:!0},OTHER:{name:"Other tools",toolNames:new Set}}}function qq(Q){let J=new Map;return Q.forEach((q)=>{if(uQ(q)){let V=mQ(q.name);if(V?.serverName){let Y=J.get(V.serverName)||[];Y.push(q),J.set(V.serverName,Y)}}}),Array.from(J.entries()).map(([q,V])=>({serverName:q,tools:V})).sort((q,V)=>q.serverName.localeCompare(V.serverName))}function kQ(Q){let J=nX.c(69),{tools:q,initialTools:V,onComplete:Y,onCancel:Z}=Q,G;if(J[0]!==q)G=cX({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]!==V)H=!V||V.includes("*")?U.map(Kq):V,J[2]=U,J[3]=V,J[4]=H;else H=J[4];let W=H,[O,K]=$J.useState(W),[R,N]=$J.useState(0),[E,C]=$J.useState(!1),y;if(J[5]!==U)y=new Set(U.map(Fq)),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]!==Y||J[18]!==P)i=()=>{let u=U.map(Lq),qJ=P.length===u.length&&u.every((QJ)=>P.includes(QJ))?void 0:P;Y(qJ)},J[16]=U,J[17]=Y,J[18]=P,J[19]=i;else i=J[19];let l=i,x;if(J[20]!==U){let u=CX();x={readOnly:[],edit:[],execution:[],mcp:[],other:[]},U.forEach((h)=>{if(uQ(h))x.mcp.push(h);else if(u.READ_ONLY.toolNames.has(h.name))x.readOnly.push(h);else if(u.EDIT.toolNames.has(h.name))x.edit.push(h);else if(u.EXECUTION.toolNames.has(h.name))x.execution.push(h);else if(h.name!==YQ)x.other.push(h)}),J[20]=U,J[21]=x}else x=J[21];let z=x,p;if(J[22]!==b)p=(u)=>{let qJ=iJ(u,(QJ)=>b.has(QJ.name))<u.length;return()=>{let QJ=u.map(Uq);d(QJ,qJ)}},J[22]=b,J[23]=p;else p=J[23];let D=p,B;if(J[24]!==D||J[25]!==U||J[26]!==R||J[27]!==l||J[28]!==S||J[29]!==b||J[30]!==E||J[31]!==z.edit||J[32]!==z.execution||J[33]!==z.mcp||J[34]!==z.other||J[35]!==z.readOnly){B=[],B.push({id:"continue",label:"Continue",action:l,isContinue:!0});let u;if(J[37]!==U||J[38]!==S)u=()=>{let PJ=U.map(Rq);d(PJ,!S)},J[37]=U,J[38]=S,J[39]=u;else u=J[39];B.push({id:"bucket-all",label:`${S?YJ.checkboxOn:YJ.checkboxOff} All tools`,action:u});let h=CX();[{id:"bucket-readonly",name:h.READ_ONLY.name,tools:z.readOnly},{id:"bucket-edit",name:h.EDIT.name,tools:z.edit},{id:"bucket-execution",name:h.EXECUTION.name,tools:z.execution},{id:"bucket-mcp",name:h.MCP.name,tools:z.mcp},{id:"bucket-other",name:h.OTHER.name,tools:z.other}].forEach((PJ)=>{let{id:mJ,name:DJ,tools:tJ}=PJ;if(tJ.length===0)return;let JQ=iJ(tJ,(h0)=>b.has(h0.name))===tJ.length;B.push({id:mJ,label:`${JQ?YJ.checkboxOn:YJ.checkboxOff} ${DJ}`,action:D(tJ)})});let QJ=B.length,fJ;if(J[40]!==R||J[41]!==E||J[42]!==QJ)fJ=()=>{if(C(!E),E&&R>QJ)N(QJ)},J[40]=R,J[41]=E,J[42]=QJ,J[43]=fJ;else fJ=J[43];B.push({id:"toggle-individual",label:E?"Hide advanced options":"Show advanced options",action:fJ,isToggle:!0});let qX=qq(U);if(E){if(qX.length>0)B.push({id:"mcp-servers-header",label:"MCP Servers:",action:Gq,isHeader:!0}),qX.forEach((PJ)=>{let{serverName:mJ,tools:DJ}=PJ,CQ=iJ(DJ,(JQ)=>b.has(JQ.name))===DJ.length;B.push({id:`mcp-server-${mJ}`,label:`${CQ?YJ.checkboxOn:YJ.checkboxOff} ${mJ} (${DJ.length} ${hX(DJ.length,"tool")})`,action:()=>{let JQ=DJ.map(Vq);d(JQ,!CQ)}})}),B.push({id:"tools-header",label:"Individual Tools:",action:Yq,isHeader:!0});U.forEach((PJ)=>{let mJ=PJ.name;if(PJ.name.startsWith("mcp__")){let DJ=mQ(PJ.name);mJ=DJ?`${DJ.toolName} (${DJ.serverName})`:PJ.name}B.push({id:`tool-${PJ.name}`,label:`${b.has(PJ.name)?YJ.checkboxOn:YJ.checkboxOff} ${mJ}`,action:()=>g(PJ.name)})})}J[24]=D,J[25]=U,J[26]=R,J[27]=l,J[28]=S,J[29]=b,J[30]=E,J[31]=z.edit,J[32]=z.execution,J[33]=z.mcp,J[34]=z.other,J[35]=z.readOnly,J[36]=B}else B=J[36];let c;if(J[44]!==V||J[45]!==Z||J[46]!==Y)c=()=>{if(Z)Z();else Y(V)},J[44]=V,J[45]=Z,J[46]=Y,J[47]=c;else c=J[47];let T=c,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]!==B)m=(u)=>{if(u.key==="return"){u.preventDefault();let h=B[R];if(h&&!h.isHeader)h.action()}else if(u.key==="up"){u.preventDefault();let h=R-1;while(h>0&&B[h]?.isHeader)h--;N(Math.max(0,h))}else if(u.key==="down"){u.preventDefault();let h=R+1;while(h<B.length-1&&B[h]?.isHeader)h++;N(Math.min(B.length-1,h))}},J[49]=R,J[50]=B,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]!==B)LJ=B.slice(1),J[57]=B,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 Yq(){}function Vq(Q){return Q.name}function Gq(){}function Rq(Q){return Q.name}function Uq(Q){return Q.name}function Lq(Q){return Q.name}function Fq(Q){return Q.name}function Kq(Q){return Q.name}var nX,$J;var xQ=r(()=>{ZQ();g0();$0();SQ();AX();Zq();Hq();l0();Xq();r0();s0();n0();d0();a0();i0();Jq();t0();o0();e0();Qq();GJ();BJ();yX();fX();cQ();j();nX=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 oX(aX(Q))}var zQ=r(()=>{Oq();Wq()});function JZ({agent:Q,tools:J,onSaved:q,onBack:V}){let Y=sJ(),[Z,G]=zJ.useState("menu"),[U,H]=zJ.useState(0),[W,O]=zJ.useState(null),[K,R]=zJ.useState(Q.color),N=zJ.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=zJ.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(!tX(Q)&&!LQ(Q))return!1;if(g||d)await WX(Q,Q.whenToUse,f??Q.tools,Q.getSystemPrompt(),k);if(A&&Q.baseDir)await rJ(Q.baseDir,Q.agentType,S);if(d&&k)eX(Q.agentType,k);return Y((i)=>{let l=i.agentDefinitions.allAgents.map((x)=>x.agentType===Q.agentType?{...x,tools:f??x.tools,color:k,model:S??x.model}:x);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,Y]),C=zJ.useMemo(()=>[{label:"Open in editor",action:N},{label:"Edit tools",action:()=>G("edit-tools")},{label:"Edit model",action:()=>G("edit-model")},{label:"Edit color",action:()=>G("edit-color")}],[N]),y=zJ.useCallback(()=>{if(O(null),Z==="menu")V();else G("menu")},[Z,V]),I=zJ.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 zJ;var QZ=r(()=>{gQ();ZQ();NQ();GJ();BJ();_Q();XQ();VQ();dQ();xJ();TQ();EQ();xQ();zQ();j();zJ=s(EJ(),1)});function cJ(Q){let J=XZ.c(2),{instructions:q}=Q,V=q===void 0?"Press ↑↓ to navigate · Enter to select · Esc to go back":q,Y=hJ(),Z=Y.pending?`Press ${Y.keyName} again to exit`:V,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 XZ;var ZZ=r(()=>{GQ();GJ();j();XZ=s(UJ(),1)});function qZ(Q,J){if(Q.length<=J)return Q;if(J<=1)return Q.slice(0,J);return`${Q.slice(0,J-1)}…`}function RZ(Q){return{isOverridden:!!Q.overriddenBy,overriddenBy:Q.overriddenBy||null}}function Eq(Q){let J=Mq,q=Pq;for(let V of Q){if(V.agentType.length>J)J=V.agentType.length;let Y=lQ(V);if(Y&&Y.length>q)q=Y.length}return{name:Math.min(J,32),model:Math.min(q,28)}}function kq({agent:Q,isSelected:J,dimmed:q,widths:V,selectable:Y}){let{isOverridden:Z,overriddenBy:G}=RZ(Q),U=q&&!J,H=Y&&J?"suggestion":void 0,W=lQ(Q)??"",O=Y?J?`${YJ.pointer} `:" ":"";return F(M,{flexDirection:"row",children:[X(M,{width:V.name+(Y?2:0),flexShrink:0,children:F(L,{dimColor:U,color:H,children:[O,qZ(Q.agentType,V.name)]})}),X(M,{width:V.model+2,flexShrink:0,children:X(L,{dimColor:!0,color:H,children:qZ(W,V.model)})}),G&&X(M,{flexShrink:0,children:F(L,{dimColor:!J,color:J?"warning":void 0,children:[YJ.warning," shadowed by ",YZ(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 UZ({source:Q,agents:J,onBack:q,onSelect:V,onCreateNew:Y,changes:Z}){let[G,U]=vJ.useState(null),[H,W]=vJ.useState(!0),O=vJ.useMemo(()=>[...J].sort(VZ),[J]),K=vJ.useMemo(()=>Eq(O),[O]),R=vJ.useMemo(()=>{if(Q==="all")return iQ.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(Y)W(!0);else U(R[0]||null)},[R,G,H,Y]);let N=(k)=>{if(k.key==="return"){if(k.preventDefault(),H&&Y)Y();else if(G)V(G);return}if(k.key!=="up"&&k.key!=="down")return;k.preventDefault();let g=!!Y,A=R.length+(g?1:0);if(A===0)return;let d=0;if(!H&&G){let l=R.findIndex((x)=>x.agentType===G.agentType&&x.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,x=R[l];if(x)W(!1),U(x)}},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}=RZ(k);return X(kq,{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:N,children:[Y&&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:[iQ.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:N,children:[Y&&X(M,{marginBottom:1,children:E()}),S]})]})}var vJ,Mq=20,Pq=12;var LZ=r(()=>{ZQ();GJ();GZ();yX();$Q();cQ();zQ();j();vJ=s(EJ(),1)});function nQ(Q){let J=FZ.c(38),{steps:q,initialData:V,onComplete:Y,onCancel:Z,children:G,title:U,showStepCounter:H}=Q,W;if(J[0]!==V)W=V===void 0?{}:V,J[0]=V,J[1]=W;else W=J[1];let O=W,K=H===void 0?!0:H,[R,N]=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]!==Y||J[5]!==E)b=()=>{if(y)f([]),Y(E)},S=[y,E,Y],J[3]=y,J[4]=Y,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]);N(Iq)}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(Nq),N(_)}else if(R>0)N(zq);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]),N(_)},J[16]=R,J[17]=q.length,J[18]=i;else i=J[18];let l=i,x;if(J[19]!==Z)x=()=>{if(f([]),Z)Z()},J[19]=Z,J[20]=x;else x=J[20];let z=x,p;if(J[21]===Symbol.for("react.memo_cache_sentinel"))p=(_)=>{C(($)=>({...$,..._}))},J[21]=p;else p=J[21];let D=p,B;if(J[22]!==z||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)B={currentStepIndex:R,totalSteps:q.length,wizardData:E,setWizardData:C,updateWizardData:D,goNext:g,goBack:d,goToStep:l,cancel:z,title:U,showStepCounter:K},J[22]=z,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]=B;else B=J[31];let c=B,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]!==c||J[36]!==w)m=X(rQ.Provider,{value:c,children:w}),J[35]=c,J[36]=w,J[37]=m;else m=J[37];return m}function zq(Q){return Q-1}function Nq(Q){return Q.slice(0,-1)}function Iq(Q){return Q+1}var FZ,jJ,rQ;var sQ=r(()=>{GQ();j();FZ=s(UJ(),1),jJ=s(EJ(),1),rQ=jJ.createContext(null)});function e(){let Q=KZ.useContext(rQ);if(!Q)throw Error("useWizard must be used within a WizardProvider");return Q}var KZ;var aQ=r(()=>{sQ();KZ=s(EJ(),1)});function oQ({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 eQ=r(()=>{GQ();GJ();NJ();IJ();CJ();j()});function ZJ(Q){let J=HZ.c(11),{title:q,color:V,children:Y,subtitle:Z,footerText:G}=Q,U=V===void 0?"suggestion":V,{currentStepIndex:H,totalSteps:W,title:O,showStepCounter:K,goBack:R}=e(),N=q||O||"Wizard",E=K!==!1?` (${H+1}/${W})`:"",C=`${N}${E}`,y;if(J[0]!==Y||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:Y}),J[0]=Y,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(oQ,{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 HZ;var kJ=r(()=>{$Q();aQ();eQ();j();HZ=s(UJ(),1)});var OJ=r(()=>{aQ();kJ();eQ();sQ()});function OZ(){let Q=WZ.c(14),{goNext:J,goBack:q,updateWizardData:V,wizardData:Y}=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]!==V||Q[3]!==Y.agentType||Q[4]!==Y.location||Q[5]!==Y.selectedModel||Q[6]!==Y.selectedTools||Q[7]!==Y.systemPrompt||Q[8]!==Y.whenToUse)G=(K)=>{V({selectedColor:K,finalAgent:{agentType:Y.agentType,whenToUse:Y.whenToUse,getSystemPrompt:()=>Y.systemPrompt,tools:Y.selectedTools,...Y.selectedModel?{model:Y.selectedModel}:{},...K?{color:K}:{},source:Y.location}}),J()},Q[1]=J,Q[2]=V,Q[3]=Y.agentType,Q[4]=Y.location,Q[5]=Y.selectedModel,Q[6]=Y.selectedTools,Q[7]=Y.systemPrompt,Q[8]=Y.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=Y.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 WZ;var MZ=r(()=>{GJ();BJ();NJ();IJ();CJ();OJ();kJ();TQ();j();WZ=s(UJ(),1)});function tQ(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 PZ(Q,J,q){let V=[],Y=[];if(!Q.agentType)V.push("Agent type is required");else{let G=tQ(Q.agentType);if(G)V.push(G);let U=q.find((H)=>H.agentType===Q.agentType&&H.source!==Q.source);if(U)V.push(`Agent type "${Q.agentType}" already exists in ${lJ(U.source)}`)}if(!Q.whenToUse)V.push("Description (description) is required");else if(Q.whenToUse.length<10)Y.push("Description should be more descriptive (at least 10 characters)");else if(Q.whenToUse.length>5000)Y.push("Description is very long (over 5000 characters)");if(Q.tools!==void 0&&!Array.isArray(Q.tools))V.push("Tools must be an array");else{if(Q.tools===void 0)Y.push("Agent has access to all tools");else if(Q.tools.length===0)Y.push("No tools selected - agent will have very limited capabilities");let G=MQ(Q,J,!1);if(G.invalidTools.length>0)V.push(`Invalid tools: ${G.invalidTools.join(", ")}`)}let Z=Q.getSystemPrompt();if(!Z)V.push("System prompt is required");else if(Z.length<20)V.push("System prompt is too short (minimum 20 characters)");else if(Z.length>1e4)Y.push("System prompt is very long (over 10,000 characters)");return{isValid:V.length===0,errors:V,warnings:Y}}var JX=r(()=>{SQ();zQ()});function zZ(Q){let J=kZ.c(88),{tools:q,existingAgents:V,onSave:Y,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]!==Y||J[2]!==Z)O=(_)=>{if(_.key==="s"||_.key==="return")_.preventDefault(),Y();else if(_.key==="e")_.preventDefault(),Z()},J[1]=Y,J[2]=Z,J[3]=O;else O=J[3];let K=O,R=H.finalAgent,N,E,C,y,I,v,P,f,b,S,k,g,A,d,i,l,x,z,p;if(J[4]!==R||J[5]!==V||J[6]!==K||J[7]!==q||J[8]!==H.location){let _=PZ(R,q,V),$;if(J[28]!==R)$=QX(R.getSystemPrompt(),240),J[28]=R,J[29]=$;else $=J[29];let a=$,JJ;if(J[30]!==R.whenToUse)JJ=QX(R.whenToUse,240),J[30]=R.whenToUse,J[31]=JJ;else JJ=J[31];let VJ=JJ,MJ=Bq,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];N=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)x=F(L,{children:[WJ,": ",R.agentType]}),J[36]=R.agentType,J[37]=x;else x=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=FX({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)z=F(L,{children:[FJ,":"," ",KJ]}),J[42]=KJ,J[43]=z;else z=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(Dq)]}),S=_.errors.length>0&&F(M,{marginTop:1,flexDirection:"column",children:[X(L,{color:"error",children:"Errors:"}),_.errors.map(fq)]}),J[4]=R,J[5]=V,J[6]=K,J[7]=q,J[8]=H.location,J[9]=N,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]=x,J[26]=z,J[27]=p}else N=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],x=J[25],z=J[26],p=J[27];let D;if(J[60]!==G)D=G&&X(M,{marginTop:1,children:X(L,{color:"error",children:G})}),J[60]=G,J[61]=D;else D=J[61];let B;if(J[62]===Symbol.for("react.memo_cache_sentinel"))B=X(L,{bold:!0,children:"s"}),J[62]=B;else B=J[62];let c;if(J[63]===Symbol.for("react.memo_cache_sentinel"))c=X(L,{bold:!0,children:"Enter"}),J[63]=c;else c=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 ",B," or ",c," to save,"," ",X(L,{bold:!0,children:"e"})," to save and edit"]})}),J[64]=T;else T=J[64];let w;if(J[65]!==N||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]!==D||J[75]!==A||J[76]!==d||J[77]!==i||J[78]!==l||J[79]!==x||J[80]!==z||J[81]!==p)w=F(N,{flexDirection:A,tabIndex:d,autoFocus:i,onKeyDown:l,children:[x,z,p,C,y,I,v,P,f,b,S,D,T]}),J[65]=N,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]=D,J[75]=A,J[76]=d,J[77]=i,J[78]=l,J[79]=x,J[80]=z,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 fq(Q,J){return F(L,{color:"error",children:[" ","• ",Q]},J)}function Dq(Q,J){return F(L,{dimColor:!0,children:[" ","• ",Q]},J)}function Bq(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 kZ;var NZ=r(()=>{GJ();BJ();fQ();hQ();EZ();jQ();NJ();IJ();CJ();OJ();kJ();xJ();JX();j();kZ=s(UJ(),1)});import{dirname as bq}from"path";function IZ({tools:Q,existingAgents:J,onComplete:q}){let{wizardData:V}=e(),[Y,Z]=aJ.useState(null),G=sJ(),U=aJ.useCallback(async(O)=>{if(!V?.finalAgent)return;try{if(await HX(V.location,V.finalAgent.agentType,V.finalAgent.whenToUse,V.finalAgent.tools,V.finalAgent.getSystemPrompt(),!0,V.finalAgent.color,V.finalAgent.memory),V.finalAgent.model){let R=KQ({source:V.location,agentType:V.finalAgent.agentType}),N=bq(R);await rJ(N,V.finalAgent.agentType,V.finalAgent.model)}if(G((R)=>{if(!V.finalAgent)return R;let N=R.agentDefinitions.allAgents.concat(V.finalAgent);return{...R,agentDefinitions:{...R.agentDefinitions,activeAgents:nJ(N),allAgents:N}}}),O){let R=KQ({source:V.location,agentType:V.finalAgent.agentType});await IQ(R)}let K=O?`Created agent: ${SJ.bold(V.finalAgent.agentType)} and opened in editor. If you made edits, restart to load the latest version.`:`Created agent: ${SJ.bold(V.finalAgent.agentType)}`;q(K)}catch(K){Z(K instanceof Error?K.message:"Failed to save agent")}},[V,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:Y})}var aJ;var fZ=r(()=>{gQ();NQ();XQ();dQ();VQ();OJ();xJ();NZ();j();aJ=s(EJ(),1)});function BZ(){let Q=DZ.c(18),{goNext:J,goBack:q,updateWizardData:V,wizardData:Y}=e(),[Z,G]=DQ.useState(Y.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 N=R,E;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Chat"},Q[3]=E;else E=Q[3];t("chat:externalEditor",N,E);let C;if(Q[4]!==J||Q[5]!==V)C=(S)=>{let k=S.trim();if(!k){O("Description is required");return}O(null),V({whenToUse:k}),J()},Q[4]=J,Q[5]=V,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 DZ,DQ;var bZ=r(()=>{GJ();BJ();VQ();NJ();IJ();CJ();BQ();OJ();kJ();j();DZ=s(UJ(),1),DQ=s(EJ(),1)});async function _Z(Q,J,q,V){let Y=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}".${Y}
14
+ Return ONLY the JSON object, no other text.`,G=yZ({content:Z}),U=await pZ(),H=AZ([G],U),W=pJ()?vZ+hq:vZ,R=(await hZ({messages:SZ(H),systemPrompt:CZ([W]),thinkingConfig:{type:"disabled"},tools:[],signal:V,options:{getToolPermissionContext:async()=>wZ(),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
+ `),N;try{N=XX(R.trim())}catch{let E=R.match(/\{[\s\S]*\}/);if(!E)throw Error("No JSON object found in response");N=XX(E[0])}if(!N.identifier||!N.whenToUse||!N.systemPrompt)throw Error("Invalid agent configuration generated");return{identifier:N.identifier,whenToUse:N.whenToUse,systemPrompt:N.systemPrompt}}var vZ,hq=`
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 jZ=r(()=>{jq();Aq();wq();AX();yq();_q();fQ();vq();Cq();vZ=`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 Claudin product questions.
81
+ user: "How do I configure Claudin 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 Claudin, 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 xZ(){let{updateWizardData:Q,goBack:J,goToStep:q,wizardData:V}=e(),[Y,Z]=yJ.useState(V.generationPrompt||""),[G,U]=yJ.useState(!1),[H,W]=yJ.useState(null),[O,K]=yJ.useState(Y.length),R=cZ(),N=yJ.useRef(null),E=yJ.useCallback(()=>{if(N.current)N.current.abort(),N.current=null,U(!1),W("Generation cancelled")},[]);t("confirm:no",E,{context:"Settings",isActive:G});let C=yJ.useCallback(async()=>{let P=await oJ(Y);if(P.content!==null)Z(P.content),K(P.content.length)},[Y]);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=Y.trim();if(!P){W("Please describe what the agent should do");return}W(null),U(!0),Q({generationPrompt:P,isGenerating:!0});let f=mZ();N.current=f;try{let b=await _Z(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(TZ(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),N.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(uZ,{}),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:Y,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 gZ=r(()=>{Tq();GJ();BJ();Sq();AQ();VQ();NJ();IJ();pq();BQ();OJ();kJ();jZ();j();yJ=s(EJ(),1)});function iZ(){let Q=dZ.c(11),{goNext:J,updateWizardData:q,cancel:V}=e(),Y;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Y={label:"Project (.claudin/agents/)",value:"projectSettings"},Q[0]=Y;else Y=Q[0];let Z;if(Q[1]===Symbol.for("react.memo_cache_sentinel"))Z=[Y,{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]!==V)W=()=>V(),Q[6]=V,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 dZ;var $Z=r(()=>{GJ();NJ();qQ();IJ();CJ();OJ();kJ();j();dZ=s(UJ(),1)});function nZ(){let Q=rZ.c(13),{goNext:J,goBack:q,updateWizardData:V,wizardData:Y}=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=Y.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]!==V||Q[5]!==Y.finalAgent||Q[6]!==Y.systemPrompt)W=(N)=>{let E=N==="none"?void 0:N,C=Y.finalAgent?.agentType;V({selectedMemory:E,finalAgent:Y.finalAgent?{...Y.finalAgent,memory:E,getSystemPrompt:pJ()&&E&&C?()=>Y.systemPrompt+`
107
+
108
+ `+lZ(C,E):()=>Y.systemPrompt}:void 0}),J()},Q[3]=J,Q[4]=V,Q[5]=Y.finalAgent,Q[6]=Y.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 rZ;var sZ=r(()=>{GJ();BJ();fQ();hQ();NJ();qQ();IJ();CJ();OJ();kJ();j();rZ=s(UJ(),1)});function oZ(){let Q=aZ.c(11),{goNext:J,goBack:q,updateWizardData:V,goToStep:Y}=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]!==Y||Q[4]!==V)H=(K)=>{let R=K;if(V({method:R,wasGenerated:R==="generate"}),R==="generate")J();else Y(3)},Q[2]=J,Q[3]=Y,Q[4]=V,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 aZ;var eZ=r(()=>{GJ();NJ();qQ();IJ();CJ();OJ();kJ();j();aZ=s(UJ(),1)});function J0(){let Q=tZ.c(8),{goNext:J,goBack:q,updateWizardData:V,wizardData:Y}=e(),Z;if(Q[0]!==J||Q[1]!==V)Z=(W)=>{V({selectedModel:W}),J()},Q[0]=J,Q[1]=V,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]!==Y.selectedModel)H=X(ZJ,{subtitle:"Select model",footerText:U,children:X(dJ,{initialModel:Y.selectedModel,onComplete:G,onCancel:q})}),Q[4]=q,Q[5]=G,Q[6]=Y.selectedModel,Q[7]=H;else H=Q[7];return H}var tZ;var Q0=r(()=>{NJ();IJ();CJ();OJ();kJ();EQ();j();tZ=s(UJ(),1)});function Z0(){let Q=X0.c(20),{goNext:J,goBack:q,updateWizardData:V,wizardData:Y}=e(),[Z,G]=bQ.useState(Y.systemPrompt||""),[U,H]=bQ.useState(Z.length),[W,O]=bQ.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 N=R,E;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Chat"},Q[3]=E;else E=Q[3];t("chat:externalEditor",N,E);let C;if(Q[4]!==J||Q[5]!==Z||Q[6]!==V)C=()=>{let k=Z.trim();if(!k){O("System prompt is required");return}O(null),V({systemPrompt:k}),J()},Q[4]=J,Q[5]=Z,Q[6]=V,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 X0,bQ;var q0=r(()=>{GJ();BJ();VQ();NJ();IJ();CJ();BQ();OJ();kJ();j();X0=s(UJ(),1),bQ=s(EJ(),1)});function V0(Q){let J=Y0.c(9),{tools:q}=Q,{goNext:V,goBack:Y,updateWizardData:Z,wizardData:G}=e(),U;if(J[0]!==V||J[1]!==Z)U=(R)=>{Z({selectedTools:R}),V()},J[0]=V,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]!==Y||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:Y})}),J[4]=Y,J[5]=H,J[6]=W,J[7]=q,J[8]=K;else K=J[8];return K}var Y0;var G0=r(()=>{NJ();IJ();CJ();OJ();kJ();xQ();j();Y0=s(UJ(),1)});function U0(Q){let J=R0.c(15),{goNext:q,goBack:V,updateWizardData:Y,wizardData:Z}=e(),[G,U]=vQ.useState(Z.agentType||""),[H,W]=vQ.useState(null),[O,K]=vQ.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",V,R);let N;if(J[1]!==q||J[2]!==Y)N=(f)=>{let b=f.trim(),S=tQ(b);if(S){W(S);return}W(null),Y({agentType:b}),q()},J[1]=q,J[2]=Y,J[3]=N;else N=J[3];let E=N,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 R0,vQ;var L0=r(()=>{GJ();BJ();NJ();IJ();CJ();BQ();OJ();kJ();JX();j();R0=s(UJ(),1),vQ=s(EJ(),1)});function K0(Q){let J=F0.c(17),{tools:q,existingAgents:V,onComplete:Y,onCancel:Z}=Q,G;if(J[0]!==V)G=()=>X(U0,{existingAgents:V}),J[0]=V,J[1]=G;else G=J[1];let U;if(J[2]!==q)U=()=>X(V0,{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()?[nZ]:[],J[4]=H;else H=J[4];let W;if(J[5]!==V||J[6]!==Y||J[7]!==q)W=()=>X(IZ,{tools:q,existingAgents:V,onComplete:Y}),J[5]=V,J[6]=Y,J[7]=q,J[8]=W;else W=J[8];let O;if(J[9]!==G||J[10]!==U||J[11]!==W)O=[iZ,oZ,xZ,G,Z0,BZ,U,J0,OZ,...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 N;if(J[14]!==Z||J[15]!==K)N=X(nQ,{steps:K,initialData:R,onComplete:mq,onCancel:Z,title:"Create new agent",showStepCounter:!1}),J[14]=Z,J[15]=K,J[16]=N;else N=J[16];return N}function mq(){}var F0;var H0=r(()=>{fQ();OJ();MZ();fZ();bZ();gZ();$Z();sZ();eZ();Q0();q0();G0();L0();j();F0=s(UJ(),1)});function I0(Q){let J=N0.c(157),{tools:q,onExit:V}=Q,Y;if(J[0]===Symbol.for("react.memo_cache_sentinel"))Y={mode:"list-agents",source:"all"},J[0]=Y;else Y=J[0];let[Z,G]=ZX.useState(Y),U=eJ(eq),H=eJ(oq),W=eJ(aq),O=sJ(),{allAgents:K,activeAgents:R}=U,N;if(J[1]===Symbol.for("react.memo_cache_sentinel"))N=[],J[1]=N;else N=J[1];let[E,C]=ZX.useState(N),y=k0(q,H,W);hJ();let I;if(J[2]!==K)I=K.filter(sq),J[2]=K,J[3]=I;else I=J[3];let v;if(J[4]!==K)v=K.filter(nq),J[4]=K,J[5]=v;else v=J[5];let P;if(J[6]!==K)P=K.filter(rq),J[6]=K,J[7]=P;else P=J[7];let f;if(J[8]!==K)f=K.filter(lq),J[8]=K,J[9]=f;else f=J[9];let b;if(J[10]!==K)b=K.filter($q),J[10]=K,J[11]=b;else b=J[11];let S;if(J[12]!==K)S=K.filter(iq),J[12]=K,J[13]=S;else S=J[13];let k;if(J[14]!==K)k=K.filter(dq),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=(z)=>{C((p)=>[...p,z]),G({mode:"list-agents",source:"all"})},J[25]=d;else d=J[25];let i=d,l;if(J[26]!==O)l=async(z)=>{try{await OX(z),O((p)=>{let D=p.agentDefinitions.allAgents.filter((B)=>!(B.agentType===z.agentType&&B.source===z.source));return{...p,agentDefinitions:{...p.agentDefinitions,allAgents:D,activeAgents:nJ(D)}}}),C((p)=>[...p,`Deleted agent: ${SJ.bold(z.agentType)}`]),G({mode:"list-agents",source:"all"})}catch(p){wQ(W0(p))}},J[26]=O,J[27]=l;else l=J[27];let x=l;switch(Z.mode){case"list-agents":{let z;if(J[28]!==A||J[29]!==Z.source)z=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]=z;else z=J[30];let p=z,D;if(J[31]!==R||J[32]!==p)D=z0(p,R),J[31]=R,J[32]=p,J[33]=D;else D=J[33];let c=D,T;if(J[34]!==E||J[35]!==V)T=()=>{let JJ=E.length>0?`Agent changes:
109
+ ${E.join(`
110
+ `)}`:void 0;V(JJ??"Agents dialog dismissed",{display:E.length===0?"system":void 0})},J[34]=E,J[35]=V,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]!==c||J[43]!==T||J[44]!==w)_=X(UZ,{source:Z.source,agents:c,onBack:T,onSelect:w,onCreateNew:m,changes:E}),J[40]=E,J[41]=Z.source,J[42]=c,J[43]=T,J[44]=w,J[45]=_;else _=J[45];let $;if(J[46]===Symbol.for("react.memo_cache_sentinel"))$=X(cJ,{}),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 z;if(J[49]===Symbol.for("react.memo_cache_sentinel"))z=()=>G({mode:"list-agents",source:"all"}),J[49]=z;else z=J[49];let p;if(J[50]!==R||J[51]!==y)p=X(K0,{tools:y,existingAgents:R,onComplete:i,onCancel:z}),J[50]=R,J[51]=y,J[52]=p;else p=J[52];return p}case"agent-menu":{let z;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];z=K.find(h),J[53]=K,J[54]=Z.agent.agentType,J[55]=Z.agent.source,J[56]=z}else z=J[56];let D=z||Z.agent,B=D.source!=="built-in"&&D.source!=="plugin"&&D.source!=="flagSettings",c=D.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(B)w=[{label:"Edit agent",value:"edit"},{label:"Change model",value:"change-model"},{label:"Delete agent",value:"delete"}];else if(c)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]!==D||J[67]!==Z)a=(h)=>{J:switch(h){case"view":{G({mode:"view-agent",agent:D,previousMode:Z.previousMode});break J}case"edit":{G({mode:"edit-agent",agent:D,previousMode:Z});break J}case"delete":{G({mode:"delete-confirm",agent:D,previousMode:Z});break J}case"change-model":{G({mode:"edit-builtin-model",agent:D,previousMode:Z});break J}case"back":G(Z.previousMode)}},J[66]=D,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(cJ,{}),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 z;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];z=K.find($),J[89]=K,J[90]=Z.agent,J[91]=z}else z=J[91];let D=z||Z.agent,B;if(J[94]!==D||J[95]!==Z.previousMode)B=()=>G({mode:"agent-menu",agent:D,previousMode:Z.previousMode}),J[94]=D,J[95]=Z.previousMode,J[96]=B;else B=J[96];let c;if(J[97]!==D||J[98]!==Z.previousMode)c=()=>G({mode:"agent-menu",agent:D,previousMode:Z.previousMode}),J[97]=D,J[98]=Z.previousMode,J[99]=c;else c=J[99];let T;if(J[100]!==D||J[101]!==K||J[102]!==y||J[103]!==c)T=X(zX,{agent:D,tools:y,allAgents:K,onBack:c}),J[100]=D,J[101]=K,J[102]=y,J[103]=c,J[104]=T;else T=J[104];let w;if(J[105]!==D.agentType||J[106]!==B||J[107]!==T)w=X(wJ,{title:D.agentType,onCancel:B,hideInputGuide:!0,children:T}),J[105]=D.agentType,J[106]=B,J[107]=T,J[108]=w;else w=J[108];let m;if(J[109]===Symbol.for("react.memo_cache_sentinel"))m=X(cJ,{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 z;if(J[112]===Symbol.for("react.memo_cache_sentinel"))z=[{label:"Yes, delete",value:"yes"},{label:"No, cancel",value:"no"}],J[112]=z;else z=J[112];let p=z,D;if(J[113]!==Z)D=()=>{if("previousMode"in Z)G(Z.previousMode)},J[113]=Z,J[114]=D;else D=J[114];let B;if(J[115]!==Z.agent.agentType)B=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]=B;else B=J[116];let c;if(J[117]!==Z.agent.source)c=X(M,{marginTop:1,children:F(L,{dimColor:!0,children:["Source: ",Z.agent.source]})}),J[117]=Z.agent.source,J[118]=c;else c=J[118];let T;if(J[119]!==x||J[120]!==Z)T=(JJ)=>{if(JJ==="yes")x(Z.agent);else if("previousMode"in Z)G(Z.previousMode)},J[119]=x,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]!==D||J[128]!==B||J[129]!==c||J[130]!==m)_=F(wJ,{title:"Delete agent",onCancel:D,color:"error",children:[B,c,m]}),J[127]=D,J[128]=B,J[129]=c,J[130]=m,J[131]=_;else _=J[131];let $;if(J[132]===Symbol.for("react.memo_cache_sentinel"))$=X(cJ,{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 z;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];z=K.find(JJ),J[135]=K,J[136]=Z.agent,J[137]=z}else z=J[137];let D=z||Z.agent,B=`Edit agent: ${D.agentType}`,c;if(J[140]!==Z.previousMode)c=()=>G(Z.previousMode),J[140]=Z.previousMode,J[141]=c;else c=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]!==D||J[146]!==y||J[147]!==T||J[148]!==w)m=X(JZ,{agent:D,tools:y,onSaved:T,onBack:w}),J[145]=D,J[146]=y,J[147]=T,J[148]=w,J[149]=m;else m=J[149];let _;if(J[150]!==B||J[151]!==c||J[152]!==m)_=X(wJ,{title:B,onCancel:c,hideInputGuide:!0,children:m}),J[150]=B,J[151]=c,J[152]=m,J[153]=_;else _=J[153];let $;if(J[154]===Symbol.for("react.memo_cache_sentinel"))$=X(cJ,{}),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:z,previousMode:p}=Z,D=async(c)=>{let T=c??"inherit";try{if(z.source==="built-in")O0((m)=>({...m,agentModelOverrides:{...m.agentModelOverrides??{},[M0(z.agentType)]:T}}));else if(z.baseDir)rJ(z.baseDir,z.agentType,T);else{wQ(Error(`Cannot save model override for ${z.agentType}: missing baseDir`)),G(p);return}E0();let w=await P0(QQ());O((m)=>({...m,agentDefinitions:{...m.agentDefinitions,allAgents:w.allAgents,activeAgents:w.activeAgents}})),C((m)=>[...m,`Set model for ${SJ.bold(z.agentType)} → ${T}`])}catch(w){wQ(w)}G(p)},B=()=>G(p);return F(RJ,{children:[X(wJ,{title:`Change model: ${z.agentType}`,onCancel:B,hideInputGuide:!0,children:X(dJ,{initialModel:z.model??"inherit",onComplete:D,onCancel:B})}),X(cJ,{})]})}default:return null}}function dq(Q){return Q.source==="plugin"}function iq(Q){return Q.source==="flagSettings"}function $q(Q){return Q.source==="localSettings"}function lq(Q){return Q.source==="policySettings"}function rq(Q){return Q.source==="projectSettings"}function nq(Q){return Q.source==="userSettings"}function sq(Q){return Q.source==="built-in"}function aq(Q){return Q.toolPermissionContext}function oq(Q){return Q.mcp.tools}function eq(Q){return Q.agentDefinitions}var N0,ZX;var f0=r(()=>{gQ();GQ();gq();GJ();NQ();GZ();XQ();xq();dQ();uq();AQ();cq();qQ();$Q();NX();QZ();ZZ();LZ();EQ();xJ();GX();H0();j();N0=s(UJ(),1),ZX=s(EJ(),1)});function B0(){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 V=q.progress?.tokenCount??0,Y=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:[D0(V)," tokens"]}),Y>0&&F(RJ,{children:[X(L,{dimColor:!0,children:"·"}),F(L,{dimColor:!0,children:[Y," tool",Y!==1?"s":""]})]})]}),G&&X(M,{paddingLeft:2,children:X(L,{dimColor:!0,italic:!0,children:G.activityDescription??G.toolName})})]},q.id)})})})]})}var b0=r(()=>{GJ();NQ();EZ();cQ();j()});function tq({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 C0({tools:Q,onExit:J}){let[q,V]=w0.useState("library");v0((Z,G)=>{if(G.leftArrow)V("running");if(G.rightArrow)V("library")},{isActive:!0});let Y=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:[Y,X(B0,{}),X(tq,{onExit:()=>J("Agents dialog dismissed",{display:"system"})})]});return F(M,{flexDirection:"column",children:[Y,X(I0,{tools:Q,onExit:J})]})}var w0;var y0=r(()=>{GJ();GQ();BJ();f0();b0();j();w0=s(EJ(),1)});async function qF(Q,J){let V=J.getAppState().toolPermissionContext,Y=A0(V);return X(C0,{tools:Y,onExit:Q})}var QY=r(()=>{y0();JY();j()});QY();export{qF as call};
@@ -0,0 +1,3 @@
1
+ import{Sc as H,Tc as I,Uc as J,Vc as K,Wc as L,Xc as U}from"./cli-1.1.31-j0fbn8aw.mjs";import{Zq as F,ar as G,gr as T}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-eqfmzrxc.mjs";import"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import{eja as E,gja as R}from"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.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};
@@ -0,0 +1 @@
1
+ import{$Z as i,TZ as a,UZ as b,VZ as c,WZ as d,XZ as e,YZ as f,ZZ as g,_Z as h,a0 as j,b0 as k}from"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.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};
@@ -0,0 +1 @@
1
+ import{$a as b,_a as a}from"./cli-1.1.31-s1a6vw53.mjs";import"./cli-1.1.31-qj8vksz8.mjs";export{b as renameRecordingForSession,a as getSessionRecordingPaths};
@@ -0,0 +1 @@
1
+ import{$6 as A,A7 as $,B6 as a,C6 as b,C7 as aa,D6 as c,E6 as d,F6 as e,G6 as f,H6 as g,I6 as h,J6 as i,K6 as j,L6 as k,M6 as l,N6 as m,O6 as n,P6 as o,Q6 as p,R6 as q,S6 as r,T6 as s,U6 as t,V6 as u,W6 as v,X6 as w,Y6 as x,Z6 as y,_6 as z,a7 as B,b7 as C,c7 as D,d7 as E,e7 as F,f7 as G,g7 as H,h7 as I,i7 as J,j7 as K,k7 as L,l7 as M,m7 as N,n7 as O,o7 as P,p7 as Q,q7 as R,r7 as S,s7 as T,t7 as U,u7 as V,v7 as W,w7 as X,x7 as Y,y7 as Z,z7 as _}from"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.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};
@@ -0,0 +1 @@
1
+ import{EI as a,FI as b,GI as c,HI as d,II as e,JI as f,KI as g}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-eqfmzrxc.mjs";import"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.mjs";g();export{a as performLogout,c as installOAuthTokens,b as clearAuthRelatedCaches,e as authStatus,f as authLogout,d as authLogin};
@@ -0,0 +1,52 @@
1
+ import{FB as Q,GB as V,HB as k,IB as _,yr as U,zr as L}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-eqfmzrxc.mjs";import"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import{M5 as T,T5 as C,t5 as O}from"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import{Bfa as B,Sca as P,Tca as K,Yca as A,ifa as b,vfa as F,wfa as G}from"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import{Aka as N,vka as y}from"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import{qla as W,xla as m}from"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.mjs";m();C();_();B();A();L();N();function I(q){process.stdout.write(y(q,null,2)+`
2
+ `)}var Z=`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 c(){if(!Q()){process.stdout.write(Z);return}I(V())}function a(){if(!Q()){process.stdout.write(Z);return}let{config:q,dropped:j,ignoredSources:J}=G(),w=V();I({allow:K(q?.allow??[],w.allow),soft_deny:K(q?.soft_deny??[],w.soft_deny),environment:K(q?.environment??[],w.environment)});for(let v of j)process.stderr.write(`note: dropped one ${v.section} entry — ${v.reason}
6
+ `);for(let v of J){let z=b(v);process.stderr.write(`note: autoMode in ${z} was ignored — settings inside the repository cannot configure auto mode
7
+ `)}}var E=`You are an expert reviewer of auto mode classifier rules for Claudin.
8
+
9
+ Claudin 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:
10
+
11
+ - **allow**: Actions the classifier should auto-approve
12
+ - **soft_deny**: Actions the classifier should block (require user confirmation)
13
+ - **environment**: Context about the user's setup that helps the classifier make decisions
14
+
15
+ 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.
16
+
17
+ For each rule, evaluate:
18
+ 1. **Clarity**: Is the rule unambiguous? Could the classifier misinterpret it?
19
+ 2. **Completeness**: Are there gaps or edge cases the rule doesn't cover?
20
+ 3. **Conflicts**: Do any of the rules conflict with each other?
21
+ 4. **Actionability**: Is the rule specific enough for the classifier to act on?
22
+
23
+ Be concise and constructive. Only comment on rules that could be improved. If all rules look good, say so.`;async function d(q){if(!Q()){process.stdout.write(Z);return}let j=F();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.
24
+
25
+ Add rules to your settings file under autoMode.{allow, soft_deny, environment}.
26
+ Run \`claude auto-mode defaults\` to see the default rules for reference.
27
+ `);return}let w=q.model?T(q.model):O(),v=V(),z=k(),H=Y("allow",j?.allow??[],v.allow)+Y("soft_deny",j?.soft_deny??[],v.soft_deny)+Y("environment",j?.environment??[],v.environment);process.stdout.write(`Analyzing your auto mode rules…
28
+
29
+ `);let $;try{$=await U({querySource:"auto_mode_critique",model:w,system:E,max_tokens:4096,messages:[{role:"user",content:`Here is the full classifier system prompt that the auto mode classifier receives:
30
+
31
+ <classifier_system_prompt>
32
+ `+z+`
33
+ </classifier_system_prompt>
34
+
35
+ Here are the user's custom rules. A section listing \`$defaults\` keeps the shipped rules and adds to them; a section without it replaces them entirely:
36
+
37
+ `+H+`
38
+ Please critique these custom rules.`}]})}catch(X){process.stderr.write("Failed to analyze rules: "+W(X)+`
39
+ `),process.exitCode=1;return}let h=$.content.find((X)=>X.type==="text");if(h?.type==="text")process.stdout.write(h.text+`
40
+ `);else process.stdout.write(`No critique was generated. Please try again.
41
+ `)}function Y(q,j,J){if(j.length===0)return"";let w=P(j),v=j.map((H)=>"- "+H).join(`
42
+ `),z=J.map((H)=>"- "+H).join(`
43
+ `);return"## "+q+(w?` (custom rules, added to the defaults)
44
+ `:` (custom rules REPLACING the defaults)
45
+ `)+`Custom:
46
+ `+v+`
47
+
48
+ `+(w?`Defaults kept:
49
+ `:`Defaults being replaced:
50
+ `)+z+`
51
+
52
+ `}export{c as autoModeDefaultsHandler,d as autoModeCritiqueHandler,a as autoModeConfigHandler};
@@ -0,0 +1,44 @@
1
+ import{gd as EQ,id as l0}from"./cli-1.1.31-f1zfyp44.mjs";import{DH as T,HB as zQ,IB as h0,YI as CQ,ZI as u0,gv as P,hv as O,uH as yQ,uP as s,wH as N,xB as XQ,yB as D0,yr as GQ,zP as eQ,zr as O0}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import{NZ as A,fZ as U,hZ as Y}from"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import{p3 as G,q3 as w,r3 as F}from"./cli-1.1.31-eqfmzrxc.mjs";import{s3 as MQ}from"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import{T5 as A0,t5 as WQ}from"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import{Bfa as vQ,Kha as j,Qca as I,Rca as y,Sca as VQ,Sha as JQ,Uca as ZQ,Xca as KQ,Yca as qQ,lfa as BQ,nba as n,oba as sQ,vfa as xQ}from"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import{$ia as j0,Uia as t,Xia as nQ,_ia as H}from"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import{Gka as a,Ika as oQ,Ska as o,Vka as tQ}from"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import{qla as D,sla as i,xla as r}from"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import{Yqa as aQ,xma as l}from"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import{hsa as bQ,lsa as L}from"./cli-1.1.31-qj8vksz8.mjs";function h(Q){let $=lQ(Q),V=0;while(V<$.length&&dQ.test($[V]))V+=1;let K=$[V];if(!K)return null;let Z=K.split("/").pop()?.split("\\").pop()??"";if(!gQ.has(Z))return null;let q=$[V+1];if(q&&mQ.has(Z)&&uQ.test(q)&&!q.includes("="))return`${Z} ${q}`;return Z}function lQ(Q){let $=[],V="",K=null;for(let Z of Q.trim()){if(K){if(Z===K)K=null;else V+=Z;continue}if(Z==='"'||Z==="'"){K=Z;continue}if(Z==="|"||Z===";"||Z==="&"||Z===`
2
+ `)break;if(Z===" "||Z==="\t"){if(V)$.push(V);V="";continue}V+=Z}if(V)$.push(V);return $}function g(Q){let $=[];for(let V of Q.split(`
3
+ `)){let K=V.trim();if(!K)continue;if(x.test(K)){$.push(K.replace(x,""));continue}if(K.startsWith("-")||K.startsWith("when:"))continue;$.push(K.replace(pQ,""))}return $}function b(Q,$){let V=new Map;for(let K of Q){if(!K)continue;V.set(K,(V.get(K)??0)+1)}return[...V.entries()].map(([K,Z])=>({command:K,count:Z})).sort((K,Z)=>Z.count-K.count||K.command.localeCompare(Z.command)).slice(0,$)}function m(Q,$){if($.startsWith("\\\\"))return!0;if(!Q)return!1;let V="",K="";for(let Z of Q.split(`
4
+ `)){let q=Z.split(/\s+/),W=q[1],J=q[2];if(!W||!J)continue;if(($===W||$.startsWith(`${W}/`))&&W.length>=V.length)V=W,K=J}return cQ.has(K)}function u(Q){let $=[],V=[];for(let K of Q.split(`
5
+ `)){if(!K.startsWith("{"))continue;let Z;try{Z=JSON.parse(K)}catch{continue}for(let q of iQ(Z))if($.push(q.name),q.name==="Bash"||q.name==="PowerShell"){let W=rQ(q.input,"command");if(W)V.push(h(W))}}return{toolNames:$,commandHeads:V}}function iQ(Q){if(!f(Q))return[];let $=Q.message;if(!f($))return[];let V=$.content;if(!Array.isArray(V))return[];let K=[];for(let Z of V){if(!f(Z))continue;if(Z.type!=="tool_use")continue;let q=Z.name;if(typeof q!=="string")continue;K.push({name:q,input:Z.input})}return K}function rQ(Q,$){if(!f(Q))return null;let V=Q[$];return typeof V==="string"?V:null}function f(Q){return typeof Q==="object"&&Q!==null}var gQ,mQ,uQ,dQ,pQ,x,cQ;var d=L(()=>{gQ=new Set(["git","gh","glab","tea","hg","svn","jj","node","npm","npx","pnpm","yarn","bun","bunx","deno","tsc","tsx","vite","next","eslint","prettier","jest","vitest","playwright","python","python3","pip","pip3","uv","uvx","poetry","pytest","ruff","mypy","black","conda","pyenv","cargo","rustc","rustup","go","gofmt","java","javac","mvn","gradle","sbt","dotnet","swift","xcodebuild","zig","mix","rebar3","flutter","dart","ruby","gem","bundle","rails","rake","php","composer","perl","lua","luarocks","ghc","cabal","stack","elm","nim","make","cmake","ninja","bazel","just","task","ant","docker","podman","nerdctl","kubectl","helm","minikube","kind","terraform","tofu","pulumi","ansible","vagrant","aws","gcloud","az","flyctl","heroku","vercel","netlify","wrangler","supabase","railway","psql","mysql","sqlite3","redis-cli","mongosh","prisma","ls","cd","cat","less","head","tail","grep","rg","fd","find","sed","awk","sort","uniq","wc","diff","cp","mv","rm","mkdir","rmdir","touch","chmod","chown","ln","tar","zip","unzip","gzip","du","df","echo","which","file","stat","tree","xargs","curl","wget","ssh","scp","rsync","ping","dig","nc","ps","top","htop","kill","pkill","lsof","systemctl","journalctl","service","vim","nvim","nano","code","tmux","screen","jq","yq","sudo","env","man","watch","time","open","pbcopy","claude","claudin","codex"]),mQ=new Set(["git","gh","glab","tea","jj","hg","svn","npm","pnpm","yarn","bun","bunx","deno","npx","pip","pip3","uv","uvx","poetry","conda","pyenv","cargo","rustup","go","mvn","gradle","sbt","dotnet","swift","zig","mix","rebar3","flutter","dart","gem","bundle","rails","composer","docker","podman","nerdctl","kubectl","helm","minikube","kind","terraform","tofu","pulumi","ansible","vagrant","aws","gcloud","az","flyctl","heroku","vercel","netlify","wrangler","supabase","railway","systemctl","journalctl","service","tmux","screen","prisma","code","claude","claudin","codex","just","task","bazel"]),uQ=/^[a-z][a-z0-9:_-]*$/i,dQ=/^[A-Za-z_][A-Za-z0-9_]*=/,pQ=/^:\s*\d+:\d*;/,x=/^-\s*cmd:\s*/,cQ=new Set(["nfs","nfs4","cifs","smbfs","smb3","afs","sshfs","fuse.sshfs","ncpfs","davfs","fuse.davfs","glusterfs","ceph"])});import{basename as Q0,join as M}from"path";import{readFile as $0,readdir as V0,realpath as p}from"fs/promises";import{homedir as Z0}from"os";function L0(){let Q={cwd:l(),homeDir:Z0(),readTextFile:c,listDir:f0,git:($)=>M0(Q.cwd,$),listSessionFiles:()=>y0(Q.cwd),tail:b0,readMounts:()=>c("/proc/mounts")};return Q}async function QQ(Q,$=L0()){let[V,K,Z,q]=await Promise.all([P0($),C0($),N0($),Q.includeShellHistory?R0($):Promise.resolve({commands:[],skipped:"not requested"})]);return{posture:Q.posture,project:V,repo:K,permissionsAllow:[...Q.permissionsAllow],sessions:Z,shellHistory:q}}async function P0(Q){let $=await Q.listDir(Q.cwd),V=null,K=null;for(let J of U0){if(!$.includes(J))continue;let X=await Q.readTextFile(M(Q.cwd,J));if(X===null)continue;V=J,K=X.slice(0,X0);break}let Z=[];for(let J of $){let X=H0.get(J);if(X&&!Z.includes(X))Z.push(X)}let q=$.includes("package.json")?I0(await Q.readTextFile(M(Q.cwd,"package.json"))):[],W=$.filter((J)=>F0.test(J)).slice(0,w0);return{directoryName:Q0(Q.cwd),instructionsFile:V,instructionsExcerpt:K,packageManagers:Z,scripts:q,configFileNames:W}}function I0(Q){if(!Q)return[];try{let $=JSON.parse(Q);if(typeof $!=="object"||$===null)return[];let V=$.scripts;if(typeof V!=="object"||V===null)return[];return Object.entries(V).filter((K)=>typeof K[1]==="string").slice(0,z0).map(([K,Z])=>({name:K,command:Z.slice(0,Y0)}))}catch{return[]}}async function C0(Q){if((await Q.git(["rev-parse","--is-inside-work-tree"]))?.trim()!=="true")return{isGitRepo:!1,remote:null,currentBranch:null,hasCustomHooks:!1};let[V,K,Z]=await Promise.all([Q.git(["remote","get-url","origin"]),Q.git(["rev-parse","--abbrev-ref","HEAD"]),Q.listDir(M(Q.cwd,".git","hooks"))]);return{isGitRepo:!0,remote:V?.trim()||null,currentBranch:K?.trim()||null,hasCustomHooks:Z.some((q)=>!q.endsWith(".sample"))}}async function N0(Q){let $=(await Q.listSessionFiles()).slice(0,K0),V=[],K=[],Z=J0,q=0;for(let W of $){if(Z<=0)break;let J=await Q.tail(W,Math.min(q0,Z));if(Z-=J.length,!J)continue;q+=1;let X=u(J);V.push(...X.toolNames),K.push(...X.commandHeads)}return{filesScanned:q,tools:b(V,B0),commands:b(K,e)}}async function R0(Q){let $=await Q.readMounts();if(m($,Q.homeDir))return{commands:[],skipped:"home directory is on a network filesystem"};let V=[],K=!1;for(let Z of k0){let q=await Q.tail(M(Q.homeDir,Z),W0);if(!q)continue;K=!0;let W=g(q).slice(-G0);for(let J of W)V.push(h(J))}if(!K)return{commands:[],skipped:"no shell history file found"};return{commands:b(V,e),skipped:null}}async function c(Q){try{return await $0(Q,"utf-8")}catch($){if(!i($))o(`auto-mode-setup: cannot read ${Q}`);return null}}async function f0(Q){try{return await V0(Q)}catch{return[]}}async function b0(Q,$){try{return(await a(Q,$)).content}catch{return""}}async function M0(Q,$){let V=await n("git",$,{cwd:Q,timeout:v0,preserveOutputOnError:!1});return V.code===0?V.stdout:null}async function y0(Q){let $=t(Q),V;try{V=await p($)}catch{return[]}let Z=[...(await s($)).values()].sort((W,J)=>J.mtime-W.mtime),q=[];for(let W of Z)try{let J=await p(W.path);if(!J.startsWith(`${V}/`))continue;q.push(J)}catch{continue}return q}function $Q(Q){let $=[];if($.push(`<posture>${Q.posture}</posture>`),$.push("<project>"),$.push(`directory: ${Q.project.directoryName}`),Q.project.packageManagers.length)$.push(`package managers: ${Q.project.packageManagers.join(", ")}`);if(Q.project.configFileNames.length)$.push(`config files: ${Q.project.configFileNames.join(", ")}`);for(let V of Q.project.scripts)$.push(`script ${V.name}: ${V.command}`);if($.push("</project>"),$.push("<repository>"),$.push(`git repository: ${Q.repo.isGitRepo?"yes":"no"}`),Q.repo.remote)$.push(`origin: ${Q.repo.remote}`);if(Q.repo.currentBranch)$.push(`branch: ${Q.repo.currentBranch}`);if($.push(`custom git hooks: ${Q.repo.hasCustomHooks?"yes":"no"}`),$.push("</repository>"),Q.project.instructionsExcerpt)$.push(`<project_instructions file="${Q.project.instructionsFile}">`),$.push(Q.project.instructionsExcerpt),$.push("</project_instructions>");$.push("<always_allow_rules>"),$.push(Q.permissionsAllow.length?Q.permissionsAllow.join(`
6
+ `):"(none)"),$.push("</always_allow_rules>"),$.push(`<sessions files="${Q.sessions.filesScanned}">`);for(let V of Q.sessions.tools)$.push(`tool ${V.command}: ${V.count}`);for(let V of Q.sessions.commands)$.push(`command ${V.command}: ${V.count}`);if($.push("</sessions>"),$.push("<shell_history>"),Q.shellHistory.skipped)$.push(`skipped: ${Q.shellHistory.skipped}`);for(let V of Q.shellHistory.commands)$.push(`${V.command}: ${V.count}`);return $.push("</shell_history>"),$.join(`
7
+ `)}var K0=12,q0=256000,J0=2000000,W0=512000,G0=3000,X0=2000,z0=20,Y0=120,w0=40,e=60,B0=20,v0=5000,U0,H0,F0,k0;var _=L(()=>{aQ();nQ();eQ();oQ();sQ();r();tQ();d();U0=["AGENTS.md","CLAUDE.md","CLAUDE.local.md"],H0=new Map([["bun.lock","bun"],["bun.lockb","bun"],["package-lock.json","npm"],["pnpm-lock.yaml","pnpm"],["yarn.lock","yarn"],["Cargo.lock","cargo"],["poetry.lock","poetry"],["uv.lock","uv"],["Gemfile.lock","bundler"],["composer.lock","composer"],["go.sum","go"],["pubspec.lock","dart"],["mix.lock","mix"]]),F0=/^(\.env.*|\.[a-z0-9_.-]+rc(\.[a-z]+)?|[a-z0-9_.-]+\.config\.[a-z]+|Dockerfile.*|docker-compose\..*|Makefile|Justfile|.*\.ya?ml|.*\.toml|tsconfig.*\.json|package\.json|go\.mod|Cargo\.toml|pyproject\.toml|requirements.*\.txt|Gemfile|build\.gradle.*|pom\.xml)$/i,k0=[".zsh_history",".bash_history",".local/share/fish/fish_history",".history"]});function S0(){return`You tailor the auto mode classifier of Claudin, a coding-agent CLI, to one developer's environment.
8
+
9
+ Auto mode runs an LLM classifier over each tool call the agent wants to make and decides whether to auto-approve it. Three sections of that classifier's system prompt are user-configurable:
10
+
11
+ - allow: actions to auto-approve
12
+ - soft_deny: actions to block even when the agent argues for them
13
+ - environment: facts about the user's setup that inform every decision
14
+
15
+ You are given signals collected from the machine: the project, its scripts and config files, the git repository, the rules the user has already chosen to always allow, and counted command shapes from past sessions and `+"shell history. Command arguments are deliberately absent — reason from the "+`shapes.
16
+
17
+ Rules for your answer:
18
+ 1. Every array MUST contain the literal entry "${I}" as its first element. It expands to the shipped defaults. Omitting it deletes them, which is never what the user wants.
19
+ 2. Add only entries justified by the signals. Five precise additions beat twenty generic ones; an empty section (sentinel only) is a fine answer.
20
+ 3. Write each entry as one line of plain prose describing the action, in the voice of the existing rules. No newlines, no markdown bullets.
21
+ 4. Never propose a blanket allow (any command, any bash, \`Bash(*)\`); it would disable the classifier and will be discarded.
22
+ `+"5. Prefer soft_deny entries that name this environment specifically — the "+`production target, the protected branch, the directory holding secrets.
23
+
24
+ Here is the full classifier system prompt with its default rules, so you can see what your entries join:
25
+
26
+ <classifier_system_prompt>
27
+ `+zQ()+`
28
+ </classifier_system_prompt>`}function x0(Q,$){let V=$?`<current_rules>
29
+ `+JSON.stringify($,null,2)+`
30
+ </current_rules>
31
+
32
+ These are the rules already in effect. Keep what still fits, drop what the signals contradict, and say what you changed in notes.
33
+
34
+ `:"";return`Signals collected from this environment:
35
+
36
+ <signals>
37
+ `+$Q(Q)+`
38
+ </signals>
39
+
40
+ `+V+`Call ${R} with the proposed configuration.`}function g0(Q){let $=E0.safeParse(Q);if(!$.success)return{rules:null,problems:["The tool input did not match the schema: allow, soft_deny and environment must each be an array of strings."]};let V=[];for(let X of["allow","soft_deny","environment"])if(!VQ($.data[X]))V.push(`The "${X}" array is missing the required "${I}" entry, which would delete the shipped default rules.`);if(V.length>0)return{rules:null,problems:V};let K=[...$.data.notes??[]],Z=y($.data.allow),q=ZQ(Z.entries),W=y($.data.soft_deny),J=y($.data.environment);for(let[X,k]of[["allow",[...Z.dropped,...q.dropped]],["soft_deny",W.dropped],["environment",J.dropped]])for(let z of k)K.push(`Dropped a proposed ${X} entry — ${KQ(z.reason)}.`);return{rules:{allow:q.entries,soft_deny:W.entries,environment:J.entries,notes:K},problems:[]}}function m0(){return{async runQuery(Q,$,V){let K=await GQ({querySource:"auto_mode_setup",model:WQ(),system:$,max_tokens:_0,messages:Q,tools:[T0],tool_choice:{type:"tool",name:R},signal:V});return XQ(K.content,R)?.input??null}}}async function YQ(Q,$,V={},K=m0()){let Z=S0(),q=[{role:"user",content:x0(Q,$)}],W=[];for(let J=0;J<2;J+=1){let X;try{X=await K.runQuery(q,Z,V.signal)}catch(v){throw j(v),new E("The analysis could not be completed. Try again, or configure autoMode by hand.")}let{rules:k,problems:z}=g0(X);if(k)return k;W=z,q.push({role:"assistant",content:JSON.stringify(X??{})},{role:"user",content:`That proposal was rejected:
41
+ `+z.map((v)=>`- ${v}`).join(`
42
+ `)+`
43
+
44
+ Call ${R} again with the problems fixed.`})}throw new E("The proposed configuration was rejected twice.",W)}var R="propose_auto_mode_rules",_0=4096,E0,T0,E;var wQ=L(()=>{j0();qQ();h0();D0();A0();O0();JQ();_();E0=H.object({allow:H.array(H.string()),soft_deny:H.array(H.string()),environment:H.array(H.string()),notes:H.array(H.string()).optional()}),T0={type:"custom",name:R,description:"Report the proposed auto mode classifier rules for this environment",input_schema:{type:"object",properties:{allow:{type:"array",items:{type:"string"},description:`Actions safe to auto-approve here. MUST start with the entry "${I}", which stands for the shipped default rules.`},soft_deny:{type:"array",items:{type:"string"},description:`Actions that must never be auto-approved here. MUST start with the entry "${I}".`},environment:{type:"array",items:{type:"string"},description:`Facts about this environment that help the classifier judge an action. MUST start with the entry "${I}".`},notes:{type:"array",items:{type:"string"},description:"Short explanations of the additions, shown to the user before anything is written."}},required:["allow","soft_deny","environment"]}};E=class E extends Error{problems;constructor(Q,$=[]){super(Q);this.problems=$;this.name="AutoModeProposalError"}}});function HQ(Q,$){return["allow","soft_deny","environment"].map((V)=>{let K=new Set(Q?.[V]??[]),Z=$[V];return{section:V,added:Z.filter((q)=>!K.has(q)),kept:Z.filter((q)=>K.has(q)),removed:[...K].filter((q)=>!Z.includes(q))}})}function FQ(Q){return Q.every(($)=>$.added.length===0&&$.removed.length===0)}function kQ(){return{writeSettings:BQ}}function LQ(Q,$=kQ()){return $.writeSettings(UQ,{autoMode:{allow:Q.allow,soft_deny:Q.soft_deny,environment:Q.environment}})}function PQ(Q,$=kQ()){return $.writeSettings(UQ,{skipAutoPermissionPrompt:!0,...Q?{permissions:{defaultMode:"auto"}}:{}})}var UQ="userSettings";var IQ=L(()=>{vQ()});function NQ({steps:Q,onCancel:$}){return G(P,{title:"Analyzing your environment",onCancel:$,children:w(U,{flexDirection:"column",children:[Q.map((V)=>w(Y,{dimColor:V.status==="pending"||V.status==="skipped",children:[d0[V.status],V.label]},V.label)),G(U,{marginTop:1,children:G(CQ,{})})]})})}var d0;var RQ=L(()=>{A();O();u0();F();d0={pending:" ",running:"▸ ",done:"✓ ",skipped:"– "}});function AQ({onSubmit:Q,onCancel:$}){let[V,K]=jQ.useState(null);if(V===null)return G(P,{title:"Set up auto mode for your environment?",onCancel:$,children:w(U,{flexDirection:"column",gap:1,children:[G(Y,{children:"Claudin reads this project, your recent sessions, and optionally your shell history. It then proposes rules for the auto mode classifier — nothing is written until you review them."}),G(Y,{bold:!0,children:"How do you use Claudin here?"}),G(N,{options:p0,onChange:(Z)=>K(Z),onCancel:$})]})});return G(P,{title:"What may the scan read?",onCancel:$,children:w(U,{flexDirection:"column",gap:1,children:[G(Y,{children:"This project and your recent sessions are always read. Shell history is reduced to counted command names — no arguments, paths or URLs leave your machine."}),G(yQ,{options:[{label:"Also scan shell history",value:fQ,description:"Command names only, from an allowlist of binaries"}],defaultValue:[],submitButtonText:"Continue",hideIndexes:!0,onSubmit:(Z)=>Q({posture:V,includeShellHistory:Z.includes(fQ)}),onCancel:$})]})})}var jQ,p0,fQ="shell-history";var OQ=L(()=>{A();O();T();F();jQ=bQ(MQ(),1),p0=[{label:"Work",value:"work",description:"Company code, shared infrastructure, deploy targets"},{label:"Open source",value:"open-source",description:"Public repository, contributions, published releases"},{label:"Hobby",value:"hobby",description:"Personal projects on this machine only"},{label:"Mixed",value:"mixed",description:"A bit of each — the safe default"}]});function hQ({diff:Q,notes:$,onAccept:V,onCancel:K}){return G(P,{title:"Proposed auto mode rules",onCancel:K,children:w(U,{flexDirection:"column",gap:1,children:[Q.map((Z)=>w(U,{flexDirection:"column",children:[G(Y,{bold:!0,children:c0[Z.section]}),Z.added.length===0&&Z.removed.length===0?G(Y,{dimColor:!0,children:" no change"}):null,Z.added.map((q)=>w(Y,{color:"success",children:[" + ",DQ(q)]},`+${q}`)),Z.removed.map((q)=>w(Y,{color:"error",children:[" - ",DQ(q)]},`-${q}`))]},Z.section)),$.length>0?w(U,{flexDirection:"column",children:[G(Y,{bold:!0,children:"Notes"}),$.map((Z)=>w(Y,{dimColor:!0,children:[" ",Z]},Z))]}):null,G(Y,{dimColor:!0,children:"These are written to your user settings. Settings inside a repository cannot configure auto mode."}),G(N,{options:[{label:"Apply these rules",value:"apply"},{label:"Cancel, write nothing",value:"cancel"}],onChange:(Z)=>Z==="apply"?V():K(),onCancel:K})]})})}function DQ(Q){return Q===I?"the shipped default rules (kept)":Q}var c0;var _Q=L(()=>{A();O();T();qQ();F();c0={allow:"Auto-approve",soft_deny:"Always ask",environment:"Environment"}});function TQ({onChoose:Q}){return G(P,{title:"Rules saved. Turn auto mode on?",color:"warning",onCancel:()=>Q("skip"),children:w(U,{flexDirection:"column",gap:1,children:[G(Y,{children:EQ}),G(N,{options:[{label:"Yes, enable auto mode",value:"enable"},{label:"Yes, and make it my default mode",value:"enable-default"},{label:"No, just keep the rules",value:"skip"}],onChange:($)=>Q($),onCancel:()=>Q("skip")})]})})}var SQ=L(()=>{A();O();T();l0();F()});async function Q2(Q,$){return G(i0,{onDone:Q,context:$})}function i0({onDone:Q,context:$}){let[V,K]=C.useState({kind:"wizard"}),[Z,q]=C.useState(null),W=C.useCallback(()=>{Q("Cancelled — nothing was written.")},[Q]),J=C.useCallback((z)=>{let v=[{label:"Reading this project",status:"running"},{label:"Reading recent sessions",status:"pending"},{label:"Reading shell history",status:z.includeShellHistory?"pending":"skipped"},{label:"Proposing rules",status:"pending"}];K({kind:"scanning",steps:v}),r0(z,$,v,K).then((B)=>{if(B.kind==="failed"){Q(B.message);return}q(B.proposal),K({kind:"review",proposal:B.proposal,diff:B.diff})}).catch((B)=>{j(B),Q(`Auto mode setup failed: ${D(B)}`)})},[$,Q]),X=C.useCallback(()=>{if(!Z)return;let{error:z}=LQ(Z);if(z){Q(`Could not write the rules: ${D(z)}`);return}K({kind:"enable"})},[Q,Z]),k=C.useCallback((z)=>{if(z==="skip"){Q("Auto mode rules saved to your user settings.");return}let{error:v}=PQ(z==="enable-default");if(v){Q(`Rules saved, but auto mode could not be enabled: ${D(v)}`);return}Q(z==="enable-default"?"Auto mode rules saved. Auto mode is now your default permission mode.":"Auto mode rules saved. Auto mode is enabled — shift+tab to change mode.")},[Q]);switch(V.kind){case"wizard":return G(AQ,{onSubmit:J,onCancel:W});case"scanning":return G(NQ,{steps:V.steps,onCancel:W});case"review":return G(hQ,{diff:V.diff,notes:V.proposal.notes,onAccept:X,onCancel:W});case"enable":return G(TQ,{onChoose:k})}}async function r0(Q,$,V,K){let Z=(z)=>{let v=V.map((B,S)=>{if(B.status==="skipped")return B;if(S<z)return{...B,status:"done"};if(S===z)return{...B,status:"running"};return B});V=v,K({kind:"scanning",steps:v})},q=Object.values($.getAppState().toolPermissionContext.alwaysAllowRules).flat();Z(1);let W=await QQ({posture:Q.posture,includeShellHistory:Q.includeShellHistory,permissionsAllow:q});Z(3);let J=a0(xQ()),X=await YQ(W,J,{signal:$.abortController.signal}),k=HQ(J,X);if(FQ(k))return{kind:"failed",message:"Your auto mode rules already match this environment — nothing to change."};return{kind:"proposed",proposal:X,diff:k}}function a0(Q){if(!Q)return null;return{allow:Q.allow??[],soft_deny:Q.soft_deny??[],environment:Q.environment??[]}}var C;var o0=L(()=>{vQ();r();JQ();wQ();IQ();_();RQ();OQ();_Q();SQ();F();C=bQ(MQ(),1)});o0();export{Q2 as call};
@@ -0,0 +1 @@
1
+ import{gU as a,hU as b,iU as c,jU as d,kU as e,lU as f,mU as g,nU as h,oU as i,pU as j,qU as k,rU as l,sU as m,tU as n,uU as o}from"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.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};
@@ -0,0 +1 @@
1
+ import{Ha as a}from"./cli-1.1.31-jfj1gvgy.mjs";import"./cli-1.1.31-n4g6s1bz.mjs";import"./cli-1.1.31-mtcbc6g3.mjs";import"./cli-1.1.31-774jqp88.mjs";import"./cli-1.1.31-hvnwvzhh.mjs";import"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-eqfmzrxc.mjs";import"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.mjs";export{a as startBackgroundHousekeeping};
@@ -0,0 +1,4 @@
1
+ import{$j as w,IS as j,fk as C,gk as D,hT as E,jT as l,lk as M}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-eqfmzrxc.mjs";import"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import{Eea as U,Oea as S,u$ as F,x$ as N}from"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import{Aka as I,vka as O}from"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import{Yqa as h,rma as z,xma as v}from"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import{lsa as T}from"./cli-1.1.31-qj8vksz8.mjs";import{randomUUID as b}from"crypto";import{mkdir as k,readFile as y,writeFile as u}from"fs/promises";function p(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 f(Q){let G=b(),X=z(),Z=M(v()),Y=D(G),V=C();await k(Z,{recursive:!0,mode:448});let K;try{K=await y(V)}catch{throw Error("No conversation to branch")}if(K.length===0)throw Error("No conversation to branch");let _=F(K),W=_.filter((A)=>w(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 u(Y,q.join(`
2
+ `)+`
3
+ `,{encoding:"utf8",mode:384}),{sessionId:G,title:Q,forkPath:Y,serializedMessages:B,contentReplacementRecords:H}}async function g(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(`^${U(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 t(Q,G,X){let Z=X?.trim()||void 0,Y=z();try{let{sessionId:V,title:K,forkPath:_,serializedMessages:W,contentReplacementRecords:H}=await f(Z),$=new Date,q=p(W.find((P)=>P.type==="user")),A=await g(K??q);await j(V,A,_);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}`,R=`Branched conversation${J}. You are now in the branch.${x}`;if(G.resume)await G.resume(V,L,"fork"),Q(R,{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 d=T(()=>{h();N();l();I();S()});d();export{p as deriveFirstPrompt,t as call};
@@ -0,0 +1,2 @@
1
+ import{bc as Uz,cc as Tz}from"./cli-1.1.31-1192t9cm.mjs";import{fc as Lz,hc as gz}from"./cli-1.1.31-pzz7j17y.mjs";import{Ke as qz,Le as Sz}from"./cli-1.1.31-fk787pkf.mjs";import{qf as bz,sf as fz,tf as Dz}from"./cli-1.1.31-2mfapzkq.mjs";import{Qi as kz,Si as hz}from"./cli-1.1.31-619zan4w.mjs";import{Ny as q,Oy as Wz,Qy as Rz,Vs as Vz,Ws as Iz,gv as Gz,hv as Az,oH as s,pH as Bz,qH as Pz,tH as mz}from"./cli-1.1.31-g58b1jfa.mjs";import"./cli-1.1.31-6qm466ss.mjs";import"./cli-1.1.31-8h9zps1d.mjs";import"./cli-1.1.31-52wt9w8w.mjs";import"./cli-1.1.31-qyztdyg2.mjs";import"./cli-1.1.31-vphyv007.mjs";import"./cli-1.1.31-pg2ntz9b.mjs";import"./cli-1.1.31-1q4btmra.mjs";import"./cli-1.1.31-44jshpbd.mjs";import"./cli-1.1.31-2pdbmb7w.mjs";import"./cli-1.1.31-yz72mhbg.mjs";import"./cli-1.1.31-6m1k9909.mjs";import{iW as Fz,jW as Mz,lW as Nz,oW as vz}from"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-978dpg39.mjs";import"./cli-1.1.31-pgde5349.mjs";import"./cli-1.1.31-sn0x975f.mjs";import"./cli-1.1.31-4cp1xkaj.mjs";import"./cli-1.1.31-qq0sng13.mjs";import"./cli-1.1.31-vbch5rht.mjs";import"./cli-1.1.31-777381m0.mjs";import{NZ as yz,SX as jz,fZ as n,hZ as N}from"./cli-1.1.31-13cx7z8n.mjs";import"./cli-1.1.31-bx3e5rv6.mjs";import"./cli-1.1.31-wfv9e9p4.mjs";import"./cli-1.1.31-tc6xppyr.mjs";import"./cli-1.1.31-5kgkq6vm.mjs";import"./cli-1.1.31-556xnzb4.mjs";import"./cli-1.1.31-g41zancj.mjs";import"./cli-1.1.31-n130x03f.mjs";import"./cli-1.1.31-9m6ef5kb.mjs";import"./cli-1.1.31-r5g0ns02.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import{p3 as X,q3 as o,r3 as Yz}from"./cli-1.1.31-eqfmzrxc.mjs";import{s3 as Ez}from"./cli-1.1.31-9d5v98td.mjs";import"./cli-1.1.31-ek449yjc.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-jwa8f70w.mjs";import"./cli-1.1.31-q67trvk0.mjs";import"./cli-1.1.31-qv6x2hht.mjs";import"./cli-1.1.31-xqdypd2k.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-fdk7yhs0.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import{Ska as Kz,Vka as wz}from"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import{hsa as Zz,lsa as Qz,msa as Cz}from"./cli-1.1.31-qj8vksz8.mjs";function uz(H){let z=Xz.c(10),{onDone:J,name:Z}=H,P=Wz(),h=q(_z),v=q(cz),K=q(xz),[D,G]=M.useState(!1),b;if(z[0]!==Z||z[1]!==J||z[2]!==h||z[3]!==v||z[4]!==K||z[5]!==P)b=()=>{if((h||v)&&!K){G(!0);return}let V=!1;return(async()=>{let Y=await ez();if(V)return;if(Y){J(Y,{display:"system"});return}if(Uz()){P((W)=>{if(W.showRemoteCallout)return W;return{...W,showRemoteCallout:!0,replBridgeInitialName:Z}}),J("",{display:"system"});return}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]=h,z[3]=v,z[4]=K,z[5]=P,z[6]=b;else b=z[6];let k;if(z[7]===Symbol.for("react.memo_cache_sentinel"))k=[],z[7]=k;else k=z[7];if(M.useEffect(b,k),D){let V;if(z[8]!==J)V=X(az,{onDone:J}),z[8]=J,z[9]=V;else V=z[9];return V}return null}function xz(H){return H.replBridgeOutboundOnly}function cz(H){return H.replBridgeEnabled}function _z(H){return H.replBridgeConnected}function az(H){let z=Xz.c(61),{onDone:J}=H;Pz("bridge-disconnect-dialog");let Z=Wz(),P=q($z),h=q(sz),v=q(nz),[K,D]=M.useState(2),[G,b]=M.useState(!1),[k,V]=M.useState(""),Y=v?P:h,W,g;if(z[0]!==Y||z[1]!==G)W=()=>{if(!G||!Y){V("");return}qz(Y,{type:"utf8",errorCorrectionLevel:"L"}).then(V).catch(()=>V(""))},g=[G,Y],z[0]=Y,z[1]=G,z[2]=W,z[3]=g;else W=z[2],g=z[3];M.useEffect(W,g);let T;if(z[4]!==J||z[5]!==Z)T=function(){Z(oz),J(fz,{display:"system"})},z[4]=J,z[5]=Z,z[6]=T;else T=z[6];let $=T,u;if(z[7]===Symbol.for("react.memo_cache_sentinel"))u=function(){b(rz)},z[7]=u;else u=z[7];let Oz=u,x;if(z[8]!==J)x=function(){J(void 0,{display:"skip"})},z[8]=J,z[9]=x;else x=z[9];let f=x,c,_;if(z[10]===Symbol.for("react.memo_cache_sentinel"))c=()=>D(iz),_=()=>D(pz),z[10]=c,z[11]=_;else c=z[10],_=z[11];let a;if(z[12]!==K||z[13]!==f||z[14]!==$)a={"select:next":c,"select:previous":_,"select:accept":()=>{if(K===0)$();else if(K===1)Oz();else f()}},z[12]=K,z[13]=f,z[14]=$,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];Vz(a,d);let L,U,O,Q,F,C,w,E,j;if(z[17]!==Y||z[18]!==f||z[19]!==k||z[20]!==G){let S=k?k.split(`
2
+ `).filter(lz):[];U=Gz,w="Remote Control",E=f,j=!0,L=n,O="column",Q=1;let Jz=Y?` at ${Y}`:"";if(z[30]!==Jz)F=o(N,{children:["This session is available via Remote Control",Jz,"."]}),z[30]=Jz,z[31]=F;else F=z[31];C=G&&S.length>0&&X(n,{flexDirection:"column",children:S.map(dz)}),z[17]=Y,z[18]=f,z[19]=k,z[20]=G,z[21]=L,z[22]=U,z[23]=O,z[24]=Q,z[25]=F,z[26]=C,z[27]=w,z[28]=E,z[29]=j}else L=z[21],U=z[22],O=z[23],Q=z[24],F=z[25],C=z[26],w=z[27],E=z[28],j=z[29];let e=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 y;if(z[33]!==e)y=X(s,{isFocused:e,children:l}),z[33]=e,z[34]=y;else y=z[34];let t=K===1,zz=G?"Hide QR code":"Show QR code",I;if(z[35]!==zz)I=X(N,{children:zz}),z[35]=zz,z[36]=I;else I=z[36];let A;if(z[37]!==t||z[38]!==I)A=X(s,{isFocused:t,children:I}),z[37]=t,z[38]=I,z[39]=A;else A=z[39];let Hz=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 R;if(z[41]!==Hz)R=X(s,{isFocused:Hz,children:p}),z[41]=Hz,z[42]=R;else R=z[42];let B;if(z[43]!==y||z[44]!==A||z[45]!==R)B=o(n,{flexDirection:"column",children:[y,A,R]}),z[43]=y,z[44]=A,z[45]=R,z[46]=B;else B=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 m;if(z[48]!==L||z[49]!==O||z[50]!==Q||z[51]!==F||z[52]!==C||z[53]!==B)m=o(L,{flexDirection:O,gap:Q,children:[F,C,B,i]}),z[48]=L,z[49]=O,z[50]=Q,z[51]=F,z[52]=C,z[53]=B,z[54]=m;else m=z[54];let r;if(z[55]!==U||z[56]!==w||z[57]!==E||z[58]!==j||z[59]!==m)r=X(U,{title:w,onCancel:E,hideInputGuide:j,children:m}),z[55]=U,z[56]=w,z[57]=E,z[58]=j,z[59]=m,z[60]=r;else r=z[60];return r}function dz(H,z){return X(N,{children:H},z)}function lz(H){return H.length>0}function pz(H){return(H-1+3)%3}function iz(H){return(H+1)%3}function rz(H){return!H}function oz(H){if(!H.replBridgeEnabled)return H;return{...H,replBridgeEnabled:!1,replBridgeExplicit:!1,replBridgeOutboundOnly:!1}}function nz(H){return H.replBridgeSessionActive}function sz(H){return H.replBridgeConnectUrl}function $z(H){return H.replBridgeSessionUrl}async function ez(){let{waitForPolicyLimitsToLoad:H,isPolicyAllowed:z}=await import("./index-1.1.31-b35axgfq.mjs");if(await H(),!z("allow_remote_control"))return"Remote Control is disabled by your organization's policy.";let J=await Fz();if(J)return J;let P=Mz()?await Lz():Nz();if(P)return P;if(!kz())return bz;return Kz("[bridge] Prerequisites passed, enabling bridge"),null}async function MH(H,z,J){let Z=J.trim()||void 0;return X(uz,{onDone:H,name:Z})}var Xz,M;var tz=Qz(()=>{Sz();hz();vz();gz();Dz();Az();Bz();Tz();mz();yz();Iz();Rz();wz();Yz();Xz=Zz(jz(),1),M=Zz(Ez(),1)});tz();export{MH as call};
@@ -0,0 +1 @@
1
+ import{Oi as a,Pi as b,Qi as c,Ri as d,Si as e}from"./cli-1.1.31-619zan4w.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.mjs";e();export{a as getBridgeTokenOverride,b as getBridgeBaseUrlOverride,d as getBridgeBaseUrl,c as getBridgeAccessToken};
@@ -0,0 +1 @@
1
+ import{gW as a,hW as b,iW as c,jW as d,kW as e,lW as f,mW as g,nW as h,oW as i}from"./cli-1.1.31-hpxjvh3j.mjs";import"./cli-1.1.31-t96rrv1m.mjs";import"./cli-1.1.31-adnn5x8c.mjs";import"./cli-1.1.31-ahbyaapz.mjs";import"./cli-1.1.31-sc82f8hw.mjs";import"./cli-1.1.31-3zy5yd1t.mjs";import"./cli-1.1.31-can8wyac.mjs";import"./cli-1.1.31-nyvjx813.mjs";import"./cli-1.1.31-cpeph4zm.mjs";import"./cli-1.1.31-5xd2j6e7.mjs";import"./cli-1.1.31-p99fz46k.mjs";import"./cli-1.1.31-vpkbqj90.mjs";import"./cli-1.1.31-mcekc48f.mjs";import"./cli-1.1.31-1wxttnqr.mjs";import"./cli-1.1.31-c9707zjx.mjs";import"./cli-1.1.31-5tgfa7xy.mjs";import"./cli-1.1.31-h5a78vp8.mjs";import"./cli-1.1.31-t6m64e0q.mjs";import"./cli-1.1.31-pp98t7k8.mjs";import"./cli-1.1.31-dmghye74.mjs";import"./cli-1.1.31-wba64b2s.mjs";import"./cli-1.1.31-b8rbgfhm.mjs";import"./cli-1.1.31-thhdw5e1.mjs";import"./cli-1.1.31-jh2sb5nk.mjs";import"./cli-1.1.31-qj8vksz8.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};