@claudiolabs/claudin 1.1.13 → 1.1.14

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 (902) hide show
  1. package/README.md +7 -0
  2. package/dist/chunks/AgentTool-1.1.14-9q1ggh0e.mjs +1 -0
  3. package/dist/chunks/App-1.1.14-htg9bgyr.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.14-5mvef4qg.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.14-cdhvy1n1.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.14-amx3pan8.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.14-rs6q16rf.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.14-n5yvcvr6.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.14-53gmdkhz.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.14-30hcgbry.mjs +6 -0
  11. package/dist/chunks/Doctor-1.1.14-7sy2g3kq.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.14-e4es88e1.mjs +6 -0
  13. package/dist/chunks/ITermBackend-1.1.14-6h3jm7pr.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.14-chxkapxm.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.14-zpsvdv05.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.14-j9enxt6f.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.14-2b01fwcq.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.14-wbwa9rnr.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.14-04ezket2.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.14-w737z0ya.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.14-vc6rvhd7.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.14-s06dyncs.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.14-8xhjpqb6.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.14-szxvge9a.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.14-pfr2r56w.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.14-y0fr1104.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.14-1hdvwfw0.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.14-mb3f9and.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.14-vtjpr86t.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.14-8f7ye4cx.mjs +1 -0
  31. package/dist/chunks/agents-1.1.14-09h1y56n.mjs +3 -0
  32. package/dist/chunks/agents-1.1.14-0w8wycx4.mjs +110 -0
  33. package/dist/chunks/api-1.1.14-0fbebbzk.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.14-tb149dp4.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.14-z0zfp1et.mjs +1 -0
  36. package/dist/chunks/auth-1.1.14-bap5zejc.mjs +1 -0
  37. package/dist/chunks/auth-1.1.14-f6095j1n.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.14-ez7vz44q.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.14-nh4g2w5c.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.14-85wfz0d2.mjs +1 -0
  41. package/dist/chunks/branch-1.1.14-q182qsp7.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.14-9kv2fqz4.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.14-c73sbxxv.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.14-e8cdsjdy.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.14-v69v0m5y.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.14-a7m65hvd.mjs +1 -0
  47. package/dist/chunks/btw-1.1.14-972yxja7.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.14-j9178h9m.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.14-3ce2pkz1.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.14-qkerj80m.mjs +4 -0
  51. package/dist/chunks/caches-1.1.14-nf8ev61m.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.14-ccv8t2d4.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.14-m5t9ge1t.mjs +1 -0
  54. package/dist/chunks/clear-1.1.14-cfbvvm07.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.14-c99j8gmq.mjs +1 -0
  56. package/dist/chunks/cli-1.1.14-0e209hdd.mjs +2 -0
  57. package/dist/chunks/cli-1.1.14-0f45n8mg.mjs +2 -0
  58. package/dist/chunks/cli-1.1.14-1avercfj.mjs +2 -0
  59. package/dist/chunks/cli-1.1.14-1d5gcev8.mjs +2 -0
  60. package/dist/chunks/cli-1.1.14-1dph8n41.mjs +24 -0
  61. package/dist/chunks/cli-1.1.14-1hghs4qh.mjs +15 -0
  62. package/dist/chunks/cli-1.1.14-1zf42f1b.mjs +2 -0
  63. package/dist/chunks/cli-1.1.14-256a4dam.mjs +21 -0
  64. package/dist/chunks/cli-1.1.14-2gn4jtm1.mjs +3 -0
  65. package/dist/chunks/cli-1.1.14-2ysqsyrs.mjs +4 -0
  66. package/dist/chunks/cli-1.1.14-35sv8v0f.mjs +2 -0
  67. package/dist/chunks/cli-1.1.14-377p51gp.mjs +2 -0
  68. package/dist/chunks/cli-1.1.14-3a1bnf85.mjs +2 -0
  69. package/dist/chunks/cli-1.1.14-3f4fg0jf.mjs +2 -0
  70. package/dist/chunks/cli-1.1.14-3rjxbb1k.mjs +2 -0
  71. package/dist/chunks/cli-1.1.14-42r8tafr.mjs +3 -0
  72. package/dist/chunks/cli-1.1.14-4hs7pyh0.mjs +6 -0
  73. package/dist/chunks/cli-1.1.14-4s9n8yjm.mjs +2 -0
  74. package/dist/chunks/cli-1.1.14-4w3fbvdq.mjs +3 -0
  75. package/dist/chunks/cli-1.1.14-4y2f1s92.mjs +24 -0
  76. package/dist/chunks/cli-1.1.14-53dfe61t.mjs +2 -0
  77. package/dist/chunks/cli-1.1.14-59y1pays.mjs +2 -0
  78. package/dist/chunks/cli-1.1.14-63ezr011.mjs +4 -0
  79. package/dist/chunks/cli-1.1.14-6873seek.mjs +2 -0
  80. package/dist/chunks/cli-1.1.14-6ae3m5qs.mjs +3 -0
  81. package/dist/chunks/cli-1.1.14-6aknzs0q.mjs +3 -0
  82. package/dist/chunks/cli-1.1.14-6ex3vykg.mjs +16 -0
  83. package/dist/chunks/cli-1.1.14-6fa8a7k1.mjs +2 -0
  84. package/dist/chunks/cli-1.1.14-6q6zgmwr.mjs +4 -0
  85. package/dist/chunks/cli-1.1.14-6vr1y1hr.mjs +2 -0
  86. package/dist/chunks/cli-1.1.14-6wh10yar.mjs +2 -0
  87. package/dist/chunks/cli-1.1.14-6ybkavvh.mjs +4 -0
  88. package/dist/chunks/cli-1.1.14-711x17sa.mjs +2 -0
  89. package/dist/chunks/cli-1.1.14-73mqk8g5.mjs +2 -0
  90. package/dist/chunks/cli-1.1.14-73zh23ez.mjs +2 -0
  91. package/dist/chunks/cli-1.1.14-7ccy5ssr.mjs +2 -0
  92. package/dist/chunks/cli-1.1.14-7jt701f6.mjs +2 -0
  93. package/dist/chunks/cli-1.1.14-7pzggsge.mjs +2 -0
  94. package/dist/chunks/cli-1.1.14-83ng5cjk.mjs +2 -0
  95. package/dist/chunks/cli-1.1.14-889fhp26.mjs +3 -0
  96. package/dist/chunks/cli-1.1.14-8d79550c.mjs +2 -0
  97. package/dist/chunks/cli-1.1.14-8eaenjx4.mjs +4 -0
  98. package/dist/chunks/cli-1.1.14-8fx5qjh6.mjs +5440 -0
  99. package/dist/chunks/cli-1.1.14-8g09v1yy.mjs +2 -0
  100. package/dist/chunks/cli-1.1.14-8mn8xn5g.mjs +6 -0
  101. package/dist/chunks/cli-1.1.14-8p0w0geq.mjs +2 -0
  102. package/dist/chunks/cli-1.1.14-8wdw7x7k.mjs +2 -0
  103. package/dist/chunks/cli-1.1.14-8wsrnrk6.mjs +2 -0
  104. package/dist/chunks/cli-1.1.14-8yw87v1w.mjs +2 -0
  105. package/dist/chunks/cli-1.1.14-91ymqn8n.mjs +18 -0
  106. package/dist/chunks/cli-1.1.14-9419wa62.mjs +2 -0
  107. package/dist/chunks/cli-1.1.14-947tpwm7.mjs +2 -0
  108. package/dist/chunks/cli-1.1.14-9cg8tjv3.mjs +3 -0
  109. package/dist/chunks/cli-1.1.14-9gvsxyt7.mjs +2 -0
  110. package/dist/chunks/cli-1.1.14-9nw51dsq.mjs +3 -0
  111. package/dist/chunks/cli-1.1.14-a5v23mcj.mjs +2 -0
  112. package/dist/chunks/cli-1.1.14-ac4030sa.mjs +2 -0
  113. package/dist/chunks/cli-1.1.14-ac5krqkz.mjs +2 -0
  114. package/dist/chunks/cli-1.1.14-acg38ym6.mjs +2 -0
  115. package/dist/chunks/cli-1.1.14-afnxph29.mjs +2 -0
  116. package/dist/chunks/cli-1.1.14-aynsgyjh.mjs +2 -0
  117. package/dist/chunks/cli-1.1.14-az6pbe66.mjs +2 -0
  118. package/dist/chunks/cli-1.1.14-b1sbm8w6.mjs +133 -0
  119. package/dist/chunks/cli-1.1.14-ba8qj93n.mjs +50 -0
  120. package/dist/chunks/cli-1.1.14-bg9cmzcy.mjs +45 -0
  121. package/dist/chunks/cli-1.1.14-bjsx40c2.mjs +2 -0
  122. package/dist/chunks/cli-1.1.14-bjy8bxz1.mjs +2 -0
  123. package/dist/chunks/cli-1.1.14-brw0w20r.mjs +5 -0
  124. package/dist/chunks/cli-1.1.14-bwc8pb1f.mjs +2 -0
  125. package/dist/chunks/cli-1.1.14-byr5dy4k.mjs +4 -0
  126. package/dist/chunks/cli-1.1.14-bz7ts9p7.mjs +2 -0
  127. package/dist/chunks/cli-1.1.14-c30dtxm5.mjs +2 -0
  128. package/dist/chunks/cli-1.1.14-c41jzsx4.mjs +39 -0
  129. package/dist/chunks/cli-1.1.14-cakvdwn3.mjs +2 -0
  130. package/dist/chunks/cli-1.1.14-ce1ghrw0.mjs +2 -0
  131. package/dist/chunks/cli-1.1.14-cfkzk93c.mjs +2 -0
  132. package/dist/chunks/cli-1.1.14-chn2z068.mjs +6 -0
  133. package/dist/chunks/cli-1.1.14-cj411dk7.mjs +2 -0
  134. package/dist/chunks/cli-1.1.14-cnhawbs5.mjs +2 -0
  135. package/dist/chunks/cli-1.1.14-cnkv5cdq.mjs +2 -0
  136. package/dist/chunks/cli-1.1.14-cran8hzr.mjs +2 -0
  137. package/dist/chunks/cli-1.1.14-crdc0nk7.mjs +8 -0
  138. package/dist/chunks/cli-1.1.14-cxm6hsqs.mjs +2 -0
  139. package/dist/chunks/cli-1.1.14-cxqb5hw8.mjs +2 -0
  140. package/dist/chunks/cli-1.1.14-cydkb96c.mjs +2 -0
  141. package/dist/chunks/cli-1.1.14-db3mxak8.mjs +6 -0
  142. package/dist/chunks/cli-1.1.14-e7mfj9cz.mjs +2 -0
  143. package/dist/chunks/cli-1.1.14-ec6d00xg.mjs +66 -0
  144. package/dist/chunks/cli-1.1.14-eccdwm9t.mjs +18 -0
  145. package/dist/chunks/cli-1.1.14-ecnk9fd6.mjs +2 -0
  146. package/dist/chunks/cli-1.1.14-edqga9n4.mjs +2 -0
  147. package/dist/chunks/cli-1.1.14-eh3y4akg.mjs +2 -0
  148. package/dist/chunks/cli-1.1.14-ehnnwt4w.mjs +12 -0
  149. package/dist/chunks/cli-1.1.14-ennnd2wk.mjs +2 -0
  150. package/dist/chunks/cli-1.1.14-esspp1p0.mjs +2 -0
  151. package/dist/chunks/cli-1.1.14-f04bv457.mjs +2 -0
  152. package/dist/chunks/cli-1.1.14-f0686hwn.mjs +2 -0
  153. package/dist/chunks/cli-1.1.14-f0vw7m5f.mjs +2 -0
  154. package/dist/chunks/cli-1.1.14-f2g608st.mjs +2 -0
  155. package/dist/chunks/cli-1.1.14-f2z81veh.mjs +12 -0
  156. package/dist/chunks/cli-1.1.14-f5bvc359.mjs +2 -0
  157. package/dist/chunks/cli-1.1.14-f9dpkjv9.mjs +2 -0
  158. package/dist/chunks/cli-1.1.14-fm5cz88a.mjs +3 -0
  159. package/dist/chunks/cli-1.1.14-fp33ryn9.mjs +2 -0
  160. package/dist/chunks/cli-1.1.14-fq9x6yxc.mjs +2 -0
  161. package/dist/chunks/cli-1.1.14-ftjv2jrz.mjs +2 -0
  162. package/dist/chunks/cli-1.1.14-fwakcyhj.mjs +4 -0
  163. package/dist/chunks/cli-1.1.14-g11hsjv2.mjs +2 -0
  164. package/dist/chunks/cli-1.1.14-g7acy34j.mjs +5 -0
  165. package/dist/chunks/cli-1.1.14-g7ar9cmp.mjs +2 -0
  166. package/dist/chunks/cli-1.1.14-gbf9emxz.mjs +2 -0
  167. package/dist/chunks/cli-1.1.14-gbt4qmxx.mjs +2 -0
  168. package/dist/chunks/cli-1.1.14-gf6m8qz3.mjs +17 -0
  169. package/dist/chunks/cli-1.1.14-gjna0227.mjs +2 -0
  170. package/dist/chunks/cli-1.1.14-gtxhty3d.mjs +2 -0
  171. package/dist/chunks/cli-1.1.14-gv9rt2h8.mjs +2 -0
  172. package/dist/chunks/cli-1.1.14-gvh2m03s.mjs +9 -0
  173. package/dist/chunks/cli-1.1.14-h9swpf99.mjs +3 -0
  174. package/dist/chunks/cli-1.1.14-hcaktmq1.mjs +2 -0
  175. package/dist/chunks/cli-1.1.14-hdkyecme.mjs +59 -0
  176. package/dist/chunks/cli-1.1.14-j9qy5cj8.mjs +6 -0
  177. package/dist/chunks/cli-1.1.14-j9zawab5.mjs +2 -0
  178. package/dist/chunks/cli-1.1.14-je22trqj.mjs +7 -0
  179. package/dist/chunks/cli-1.1.14-jeqhpgat.mjs +4 -0
  180. package/dist/chunks/cli-1.1.14-jgers44a.mjs +2 -0
  181. package/dist/chunks/cli-1.1.14-k4n0pbvf.mjs +2 -0
  182. package/dist/chunks/cli-1.1.14-kkwnpcf6.mjs +2 -0
  183. package/dist/chunks/cli-1.1.14-krd6edee.mjs +2 -0
  184. package/dist/chunks/cli-1.1.14-ks4wsswq.mjs +133 -0
  185. package/dist/chunks/cli-1.1.14-ksk5rch9.mjs +2 -0
  186. package/dist/chunks/cli-1.1.14-ky3mvy9k.mjs +15 -0
  187. package/dist/chunks/cli-1.1.14-kzwx6a7h.mjs +2 -0
  188. package/dist/chunks/cli-1.1.14-mnerhwsv.mjs +25 -0
  189. package/dist/chunks/cli-1.1.14-msb0xfz3.mjs +6 -0
  190. package/dist/chunks/cli-1.1.14-n1hm0gd6.mjs +2 -0
  191. package/dist/chunks/cli-1.1.14-n351xrzx.mjs +2 -0
  192. package/dist/chunks/cli-1.1.14-n9fg59se.mjs +2 -0
  193. package/dist/chunks/cli-1.1.14-nqa3ttq6.mjs +2 -0
  194. package/dist/chunks/cli-1.1.14-nqd6dk6n.mjs +20 -0
  195. package/dist/chunks/cli-1.1.14-p0xhp49n.mjs +58 -0
  196. package/dist/chunks/cli-1.1.14-pa5nsjfc.mjs +24 -0
  197. package/dist/chunks/cli-1.1.14-pce9xpxh.mjs +2 -0
  198. package/dist/chunks/cli-1.1.14-pfsqawey.mjs +2 -0
  199. package/dist/chunks/cli-1.1.14-pgkjn3yw.mjs +2 -0
  200. package/dist/chunks/cli-1.1.14-ph81vme8.mjs +1 -0
  201. package/dist/chunks/cli-1.1.14-prtez07m.mjs +17 -0
  202. package/dist/chunks/cli-1.1.14-q1kc6b8n.mjs +202 -0
  203. package/dist/chunks/cli-1.1.14-q39sm90c.mjs +2 -0
  204. package/dist/chunks/cli-1.1.14-q4njqbhv.mjs +2 -0
  205. package/dist/chunks/cli-1.1.14-q9mpbtcq.mjs +2 -0
  206. package/dist/chunks/cli-1.1.14-qe4ypfya.mjs +2 -0
  207. package/dist/chunks/cli-1.1.14-qfc8zb5d.mjs +2 -0
  208. package/dist/chunks/cli-1.1.14-qm7sjy8p.mjs +2 -0
  209. package/dist/chunks/cli-1.1.14-qr2dkjw6.mjs +2 -0
  210. package/dist/chunks/cli-1.1.14-qs5hpm4s.mjs +2 -0
  211. package/dist/chunks/cli-1.1.14-qyywt37p.mjs +2 -0
  212. package/dist/chunks/cli-1.1.14-r39tb155.mjs +25 -0
  213. package/dist/chunks/cli-1.1.14-rcw8bj2x.mjs +2 -0
  214. package/dist/chunks/cli-1.1.14-rjac9djz.mjs +2 -0
  215. package/dist/chunks/cli-1.1.14-rmjnqb9b.mjs +2 -0
  216. package/dist/chunks/cli-1.1.14-ry5bys5g.mjs +2 -0
  217. package/dist/chunks/cli-1.1.14-ryjw96z2.mjs +2 -0
  218. package/dist/chunks/cli-1.1.14-s2tegwye.mjs +2 -0
  219. package/dist/chunks/cli-1.1.14-s59gy7wr.mjs +2 -0
  220. package/dist/chunks/cli-1.1.14-scaajcvm.mjs +2 -0
  221. package/dist/chunks/cli-1.1.14-srbcxz1e.mjs +34 -0
  222. package/dist/chunks/cli-1.1.14-t32277f6.mjs +4 -0
  223. package/dist/chunks/cli-1.1.14-t5cdgcnh.mjs +2 -0
  224. package/dist/chunks/cli-1.1.14-t82ydhr6.mjs +2 -0
  225. package/dist/chunks/cli-1.1.14-t9xyraqy.mjs +9 -0
  226. package/dist/chunks/cli-1.1.14-tm2g00jj.mjs +2 -0
  227. package/dist/chunks/cli-1.1.14-tv90r87r.mjs +3 -0
  228. package/dist/chunks/cli-1.1.14-v019any3.mjs +2 -0
  229. package/dist/chunks/cli-1.1.14-v4f9098m.mjs +2 -0
  230. package/dist/chunks/cli-1.1.14-v7nnjdwc.mjs +2 -0
  231. package/dist/chunks/cli-1.1.14-vd4v04cf.mjs +2 -0
  232. package/dist/chunks/cli-1.1.14-vdsx0cw7.mjs +15 -0
  233. package/dist/chunks/cli-1.1.14-vefm78w3.mjs +2 -0
  234. package/dist/chunks/cli-1.1.14-vjeh477p.mjs +3 -0
  235. package/dist/chunks/cli-1.1.14-vmwd3gk6.mjs +4 -0
  236. package/dist/chunks/cli-1.1.14-vq47nhnz.mjs +2 -0
  237. package/dist/chunks/cli-1.1.14-vx8jq8gy.mjs +42 -0
  238. package/dist/chunks/cli-1.1.14-vzevhjxk.mjs +2 -0
  239. package/dist/chunks/cli-1.1.14-w0d35qqy.mjs +2 -0
  240. package/dist/chunks/cli-1.1.14-w2wbzv4e.mjs +3 -0
  241. package/dist/chunks/cli-1.1.14-w4fgn8t6.mjs +2 -0
  242. package/dist/chunks/cli-1.1.14-weqr0y1h.mjs +2 -0
  243. package/dist/chunks/cli-1.1.14-x2b13bs6.mjs +2 -0
  244. package/dist/chunks/cli-1.1.14-x6g4zgjh.mjs +3 -0
  245. package/dist/chunks/cli-1.1.14-xcg5hzkp.mjs +2 -0
  246. package/dist/chunks/cli-1.1.14-xejgqxmy.mjs +2 -0
  247. package/dist/chunks/cli-1.1.14-xw8mensa.mjs +4 -0
  248. package/dist/chunks/cli-1.1.14-xwcfnjkf.mjs +24 -0
  249. package/dist/chunks/cli-1.1.14-yfknrxme.mjs +2 -0
  250. package/dist/chunks/cli-1.1.14-ykbz2fee.mjs +2 -0
  251. package/dist/chunks/cli-1.1.14-ypbww0jj.mjs +2 -0
  252. package/dist/chunks/cli-1.1.14-yvw9gv0w.mjs +2 -0
  253. package/dist/chunks/cli-1.1.14-z07q0gwf.mjs +2 -0
  254. package/dist/chunks/cli-1.1.14-z0mjb0vh.mjs +2 -0
  255. package/dist/chunks/cli-1.1.14-z9cc7bb2.mjs +2 -0
  256. package/dist/chunks/cli-1.1.14-zajvkghs.mjs +2 -0
  257. package/dist/chunks/cli-1.1.14-znbm9h8t.mjs +2 -0
  258. package/dist/chunks/client-1.1.14-m2mjhyw6.mjs +1 -0
  259. package/dist/chunks/color-1.1.14-f3q2mzg0.mjs +1 -0
  260. package/dist/chunks/compact-1.1.14-effx3hf9.mjs +3 -0
  261. package/dist/chunks/config-1.1.14-9ydtd85s.mjs +1 -0
  262. package/dist/chunks/config-1.1.14-h96m0d8d.mjs +1 -0
  263. package/dist/chunks/constants-1.1.14-zk22gxph.mjs +1 -0
  264. package/dist/chunks/context-1.1.14-wtr7pmtw.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.1.14-j8y21hht.mjs +1 -0
  266. package/dist/chunks/conversation-1.1.14-rt6z9rds.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.1.14-s922v787.mjs +1 -0
  268. package/dist/chunks/copy-1.1.14-m8bx9df8.mjs +9 -0
  269. package/dist/chunks/cost-1.1.14-whyhrsgg.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.1.14-sdg5dk4r.mjs +1 -0
  271. package/dist/chunks/createSession-1.1.14-vct1c158.mjs +1 -0
  272. package/dist/chunks/debug-1.1.14-nca60a44.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.1.14-7y4dgkxg.mjs +1526 -0
  274. package/dist/chunks/desktop-1.1.14-pe1cgr9z.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.1.14-z6hxtqhd.mjs +1 -0
  276. package/dist/chunks/detection-1.1.14-t5ayyza6.mjs +1 -0
  277. package/dist/chunks/diff-1.1.14-tv62px1c.mjs +1 -0
  278. package/dist/chunks/doctor-1.1.14-qesxnkxx.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.1.14-z63s9mpy.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.1.14-7vfad42b.mjs +1 -0
  281. package/dist/chunks/effort-1.1.14-prkmemjw.mjs +13 -0
  282. package/dist/chunks/engine-1.1.14-4585kjf8.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.1.14-pv9ydcq3.mjs +1 -0
  284. package/dist/chunks/envUtils-1.1.14-chbd1bsr.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.1.14-ckpkv6e3.mjs +1 -0
  286. package/dist/chunks/environments-1.1.14-ma9vprdz.mjs +1 -0
  287. package/dist/chunks/errors-1.1.14-ww80fvtz.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.1.14-x37y2ewm.mjs +1 -0
  289. package/dist/chunks/execFileNoThrow-1.1.14-4xp05pmd.mjs +1 -0
  290. package/dist/chunks/exit-1.1.14-shyzge3a.mjs +1 -0
  291. package/dist/chunks/explorer-1.1.14-12bn9b5s.mjs +1 -0
  292. package/dist/chunks/export-1.1.14-21yjwtry.mjs +2 -0
  293. package/dist/chunks/extra-usage-1.1.14-gr1s0tck.mjs +1 -0
  294. package/dist/chunks/extra-usage-noninteractive-1.1.14-zyk4qh8w.mjs +1 -0
  295. package/dist/chunks/fast-1.1.14-87cn8tqn.mjs +1 -0
  296. package/dist/chunks/feedback-1.1.14-s5ycv1dk.mjs +14 -0
  297. package/dist/chunks/firstPartyEventLogger-1.1.14-e62cbs1c.mjs +1 -0
  298. package/dist/chunks/git-1.1.14-c6rsmdv4.mjs +1 -0
  299. package/dist/chunks/githubModelsCredentials-1.1.14-sbb3wp9c.mjs +1 -0
  300. package/dist/chunks/goal-1.1.14-w7j0vb96.mjs +4 -0
  301. package/dist/chunks/growthbook-1.1.14-65cpy0w1.mjs +1 -0
  302. package/dist/chunks/headless-1.1.14-68gm6f08.mjs +2 -0
  303. package/dist/chunks/heapdump-1.1.14-76kj8s1g.mjs +6 -0
  304. package/dist/chunks/help-1.1.14-zwc1crj5.mjs +1 -0
  305. package/dist/chunks/hookChains-1.1.14-cvazppdb.mjs +3 -0
  306. package/dist/chunks/hooks-1.1.14-2ryqg5gs.mjs +1 -0
  307. package/dist/chunks/hooks-1.1.14-3eveg7t1.mjs +79 -0
  308. package/dist/chunks/ide-1.1.14-dtgjtnqn.mjs +3 -0
  309. package/dist/chunks/image-processor-napi-1.1.14-nehgy1pe.mjs +1 -0
  310. package/dist/chunks/inboundAttachments-1.1.14-90434wfb.mjs +1 -0
  311. package/dist/chunks/index-1.1.14-0q2v4wxh.mjs +1 -0
  312. package/dist/chunks/index-1.1.14-12qn79c7.mjs +1 -0
  313. package/dist/chunks/index-1.1.14-2gtcr49x.mjs +1 -0
  314. package/dist/chunks/index-1.1.14-2tpw5zhr.mjs +1 -0
  315. package/dist/chunks/index-1.1.14-50xwby01.mjs +1 -0
  316. package/dist/chunks/index-1.1.14-73zx1e4s.mjs +1 -0
  317. package/dist/chunks/index-1.1.14-75vz0ehv.mjs +1 -0
  318. package/dist/chunks/index-1.1.14-9yex519n.mjs +1 -0
  319. package/dist/chunks/index-1.1.14-ae1277p4.mjs +2 -0
  320. package/dist/chunks/index-1.1.14-bgjpqq3g.mjs +1 -0
  321. package/dist/chunks/index-1.1.14-dn6sx3hd.mjs +5 -0
  322. package/dist/chunks/index-1.1.14-egsggv62.mjs +9 -0
  323. package/dist/chunks/index-1.1.14-jedc2mm5.mjs +30 -0
  324. package/dist/chunks/index-1.1.14-qf2jnnv2.mjs +1 -0
  325. package/dist/chunks/index-1.1.14-qsepya6f.mjs +23 -0
  326. package/dist/chunks/index-1.1.14-s8w75y4z.mjs +1 -0
  327. package/dist/chunks/index-1.1.14-sjk5njxz.mjs +2 -0
  328. package/dist/chunks/index-1.1.14-spp0ysmf.mjs +9 -0
  329. package/dist/chunks/index-1.1.14-termgazf.mjs +1 -0
  330. package/dist/chunks/index-1.1.14-v0dy155j.mjs +1 -0
  331. package/dist/chunks/index-1.1.14-wtvxy2p5.mjs +1 -0
  332. package/dist/chunks/index-1.1.14-x2qb1aam.mjs +1 -0
  333. package/dist/chunks/index-1.1.14-zxg55r1x.mjs +1 -0
  334. package/dist/chunks/init-1.1.14-60thb3vn.mjs +1 -0
  335. package/dist/chunks/initReplBridge-1.1.14-ptmwhng6.mjs +1 -0
  336. package/dist/chunks/ink-1.1.14-hb9m1tzk.mjs +1 -0
  337. package/dist/chunks/insights-1.1.14-q3gcq8e5.mjs +870 -0
  338. package/dist/chunks/install-1.1.14-yqjcrtpg.mjs +1 -0
  339. package/dist/chunks/install-github-app-1.1.14-b9sx124r.mjs +149 -0
  340. package/dist/chunks/install-slack-app-1.1.14-h4axwer1.mjs +1 -0
  341. package/dist/chunks/instrumentation-1.1.14-3dtmyckq.mjs +1 -0
  342. package/dist/chunks/interactiveHelpers-1.1.14-5ht3cz8m.mjs +1 -0
  343. package/dist/chunks/keybindings-1.1.14-ex18a7fg.mjs +2 -0
  344. package/dist/chunks/knowledge-1.1.14-netk3f6c.mjs +2 -0
  345. package/dist/chunks/latestVersionCache-1.1.14-1ck4skb9.mjs +1 -0
  346. package/dist/chunks/loadAgentsDir-1.1.14-9qfmgcdr.mjs +1 -0
  347. package/dist/chunks/loadPluginHooks-1.1.14-g5te2y4b.mjs +1 -0
  348. package/dist/chunks/log-1.1.14-jrh2w4pj.mjs +1 -0
  349. package/dist/chunks/main-1.1.14-w4z3m51j.mjs +1 -0
  350. package/dist/chunks/managedEnv-1.1.14-hm26y9yh.mjs +1 -0
  351. package/dist/chunks/mcp-1.1.14-jdgt2rjc.mjs +17 -0
  352. package/dist/chunks/mcp-1.1.14-nbqn7e10.mjs +1 -0
  353. package/dist/chunks/mcp-1.1.14-yhg498sq.mjs +4 -0
  354. package/dist/chunks/mcpb-1.1.14-bwrmrz6f.mjs +1 -0
  355. package/dist/chunks/memory-1.1.14-vtzr3td4.mjs +72 -0
  356. package/dist/chunks/model-1.1.14-6atmfgtq.mjs +1 -0
  357. package/dist/chunks/model-1.1.14-k3jz1ch0.mjs +2 -0
  358. package/dist/chunks/node-1.1.14-436c41vg.mjs +12 -0
  359. package/dist/chunks/oauth-1.1.14-1pb8ypjr.mjs +1 -0
  360. package/dist/chunks/openaiShim-1.1.14-63qfbmm4.mjs +14 -0
  361. package/dist/chunks/output-style-1.1.14-km29ad1g.mjs +1 -0
  362. package/dist/chunks/package-L37ZVTF4-1.1.14-fdrhyx6k.mjs +1 -0
  363. package/dist/chunks/parseConnectUrl-1.1.14-vxn84ewm.mjs +1 -0
  364. package/dist/chunks/parser-1.1.14-98bg5gv8.mjs +1 -0
  365. package/dist/chunks/passes-1.1.14-5tdj3y9r.mjs +1 -0
  366. package/dist/chunks/permissions-1.1.14-srvsc3za.mjs +3 -0
  367. package/dist/chunks/permissions-1.1.14-vhhyyr5b.mjs +1 -0
  368. package/dist/chunks/plan-1.1.14-c0xp5pxe.mjs +1 -0
  369. package/dist/chunks/plist-1.1.14-5tba5azr.mjs +1 -0
  370. package/dist/chunks/plugin-1.1.14-3gh6jn53.mjs +29 -0
  371. package/dist/chunks/pluginStartupCheck-1.1.14-16akasw0.mjs +1 -0
  372. package/dist/chunks/plugins-1.1.14-8cr92qaf.mjs +9 -0
  373. package/dist/chunks/preActionHook-1.1.14-jwbb9w2t.mjs +2 -0
  374. package/dist/chunks/print-1.1.14-ce8mrr2j.mjs +57 -0
  375. package/dist/chunks/process-1.1.14-zygrw1jw.mjs +1 -0
  376. package/dist/chunks/processBashCommand-1.1.14-q066hcdv.mjs +1 -0
  377. package/dist/chunks/processSlashCommand-1.1.14-btah3m31.mjs +9 -0
  378. package/dist/chunks/prompt-1.1.14-mmdq8qk2.mjs +1 -0
  379. package/dist/chunks/prompt-1.1.14-xks0rqr5.mjs +1 -0
  380. package/dist/chunks/prompts-1.1.14-9c7xnw4s.mjs +1 -0
  381. package/dist/chunks/protocolHandler-1.1.14-7w5d6b8w.mjs +13 -0
  382. package/dist/chunks/provider-1.1.14-136k178m.mjs +2 -0
  383. package/dist/chunks/providerProfiles-1.1.14-vg25c1wr.mjs +1 -0
  384. package/dist/chunks/providerValidation-1.1.14-w3m1vah7.mjs +6 -0
  385. package/dist/chunks/rate-limit-options-1.1.14-vhkc6pgc.mjs +1 -0
  386. package/dist/chunks/registerSubcommands-1.1.14-v8b09yem.mjs +26 -0
  387. package/dist/chunks/registry-1.1.14-bxbt49ze.mjs +1 -0
  388. package/dist/chunks/release-notes-1.1.14-9xyhbkj1.mjs +5 -0
  389. package/dist/chunks/reload-plugins-1.1.14-9jhhq87x.mjs +2 -0
  390. package/dist/chunks/remote-env-1.1.14-941r054g.mjs +1 -0
  391. package/dist/chunks/remoteBridgeCore-1.1.14-ab02srk9.mjs +1 -0
  392. package/dist/chunks/remoteSession-1.1.14-8x26vncf.mjs +1 -0
  393. package/dist/chunks/rename-1.1.14-46zvyh32.mjs +1 -0
  394. package/dist/chunks/replBridgeHandle-1.1.14-85r3hxws.mjs +1 -0
  395. package/dist/chunks/replLauncher-1.1.14-0jp7aph0.mjs +1 -0
  396. package/dist/chunks/resume-1.1.14-8pepfwmk.mjs +2 -0
  397. package/dist/chunks/rewind-1.1.14-hwgcehgr.mjs +1 -0
  398. package/dist/chunks/rootOptions-1.1.14-evwgp5w2.mjs +1 -0
  399. package/dist/chunks/runWorkflowHeadless-1.1.14-w8erpgvm.mjs +10 -0
  400. package/dist/chunks/sandbox-adapter-1.1.14-kwegx4mz.mjs +1 -0
  401. package/dist/chunks/sandbox-toggle-1.1.14-2htjsxzk.mjs +1 -0
  402. package/dist/chunks/session-1.1.14-hgmnvw7z.mjs +2 -0
  403. package/dist/chunks/sessionDiscovery-1.1.14-anb5ddc9.mjs +1 -0
  404. package/dist/chunks/sessionFileAccessHooks-1.1.14-re6kra5a.mjs +1 -0
  405. package/dist/chunks/sessionStorage-1.1.14-cn65r158.mjs +1 -0
  406. package/dist/chunks/settings-1.1.14-r31qkcwy.mjs +1 -0
  407. package/dist/chunks/setup-1.1.14-115cm91e.mjs +5 -0
  408. package/dist/chunks/sinks-1.1.14-4abzjj1m.mjs +1 -0
  409. package/dist/chunks/skills-1.1.14-k7rcbkx1.mjs +1 -0
  410. package/dist/chunks/startupProfiler-1.1.14-vgaq3kjm.mjs +1 -0
  411. package/dist/chunks/startupUpdateCheck-1.1.14-z50xwm9f.mjs +1 -0
  412. package/dist/chunks/state-1.1.14-thy0hnc6.mjs +1 -0
  413. package/dist/chunks/stats-1.1.14-m6dzpj3a.mjs +6 -0
  414. package/dist/chunks/status-1.1.14-amqe3rdm.mjs +1 -0
  415. package/dist/chunks/stickers-1.1.14-2t1zj000.mjs +1 -0
  416. package/dist/chunks/subprocessEnv-1.1.14-pbf40bta.mjs +1 -0
  417. package/dist/chunks/tasks-1.1.14-exvwanrf.mjs +1 -0
  418. package/dist/chunks/teamHelpers-1.1.14-pscnj4fa.mjs +1 -0
  419. package/dist/chunks/teammateModeSnapshot-1.1.14-p4asr9ej.mjs +1 -0
  420. package/dist/chunks/teleport-1.1.14-m6qw5vnq.mjs +1 -0
  421. package/dist/chunks/terminalSetup-1.1.14-5ahc4rv9.mjs +1 -0
  422. package/dist/chunks/theme-1.1.14-1pn2fsqz.mjs +1 -0
  423. package/dist/chunks/thinkback-1.1.14-jss1meem.mjs +1 -0
  424. package/dist/chunks/thinkback-play-1.1.14-gwr9e1aw.mjs +1 -0
  425. package/dist/chunks/toolPool-1.1.14-dczcmy51.mjs +1 -0
  426. package/dist/chunks/toolSearch-1.1.14-seww0hje.mjs +1 -0
  427. package/dist/chunks/tools-1.1.14-6edkph4d.mjs +1 -0
  428. package/dist/chunks/trustedDevice-1.1.14-fyw61308.mjs +1 -0
  429. package/dist/chunks/turndown.cjs-1.1.14-zz6ad8n2.mjs +69 -0
  430. package/dist/chunks/types-1.1.14-ype8816v.mjs +1 -0
  431. package/dist/chunks/ultrareviewCommand-1.1.14-sr15z0qh.mjs +4 -0
  432. package/dist/chunks/update-1.1.14-114p1f8r.mjs +72 -0
  433. package/dist/chunks/upgrade-1.1.14-9whzt7qa.mjs +1 -0
  434. package/dist/chunks/upload-1.1.14-hpk4spp9.mjs +7 -0
  435. package/dist/chunks/upstreamproxy-1.1.14-26edczqa.mjs +14 -0
  436. package/dist/chunks/url-handler-napi-1.1.14-3e9ramyj.mjs +1 -0
  437. package/dist/chunks/usage-1.1.14-xaegmtg7.mjs +1 -0
  438. package/dist/chunks/util-1.1.14-dtgb1qsg.mjs +1 -0
  439. package/dist/chunks/utils-1.1.14-xcvcp3es.mjs +1 -0
  440. package/dist/chunks/vim-1.1.14-y2x4dg5h.mjs +1 -0
  441. package/dist/chunks/watchLoop-1.1.14-r19ed4xt.mjs +13 -0
  442. package/dist/chunks/watcher-1.1.14-9z5ptaf1.mjs +1 -0
  443. package/dist/chunks/wiki-1.1.14-kyejnvfb.mjs +132 -0
  444. package/dist/chunks/workflows-1.1.14-06jg36tv.mjs +1 -0
  445. package/dist/chunks/worktree-1.1.14-k41xe3b1.mjs +1 -0
  446. package/dist/chunks/worktreeModeEnabled-1.1.14-3mn08sd0.mjs +1 -0
  447. package/dist/chunks/wrapper-1.1.14-tgerest3.mjs +7 -0
  448. package/dist/cli.mjs +2 -2
  449. package/package.json +9 -9
  450. package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +0 -1
  451. package/dist/chunks/App-1.1.13-d46t1gxs.mjs +0 -1
  452. package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +0 -1
  453. package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +0 -1
  454. package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +0 -1
  455. package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +0 -1
  456. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +0 -1
  457. package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +0 -1
  458. package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +0 -6
  459. package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +0 -1
  460. package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +0 -6
  461. package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +0 -1
  462. package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +0 -1
  463. package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +0 -1
  464. package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +0 -1
  465. package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +0 -1
  466. package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +0 -1
  467. package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +0 -1
  468. package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +0 -1
  469. package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +0 -1
  470. package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +0 -1
  471. package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +0 -1
  472. package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +0 -1
  473. package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +0 -9
  474. package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +0 -1
  475. package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +0 -1
  476. package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +0 -1
  477. package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +0 -1
  478. package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +0 -1
  479. package/dist/chunks/agents-1.1.13-86a1wgye.mjs +0 -110
  480. package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +0 -3
  481. package/dist/chunks/api-1.1.13-5ffq20rc.mjs +0 -1
  482. package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +0 -1
  483. package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +0 -1
  484. package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +0 -1
  485. package/dist/chunks/auth-1.1.13-xv576tj3.mjs +0 -1
  486. package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +0 -48
  487. package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +0 -1
  488. package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +0 -1
  489. package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +0 -4
  490. package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +0 -2
  491. package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +0 -1
  492. package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +0 -1
  493. package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +0 -88
  494. package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +0 -1
  495. package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +0 -1
  496. package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +0 -3
  497. package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +0 -21
  498. package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +0 -4
  499. package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +0 -1
  500. package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +0 -1
  501. package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +0 -1
  502. package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +0 -1
  503. package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +0 -1
  504. package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +0 -2
  505. package/dist/chunks/cli-1.1.13-0dha376x.mjs +0 -3
  506. package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +0 -7
  507. package/dist/chunks/cli-1.1.13-0qy978b3.mjs +0 -3
  508. package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +0 -2
  509. package/dist/chunks/cli-1.1.13-0y4933cs.mjs +0 -2
  510. package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +0 -2
  511. package/dist/chunks/cli-1.1.13-15nbdw38.mjs +0 -2
  512. package/dist/chunks/cli-1.1.13-17xy86gy.mjs +0 -24
  513. package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +0 -6
  514. package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +0 -2
  515. package/dist/chunks/cli-1.1.13-1jf910f2.mjs +0 -2
  516. package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +0 -2
  517. package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +0 -2
  518. package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +0 -2
  519. package/dist/chunks/cli-1.1.13-24284zna.mjs +0 -2
  520. package/dist/chunks/cli-1.1.13-284pjmzy.mjs +0 -4
  521. package/dist/chunks/cli-1.1.13-2964cc2e.mjs +0 -2
  522. package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +0 -2
  523. package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +0 -2
  524. package/dist/chunks/cli-1.1.13-2m39r998.mjs +0 -2
  525. package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +0 -202
  526. package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +0 -2
  527. package/dist/chunks/cli-1.1.13-2txesqy8.mjs +0 -2
  528. package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +0 -2
  529. package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +0 -2
  530. package/dist/chunks/cli-1.1.13-46jvx14j.mjs +0 -2
  531. package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +0 -2
  532. package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +0 -42
  533. package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +0 -2
  534. package/dist/chunks/cli-1.1.13-53ght581.mjs +0 -3
  535. package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +0 -2
  536. package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +0 -6
  537. package/dist/chunks/cli-1.1.13-61mygvzg.mjs +0 -2
  538. package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +0 -2
  539. package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +0 -12
  540. package/dist/chunks/cli-1.1.13-669vhsjj.mjs +0 -2
  541. package/dist/chunks/cli-1.1.13-6727vw4f.mjs +0 -2
  542. package/dist/chunks/cli-1.1.13-6b845car.mjs +0 -2
  543. package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +0 -4
  544. package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +0 -17
  545. package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +0 -2
  546. package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +0 -2
  547. package/dist/chunks/cli-1.1.13-6k71beqh.mjs +0 -2
  548. package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +0 -2
  549. package/dist/chunks/cli-1.1.13-74rczf0f.mjs +0 -2
  550. package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +0 -2
  551. package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +0 -2
  552. package/dist/chunks/cli-1.1.13-7s34jqge.mjs +0 -133
  553. package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +0 -2
  554. package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +0 -2
  555. package/dist/chunks/cli-1.1.13-82y6dszx.mjs +0 -2
  556. package/dist/chunks/cli-1.1.13-86kjp502.mjs +0 -2
  557. package/dist/chunks/cli-1.1.13-91q67gqp.mjs +0 -2
  558. package/dist/chunks/cli-1.1.13-9609q0ww.mjs +0 -2
  559. package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +0 -15
  560. package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +0 -2
  561. package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +0 -25
  562. package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +0 -2
  563. package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +0 -5
  564. package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +0 -2
  565. package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +0 -2
  566. package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +0 -25
  567. package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +0 -2
  568. package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +0 -4
  569. package/dist/chunks/cli-1.1.13-aac9pss7.mjs +0 -59
  570. package/dist/chunks/cli-1.1.13-aeq919w1.mjs +0 -2
  571. package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +0 -2
  572. package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +0 -6
  573. package/dist/chunks/cli-1.1.13-b47k2p92.mjs +0 -21
  574. package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +0 -2
  575. package/dist/chunks/cli-1.1.13-baxww5k9.mjs +0 -3
  576. package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +0 -2
  577. package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +0 -2
  578. package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +0 -2
  579. package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +0 -2
  580. package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +0 -2
  581. package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +0 -2
  582. package/dist/chunks/cli-1.1.13-cn9g3704.mjs +0 -12
  583. package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +0 -2
  584. package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +0 -2
  585. package/dist/chunks/cli-1.1.13-d54qh52e.mjs +0 -3
  586. package/dist/chunks/cli-1.1.13-d8d30wps.mjs +0 -3
  587. package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +0 -3
  588. package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +0 -2
  589. package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +0 -2
  590. package/dist/chunks/cli-1.1.13-e4k7980n.mjs +0 -2
  591. package/dist/chunks/cli-1.1.13-e68npf24.mjs +0 -2
  592. package/dist/chunks/cli-1.1.13-ehaqachs.mjs +0 -2
  593. package/dist/chunks/cli-1.1.13-epjmphrz.mjs +0 -133
  594. package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +0 -24
  595. package/dist/chunks/cli-1.1.13-ewxej7em.mjs +0 -2
  596. package/dist/chunks/cli-1.1.13-ey931psa.mjs +0 -2
  597. package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +0 -2
  598. package/dist/chunks/cli-1.1.13-far5gqfj.mjs +0 -2
  599. package/dist/chunks/cli-1.1.13-fccy9c48.mjs +0 -2
  600. package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +0 -2
  601. package/dist/chunks/cli-1.1.13-fkcaczca.mjs +0 -2
  602. package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +0 -2
  603. package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +0 -3
  604. package/dist/chunks/cli-1.1.13-g8k8na90.mjs +0 -2
  605. package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +0 -8
  606. package/dist/chunks/cli-1.1.13-gechs2yp.mjs +0 -4
  607. package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +0 -18
  608. package/dist/chunks/cli-1.1.13-gh95gh19.mjs +0 -2
  609. package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +0 -2
  610. package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +0 -39
  611. package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +0 -16
  612. package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +0 -2
  613. package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +0 -2
  614. package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +0 -2
  615. package/dist/chunks/cli-1.1.13-hg8x8693.mjs +0 -6
  616. package/dist/chunks/cli-1.1.13-hzneg4va.mjs +0 -2
  617. package/dist/chunks/cli-1.1.13-j02dcs05.mjs +0 -2
  618. package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +0 -2
  619. package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +0 -15
  620. package/dist/chunks/cli-1.1.13-je6371k7.mjs +0 -2
  621. package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +0 -2
  622. package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +0 -2
  623. package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +0 -34
  624. package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +0 -4
  625. package/dist/chunks/cli-1.1.13-kct81ph3.mjs +0 -2
  626. package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +0 -15
  627. package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +0 -2
  628. package/dist/chunks/cli-1.1.13-kq8spsav.mjs +0 -2
  629. package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +0 -2
  630. package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +0 -3
  631. package/dist/chunks/cli-1.1.13-m5grg33r.mjs +0 -4
  632. package/dist/chunks/cli-1.1.13-mct1fasm.mjs +0 -2
  633. package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +0 -17
  634. package/dist/chunks/cli-1.1.13-mzq23677.mjs +0 -2
  635. package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +0 -2
  636. package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +0 -2
  637. package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +0 -3
  638. package/dist/chunks/cli-1.1.13-nr09192d.mjs +0 -2
  639. package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +0 -2
  640. package/dist/chunks/cli-1.1.13-pam922jf.mjs +0 -2
  641. package/dist/chunks/cli-1.1.13-pedv9sma.mjs +0 -9
  642. package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +0 -2
  643. package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +0 -2
  644. package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +0 -2
  645. package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +0 -50
  646. package/dist/chunks/cli-1.1.13-q1hx591h.mjs +0 -2
  647. package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +0 -2
  648. package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +0 -2
  649. package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +0 -2
  650. package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +0 -9
  651. package/dist/chunks/cli-1.1.13-qr4adses.mjs +0 -2
  652. package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +0 -2
  653. package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +0 -2
  654. package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +0 -3
  655. package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +0 -2
  656. package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +0 -2
  657. package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +0 -2
  658. package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +0 -2
  659. package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +0 -1
  660. package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +0 -24
  661. package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +0 -3
  662. package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +0 -2
  663. package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +0 -2
  664. package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +0 -2
  665. package/dist/chunks/cli-1.1.13-segzta4x.mjs +0 -2
  666. package/dist/chunks/cli-1.1.13-shz97pa0.mjs +0 -2
  667. package/dist/chunks/cli-1.1.13-smefk747.mjs +0 -2
  668. package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +0 -2
  669. package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +0 -2
  670. package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +0 -3
  671. package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +0 -2
  672. package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +0 -4
  673. package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +0 -2
  674. package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +0 -2
  675. package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +0 -24
  676. package/dist/chunks/cli-1.1.13-v2synpdg.mjs +0 -2
  677. package/dist/chunks/cli-1.1.13-vm8xs878.mjs +0 -3
  678. package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +0 -4
  679. package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +0 -45
  680. package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +0 -66
  681. package/dist/chunks/cli-1.1.13-wh5smpta.mjs +0 -2
  682. package/dist/chunks/cli-1.1.13-wje228e3.mjs +0 -2
  683. package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +0 -2
  684. package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +0 -2
  685. package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +0 -58
  686. package/dist/chunks/cli-1.1.13-x663d461.mjs +0 -2
  687. package/dist/chunks/cli-1.1.13-x79qava2.mjs +0 -5413
  688. package/dist/chunks/cli-1.1.13-x83epxhw.mjs +0 -2
  689. package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +0 -6
  690. package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +0 -2
  691. package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +0 -6
  692. package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +0 -2
  693. package/dist/chunks/cli-1.1.13-y5d299s9.mjs +0 -2
  694. package/dist/chunks/cli-1.1.13-y6pa258f.mjs +0 -4
  695. package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +0 -2
  696. package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +0 -2
  697. package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +0 -20
  698. package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +0 -2
  699. package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +0 -2
  700. package/dist/chunks/cli-1.1.13-z9471mhs.mjs +0 -4
  701. package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +0 -4
  702. package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +0 -2
  703. package/dist/chunks/cli-1.1.13-zmb192fn.mjs +0 -18
  704. package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +0 -5
  705. package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +0 -2
  706. package/dist/chunks/client-1.1.13-6axfwqya.mjs +0 -1
  707. package/dist/chunks/color-1.1.13-g1rjvg86.mjs +0 -1
  708. package/dist/chunks/compact-1.1.13-9k4jts81.mjs +0 -3
  709. package/dist/chunks/config-1.1.13-58bj6t43.mjs +0 -1
  710. package/dist/chunks/config-1.1.13-csmwn3d0.mjs +0 -1
  711. package/dist/chunks/constants-1.1.13-cydjncsk.mjs +0 -1
  712. package/dist/chunks/context-1.1.13-04y3svxc.mjs +0 -1
  713. package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +0 -1
  714. package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +0 -1
  715. package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +0 -1
  716. package/dist/chunks/copy-1.1.13-4zq95frp.mjs +0 -9
  717. package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +0 -1
  718. package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +0 -1
  719. package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +0 -1
  720. package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +0 -1
  721. package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +0 -1526
  722. package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +0 -1
  723. package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +0 -1
  724. package/dist/chunks/detection-1.1.13-k5td7n26.mjs +0 -1
  725. package/dist/chunks/diff-1.1.13-d31m696z.mjs +0 -1
  726. package/dist/chunks/doctor-1.1.13-59947n3f.mjs +0 -1
  727. package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +0 -1
  728. package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +0 -1
  729. package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +0 -13
  730. package/dist/chunks/engine-1.1.13-p9g24e16.mjs +0 -1
  731. package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +0 -1
  732. package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +0 -1
  733. package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +0 -1
  734. package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +0 -1
  735. package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +0 -1
  736. package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +0 -1
  737. package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +0 -1
  738. package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +0 -1
  739. package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +0 -1
  740. package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +0 -2
  741. package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +0 -1
  742. package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +0 -1
  743. package/dist/chunks/fast-1.1.13-2an1j0he.mjs +0 -1
  744. package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +0 -14
  745. package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +0 -1
  746. package/dist/chunks/git-1.1.13-n4743t7m.mjs +0 -1
  747. package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +0 -1
  748. package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +0 -4
  749. package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +0 -1
  750. package/dist/chunks/headless-1.1.13-me11khs4.mjs +0 -2
  751. package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +0 -6
  752. package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +0 -1
  753. package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +0 -3
  754. package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +0 -1
  755. package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +0 -79
  756. package/dist/chunks/ide-1.1.13-699b7xgf.mjs +0 -3
  757. package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +0 -1
  758. package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +0 -1
  759. package/dist/chunks/index-1.1.13-1magnv9t.mjs +0 -1
  760. package/dist/chunks/index-1.1.13-20fw0vyg.mjs +0 -1
  761. package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +0 -1
  762. package/dist/chunks/index-1.1.13-5fffrw39.mjs +0 -23
  763. package/dist/chunks/index-1.1.13-7v1v2795.mjs +0 -1
  764. package/dist/chunks/index-1.1.13-89b63y1a.mjs +0 -1
  765. package/dist/chunks/index-1.1.13-9hmkds89.mjs +0 -1
  766. package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +0 -1
  767. package/dist/chunks/index-1.1.13-hvpk64ts.mjs +0 -9
  768. package/dist/chunks/index-1.1.13-pfnaxhas.mjs +0 -9
  769. package/dist/chunks/index-1.1.13-pq81pd76.mjs +0 -2
  770. package/dist/chunks/index-1.1.13-q7xgkez4.mjs +0 -1
  771. package/dist/chunks/index-1.1.13-qed5hqgm.mjs +0 -1
  772. package/dist/chunks/index-1.1.13-qncvk76v.mjs +0 -1
  773. package/dist/chunks/index-1.1.13-qzm5brgp.mjs +0 -2
  774. package/dist/chunks/index-1.1.13-sqz3new4.mjs +0 -1
  775. package/dist/chunks/index-1.1.13-swwn9vsr.mjs +0 -1
  776. package/dist/chunks/index-1.1.13-tseyy72z.mjs +0 -1
  777. package/dist/chunks/index-1.1.13-v219xtkm.mjs +0 -1
  778. package/dist/chunks/index-1.1.13-vbws03kk.mjs +0 -30
  779. package/dist/chunks/index-1.1.13-vpewasbk.mjs +0 -1
  780. package/dist/chunks/index-1.1.13-yncdgpnc.mjs +0 -5
  781. package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +0 -1
  782. package/dist/chunks/init-1.1.13-6m1d58s6.mjs +0 -1
  783. package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +0 -1
  784. package/dist/chunks/ink-1.1.13-vsh153b4.mjs +0 -1
  785. package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +0 -870
  786. package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +0 -1
  787. package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +0 -149
  788. package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +0 -1
  789. package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +0 -1
  790. package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +0 -1
  791. package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +0 -2
  792. package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +0 -2
  793. package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +0 -1
  794. package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +0 -1
  795. package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +0 -1
  796. package/dist/chunks/log-1.1.13-j05vnw45.mjs +0 -1
  797. package/dist/chunks/main-1.1.13-9eb7dv86.mjs +0 -1
  798. package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +0 -1
  799. package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +0 -1
  800. package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +0 -4
  801. package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +0 -17
  802. package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +0 -1
  803. package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +0 -72
  804. package/dist/chunks/model-1.1.13-e9231b6a.mjs +0 -2
  805. package/dist/chunks/model-1.1.13-qkp6et1j.mjs +0 -1
  806. package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +0 -12
  807. package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +0 -1
  808. package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +0 -14
  809. package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +0 -1
  810. package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +0 -1
  811. package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +0 -1
  812. package/dist/chunks/parser-1.1.13-5g8tytma.mjs +0 -1
  813. package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +0 -1
  814. package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +0 -3
  815. package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +0 -1
  816. package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +0 -1
  817. package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +0 -1
  818. package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +0 -29
  819. package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +0 -1
  820. package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +0 -9
  821. package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +0 -2
  822. package/dist/chunks/print-1.1.13-cba5ekrx.mjs +0 -57
  823. package/dist/chunks/process-1.1.13-cavp5bw3.mjs +0 -1
  824. package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +0 -1
  825. package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +0 -9
  826. package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +0 -1
  827. package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +0 -1
  828. package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +0 -1
  829. package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +0 -13
  830. package/dist/chunks/provider-1.1.13-aec8n85t.mjs +0 -2
  831. package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +0 -1
  832. package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +0 -6
  833. package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +0 -1
  834. package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +0 -26
  835. package/dist/chunks/registry-1.1.13-0gr1a931.mjs +0 -1
  836. package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +0 -5
  837. package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +0 -2
  838. package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +0 -1
  839. package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +0 -1
  840. package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +0 -1
  841. package/dist/chunks/rename-1.1.13-7mj7635m.mjs +0 -1
  842. package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +0 -1
  843. package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +0 -1
  844. package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +0 -2
  845. package/dist/chunks/rewind-1.1.13-f1jde571.mjs +0 -1
  846. package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +0 -1
  847. package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +0 -10
  848. package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +0 -1
  849. package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +0 -1
  850. package/dist/chunks/session-1.1.13-je6e2q22.mjs +0 -2
  851. package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +0 -1
  852. package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +0 -1
  853. package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +0 -1
  854. package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +0 -1
  855. package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +0 -5
  856. package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +0 -1
  857. package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +0 -1
  858. package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +0 -1
  859. package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +0 -1
  860. package/dist/chunks/state-1.1.13-m97vrspe.mjs +0 -1
  861. package/dist/chunks/stats-1.1.13-x2ranep4.mjs +0 -6
  862. package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +0 -1
  863. package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +0 -1
  864. package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +0 -1
  865. package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +0 -1
  866. package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +0 -1
  867. package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +0 -1
  868. package/dist/chunks/teleport-1.1.13-fm868anx.mjs +0 -1
  869. package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +0 -1
  870. package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +0 -1
  871. package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +0 -1
  872. package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +0 -1
  873. package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +0 -1
  874. package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +0 -1
  875. package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +0 -1
  876. package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +0 -1
  877. package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +0 -69
  878. package/dist/chunks/types-1.1.13-2f1xtenh.mjs +0 -1
  879. package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +0 -4
  880. package/dist/chunks/update-1.1.13-0hd3pst5.mjs +0 -72
  881. package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +0 -1
  882. package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +0 -7
  883. package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +0 -14
  884. package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +0 -1
  885. package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +0 -1
  886. package/dist/chunks/util-1.1.13-vzt92dj7.mjs +0 -1
  887. package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +0 -1
  888. package/dist/chunks/vim-1.1.13-1d635y0m.mjs +0 -1
  889. package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +0 -13
  890. package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +0 -1
  891. package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +0 -132
  892. package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +0 -1
  893. package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +0 -1
  894. package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +0 -1
  895. package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +0 -7
  896. /package/dist/chunks/{cli-1.1.13-v06xvs9s.mjs → cli-1.1.14-3cc8a830.mjs} +0 -0
  897. /package/dist/chunks/{cli-1.1.13-xpwxcmvd.mjs → cli-1.1.14-7nz1bnsz.mjs} +0 -0
  898. /package/dist/chunks/{cli-1.1.13-hb5bb8jk.mjs → cli-1.1.14-835c2y60.mjs} +0 -0
  899. /package/dist/chunks/{cli-1.1.13-8812dqjq.mjs → cli-1.1.14-a39264wz.mjs} +0 -0
  900. /package/dist/chunks/{cli-1.1.13-v32emtk0.mjs → cli-1.1.14-jw4b6h9t.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.1.13-e4hsds4b.mjs → cli-1.1.14-nhbccarx.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.1.13-jdcqc6bd.mjs → cli-1.1.14-r930b2z3.mjs} +0 -0
@@ -0,0 +1,110 @@
1
+ import{Rc as $Q,Sc as I0,Tc as rQ,Uc as VZ,Vc as GZ,Wc as RZ}from"./cli-1.1.14-6vr1y1hr.mjs";import{Xc as z0,Yc as iq}from"./cli-1.1.14-s2tegwye.mjs";import"./cli-1.1.14-ksk5rch9.mjs";import"./cli-1.1.14-ac5krqkz.mjs";import{dd as gZ,ed as uq}from"./cli-1.1.14-ac4030sa.mjs";import{xg as IQ,yg as oJ,zg as VQ}from"./cli-1.1.14-g7acy34j.mjs";import{$u as $0,$z as l0,Au as EX,Bu as tX,Cu as jQ,DR as TZ,Dn as eX,En as Pq,Fk as yZ,Gu as E0,Hn as xZ,Hx as eJ,Ik as yq,In as Tq,Iu as dq,Ix as sJ,Ju as rJ,Ku as iQ,Kx as zQ,Lu as UQ,MR as Sq,Mu as JZ,Nu as LQ,Ou as nJ,Pn as n,Qn as CJ,RN as _Z,RT as mZ,Rn as o,Ru as k0,ST as pq,Sn as zJ,Su as N0,TN as hq,Tn as XJ,UI as dX,Un as IJ,VC as cX,VI as t0,WC as o0,WH as cZ,XH as mq,XM as cQ,XN as jZ,Xn as wJ,Xu as XQ,YI as iX,Yn as lQ,ZF as TJ,ZI as Jq,_F as bQ,_N as _q,_u as jX,_z as pX,aA as TX,aK as hZ,am as WQ,ax as OQ,bA as r0,bm as nZ,bx as wX,cm as _Q,cx as SQ,dN as Zq,dx as AZ,ex as Aq,fA as mX,fN as rX,gA as n0,gN as qq,hA as uX,hG as bJ,iA as s0,iG as qQ,lA as xX,lD as gX,lJ as $X,mA as a0,mD as e0,mJ as Qq,nJ as lX,oJ as Xq,pR as aX,qR as Oq,qy as kX,sy as c0,uK as _0,ux as SX,vx as MQ,wN as nX,xK as XY,xN as Yq,xx as pQ,yu as DX,zu as TQ}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import{hY as t,jY as DJ,mY as hJ,nY as GQ,tY as uJ,uY as xQ}from"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import{I0 as M,K0 as L,c1 as C0,jZ as UJ,n1 as GJ}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import{K3 as RJ,L3 as X,M3 as F,N3 as j}from"./cli-1.1.14-az6pbe66.mjs";import{O3 as EJ}from"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import{S8 as SJ,T8 as dQ}from"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{$$ as AX,Bca as hX,Gda as pJ,Kaa as oX,Nca as fX,Nda as fQ,Oca as _X,Rea as cq,Saa as Mq,Waa as UX,Wca as BX,Yaa as p0,Z$ as iJ,d_ as YJ,e_ as ZQ,pga as CQ,rca as uQ,tea as P0,xca as i0,xga as gq,yca as YQ}from"./cli-1.1.14-q1kc6b8n.mjs";import{Fga as XX,Oga as b0,Uga as kZ}from"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import{Dia as QQ,Fia as RX}from"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import{rja as BQ,uja as fZ}from"./cli-1.1.14-f5bvc359.mjs";import{_ja as ZX,cka as Cq}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import{$ka as hQ,Kka as uZ,Tka as M0,Vka as AQ}from"./cli-1.1.14-fwakcyhj.mjs";import{cla as GX,nla as S0}from"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as s,Esa as r}from"./cli-1.1.14-r930b2z3.mjs";var AJ;var VX=r(()=>{AJ={FOLDER_NAME:".claudin",AGENTS_DIR:"agents"}});import{mkdir as T0,open as m0,unlink as u0}from"fs/promises";import{join as _J}from"path";function LX(Q,J,q,Y,V,Z,G){let U=J.replace(/\\/g,"\\\\").replace(/"/g,"\\\"").replace(/\n/g,"\\\\n"),W=q===void 0||q.length===1&&q[0]==="*"?"":`
2
+ tools: ${q.join(", ")}`,O=G!==void 0?`
3
+ effort: ${G}`:"",K=V?`
4
+ color: ${V}`:"",R=Z?`
5
+ memory: ${Z}`:"";return`---
6
+ name: ${Q}
7
+ description: "${U}"${W}${O}${K}${R}
8
+ ---
9
+
10
+ ${Y}
11
+ `}function FQ(Q){switch(Q){case"flagSettings":throw Error(`Cannot get directory path for ${Q} agents`);case"userSettings":return _J(GX(),AJ.AGENTS_DIR);case"projectSettings":return _J(QQ(),AJ.FOLDER_NAME,AJ.AGENTS_DIR);case"policySettings":return _J(UX(),AJ.FOLDER_NAME,AJ.AGENTS_DIR);case"localSettings":return _J(QQ(),AJ.FOLDER_NAME,AJ.AGENTS_DIR)}}function FX(Q){switch(Q){case"projectSettings":return _J(".",AJ.FOLDER_NAME,AJ.AGENTS_DIR);default:return FQ(Q)}}function KQ(Q){let J=FQ(Q.source);return _J(J,`${Q.agentType}.md`)}function HQ(Q){if(Q.source==="built-in")return"Built-in";if(Q.source==="plugin")throw Error("Cannot get file path for plugin agents");let J=FQ(Q.source),q=Q.filename||Q.agentType;return _J(J,`${q}.md`)}function KX(Q){if(Q.source==="built-in")return"Built-in";let J=FX(Q.source);return _J(J,`${Q.agentType}.md`)}function HX(Q){if(UQ(Q))return"Built-in";if(LQ(Q))return`Plugin: ${Q.plugin||"Unknown"}`;if(Q.source==="flagSettings")return"CLI argument";let J=FX(Q.source),q=Q.filename||Q.agentType;return _J(J,`${q}.md`)}async function x0(Q){let J=FQ(Q);return await T0(J,{recursive:!0}),J}async function WX(Q,J,q,Y,V,Z=!0,G,U,H){if(Q==="built-in")throw Error("Cannot save built-in agents");await x0(Q);let W=KQ({source:Q,agentType:J}),O=LX(J,q,Y,V,G,U,H);try{await PX(W,O,Z?"wx":"w")}catch(K){if(AQ(K)==="EEXIST")throw Error(`Agent file already exists: ${W}`);throw K}}async function OX(Q,J,q,Y,V,Z,G){if(Q.source==="built-in")throw Error("Cannot update built-in agents");let U=HQ(Q),H=LX(Q.agentType,J,q,Y,V,Z,G);await PX(U,H)}async function MX(Q){if(Q.source==="built-in")throw Error("Cannot delete built-in agents");let J=HQ(Q);try{await u0(J)}catch(q){if(AQ(q)!=="ENOENT")throw q}}async function PX(Q,J,q="w"){let Y=await m0(Q,q);try{await Y.writeFile(J,{encoding:"utf-8"}),await Y.datasync()}finally{await Y.close()}}var cJ=r(()=>{p0();XQ();RX();S0();hQ();VX()});function zX(Q){let J=NX.c(48),{agent:q,tools:Y,onBack:V}=Q,Z=MQ(q,Y,!1),G;if(J[0]!==q)G=HX(q),J[0]=q,J[1]=G;else G=J[1];let U=G,H;if(J[2]!==q.agentType)H=EX(q.agentType),J[2]=q.agentType,J[3]=H;else H=J[3];let W=H,O;if(J[4]===Symbol.for("react.memo_cache_sentinel"))O={context:"Confirmation"},J[4]=O;else O=J[4];t("confirm:no",V,O);let K;if(J[5]!==V)K=(w)=>{if(w.key==="return")w.preventDefault(),V()},J[5]=V,J[6]=K;else K=J[6];let R=K,z=function(){if(Z.hasWildcard)return X(L,{children:"All tools"});if(!q.tools||q.tools.length===0)return X(L,{children:"None"});return F(RJ,{children:[Z.validTools.length>0&&X(L,{children:Z.validTools.join(", ")}),Z.invalidTools.length>0&&F(L,{color:"warning",children:[YJ.warning," Unrecognized:"," ",Z.invalidTools.join(", ")]})]})},E=M,C="column",y=1,I=0,v=!0,P;if(J[7]!==U)P=X(L,{dimColor:!0,children:U}),J[7]=U,J[8]=P;else P=J[8];let f;if(J[9]===Symbol.for("react.memo_cache_sentinel"))f=F(L,{children:[X(L,{bold:!0,children:"Description"})," (tells Claude when to use this agent):"]}),J[9]=f;else f=J[9];let b;if(J[10]!==q.whenToUse)b=F(M,{flexDirection:"column",children:[f,X(M,{marginLeft:2,children:X(L,{children:q.whenToUse})})]}),J[10]=q.whenToUse,J[11]=b;else b=J[11];let S=M,k;if(J[12]===Symbol.for("react.memo_cache_sentinel"))k=F(L,{children:[X(L,{bold:!0,children:"Tools"}),":"," "]}),J[12]=k;else k=J[12];let g=z(),A;if(J[13]!==S||J[14]!==k||J[15]!==g)A=F(S,{children:[k,g]}),J[13]=S,J[14]=k,J[15]=g,J[16]=A;else A=J[16];let d;if(J[17]===Symbol.for("react.memo_cache_sentinel"))d=X(L,{bold:!0,children:"Model"}),J[17]=d;else d=J[17];let i;if(J[18]!==q.model)i=OQ(q.model),J[18]=q.model,J[19]=i;else i=J[19];let l;if(J[20]!==i)l=F(L,{children:[d,": ",i]}),J[20]=i,J[21]=l;else l=J[21];let c;if(J[22]!==q.permissionMode)c=q.permissionMode&&F(L,{children:[X(L,{bold:!0,children:"Permission mode"}),": ",q.permissionMode]}),J[22]=q.permissionMode,J[23]=c;else c=J[23];let N;if(J[24]!==q.memory)N=q.memory&&F(L,{children:[X(L,{bold:!0,children:"Memory"}),": ",WQ(q.memory)]}),J[24]=q.memory,J[25]=N;else N=J[25];let p;if(J[26]!==q.hooks)p=q.hooks&&Object.keys(q.hooks).length>0&&F(L,{children:[X(L,{bold:!0,children:"Hooks"}),": ",Object.keys(q.hooks).join(", ")]}),J[26]=q.hooks,J[27]=p;else p=J[27];let B;if(J[28]!==q.skills)B=q.skills&&q.skills.length>0&&F(L,{children:[X(L,{bold:!0,children:"Skills"}),":"," ",q.skills.length>10?`${q.skills.length} skills`:q.skills.join(", ")]}),J[28]=q.skills,J[29]=B;else B=J[29];let D;if(J[30]!==q.agentType||J[31]!==W)D=W&&X(M,{children:F(L,{children:[X(L,{bold:!0,children:"Color"}),":"," ",F(L,{backgroundColor:W,color:"inverseText",children:[" ",q.agentType," "]})]})}),J[30]=q.agentType,J[31]=W,J[32]=D;else D=J[32];let x;if(J[33]!==q)x=!UQ(q)&&F(RJ,{children:[X(M,{children:F(L,{children:[X(L,{bold:!0,children:"System prompt"}),":"]})}),X(M,{marginLeft:2,marginRight:2,children:X(kX,{children:q.getSystemPrompt()})})]}),J[33]=q,J[34]=x;else x=J[34];let T;if(J[35]!==E||J[36]!==R||J[37]!==b||J[38]!==A||J[39]!==l||J[40]!==c||J[41]!==N||J[42]!==p||J[43]!==B||J[44]!==D||J[45]!==x||J[46]!==P)T=F(E,{flexDirection:C,gap:y,tabIndex:I,autoFocus:v,onKeyDown:R,children:[P,b,A,l,c,N,p,B,D,x]}),J[35]=E,J[36]=R,J[37]=b,J[38]=A,J[39]=l,J[40]=c,J[41]=N,J[42]=p,J[43]=B,J[44]=D,J[45]=x,J[46]=P,J[47]=T;else T=J[47];return T}var NX;var IX=r(()=>{ZQ();GJ();DJ();jQ();_Q();pQ();XQ();SQ();c0();cJ();j();NX=s(UJ(),1)});function PQ(Q){let J=bX.c(17),{agentName:q,currentColor:Y,onConfirm:V}=Q,Z=Y===void 0?"automatic":Y,G;if(J[0]!==Z)G=gJ.findIndex((I)=>I===Z),J[0]=Z,J[1]=G;else G=J[1];let[U,H]=vX.useState(Math.max(0,G)),W;if(J[2]!==V||J[3]!==U)W=(I)=>{if(I.key==="up")I.preventDefault(),H(d0);else if(I.key==="down")I.preventDefault(),H(g0);else if(I.key==="return"){I.preventDefault();let v=gJ[U];V(v==="automatic"?void 0:v)}},J[2]=V,J[3]=U,J[4]=W;else W=J[4];let O=W,K=gJ[U],R;if(J[5]!==U)R=gJ.map((I,v)=>{let P=v===U;return F(M,{flexDirection:"row",gap:1,children:[X(L,{color:P?"suggestion":void 0,children:P?YJ.pointer:" "}),I==="automatic"?X(L,{bold:P,children:"Automatic color"}):F(M,{gap:1,children:[X(L,{backgroundColor:TQ[I],color:"inverseText",children:" "}),X(L,{bold:P,children:fX(I)})]})]},I)}),J[5]=U,J[6]=R;else R=J[6];let z;if(J[7]!==R)z=X(M,{flexDirection:"column",children:R}),J[7]=R,J[8]=z;else z=J[8];let E;if(J[9]===Symbol.for("react.memo_cache_sentinel"))E=X(L,{children:"Preview: "}),J[9]=E;else E=J[9];let C;if(J[10]!==q||J[11]!==K)C=F(M,{marginTop:1,children:[E,K===void 0||K==="automatic"?F(L,{inverse:!0,bold:!0,children:[" ","@",q," "]}):F(L,{backgroundColor:TQ[K],color:"inverseText",bold:!0,children:[" ","@",q," "]})]}),J[10]=q,J[11]=K,J[12]=C;else C=J[12];let y;if(J[13]!==O||J[14]!==z||J[15]!==C)y=F(M,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:O,children:[z,C]}),J[13]=O,J[14]=z,J[15]=C,J[16]=y;else y=J[16];return y}function g0(Q){return Q<gJ.length-1?Q+1:0}function d0(Q){return Q>0?Q-1:gJ.length-1}var bX,vX,gJ;var mQ=r(()=>{ZQ();GJ();jQ();BX();j();bX=s(UJ(),1),vX=s(EJ(),1),gJ=["automatic",...DX]});function dJ(Q){let J=CX.c(11),{initialModel:q,onComplete:Y,onCancel:V}=Q,Z;if(J[0]!==q){J:{let K=wX();if(q&&!K.some((R)=>R.value===q)){Z=[{value:q,label:q,description:"Current model (custom ID)"},...K];break J}Z=K}J[0]=q,J[1]=Z}else Z=J[1];let G=Z,U=q??"inherit",H;if(J[2]===Symbol.for("react.memo_cache_sentinel"))H=X(M,{marginBottom:1,children:X(L,{dimColor:!0,children:"Model determines the agent's reasoning capabilities and speed."})}),J[2]=H;else H=J[2];let W;if(J[3]!==V||J[4]!==Y)W=()=>V?V():Y(void 0),J[3]=V,J[4]=Y,J[5]=W;else W=J[5];let O;if(J[6]!==U||J[7]!==G||J[8]!==Y||J[9]!==W)O=F(M,{flexDirection:"column",children:[H,X(bJ,{options:G,defaultValue:U,onChange:Y,onCancel:W})]}),J[6]=U,J[7]=G,J[8]=Y,J[9]=W,J[10]=O;else O=J[10];return O}var CX;var EQ=r(()=>{GJ();SQ();qQ();j();CX=s(UJ(),1)});function yX(){return{READ_ONLY:{name:"Read-only tools",toolNames:new Set([uX.name,mX.name,aX.name,gX.name,dX.name,jX.name,lX.name,iX.name,$X.name,rX.name,nX.name])},EDIT:{name:"Edit tools",toolNames:new Set([pX.name,TX.name,xX.name])},EXECUTION:{name:"Execution tools",toolNames:new Set([cX.name])},MCP:{name:"MCP tools",toolNames:new Set,isMcp:!0},OTHER:{name:"Other tools",toolNames:new Set}}}function Vq(Q){let J=new Map;return Q.forEach((q)=>{if(cQ(q)){let Y=uQ(q.name);if(Y?.serverName){let V=J.get(Y.serverName)||[];V.push(q),J.set(Y.serverName,V)}}}),Array.from(J.entries()).map(([q,Y])=>({serverName:q,tools:Y})).sort((q,Y)=>q.serverName.localeCompare(Y.serverName))}function kQ(Q){let J=sX.c(69),{tools:q,initialTools:Y,onComplete:V,onCancel:Z}=Q,G;if(J[0]!==q)G=SX({tools:q,isBuiltIn:!1,isAsync:!1}),J[0]=q,J[1]=G;else G=J[1];let U=G,H;if(J[2]!==U||J[3]!==Y)H=!Y||Y.includes("*")?U.map(Wq):Y,J[2]=U,J[3]=Y,J[4]=H;else H=J[4];let W=H,[O,K]=$J.useState(W),[R,z]=$J.useState(0),[E,C]=$J.useState(!1),y;if(J[5]!==U)y=new Set(U.map(Hq)),J[5]=U,J[6]=y;else y=J[6];let I=y,v;if(J[7]!==O||J[8]!==I){let u;if(J[10]!==I)u=(h)=>I.has(h),J[10]=I,J[11]=u;else u=J[11];v=O.filter(u),J[7]=O,J[8]=I,J[9]=v}else v=J[9];let P=v,f;if(J[12]!==P)f=new Set(P),J[12]=P,J[13]=f;else f=J[13];let b=f,S=P.length===U.length&&U.length>0,k;if(J[14]===Symbol.for("react.memo_cache_sentinel"))k=(u)=>{if(!u)return;K((h)=>h.includes(u)?h.filter((qJ)=>qJ!==u):[...h,u])},J[14]=k;else k=J[14];let g=k,A;if(J[15]===Symbol.for("react.memo_cache_sentinel"))A=(u,h)=>{K((qJ)=>{if(h){let QJ=u.filter((fJ)=>!qJ.includes(fJ));return[...qJ,...QJ]}else return qJ.filter((QJ)=>!u.includes(QJ))})},J[15]=A;else A=J[15];let d=A,i;if(J[16]!==U||J[17]!==V||J[18]!==P)i=()=>{let u=U.map(Kq),qJ=P.length===u.length&&u.every((QJ)=>P.includes(QJ))?void 0:P;V(qJ)},J[16]=U,J[17]=V,J[18]=P,J[19]=i;else i=J[19];let l=i,c;if(J[20]!==U){let u=yX();c={readOnly:[],edit:[],execution:[],mcp:[],other:[]},U.forEach((h)=>{if(cQ(h))c.mcp.push(h);else if(u.READ_ONLY.toolNames.has(h.name))c.readOnly.push(h);else if(u.EDIT.toolNames.has(h.name))c.edit.push(h);else if(u.EXECUTION.toolNames.has(h.name))c.execution.push(h);else if(h.name!==YQ)c.other.push(h)}),J[20]=U,J[21]=c}else c=J[21];let N=c,p;if(J[22]!==b)p=(u)=>{let qJ=iJ(u,(QJ)=>b.has(QJ.name))<u.length;return()=>{let QJ=u.map(Fq);d(QJ,qJ)}},J[22]=b,J[23]=p;else p=J[23];let B=p,D;if(J[24]!==B||J[25]!==U||J[26]!==R||J[27]!==l||J[28]!==S||J[29]!==b||J[30]!==E||J[31]!==N.edit||J[32]!==N.execution||J[33]!==N.mcp||J[34]!==N.other||J[35]!==N.readOnly){D=[],D.push({id:"continue",label:"Continue",action:l,isContinue:!0});let u;if(J[37]!==U||J[38]!==S)u=()=>{let PJ=U.map(Lq);d(PJ,!S)},J[37]=U,J[38]=S,J[39]=u;else u=J[39];D.push({id:"bucket-all",label:`${S?YJ.checkboxOn:YJ.checkboxOff} All tools`,action:u});let h=yX();[{id:"bucket-readonly",name:h.READ_ONLY.name,tools:N.readOnly},{id:"bucket-edit",name:h.EDIT.name,tools:N.edit},{id:"bucket-execution",name:h.EXECUTION.name,tools:N.execution},{id:"bucket-mcp",name:h.MCP.name,tools:N.mcp},{id:"bucket-other",name:h.OTHER.name,tools:N.other}].forEach((PJ)=>{let{id:mJ,name:BJ,tools:tJ}=PJ;if(tJ.length===0)return;let JQ=iJ(tJ,(j0)=>b.has(j0.name))===tJ.length;D.push({id:mJ,label:`${JQ?YJ.checkboxOn:YJ.checkboxOff} ${BJ}`,action:B(tJ)})});let QJ=D.length,fJ;if(J[40]!==R||J[41]!==E||J[42]!==QJ)fJ=()=>{if(C(!E),E&&R>QJ)z(QJ)},J[40]=R,J[41]=E,J[42]=QJ,J[43]=fJ;else fJ=J[43];D.push({id:"toggle-individual",label:E?"Hide advanced options":"Show advanced options",action:fJ,isToggle:!0});let YX=Vq(U);if(E){if(YX.length>0)D.push({id:"mcp-servers-header",label:"MCP Servers:",action:Uq,isHeader:!0}),YX.forEach((PJ)=>{let{serverName:mJ,tools:BJ}=PJ,yQ=iJ(BJ,(JQ)=>b.has(JQ.name))===BJ.length;D.push({id:`mcp-server-${mJ}`,label:`${yQ?YJ.checkboxOn:YJ.checkboxOff} ${mJ} (${BJ.length} ${_X(BJ.length,"tool")})`,action:()=>{let JQ=BJ.map(Rq);d(JQ,!yQ)}})}),D.push({id:"tools-header",label:"Individual Tools:",action:Gq,isHeader:!0});U.forEach((PJ)=>{let mJ=PJ.name;if(PJ.name.startsWith("mcp__")){let BJ=uQ(PJ.name);mJ=BJ?`${BJ.toolName} (${BJ.serverName})`:PJ.name}D.push({id:`tool-${PJ.name}`,label:`${b.has(PJ.name)?YJ.checkboxOn:YJ.checkboxOff} ${mJ}`,action:()=>g(PJ.name)})})}J[24]=B,J[25]=U,J[26]=R,J[27]=l,J[28]=S,J[29]=b,J[30]=E,J[31]=N.edit,J[32]=N.execution,J[33]=N.mcp,J[34]=N.other,J[35]=N.readOnly,J[36]=D}else D=J[36];let x;if(J[44]!==Y||J[45]!==Z||J[46]!==V)x=()=>{if(Z)Z();else V(Y)},J[44]=Y,J[45]=Z,J[46]=V,J[47]=x;else x=J[47];let T=x,w;if(J[48]===Symbol.for("react.memo_cache_sentinel"))w={context:"Confirmation"},J[48]=w;else w=J[48];t("confirm:no",T,w);let m;if(J[49]!==R||J[50]!==D)m=(u)=>{if(u.key==="return"){u.preventDefault();let h=D[R];if(h&&!h.isHeader)h.action()}else if(u.key==="up"){u.preventDefault();let h=R-1;while(h>0&&D[h]?.isHeader)h--;z(Math.max(0,h))}else if(u.key==="down"){u.preventDefault();let h=R+1;while(h<D.length-1&&D[h]?.isHeader)h++;z(Math.min(D.length-1,h))}},J[49]=R,J[50]=D,J[51]=m;else m=J[51];let _=m,$=R===0?"suggestion":void 0,a=R===0,JJ=R===0?`${YJ.pointer} `:" ",VJ;if(J[52]!==$||J[53]!==a||J[54]!==JJ)VJ=F(L,{color:$,bold:a,children:[JJ,"[ Continue ]"]}),J[52]=$,J[53]=a,J[54]=JJ,J[55]=VJ;else VJ=J[55];let MJ;if(J[56]===Symbol.for("react.memo_cache_sentinel"))MJ=X(uJ,{width:40}),J[56]=MJ;else MJ=J[56];let LJ;if(J[57]!==D)LJ=D.slice(1),J[57]=D,J[58]=LJ;else LJ=J[58];let HJ;if(J[59]!==R||J[60]!==LJ)HJ=LJ.map((u,h)=>{let qJ=h+1===R,QJ=u.isToggle,fJ=u.isHeader;return F($J.default.Fragment,{children:[QJ&&X(uJ,{width:40}),fJ&&h>0&&X(M,{marginTop:1}),F(L,{color:fJ?void 0:qJ?"suggestion":void 0,dimColor:fJ,bold:QJ&&qJ,children:[fJ?"":qJ?`${YJ.pointer} `:" ",QJ?`[ ${u.label} ]`:u.label]})]},u.id)}),J[59]=R,J[60]=LJ,J[61]=HJ;else HJ=J[61];let WJ=S?"All tools selected":`${b.size} of ${U.length} tools selected`,FJ;if(J[62]!==WJ)FJ=X(M,{marginTop:1,flexDirection:"column",children:X(L,{dimColor:!0,children:WJ})}),J[62]=WJ,J[63]=FJ;else FJ=J[63];let KJ;if(J[64]!==_||J[65]!==VJ||J[66]!==HJ||J[67]!==FJ)KJ=F(M,{flexDirection:"column",marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:_,children:[VJ,MJ,HJ,FJ]}),J[64]=_,J[65]=VJ,J[66]=HJ,J[67]=FJ,J[68]=KJ;else KJ=J[68];return KJ}function Gq(){}function Rq(Q){return Q.name}function Uq(){}function Lq(Q){return Q.name}function Fq(Q){return Q.name}function Kq(Q){return Q.name}function Hq(Q){return Q.name}function Wq(Q){return Q.name}var sX,$J;var gQ=r(()=>{ZQ();i0();Zq();pQ();hX();o0();Oq();l0();e0();r0();s0();n0();qq();a0();Yq();Qq();Jq();$0();t0();Xq();GJ();DJ();AX();BX();xQ();j();sX=s(UJ(),1),$J=s(EJ(),1)});function lJ(Q){if(Q==="all")return"Agents";if(Q==="built-in")return"Built-in agents";if(Q==="plugin")return"Plugin agents";return eX(oX(Q))}var NQ=r(()=>{Pq();Mq()});function QZ({agent:Q,tools:J,onSaved:q,onBack:Y}){let V=sJ(),[Z,G]=NJ.useState("menu"),[U,H]=NJ.useState(0),[W,O]=NJ.useState(null),[K,R]=NJ.useState(Q.color),z=NJ.useCallback(async()=>{let P=HQ(Q),f=await IQ(P);if(f.error)O(f.error);else q(`Opened ${Q.agentType} in editor. If you made edits, restart to load the latest version.`)},[Q,q]),E=NJ.useCallback(async(P={})=>{let{tools:f,color:b,model:S}=P,k=b??K,g=f!==void 0,A=S!==void 0,d=k!==Q.color;if(!g&&!A&&!d)return!1;try{if(!JZ(Q)&&!LQ(Q))return!1;if(g||d)await OX(Q,Q.whenToUse,f??Q.tools,Q.getSystemPrompt(),k);if(A&&Q.baseDir)await rJ(Q.baseDir,Q.agentType,S);if(d&&k)tX(Q.agentType,k);return V((i)=>{let l=i.agentDefinitions.allAgents.map((c)=>c.agentType===Q.agentType?{...c,tools:f??c.tools,color:k,model:S??c.model}:c);return{...i,agentDefinitions:{...i.agentDefinitions,activeAgents:nJ(l),allAgents:l}}}),q(`Updated agent: ${SJ.bold(Q.agentType)}`),!0}catch(i){return O(i instanceof Error?i.message:"Failed to save agent"),!1}},[Q,K,q,V]),C=NJ.useMemo(()=>[{label:"Open in editor",action:z},{label:"Edit tools",action:()=>G("edit-tools")},{label:"Edit model",action:()=>G("edit-model")},{label:"Edit color",action:()=>G("edit-color")}],[z]),y=NJ.useCallback(()=>{if(O(null),Z==="menu")Y();else G("menu")},[Z,Y]),I=NJ.useCallback((P)=>{if(P.key==="up")P.preventDefault(),H((f)=>Math.max(0,f-1));else if(P.key==="down")P.preventDefault(),H((f)=>Math.min(C.length-1,f+1));else if(P.key==="return"){P.preventDefault();let f=C[U];if(f)f.action()}},[C,U]);t("confirm:no",y,{context:"Confirmation"});let v=()=>F(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:I,children:[F(L,{dimColor:!0,children:["Source: ",lJ(Q.source)]}),X(M,{marginTop:1,flexDirection:"column",children:C.map((P,f)=>F(L,{color:f===U?"suggestion":void 0,children:[f===U?`${YJ.pointer} `:" ",P.label]},P.label))}),W&&X(M,{marginTop:1,children:X(L,{color:"error",children:W})})]});switch(Z){case"menu":return v();case"edit-tools":return X(kQ,{tools:J,initialTools:Q.tools,onComplete:async(P)=>{G("menu"),await E({tools:P})}});case"edit-color":return X(PQ,{agentName:Q.agentType,currentColor:K||Q.color||"automatic",onConfirm:async(P)=>{R(P),G("menu"),await E({color:P})}});case"edit-model":return X(dJ,{initialModel:Q.model,onComplete:async(P)=>{G("menu"),await E({model:P})}});default:return null}}var NJ;var XZ=r(()=>{dQ();ZQ();zQ();GJ();DJ();jQ();XQ();VQ();iQ();cJ();mQ();EQ();gQ();NQ();j();NJ=s(EJ(),1)});function xJ(Q){let J=ZZ.c(2),{instructions:q}=Q,Y=q===void 0?"Press ↑↓ to navigate · Enter to select · Esc to go back":q,V=hJ(),Z=V.pending?`Press ${V.keyName} again to exit`:Y,G;if(J[0]!==Z)G=X(M,{marginLeft:2,children:X(L,{dimColor:!0,children:Z})}),J[0]=Z,J[1]=G;else G=J[1];return G}var ZZ;var qZ=r(()=>{GQ();GJ();j();ZZ=s(UJ(),1)});function YZ(Q,J){if(Q.length<=J)return Q;if(J<=1)return Q.slice(0,J);return`${Q.slice(0,J-1)}…`}function UZ(Q){return{isOverridden:!!Q.overriddenBy,overriddenBy:Q.overriddenBy||null}}function Nq(Q){let J=Eq,q=kq;for(let Y of Q){if(Y.agentType.length>J)J=Y.agentType.length;let V=rQ(Y);if(V&&V.length>q)q=V.length}return{name:Math.min(J,32),model:Math.min(q,28)}}function zq({agent:Q,isSelected:J,dimmed:q,widths:Y,selectable:V}){let{isOverridden:Z,overriddenBy:G}=UZ(Q),U=q&&!J,H=V&&J?"suggestion":void 0,W=rQ(Q)??"",O=V?J?`${YJ.pointer} `:" ":"";return F(M,{flexDirection:"row",children:[X(M,{width:Y.name+(V?2:0),flexShrink:0,children:F(L,{dimColor:U,color:H,children:[O,YZ(Q.agentType,Y.name)]})}),X(M,{width:Y.model+2,flexShrink:0,children:X(L,{dimColor:!0,color:H,children:YZ(W,Y.model)})}),G&&X(M,{flexShrink:0,children:F(L,{dimColor:!J,color:J?"warning":void 0,children:[YJ.warning," shadowed by ",VZ(G)]})})]},`${Q.agentType}-${Q.source}`)}function RQ({widths:Q,selectable:J}){return F(M,{flexDirection:"row",children:[X(M,{width:Q.name+(J?2:0),flexShrink:0,children:X(L,{dimColor:!0,children:J?" Name":"Name"})}),X(M,{width:Q.model+2,flexShrink:0,children:X(L,{dimColor:!0,children:"Model"})})]})}function LZ({source:Q,agents:J,onBack:q,onSelect:Y,onCreateNew:V,changes:Z}){let[G,U]=vJ.useState(null),[H,W]=vJ.useState(!0),O=vJ.useMemo(()=>[...J].sort(GZ),[J]),K=vJ.useMemo(()=>Nq(O),[O]),R=vJ.useMemo(()=>{if(Q==="all")return $Q.flatMap(({source:A})=>O.filter((d)=>d.source===A));if(Q==="built-in")return O.filter((A)=>A.source==="built-in");let k=O.filter((A)=>A.source!=="built-in"),g=O.filter((A)=>A.source==="built-in");return[...k,...g]},[O,Q]);vJ.useEffect(()=>{if(!G&&!H&&R.length>0)if(V)W(!0);else U(R[0]||null)},[R,G,H,V]);let z=(k)=>{if(k.key==="return"){if(k.preventDefault(),H&&V)V();else if(G)Y(G);return}if(k.key!=="up"&&k.key!=="down")return;k.preventDefault();let g=!!V,A=R.length+(g?1:0);if(A===0)return;let d=0;if(!H&&G){let l=R.findIndex((c)=>c.agentType===G.agentType&&c.source===G.source);if(l>=0)d=g?l+1:l}let i=k.key==="up"?d===0?A-1:d-1:d===A-1?0:d+1;if(g&&i===0)W(!0),U(null);else{let l=g?i-1:i,c=R[l];if(c)W(!1),U(c)}},E=()=>F(M,{children:[X(L,{color:H?"suggestion":void 0,children:H?`${YJ.pointer} `:" "}),X(L,{color:H?"suggestion":void 0,children:"Create new agent"})]}),C=(k)=>{let g=!H&&G?.agentType===k.agentType&&G?.source===k.source,{isOverridden:A}=UZ(k);return X(zq,{agent:k,isSelected:!!g,dimmed:A,widths:K,selectable:!0},`${k.agentType}-${k.source}`)},y=(k="Built-in (always available):")=>{let g=O.filter((A)=>A.source==="built-in");if(g.length===0)return null;return F(M,{flexDirection:"column",marginBottom:1,paddingLeft:2,children:[X(L,{bold:!0,dimColor:!0,children:k}),X(RQ,{widths:K,selectable:!0}),g.map(C)]})},I=(k,g)=>{if(!g.length)return null;let A=g[0]?.baseDir;return F(M,{flexDirection:"column",marginBottom:1,children:[F(M,{paddingLeft:2,children:[X(L,{bold:!0,dimColor:!0,children:k}),A&&F(L,{dimColor:!0,children:[" (",A,")"]})]}),X(M,{paddingLeft:2,children:X(RQ,{widths:K,selectable:!0})}),g.map(C)]})},v=lJ(Q),P=O.filter((k)=>k.source==="built-in");if(!O.length||Q!=="built-in"&&!O.some((k)=>k.source!=="built-in"))return X(wJ,{title:v,subtitle:"No agents found",onCancel:q,hideInputGuide:!0,children:F(M,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:z,children:[V&&X(M,{children:E()}),X(L,{dimColor:!0,children:"No agents found. Create specialized subagents that Claude can delegate to."}),X(L,{dimColor:!0,children:"Each subagent has its own context window, custom system prompt, and specific tools."}),X(L,{dimColor:!0,children:"Try creating: Code Reviewer, Code Simplifier, Security Reviewer, Tech Lead, or UX Reviewer."}),Q!=="built-in"&&O.some((k)=>k.source==="built-in")&&y()]})});let b=iJ(O,(k)=>!k.overriddenBy),S;if(Q==="all")S=F(RJ,{children:[$Q.filter((k)=>k.source!=="built-in").map(({label:k,source:g})=>X(vJ.Fragment,{children:I(k,O.filter((A)=>A.source===g))},g)),P.length>0&&F(M,{flexDirection:"column",marginBottom:1,paddingLeft:2,children:[F(L,{dimColor:!0,children:[X(L,{bold:!0,children:"Built-in agents"})," (always available)"]}),X(RQ,{widths:K,selectable:!0}),P.map(C)]})]});else if(Q==="built-in")S=F(RJ,{children:[X(L,{dimColor:!0,italic:!0,children:"Select a built-in agent and press Enter to change its model."}),F(M,{marginTop:1,flexDirection:"column",children:[X(RQ,{widths:K,selectable:!0}),O.map(C)]})]});else S=F(RJ,{children:[F(M,{flexDirection:"column",children:[X(RQ,{widths:K,selectable:!0}),O.filter((k)=>k.source!=="built-in").map(C)]}),O.some((k)=>k.source==="built-in")&&F(RJ,{children:[X(uJ,{}),y()]})]});return F(wJ,{title:v,subtitle:`${b} agents`,onCancel:q,hideInputGuide:!0,children:[Z&&Z.length>0&&X(M,{marginTop:1,children:X(L,{dimColor:!0,children:Z[Z.length-1]})}),F(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:z,children:[V&&X(M,{marginBottom:1,children:E()}),S]})]})}var vJ,Eq=20,kq=12;var FZ=r(()=>{ZQ();GJ();RZ();AX();lQ();xQ();NQ();j();vJ=s(EJ(),1)});function sQ(Q){let J=KZ.c(38),{steps:q,initialData:Y,onComplete:V,onCancel:Z,children:G,title:U,showStepCounter:H}=Q,W;if(J[0]!==Y)W=Y===void 0?{}:Y,J[0]=Y,J[1]=W;else W=J[1];let O=W,K=H===void 0?!0:H,[R,z]=jJ.useState(0),[E,C]=jJ.useState(O),[y,I]=jJ.useState(!1),v;if(J[2]===Symbol.for("react.memo_cache_sentinel"))v=[],J[2]=v;else v=J[2];let[P,f]=jJ.useState(v);hJ();let b,S;if(J[3]!==y||J[4]!==V||J[5]!==E)b=()=>{if(y)f([]),V(E)},S=[y,E,V],J[3]=y,J[4]=V,J[5]=E,J[6]=b,J[7]=S;else b=J[6],S=J[7];jJ.useEffect(b,S);let k;if(J[8]!==R||J[9]!==P||J[10]!==q.length)k=()=>{if(R<q.length-1){if(P.length>0)f((_)=>[..._,R]);z(Bq)}else I(!0)},J[8]=R,J[9]=P,J[10]=q.length,J[11]=k;else k=J[11];let g=k,A;if(J[12]!==R||J[13]!==P||J[14]!==Z)A=()=>{if(P.length>0){let _=P[P.length-1];if(_!==void 0)f(fq),z(_)}else if(R>0)z(Iq);else if(Z)Z()},J[12]=R,J[13]=P,J[14]=Z,J[15]=A;else A=J[15];let d=A,i;if(J[16]!==R||J[17]!==q.length)i=(_)=>{if(_>=0&&_<q.length)f(($)=>[...$,R]),z(_)},J[16]=R,J[17]=q.length,J[18]=i;else i=J[18];let l=i,c;if(J[19]!==Z)c=()=>{if(f([]),Z)Z()},J[19]=Z,J[20]=c;else c=J[20];let N=c,p;if(J[21]===Symbol.for("react.memo_cache_sentinel"))p=(_)=>{C(($)=>({...$,..._}))},J[21]=p;else p=J[21];let B=p,D;if(J[22]!==N||J[23]!==R||J[24]!==d||J[25]!==g||J[26]!==l||J[27]!==K||J[28]!==q.length||J[29]!==U||J[30]!==E)D={currentStepIndex:R,totalSteps:q.length,wizardData:E,setWizardData:C,updateWizardData:B,goNext:g,goBack:d,goToStep:l,cancel:N,title:U,showStepCounter:K},J[22]=N,J[23]=R,J[24]=d,J[25]=g,J[26]=l,J[27]=K,J[28]=q.length,J[29]=U,J[30]=E,J[31]=D;else D=J[31];let x=D,T=q[R];if(!T||y)return null;let w;if(J[32]!==T||J[33]!==G)w=G||X(T,{}),J[32]=T,J[33]=G,J[34]=w;else w=J[34];let m;if(J[35]!==x||J[36]!==w)m=X(nQ.Provider,{value:x,children:w}),J[35]=x,J[36]=w,J[37]=m;else m=J[37];return m}function Iq(Q){return Q-1}function fq(Q){return Q.slice(0,-1)}function Bq(Q){return Q+1}var KZ,jJ,nQ;var aQ=r(()=>{GQ();j();KZ=s(UJ(),1),jJ=s(EJ(),1),nQ=jJ.createContext(null)});function e(){let Q=HZ.useContext(nQ);if(!Q)throw Error("useWizard must be used within a WizardProvider");return Q}var HZ;var oQ=r(()=>{aQ();HZ=s(EJ(),1)});function eQ({instructions:Q=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]})}){let J=hJ();return X(M,{marginLeft:3,marginTop:1,children:X(L,{dimColor:!0,children:J.pending?`Press ${J.keyName} again to exit`:Q})})}var tQ=r(()=>{GQ();GJ();zJ();IJ();CJ();j()});function ZJ(Q){let J=WZ.c(11),{title:q,color:Y,children:V,subtitle:Z,footerText:G}=Q,U=Y===void 0?"suggestion":Y,{currentStepIndex:H,totalSteps:W,title:O,showStepCounter:K,goBack:R}=e(),z=q||O||"Wizard",E=K!==!1?` (${H+1}/${W})`:"",C=`${z}${E}`,y;if(J[0]!==V||J[1]!==U||J[2]!==R||J[3]!==Z||J[4]!==C)y=X(wJ,{title:C,subtitle:Z,onCancel:R,color:U,hideInputGuide:!0,isCancelActive:!1,children:V}),J[0]=V,J[1]=U,J[2]=R,J[3]=Z,J[4]=C,J[5]=y;else y=J[5];let I;if(J[6]!==G)I=X(eQ,{instructions:G}),J[6]=G,J[7]=I;else I=J[7];let v;if(J[8]!==y||J[9]!==I)v=F(RJ,{children:[y,I]}),J[8]=y,J[9]=I,J[10]=v;else v=J[10];return v}var WZ;var kJ=r(()=>{lQ();oQ();tQ();j();WZ=s(UJ(),1)});var OJ=r(()=>{oQ();kJ();tQ();aQ()});function MZ(){let Q=OZ.c(14),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Z={context:"Confirmation"},Q[0]=Z;else Z=Q[0];t("confirm:no",q,Z);let G;if(Q[1]!==J||Q[2]!==Y||Q[3]!==V.agentType||Q[4]!==V.location||Q[5]!==V.selectedModel||Q[6]!==V.selectedTools||Q[7]!==V.systemPrompt||Q[8]!==V.whenToUse)G=(K)=>{Y({selectedColor:K,finalAgent:{agentType:V.agentType,whenToUse:V.whenToUse,getSystemPrompt:()=>V.systemPrompt,tools:V.selectedTools,...V.selectedModel?{model:V.selectedModel}:{},...K?{color:K}:{},source:V.location}}),J()},Q[1]=J,Q[2]=Y,Q[3]=V.agentType,Q[4]=V.location,Q[5]=V.selectedModel,Q[6]=V.selectedTools,Q[7]=V.systemPrompt,Q[8]=V.whenToUse,Q[9]=G;else G=Q[9];let U=G,H;if(Q[10]===Symbol.for("react.memo_cache_sentinel"))H=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[10]=H;else H=Q[10];let W=V.agentType||"agent",O;if(Q[11]!==U||Q[12]!==W)O=X(ZJ,{subtitle:"Choose background color",footerText:H,children:X(M,{children:X(PQ,{agentName:W,currentColor:"automatic",onConfirm:U})})}),Q[11]=U,Q[12]=W,Q[13]=O;else O=Q[13];return O}var OZ;var PZ=r(()=>{GJ();DJ();zJ();IJ();CJ();OJ();kJ();mQ();j();OZ=s(UJ(),1)});function JX(Q){if(!Q)return"Agent type is required";if(!/^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$/.test(Q))return"Agent type must start and end with alphanumeric characters and contain only letters, numbers, and hyphens";if(Q.length<3)return"Agent type must be at least 3 characters long";if(Q.length>50)return"Agent type must be less than 50 characters";return null}function EZ(Q,J,q){let Y=[],V=[];if(!Q.agentType)Y.push("Agent type is required");else{let G=JX(Q.agentType);if(G)Y.push(G);let U=q.find((H)=>H.agentType===Q.agentType&&H.source!==Q.source);if(U)Y.push(`Agent type "${Q.agentType}" already exists in ${lJ(U.source)}`)}if(!Q.whenToUse)Y.push("Description (description) is required");else if(Q.whenToUse.length<10)V.push("Description should be more descriptive (at least 10 characters)");else if(Q.whenToUse.length>5000)V.push("Description is very long (over 5000 characters)");if(Q.tools!==void 0&&!Array.isArray(Q.tools))Y.push("Tools must be an array");else{if(Q.tools===void 0)V.push("Agent has access to all tools");else if(Q.tools.length===0)V.push("No tools selected - agent will have very limited capabilities");let G=MQ(Q,J,!1);if(G.invalidTools.length>0)Y.push(`Invalid tools: ${G.invalidTools.join(", ")}`)}let Z=Q.getSystemPrompt();if(!Z)Y.push("System prompt is required");else if(Z.length<20)Y.push("System prompt is too short (minimum 20 characters)");else if(Z.length>1e4)V.push("System prompt is very long (over 10,000 characters)");return{isValid:Y.length===0,errors:Y,warnings:V}}var QX=r(()=>{pQ();NQ()});function zZ(Q){let J=NZ.c(88),{tools:q,existingAgents:Y,onSave:V,onSaveAndEdit:Z,error:G}=Q,{goBack:U,wizardData:H}=e(),W;if(J[0]===Symbol.for("react.memo_cache_sentinel"))W={context:"Confirmation"},J[0]=W;else W=J[0];t("confirm:no",U,W);let O;if(J[1]!==V||J[2]!==Z)O=(_)=>{if(_.key==="s"||_.key==="return")_.preventDefault(),V();else if(_.key==="e")_.preventDefault(),Z()},J[1]=V,J[2]=Z,J[3]=O;else O=J[3];let K=O,R=H.finalAgent,z,E,C,y,I,v,P,f,b,S,k,g,A,d,i,l,c,N,p;if(J[4]!==R||J[5]!==Y||J[6]!==K||J[7]!==q||J[8]!==H.location){let _=EZ(R,q,Y),$;if(J[28]!==R)$=XX(R.getSystemPrompt(),240),J[28]=R,J[29]=$;else $=J[29];let a=$,JJ;if(J[30]!==R.whenToUse)JJ=XX(R.whenToUse,240),J[30]=R.whenToUse,J[31]=JJ;else JJ=J[31];let VJ=JJ,MJ=vq,LJ;if(J[32]!==R.memory)LJ=pJ()?F(L,{children:[X(L,{bold:!0,children:"Memory"}),": ",WQ(R.memory)]}):null,J[32]=R.memory,J[33]=LJ;else LJ=J[33];let HJ=LJ;if(E=ZJ,k="Confirm and save",J[34]===Symbol.for("react.memo_cache_sentinel"))g=F(XJ,{children:[X(n,{shortcut:"s/Enter",action:"save"}),X(n,{shortcut:"e",action:"edit in your editor"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]}),J[34]=g;else g=J[34];z=M,A="column",d=0,i=!0,l=K;let WJ;if(J[35]===Symbol.for("react.memo_cache_sentinel"))WJ=X(L,{bold:!0,children:"Name"}),J[35]=WJ;else WJ=J[35];if(J[36]!==R.agentType)c=F(L,{children:[WJ,": ",R.agentType]}),J[36]=R.agentType,J[37]=c;else c=J[37];let FJ;if(J[38]===Symbol.for("react.memo_cache_sentinel"))FJ=X(L,{bold:!0,children:"Location"}),J[38]=FJ;else FJ=J[38];let KJ;if(J[39]!==R.agentType||J[40]!==H.location)KJ=KX({source:H.location,agentType:R.agentType}),J[39]=R.agentType,J[40]=H.location,J[41]=KJ;else KJ=J[41];if(J[42]!==KJ)N=F(L,{children:[FJ,":"," ",KJ]}),J[42]=KJ,J[43]=N;else N=J[43];let u;if(J[44]===Symbol.for("react.memo_cache_sentinel"))u=X(L,{bold:!0,children:"Tools"}),J[44]=u;else u=J[44];let h;if(J[45]!==R.tools)h=MJ(R.tools),J[45]=R.tools,J[46]=h;else h=J[46];if(J[47]!==h)p=F(L,{children:[u,": ",h]}),J[47]=h,J[48]=p;else p=J[48];let qJ;if(J[49]===Symbol.for("react.memo_cache_sentinel"))qJ=X(L,{bold:!0,children:"Model"}),J[49]=qJ;else qJ=J[49];let QJ;if(J[50]!==R.model)QJ=OQ(R.model),J[50]=R.model,J[51]=QJ;else QJ=J[51];if(J[52]!==QJ)C=F(L,{children:[qJ,": ",QJ]}),J[52]=QJ,J[53]=C;else C=J[53];if(y=HJ,J[54]===Symbol.for("react.memo_cache_sentinel"))I=X(M,{marginTop:1,children:F(L,{children:[X(L,{bold:!0,children:"Description"})," (tells Claude when to use this agent):"]})}),J[54]=I;else I=J[54];if(J[55]!==VJ)v=X(M,{marginLeft:2,marginTop:1,children:X(L,{children:VJ})}),J[55]=VJ,J[56]=v;else v=J[56];if(J[57]===Symbol.for("react.memo_cache_sentinel"))P=X(M,{marginTop:1,children:F(L,{children:[X(L,{bold:!0,children:"System prompt"}),":"]})}),J[57]=P;else P=J[57];if(J[58]!==a)f=X(M,{marginLeft:2,marginTop:1,children:X(L,{children:a})}),J[58]=a,J[59]=f;else f=J[59];b=_.warnings.length>0&&F(M,{marginTop:1,flexDirection:"column",children:[X(L,{color:"warning",children:"Warnings:"}),_.warnings.map(bq)]}),S=_.errors.length>0&&F(M,{marginTop:1,flexDirection:"column",children:[X(L,{color:"error",children:"Errors:"}),_.errors.map(Dq)]}),J[4]=R,J[5]=Y,J[6]=K,J[7]=q,J[8]=H.location,J[9]=z,J[10]=E,J[11]=C,J[12]=y,J[13]=I,J[14]=v,J[15]=P,J[16]=f,J[17]=b,J[18]=S,J[19]=k,J[20]=g,J[21]=A,J[22]=d,J[23]=i,J[24]=l,J[25]=c,J[26]=N,J[27]=p}else z=J[9],E=J[10],C=J[11],y=J[12],I=J[13],v=J[14],P=J[15],f=J[16],b=J[17],S=J[18],k=J[19],g=J[20],A=J[21],d=J[22],i=J[23],l=J[24],c=J[25],N=J[26],p=J[27];let B;if(J[60]!==G)B=G&&X(M,{marginTop:1,children:X(L,{color:"error",children:G})}),J[60]=G,J[61]=B;else B=J[61];let D;if(J[62]===Symbol.for("react.memo_cache_sentinel"))D=X(L,{bold:!0,children:"s"}),J[62]=D;else D=J[62];let x;if(J[63]===Symbol.for("react.memo_cache_sentinel"))x=X(L,{bold:!0,children:"Enter"}),J[63]=x;else x=J[63];let T;if(J[64]===Symbol.for("react.memo_cache_sentinel"))T=X(M,{marginTop:2,children:F(L,{color:"success",children:["Press ",D," or ",x," to save,"," ",X(L,{bold:!0,children:"e"})," to save and edit"]})}),J[64]=T;else T=J[64];let w;if(J[65]!==z||J[66]!==C||J[67]!==y||J[68]!==I||J[69]!==v||J[70]!==P||J[71]!==f||J[72]!==b||J[73]!==S||J[74]!==B||J[75]!==A||J[76]!==d||J[77]!==i||J[78]!==l||J[79]!==c||J[80]!==N||J[81]!==p)w=F(z,{flexDirection:A,tabIndex:d,autoFocus:i,onKeyDown:l,children:[c,N,p,C,y,I,v,P,f,b,S,B,T]}),J[65]=z,J[66]=C,J[67]=y,J[68]=I,J[69]=v,J[70]=P,J[71]=f,J[72]=b,J[73]=S,J[74]=B,J[75]=A,J[76]=d,J[77]=i,J[78]=l,J[79]=c,J[80]=N,J[81]=p,J[82]=w;else w=J[82];let m;if(J[83]!==E||J[84]!==k||J[85]!==g||J[86]!==w)m=X(E,{subtitle:k,footerText:g,children:w}),J[83]=E,J[84]=k,J[85]=g,J[86]=w,J[87]=m;else m=J[87];return m}function Dq(Q,J){return F(L,{color:"error",children:[" ","• ",Q]},J)}function bq(Q,J){return F(L,{dimColor:!0,children:[" ","• ",Q]},J)}function vq(Q){if(Q===void 0)return"All tools";if(Q.length===0)return"None";if(Q.length===1)return Q[0]||"None";if(Q.length===2)return Q.join(" and ");return`${Q.slice(0,-1).join(", ")}, and ${Q[Q.length-1]}`}var NZ;var IZ=r(()=>{GJ();DJ();fQ();_Q();kZ();SQ();zJ();IJ();CJ();OJ();kJ();cJ();QX();j();NZ=s(UJ(),1)});import{dirname as wq}from"path";function BZ({tools:Q,existingAgents:J,onComplete:q}){let{wizardData:Y}=e(),[V,Z]=aJ.useState(null),G=sJ(),U=aJ.useCallback(async(O)=>{if(!Y?.finalAgent)return;try{if(await WX(Y.location,Y.finalAgent.agentType,Y.finalAgent.whenToUse,Y.finalAgent.tools,Y.finalAgent.getSystemPrompt(),!0,Y.finalAgent.color,Y.finalAgent.memory),Y.finalAgent.model){let R=KQ({source:Y.location,agentType:Y.finalAgent.agentType}),z=wq(R);await rJ(z,Y.finalAgent.agentType,Y.finalAgent.model)}if(G((R)=>{if(!Y.finalAgent)return R;let z=R.agentDefinitions.allAgents.concat(Y.finalAgent);return{...R,agentDefinitions:{...R.agentDefinitions,activeAgents:nJ(z),allAgents:z}}}),O){let R=KQ({source:Y.location,agentType:Y.finalAgent.agentType});await IQ(R)}BQ("",{agent_type:Y.finalAgent.agentType,generation_method:Y.wasGenerated?"generated":"manual",source:Y.location,tool_count:Y.finalAgent.tools?.length??"all",has_custom_model:!!Y.finalAgent.model,has_custom_color:!!Y.finalAgent.color,has_memory:!!Y.finalAgent.memory,memory_scope:Y.finalAgent.memory??"none",...O?{opened_in_editor:!0}:{}});let K=O?`Created agent: ${SJ.bold(Y.finalAgent.agentType)} and opened in editor. If you made edits, restart to load the latest version.`:`Created agent: ${SJ.bold(Y.finalAgent.agentType)}`;q(K)}catch(K){Z(K instanceof Error?K.message:"Failed to save agent")}},[Y,q,G]),H=aJ.useCallback(()=>U(!1),[U]),W=aJ.useCallback(()=>U(!0),[U]);return X(zZ,{tools:Q,existingAgents:J,onSave:H,onSaveAndEdit:W,error:V})}var aJ;var DZ=r(()=>{dQ();fZ();zQ();XQ();iQ();VQ();OJ();cJ();IZ();j();aJ=s(EJ(),1)});function vZ(){let Q=bZ.c(18),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),[Z,G]=DQ.useState(V.whenToUse||""),[U,H]=DQ.useState(Z.length),[W,O]=DQ.useState(null),K;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))K={context:"Settings"},Q[0]=K;else K=Q[0];t("confirm:no",q,K);let R;if(Q[1]!==Z)R=async()=>{let S=await oJ(Z);if(S.content!==null)G(S.content),H(S.content.length)},Q[1]=Z,Q[2]=R;else R=Q[2];let z=R,E;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Chat"},Q[3]=E;else E=Q[3];t("chat:externalEditor",z,E);let C;if(Q[4]!==J||Q[5]!==Y)C=(S)=>{let k=S.trim();if(!k){O("Description is required");return}O(null),Y({whenToUse:k}),J()},Q[4]=J,Q[5]=Y,Q[6]=C;else C=Q[6];let y=C,I;if(Q[7]===Symbol.for("react.memo_cache_sentinel"))I=F(XJ,{children:[X(n,{shortcut:"Type",action:"enter text"}),X(n,{shortcut:"Enter",action:"continue"}),X(o,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),Q[7]=I;else I=Q[7];let v;if(Q[8]===Symbol.for("react.memo_cache_sentinel"))v=X(L,{children:"When should Claude use this agent?"}),Q[8]=v;else v=Q[8];let P;if(Q[9]!==U||Q[10]!==y||Q[11]!==Z)P=X(M,{marginTop:1,children:X(TJ,{value:Z,onChange:G,onSubmit:y,placeholder:"e.g., use this agent after you're done writing code...",columns:80,cursorOffset:U,onChangeCursorOffset:H,focus:!0,showCursor:!0})}),Q[9]=U,Q[10]=y,Q[11]=Z,Q[12]=P;else P=Q[12];let f;if(Q[13]!==W)f=W&&X(M,{marginTop:1,children:X(L,{color:"error",children:W})}),Q[13]=W,Q[14]=f;else f=Q[14];let b;if(Q[15]!==P||Q[16]!==f)b=X(ZJ,{subtitle:"Description (tell Claude when to use this agent)",footerText:I,children:F(M,{flexDirection:"column",children:[v,P,f]})}),Q[15]=P,Q[16]=f,Q[17]=b;else b=Q[17];return b}var bZ,DQ;var wZ=r(()=>{GJ();DJ();VQ();zJ();IJ();CJ();bQ();OJ();kJ();j();bZ=s(UJ(),1),DQ=s(EJ(),1)});async function SZ(Q,J,q,Y){let V=q.length>0?`
12
+
13
+ IMPORTANT: The following identifiers already exist and must NOT be used: ${q.join(", ")}`:"",Z=`Create an agent configuration based on this request: "${Q}".${V}
14
+ Return ONLY the JSON object, no other text.`,G=hZ({content:Z}),U=await mZ(),H=_Z([G],U),W=pJ()?CZ+jq:CZ,R=(await jZ({messages:TZ(H),systemPrompt:AZ([W]),thinkingConfig:{type:"disabled"},tools:[],signal:Y,options:{getToolPermissionContext:async()=>yZ(),model:J,toolChoice:void 0,agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,querySource:"agent_creation",mcpTools:[]}})).message.content.filter((E)=>E.type==="text").map((E)=>E.text).join(`
15
+ `),z;try{z=ZX(R.trim())}catch{let E=R.match(/\{[\s\S]*\}/);if(!E)throw Error("No JSON object found in response");z=ZX(E[0])}if(!z.identifier||!z.whenToUse||!z.systemPrompt)throw Error("Invalid agent configuration generated");return BQ("",{agent_identifier:z.identifier}),{identifier:z.identifier,whenToUse:z.whenToUse,systemPrompt:z.systemPrompt}}var CZ,jq=`
16
+
17
+ 7. **Agent Memory Instructions**: If the user mentions "memory", "remember", "learn", "persist", or similar concepts, OR if the agent would benefit from building up knowledge across conversations (e.g., code reviewers learning patterns, architects learning codebase structure, etc.), include domain-specific memory update instructions in the systemPrompt.
18
+
19
+ Add a section like this to the systemPrompt, tailored to the agent's specific domain:
20
+
21
+ "**Update your agent memory** as you discover [domain-specific items]. This builds up institutional knowledge across conversations. Write concise notes about what you found and where.
22
+
23
+ Examples of what to record:
24
+ - [domain-specific item 1]
25
+ - [domain-specific item 2]
26
+ - [domain-specific item 3]"
27
+
28
+ Examples of domain-specific memory instructions:
29
+ - For a code-reviewer: "Update your agent memory as you discover code patterns, style conventions, common issues, and architectural decisions in this codebase."
30
+ - For a test-runner: "Update your agent memory as you discover test patterns, common failure modes, flaky tests, and testing best practices."
31
+ - For an architect: "Update your agent memory as you discover codepaths, library locations, key architectural decisions, and component relationships."
32
+ - For a documentation writer: "Update your agent memory as you discover documentation patterns, API structures, and terminology conventions."
33
+
34
+ The memory instructions should be specific to what the agent would naturally learn while performing its core tasks.
35
+ `;var pZ=r(()=>{pq();_q();yq();hX();hq();Sq();fQ();fZ();Cq();Aq();CZ=`You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.
36
+
37
+ **Important Context**: You may have access to project-specific instructions from CLAUDE.md files and other context that may include coding standards, project structure, and custom requirements. Consider this context when creating agents to ensure they align with the project's established patterns and practices.
38
+
39
+ When a user describes what they want an agent to do, you will:
40
+
41
+ 1. **Extract Core Intent**: Identify the fundamental purpose, key responsibilities, and success criteria for the agent. Look for both explicit requirements and implicit needs. Consider any project-specific context from CLAUDE.md files. For agents that are meant to review code, you should assume that the user is asking to review recently written code and not the whole codebase, unless the user has explicitly instructed you otherwise.
42
+
43
+ 2. **Design Expert Persona**: Create a compelling expert identity that embodies deep domain knowledge relevant to the task. The persona should inspire confidence and guide the agent's decision-making approach.
44
+
45
+ 3. **Architect Comprehensive Instructions**: Develop a system prompt that:
46
+ - Establishes clear behavioral boundaries and operational parameters
47
+ - Provides specific methodologies and best practices for task execution
48
+ - Anticipates edge cases and provides guidance for handling them
49
+ - Incorporates any specific requirements or preferences mentioned by the user
50
+ - Defines output format expectations when relevant
51
+ - Aligns with project-specific coding standards and patterns from CLAUDE.md
52
+
53
+ 4. **Optimize for Performance**: Include:
54
+ - Decision-making frameworks appropriate to the domain
55
+ - Quality control mechanisms and self-verification steps
56
+ - Efficient workflow patterns
57
+ - Clear escalation or fallback strategies
58
+
59
+ 5. **Create Identifier**: Design a concise, descriptive identifier that:
60
+ - Uses lowercase letters, numbers, and hyphens only
61
+ - Is typically 2-4 words joined by hyphens
62
+ - Clearly indicates the agent's primary function
63
+ - Is memorable and easy to type
64
+ - Avoids generic terms like "helper" or "assistant"
65
+
66
+ 6 **Example agent descriptions**:
67
+ - in the 'whenToUse' field of the JSON object, you should include examples of when this agent should be used.
68
+ - examples should be of the form:
69
+ - <example>
70
+ Context: The user is creating a test-runner agent that should be called after a logical chunk of code is written.
71
+ user: "Please write a function that checks if a number is prime"
72
+ assistant: "Here is the relevant function: "
73
+ <function call omitted for brevity only for this example>
74
+ <commentary>
75
+ Since a significant piece of code was written, use the ${YQ} tool to launch the test-runner agent to run the tests.
76
+ </commentary>
77
+ assistant: "Now let me use the test-runner agent to run the tests"
78
+ </example>
79
+ - <example>
80
+ Context: User is creating an agent for Claude Code product questions.
81
+ user: "How do I configure Claude Code hooks?"
82
+ assistant: "I'm going to use the ${YQ} tool to launch the claudin-guide agent to answer the question"
83
+ <commentary>
84
+ Since the user is asking how to use Claude Code, use the claudin-guide agent.
85
+ </commentary>
86
+ </example>
87
+ - If the user mentioned or implied that the agent should be used proactively, you should include examples of this.
88
+ - NOTE: Ensure that in the examples, you are making the assistant use the Agent tool and not simply respond directly to the task.
89
+
90
+ Your output must be a valid JSON object with exactly these fields:
91
+ {
92
+ "identifier": "A unique, descriptive identifier using lowercase letters, numbers, and hyphens (e.g., 'test-runner', 'api-docs-writer', 'code-formatter')",
93
+ "whenToUse": "A precise, actionable description starting with 'Use this agent when...' that clearly defines the triggering conditions and use cases. Ensure you include examples as described above.",
94
+ "systemPrompt": "The complete system prompt that will govern the agent's behavior, written in second person ('You are...', 'You will...') and structured for maximum clarity and effectiveness"
95
+ }
96
+
97
+ Key principles for your system prompts:
98
+ - Be specific rather than generic - avoid vague instructions
99
+ - Include concrete examples when they would clarify behavior
100
+ - Balance comprehensiveness with clarity - every instruction should add value
101
+ - Ensure the agent has enough context to handle variations of the core task
102
+ - Make the agent proactive in seeking clarification when needed
103
+ - Build in quality assurance and self-correction mechanisms
104
+
105
+ Remember: The agents you create should be autonomous experts capable of handling their designated tasks with minimal additional guidance. Your system prompts are their complete operational manual.
106
+ `});function dZ(){let{updateWizardData:Q,goBack:J,goToStep:q,wizardData:Y}=e(),[V,Z]=yJ.useState(Y.generationPrompt||""),[G,U]=yJ.useState(!1),[H,W]=yJ.useState(null),[O,K]=yJ.useState(V.length),R=gZ(),z=yJ.useRef(null),E=yJ.useCallback(()=>{if(z.current)z.current.abort(),z.current=null,U(!1),W("Generation cancelled")},[]);t("confirm:no",E,{context:"Settings",isActive:G});let C=yJ.useCallback(async()=>{let P=await oJ(V);if(P.content!==null)Z(P.content),K(P.content.length)},[V]);t("chat:externalEditor",C,{context:"Chat",isActive:!G});let y=yJ.useCallback(()=>{Q({generationPrompt:"",agentType:"",systemPrompt:"",whenToUse:"",generatedAgent:void 0,wasGenerated:!1}),Z(""),W(null),J()},[Q,J]);t("confirm:no",y,{context:"Settings",isActive:!G});let I=async()=>{let P=V.trim();if(!P){W("Please describe what the agent should do");return}W(null),U(!0),Q({generationPrompt:P,isGenerating:!0});let f=xZ();z.current=f;try{let b=await SZ(P,R,[],f.signal);Q({agentType:b.identifier,whenToUse:b.whenToUse,systemPrompt:b.systemPrompt,generatedAgent:b,isGenerating:!1,wasGenerated:!0}),q(6)}catch(b){if(uZ(b));else if(b instanceof Error&&!b.message.includes("No assistant message found"))W(b.message||"Failed to generate agent");Q({isGenerating:!1})}finally{U(!1),z.current=null}},v="Describe what this agent should do and when it should be used (be comprehensive for best results)";if(G)return X(ZJ,{subtitle:v,footerText:X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"}),children:F(M,{flexDirection:"row",alignItems:"center",children:[X(cZ,{}),X(L,{color:"suggestion",children:" Generating agent from description..."})]})});return X(ZJ,{subtitle:v,footerText:F(XJ,{children:[X(o,{action:"confirm:yes",context:"Confirmation",fallback:"Enter",description:"submit"}),X(o,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),children:F(M,{flexDirection:"column",children:[H&&X(M,{marginBottom:1,children:X(L,{color:"error",children:H})}),X(TJ,{value:V,onChange:Z,onSubmit:I,placeholder:"e.g., Help me write unit tests for my code...",columns:80,cursorOffset:O,onChangeCursorOffset:K,focus:!0,showCursor:!0})]})})}var yJ;var iZ=r(()=>{uq();GJ();DJ();Tq();hQ();VQ();zJ();IJ();mq();bQ();OJ();kJ();pZ();j();yJ=s(EJ(),1)});function lZ(){let Q=$Z.c(11),{goNext:J,updateWizardData:q,cancel:Y}=e(),V;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))V={label:"Project (.claudin/agents/)",value:"projectSettings"},Q[0]=V;else V=Q[0];let Z;if(Q[1]===Symbol.for("react.memo_cache_sentinel"))Z=[V,{label:"Personal (~/.claudin/agents/)",value:"userSettings"}],Q[1]=Z;else Z=Q[1];let G=Z,U;if(Q[2]===Symbol.for("react.memo_cache_sentinel"))U=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]}),Q[2]=U;else U=Q[2];let H;if(Q[3]!==J||Q[4]!==q)H=(K)=>{q({location:K}),J()},Q[3]=J,Q[4]=q,Q[5]=H;else H=Q[5];let W;if(Q[6]!==Y)W=()=>Y(),Q[6]=Y,Q[7]=W;else W=Q[7];let O;if(Q[8]!==H||Q[9]!==W)O=X(ZJ,{subtitle:"Choose location",footerText:U,children:X(M,{children:X(bJ,{options:G,onChange:H,onCancel:W},"location-select")})}),Q[8]=H,Q[9]=W,Q[10]=O;else O=Q[10];return O}var $Z;var rZ=r(()=>{GJ();zJ();qQ();IJ();CJ();OJ();kJ();j();$Z=s(UJ(),1)});function aZ(){let Q=sZ.c(13),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Z={context:"Confirmation"},Q[0]=Z;else Z=Q[0];t("confirm:no",q,Z);let G=V.location==="userSettings",U;if(Q[1]!==G)U=G?[{label:"User scope (~/.claudin/agent-memory/) (Recommended)",value:"user"},{label:"None (no persistent memory)",value:"none"},{label:"Project scope (.claudin/agent-memory/)",value:"project"},{label:"Local scope (.claudin/agent-memory-local/)",value:"local"}]:[{label:"Project scope (.claudin/agent-memory/) (Recommended)",value:"project"},{label:"None (no persistent memory)",value:"none"},{label:"User scope (~/.claudin/agent-memory/)",value:"user"},{label:"Local scope (.claudin/agent-memory-local/)",value:"local"}],Q[1]=G,Q[2]=U;else U=Q[2];let H=U,W;if(Q[3]!==J||Q[4]!==Y||Q[5]!==V.finalAgent||Q[6]!==V.systemPrompt)W=(z)=>{let E=z==="none"?void 0:z,C=V.finalAgent?.agentType;Y({selectedMemory:E,finalAgent:V.finalAgent?{...V.finalAgent,memory:E,getSystemPrompt:pJ()&&E&&C?()=>V.systemPrompt+`
107
+
108
+ `+nZ(C,E):()=>V.systemPrompt}:void 0}),J()},Q[3]=J,Q[4]=Y,Q[5]=V.finalAgent,Q[6]=V.systemPrompt,Q[7]=W;else W=Q[7];let O=W,K;if(Q[8]===Symbol.for("react.memo_cache_sentinel"))K=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[8]=K;else K=Q[8];let R;if(Q[9]!==q||Q[10]!==O||Q[11]!==H)R=X(ZJ,{subtitle:"Configure agent memory",footerText:K,children:X(M,{children:X(bJ,{options:H,onChange:O,onCancel:q},"memory-select")})}),Q[9]=q,Q[10]=O,Q[11]=H,Q[12]=R;else R=Q[12];return R}var sZ;var oZ=r(()=>{GJ();DJ();fQ();_Q();zJ();qQ();IJ();CJ();OJ();kJ();j();sZ=s(UJ(),1)});function tZ(){let Q=eZ.c(11),{goNext:J,goBack:q,updateWizardData:Y,goToStep:V}=e(),Z;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))Z=[{label:"Generate with Claude (recommended)",value:"generate"},{label:"Manual configuration",value:"manual"}],Q[0]=Z;else Z=Q[0];let G=Z,U;if(Q[1]===Symbol.for("react.memo_cache_sentinel"))U=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[1]=U;else U=Q[1];let H;if(Q[2]!==J||Q[3]!==V||Q[4]!==Y)H=(K)=>{let R=K;if(Y({method:R,wasGenerated:R==="generate"}),R==="generate")J();else V(3)},Q[2]=J,Q[3]=V,Q[4]=Y,Q[5]=H;else H=Q[5];let W;if(Q[6]!==q)W=()=>q(),Q[6]=q,Q[7]=W;else W=Q[7];let O;if(Q[8]!==H||Q[9]!==W)O=X(ZJ,{subtitle:"Creation method",footerText:U,children:X(M,{children:X(bJ,{options:G,onChange:H,onCancel:W},"method-select")})}),Q[8]=H,Q[9]=W,Q[10]=O;else O=Q[10];return O}var eZ;var J0=r(()=>{GJ();zJ();qQ();IJ();CJ();OJ();kJ();j();eZ=s(UJ(),1)});function X0(){let Q=Q0.c(8),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(Q[0]!==J||Q[1]!==Y)Z=(W)=>{Y({selectedModel:W}),J()},Q[0]=J,Q[1]=Y,Q[2]=Z;else Z=Q[2];let G=Z,U;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))U=F(XJ,{children:[X(n,{shortcut:"↑↓",action:"navigate"}),X(n,{shortcut:"Enter",action:"select"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),Q[3]=U;else U=Q[3];let H;if(Q[4]!==q||Q[5]!==G||Q[6]!==V.selectedModel)H=X(ZJ,{subtitle:"Select model",footerText:U,children:X(dJ,{initialModel:V.selectedModel,onComplete:G,onCancel:q})}),Q[4]=q,Q[5]=G,Q[6]=V.selectedModel,Q[7]=H;else H=Q[7];return H}var Q0;var Z0=r(()=>{zJ();IJ();CJ();OJ();kJ();EQ();j();Q0=s(UJ(),1)});function Y0(){let Q=q0.c(20),{goNext:J,goBack:q,updateWizardData:Y,wizardData:V}=e(),[Z,G]=vQ.useState(V.systemPrompt||""),[U,H]=vQ.useState(Z.length),[W,O]=vQ.useState(null),K;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))K={context:"Settings"},Q[0]=K;else K=Q[0];t("confirm:no",q,K);let R;if(Q[1]!==Z)R=async()=>{let k=await oJ(Z);if(k.content!==null)G(k.content),H(k.content.length)},Q[1]=Z,Q[2]=R;else R=Q[2];let z=R,E;if(Q[3]===Symbol.for("react.memo_cache_sentinel"))E={context:"Chat"},Q[3]=E;else E=Q[3];t("chat:externalEditor",z,E);let C;if(Q[4]!==J||Q[5]!==Z||Q[6]!==Y)C=()=>{let k=Z.trim();if(!k){O("System prompt is required");return}O(null),Y({systemPrompt:k}),J()},Q[4]=J,Q[5]=Z,Q[6]=Y,Q[7]=C;else C=Q[7];let y=C,I;if(Q[8]===Symbol.for("react.memo_cache_sentinel"))I=F(XJ,{children:[X(n,{shortcut:"Type",action:"enter text"}),X(n,{shortcut:"Enter",action:"continue"}),X(o,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),Q[8]=I;else I=Q[8];let v,P;if(Q[9]===Symbol.for("react.memo_cache_sentinel"))v=X(L,{children:"Enter the system prompt for your agent:"}),P=X(L,{dimColor:!0,children:"Be comprehensive for best results"}),Q[9]=v,Q[10]=P;else v=Q[9],P=Q[10];let f;if(Q[11]!==U||Q[12]!==y||Q[13]!==Z)f=X(M,{marginTop:1,children:X(TJ,{value:Z,onChange:G,onSubmit:y,placeholder:"You are a helpful code reviewer who...",columns:80,cursorOffset:U,onChangeCursorOffset:H,focus:!0,showCursor:!0})}),Q[11]=U,Q[12]=y,Q[13]=Z,Q[14]=f;else f=Q[14];let b;if(Q[15]!==W)b=W&&X(M,{marginTop:1,children:X(L,{color:"error",children:W})}),Q[15]=W,Q[16]=b;else b=Q[16];let S;if(Q[17]!==f||Q[18]!==b)S=X(ZJ,{subtitle:"System prompt",footerText:I,children:F(M,{flexDirection:"column",children:[v,P,f,b]})}),Q[17]=f,Q[18]=b,Q[19]=S;else S=Q[19];return S}var q0,vQ;var V0=r(()=>{GJ();DJ();VQ();zJ();IJ();CJ();bQ();OJ();kJ();j();q0=s(UJ(),1),vQ=s(EJ(),1)});function R0(Q){let J=G0.c(9),{tools:q}=Q,{goNext:Y,goBack:V,updateWizardData:Z,wizardData:G}=e(),U;if(J[0]!==Y||J[1]!==Z)U=(R)=>{Z({selectedTools:R}),Y()},J[0]=Y,J[1]=Z,J[2]=U;else U=J[2];let H=U,W=G.selectedTools,O;if(J[3]===Symbol.for("react.memo_cache_sentinel"))O=F(XJ,{children:[X(n,{shortcut:"Enter",action:"toggle selection"}),X(n,{shortcut:"↑↓",action:"navigate"}),X(o,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),J[3]=O;else O=J[3];let K;if(J[4]!==V||J[5]!==H||J[6]!==W||J[7]!==q)K=X(ZJ,{subtitle:"Select tools",footerText:O,children:X(kQ,{tools:q,initialTools:W,onComplete:H,onCancel:V})}),J[4]=V,J[5]=H,J[6]=W,J[7]=q,J[8]=K;else K=J[8];return K}var G0;var U0=r(()=>{zJ();IJ();CJ();OJ();kJ();gQ();j();G0=s(UJ(),1)});function F0(Q){let J=L0.c(15),{goNext:q,goBack:Y,updateWizardData:V,wizardData:Z}=e(),[G,U]=wQ.useState(Z.agentType||""),[H,W]=wQ.useState(null),[O,K]=wQ.useState(G.length),R;if(J[0]===Symbol.for("react.memo_cache_sentinel"))R={context:"Settings"},J[0]=R;else R=J[0];t("confirm:no",Y,R);let z;if(J[1]!==q||J[2]!==V)z=(f)=>{let b=f.trim(),S=JX(b);if(S){W(S);return}W(null),V({agentType:b}),q()},J[1]=q,J[2]=V,J[3]=z;else z=J[3];let E=z,C;if(J[4]===Symbol.for("react.memo_cache_sentinel"))C=F(XJ,{children:[X(n,{shortcut:"Type",action:"enter text"}),X(n,{shortcut:"Enter",action:"continue"}),X(o,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),J[4]=C;else C=J[4];let y;if(J[5]===Symbol.for("react.memo_cache_sentinel"))y=X(L,{children:"Enter a unique identifier for your agent:"}),J[5]=y;else y=J[5];let I;if(J[6]!==G||J[7]!==O||J[8]!==E)I=X(M,{marginTop:1,children:X(TJ,{value:G,onChange:U,onSubmit:E,placeholder:"e.g., test-runner, tech-lead, etc",columns:60,cursorOffset:O,onChangeCursorOffset:K,focus:!0,showCursor:!0})}),J[6]=G,J[7]=O,J[8]=E,J[9]=I;else I=J[9];let v;if(J[10]!==H)v=H&&X(M,{marginTop:1,children:X(L,{color:"error",children:H})}),J[10]=H,J[11]=v;else v=J[11];let P;if(J[12]!==I||J[13]!==v)P=X(ZJ,{subtitle:"Agent type (identifier)",footerText:C,children:F(M,{flexDirection:"column",children:[y,I,v]})}),J[12]=I,J[13]=v,J[14]=P;else P=J[14];return P}var L0,wQ;var K0=r(()=>{GJ();DJ();zJ();IJ();CJ();bQ();OJ();kJ();QX();j();L0=s(UJ(),1),wQ=s(EJ(),1)});function W0(Q){let J=H0.c(17),{tools:q,existingAgents:Y,onComplete:V,onCancel:Z}=Q,G;if(J[0]!==Y)G=()=>X(F0,{existingAgents:Y}),J[0]=Y,J[1]=G;else G=J[1];let U;if(J[2]!==q)U=()=>X(R0,{tools:q}),J[2]=q,J[3]=U;else U=J[3];let H;if(J[4]===Symbol.for("react.memo_cache_sentinel"))H=pJ()?[aZ]:[],J[4]=H;else H=J[4];let W;if(J[5]!==Y||J[6]!==V||J[7]!==q)W=()=>X(BZ,{tools:q,existingAgents:Y,onComplete:V}),J[5]=Y,J[6]=V,J[7]=q,J[8]=W;else W=J[8];let O;if(J[9]!==G||J[10]!==U||J[11]!==W)O=[lZ,tZ,dZ,G,Y0,vZ,U,X0,MZ,...H,W],J[9]=G,J[10]=U,J[11]=W,J[12]=O;else O=J[12];let K=O,R;if(J[13]===Symbol.for("react.memo_cache_sentinel"))R={},J[13]=R;else R=J[13];let z;if(J[14]!==Z||J[15]!==K)z=X(sQ,{steps:K,initialData:R,onComplete:xq,onCancel:Z,title:"Create new agent",showStepCounter:!1}),J[14]=Z,J[15]=K,J[16]=z;else z=J[16];return z}function xq(){}var H0;var O0=r(()=>{fQ();OJ();PZ();DZ();wZ();iZ();rZ();oZ();J0();Z0();V0();U0();K0();j();H0=s(UJ(),1)});function B0(Q){let J=f0.c(157),{tools:q,onExit:Y}=Q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel"))V={mode:"list-agents",source:"all"},J[0]=V;else V=J[0];let[Z,G]=qX.useState(V),U=eJ(JY),H=eJ(tq),W=eJ(eq),O=sJ(),{allAgents:K,activeAgents:R}=U,z;if(J[1]===Symbol.for("react.memo_cache_sentinel"))z=[],J[1]=z;else z=J[1];let[E,C]=qX.useState(z),y=z0(q,H,W);hJ();let I;if(J[2]!==K)I=K.filter(oq),J[2]=K,J[3]=I;else I=J[3];let v;if(J[4]!==K)v=K.filter(aq),J[4]=K,J[5]=v;else v=J[5];let P;if(J[6]!==K)P=K.filter(sq),J[6]=K,J[7]=P;else P=J[7];let f;if(J[8]!==K)f=K.filter(nq),J[8]=K,J[9]=f;else f=J[9];let b;if(J[10]!==K)b=K.filter(rq),J[10]=K,J[11]=b;else b=J[11];let S;if(J[12]!==K)S=K.filter(lq),J[12]=K,J[13]=S;else S=J[13];let k;if(J[14]!==K)k=K.filter($q),J[14]=K,J[15]=k;else k=J[15];let g;if(J[16]!==K||J[17]!==I||J[18]!==v||J[19]!==P||J[20]!==f||J[21]!==b||J[22]!==S||J[23]!==k)g={"built-in":I,userSettings:v,projectSettings:P,policySettings:f,localSettings:b,flagSettings:S,plugin:k,all:K},J[16]=K,J[17]=I,J[18]=v,J[19]=P,J[20]=f,J[21]=b,J[22]=S,J[23]=k,J[24]=g;else g=J[24];let A=g,d;if(J[25]===Symbol.for("react.memo_cache_sentinel"))d=(N)=>{C((p)=>[...p,N]),G({mode:"list-agents",source:"all"})},J[25]=d;else d=J[25];let i=d,l;if(J[26]!==O)l=async(N)=>{try{await MX(N),O((p)=>{let B=p.agentDefinitions.allAgents.filter((D)=>!(D.agentType===N.agentType&&D.source===N.source));return{...p,agentDefinitions:{...p.agentDefinitions,allAgents:B,activeAgents:nJ(B)}}}),C((p)=>[...p,`Deleted agent: ${SJ.bold(N.agentType)}`]),G({mode:"list-agents",source:"all"})}catch(p){CQ(M0(p))}},J[26]=O,J[27]=l;else l=J[27];let c=l;switch(Z.mode){case"list-agents":{let N;if(J[28]!==A||J[29]!==Z.source)N=Z.source==="all"?[...A["built-in"],...A.userSettings,...A.projectSettings,...A.localSettings,...A.policySettings,...A.flagSettings,...A.plugin]:A[Z.source],J[28]=A,J[29]=Z.source,J[30]=N;else N=J[30];let p=N,B;if(J[31]!==R||J[32]!==p)B=I0(p,R),J[31]=R,J[32]=p,J[33]=B;else B=J[33];let x=B,T;if(J[34]!==E||J[35]!==Y)T=()=>{let JJ=E.length>0?`Agent changes:
109
+ ${E.join(`
110
+ `)}`:void 0;Y(JJ??"Agents dialog dismissed",{display:E.length===0?"system":void 0})},J[34]=E,J[35]=Y,J[36]=T;else T=J[36];let w;if(J[37]!==Z)w=(JJ)=>G({mode:"agent-menu",agent:JJ,previousMode:Z}),J[37]=Z,J[38]=w;else w=J[38];let m;if(J[39]===Symbol.for("react.memo_cache_sentinel"))m=()=>G({mode:"create-agent"}),J[39]=m;else m=J[39];let _;if(J[40]!==E||J[41]!==Z.source||J[42]!==x||J[43]!==T||J[44]!==w)_=X(LZ,{source:Z.source,agents:x,onBack:T,onSelect:w,onCreateNew:m,changes:E}),J[40]=E,J[41]=Z.source,J[42]=x,J[43]=T,J[44]=w,J[45]=_;else _=J[45];let $;if(J[46]===Symbol.for("react.memo_cache_sentinel"))$=X(xJ,{}),J[46]=$;else $=J[46];let a;if(J[47]!==_)a=F(RJ,{children:[_,$]}),J[47]=_,J[48]=a;else a=J[48];return a}case"create-agent":{let N;if(J[49]===Symbol.for("react.memo_cache_sentinel"))N=()=>G({mode:"list-agents",source:"all"}),J[49]=N;else N=J[49];let p;if(J[50]!==R||J[51]!==y)p=X(W0,{tools:y,existingAgents:R,onComplete:i,onCancel:N}),J[50]=R,J[51]=y,J[52]=p;else p=J[52];return p}case"agent-menu":{let N;if(J[53]!==K||J[54]!==Z.agent.agentType||J[55]!==Z.agent.source){let h;if(J[57]!==Z.agent.agentType||J[58]!==Z.agent.source)h=(qJ)=>qJ.agentType===Z.agent.agentType&&qJ.source===Z.agent.source,J[57]=Z.agent.agentType,J[58]=Z.agent.source,J[59]=h;else h=J[59];N=K.find(h),J[53]=K,J[54]=Z.agent.agentType,J[55]=Z.agent.source,J[56]=N}else N=J[56];let B=N||Z.agent,D=B.source!=="built-in"&&B.source!=="plugin"&&B.source!=="flagSettings",x=B.source==="built-in",T;if(J[60]===Symbol.for("react.memo_cache_sentinel"))T={label:"View agent",value:"view"},J[60]=T;else T=J[60];let w;if(D)w=[{label:"Edit agent",value:"edit"},{label:"Change model",value:"change-model"},{label:"Delete agent",value:"delete"}];else if(x)w=[{label:"Change model",value:"change-model"}];else w=[];let m;if(J[63]===Symbol.for("react.memo_cache_sentinel"))m={label:"Back",value:"back"},J[63]=m;else m=J[63];let _;if(J[64]!==w)_=[T,...w,m],J[64]=w,J[65]=_;else _=J[65];let $=_,a;if(J[66]!==B||J[67]!==Z)a=(h)=>{J:switch(h){case"view":{G({mode:"view-agent",agent:B,previousMode:Z.previousMode});break J}case"edit":{G({mode:"edit-agent",agent:B,previousMode:Z});break J}case"delete":{G({mode:"delete-confirm",agent:B,previousMode:Z});break J}case"change-model":{G({mode:"edit-builtin-model",agent:B,previousMode:Z});break J}case"back":G(Z.previousMode)}},J[66]=B,J[67]=Z,J[68]=a;else a=J[68];let JJ=a,VJ;if(J[69]!==Z.previousMode)VJ=()=>G(Z.previousMode),J[69]=Z.previousMode,J[70]=VJ;else VJ=J[70];let MJ;if(J[71]!==Z.previousMode)MJ=()=>G(Z.previousMode),J[71]=Z.previousMode,J[72]=MJ;else MJ=J[72];let LJ;if(J[73]!==JJ||J[74]!==$||J[75]!==MJ)LJ=X(bJ,{options:$,onChange:JJ,onCancel:MJ}),J[73]=JJ,J[74]=$,J[75]=MJ,J[76]=LJ;else LJ=J[76];let HJ;if(J[77]!==E)HJ=E.length>0&&X(M,{marginTop:1,children:X(L,{dimColor:!0,children:E[E.length-1]})}),J[77]=E,J[78]=HJ;else HJ=J[78];let WJ;if(J[79]!==LJ||J[80]!==HJ)WJ=F(M,{flexDirection:"column",children:[LJ,HJ]}),J[79]=LJ,J[80]=HJ,J[81]=WJ;else WJ=J[81];let FJ;if(J[82]!==Z.agent.agentType||J[83]!==VJ||J[84]!==WJ)FJ=X(wJ,{title:Z.agent.agentType,onCancel:VJ,hideInputGuide:!0,children:WJ}),J[82]=Z.agent.agentType,J[83]=VJ,J[84]=WJ,J[85]=FJ;else FJ=J[85];let KJ;if(J[86]===Symbol.for("react.memo_cache_sentinel"))KJ=X(xJ,{}),J[86]=KJ;else KJ=J[86];let u;if(J[87]!==FJ)u=F(RJ,{children:[FJ,KJ]}),J[87]=FJ,J[88]=u;else u=J[88];return u}case"view-agent":{let N;if(J[89]!==K||J[90]!==Z.agent){let $;if(J[92]!==Z.agent)$=(a)=>a.agentType===Z.agent.agentType&&a.source===Z.agent.source,J[92]=Z.agent,J[93]=$;else $=J[93];N=K.find($),J[89]=K,J[90]=Z.agent,J[91]=N}else N=J[91];let B=N||Z.agent,D;if(J[94]!==B||J[95]!==Z.previousMode)D=()=>G({mode:"agent-menu",agent:B,previousMode:Z.previousMode}),J[94]=B,J[95]=Z.previousMode,J[96]=D;else D=J[96];let x;if(J[97]!==B||J[98]!==Z.previousMode)x=()=>G({mode:"agent-menu",agent:B,previousMode:Z.previousMode}),J[97]=B,J[98]=Z.previousMode,J[99]=x;else x=J[99];let T;if(J[100]!==B||J[101]!==K||J[102]!==y||J[103]!==x)T=X(zX,{agent:B,tools:y,allAgents:K,onBack:x}),J[100]=B,J[101]=K,J[102]=y,J[103]=x,J[104]=T;else T=J[104];let w;if(J[105]!==B.agentType||J[106]!==D||J[107]!==T)w=X(wJ,{title:B.agentType,onCancel:D,hideInputGuide:!0,children:T}),J[105]=B.agentType,J[106]=D,J[107]=T,J[108]=w;else w=J[108];let m;if(J[109]===Symbol.for("react.memo_cache_sentinel"))m=X(xJ,{instructions:"Press Enter or Esc to go back"}),J[109]=m;else m=J[109];let _;if(J[110]!==w)_=F(RJ,{children:[w,m]}),J[110]=w,J[111]=_;else _=J[111];return _}case"delete-confirm":{let N;if(J[112]===Symbol.for("react.memo_cache_sentinel"))N=[{label:"Yes, delete",value:"yes"},{label:"No, cancel",value:"no"}],J[112]=N;else N=J[112];let p=N,B;if(J[113]!==Z)B=()=>{if("previousMode"in Z)G(Z.previousMode)},J[113]=Z,J[114]=B;else B=J[114];let D;if(J[115]!==Z.agent.agentType)D=F(L,{children:["Are you sure you want to delete the agent"," ",X(L,{bold:!0,children:Z.agent.agentType}),"?"]}),J[115]=Z.agent.agentType,J[116]=D;else D=J[116];let x;if(J[117]!==Z.agent.source)x=X(M,{marginTop:1,children:F(L,{dimColor:!0,children:["Source: ",Z.agent.source]})}),J[117]=Z.agent.source,J[118]=x;else x=J[118];let T;if(J[119]!==c||J[120]!==Z)T=(JJ)=>{if(JJ==="yes")c(Z.agent);else if("previousMode"in Z)G(Z.previousMode)},J[119]=c,J[120]=Z,J[121]=T;else T=J[121];let w;if(J[122]!==Z)w=()=>{if("previousMode"in Z)G(Z.previousMode)},J[122]=Z,J[123]=w;else w=J[123];let m;if(J[124]!==T||J[125]!==w)m=X(M,{marginTop:1,children:X(bJ,{options:p,onChange:T,onCancel:w})}),J[124]=T,J[125]=w,J[126]=m;else m=J[126];let _;if(J[127]!==B||J[128]!==D||J[129]!==x||J[130]!==m)_=F(wJ,{title:"Delete agent",onCancel:B,color:"error",children:[D,x,m]}),J[127]=B,J[128]=D,J[129]=x,J[130]=m,J[131]=_;else _=J[131];let $;if(J[132]===Symbol.for("react.memo_cache_sentinel"))$=X(xJ,{instructions:"Press ↑↓ to navigate, Enter to select, Esc to cancel"}),J[132]=$;else $=J[132];let a;if(J[133]!==_)a=F(RJ,{children:[_,$]}),J[133]=_,J[134]=a;else a=J[134];return a}case"edit-agent":{let N;if(J[135]!==K||J[136]!==Z.agent){let JJ;if(J[138]!==Z.agent)JJ=(VJ)=>VJ.agentType===Z.agent.agentType&&VJ.source===Z.agent.source,J[138]=Z.agent,J[139]=JJ;else JJ=J[139];N=K.find(JJ),J[135]=K,J[136]=Z.agent,J[137]=N}else N=J[137];let B=N||Z.agent,D=`Edit agent: ${B.agentType}`,x;if(J[140]!==Z.previousMode)x=()=>G(Z.previousMode),J[140]=Z.previousMode,J[141]=x;else x=J[141];let T,w;if(J[142]!==Z.previousMode)T=(JJ)=>{i(JJ),G(Z.previousMode)},w=()=>G(Z.previousMode),J[142]=Z.previousMode,J[143]=T,J[144]=w;else T=J[143],w=J[144];let m;if(J[145]!==B||J[146]!==y||J[147]!==T||J[148]!==w)m=X(QZ,{agent:B,tools:y,onSaved:T,onBack:w}),J[145]=B,J[146]=y,J[147]=T,J[148]=w,J[149]=m;else m=J[149];let _;if(J[150]!==D||J[151]!==x||J[152]!==m)_=X(wJ,{title:D,onCancel:x,hideInputGuide:!0,children:m}),J[150]=D,J[151]=x,J[152]=m,J[153]=_;else _=J[153];let $;if(J[154]===Symbol.for("react.memo_cache_sentinel"))$=X(xJ,{}),J[154]=$;else $=J[154];let a;if(J[155]!==_)a=F(RJ,{children:[_,$]}),J[155]=_,J[156]=a;else a=J[156];return a}case"edit-builtin-model":{let{agent:N,previousMode:p}=Z,B=async(x)=>{let T=x??"inherit";try{if(N.source==="built-in")P0((m)=>({...m,agentModelOverrides:{...m.agentModelOverrides??{},[E0(N.agentType)]:T}}));else if(N.baseDir)rJ(N.baseDir,N.agentType,T);else{CQ(Error(`Cannot save model override for ${N.agentType}: missing baseDir`)),G(p);return}N0();let w=await k0(QQ());O((m)=>({...m,agentDefinitions:{...m.agentDefinitions,allAgents:w.allAgents,activeAgents:w.activeAgents}})),C((m)=>[...m,`Set model for ${SJ.bold(N.agentType)} → ${T}`])}catch(w){CQ(w)}G(p)},D=()=>G(p);return F(RJ,{children:[X(wJ,{title:`Change model: ${N.agentType}`,onCancel:D,hideInputGuide:!0,children:X(dJ,{initialModel:N.model??"inherit",onComplete:B,onCancel:D})}),X(xJ,{})]})}default:return null}}function $q(Q){return Q.source==="plugin"}function lq(Q){return Q.source==="flagSettings"}function rq(Q){return Q.source==="localSettings"}function nq(Q){return Q.source==="policySettings"}function sq(Q){return Q.source==="projectSettings"}function aq(Q){return Q.source==="userSettings"}function oq(Q){return Q.source==="built-in"}function eq(Q){return Q.toolPermissionContext}function tq(Q){return Q.mcp.tools}function JY(Q){return Q.agentDefinitions}var f0,qX;var D0=r(()=>{dQ();GQ();iq();GJ();zQ();RZ();XQ();dq();iQ();cq();hQ();gq();qQ();lQ();IX();XZ();qZ();FZ();EQ();cJ();RX();O0();j();f0=s(UJ(),1),qX=s(EJ(),1)});function v0(){let Q=eJ((q)=>q.tasks),J=Object.values(Q).filter((q)=>q.type==="local_agent"&&q.agentType!=="main-session"&&(q.status==="running"||q.status==="pending"));return F(M,{flexDirection:"column",paddingTop:1,children:[X(uJ,{color:"permission"}),X(M,{flexDirection:"column",paddingX:2,children:J.length===0?X(M,{marginTop:1,children:X(L,{dimColor:!0,children:"No subagents are currently running."})}):X(M,{flexDirection:"column",marginTop:1,gap:1,children:J.map((q)=>{let Y=q.progress?.tokenCount??0,V=q.progress?.toolUseCount??0,Z=q.model??"inherit",G=q.progress?.lastActivity;return F(M,{flexDirection:"column",children:[F(M,{flexDirection:"row",gap:1,children:[X(L,{bold:!0,children:q.agentType}),X(L,{dimColor:!0,children:"·"}),X(L,{dimColor:!0,children:Z}),X(L,{dimColor:!0,children:"·"}),F(L,{dimColor:!0,children:[b0(Y)," tokens"]}),V>0&&F(RJ,{children:[X(L,{dimColor:!0,children:"·"}),F(L,{dimColor:!0,children:[V," tool",V!==1?"s":""]})]})]}),G&&X(M,{paddingLeft:2,children:X(L,{dimColor:!0,italic:!0,children:G.activityDescription??G.toolName})})]},q.id)})})})]})}var w0=r(()=>{GJ();zQ();kZ();xQ();j()});function QY({onExit:Q}){let J=hJ();t("confirm:no",Q,{context:"Confirmation",isActive:!0});let q=J.pending?`Press ${J.keyName} again to exit`:"←/→ switch tabs · ↑↓ navigate · Enter select · Esc close";return X(M,{marginLeft:2,marginTop:1,children:X(L,{dimColor:!0,children:q})})}function A0({tools:Q,onExit:J}){let[q,Y]=y0.useState("library");C0((Z,G)=>{if(G.leftArrow)Y("running");if(G.rightArrow)Y("library")},{isActive:!0});let V=F(M,{flexDirection:"row",gap:1,marginBottom:0,children:[X(L,{bold:!0,color:"permission",children:"Agents"}),F(L,{bold:q==="running",inverse:q==="running",children:[" ","Running"," "]}),F(L,{bold:q==="library",inverse:q==="library",children:[" ","Library"," "]})]});if(q==="running")return F(M,{flexDirection:"column",children:[V,X(v0,{}),X(QY,{onExit:()=>J("Agents dialog dismissed",{display:"system"})})]});return F(M,{flexDirection:"column",children:[V,X(B0,{tools:Q,onExit:J})]})}var y0;var h0=r(()=>{GJ();GQ();DJ();D0();w0();j();y0=s(EJ(),1)});async function RF(Q,J){let Y=J.getAppState().toolPermissionContext,V=_0(Y);return X(A0,{tools:V,onExit:Q})}var ZY=r(()=>{h0();XY();j()});ZY();export{RF as call};
@@ -0,0 +1 @@
1
+ import{$3 as a,a4 as b,b4 as c,c4 as d,d4 as e,e4 as f,f4 as g,g4 as h,h4 as i,i4 as j,j4 as k}from"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.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{jb as a,kb as b}from"./cli-1.1.14-3cc8a830.mjs";import"./cli-1.1.14-r930b2z3.mjs";export{b as renameRecordingForSession,a as getSessionRecordingPaths};
@@ -0,0 +1 @@
1
+ import"./cli-1.1.14-r930b2z3.mjs";var e=null;async function r(){return""}function s(t){return null}export{e as default,r as computeDefaultInstallDir,s as NewInstallWizard};
@@ -0,0 +1 @@
1
+ import{kH as a,lH as b,mH as c,nH as d,oH as e,pH as f,qH as g}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.mjs";g();export{a as performLogout,c as installOAuthTokens,b as clearAuthRelatedCaches,e as authStatus,f as authLogout,d as authLogin};
@@ -0,0 +1 @@
1
+ import{$7 as G,A7 as f,B7 as g,C7 as h,D7 as i,E7 as j,F7 as k,G7 as l,H7 as m,I7 as n,J7 as o,K7 as p,L7 as q,M7 as r,N7 as s,O7 as t,P7 as u,Q7 as v,R7 as w,S7 as x,T7 as y,U7 as z,V7 as A,W7 as B,X7 as C,Y7 as D,Z7 as E,_7 as F,a8 as H,b8 as I,c8 as J,d8 as K,e8 as L,f8 as M,g8 as N,h8 as O,i8 as P,j8 as Q,k8 as R,l8 as S,m8 as T,n8 as U,o8 as V,p8 as W,q8 as X,r8 as Y,s8 as Z,t8 as _,u8 as $,v7 as a,w7 as b,w8 as aa,x7 as c,y7 as d,z7 as e}from"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.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,48 @@
1
+ import{qx as w,rx as z,su as b,sx as F,tu as I,tx as N}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import{G6 as P,N6 as x,n6 as y}from"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{Dda as Q,Fda as k}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import{Zja as $,cka as U}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import{$ka as T,Uka as Z}from"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.mjs";T();x();N();k();I();U();function G(h){process.stdout.write($(h,null,2)+`
2
+ `)}var V=`Auto-mode classifier prompts are not bundled in this build.
3
+ Effective behavior at runtime: auto-allow for non-allowlisted tools.
4
+ Add prompt templates at src/permissions/yolo-classifier-prompts/ and rebuild to enable.
5
+ `;function D(){if(!w()){process.stdout.write(V);return}G(z())}function E(){if(!w()){process.stdout.write(V);return}let h=Q(),j=z();G({allow:h?.allow?.length?h.allow:j.allow,soft_deny:h?.soft_deny?.length?h.soft_deny:j.soft_deny,environment:h?.environment?.length?h.environment:j.environment})}var m=`You are an expert reviewer of auto mode classifier rules for Claude Code.
6
+
7
+ Claude Code has an "auto mode" that uses an AI classifier to decide whether tool calls should be auto-approved or require user confirmation. Users can write custom rules in three categories:
8
+
9
+ - **allow**: Actions the classifier should auto-approve
10
+ - **soft_deny**: Actions the classifier should block (require user confirmation)
11
+ - **environment**: Context about the user's setup that helps the classifier make decisions
12
+
13
+ Your job is to critique the user's custom rules for clarity, completeness, and potential issues. The classifier is an LLM that reads these rules as part of its system prompt.
14
+
15
+ For each rule, evaluate:
16
+ 1. **Clarity**: Is the rule unambiguous? Could the classifier misinterpret it?
17
+ 2. **Completeness**: Are there gaps or edge cases the rule doesn't cover?
18
+ 3. **Conflicts**: Do any of the rules conflict with each other?
19
+ 4. **Actionability**: Is the rule specific enough for the classifier to act on?
20
+
21
+ Be concise and constructive. Only comment on rules that could be improved. If all rules look good, say so.`;async function M(h){if(!w()){process.stdout.write(V);return}let j=Q();if(!((j?.allow?.length??0)>0||(j?.soft_deny?.length??0)>0||(j?.environment?.length??0)>0)){process.stdout.write(`No custom auto mode rules found.
22
+
23
+ Add rules to your settings file under autoMode.{allow, soft_deny, environment}.
24
+ Run \`claude auto-mode defaults\` to see the default rules for reference.
25
+ `);return}let H=h.model?P(h.model):y(),q=z(),v=F(),O=K("allow",j?.allow??[],q.allow)+K("soft_deny",j?.soft_deny??[],q.soft_deny)+K("environment",j?.environment??[],q.environment);process.stdout.write(`Analyzing your auto mode rules…
26
+
27
+ `);let X;try{X=await b({querySource:"auto_mode_critique",model:H,system:m,max_tokens:4096,messages:[{role:"user",content:`Here is the full classifier system prompt that the auto mode classifier receives:
28
+
29
+ <classifier_system_prompt>
30
+ `+v+`
31
+ </classifier_system_prompt>
32
+
33
+ Here are the user's custom rules that REPLACE the corresponding default sections:
34
+
35
+ `+O+`
36
+ Please critique these custom rules.`}]})}catch(J){process.stderr.write("Failed to analyze rules: "+Z(J)+`
37
+ `),process.exitCode=1;return}let Y=X.content.find((J)=>J.type==="text");if(Y?.type==="text")process.stdout.write(Y.text+`
38
+ `);else process.stdout.write(`No critique was generated. Please try again.
39
+ `)}function K(h,j,W){if(j.length===0)return"";let H=j.map((v)=>"- "+v).join(`
40
+ `),q=W.map((v)=>"- "+v).join(`
41
+ `);return"## "+h+` (custom rules replacing defaults)
42
+ Custom:
43
+ `+H+`
44
+
45
+ Defaults being replaced:
46
+ `+q+`
47
+
48
+ `}export{D as autoModeDefaultsHandler,M as autoModeCritiqueHandler,E as autoModeConfigHandler};
@@ -0,0 +1 @@
1
+ import{AU as n,BU as o,nU as a,oU as b,pU as c,qU as d,rU as e,sU as f,tU as g,uU as h,vU as i,wU as j,xU as k,yU as l,zU as m}from"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-r930b2z3.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{Sa as a}from"./cli-1.1.14-z0mjb0vh.mjs";import"./cli-1.1.14-gtxhty3d.mjs";import"./cli-1.1.14-vmwd3gk6.mjs";import"./cli-1.1.14-9419wa62.mjs";import"./cli-1.1.14-p0xhp49n.mjs";import"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.mjs";export{a as startBackgroundHousekeeping};
@@ -0,0 +1,4 @@
1
+ import{Aj as D,Bj as M,Gj as R,OS as j,nT as E,pT as c,uj as C}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{Faa as U,Iaa as b,Mca as w,Wca as k}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import{rja as F,uja as N}from"./cli-1.1.14-f5bvc359.mjs";import{Zja as O,cka as S}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import{Sqa as I,Tma as z,Zma as v}from"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Esa as h}from"./cli-1.1.14-r930b2z3.mjs";import{randomUUID as u}from"crypto";import{mkdir as y,readFile as p,writeFile as f}from"fs/promises";function g(Q){let G=Q?.message?.content;if(!G)return"Branched conversation";let X=typeof G==="string"?G:G.find((Z)=>Z.type==="text")?.text;if(!X)return"Branched conversation";return X.replace(/\s+/g," ").trim().slice(0,100)||"Branched conversation"}async function d(Q){let G=u(),X=z(),Z=R(v()),Y=M(G),V=D();await y(Z,{recursive:!0,mode:448});let K;try{K=await p(V)}catch{throw Error("No conversation to branch")}if(K.length===0)throw Error("No conversation to branch");let _=U(K),W=_.filter((A)=>C(A)&&!A.isSidechain),H=_.filter((A)=>A.type==="content-replacement"&&A.sessionId===X).flatMap((A)=>A.replacements);if(W.length===0)throw Error("No messages to branch");let $=null,q=[],B=[];for(let A of W){let L={...A,sessionId:G,parentUuid:$,isSidechain:!1,forkedFrom:{sessionId:X,messageUuid:A.uuid}},J={...A,sessionId:G};if(B.push(J),q.push(O(L)),A.type!=="progress")$=A.uuid}if(H.length>0){let A={type:"content-replacement",sessionId:G,replacements:H};q.push(O(A))}return await f(Y,q.join(`
2
+ `)+`
3
+ `,{encoding:"utf8",mode:384}),{sessionId:G,title:Q,forkPath:Y,serializedMessages:B,contentReplacementRecords:H}}async function l(Q){let G=`${Q} (Branch)`;if((await E(G,{exact:!0})).length===0)return G;let Z=await E(`${Q} (Branch`),Y=new Set([1]),V=new RegExp(`^${w(Q)} \\(Branch(?: (\\d+))?\\)$`);for(let _ of Z){let W=_.customTitle?.match(V);if(W)if(W[1])Y.add(parseInt(W[1],10));else Y.add(1)}let K=2;while(Y.has(K))K++;return`${Q} (Branch ${K})`}async function AA(Q,G,X){let Z=X?.trim()||void 0,Y=z();try{let{sessionId:V,title:K,forkPath:_,serializedMessages:W,contentReplacementRecords:H}=await d(Z),$=new Date,q=g(W.find((T)=>T.type==="user")),A=await l(K??q);await j(V,A,_),F("",{message_count:W.length,has_custom_title:!!K});let L={date:$.toISOString().split("T")[0],messages:W,fullPath:_,value:$.getTime(),created:$,modified:$,firstPrompt:q,messageCount:W.length,isSidechain:!1,sessionId:V,customTitle:A,contentReplacements:H},J=K?` "${K}"`:"",x=`
4
+ To resume the original: claude -r ${Y}`,P=`Branched conversation${J}. You are now in the branch.${x}`;if(G.resume)await G.resume(V,L,"fork"),Q(P,{display:"system"});else Q(`Branched conversation${J}. Resume with: /resume ${V}`);return null}catch(V){let K=V instanceof Error?V.message:"Unknown error occurred";return Q(`Failed to branch conversation: ${K}`),null}}var m=h(()=>{I();N();b();c();S();k()});m();export{g as deriveFirstPrompt,AA as call};
@@ -0,0 +1,2 @@
1
+ import{cc as Oz,dc as xz}from"./cli-1.1.14-7pzggsge.mjs";import{gc as Uz,ic as uz}from"./cli-1.1.14-6aknzs0q.mjs";import{Ee as bz,Fe as Tz}from"./cli-1.1.14-ky3mvy9k.mjs";import{Xe as fz,Ze as Lz,_e as gz}from"./cli-1.1.14-f04bv457.mjs";import{ni as Fz,pi as vz}from"./cli-1.1.14-ypbww0jj.mjs";import{$F as s,Hx as q,Ix as Xz,Kx as mz,Xn as Pz,Yn as Bz,aG as hz,bG as kz,eG as Sz}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import{AW as Mz,BW as Nz,DW as qz,GW as Dz}from"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import{iY as Gz,jY as Rz}from"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import{I0 as n,K0 as N,jZ as Az,n1 as Ez}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import{L3 as X,M3 as o,N3 as Zz}from"./cli-1.1.14-az6pbe66.mjs";import{O3 as Iz}from"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import{rja as $,uja as jz}from"./cli-1.1.14-f5bvc359.mjs";import{uka as Vz,xka as yz}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as Kz,Esa as Cz,Fsa as wz}from"./cli-1.1.14-r930b2z3.mjs";function cz(H){let z=Yz.c(10),{onDone:J,name:Z}=H,P=Xz(),b=q(dz),S=q(az),K=q(_z),[D,G]=M.useState(!1),f;if(z[0]!==Z||z[1]!==J||z[2]!==b||z[3]!==S||z[4]!==K||z[5]!==P)f=()=>{if((b||S)&&!K){G(!0);return}let V=!1;return(async()=>{let Y=await zH();if(V)return;if(Y){$("",{action:"preflight_failed"}),J(Y,{display:"system"});return}if(Oz()){P((W)=>{if(W.showRemoteCallout)return W;return{...W,showRemoteCallout:!0,replBridgeInitialName:Z}}),J("",{display:"system"});return}$("",{action:"connect"}),P((W)=>{if(W.replBridgeEnabled&&!W.replBridgeOutboundOnly)return W;return{...W,replBridgeEnabled:!0,replBridgeExplicit:!0,replBridgeOutboundOnly:!1,replBridgeInitialName:Z}}),J("Remote Control connecting…",{display:"system"})})(),()=>{V=!0}},z[0]=Z,z[1]=J,z[2]=b,z[3]=S,z[4]=K,z[5]=P,z[6]=f;else f=z[6];let k;if(z[7]===Symbol.for("react.memo_cache_sentinel"))k=[],z[7]=k;else k=z[7];if(M.useEffect(f,k),D){let V;if(z[8]!==J)V=X(lz,{onDone:J}),z[8]=J,z[9]=V;else V=z[9];return V}return null}function _z(H){return H.replBridgeOutboundOnly}function az(H){return H.replBridgeEnabled}function dz(H){return H.replBridgeConnected}function lz(H){let z=Yz.c(61),{onDone:J}=H;kz("bridge-disconnect-dialog");let Z=Xz(),P=q(tz),b=q(ez),S=q($z),[K,D]=M.useState(2),[G,f]=M.useState(!1),[k,V]=M.useState(""),Y=S?P:b,W,T;if(z[0]!==Y||z[1]!==G)W=()=>{if(!G||!Y){V("");return}bz(Y,{type:"utf8",errorCorrectionLevel:"L"}).then(V).catch(()=>V(""))},T=[G,Y],z[0]=Y,z[1]=G,z[2]=W,z[3]=T;else W=z[2],T=z[3];M.useEffect(W,T);let g;if(z[4]!==J||z[5]!==Z)g=function(){Z(sz),$("",{action:"disconnect"}),J(Lz,{display:"system"})},z[4]=J,z[5]=Z,z[6]=g;else g=z[6];let e=g,u;if(z[7]===Symbol.for("react.memo_cache_sentinel"))u=function(){f(nz)},z[7]=u;else u=z[7];let Qz=u,x;if(z[8]!==J)x=function(){J(void 0,{display:"skip"})},z[8]=J,z[9]=x;else x=z[9];let L=x,c,_;if(z[10]===Symbol.for("react.memo_cache_sentinel"))c=()=>D(oz),_=()=>D(rz),z[10]=c,z[11]=_;else c=z[10],_=z[11];let a;if(z[12]!==K||z[13]!==L||z[14]!==e)a={"select:next":c,"select:previous":_,"select:accept":()=>{if(K===0)e();else if(K===1)Qz();else L()}},z[12]=K,z[13]=L,z[14]=e,z[15]=a;else a=z[15];let d;if(z[16]===Symbol.for("react.memo_cache_sentinel"))d={context:"Select"},z[16]=d;else d=z[16];Gz(a,d);let U,O,Q,C,F,w,j,y,I;if(z[17]!==Y||z[18]!==L||z[19]!==k||z[20]!==G){let v=k?k.split(`
2
+ `).filter(iz):[];O=Pz,j="Remote Control",y=L,I=!0,U=n,Q="column",C=1;let Wz=Y?` at ${Y}`:"";if(z[30]!==Wz)F=o(N,{children:["This session is available via Remote Control",Wz,"."]}),z[30]=Wz,z[31]=F;else F=z[31];w=G&&v.length>0&&X(n,{flexDirection:"column",children:v.map(pz)}),z[17]=Y,z[18]=L,z[19]=k,z[20]=G,z[21]=U,z[22]=O,z[23]=Q,z[24]=C,z[25]=F,z[26]=w,z[27]=j,z[28]=y,z[29]=I}else U=z[21],O=z[22],Q=z[23],C=z[24],F=z[25],w=z[26],j=z[27],y=z[28],I=z[29];let t=K===0,l;if(z[32]===Symbol.for("react.memo_cache_sentinel"))l=X(N,{children:"Disconnect this session"}),z[32]=l;else l=z[32];let A;if(z[33]!==t)A=X(s,{isFocused:t,children:l}),z[33]=t,z[34]=A;else A=z[34];let zz=K===1,Hz=G?"Hide QR code":"Show QR code",E;if(z[35]!==Hz)E=X(N,{children:Hz}),z[35]=Hz,z[36]=E;else E=z[36];let R;if(z[37]!==zz||z[38]!==E)R=X(s,{isFocused:zz,children:E}),z[37]=zz,z[38]=E,z[39]=R;else R=z[39];let Jz=K===2,p;if(z[40]===Symbol.for("react.memo_cache_sentinel"))p=X(N,{children:"Continue"}),z[40]=p;else p=z[40];let B;if(z[41]!==Jz)B=X(s,{isFocused:Jz,children:p}),z[41]=Jz,z[42]=B;else B=z[42];let m;if(z[43]!==A||z[44]!==R||z[45]!==B)m=o(n,{flexDirection:"column",children:[A,R,B]}),z[43]=A,z[44]=R,z[45]=B,z[46]=m;else m=z[46];let i;if(z[47]===Symbol.for("react.memo_cache_sentinel"))i=X(N,{dimColor:!0,children:"Enter to select · Esc to continue"}),z[47]=i;else i=z[47];let h;if(z[48]!==U||z[49]!==Q||z[50]!==C||z[51]!==F||z[52]!==w||z[53]!==m)h=o(U,{flexDirection:Q,gap:C,children:[F,w,m,i]}),z[48]=U,z[49]=Q,z[50]=C,z[51]=F,z[52]=w,z[53]=m,z[54]=h;else h=z[54];let r;if(z[55]!==O||z[56]!==j||z[57]!==y||z[58]!==I||z[59]!==h)r=X(O,{title:j,onCancel:y,hideInputGuide:I,children:h}),z[55]=O,z[56]=j,z[57]=y,z[58]=I,z[59]=h,z[60]=r;else r=z[60];return r}function pz(H,z){return X(N,{children:H},z)}function iz(H){return H.length>0}function rz(H){return(H-1+3)%3}function oz(H){return(H+1)%3}function nz(H){return!H}function sz(H){if(!H.replBridgeEnabled)return H;return{...H,replBridgeEnabled:!1,replBridgeExplicit:!1,replBridgeOutboundOnly:!1}}function $z(H){return H.replBridgeSessionActive}function ez(H){return H.replBridgeConnectUrl}function tz(H){return H.replBridgeSessionUrl}async function zH(){let{waitForPolicyLimitsToLoad:H,isPolicyAllowed:z}=await import("./index-1.1.14-73zx1e4s.mjs");if(await H(),!z("allow_remote_control"))return"Remote Control is disabled by your organization's policy.";let J=await Mz();if(J)return J;let P=Nz()?await Uz():qz();if(P)return P;if(!Fz())return fz;return Vz("[bridge] Prerequisites passed, enabling bridge"),null}async function bH(H,z,J){let Z=J.trim()||void 0;return X(cz,{onDone:H,name:Z})}var Yz,M;var HH=Cz(()=>{Tz();vz();Dz();uz();gz();Bz();hz();xz();Sz();Ez();Rz();jz();mz();yz();Zz();Yz=Kz(Az(),1),M=Kz(Iz(),1)});HH();export{bH as call};
@@ -0,0 +1 @@
1
+ import{li as a,mi as b,ni as c,oi as d,pi as e}from"./cli-1.1.14-ypbww0jj.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.mjs";e();export{a as getBridgeTokenOverride,b as getBridgeBaseUrlOverride,d as getBridgeBaseUrl,c as getBridgeAccessToken};
@@ -0,0 +1 @@
1
+ import{AW as c,BW as d,CW as e,DW as f,EW as g,FW as h,GW as i,yW as a,zW as b}from"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.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};