@claudiolabs/claudin 1.1.15 → 1.1.17

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 (909) hide show
  1. package/dist/chunks/AgentTool-1.1.17-c0szwp8n.mjs +1 -0
  2. package/dist/chunks/App-1.1.17-02e9gv69.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.17-jxfbym1r.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.17-6yp2beyh.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.17-w9xsetq9.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.17-84z0pr68.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.17-q46af0nw.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.17-ew4a8tt8.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.17-rmqcdxg8.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.17-hg2xast7.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.17-9bpc3q6s.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.17-k5e62crs.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.17-dsnkhped.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.17-kvhxeef5.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.17-a4rrxzp6.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.17-4rfmem0t.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.17-e9mp9qde.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.17-4wy9nbxj.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.17-yqrt4v79.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.17-3sr5b9tz.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.17-dkwbndzq.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.17-f8qa4fjm.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.17-21kb50xj.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.17-0kmr0pvg.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.17-8beq3avk.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.17-z786dzeg.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.17-x2aq5sx0.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.17-2s13eqzw.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.17-ct1sy6xb.mjs +1 -0
  30. package/dist/chunks/agents-1.1.17-550b7p8x.mjs +110 -0
  31. package/dist/chunks/agents-1.1.17-r5c8tpkr.mjs +3 -0
  32. package/dist/chunks/api-1.1.17-75x5tmes.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.17-79trcjfv.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.17-dbbtqfan.mjs +1 -0
  35. package/dist/chunks/auth-1.1.17-8f3fach8.mjs +1 -0
  36. package/dist/chunks/auth-1.1.17-m8h26316.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.17-qc59qrkd.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.17-eget172p.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.17-hn3tt3zt.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.17-v11kpga8.mjs +1 -0
  41. package/dist/chunks/branch-1.1.17-w3zktkvs.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.17-x5r3w789.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.17-kce97mnv.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.17-75j54src.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.17-4mqk6cqv.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.17-tnq9hpp2.mjs +1 -0
  47. package/dist/chunks/btw-1.1.17-45g5jhjr.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.17-axejc0a1.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.17-x0n3bj9h.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.17-54ab6ndm.mjs +4 -0
  51. package/dist/chunks/caches-1.1.17-tqxvw7fb.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.17-rrzswj35.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.17-y5mkq5gq.mjs +1 -0
  54. package/dist/chunks/clear-1.1.17-6eyrsqrw.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.17-22ezdweq.mjs +1 -0
  56. package/dist/chunks/cli-1.1.17-0511dy9y.mjs +2 -0
  57. package/dist/chunks/cli-1.1.17-06mdd80y.mjs +2 -0
  58. package/dist/chunks/cli-1.1.17-09c1vkqx.mjs +2 -0
  59. package/dist/chunks/cli-1.1.17-0d7fthp5.mjs +58 -0
  60. package/dist/chunks/cli-1.1.17-0p0ak3zs.mjs +2 -0
  61. package/dist/chunks/cli-1.1.17-18k7783y.mjs +20 -0
  62. package/dist/chunks/cli-1.1.17-1fvh83yv.mjs +7 -0
  63. package/dist/chunks/cli-1.1.17-1nxc4dk2.mjs +12 -0
  64. package/dist/chunks/cli-1.1.17-1v8knfbw.mjs +2 -0
  65. package/dist/chunks/cli-1.1.17-1w1dgmsf.mjs +5 -0
  66. package/dist/chunks/cli-1.1.17-2b4keqra.mjs +4 -0
  67. package/dist/chunks/cli-1.1.17-2bc3gqw5.mjs +6 -0
  68. package/dist/chunks/cli-1.1.17-2jv9761d.mjs +2 -0
  69. package/dist/chunks/cli-1.1.17-2pvpn49s.mjs +3 -0
  70. package/dist/chunks/cli-1.1.17-2spbpwrx.mjs +2 -0
  71. package/dist/chunks/cli-1.1.17-2szs1chw.mjs +2 -0
  72. package/dist/chunks/cli-1.1.17-2z1g2hjb.mjs +4 -0
  73. package/dist/chunks/cli-1.1.17-3bkjnp3z.mjs +25 -0
  74. package/dist/chunks/cli-1.1.17-3jqe0rga.mjs +3 -0
  75. package/dist/chunks/cli-1.1.17-3mtgr9ch.mjs +3 -0
  76. package/dist/chunks/cli-1.1.17-3r1p3ddm.mjs +2 -0
  77. package/dist/chunks/cli-1.1.17-3sy6b0hb.mjs +4 -0
  78. package/dist/chunks/cli-1.1.17-3v5m3zqf.mjs +2 -0
  79. package/dist/chunks/cli-1.1.17-3z8hnad1.mjs +2 -0
  80. package/dist/chunks/cli-1.1.17-40gj2tc0.mjs +2 -0
  81. package/dist/chunks/cli-1.1.17-40w0wha0.mjs +2 -0
  82. package/dist/chunks/cli-1.1.17-44fk8h9v.mjs +6 -0
  83. package/dist/chunks/cli-1.1.17-4cxy3tsf.mjs +2 -0
  84. package/dist/chunks/cli-1.1.17-4egkrc4y.mjs +2 -0
  85. package/dist/chunks/cli-1.1.17-4yvz970v.mjs +2 -0
  86. package/dist/chunks/cli-1.1.17-545688c0.mjs +2 -0
  87. package/dist/chunks/cli-1.1.17-5bbnw0z1.mjs +2 -0
  88. package/dist/chunks/cli-1.1.17-5ckk64dj.mjs +3 -0
  89. package/dist/chunks/cli-1.1.17-5eapymd7.mjs +25 -0
  90. package/dist/chunks/cli-1.1.17-5h6k67gj.mjs +39 -0
  91. package/dist/chunks/cli-1.1.17-5rfxkg0q.mjs +2 -0
  92. package/dist/chunks/cli-1.1.17-5ytk3hr5.mjs +2 -0
  93. package/dist/chunks/cli-1.1.17-60mezybh.mjs +2 -0
  94. package/dist/chunks/cli-1.1.17-62yjss1h.mjs +2 -0
  95. package/dist/chunks/cli-1.1.17-66c4sw6g.mjs +2 -0
  96. package/dist/chunks/cli-1.1.17-6e7rvf1a.mjs +2 -0
  97. package/dist/chunks/cli-1.1.17-6ee0nqae.mjs +2 -0
  98. package/dist/chunks/cli-1.1.17-6gfvdt7y.mjs +8 -0
  99. package/dist/chunks/cli-1.1.17-6jzph4h7.mjs +3 -0
  100. package/dist/chunks/cli-1.1.17-6rx20w90.mjs +2 -0
  101. package/dist/chunks/cli-1.1.17-6wdwjtdj.mjs +7 -0
  102. package/dist/chunks/cli-1.1.17-6xnsg3vj.mjs +2 -0
  103. package/dist/chunks/cli-1.1.17-6yqbrqsj.mjs +4 -0
  104. package/dist/chunks/cli-1.1.17-787fk73v.mjs +3 -0
  105. package/dist/chunks/cli-1.1.17-7n4s8n50.mjs +6 -0
  106. package/dist/chunks/cli-1.1.17-83bggr64.mjs +3 -0
  107. package/dist/chunks/cli-1.1.17-848t1b19.mjs +2 -0
  108. package/dist/chunks/cli-1.1.17-85fga8dq.mjs +2 -0
  109. package/dist/chunks/cli-1.1.17-85mcc9n7.mjs +2 -0
  110. package/dist/chunks/cli-1.1.17-86a50dqm.mjs +2 -0
  111. package/dist/chunks/cli-1.1.17-8ae45qsd.mjs +6 -0
  112. package/dist/chunks/cli-1.1.17-8pkspqzx.mjs +2 -0
  113. package/dist/chunks/cli-1.1.17-8yryp8zt.mjs +2 -0
  114. package/dist/chunks/cli-1.1.17-91shm790.mjs +2 -0
  115. package/dist/chunks/cli-1.1.17-937ws80k.mjs +2 -0
  116. package/dist/chunks/cli-1.1.17-95kegjhq.mjs +2 -0
  117. package/dist/chunks/cli-1.1.17-9bq6vj3x.mjs +2 -0
  118. package/dist/chunks/cli-1.1.17-9dv8cb2e.mjs +2 -0
  119. package/dist/chunks/cli-1.1.17-9nvn8chy.mjs +21 -0
  120. package/dist/chunks/cli-1.1.17-9pb21bzq.mjs +2 -0
  121. package/dist/chunks/cli-1.1.17-9pv5wym1.mjs +2 -0
  122. package/dist/chunks/cli-1.1.17-9q30wadt.mjs +17 -0
  123. package/dist/chunks/cli-1.1.17-9rtpxyk6.mjs +2 -0
  124. package/dist/chunks/cli-1.1.17-9wgw338h.mjs +2 -0
  125. package/dist/chunks/cli-1.1.17-adz6qec3.mjs +2 -0
  126. package/dist/chunks/cli-1.1.17-amta49a1.mjs +2 -0
  127. package/dist/chunks/cli-1.1.17-amvnbvkb.mjs +66 -0
  128. package/dist/chunks/cli-1.1.17-arwr4e36.mjs +2 -0
  129. package/dist/chunks/cli-1.1.17-av45k1a0.mjs +15 -0
  130. package/dist/chunks/cli-1.1.17-avc9ck1v.mjs +2 -0
  131. package/dist/chunks/cli-1.1.17-b1g8n716.mjs +2 -0
  132. package/dist/chunks/cli-1.1.17-b5btm8nn.mjs +5 -0
  133. package/dist/chunks/cli-1.1.17-b6178p3e.mjs +2 -0
  134. package/dist/chunks/cli-1.1.17-bg6qdrwm.mjs +2 -0
  135. package/dist/chunks/cli-1.1.17-bj81ampw.mjs +3 -0
  136. package/dist/chunks/cli-1.1.17-brvf3613.mjs +3 -0
  137. package/dist/chunks/cli-1.1.17-bw27qnmm.mjs +2 -0
  138. package/dist/chunks/cli-1.1.17-bw4gf7se.mjs +2 -0
  139. package/dist/chunks/cli-1.1.17-bzw849yw.mjs +2 -0
  140. package/dist/chunks/cli-1.1.17-c4wdrmzx.mjs +3 -0
  141. package/dist/chunks/cli-1.1.17-c858dzpc.mjs +2 -0
  142. package/dist/chunks/cli-1.1.17-cddbmrdk.mjs +2 -0
  143. package/dist/chunks/cli-1.1.17-cek6be4z.mjs +15 -0
  144. package/dist/chunks/cli-1.1.17-chsbt03k.mjs +2 -0
  145. package/dist/chunks/cli-1.1.17-cnp784zh.mjs +2 -0
  146. package/dist/chunks/cli-1.1.17-ct0r352g.mjs +2 -0
  147. package/dist/chunks/cli-1.1.17-cvtpmgr1.mjs +16 -0
  148. package/dist/chunks/cli-1.1.17-d24yw7cv.mjs +50 -0
  149. package/dist/chunks/cli-1.1.17-d8zh7smn.mjs +3 -0
  150. package/dist/chunks/cli-1.1.17-d9y6k8vc.mjs +2 -0
  151. package/dist/chunks/cli-1.1.17-db7epgkw.mjs +2 -0
  152. package/dist/chunks/cli-1.1.17-dhbj7k9k.mjs +2 -0
  153. package/dist/chunks/cli-1.1.17-dp5q3hgg.mjs +2 -0
  154. package/dist/chunks/cli-1.1.17-e8bd5mhc.mjs +2 -0
  155. package/dist/chunks/cli-1.1.17-egp0jwn1.mjs +6 -0
  156. package/dist/chunks/cli-1.1.17-ete62cd3.mjs +2 -0
  157. package/dist/chunks/cli-1.1.17-evytxpaj.mjs +4 -0
  158. package/dist/chunks/cli-1.1.17-f0f3ww1e.mjs +2 -0
  159. package/dist/chunks/cli-1.1.17-f29ngxbd.mjs +2 -0
  160. package/dist/chunks/cli-1.1.17-f4eghwer.mjs +2 -0
  161. package/dist/chunks/cli-1.1.17-fc8raa73.mjs +2 -0
  162. package/dist/chunks/cli-1.1.17-fc9ah2rx.mjs +2 -0
  163. package/dist/chunks/cli-1.1.17-fn3aawry.mjs +2 -0
  164. package/dist/chunks/cli-1.1.17-fpt9fhj3.mjs +2 -0
  165. package/dist/chunks/cli-1.1.17-frwjbpkz.mjs +12 -0
  166. package/dist/chunks/cli-1.1.17-fzsavwtg.mjs +133 -0
  167. package/dist/chunks/cli-1.1.17-g02c88z9.mjs +2 -0
  168. package/dist/chunks/cli-1.1.17-g0r7knn3.mjs +9 -0
  169. package/dist/chunks/cli-1.1.17-g8x1ae0n.mjs +2 -0
  170. package/dist/chunks/cli-1.1.17-gbx2evhw.mjs +2 -0
  171. package/dist/chunks/cli-1.1.17-gjjv9pf2.mjs +2 -0
  172. package/dist/chunks/cli-1.1.17-grwds6h6.mjs +2 -0
  173. package/dist/chunks/cli-1.1.17-gy86radb.mjs +6 -0
  174. package/dist/chunks/cli-1.1.17-gz7gazer.mjs +2 -0
  175. package/dist/chunks/cli-1.1.17-h68j8yr4.mjs +2 -0
  176. package/dist/chunks/cli-1.1.17-h899gx3g.mjs +59 -0
  177. package/dist/chunks/cli-1.1.17-hk50rvfx.mjs +2 -0
  178. package/dist/chunks/cli-1.1.17-hv7vtr92.mjs +2 -0
  179. package/dist/chunks/cli-1.1.17-j0rsgbr3.mjs +2 -0
  180. package/dist/chunks/cli-1.1.17-j7w7vk9q.mjs +4 -0
  181. package/dist/chunks/cli-1.1.17-ja7d18ym.mjs +2 -0
  182. package/dist/chunks/cli-1.1.17-jbg9ze8v.mjs +26 -0
  183. package/dist/chunks/cli-1.1.17-jbmze4s1.mjs +3 -0
  184. package/dist/chunks/cli-1.1.17-jd6hwz1t.mjs +18 -0
  185. package/dist/chunks/cli-1.1.17-jfrmnvzh.mjs +42 -0
  186. package/dist/chunks/cli-1.1.17-jmhry9pe.mjs +2 -0
  187. package/dist/chunks/cli-1.1.17-jyzpxwq4.mjs +2 -0
  188. package/dist/chunks/cli-1.1.17-k2ygh79g.mjs +24 -0
  189. package/dist/chunks/cli-1.1.17-k4cv7tcx.mjs +2 -0
  190. package/dist/chunks/cli-1.1.17-k6xg5a3t.mjs +2 -0
  191. package/dist/chunks/cli-1.1.17-kasvn1wv.mjs +2 -0
  192. package/dist/chunks/cli-1.1.17-kdycyp8n.mjs +4 -0
  193. package/dist/chunks/cli-1.1.17-kjk1ddpc.mjs +2 -0
  194. package/dist/chunks/cli-1.1.17-kk19mmhc.mjs +17 -0
  195. package/dist/chunks/cli-1.1.17-krb62aen.mjs +2 -0
  196. package/dist/chunks/cli-1.1.17-mc6hgzsa.mjs +4 -0
  197. package/dist/chunks/cli-1.1.17-mvgrc9gx.mjs +2 -0
  198. package/dist/chunks/cli-1.1.17-n2dct122.mjs +2 -0
  199. package/dist/chunks/cli-1.1.17-n4xn5c5m.mjs +34 -0
  200. package/dist/chunks/cli-1.1.17-nes161na.mjs +2 -0
  201. package/dist/chunks/cli-1.1.17-nhn5qa9g.mjs +45 -0
  202. package/dist/chunks/cli-1.1.17-nr1fn5ws.mjs +2 -0
  203. package/dist/chunks/cli-1.1.17-p7mq618q.mjs +2 -0
  204. package/dist/chunks/cli-1.1.17-phaqkjy5.mjs +3 -0
  205. package/dist/chunks/cli-1.1.17-pmner0m4.mjs +206 -0
  206. package/dist/chunks/cli-1.1.17-q6fve29k.mjs +2 -0
  207. package/dist/chunks/cli-1.1.17-q7f9amqd.mjs +2 -0
  208. package/dist/chunks/cli-1.1.17-qr727b7j.mjs +18 -0
  209. package/dist/chunks/cli-1.1.17-qwkbwe37.mjs +2 -0
  210. package/dist/chunks/cli-1.1.17-r47egjp3.mjs +2 -0
  211. package/dist/chunks/cli-1.1.17-rak849bn.mjs +3 -0
  212. package/dist/chunks/cli-1.1.17-rgzfxape.mjs +2 -0
  213. package/dist/chunks/cli-1.1.17-rpac3qey.mjs +2 -0
  214. package/dist/chunks/cli-1.1.17-rv9n4f0j.mjs +2 -0
  215. package/dist/chunks/cli-1.1.17-ry9v8zr7.mjs +2 -0
  216. package/dist/chunks/cli-1.1.17-s0w3hc9t.mjs +4 -0
  217. package/dist/chunks/cli-1.1.17-s6rzrasx.mjs +2 -0
  218. package/dist/chunks/cli-1.1.17-s9617g9k.mjs +2 -0
  219. package/dist/chunks/cli-1.1.17-sa6xwtgz.mjs +1 -0
  220. package/dist/chunks/cli-1.1.17-sekbxc10.mjs +24 -0
  221. package/dist/chunks/cli-1.1.17-sf4te5vd.mjs +2 -0
  222. package/dist/chunks/cli-1.1.17-sh93pnws.mjs +2 -0
  223. package/dist/chunks/cli-1.1.17-spygywkr.mjs +2 -0
  224. package/dist/chunks/cli-1.1.17-sqnbm5cb.mjs +2 -0
  225. package/dist/chunks/cli-1.1.17-ss5f6ezq.mjs +2 -0
  226. package/dist/chunks/cli-1.1.17-ssjqqbnv.mjs +2 -0
  227. package/dist/chunks/cli-1.1.17-sx4yg7br.mjs +2 -0
  228. package/dist/chunks/cli-1.1.17-sxvjn3ne.mjs +2 -0
  229. package/dist/chunks/cli-1.1.17-t059h154.mjs +2 -0
  230. package/dist/chunks/cli-1.1.17-tcxq0ah8.mjs +2 -0
  231. package/dist/chunks/cli-1.1.17-tjtarhk9.mjs +5408 -0
  232. package/dist/chunks/cli-1.1.17-tkz7x0rj.mjs +2 -0
  233. package/dist/chunks/cli-1.1.17-v5nv0awt.mjs +2 -0
  234. package/dist/chunks/cli-1.1.17-vecw37vp.mjs +2 -0
  235. package/dist/chunks/cli-1.1.17-vewrwcsz.mjs +2 -0
  236. package/dist/chunks/cli-1.1.17-vj9h10jw.mjs +2 -0
  237. package/dist/chunks/cli-1.1.17-vpgxna04.mjs +2 -0
  238. package/dist/chunks/cli-1.1.17-vya6g1gj.mjs +2 -0
  239. package/dist/chunks/cli-1.1.17-vzhs0tcz.mjs +2 -0
  240. package/dist/chunks/cli-1.1.17-w70hp8av.mjs +2 -0
  241. package/dist/chunks/cli-1.1.17-w8ycz611.mjs +4 -0
  242. package/dist/chunks/cli-1.1.17-w9jr2baa.mjs +2 -0
  243. package/dist/chunks/cli-1.1.17-wmy7x7p1.mjs +3 -0
  244. package/dist/chunks/cli-1.1.17-wpw25vs3.mjs +2 -0
  245. package/dist/chunks/cli-1.1.17-wraax29e.mjs +2 -0
  246. package/dist/chunks/cli-1.1.17-xmwmqrg5.mjs +2 -0
  247. package/dist/chunks/cli-1.1.17-xpxk1a24.mjs +2 -0
  248. package/dist/chunks/cli-1.1.17-xqsq5e1g.mjs +2 -0
  249. package/dist/chunks/cli-1.1.17-xr6d85ak.mjs +24 -0
  250. package/dist/chunks/cli-1.1.17-xyvhfz5c.mjs +133 -0
  251. package/dist/chunks/cli-1.1.17-y590316j.mjs +2 -0
  252. package/dist/chunks/cli-1.1.17-y9v9t43m.mjs +2 -0
  253. package/dist/chunks/cli-1.1.17-yc5h2t8c.mjs +2 -0
  254. package/dist/chunks/cli-1.1.17-yexr9jg1.mjs +2 -0
  255. package/dist/chunks/cli-1.1.17-ymeaeqf8.mjs +15 -0
  256. package/dist/chunks/cli-1.1.17-ys4xrvjv.mjs +2 -0
  257. package/dist/chunks/cli-1.1.17-yzm3tm0n.mjs +2 -0
  258. package/dist/chunks/cli-1.1.17-z3nzbxwq.mjs +24 -0
  259. package/dist/chunks/cli-1.1.17-z8hph2r6.mjs +2 -0
  260. package/dist/chunks/cli-1.1.17-zeqbjpg8.mjs +2 -0
  261. package/dist/chunks/cli-1.1.17-zhbqhsnh.mjs +2 -0
  262. package/dist/chunks/cli-1.1.17-znjf3r1w.mjs +2 -0
  263. package/dist/chunks/cli-1.1.17-zs8ffrtz.mjs +9 -0
  264. package/dist/chunks/cli-1.1.17-zsygz35e.mjs +2 -0
  265. package/dist/chunks/client-1.1.17-nagqj7bf.mjs +1 -0
  266. package/dist/chunks/color-1.1.17-p6y05fhc.mjs +1 -0
  267. package/dist/chunks/compact-1.1.17-pzzrynbb.mjs +3 -0
  268. package/dist/chunks/config-1.1.17-m2ajzt0e.mjs +1 -0
  269. package/dist/chunks/config-1.1.17-wmdy8158.mjs +1 -0
  270. package/dist/chunks/constants-1.1.17-v8sj602z.mjs +1 -0
  271. package/dist/chunks/context-1.1.17-7e2bk0as.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-1.1.17-e84cts6x.mjs +1 -0
  273. package/dist/chunks/conversation-1.1.17-9xvxk3r2.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-1.1.17-fqvd03w0.mjs +1 -0
  275. package/dist/chunks/copy-1.1.17-easn9kr0.mjs +9 -0
  276. package/dist/chunks/cost-1.1.17-nxtewzxf.mjs +1 -0
  277. package/dist/chunks/createSSHSession-1.1.17-6ewgn22a.mjs +1 -0
  278. package/dist/chunks/createSession-1.1.17-86r1zzgv.mjs +1 -0
  279. package/dist/chunks/debug-1.1.17-z47bgb2r.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-1.1.17-jf0axhv5.mjs +1534 -0
  281. package/dist/chunks/desktop-1.1.17-a995qrj4.mjs +1 -0
  282. package/dist/chunks/detectRepository-1.1.17-a8w7dp77.mjs +1 -0
  283. package/dist/chunks/detection-1.1.17-rm57w2ve.mjs +1 -0
  284. package/dist/chunks/diff-1.1.17-nhrc58mf.mjs +1 -0
  285. package/dist/chunks/doctor-1.1.17-fbcrp14n.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-1.1.17-e8d49da2.mjs +1 -0
  287. package/dist/chunks/earlyInput-1.1.17-tb2wa4gd.mjs +1 -0
  288. package/dist/chunks/effort-1.1.17-exyt2hn8.mjs +13 -0
  289. package/dist/chunks/engine-1.1.17-amrae3h8.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-1.1.17-cxcxqyr2.mjs +1 -0
  291. package/dist/chunks/envUtils-1.1.17-74s3e3r7.mjs +1 -0
  292. package/dist/chunks/environmentSelection-1.1.17-r6fm53e4.mjs +1 -0
  293. package/dist/chunks/environments-1.1.17-eefk71xc.mjs +1 -0
  294. package/dist/chunks/errors-1.1.17-f3hxdv36.mjs +1 -0
  295. package/dist/chunks/exampleCommands-1.1.17-fq7g2dra.mjs +1 -0
  296. package/dist/chunks/execFileNoThrow-1.1.17-b5j6ewkj.mjs +1 -0
  297. package/dist/chunks/exit-1.1.17-69eys61s.mjs +1 -0
  298. package/dist/chunks/explorer-1.1.17-9rnyanfh.mjs +1 -0
  299. package/dist/chunks/export-1.1.17-ftdkrgt6.mjs +2 -0
  300. package/dist/chunks/extra-usage-1.1.17-4d5r749p.mjs +1 -0
  301. package/dist/chunks/extra-usage-noninteractive-1.1.17-pfnqg70z.mjs +1 -0
  302. package/dist/chunks/fast-1.1.17-6fhr21cx.mjs +1 -0
  303. package/dist/chunks/feedback-1.1.17-xsv4a0hk.mjs +14 -0
  304. package/dist/chunks/firstPartyEventLogger-1.1.17-ysw58c2m.mjs +1 -0
  305. package/dist/chunks/git-1.1.17-1t4mvmwy.mjs +1 -0
  306. package/dist/chunks/githubModelsCredentials-1.1.17-em3pctn6.mjs +1 -0
  307. package/dist/chunks/goal-1.1.17-b6r6rv34.mjs +4 -0
  308. package/dist/chunks/growthbook-1.1.17-d41p6v8e.mjs +1 -0
  309. package/dist/chunks/headless-1.1.17-3gds2arn.mjs +2 -0
  310. package/dist/chunks/heapdump-1.1.17-42928w6t.mjs +6 -0
  311. package/dist/chunks/help-1.1.17-1ex6d9m1.mjs +1 -0
  312. package/dist/chunks/hookChains-1.1.17-4trtr6n3.mjs +3 -0
  313. package/dist/chunks/hooks-1.1.17-brmzj93f.mjs +1 -0
  314. package/dist/chunks/hooks-1.1.17-tmmp968z.mjs +79 -0
  315. package/dist/chunks/ide-1.1.17-7bswgmqh.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-1.1.17-f4q4ze0f.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-1.1.17-bqseg6s7.mjs +1 -0
  318. package/dist/chunks/index-1.1.17-1cxekw2k.mjs +2 -0
  319. package/dist/chunks/index-1.1.17-3bhv85t6.mjs +2 -0
  320. package/dist/chunks/index-1.1.17-3kw30gq5.mjs +1 -0
  321. package/dist/chunks/index-1.1.17-41dwzfym.mjs +1 -0
  322. package/dist/chunks/index-1.1.17-58sa6nbn.mjs +1 -0
  323. package/dist/chunks/index-1.1.17-5vmgm515.mjs +9 -0
  324. package/dist/chunks/index-1.1.17-72ghmm5v.mjs +1 -0
  325. package/dist/chunks/index-1.1.17-9zas5tn3.mjs +23 -0
  326. package/dist/chunks/index-1.1.17-c7n4hj5n.mjs +1 -0
  327. package/dist/chunks/index-1.1.17-dg0mbe1h.mjs +1 -0
  328. package/dist/chunks/index-1.1.17-dzt8xwy0.mjs +1 -0
  329. package/dist/chunks/index-1.1.17-gwp2t0ev.mjs +5 -0
  330. package/dist/chunks/index-1.1.17-j516ern1.mjs +1 -0
  331. package/dist/chunks/index-1.1.17-j5qnmjd0.mjs +30 -0
  332. package/dist/chunks/index-1.1.17-m909k4gz.mjs +1 -0
  333. package/dist/chunks/index-1.1.17-mvtaa82m.mjs +1 -0
  334. package/dist/chunks/index-1.1.17-nntqe0vr.mjs +1 -0
  335. package/dist/chunks/index-1.1.17-nq9tejwj.mjs +1 -0
  336. package/dist/chunks/index-1.1.17-pfzch1bc.mjs +1 -0
  337. package/dist/chunks/index-1.1.17-q2g4m637.mjs +9 -0
  338. package/dist/chunks/index-1.1.17-s5nfh7xr.mjs +1 -0
  339. package/dist/chunks/index-1.1.17-tq1x9mdy.mjs +1 -0
  340. package/dist/chunks/index-1.1.17-vjbktr0m.mjs +1 -0
  341. package/dist/chunks/init-1.1.17-ezhe261a.mjs +1 -0
  342. package/dist/chunks/initReplBridge-1.1.17-bsr4ggsa.mjs +1 -0
  343. package/dist/chunks/ink-1.1.17-hnhzzxr4.mjs +1 -0
  344. package/dist/chunks/insights-1.1.17-8rkjk3qx.mjs +870 -0
  345. package/dist/chunks/install-1.1.17-bveeekwq.mjs +1 -0
  346. package/dist/chunks/install-github-app-1.1.17-s7qpq92h.mjs +149 -0
  347. package/dist/chunks/install-slack-app-1.1.17-6p1tq8es.mjs +1 -0
  348. package/dist/chunks/instrumentation-1.1.17-2n85eb8r.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-1.1.17-2qdgnemg.mjs +1 -0
  350. package/dist/chunks/keybindings-1.1.17-e93j288w.mjs +2 -0
  351. package/dist/chunks/knowledge-1.1.17-wzqw3mat.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-1.1.17-kpebzzy5.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-1.1.17-rwrehzjk.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-1.1.17-z6xentgs.mjs +1 -0
  355. package/dist/chunks/log-1.1.17-teh0b8bj.mjs +1 -0
  356. package/dist/chunks/main-1.1.17-4drs7spn.mjs +1 -0
  357. package/dist/chunks/managedEnv-1.1.17-01msjcq4.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.17-c212g273.mjs +17 -0
  359. package/dist/chunks/mcp-1.1.17-fmad2143.mjs +4 -0
  360. package/dist/chunks/mcp-1.1.17-vkg3yyj4.mjs +1 -0
  361. package/dist/chunks/mcpb-1.1.17-2qj85kf9.mjs +1 -0
  362. package/dist/chunks/memory-1.1.17-xxzfp6m3.mjs +72 -0
  363. package/dist/chunks/model-1.1.17-6wangfaf.mjs +1 -0
  364. package/dist/chunks/model-1.1.17-phx3mpre.mjs +2 -0
  365. package/dist/chunks/node-1.1.17-vwaj3hha.mjs +12 -0
  366. package/dist/chunks/oauth-1.1.17-2h7zc57g.mjs +1 -0
  367. package/dist/chunks/openaiShim-1.1.17-x7d7rtnw.mjs +14 -0
  368. package/dist/chunks/output-style-1.1.17-4dwyxd9d.mjs +1 -0
  369. package/dist/chunks/package-KQCMZM5L-1.1.17-hz04t8ab.mjs +1 -0
  370. package/dist/chunks/parseConnectUrl-1.1.17-47ed65x0.mjs +1 -0
  371. package/dist/chunks/parser-1.1.17-tsm4t6zj.mjs +1 -0
  372. package/dist/chunks/passes-1.1.17-kvh566r0.mjs +1 -0
  373. package/dist/chunks/permissions-1.1.17-2s1jj12g.mjs +1 -0
  374. package/dist/chunks/permissions-1.1.17-b96tjxsb.mjs +3 -0
  375. package/dist/chunks/plan-1.1.17-fphg1taz.mjs +1 -0
  376. package/dist/chunks/plist-1.1.17-be3b59s7.mjs +1 -0
  377. package/dist/chunks/plugin-1.1.17-wjwcjxt0.mjs +29 -0
  378. package/dist/chunks/pluginStartupCheck-1.1.17-y7rehbdx.mjs +1 -0
  379. package/dist/chunks/plugins-1.1.17-pvbs8x2d.mjs +9 -0
  380. package/dist/chunks/preActionHook-1.1.17-sz5peb61.mjs +2 -0
  381. package/dist/chunks/print-1.1.17-2tqpqffd.mjs +57 -0
  382. package/dist/chunks/process-1.1.17-edae57bn.mjs +1 -0
  383. package/dist/chunks/processBashCommand-1.1.17-8x8av07q.mjs +1 -0
  384. package/dist/chunks/processSlashCommand-1.1.17-p2hph3mq.mjs +9 -0
  385. package/dist/chunks/prompt-1.1.17-33ecsyvx.mjs +1 -0
  386. package/dist/chunks/prompt-1.1.17-pcxqswhq.mjs +1 -0
  387. package/dist/chunks/prompts-1.1.17-9s5a4vj5.mjs +1 -0
  388. package/dist/chunks/protocolHandler-1.1.17-eypg73tv.mjs +13 -0
  389. package/dist/chunks/provider-1.1.17-cq38y5y0.mjs +2 -0
  390. package/dist/chunks/providerProfiles-1.1.17-3mapa580.mjs +1 -0
  391. package/dist/chunks/providerValidation-1.1.17-v4be9pkn.mjs +6 -0
  392. package/dist/chunks/rate-limit-options-1.1.17-7akz78zn.mjs +1 -0
  393. package/dist/chunks/registerSubcommands-1.1.17-d8515h81.mjs +26 -0
  394. package/dist/chunks/registry-1.1.17-vmxj31fp.mjs +1 -0
  395. package/dist/chunks/release-notes-1.1.17-qfx2ydx0.mjs +5 -0
  396. package/dist/chunks/reload-plugins-1.1.17-bxmeccet.mjs +2 -0
  397. package/dist/chunks/remote-env-1.1.17-5zk7dhta.mjs +1 -0
  398. package/dist/chunks/remoteBridgeCore-1.1.17-dyyd9gpp.mjs +1 -0
  399. package/dist/chunks/remoteSession-1.1.17-2w7c374e.mjs +1 -0
  400. package/dist/chunks/rename-1.1.17-m9npwq9e.mjs +1 -0
  401. package/dist/chunks/replBridgeHandle-1.1.17-f73jbyc4.mjs +1 -0
  402. package/dist/chunks/replLauncher-1.1.17-89bw7egj.mjs +1 -0
  403. package/dist/chunks/resume-1.1.17-zcepac5h.mjs +2 -0
  404. package/dist/chunks/rewind-1.1.17-sz9gnvjb.mjs +1 -0
  405. package/dist/chunks/rootOptions-1.1.17-cz7wggw6.mjs +1 -0
  406. package/dist/chunks/runWorkflowHeadless-1.1.17-mv4m2dgh.mjs +10 -0
  407. package/dist/chunks/sandbox-adapter-1.1.17-mzhxrhy6.mjs +1 -0
  408. package/dist/chunks/sandbox-toggle-1.1.17-0055tx31.mjs +1 -0
  409. package/dist/chunks/session-1.1.17-58155tdb.mjs +2 -0
  410. package/dist/chunks/sessionDiscovery-1.1.17-jesa43e4.mjs +1 -0
  411. package/dist/chunks/sessionFileAccessHooks-1.1.17-v63nh4eq.mjs +1 -0
  412. package/dist/chunks/sessionStorage-1.1.17-db6eb6a0.mjs +1 -0
  413. package/dist/chunks/settings-1.1.17-r420yrj6.mjs +1 -0
  414. package/dist/chunks/setup-1.1.17-2c169kta.mjs +12 -0
  415. package/dist/chunks/sinks-1.1.17-qy1xy52h.mjs +1 -0
  416. package/dist/chunks/skills-1.1.17-179vy7j6.mjs +1 -0
  417. package/dist/chunks/startupProfiler-1.1.17-2jre48fe.mjs +1 -0
  418. package/dist/chunks/startupUpdateCheck-1.1.17-18vwb94e.mjs +1 -0
  419. package/dist/chunks/state-1.1.17-jj648yt9.mjs +1 -0
  420. package/dist/chunks/stats-1.1.17-87688vm6.mjs +6 -0
  421. package/dist/chunks/status-1.1.17-qfgx5stw.mjs +1 -0
  422. package/dist/chunks/stickers-1.1.17-6qwzrjbk.mjs +1 -0
  423. package/dist/chunks/subprocessEnv-1.1.17-agk55s1k.mjs +1 -0
  424. package/dist/chunks/tasks-1.1.17-kbw9ds53.mjs +1 -0
  425. package/dist/chunks/teamHelpers-1.1.17-4adaqsmb.mjs +1 -0
  426. package/dist/chunks/teammateModeSnapshot-1.1.17-9ts2pfkc.mjs +1 -0
  427. package/dist/chunks/teleport-1.1.17-bzmdxawh.mjs +1 -0
  428. package/dist/chunks/terminalSetup-1.1.17-dqhqjty9.mjs +1 -0
  429. package/dist/chunks/theme-1.1.17-85pv1732.mjs +1 -0
  430. package/dist/chunks/thinkback-1.1.17-hepbvmjv.mjs +1 -0
  431. package/dist/chunks/thinkback-play-1.1.17-v9aftsq7.mjs +1 -0
  432. package/dist/chunks/toolPool-1.1.17-9czwnxh0.mjs +1 -0
  433. package/dist/chunks/toolSearch-1.1.17-16zef2se.mjs +1 -0
  434. package/dist/chunks/tools-1.1.17-k9mnpc70.mjs +1 -0
  435. package/dist/chunks/trustedDevice-1.1.17-jh3tsws1.mjs +1 -0
  436. package/dist/chunks/turndown.cjs-1.1.17-nccrmbyj.mjs +69 -0
  437. package/dist/chunks/types-1.1.17-h1a2dqs3.mjs +1 -0
  438. package/dist/chunks/ultrareviewCommand-1.1.17-qcn2523f.mjs +4 -0
  439. package/dist/chunks/update-1.1.17-qrbvhrw3.mjs +72 -0
  440. package/dist/chunks/upgrade-1.1.17-5r2kvcht.mjs +1 -0
  441. package/dist/chunks/upload-1.1.17-9wg0zeh8.mjs +7 -0
  442. package/dist/chunks/upstreamproxy-1.1.17-g55vw948.mjs +14 -0
  443. package/dist/chunks/url-handler-napi-1.1.17-3z57zpg6.mjs +1 -0
  444. package/dist/chunks/usage-1.1.17-fpqbestm.mjs +1 -0
  445. package/dist/chunks/util-1.1.17-afkkcjd2.mjs +1 -0
  446. package/dist/chunks/utils-1.1.17-pmry0sgf.mjs +1 -0
  447. package/dist/chunks/vim-1.1.17-favcd60m.mjs +1 -0
  448. package/dist/chunks/watchLoop-1.1.17-8xwhaj6s.mjs +13 -0
  449. package/dist/chunks/watcher-1.1.17-1jrrt63m.mjs +1 -0
  450. package/dist/chunks/wiki-1.1.17-gsgtzkbe.mjs +132 -0
  451. package/dist/chunks/workflows-1.1.17-d88y5b3p.mjs +1 -0
  452. package/dist/chunks/worktree-1.1.17-aym2veht.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-1.1.17-e80q0zp5.mjs +1 -0
  454. package/dist/chunks/wrapper-1.1.17-mqzzgw84.mjs +7 -0
  455. package/dist/cli.mjs +2 -2
  456. package/package.json +9 -9
  457. package/dist/chunks/AgentTool-1.1.15-gx8fc8ee.mjs +0 -1
  458. package/dist/chunks/App-1.1.15-qpr6dmbc.mjs +0 -1
  459. package/dist/chunks/ApproveApiKey-1.1.15-rtnhqcns.mjs +0 -1
  460. package/dist/chunks/AssistantSessionChooser-1.1.15-s7er4t5d.mjs +0 -1
  461. package/dist/chunks/AutoModeOptInDialog-1.1.15-kr2k1h8a.mjs +0 -1
  462. package/dist/chunks/BypassPermissionsModeDialog-1.1.15-hw9nhwyy.mjs +0 -1
  463. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.15-0x92en6s.mjs +0 -1
  464. package/dist/chunks/ConsoleOAuthFlow-1.1.15-d6xm1gwy.mjs +0 -1
  465. package/dist/chunks/DiffDialog-1.1.15-c7mf2z38.mjs +0 -6
  466. package/dist/chunks/Doctor-1.1.15-0epyn26c.mjs +0 -1
  467. package/dist/chunks/ExplorerDialog-1.1.15-ctfaxbr1.mjs +0 -6
  468. package/dist/chunks/ITermBackend-1.1.15-e0tff61r.mjs +0 -1
  469. package/dist/chunks/InvalidConfigDialog-1.1.15-yd169vrz.mjs +0 -1
  470. package/dist/chunks/InvalidSettingsDialog-1.1.15-n45xnvpn.mjs +0 -1
  471. package/dist/chunks/MigrationDialog-1.1.15-k01hesh9.mjs +0 -1
  472. package/dist/chunks/Onboarding-1.1.15-asr4k8v7.mjs +0 -1
  473. package/dist/chunks/ProviderManager-1.1.15-hrth7zcv.mjs +0 -1
  474. package/dist/chunks/REPL-1.1.15-zbv78tw9.mjs +0 -1
  475. package/dist/chunks/ResumeConversation-1.1.15-nx65m66j.mjs +0 -1
  476. package/dist/chunks/SnapshotUpdateDialog-1.1.15-ywaycst9.mjs +0 -1
  477. package/dist/chunks/TeleportProgress-1.1.15-etyznx6r.mjs +0 -1
  478. package/dist/chunks/TeleportRepoMismatchDialog-1.1.15-0fg2psza.mjs +0 -1
  479. package/dist/chunks/TeleportResumeWrapper-1.1.15-rse3qrff.mjs +0 -1
  480. package/dist/chunks/TmuxBackend-1.1.15-v5yc09rw.mjs +0 -9
  481. package/dist/chunks/ToolSearchTool-1.1.15-yf6w94dh.mjs +0 -1
  482. package/dist/chunks/TrustDialog-1.1.15-8wp0rdty.mjs +0 -1
  483. package/dist/chunks/activeProvider-1.1.15-gsenj0tc.mjs +0 -1
  484. package/dist/chunks/add-dir-1.1.15-gdh1b8nf.mjs +0 -1
  485. package/dist/chunks/agentTypes-1.1.15-j0xgsz6j.mjs +0 -1
  486. package/dist/chunks/agents-1.1.15-5492tnsb.mjs +0 -3
  487. package/dist/chunks/agents-1.1.15-7hc1h2ch.mjs +0 -110
  488. package/dist/chunks/api-1.1.15-xk3v2kp8.mjs +0 -1
  489. package/dist/chunks/asciicast-1.1.15-e2v4yew0.mjs +0 -1
  490. package/dist/chunks/assistant-1.1.15-nw8cp5g9.mjs +0 -1
  491. package/dist/chunks/auth-1.1.15-e4p3txt8.mjs +0 -1
  492. package/dist/chunks/auth-1.1.15-mwc856q9.mjs +0 -1
  493. package/dist/chunks/autoMode-1.1.15-a9fb2v1b.mjs +0 -48
  494. package/dist/chunks/autoUpdater-1.1.15-5wavzb5n.mjs +0 -1
  495. package/dist/chunks/backgroundHousekeeping-1.1.15-83x041z8.mjs +0 -1
  496. package/dist/chunks/branch-1.1.15-91a0yyws.mjs +0 -4
  497. package/dist/chunks/bridge-1.1.15-5da0fvad.mjs +0 -2
  498. package/dist/chunks/bridgeConfig-1.1.15-tg57j3bm.mjs +0 -1
  499. package/dist/chunks/bridgeEnabled-1.1.15-d4nwdh4g.mjs +0 -1
  500. package/dist/chunks/bridgeMain-1.1.15-rmb5208z.mjs +0 -88
  501. package/dist/chunks/bridgePointer-1.1.15-rn0mx8rq.mjs +0 -1
  502. package/dist/chunks/btw-1.1.15-0jmj5h91.mjs +0 -1
  503. package/dist/chunks/buddy-1.1.15-smncbttv.mjs +0 -3
  504. package/dist/chunks/cache-probe-1.1.15-tcd6d5ha.mjs +0 -21
  505. package/dist/chunks/cacheStats-1.1.15-nhmnthg5.mjs +0 -4
  506. package/dist/chunks/caches-1.1.15-ef0rrkeh.mjs +0 -1
  507. package/dist/chunks/claudeDesktop-1.1.15-mhq3r4nw.mjs +0 -1
  508. package/dist/chunks/claudemd-1.1.15-khb8ybx5.mjs +0 -1
  509. package/dist/chunks/clear-1.1.15-8pawqyx1.mjs +0 -1
  510. package/dist/chunks/clearTerminal-1.1.15-xt8nj2kp.mjs +0 -1
  511. package/dist/chunks/cli-1.1.15-08shmxg9.mjs +0 -2
  512. package/dist/chunks/cli-1.1.15-0dyh92xq.mjs +0 -2
  513. package/dist/chunks/cli-1.1.15-0h2kcmr1.mjs +0 -18
  514. package/dist/chunks/cli-1.1.15-0pfa5bmf.mjs +0 -2
  515. package/dist/chunks/cli-1.1.15-0rfyjnzd.mjs +0 -2
  516. package/dist/chunks/cli-1.1.15-0we6hqxv.mjs +0 -2
  517. package/dist/chunks/cli-1.1.15-10px11sw.mjs +0 -3
  518. package/dist/chunks/cli-1.1.15-13a7c1kp.mjs +0 -42
  519. package/dist/chunks/cli-1.1.15-1686x3bq.mjs +0 -2
  520. package/dist/chunks/cli-1.1.15-180mwt3m.mjs +0 -12
  521. package/dist/chunks/cli-1.1.15-198p1q51.mjs +0 -2
  522. package/dist/chunks/cli-1.1.15-1dxkde62.mjs +0 -24
  523. package/dist/chunks/cli-1.1.15-1j51w5q4.mjs +0 -2
  524. package/dist/chunks/cli-1.1.15-1kjb39xj.mjs +0 -2
  525. package/dist/chunks/cli-1.1.15-23s6jgky.mjs +0 -2
  526. package/dist/chunks/cli-1.1.15-28rcg0zk.mjs +0 -2
  527. package/dist/chunks/cli-1.1.15-2a8j57jc.mjs +0 -3
  528. package/dist/chunks/cli-1.1.15-2cqj7ng5.mjs +0 -2
  529. package/dist/chunks/cli-1.1.15-2ds94snw.mjs +0 -2
  530. package/dist/chunks/cli-1.1.15-2h049njx.mjs +0 -2
  531. package/dist/chunks/cli-1.1.15-2hm1vd94.mjs +0 -2
  532. package/dist/chunks/cli-1.1.15-2y7wsmne.mjs +0 -4
  533. package/dist/chunks/cli-1.1.15-336vzqmv.mjs +0 -2
  534. package/dist/chunks/cli-1.1.15-37qaz9g1.mjs +0 -2
  535. package/dist/chunks/cli-1.1.15-3ehpt6h2.mjs +0 -2
  536. package/dist/chunks/cli-1.1.15-3j79dbx9.mjs +0 -2
  537. package/dist/chunks/cli-1.1.15-3rdskywh.mjs +0 -39
  538. package/dist/chunks/cli-1.1.15-3vx70sys.mjs +0 -24
  539. package/dist/chunks/cli-1.1.15-49wq39yd.mjs +0 -2
  540. package/dist/chunks/cli-1.1.15-4efmr7vy.mjs +0 -2
  541. package/dist/chunks/cli-1.1.15-4gknk1rg.mjs +0 -18
  542. package/dist/chunks/cli-1.1.15-4hpce0rc.mjs +0 -2
  543. package/dist/chunks/cli-1.1.15-4yp9xqth.mjs +0 -2
  544. package/dist/chunks/cli-1.1.15-59jq5mvw.mjs +0 -2
  545. package/dist/chunks/cli-1.1.15-59t4k8sr.mjs +0 -66
  546. package/dist/chunks/cli-1.1.15-5cr53mcj.mjs +0 -2
  547. package/dist/chunks/cli-1.1.15-5gp5r54s.mjs +0 -58
  548. package/dist/chunks/cli-1.1.15-657rhkrw.mjs +0 -4
  549. package/dist/chunks/cli-1.1.15-6g08vy98.mjs +0 -2
  550. package/dist/chunks/cli-1.1.15-6txc31rr.mjs +0 -2
  551. package/dist/chunks/cli-1.1.15-6w168zj1.mjs +0 -2
  552. package/dist/chunks/cli-1.1.15-716m1dh6.mjs +0 -3
  553. package/dist/chunks/cli-1.1.15-736kw6rq.mjs +0 -2
  554. package/dist/chunks/cli-1.1.15-78j1ffsw.mjs +0 -2
  555. package/dist/chunks/cli-1.1.15-7enkgabc.mjs +0 -2
  556. package/dist/chunks/cli-1.1.15-7g1qck6b.mjs +0 -2
  557. package/dist/chunks/cli-1.1.15-7pdnxwtt.mjs +0 -2
  558. package/dist/chunks/cli-1.1.15-7rhgft7r.mjs +0 -2
  559. package/dist/chunks/cli-1.1.15-7sppxsya.mjs +0 -2
  560. package/dist/chunks/cli-1.1.15-7z4ctjx7.mjs +0 -4
  561. package/dist/chunks/cli-1.1.15-82j4qb2a.mjs +0 -2
  562. package/dist/chunks/cli-1.1.15-83qj7w53.mjs +0 -2
  563. package/dist/chunks/cli-1.1.15-89z8afvw.mjs +0 -2
  564. package/dist/chunks/cli-1.1.15-8mpc9ecv.mjs +0 -2
  565. package/dist/chunks/cli-1.1.15-8w8262sk.mjs +0 -2
  566. package/dist/chunks/cli-1.1.15-937n7y0j.mjs +0 -2
  567. package/dist/chunks/cli-1.1.15-9ec5jmz5.mjs +0 -2
  568. package/dist/chunks/cli-1.1.15-9mbbz0a1.mjs +0 -6
  569. package/dist/chunks/cli-1.1.15-9vzy8b6c.mjs +0 -2
  570. package/dist/chunks/cli-1.1.15-a2yw7vw1.mjs +0 -2
  571. package/dist/chunks/cli-1.1.15-a3xwxptj.mjs +0 -3
  572. package/dist/chunks/cli-1.1.15-a6p2wwtc.mjs +0 -2
  573. package/dist/chunks/cli-1.1.15-a86ebv4c.mjs +0 -26
  574. package/dist/chunks/cli-1.1.15-a9y6yf7g.mjs +0 -45
  575. package/dist/chunks/cli-1.1.15-ae2hn1xh.mjs +0 -12
  576. package/dist/chunks/cli-1.1.15-akhz6et5.mjs +0 -3
  577. package/dist/chunks/cli-1.1.15-arysgyep.mjs +0 -3
  578. package/dist/chunks/cli-1.1.15-axdksp5m.mjs +0 -15
  579. package/dist/chunks/cli-1.1.15-b16e0ajk.mjs +0 -5440
  580. package/dist/chunks/cli-1.1.15-ba6p63pk.mjs +0 -2
  581. package/dist/chunks/cli-1.1.15-baktd8w0.mjs +0 -8
  582. package/dist/chunks/cli-1.1.15-bhxf1gde.mjs +0 -2
  583. package/dist/chunks/cli-1.1.15-bkenrcdp.mjs +0 -9
  584. package/dist/chunks/cli-1.1.15-bkk9d70e.mjs +0 -2
  585. package/dist/chunks/cli-1.1.15-bwy6nhdk.mjs +0 -2
  586. package/dist/chunks/cli-1.1.15-c0e6k21y.mjs +0 -2
  587. package/dist/chunks/cli-1.1.15-c6h2gge7.mjs +0 -202
  588. package/dist/chunks/cli-1.1.15-c74jnte8.mjs +0 -6
  589. package/dist/chunks/cli-1.1.15-c985ap3y.mjs +0 -2
  590. package/dist/chunks/cli-1.1.15-cagegn51.mjs +0 -2
  591. package/dist/chunks/cli-1.1.15-chxsepr7.mjs +0 -2
  592. package/dist/chunks/cli-1.1.15-cj6zmtng.mjs +0 -2
  593. package/dist/chunks/cli-1.1.15-cvwkywg9.mjs +0 -2
  594. package/dist/chunks/cli-1.1.15-cx3reatp.mjs +0 -4
  595. package/dist/chunks/cli-1.1.15-czbvbd5n.mjs +0 -2
  596. package/dist/chunks/cli-1.1.15-d4stmd3a.mjs +0 -2
  597. package/dist/chunks/cli-1.1.15-d4xme5sm.mjs +0 -15
  598. package/dist/chunks/cli-1.1.15-dbnqj3tk.mjs +0 -2
  599. package/dist/chunks/cli-1.1.15-dpxcysrc.mjs +0 -2
  600. package/dist/chunks/cli-1.1.15-dv1zb375.mjs +0 -4
  601. package/dist/chunks/cli-1.1.15-dw51tkmc.mjs +0 -3
  602. package/dist/chunks/cli-1.1.15-e0wdjxcm.mjs +0 -2
  603. package/dist/chunks/cli-1.1.15-e69gmp99.mjs +0 -2
  604. package/dist/chunks/cli-1.1.15-e7t7w0n4.mjs +0 -2
  605. package/dist/chunks/cli-1.1.15-emegjc48.mjs +0 -2
  606. package/dist/chunks/cli-1.1.15-engyyzpk.mjs +0 -2
  607. package/dist/chunks/cli-1.1.15-erwqj4vs.mjs +0 -34
  608. package/dist/chunks/cli-1.1.15-evwsdckr.mjs +0 -2
  609. package/dist/chunks/cli-1.1.15-ewmcb0r7.mjs +0 -133
  610. package/dist/chunks/cli-1.1.15-ez7210ck.mjs +0 -2
  611. package/dist/chunks/cli-1.1.15-f0xy8ndf.mjs +0 -2
  612. package/dist/chunks/cli-1.1.15-f146m97m.mjs +0 -2
  613. package/dist/chunks/cli-1.1.15-f9eqbjqc.mjs +0 -2
  614. package/dist/chunks/cli-1.1.15-fcgk3maq.mjs +0 -3
  615. package/dist/chunks/cli-1.1.15-ffs08nv9.mjs +0 -2
  616. package/dist/chunks/cli-1.1.15-fk3ac4gc.mjs +0 -2
  617. package/dist/chunks/cli-1.1.15-fm6herjr.mjs +0 -2
  618. package/dist/chunks/cli-1.1.15-fnh28phg.mjs +0 -24
  619. package/dist/chunks/cli-1.1.15-fr6qfqgh.mjs +0 -2
  620. package/dist/chunks/cli-1.1.15-fyy1ehtf.mjs +0 -3
  621. package/dist/chunks/cli-1.1.15-g7tjhqzb.mjs +0 -2
  622. package/dist/chunks/cli-1.1.15-g9e4rkeg.mjs +0 -2
  623. package/dist/chunks/cli-1.1.15-g9n3fyq0.mjs +0 -2
  624. package/dist/chunks/cli-1.1.15-gbrgyagf.mjs +0 -7
  625. package/dist/chunks/cli-1.1.15-gk6d4ahd.mjs +0 -21
  626. package/dist/chunks/cli-1.1.15-gngz1xbk.mjs +0 -6
  627. package/dist/chunks/cli-1.1.15-gpks2b5v.mjs +0 -4
  628. package/dist/chunks/cli-1.1.15-gq3wg30t.mjs +0 -2
  629. package/dist/chunks/cli-1.1.15-gs56p0s0.mjs +0 -2
  630. package/dist/chunks/cli-1.1.15-gw258rrk.mjs +0 -50
  631. package/dist/chunks/cli-1.1.15-gwgwd5hm.mjs +0 -4
  632. package/dist/chunks/cli-1.1.15-h3y5qymm.mjs +0 -2
  633. package/dist/chunks/cli-1.1.15-h58yf3xj.mjs +0 -3
  634. package/dist/chunks/cli-1.1.15-h6ev26yt.mjs +0 -2
  635. package/dist/chunks/cli-1.1.15-hf65t2c2.mjs +0 -2
  636. package/dist/chunks/cli-1.1.15-hq3xwfa3.mjs +0 -2
  637. package/dist/chunks/cli-1.1.15-j8xzj86y.mjs +0 -15
  638. package/dist/chunks/cli-1.1.15-jd4x21q0.mjs +0 -2
  639. package/dist/chunks/cli-1.1.15-jdkggndk.mjs +0 -2
  640. package/dist/chunks/cli-1.1.15-jeqz3hde.mjs +0 -24
  641. package/dist/chunks/cli-1.1.15-jfe29j4s.mjs +0 -2
  642. package/dist/chunks/cli-1.1.15-jfs5gybd.mjs +0 -2
  643. package/dist/chunks/cli-1.1.15-jmt39vvh.mjs +0 -2
  644. package/dist/chunks/cli-1.1.15-jzw1d4vb.mjs +0 -2
  645. package/dist/chunks/cli-1.1.15-k1836ne2.mjs +0 -16
  646. package/dist/chunks/cli-1.1.15-k3j7z8yp.mjs +0 -20
  647. package/dist/chunks/cli-1.1.15-k8spwbtd.mjs +0 -2
  648. package/dist/chunks/cli-1.1.15-kb70x0yv.mjs +0 -3
  649. package/dist/chunks/cli-1.1.15-kgm2pw8x.mjs +0 -2
  650. package/dist/chunks/cli-1.1.15-kr36eh1x.mjs +0 -59
  651. package/dist/chunks/cli-1.1.15-kvc672d5.mjs +0 -2
  652. package/dist/chunks/cli-1.1.15-m33mdt7b.mjs +0 -3
  653. package/dist/chunks/cli-1.1.15-m9er763b.mjs +0 -2
  654. package/dist/chunks/cli-1.1.15-mrgk4vjn.mjs +0 -2
  655. package/dist/chunks/cli-1.1.15-n7rft8vb.mjs +0 -2
  656. package/dist/chunks/cli-1.1.15-nffng52m.mjs +0 -2
  657. package/dist/chunks/cli-1.1.15-nnbd4as2.mjs +0 -25
  658. package/dist/chunks/cli-1.1.15-p1trn7j2.mjs +0 -4
  659. package/dist/chunks/cli-1.1.15-p7vaw3hv.mjs +0 -2
  660. package/dist/chunks/cli-1.1.15-pakg6t79.mjs +0 -2
  661. package/dist/chunks/cli-1.1.15-pf3rvvj5.mjs +0 -3
  662. package/dist/chunks/cli-1.1.15-pg56x579.mjs +0 -2
  663. package/dist/chunks/cli-1.1.15-pgqqjddw.mjs +0 -4
  664. package/dist/chunks/cli-1.1.15-ph9jfwh3.mjs +0 -2
  665. package/dist/chunks/cli-1.1.15-q5cap7nt.mjs +0 -3
  666. package/dist/chunks/cli-1.1.15-q6nb88hp.mjs +0 -2
  667. package/dist/chunks/cli-1.1.15-qga6k32k.mjs +0 -2
  668. package/dist/chunks/cli-1.1.15-qnxzqj1z.mjs +0 -2
  669. package/dist/chunks/cli-1.1.15-qxhpqndj.mjs +0 -5
  670. package/dist/chunks/cli-1.1.15-qxprwvyg.mjs +0 -2
  671. package/dist/chunks/cli-1.1.15-r4y8m1sf.mjs +0 -2
  672. package/dist/chunks/cli-1.1.15-r64a0n76.mjs +0 -2
  673. package/dist/chunks/cli-1.1.15-rdq10bn2.mjs +0 -2
  674. package/dist/chunks/cli-1.1.15-rhz9fv4x.mjs +0 -4
  675. package/dist/chunks/cli-1.1.15-rkfqf782.mjs +0 -2
  676. package/dist/chunks/cli-1.1.15-rqw4p0ke.mjs +0 -2
  677. package/dist/chunks/cli-1.1.15-rtcyrbsg.mjs +0 -1
  678. package/dist/chunks/cli-1.1.15-rvg56jwp.mjs +0 -2
  679. package/dist/chunks/cli-1.1.15-s28sb1ga.mjs +0 -2
  680. package/dist/chunks/cli-1.1.15-stmx3k3w.mjs +0 -2
  681. package/dist/chunks/cli-1.1.15-swf7050w.mjs +0 -3
  682. package/dist/chunks/cli-1.1.15-syqaq4nv.mjs +0 -2
  683. package/dist/chunks/cli-1.1.15-t0xrcfbr.mjs +0 -2
  684. package/dist/chunks/cli-1.1.15-t3rgyeam.mjs +0 -2
  685. package/dist/chunks/cli-1.1.15-t61ax3rg.mjs +0 -2
  686. package/dist/chunks/cli-1.1.15-t80k8k17.mjs +0 -2
  687. package/dist/chunks/cli-1.1.15-t8xsja3r.mjs +0 -6
  688. package/dist/chunks/cli-1.1.15-tc86fw6x.mjs +0 -2
  689. package/dist/chunks/cli-1.1.15-tmp788zk.mjs +0 -2
  690. package/dist/chunks/cli-1.1.15-tpbkevjz.mjs +0 -2
  691. package/dist/chunks/cli-1.1.15-tv01zd9c.mjs +0 -2
  692. package/dist/chunks/cli-1.1.15-vsctpke4.mjs +0 -2
  693. package/dist/chunks/cli-1.1.15-vvc5kd0e.mjs +0 -6
  694. package/dist/chunks/cli-1.1.15-w1xsnsrr.mjs +0 -2
  695. package/dist/chunks/cli-1.1.15-w79kpn9z.mjs +0 -17
  696. package/dist/chunks/cli-1.1.15-w957aq1a.mjs +0 -2
  697. package/dist/chunks/cli-1.1.15-wbqj4f48.mjs +0 -133
  698. package/dist/chunks/cli-1.1.15-wkxn6fq7.mjs +0 -9
  699. package/dist/chunks/cli-1.1.15-wq860b6c.mjs +0 -2
  700. package/dist/chunks/cli-1.1.15-x4dh9ra2.mjs +0 -2
  701. package/dist/chunks/cli-1.1.15-x6z56vxt.mjs +0 -2
  702. package/dist/chunks/cli-1.1.15-xh72g5md.mjs +0 -25
  703. package/dist/chunks/cli-1.1.15-xmm250at.mjs +0 -2
  704. package/dist/chunks/cli-1.1.15-xn5kcp4k.mjs +0 -2
  705. package/dist/chunks/cli-1.1.15-xrdr3a8j.mjs +0 -2
  706. package/dist/chunks/cli-1.1.15-xtf04fdy.mjs +0 -5
  707. package/dist/chunks/cli-1.1.15-xvwbdkk2.mjs +0 -2
  708. package/dist/chunks/cli-1.1.15-y4jpgjpy.mjs +0 -6
  709. package/dist/chunks/cli-1.1.15-ya3zmpbf.mjs +0 -2
  710. package/dist/chunks/cli-1.1.15-ybhmmbr3.mjs +0 -2
  711. package/dist/chunks/cli-1.1.15-yrmh6ksq.mjs +0 -2
  712. package/dist/chunks/cli-1.1.15-z9szqcyg.mjs +0 -17
  713. package/dist/chunks/cli-1.1.15-zg7csyzz.mjs +0 -2
  714. package/dist/chunks/cli-1.1.15-zm1sx1vh.mjs +0 -2
  715. package/dist/chunks/cli-1.1.15-zm9a5m0b.mjs +0 -2
  716. package/dist/chunks/cli-1.1.15-zpt8yv0b.mjs +0 -2
  717. package/dist/chunks/cli-1.1.15-zrabw726.mjs +0 -2
  718. package/dist/chunks/cli-1.1.15-ztgk02re.mjs +0 -4
  719. package/dist/chunks/cli-1.1.15-zw3cc5m8.mjs +0 -2
  720. package/dist/chunks/client-1.1.15-7zxfy90s.mjs +0 -1
  721. package/dist/chunks/color-1.1.15-v6smmkca.mjs +0 -1
  722. package/dist/chunks/compact-1.1.15-mey332ra.mjs +0 -3
  723. package/dist/chunks/config-1.1.15-jcwja4eb.mjs +0 -1
  724. package/dist/chunks/config-1.1.15-pafh429c.mjs +0 -1
  725. package/dist/chunks/constants-1.1.15-qvh9m3yg.mjs +0 -1
  726. package/dist/chunks/context-1.1.15-gef0rkyp.mjs +0 -1
  727. package/dist/chunks/context-noninteractive-1.1.15-y4tcdh2q.mjs +0 -1
  728. package/dist/chunks/conversation-1.1.15-r506ktpr.mjs +0 -1
  729. package/dist/chunks/copilotHeaders-1.1.15-nwyxv1c6.mjs +0 -1
  730. package/dist/chunks/copy-1.1.15-bm5qhs38.mjs +0 -9
  731. package/dist/chunks/cost-1.1.15-9en5vp81.mjs +0 -1
  732. package/dist/chunks/createSSHSession-1.1.15-46chvft6.mjs +0 -1
  733. package/dist/chunks/createSession-1.1.15-pxd63w9x.mjs +0 -1
  734. package/dist/chunks/debug-1.1.15-8nbm2xpt.mjs +0 -1
  735. package/dist/chunks/defaultActionDeps-1.1.15-wxt2kmzg.mjs +0 -1526
  736. package/dist/chunks/desktop-1.1.15-gdsmr24w.mjs +0 -1
  737. package/dist/chunks/detectRepository-1.1.15-cdm0wycs.mjs +0 -1
  738. package/dist/chunks/detection-1.1.15-ftsf9hbz.mjs +0 -1
  739. package/dist/chunks/diff-1.1.15-q3a5dtec.mjs +0 -1
  740. package/dist/chunks/doctor-1.1.15-p6cn9vhk.mjs +0 -1
  741. package/dist/chunks/doctorDiagnostic-1.1.15-1bqd038t.mjs +0 -1
  742. package/dist/chunks/earlyInput-1.1.15-h3s4mc10.mjs +0 -1
  743. package/dist/chunks/effort-1.1.15-ntfkkphx.mjs +0 -13
  744. package/dist/chunks/engine-1.1.15-bafn3xae.mjs +0 -1
  745. package/dist/chunks/envLessBridgeConfig-1.1.15-jyzc1ek9.mjs +0 -1
  746. package/dist/chunks/envUtils-1.1.15-djhm9sn3.mjs +0 -1
  747. package/dist/chunks/environmentSelection-1.1.15-dk14rrw7.mjs +0 -1
  748. package/dist/chunks/environments-1.1.15-dgwyaqx6.mjs +0 -1
  749. package/dist/chunks/errors-1.1.15-dv0cz15v.mjs +0 -1
  750. package/dist/chunks/exampleCommands-1.1.15-263nxjc7.mjs +0 -1
  751. package/dist/chunks/execFileNoThrow-1.1.15-cgv6pwrz.mjs +0 -1
  752. package/dist/chunks/exit-1.1.15-7jy2eyny.mjs +0 -1
  753. package/dist/chunks/explorer-1.1.15-3cqntxjp.mjs +0 -1
  754. package/dist/chunks/export-1.1.15-w57hsyes.mjs +0 -2
  755. package/dist/chunks/extra-usage-1.1.15-caapnsf9.mjs +0 -1
  756. package/dist/chunks/extra-usage-noninteractive-1.1.15-2hrhqvj4.mjs +0 -1
  757. package/dist/chunks/fast-1.1.15-556g3z6s.mjs +0 -1
  758. package/dist/chunks/feedback-1.1.15-g0fbb2v3.mjs +0 -14
  759. package/dist/chunks/firstPartyEventLogger-1.1.15-5d6tk014.mjs +0 -1
  760. package/dist/chunks/git-1.1.15-xzay0ztr.mjs +0 -1
  761. package/dist/chunks/githubModelsCredentials-1.1.15-4py0k74v.mjs +0 -1
  762. package/dist/chunks/goal-1.1.15-e1em0116.mjs +0 -4
  763. package/dist/chunks/growthbook-1.1.15-6xn6q0sp.mjs +0 -1
  764. package/dist/chunks/headless-1.1.15-rafx8eee.mjs +0 -2
  765. package/dist/chunks/heapdump-1.1.15-6q8q4788.mjs +0 -6
  766. package/dist/chunks/help-1.1.15-zs3pgg4k.mjs +0 -1
  767. package/dist/chunks/hookChains-1.1.15-9a6pb5w5.mjs +0 -3
  768. package/dist/chunks/hooks-1.1.15-b9gs32vb.mjs +0 -1
  769. package/dist/chunks/hooks-1.1.15-hfwjnas3.mjs +0 -79
  770. package/dist/chunks/ide-1.1.15-ece17mva.mjs +0 -3
  771. package/dist/chunks/image-processor-napi-1.1.15-fejg7fwn.mjs +0 -1
  772. package/dist/chunks/inboundAttachments-1.1.15-pk7rphxz.mjs +0 -1
  773. package/dist/chunks/index-1.1.15-2vvc784g.mjs +0 -5
  774. package/dist/chunks/index-1.1.15-58q8vth9.mjs +0 -30
  775. package/dist/chunks/index-1.1.15-61gtszck.mjs +0 -23
  776. package/dist/chunks/index-1.1.15-63sm4p3b.mjs +0 -1
  777. package/dist/chunks/index-1.1.15-bqgefxac.mjs +0 -2
  778. package/dist/chunks/index-1.1.15-cmeghrr8.mjs +0 -1
  779. package/dist/chunks/index-1.1.15-dh3eqcj6.mjs +0 -1
  780. package/dist/chunks/index-1.1.15-gt3z8ez8.mjs +0 -2
  781. package/dist/chunks/index-1.1.15-hngbp5j9.mjs +0 -1
  782. package/dist/chunks/index-1.1.15-hv4e77y5.mjs +0 -1
  783. package/dist/chunks/index-1.1.15-jbcn1htw.mjs +0 -1
  784. package/dist/chunks/index-1.1.15-jsq8t7gh.mjs +0 -1
  785. package/dist/chunks/index-1.1.15-jxrabdxb.mjs +0 -9
  786. package/dist/chunks/index-1.1.15-k2qf0p34.mjs +0 -1
  787. package/dist/chunks/index-1.1.15-kegec7g7.mjs +0 -1
  788. package/dist/chunks/index-1.1.15-px3s42jj.mjs +0 -1
  789. package/dist/chunks/index-1.1.15-qa2n341d.mjs +0 -1
  790. package/dist/chunks/index-1.1.15-rb6gwjnr.mjs +0 -9
  791. package/dist/chunks/index-1.1.15-v1jbnyfv.mjs +0 -1
  792. package/dist/chunks/index-1.1.15-v3xjhkgg.mjs +0 -1
  793. package/dist/chunks/index-1.1.15-wn5dzvtp.mjs +0 -1
  794. package/dist/chunks/index-1.1.15-yxqqa2q5.mjs +0 -1
  795. package/dist/chunks/index-1.1.15-ztxh3p91.mjs +0 -1
  796. package/dist/chunks/init-1.1.15-s0513abb.mjs +0 -1
  797. package/dist/chunks/initReplBridge-1.1.15-nfxwvhxr.mjs +0 -1
  798. package/dist/chunks/ink-1.1.15-06g53x2d.mjs +0 -1
  799. package/dist/chunks/insights-1.1.15-2ttbvk7c.mjs +0 -870
  800. package/dist/chunks/install-1.1.15-w5d46eyw.mjs +0 -1
  801. package/dist/chunks/install-github-app-1.1.15-tqjywtyy.mjs +0 -149
  802. package/dist/chunks/install-slack-app-1.1.15-7qyq36aa.mjs +0 -1
  803. package/dist/chunks/instrumentation-1.1.15-5nywr7k6.mjs +0 -1
  804. package/dist/chunks/interactiveHelpers-1.1.15-9akt8s2v.mjs +0 -1
  805. package/dist/chunks/keybindings-1.1.15-1tvzezk8.mjs +0 -2
  806. package/dist/chunks/knowledge-1.1.15-bkkcs3a3.mjs +0 -2
  807. package/dist/chunks/latestVersionCache-1.1.15-2ksjmrzy.mjs +0 -1
  808. package/dist/chunks/loadAgentsDir-1.1.15-95r643y9.mjs +0 -1
  809. package/dist/chunks/loadPluginHooks-1.1.15-h3znhdpc.mjs +0 -1
  810. package/dist/chunks/log-1.1.15-efrp1hpn.mjs +0 -1
  811. package/dist/chunks/main-1.1.15-ba7dtwzz.mjs +0 -1
  812. package/dist/chunks/managedEnv-1.1.15-5b44apg9.mjs +0 -1
  813. package/dist/chunks/mcp-1.1.15-219ec2vw.mjs +0 -4
  814. package/dist/chunks/mcp-1.1.15-84m4prhz.mjs +0 -1
  815. package/dist/chunks/mcp-1.1.15-9f3zyt67.mjs +0 -17
  816. package/dist/chunks/mcpb-1.1.15-ykxze1k6.mjs +0 -1
  817. package/dist/chunks/memory-1.1.15-96pdt13p.mjs +0 -72
  818. package/dist/chunks/model-1.1.15-b40xd4h1.mjs +0 -1
  819. package/dist/chunks/model-1.1.15-pvecp9fh.mjs +0 -2
  820. package/dist/chunks/node-1.1.15-e5eqx52s.mjs +0 -12
  821. package/dist/chunks/oauth-1.1.15-7fxj0bcf.mjs +0 -1
  822. package/dist/chunks/openaiShim-1.1.15-dq3fghyq.mjs +0 -14
  823. package/dist/chunks/output-style-1.1.15-e7ttz7b5.mjs +0 -1
  824. package/dist/chunks/package-L37ZVTF4-1.1.15-kss8kwyd.mjs +0 -1
  825. package/dist/chunks/parseConnectUrl-1.1.15-km2j6z0r.mjs +0 -1
  826. package/dist/chunks/parser-1.1.15-2x7mpppq.mjs +0 -1
  827. package/dist/chunks/passes-1.1.15-8x4mva12.mjs +0 -1
  828. package/dist/chunks/permissions-1.1.15-134fj94y.mjs +0 -1
  829. package/dist/chunks/permissions-1.1.15-a2d8pgtp.mjs +0 -3
  830. package/dist/chunks/plan-1.1.15-swdve0xr.mjs +0 -1
  831. package/dist/chunks/plist-1.1.15-5ged16we.mjs +0 -1
  832. package/dist/chunks/plugin-1.1.15-kcpdt96s.mjs +0 -29
  833. package/dist/chunks/pluginStartupCheck-1.1.15-aazppe92.mjs +0 -1
  834. package/dist/chunks/plugins-1.1.15-atzwgc9x.mjs +0 -9
  835. package/dist/chunks/preActionHook-1.1.15-611jrgf1.mjs +0 -2
  836. package/dist/chunks/print-1.1.15-ma7jjc0w.mjs +0 -57
  837. package/dist/chunks/process-1.1.15-6rbhzpg0.mjs +0 -1
  838. package/dist/chunks/processBashCommand-1.1.15-aamrz1kj.mjs +0 -1
  839. package/dist/chunks/processSlashCommand-1.1.15-azxvy7pb.mjs +0 -9
  840. package/dist/chunks/prompt-1.1.15-1k4m318a.mjs +0 -1
  841. package/dist/chunks/prompt-1.1.15-xe79z4pr.mjs +0 -1
  842. package/dist/chunks/prompts-1.1.15-wte4x7e4.mjs +0 -1
  843. package/dist/chunks/protocolHandler-1.1.15-88zg9mk8.mjs +0 -13
  844. package/dist/chunks/provider-1.1.15-c8z6c4xj.mjs +0 -2
  845. package/dist/chunks/providerProfiles-1.1.15-srn11t8e.mjs +0 -1
  846. package/dist/chunks/providerValidation-1.1.15-yef6qwy2.mjs +0 -6
  847. package/dist/chunks/rate-limit-options-1.1.15-dk2mf38m.mjs +0 -1
  848. package/dist/chunks/registerSubcommands-1.1.15-v5kze215.mjs +0 -26
  849. package/dist/chunks/registry-1.1.15-jnsk0t9a.mjs +0 -1
  850. package/dist/chunks/release-notes-1.1.15-nbmmmwbh.mjs +0 -5
  851. package/dist/chunks/reload-plugins-1.1.15-thmm1n66.mjs +0 -2
  852. package/dist/chunks/remote-env-1.1.15-mt6r7s6d.mjs +0 -1
  853. package/dist/chunks/remoteBridgeCore-1.1.15-28aykv35.mjs +0 -1
  854. package/dist/chunks/remoteSession-1.1.15-br9mvf70.mjs +0 -1
  855. package/dist/chunks/rename-1.1.15-4cnm57qq.mjs +0 -1
  856. package/dist/chunks/replBridgeHandle-1.1.15-554c9pxz.mjs +0 -1
  857. package/dist/chunks/replLauncher-1.1.15-0ymjxtxx.mjs +0 -1
  858. package/dist/chunks/resume-1.1.15-tka4a9rz.mjs +0 -2
  859. package/dist/chunks/rewind-1.1.15-pskzwz2n.mjs +0 -1
  860. package/dist/chunks/rootOptions-1.1.15-k8vyvzs4.mjs +0 -1
  861. package/dist/chunks/runWorkflowHeadless-1.1.15-2sgm9477.mjs +0 -10
  862. package/dist/chunks/sandbox-adapter-1.1.15-jjpkvd4w.mjs +0 -1
  863. package/dist/chunks/sandbox-toggle-1.1.15-e2bqcnkv.mjs +0 -1
  864. package/dist/chunks/session-1.1.15-p4vbgb6n.mjs +0 -2
  865. package/dist/chunks/sessionDiscovery-1.1.15-krx4yyg5.mjs +0 -1
  866. package/dist/chunks/sessionFileAccessHooks-1.1.15-gmsn6pxt.mjs +0 -1
  867. package/dist/chunks/sessionStorage-1.1.15-7b040mx5.mjs +0 -1
  868. package/dist/chunks/settings-1.1.15-ekfty1pj.mjs +0 -1
  869. package/dist/chunks/setup-1.1.15-zep22435.mjs +0 -5
  870. package/dist/chunks/sinks-1.1.15-5b2jbvzk.mjs +0 -1
  871. package/dist/chunks/skills-1.1.15-tqfym88e.mjs +0 -1
  872. package/dist/chunks/startupProfiler-1.1.15-x5r52mgd.mjs +0 -1
  873. package/dist/chunks/startupUpdateCheck-1.1.15-zvm4gj9j.mjs +0 -1
  874. package/dist/chunks/state-1.1.15-92brngf3.mjs +0 -1
  875. package/dist/chunks/stats-1.1.15-83zt06hn.mjs +0 -6
  876. package/dist/chunks/status-1.1.15-z168hre8.mjs +0 -1
  877. package/dist/chunks/stickers-1.1.15-7hf6025s.mjs +0 -1
  878. package/dist/chunks/subprocessEnv-1.1.15-vsw2gnsy.mjs +0 -1
  879. package/dist/chunks/tasks-1.1.15-0jrt2qg7.mjs +0 -1
  880. package/dist/chunks/teamHelpers-1.1.15-k13jejzh.mjs +0 -1
  881. package/dist/chunks/teammateModeSnapshot-1.1.15-s9t0zyne.mjs +0 -1
  882. package/dist/chunks/teleport-1.1.15-9dd1smb0.mjs +0 -1
  883. package/dist/chunks/terminalSetup-1.1.15-qc30y99e.mjs +0 -1
  884. package/dist/chunks/theme-1.1.15-6q2jy7n3.mjs +0 -1
  885. package/dist/chunks/thinkback-1.1.15-nm1h90a9.mjs +0 -1
  886. package/dist/chunks/thinkback-play-1.1.15-f67z5b5k.mjs +0 -1
  887. package/dist/chunks/toolPool-1.1.15-tfcesaq1.mjs +0 -1
  888. package/dist/chunks/toolSearch-1.1.15-8ta5a4z3.mjs +0 -1
  889. package/dist/chunks/tools-1.1.15-y5hj8rpq.mjs +0 -1
  890. package/dist/chunks/trustedDevice-1.1.15-8tfqjnhv.mjs +0 -1
  891. package/dist/chunks/turndown.cjs-1.1.15-hh9kd6yr.mjs +0 -69
  892. package/dist/chunks/types-1.1.15-9baqmv4a.mjs +0 -1
  893. package/dist/chunks/ultrareviewCommand-1.1.15-pgr4087d.mjs +0 -4
  894. package/dist/chunks/update-1.1.15-3g32jxm9.mjs +0 -72
  895. package/dist/chunks/upgrade-1.1.15-n01mknp0.mjs +0 -1
  896. package/dist/chunks/upload-1.1.15-7swxydm4.mjs +0 -7
  897. package/dist/chunks/upstreamproxy-1.1.15-0kwe084a.mjs +0 -14
  898. package/dist/chunks/url-handler-napi-1.1.15-6zmtv9xn.mjs +0 -1
  899. package/dist/chunks/usage-1.1.15-24aqj3m1.mjs +0 -1
  900. package/dist/chunks/util-1.1.15-5jq3gm50.mjs +0 -1
  901. package/dist/chunks/utils-1.1.15-w1h2z3bz.mjs +0 -1
  902. package/dist/chunks/vim-1.1.15-saehb9jw.mjs +0 -1
  903. package/dist/chunks/watchLoop-1.1.15-5whne0rd.mjs +0 -13
  904. package/dist/chunks/watcher-1.1.15-jgbek4vd.mjs +0 -1
  905. package/dist/chunks/wiki-1.1.15-d8an1sjy.mjs +0 -132
  906. package/dist/chunks/workflows-1.1.15-hxrpwge7.mjs +0 -1
  907. package/dist/chunks/worktree-1.1.15-1es3bab6.mjs +0 -1
  908. package/dist/chunks/worktreeModeEnabled-1.1.15-c62gcjdh.mjs +0 -1
  909. package/dist/chunks/wrapper-1.1.15-jn7yrxqc.mjs +0 -7
@@ -1,2 +0,0 @@
1
- import{GF as L,HF as i,IF as l,JF as E,KF as c,LF as w,MF as O,QF as y,RF as e}from"./cli-1.1.15-b16e0ajk.mjs";import{VX as x,WX as s}from"./cli-1.1.15-tpbkevjz.mjs";import{I0 as k,K0 as V,c1 as Q,jZ as C,n1 as K,x0 as S,y0 as r}from"./cli-1.1.15-kr36eh1x.mjs";import{K3 as Y,L3 as P,M3 as v,N3 as _}from"./cli-1.1.15-e0wdjxcm.mjs";import{O3 as t}from"./cli-1.1.15-fk3ac4gc.mjs";import{Asa as p,Esa as q}from"./cli-1.1.15-bwy6nhdk.mjs";function X1(J){let b=j.c(17),{query:$,placeholder:I,isFocused:W,isTerminalFocused:Z,prefix:N,width:H,cursorOffset:A,borderless:U}=J,G=I===void 0?"Search…":I,h=N===void 0?"⌕":N,m=U===void 0?!1:U,B=A??$.length,D=m?void 0:"round",g=W?"suggestion":void 0,d=!W,F=m?0:1,T=!W,X;if(b[0]!==W||b[1]!==Z||b[2]!==B||b[3]!==G||b[4]!==$)X=W?P(Y,{children:$?Z?v(Y,{children:[P(V,{children:$.slice(0,B)}),P(V,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&P(V,{children:$.slice(B+1)})]}):P(V,{children:$}):Z?v(Y,{children:[P(V,{inverse:!0,children:G.charAt(0)}),P(V,{dimColor:!0,children:G.slice(1)})]}):P(V,{dimColor:!0,children:G})}):$?P(V,{children:$}):P(V,{children:G}),b[0]=W,b[1]=Z,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=v(V,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let z;if(b[10]!==M||b[11]!==D||b[12]!==g||b[13]!==d||b[14]!==F||b[15]!==H)z=P(k,{flexShrink:0,borderStyle:D,borderColor:g,borderDimColor:d,paddingX:F,width:H,children:M}),b[10]=M,b[11]=D,b[12]=g,b[13]=d,b[14]=F,b[15]=H,b[16]=z;else z=b[16];return z}var j;var u=q(()=>{K();_();j=p(C(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function V1({isActive:J,onExit:b,onCancel:$,onExitUp:I,columns:W,passthroughCtrlKeys:Z=[],initialQuery:N="",backspaceExitsOnEmpty:H=!0}){let{columns:A}=x(),U=W??A,[G,h]=R.useState(N),[m,B]=R.useState(N.length),D=R.useCallback((d)=>{h(d),B(d.length)},[]),g=(d)=>{if(!J)return;let F=y.fromText(G,U,m);if(d.ctrl&&Z.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),I)I();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();L(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(H)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(H)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();L(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();L(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();L(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=i();if(T.length>0){let X=F.offset,M=F.insert(T);E(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:z}=T,f=G.slice(0,M),a=G.slice(M+z),n=f+X+a,o=M+X.length;w(X.length),h(n),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{g(new S(T.keypress))},{isActive:J}),{query:G,setQuery:D,cursorOffset:m,handleKeyDown:g}}var R,b1;var B1=q(()=>{r();K();e();s();R=p(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
2
- export{X1 as gh,u as hh,V1 as ih,B1 as jh};
@@ -1,58 +0,0 @@
1
- import{BB as O,CB as I,MR as a,aK as A,aj as $,dj as h,lD as U,mD as p,rr as F,tR as P,ur as m}from"./cli-1.1.15-b16e0ajk.mjs";import{q4 as b,r4 as T}from"./cli-1.1.15-k1836ne2.mjs";import{gka as R,kka as x}from"./cli-1.1.15-vvc5kd0e.mjs";import{$ka as M,Zka as k}from"./cli-1.1.15-dv1zb375.mjs";import{cla as N,nla as _}from"./cli-1.1.15-tc86fw6x.mjs";import{Esa as v}from"./cli-1.1.15-bwy6nhdk.mjs";import{join as E}from"path";function g(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
2
-
3
- Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
4
-
5
- The file {{docPath}} has already been read for you. Here are its current contents:
6
- <current_doc_content>
7
- {{docContents}}
8
- </current_doc_content>
9
-
10
- Document title: {{docTitle}}
11
- {{customInstructions}}
12
-
13
- Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
14
-
15
- CRITICAL RULES FOR EDITING:
16
- - Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
17
- - If there's an italicized line immediately after the header, preserve it exactly as-is
18
- - Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
19
- - Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
20
- - Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
21
- - Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
22
- - Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
23
- - Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
24
-
25
- DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
26
- - BE TERSE. High signal only. No filler words or unnecessary elaboration.
27
- - Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
28
- - Do NOT duplicate information that's already obvious from reading the source code
29
- - Do NOT document every function, parameter, or line number reference
30
- - Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
31
- - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
32
-
33
- What TO document:
34
- - High-level architecture and system design
35
- - Non-obvious patterns, conventions, or gotchas
36
- - Key entry points and where to start reading code
37
- - Important design decisions and their rationale
38
- - Critical dependencies or integration points
39
- - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
40
-
41
- What NOT to document:
42
- - Anything obvious from reading the code itself
43
- - Exhaustive lists of files, functions, or parameters
44
- - Step-by-step implementation details
45
- - Low-level code mechanics
46
- - Information already in CLAUDE.md or other project docs
47
-
48
- Use the Edit tool with file_path: {{docPath}}
49
-
50
- REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function D(){let w=R(),z=E(N(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return g()}}function f(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function S(w,z,B,J){let Y=await D(),K=J?`
51
-
52
- DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
53
- The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
54
-
55
- "${J}"
56
-
57
- These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return f(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var y=v(()=>{_();x()});function Xw(){G.clear()}function r(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(l);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function d(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=F(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await U.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(k(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=r(q);if(!H){G.delete(w.path);return}let L=await S(q,w.path,H.title,H.instructions),C=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let j=W.file_path;if(typeof j==="string"&&j===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of O({agentDefinition:d(),promptMessages:[A({content:L})],toolUseContext:Z,canUseTool:C,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,l,G,Yw;var s=v(()=>{I();h();p();M();m();a();T();y();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,l=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=b(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(P(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
58
- export{Xw as Yh,Zw as Zh,s as _h};
@@ -1,4 +0,0 @@
1
- import{Ld as j,Md as w,Nd as _,Od as D,Pd as L,Qd as A,Rd as O}from"./cli-1.1.15-pgqqjddw.mjs";import{dM as X,eM as I,lp as R,op as b,rS as h,sB as W,tS as y,vB as V,xB as C}from"./cli-1.1.15-b16e0ajk.mjs";import{d_ as Q,e_ as N,pga as U,xga as S}from"./cli-1.1.15-c6h2gge7.mjs";import{rja as K,uja as v}from"./cli-1.1.15-8w8262sk.mjs";import{Dka as M,zka as x}from"./cli-1.1.15-f0xy8ndf.mjs";import{$ka as F,Uka as B}from"./cli-1.1.15-dv1zb375.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
2
- `);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
3
- `),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
4
- export{g as a,a as b,i as c,u as d,n as e,r as f};
@@ -1,2 +0,0 @@
1
- import{$T as K,WT as m,XT as b,YT as H,_T as N}from"./cli-1.1.15-r4y8m1sf.mjs";import{B8 as D,D8 as R,N8 as L,P8 as O,Q8 as _,x8 as x,y8 as M}from"./cli-1.1.15-ae2hn1xh.mjs";import{Fda as A,Qaa as j,Rea as G,Saa as P,rda as X,wda as Y,wea as Z}from"./cli-1.1.15-c6h2gge7.mjs";import{fla as $,nla as I}from"./cli-1.1.15-tc86fw6x.mjs";import{Esa as F}from"./cli-1.1.15-bwy6nhdk.mjs";function V(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:C,...U}=q;return U}function k(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!H(B))z[B]=Q;return z}function p(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return p(k(V(q)))}function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of h){if(z==="policySettings")continue;if(!j(z))continue;Object.assign(process.env,J(X(z)?.env))}m(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(N.has(z.toUpperCase()))process.env[z]=B}function a(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),x(),D(),O(),L()}var W,h;var T=F(()=>{b();M();G();I();K();R();_();P();A();h=["userSettings","flagSettings","policySettings"]});
2
- export{S as Gc,a as Hc,T as Ic};
@@ -1,2 +0,0 @@
1
- import{Esa as b}from"./cli-1.1.15-bwy6nhdk.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
2
- export{j as We,k as Xe,q as Ye,w as Ze,g as _e};
@@ -1,2 +0,0 @@
1
- import{Qd as j,Rd as E}from"./cli-1.1.15-pgqqjddw.mjs";import{GL as X,IL as Y,RL as Z,TL as w,XL as _,ZL as $,cM as f,lp as W,op as v}from"./cli-1.1.15-b16e0ajk.mjs";import{Fea as S,Rea as A,aca as Q,nca as T,pga as V,xga as N}from"./cli-1.1.15-c6h2gge7.mjs";import{uka as B,xka as R}from"./cli-1.1.15-vvc5kd0e.mjs";import{$ka as K,Uka as L}from"./cli-1.1.15-dv1zb375.mjs";import{Esa as y}from"./cli-1.1.15-bwy6nhdk.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
- export{d as nd,P as od,t as pd,U as qd};
@@ -1,3 +0,0 @@
1
- import{eha as N,iha as T}from"./cli-1.1.15-2cqj7ng5.mjs";import{Esa as Q}from"./cli-1.1.15-bwy6nhdk.mjs";function X(){if(!process.stdin.isTTY||F||process.argv.includes("-p")||process.argv.includes("--print"))return;F=!0,A="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),J=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")U(q);q=process.stdin.read()}},process.stdin.on("readable",J)}catch{F=!1}}function U(q){let v=0;while(v<q.length){let M=q[v],z=M.charCodeAt(0);if(z===3){K(),process.exit(130);return}if(z===4){K();return}if(z===127||z===8){if(A.length>0){let O=N(A);A=A.slice(0,-(O.length||1))}v++;continue}if(z===27){v++;while(v<q.length&&!(q.charCodeAt(v)>=64&&q.charCodeAt(v)<=126))v++;if(v<q.length)v++;continue}if(z<32&&z!==9&&z!==10&&z!==13){v++;continue}if(z===13){A+=`
2
- `,v++;continue}A+=M,v++}}function K(){if(!F)return;if(F=!1,J)process.stdin.removeListener("readable",J),J=null}function Y(){K();let q=A.trim();return A="",q}function Z(q){A=q}var A="",F=!1,J=null;var V=Q(()=>{T()});
3
- export{X as o1,K as p1,Y as q1,Z as r1,V as s1};
@@ -1,2 +0,0 @@
1
- import{Xn as R,Yn as E,hG as h,jG as r}from"./cli-1.1.15-b16e0ajk.mjs";import{I0 as U,K0 as F,O0 as I,jZ as j,n1 as p}from"./cli-1.1.15-kr36eh1x.mjs";import{L3 as Z,M3 as L,N3 as N}from"./cli-1.1.15-e0wdjxcm.mjs";import{O3 as S}from"./cli-1.1.15-fk3ac4gc.mjs";import{Fda as b,tda as B}from"./cli-1.1.15-c6h2gge7.mjs";import{rja as H,uja as A}from"./cli-1.1.15-8w8262sk.mjs";import{Asa as P}from"./cli-1.1.15-bwy6nhdk.mjs";A();p();b();r();E();N();var O=P(j(),1),T=P(S(),1),v="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function s(d){let f=O.c(18),{onAccept:J,onDecline:q,declineExits:m}=d,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];T.default.useEffect(u,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(C){f:switch(C){case"accept":{H("",{}),B("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("",{}),B("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let k=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=L(U,{flexDirection:"column",gap:1,children:[Z(F,{children:v}),Z(I,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let y=m?"No, exit":"No, go back",w;if(f[7]!==y)w=[...W,X,{label:y,value:"decline"}],f[7]=y,f[8]=w;else w=f[8];let z;if(f[9]!==k)z=(M)=>k(M),f[9]=k,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(h,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=L(R,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function u(){H("",{})}
2
- export{v as Ya,s as Za};
@@ -1,2 +0,0 @@
1
- import{WH as U,XH as w}from"./cli-1.1.15-b16e0ajk.mjs";import{I0 as N,K0 as O,jZ as f,n1 as k}from"./cli-1.1.15-kr36eh1x.mjs";import{L3 as M,M3 as H,N3 as R}from"./cli-1.1.15-e0wdjxcm.mjs";import{Asa as Y,Esa as Z}from"./cli-1.1.15-bwy6nhdk.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
- export{_ as Cg,A as Dg};
@@ -1,2 +0,0 @@
1
- import{Qs as I,Ts as X}from"./cli-1.1.15-b16e0ajk.mjs";import{fla as H,nla as W}from"./cli-1.1.15-tc86fw6x.mjs";import{Esa as V}from"./cli-1.1.15-bwy6nhdk.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
2
- export{q as Jc,F as Kc,K as Lc,Q as Mc,R as Nc,_ as Oc,j as Pc,Y as Qc};
@@ -1,2 +0,0 @@
1
- import{Rea as y,wea as P}from"./cli-1.1.15-c6h2gge7.mjs";import{Esa as U}from"./cli-1.1.15-bwy6nhdk.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
- export{G as SW,M as TW,N as UW,Y as VW,C as WW,_ as XW,R as YW,E as ZW,I as _W,f as $W,k as aX,A as bX,h as cX,b as dX,u as eX,T as fX,p as gX,m as hX,e as iX,W as jX,a as kX,s as lX,r as mX,g as nX};
@@ -1,2 +0,0 @@
1
- import{B$ as F,F$ as m,H_ as K,I_ as E,pga as U,xga as H}from"./cli-1.1.15-c6h2gge7.mjs";import{Dia as v,Fia as x}from"./cli-1.1.15-mrgk4vjn.mjs";import{gka as D,kka as g}from"./cli-1.1.15-vvc5kd0e.mjs";import{Esa as S}from"./cli-1.1.15-bwy6nhdk.mjs";import{basename as f,dirname as u,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=u(G),J=f(q);return{directory:N,prefix:J}}async function b(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function d(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await b(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function k(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function n(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await k(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();H();m();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
2
- export{d as wh,o as xh,n as yh,C as zh};
@@ -1,2 +0,0 @@
1
- function e(){return[]}async function i(){}
2
- export{e as jb,i as kb};
@@ -1,2 +0,0 @@
1
- import{R9 as Z,V9 as _,W9 as w}from"./cli-1.1.15-rvg56jwp.mjs";import{F_ as Y,G_ as U,R_ as $,Rea as j,caa as k,s$ as T,tea as W,wea as V,zaa as D}from"./cli-1.1.15-c6h2gge7.mjs";import{uka as N,xka as M}from"./cli-1.1.15-vvc5kd0e.mjs";import{Sqa as O,Zma as X}from"./cli-1.1.15-xn5kcp4k.mjs";O();j();M();w();D();U();T();import{realpath as x}from"fs/promises";async function y(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await x(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function f(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function l(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
- export{y as Sb,f as Tb,P as Ub,d as Vb,l as Wb};
@@ -1,4 +0,0 @@
1
- import{Ng as g,Og as Py}from"./cli-1.1.15-bhxf1gde.mjs";import{Ni as s,Pi as d,Qi as $y}from"./cli-1.1.15-xvwbdkk2.mjs";import{AL as Q,At as Xy,BL as Ry,JL as n,Jq as f,Sq as u,TL as vy,VS as c,Xx as q,Yx as Zy,Zq as A,_L as x,ao as L,cM as Ny,co as V,eo as Y,fr as Qy,ho as D,io as M,jl as F,jo as C,lo as T,nl as Iy,pT as py,qP as l,qr as E,ro as Ky,st as O,ur as Wy}from"./cli-1.1.15-b16e0ajk.mjs";import{wX as i,xX as Oy}from"./cli-1.1.15-jeqz3hde.mjs";import{AY as t,EY as Uy,yY as _,zY as a}from"./cli-1.1.15-tpbkevjz.mjs";import{KY as o,QY as hy}from"./cli-1.1.15-erwqj4vs.mjs";import{G0 as k,H0 as Jy}from"./cli-1.1.15-kr36eh1x.mjs";import{N6 as qy,d8 as Z,m6 as m,n6 as B,w8 as zy}from"./cli-1.1.15-k1836ne2.mjs";import{S8 as p,T8 as ry}from"./cli-1.1.15-gngz1xbk.mjs";import{Fda as ky,Rea as v,X_ as h,fba as j,hba as jy,l$ as H,rda as b,s$ as wy,tea as R,u$ as X,v$ as Sy,wda as K,wea as w}from"./cli-1.1.15-c6h2gge7.mjs";import{Hha as Gy,vha as z}from"./cli-1.1.15-zw3cc5m8.mjs";import{uka as U,xka as yy}from"./cli-1.1.15-vvc5kd0e.mjs";v();function Vy(y){let r=w().numStartups;R((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function N(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Xy();ky();hy();Jy();Py();Zy();Iy();zy();Oy();v();Qy();jy();Wy();wy();Ky();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var W;async function Hy(){if(W!==void 0)return W;let y=await n();return W=Q in y,W}async function P(y,r,G){if(!await Hy())return!1;if(x(`${y}@${Q}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(E(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=w(),r=K(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return U(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await H()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=w();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&p.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>X()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>K().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!L())return!1;if(X()!=="macos")return!1;switch(j.terminal){case"vscode":return!await C();case"cursor":return!await D();case"windsurf":return!await M();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(V())return!1;if((await Y()).length!==0)return!1;return(await T()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>X()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>l()&&w().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${q("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=m()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
- ${k("suggestion",y.theme)(`/plugin install frontend-design@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
- ${k("suggestion",y.theme)(`/plugin install vercel@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!f(B()))return!1;if(b("policySettings")?.effortLevel!==void 0)return!1;if(A()!==void 0)return!1;let y=u();if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!F())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=K().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=K().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>N(J.id)>=J.cooldownSessions),...S]}
4
- export{Vy as _a,N as $a,kr as ab};
@@ -1,2 +0,0 @@
1
- import{Qw as I,Rw as P,Vw as t,vp as W,wp as n}from"./cli-1.1.15-b16e0ajk.mjs";import{T3 as H,U3 as p}from"./cli-1.1.15-k8spwbtd.mjs";import{Y3 as C,_3 as i}from"./cli-1.1.15-engyyzpk.mjs";import{F4 as S,L4 as c,Y7 as R,c8 as V,w8 as l,x7 as v}from"./cli-1.1.15-k1836ne2.mjs";import{Rda as q,Rea as O,Rfa as T,Sda as u,Tfa as Y,Zfa as y,aga as k,dga as g,pga as D,tea as E,wea as X,xga as m}from"./cli-1.1.15-c6h2gge7.mjs";import{Aia as h,wia as G,yia as f,zia as $}from"./cli-1.1.15-59t4k8sr.mjs";import{kja as Z,pja as _,qja as M}from"./cli-1.1.15-e69gmp99.mjs";import{uka as x,xka as b}from"./cli-1.1.15-vvc5kd0e.mjs";import{Mra as Q,csa as A}from"./cli-1.1.15-fnh28phg.mjs";import{Esa as U}from"./cli-1.1.15-bwy6nhdk.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
2
- export{Yj as nc,r as oc};
@@ -1,2 +0,0 @@
1
- import{Esa as B}from"./cli-1.1.15-bwy6nhdk.mjs";function D(g,q){switch(q.type){case"set_local_jsx":{if(q.generation<g.generation)return g;return{state:{...q.payload,isLocalJSXCommand:!0},generation:g.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:g.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(g.hasLocalJSXActive)return g;return{...g,state:q.payload}}case"set_null":{if(g.hasLocalJSXActive)return g;if(g.state===null)return g;return{...g,state:null}}}}var C;var F=B(()=>{C={state:null,generation:0,hasLocalJSXActive:!1}});function K(g){return z=g,()=>{if(z===g)z=null}}function L(g){let q=D(w,g);if(q===w)return;w=q,z?.(q.state)}function M(){return w.generation}var w,z=null;var G=B(()=>{F();w=C});
2
- export{K as si,L as ti,M as ui,G as vi};
@@ -1,2 +0,0 @@
1
- import{Hx as C,Kx as X}from"./cli-1.1.15-b16e0ajk.mjs";import{O3 as W}from"./cli-1.1.15-fk3ac4gc.mjs";import{G6 as J,N6 as V,t6 as I}from"./cli-1.1.15-k1836ne2.mjs";import{Hha as T,mha as H}from"./cli-1.1.15-zw3cc5m8.mjs";import{Asa as P,Esa as Q}from"./cli-1.1.15-bwy6nhdk.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
2
- export{v as dd,Y as ed};
@@ -1,2 +0,0 @@
1
- import{$P as L,AC as j,_P as f,fD as K,hD as I,iD as _,jQ as r,kD as p,mv as T,nS as i,oC as P,uC as b}from"./cli-1.1.15-b16e0ajk.mjs";import{VV as A,WV as n}from"./cli-1.1.15-syqaq4nv.mjs";import{rja as E,uja as C}from"./cli-1.1.15-8w8262sk.mjs";import{gka as M,kka as m,uka as Z,xja as F,xka as u,zja as S}from"./cli-1.1.15-vvc5kd0e.mjs";import{Pma as Y,Qma as k,Sqa as c,uqa as v}from"./cli-1.1.15-xn5kcp4k.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
2
- export{Zq as bb};
@@ -1,2 +0,0 @@
1
- import{Dsa as n,Esa as o}from"./cli-1.1.15-bwy6nhdk.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
- export{i as rja,c as sja,p as tja,u as uja};
@@ -1,2 +0,0 @@
1
- import{fla as z,nla as J}from"./cli-1.1.15-tc86fw6x.mjs";import{Esa as F}from"./cli-1.1.15-bwy6nhdk.mjs";function V(b){D=b}function W(){let b=D?.()??{};if(!z(process.env.CLAUDIN_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let q={...process.env,...b};for(let w of L)delete q[w],delete q[`INPUT_${w}`];return q}var L,D;var M=F(()=>{J();L=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
- export{V as ZU,W as _U,M as $U};
@@ -1,2 +0,0 @@
1
- import{bd as Q,cd as Y}from"./cli-1.1.15-cagegn51.mjs";import{Cp as J,Dp as W,XM as K,dN as X,rl as H,sl as B,wl as U,xl as V}from"./cli-1.1.15-b16e0ajk.mjs";import{Bsa as q,Esa as v}from"./cli-1.1.15-bwy6nhdk.mjs";function P(k){return x.some((h)=>k.endsWith(h))}function C(k){return k.filter((h)=>H.has(h.name)||P(h.name))}function A(k,h,E){let[Z,$]=Q(J([...k,...h],"name"),K),w=(g,j)=>g.name.localeCompare(j.name),z=[...$.sort(w),...Z.sort(w)];if(G){if(G.isCoordinatorMode())return C(z)}return z}var x,G;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];G=(V(),q(U))});
2
- export{P as Zc,C as _c,A as $c,D as ad};
@@ -1,6 +0,0 @@
1
- import{Dh as qq,Eh as Jq,Fh as Zq,Gh as vq}from"./cli-1.1.15-n7rft8vb.mjs";import{Hh as $q,Ih as Pq}from"./cli-1.1.15-h6ev26yt.mjs";import{Cz as p,wz as m,xz as y}from"./cli-1.1.15-b16e0ajk.mjs";import{I0 as F,K0 as K,n1 as Iq}from"./cli-1.1.15-kr36eh1x.mjs";import{L3 as Y,M3 as D,N3 as Xq}from"./cli-1.1.15-e0wdjxcm.mjs";import{O3 as j}from"./cli-1.1.15-fk3ac4gc.mjs";import{Oca as a,T_ as w,V_ as f,Wca as Vq,a$ as c,d_ as I,e_ as e,s$ as Uq}from"./cli-1.1.15-c6h2gge7.mjs";import{Fga as Mq,Gga as g,Uga as Eq}from"./cli-1.1.15-p1trn7j2.mjs";import{Asa as T,Esa as L}from"./cli-1.1.15-bwy6nhdk.mjs";function u(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,B=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:B,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var h=L(()=>{p();b=T(j(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),B=q.join(`
2
- `),X=J.join(`
3
- `);O.useEffect(()=>{let V=!1;M(!0);async function N(){let _=B?B.split(`
4
- `):[],v=X?X.split(`
5
- `):[],E=(await Promise.all(v.map((G)=>f(G)))).flat(),P=w(E).filter((G)=>!_.includes(G)).sort((G,C)=>S(G).localeCompare(S(C))),k=w([..._,...P]),Yq=await Promise.all(k.map(async(G)=>{let[C,x,Aq]=await Promise.all([m(G),y(G),c(G)]);return{root:G,name:S(G),branch:Aq,files:C?u(C,x):[],hunks:x}}));if(!V)z(Yq),Z(k),M(!1)}return N().catch(()=>{if(!V)z([]),Z([]),M(!1)}),()=>{V=!0}},[B,X,U]);let W=O.useCallback(()=>H((V)=>V+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=L(()=>{Uq();p();h();O=T(j(),1)});import{basename as n}from"path";function d(q,J,$){if(q===0)return"";return J.join("")+($?Bq:l)}function r(q){return{name:q,dirs:new Map,files:[]}}function Nq(q){let J=r("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=r(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function i(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>n(X.path).localeCompare(n(W.path))),B=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],V=W.name,N=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;V=`${V}/${P.name}`,N=`${N}/${P.name}`,W=P}let _=X===U.length-1&&!B,v=`${Q}\x00${N}`,E=z.has(v);if(A.push({kind:"dir",key:v,label:V,depth:$,collapsed:E,guides:d($,M,_)}),!E){let P=$>=1?[...M,_?Gq:l]:M;i(W,N,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],V=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:d($,M,V)})}}function _q(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${a(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}i(Nq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var l="│ ",Bq="└ ",Gq=" ";var o=L(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return R[Math.abs(J)%R.length]}function t(q){let J=R.length;return R[(q%J+J)%J]}var R;var s=L(()=>{R=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function zq(){let q=$q();return{enabled:q,fileIcon:(J)=>q?Zq(J):"",folderIcon:(J)=>q?J?Jq:qq:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var Qq=L(()=>{e();vq();Pq()});import{basename as Dq}from"path";function Lq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function ZJ(q){return q.flatMap((J)=>J.files)}function $J({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo(zq,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Lq(M,J,$),B=[];for(let X=U;X<H;X++){let W=q[X];B.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return D(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),B,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let _=J?`${z.pointer} `:" ",v=q.collapsed?I.triangleRight:I.triangleDown;return D(K,{dimColor:!J,bold:J,children:[`${_}${v} `,z.repoIcon&&Y(K,{color:t(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let _=q.collapsed?I.triangleRight:I.triangleDown,v=z.folderIcon(!q.collapsed),E=v?`${v} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=g(q.label,P);return D(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:D(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${_} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),B=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,V=Math.max(4,$-U-X.length-(B?2:0)-W-1),N=q.label?g(q.label,V):Mq(Dq(q.file.path),V);return D(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:D(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,B,Q&&!J?Y(K,{color:Q,children:N}):N]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq,JJ=80;var Rq=L(()=>{e();Iq();Eq();s();o();Qq();Xq();Wq=T(j(),1)});
6
- export{wq as Sf,Hq as Tf,zq as Uf,Qq as Vf,hq as Wf,s as Xf,_q as Yf,o as Zf,JJ as _f,ZJ as $f,$J as ag,Rq as bg};
@@ -1,2 +0,0 @@
1
- import{HW as H,JW as M}from"./cli-1.1.15-s28sb1ga.mjs";import{Fda as L,Jaa as y,Saa as K,rda as B,wda as D}from"./cli-1.1.15-c6h2gge7.mjs";import{Esa as J}from"./cli-1.1.15-bwy6nhdk.mjs";async function Z(){let b=await H();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let x=D()?.remote?.defaultEnvironmentId,z=b.find((q)=>q.kind!=="bridge")??b[0],A=null;if(x){let q=b.find((k)=>k.environment_id===x);if(q){z=q;for(let k=y.length-1;k>=0;k--){let w=y[k];if(!w||w==="flagSettings")continue;if(B(w)?.remote?.defaultEnvironmentId===x){A=w;break}}}}return{availableEnvironments:b,selectedEnvironment:z,selectedEnvironmentSource:A}}var P=J(()=>{K();L();M()});
2
- export{Z as Zb,P as _b};
@@ -1,2 +0,0 @@
1
- import{Nn as T,On as Cq,Sx as Pq,Wx as uq}from"./cli-1.1.15-b16e0ajk.mjs";import{MY as Uq,NY as Iq,QY as kq}from"./cli-1.1.15-erwqj4vs.mjs";import{I0 as L,K0 as O,jZ as aq,n1 as hq}from"./cli-1.1.15-kr36eh1x.mjs";import{L3 as J,M3 as Q,N3 as vq}from"./cli-1.1.15-e0wdjxcm.mjs";import{D5 as bq,E5 as Mq,X5 as Sq}from"./cli-1.1.15-k1836ne2.mjs";import{Rea as fq,fba as Nq,hba as Bq,u$ as Xq,v$ as jq,wea as Rq}from"./cli-1.1.15-c6h2gge7.mjs";import{Hha as nq}from"./cli-1.1.15-zw3cc5m8.mjs";import{Asa as yq,Esa as Gq}from"./cli-1.1.15-bwy6nhdk.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();fq();Bq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),B;if(q[2]!==e)B=V(e),q[2]=e,q[3]=B;else B=q[3];let s=B,i=T("chat:undo","Chat","ctrl+_"),f;if(q[4]!==i)f=V(i),q[4]=i,q[5]=f;else f=q[5];let r=f,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let u;if(q[51]===Symbol.for("react.memo_cache_sentinel"))u=Kq(),q[51]=u;else u=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:u})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let c;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)c=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=c;else c=q[98];return c}var Eq;var cq=Gq(()=>{hq();jq();uq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
- export{dq as sf,eq as tf,Wq as uf,LH as vf,cq as wf};
@@ -1,3 +0,0 @@
1
- import{Esa as z}from"./cli-1.1.15-bwy6nhdk.mjs";import{execFile as B}from"child_process";import{promisify as E}from"util";async function N(v){try{let{stdout:q}=await G("git",["worktree","list","--porcelain"],{cwd:v,timeout:5000});if(!q)return[];return q.split(`
2
- `).filter((j)=>j.startsWith("worktree ")).map((j)=>j.slice(9).normalize("NFC"))}catch{return[]}}var G;var H=z(()=>{G=E(B)});
3
- export{N as eW,H as fW};
@@ -1,2 +0,0 @@
1
- import{J_ as Z,L_ as f,aga as B,dga as K,qfa as $,rfa as y}from"./cli-1.1.15-c6h2gge7.mjs";import{hla as Y,nla as E}from"./cli-1.1.15-tc86fw6x.mjs";import{Esa as N,Fsa as x}from"./cli-1.1.15-bwy6nhdk.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
- export{D as yi,s as zi,g as Ai};
@@ -1,26 +0,0 @@
1
- class H extends Error{constructor(z,J,Q){super(Q);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=J,this.exitCode=z,this.nestedError=void 0}}class K extends H{constructor(z){super(1,"commander.invalidArgument",z);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}class S{constructor(z,J){this.flags=z,this.description=J||"",this.required=z.includes("<"),this.optional=z.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(z),this.mandatory=!1;let Q=w(z);if(this.short=Q.shortFlag,this.long=Q.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0,this.helpGroupHeading=void 0}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}preset(z){return this.presetArg=z,this}conflicts(z){return this.conflictsWith=this.conflictsWith.concat(z),this}implies(z){let J=z;if(typeof z==="string")J={[z]:!0};return this.implied=Object.assign(this.implied||{},J),this}env(z){return this.envVar=z,this}argParser(z){return this.parseArg=z,this}makeOptionMandatory(z=!0){return this.mandatory=!!z,this}hideHelp(z=!0){return this.hidden=!!z,this}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){if(this.negate)return F(this.name().replace(/^no-/,""));return F(this.name())}helpGroup(z){return this.helpGroupHeading=z,this}is(z){return this.short===z||this.long===z}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class V{constructor(z){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,z.forEach((J)=>{if(J.negate)this.negativeOptions.set(J.attributeName(),J);else this.positiveOptions.set(J.attributeName(),J)}),this.negativeOptions.forEach((J,Q)=>{if(this.positiveOptions.has(Q))this.dualOptions.add(Q)})}valueFromOption(z,J){let Q=J.attributeName();if(!this.dualOptions.has(Q))return!0;let X=this.negativeOptions.get(Q).presetArg,Y=X!==void 0?X:!1;return J.negate===(Y===z)}}function F(z){return z.split("-").reduce((J,Q)=>{return J+Q[0].toUpperCase()+Q.slice(1)})}function w(z){let J,Q,X=/^-[^-]$/,Y=/^--[^-]/,Z=z.split(/[ |,]+/).concat("guard");if(X.test(Z[0]))J=Z.shift();if(Y.test(Z[0]))Q=Z.shift();if(!J&&X.test(Z[0]))J=Z.shift();if(!J&&Y.test(Z[0]))J=Q,Q=Z.shift();if(Z[0].startsWith("-")){let $=Z[0],_=`option creation failed due to '${$}' in option flags '${z}'`;if(/^-[^-][^-]/.test($))throw Error(`${_}
2
- - a short flag is a single dash and a single character
3
- - either use a single dash and a single character (for a short flag)
4
- - or use a double dash for a long option (and can have two, like '--ws, --workspace')`);if(X.test($))throw Error(`${_}
5
- - too many short flags`);if(Y.test($))throw Error(`${_}
6
- - too many long flags`);throw Error(`${_}
7
- - unrecognised flag format`)}if(J===void 0&&Q===void 0)throw Error(`option creation failed due to no flags found in '${z}'.`);return{shortFlag:J,longFlag:Q}}import{EventEmitter as O}from"node:events";import N from"node:child_process";import U from"node:path";import I from"node:fs";import G from"node:process";import{stripVTControlCharacters as x}from"node:util";class W{constructor(z,J){switch(this.description=J||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,z[0]){case"<":this.required=!0,this._name=z.slice(1,-1);break;case"[":this.required=!1,this._name=z.slice(1,-1);break;default:this.required=!0,this._name=z;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}argParser(z){return this.parseArg=z,this}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function P(z){let J=z.name()+(z.variadic===!0?"...":"");return z.required?"<"+J+">":"["+J+"]"}import{stripVTControlCharacters as k}from"node:util";class j{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(z){this.helpWidth=this.helpWidth??z.helpWidth??80}visibleCommands(z){let J=z.commands.filter((X)=>!X._hidden),Q=z._getHelpCommand();if(Q&&!Q._hidden)J.push(Q);if(this.sortSubcommands)J.sort((X,Y)=>{return X.name().localeCompare(Y.name())});return J}compareOptions(z,J){let Q=(X)=>{return X.short?X.short.replace(/^-/,""):X.long.replace(/^--/,"")};return Q(z).localeCompare(Q(J))}visibleOptions(z){let J=z.options.filter((X)=>!X.hidden),Q=z._getHelpOption();if(Q&&!Q.hidden){let X=Q.short&&z._findOption(Q.short),Y=Q.long&&z._findOption(Q.long);if(!X&&!Y)J.push(Q);else if(Q.long&&!Y)J.push(z.createOption(Q.long,Q.description));else if(Q.short&&!X)J.push(z.createOption(Q.short,Q.description))}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleGlobalOptions(z){if(!this.showGlobalOptions)return[];let J=[];for(let Q=z.parent;Q;Q=Q.parent){let X=Q.options.filter((Y)=>!Y.hidden);J.push(...X)}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleArguments(z){if(z._argsDescription)z.registeredArguments.forEach((J)=>{J.description=J.description||z._argsDescription[J.name()]||""});if(z.registeredArguments.find((J)=>J.description))return z.registeredArguments;return[]}subcommandTerm(z){let J=z.registeredArguments.map((Q)=>P(Q)).join(" ");return z._name+(z._aliases[0]?"|"+z._aliases[0]:"")+(z.options.length?" [options]":"")+(J?" "+J:"")}optionTerm(z){return z.flags}argumentTerm(z){return z.name()}longestSubcommandTermLength(z,J){return J.visibleCommands(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleSubcommandTerm(J.subcommandTerm(X))))},0)}longestOptionTermLength(z,J){return J.visibleOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestGlobalOptionTermLength(z,J){return J.visibleGlobalOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestArgumentTermLength(z,J){return J.visibleArguments(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleArgumentTerm(J.argumentTerm(X))))},0)}commandUsage(z){let J=z._name;if(z._aliases[0])J=J+"|"+z._aliases[0];let Q="";for(let X=z.parent;X;X=X.parent)Q=X.name()+" "+Q;return Q+J+" "+z.usage()}commandDescription(z){return z.description()}subcommandDescription(z){return z.summary()||z.description()}optionDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0){if(z.required||z.optional||z.isBoolean()&&typeof z.defaultValue==="boolean")J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`)}if(z.presetArg!==void 0&&z.optional)J.push(`preset: ${JSON.stringify(z.presetArg)}`);if(z.envVar!==void 0)J.push(`env: ${z.envVar}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}argumentDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0)J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}formatItemList(z,J,Q){if(J.length===0)return[];return[Q.styleTitle(z),...J,""]}groupItems(z,J,Q){let X=new Map;return z.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[])}),J.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[]);X.get(Z).push(Y)}),X}formatHelp(z,J){let Q=J.padWidth(z,J),X=J.helpWidth??80;function Y(R,B){return J.formatItem(R,Q,B,J)}let Z=[`${J.styleTitle("Usage:")} ${J.styleUsage(J.commandUsage(z))}`,""],$=J.commandDescription(z);if($.length>0)Z=Z.concat([J.boxWrap(J.styleCommandDescription($),X),""]);let _=J.visibleArguments(z).map((R)=>{return Y(J.styleArgumentTerm(J.argumentTerm(R)),J.styleArgumentDescription(J.argumentDescription(R)))});if(Z=Z.concat(this.formatItemList("Arguments:",_,J)),this.groupItems(z.options,J.visibleOptions(z),(R)=>R.helpGroupHeading??"Options:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleOptionTerm(J.optionTerm(M)),J.styleOptionDescription(J.optionDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),J.showGlobalOptions){let R=J.visibleGlobalOptions(z).map((B)=>{return Y(J.styleOptionTerm(J.optionTerm(B)),J.styleOptionDescription(J.optionDescription(B)))});Z=Z.concat(this.formatItemList("Global Options:",R,J))}return this.groupItems(z.commands,J.visibleCommands(z),(R)=>R.helpGroup()||"Commands:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleSubcommandTerm(J.subcommandTerm(M)),J.styleSubcommandDescription(J.subcommandDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),Z.join(`
8
- `)}displayWidth(z){return k(z).length}styleTitle(z){return z}styleUsage(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J==="[command]")return this.styleSubcommandText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleCommandText(J)}).join(" ")}styleCommandDescription(z){return this.styleDescriptionText(z)}styleOptionDescription(z){return this.styleDescriptionText(z)}styleSubcommandDescription(z){return this.styleDescriptionText(z)}styleArgumentDescription(z){return this.styleDescriptionText(z)}styleDescriptionText(z){return z}styleOptionTerm(z){return this.styleOptionText(z)}styleSubcommandTerm(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleSubcommandText(J)}).join(" ")}styleArgumentTerm(z){return this.styleArgumentText(z)}styleOptionText(z){return z}styleArgumentText(z){return z}styleSubcommandText(z){return z}styleCommandText(z){return z}padWidth(z,J){return Math.max(J.longestOptionTermLength(z,J),J.longestGlobalOptionTermLength(z,J),J.longestSubcommandTermLength(z,J),J.longestArgumentTermLength(z,J))}preformatted(z){return/\n[^\S\r\n]/.test(z)}formatItem(z,J,Q,X){let Z=" ".repeat(2);if(!Q)return Z+z;let $=z.padEnd(J+z.length-X.displayWidth(z)),_=2,q=(this.helpWidth??80)-J-_-2,R;if(q<this.minWidthToWrap||X.preformatted(Q))R=Q;else R=X.boxWrap(Q,q).replace(/\n/g,`
9
- `+" ".repeat(J+_));return Z+$+" ".repeat(_)+R.replace(/\n/g,`
10
- ${Z}`)}boxWrap(z,J){if(J<this.minWidthToWrap)return z;let Q=z.split(/\r\n|\n/),X=/[\s]*[^\s]+/g,Y=[];return Q.forEach((Z)=>{let $=Z.match(X);if($===null){Y.push("");return}let _=[$.shift()],T=this.displayWidth(_[0]);$.forEach((q)=>{let R=this.displayWidth(q);if(T+R<=J){_.push(q),T+=R;return}Y.push(_.join(""));let B=q.trimStart();_=[B],T=this.displayWidth(B)}),Y.push(_.join(""))}),Y.join(`
11
- `)}}function C(z,J){if(Math.abs(z.length-J.length)>3)return Math.max(z.length,J.length);let Q=[];for(let X=0;X<=z.length;X++)Q[X]=[X];for(let X=0;X<=J.length;X++)Q[0][X]=X;for(let X=1;X<=J.length;X++)for(let Y=1;Y<=z.length;Y++){let Z;if(z[Y-1]===J[X-1])Z=0;else Z=1;if(Q[Y][X]=Math.min(Q[Y-1][X]+1,Q[Y][X-1]+1,Q[Y-1][X-1]+Z),Y>1&&X>1&&z[Y-1]===J[X-2]&&z[Y-2]===J[X-1])Q[Y][X]=Math.min(Q[Y][X],Q[Y-2][X-2]+1)}return Q[z.length][J.length]}function D(z,J){if(!J||J.length===0)return"";J=Array.from(new Set(J));let Q=z.startsWith("--");if(Q)z=z.slice(2),J=J.map(($)=>$.slice(2));let X=[],Y=3,Z=0.4;if(J.forEach(($)=>{if($.length<=1)return;let _=C(z,$),T=Math.max(z.length,$.length);if((T-_)/T>Z){if(_<Y)Y=_,X=[$];else if(_===Y)X.push($)}}),X.sort(($,_)=>$.localeCompare(_)),Q)X=X.map(($)=>`--${$}`);if(X.length>1)return`
12
- (Did you mean one of ${X.join(", ")}?)`;if(X.length===1)return`
13
- (Did you mean ${X[0]}?)`;return""}class E extends O{constructor(z){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=z||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:(J)=>G.stdout.write(J),writeErr:(J)=>G.stderr.write(J),outputError:(J,Q)=>Q(J),getOutHelpWidth:()=>G.stdout.isTTY?G.stdout.columns:void 0,getErrHelpWidth:()=>G.stderr.isTTY?G.stderr.columns:void 0,getOutHasColors:()=>A()??(G.stdout.isTTY&&G.stdout.hasColors?.()),getErrHasColors:()=>A()??(G.stderr.isTTY&&G.stderr.hasColors?.()),stripColor:(J)=>x(J)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={},this._helpGroupHeading=void 0,this._defaultCommandGroup=void 0,this._defaultOptionGroup=void 0}copyInheritedSettings(z){return this._outputConfiguration=z._outputConfiguration,this._helpOption=z._helpOption,this._helpCommand=z._helpCommand,this._helpConfiguration=z._helpConfiguration,this._exitCallback=z._exitCallback,this._storeOptionsAsProperties=z._storeOptionsAsProperties,this._combineFlagAndOptionalValue=z._combineFlagAndOptionalValue,this._allowExcessArguments=z._allowExcessArguments,this._enablePositionalOptions=z._enablePositionalOptions,this._showHelpAfterError=z._showHelpAfterError,this._showSuggestionAfterError=z._showSuggestionAfterError,this}_getCommandAndAncestors(){let z=[];for(let J=this;J;J=J.parent)z.push(J);return z}command(z,J,Q){let X=J,Y=Q;if(typeof X==="object"&&X!==null)Y=X,X=null;Y=Y||{};let[,Z,$]=z.match(/([^ ]+) *(.*)/),_=this.createCommand(Z);if(X)_.description(X),_._executableHandler=!0;if(Y.isDefault)this._defaultCommandName=_._name;if(_._hidden=!!(Y.noHelp||Y.hidden),_._executableFile=Y.executableFile||null,$)_.arguments($);if(this._registerCommand(_),_.parent=this,_.copyInheritedSettings(this),X)return this;return _}createCommand(z){return new E(z)}createHelp(){return Object.assign(new j,this.configureHelp())}configureHelp(z){if(z===void 0)return this._helpConfiguration;return this._helpConfiguration=z,this}configureOutput(z){if(z===void 0)return this._outputConfiguration;return this._outputConfiguration={...this._outputConfiguration,...z},this}showHelpAfterError(z=!0){if(typeof z!=="string")z=!!z;return this._showHelpAfterError=z,this}showSuggestionAfterError(z=!0){return this._showSuggestionAfterError=!!z,this}addCommand(z,J){if(!z._name)throw Error(`Command passed to .addCommand() must have a name
14
- - specify the name in Command constructor or using .name()`);if(J=J||{},J.isDefault)this._defaultCommandName=z._name;if(J.noHelp||J.hidden)z._hidden=!0;return this._registerCommand(z),z.parent=this,z._checkForBrokenPassThrough(),this}createArgument(z,J){return new W(z,J)}argument(z,J,Q,X){let Y=this.createArgument(z,J);if(typeof Q==="function")Y.default(X).argParser(Q);else Y.default(Q);return this.addArgument(Y),this}arguments(z){return z.trim().split(/ +/).forEach((J)=>{this.argument(J)}),this}addArgument(z){let J=this.registeredArguments.slice(-1)[0];if(J?.variadic)throw Error(`only the last argument can be variadic '${J.name()}'`);if(z.required&&z.defaultValue!==void 0&&z.parseArg===void 0)throw Error(`a default value for a required argument is never used: '${z.name()}'`);return this.registeredArguments.push(z),this}helpCommand(z,J){if(typeof z==="boolean"){if(this._addImplicitHelpCommand=z,z&&this._defaultCommandGroup)this._initCommandGroup(this._getHelpCommand());return this}let Q=z??"help [command]",[,X,Y]=Q.match(/([^ ]+) *(.*)/),Z=J??"display help for command",$=this.createCommand(X);if($.helpOption(!1),Y)$.arguments(Y);if(Z)$.description(Z);if(this._addImplicitHelpCommand=!0,this._helpCommand=$,z||J)this._initCommandGroup($);return this}addHelpCommand(z,J){if(typeof z!=="object")return this.helpCommand(z,J),this;return this._addImplicitHelpCommand=!0,this._helpCommand=z,this._initCommandGroup(z),this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(z,J){let Q=["preSubcommand","preAction","postAction"];if(!Q.includes(z))throw Error(`Unexpected value for event passed to hook : '${z}'.
15
- Expecting one of '${Q.join("', '")}'`);if(this._lifeCycleHooks[z])this._lifeCycleHooks[z].push(J);else this._lifeCycleHooks[z]=[J];return this}exitOverride(z){if(z)this._exitCallback=z;else this._exitCallback=(J)=>{if(J.code!=="commander.executeSubCommandAsync")throw J};return this}_exit(z,J,Q){if(this._exitCallback)this._exitCallback(new H(z,J,Q));G.exit(z)}action(z){let J=(Q)=>{let X=this.registeredArguments.length,Y=Q.slice(0,X);if(this._storeOptionsAsProperties)Y[X]=this;else Y[X]=this.opts();return Y.push(this),z.apply(this,Y)};return this._actionHandler=J,this}createOption(z,J){return new S(z,J)}_callParseArg(z,J,Q,X){try{return z.parseArg(J,Q)}catch(Y){if(Y.code==="commander.invalidArgument"){let Z=`${X} ${Y.message}`;this.error(Z,{exitCode:Y.exitCode,code:Y.code})}throw Y}}_registerOption(z){let J=z.short&&this._findOption(z.short)||z.long&&this._findOption(z.long);if(J){let Q=z.long&&this._findOption(z.long)?z.long:z.short;throw Error(`Cannot add option '${z.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${Q}'
16
- - already used by option '${J.flags}'`)}this._initOptionGroup(z),this.options.push(z)}_registerCommand(z){let J=(X)=>{return[X.name()].concat(X.aliases())},Q=J(z).find((X)=>this._findCommand(X));if(Q){let X=J(this._findCommand(Q)).join("|"),Y=J(z).join("|");throw Error(`cannot add command '${Y}' as already have command '${X}'`)}this._initCommandGroup(z),this.commands.push(z)}addOption(z){this._registerOption(z);let J=z.name(),Q=z.attributeName();if(z.defaultValue!==void 0)this.setOptionValueWithSource(Q,z.defaultValue,"default");let X=(Y,Z,$)=>{if(Y==null&&z.presetArg!==void 0)Y=z.presetArg;let _=this.getOptionValue(Q);if(Y!==null&&z.parseArg)Y=this._callParseArg(z,Y,_,Z);else if(Y!==null&&z.variadic)Y=z._collectValue(Y,_);if(Y==null)if(z.negate)Y=!1;else if(z.isBoolean()||z.optional)Y=!0;else Y="";this.setOptionValueWithSource(Q,Y,$)};if(this.on("option:"+J,(Y)=>{let Z=`error: option '${z.flags}' argument '${Y}' is invalid.`;X(Y,Z,"cli")}),z.envVar)this.on("optionEnv:"+J,(Y)=>{let Z=`error: option '${z.flags}' value '${Y}' from env '${z.envVar}' is invalid.`;X(Y,Z,"env")});return this}_optionEx(z,J,Q,X,Y){if(typeof J==="object"&&J instanceof S)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let Z=this.createOption(J,Q);if(Z.makeOptionMandatory(!!z.mandatory),typeof X==="function")Z.default(Y).argParser(X);else if(X instanceof RegExp){let $=X;X=(_,T)=>{let q=$.exec(_);return q?q[0]:T},Z.default(Y).argParser(X)}else Z.default(X);return this.addOption(Z)}option(z,J,Q,X){return this._optionEx({},z,J,Q,X)}requiredOption(z,J,Q,X){return this._optionEx({mandatory:!0},z,J,Q,X)}combineFlagAndOptionalValue(z=!0){return this._combineFlagAndOptionalValue=!!z,this}allowUnknownOption(z=!0){return this._allowUnknownOption=!!z,this}allowExcessArguments(z=!0){return this._allowExcessArguments=!!z,this}enablePositionalOptions(z=!0){return this._enablePositionalOptions=!!z,this}passThroughOptions(z=!0){return this._passThroughOptions=!!z,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(z=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!z,this}getOptionValue(z){if(this._storeOptionsAsProperties)return this[z];return this._optionValues[z]}setOptionValue(z,J){return this.setOptionValueWithSource(z,J,void 0)}setOptionValueWithSource(z,J,Q){if(this._storeOptionsAsProperties)this[z]=J;else this._optionValues[z]=J;return this._optionValueSources[z]=Q,this}getOptionValueSource(z){return this._optionValueSources[z]}getOptionValueSourceWithGlobals(z){let J;return this._getCommandAndAncestors().forEach((Q)=>{if(Q.getOptionValueSource(z)!==void 0)J=Q.getOptionValueSource(z)}),J}_prepareUserArgs(z,J){if(z!==void 0&&!Array.isArray(z))throw Error("first parameter to parse must be array or undefined");if(J=J||{},z===void 0&&J.from===void 0){if(G.versions?.electron)J.from="electron";let X=G.execArgv??[];if(X.includes("-e")||X.includes("--eval")||X.includes("-p")||X.includes("--print"))J.from="eval"}if(z===void 0)z=G.argv;this.rawArgs=z.slice();let Q;switch(J.from){case void 0:case"node":this._scriptPath=z[1],Q=z.slice(2);break;case"electron":if(G.defaultApp)this._scriptPath=z[1],Q=z.slice(2);else Q=z.slice(1);break;case"user":Q=z.slice(0);break;case"eval":Q=z.slice(1);break;default:throw Error(`unexpected parse option { from: '${J.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",Q}parse(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return this._parseCommand([],Q),this}async parseAsync(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return await this._parseCommand([],Q),this}_prepareForParse(){if(this._savedState===null)this.options.filter((z)=>z.negate&&z.defaultValue===void 0&&this.getOptionValue(z.attributeName())===void 0).forEach((z)=>{let J=z.long.replace(/^--no-/,"--");if(!this._findOption(J))this.setOptionValueWithSource(z.attributeName(),!0,"default")}),this.saveStateBeforeParse();else this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw Error(`Can not call parse again when storeOptionsAsProperties is true.
17
- - either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(z,J,Q){if(I.existsSync(z))return;let X=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",Y=`'${z}' does not exist
18
- - if '${Q}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
19
- - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
20
- - ${X}`;throw Error(Y)}_executeSubCommand(z,J){J=J.slice();let Q=[".js",".ts",".tsx",".mjs",".cjs"];function X(q,R){let B=U.resolve(q,R);if(I.existsSync(B))return B;if(Q.includes(U.extname(R)))return;let L=Q.find((M)=>I.existsSync(`${B}${M}`));if(L)return`${B}${L}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Y=z._executableFile||`${this._name}-${z._name}`,Z=this._executableDir||"";if(this._scriptPath){let q;try{q=I.realpathSync(this._scriptPath)}catch{q=this._scriptPath}Z=U.resolve(U.dirname(q),Z)}if(Z){let q=X(Z,Y);if(!q&&!z._executableFile&&this._scriptPath){let R=U.basename(this._scriptPath,U.extname(this._scriptPath));if(R!==this._name)q=X(Z,`${R}-${z._name}`)}Y=q||Y}let $=Q.includes(U.extname(Y)),_;if(G.platform!=="win32")if($)J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.argv[0],J,{stdio:"inherit"});else _=N.spawn(Y,J,{stdio:"inherit"});else this._checkForMissingExecutable(Y,Z,z._name),J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.execPath,J,{stdio:"inherit"});if(!_.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((R)=>{G.on(R,()=>{if(_.killed===!1&&_.exitCode===null)_.kill(R)})});let T=this._exitCallback;_.on("close",(q)=>{if(q=q??1,!T)G.exit(q);else T(new H(q,"commander.executeSubCommandAsync","(close)"))}),_.on("error",(q)=>{if(q.code==="ENOENT")this._checkForMissingExecutable(Y,Z,z._name);else if(q.code==="EACCES")throw Error(`'${Y}' not executable`);if(!T)G.exit(1);else{let R=new H(1,"commander.executeSubCommandAsync","(error)");R.nestedError=q,T(R)}}),this.runningCommand=_}_dispatchSubcommand(z,J,Q){let X=this._findCommand(z);if(!X)this.help({error:!0});X._prepareForParse();let Y;return Y=this._chainOrCallSubCommandHook(Y,X,"preSubcommand"),Y=this._chainOrCall(Y,()=>{if(X._executableHandler)this._executeSubCommand(X,J.concat(Q));else return X._parseCommand(J,Q)}),Y}_dispatchHelpCommand(z){if(!z)this.help();let J=this._findCommand(z);if(J&&!J._executableHandler)J.help();return this._dispatchSubcommand(z,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((z,J)=>{if(z.required&&this.args[J]==null)this.missingArgument(z.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let z=(Q,X,Y)=>{let Z=X;if(X!==null&&Q.parseArg){let $=`error: command-argument value '${X}' is invalid for argument '${Q.name()}'.`;Z=this._callParseArg(Q,X,Y,$)}return Z};this._checkNumberOfArguments();let J=[];this.registeredArguments.forEach((Q,X)=>{let Y=Q.defaultValue;if(Q.variadic){if(X<this.args.length){if(Y=this.args.slice(X),Q.parseArg)Y=Y.reduce((Z,$)=>{return z(Q,$,Z)},Q.defaultValue)}else if(Y===void 0)Y=[]}else if(X<this.args.length){if(Y=this.args[X],Q.parseArg)Y=z(Q,Y,Q.defaultValue)}J[X]=Y}),this.processedArgs=J}_chainOrCall(z,J){if(z?.then&&typeof z.then==="function")return z.then(()=>J());return J()}_chainOrCallHooks(z,J){let Q=z,X=[];if(this._getCommandAndAncestors().reverse().filter((Y)=>Y._lifeCycleHooks[J]!==void 0).forEach((Y)=>{Y._lifeCycleHooks[J].forEach((Z)=>{X.push({hookedCommand:Y,callback:Z})})}),J==="postAction")X.reverse();return X.forEach((Y)=>{Q=this._chainOrCall(Q,()=>{return Y.callback(Y.hookedCommand,this)})}),Q}_chainOrCallSubCommandHook(z,J,Q){let X=z;if(this._lifeCycleHooks[Q]!==void 0)this._lifeCycleHooks[Q].forEach((Y)=>{X=this._chainOrCall(X,()=>{return Y(this,J)})});return X}_parseCommand(z,J){let Q=this.parseOptions(J);if(this._parseOptionsEnv(),this._parseOptionsImplied(),z=z.concat(Q.operands),J=Q.unknown,this.args=z.concat(J),z&&this._findCommand(z[0]))return this._dispatchSubcommand(z[0],z.slice(1),J);if(this._getHelpCommand()&&z[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(z[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(J),this._dispatchSubcommand(this._defaultCommandName,z,J);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(Q.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let X=()=>{if(Q.unknown.length>0)this.unknownOption(Q.unknown[0])},Y=`command:${this.name()}`;if(this._actionHandler){X(),this._processArguments();let Z;if(Z=this._chainOrCallHooks(Z,"preAction"),Z=this._chainOrCall(Z,()=>this._actionHandler(this.processedArgs)),this.parent)Z=this._chainOrCall(Z,()=>{this.parent.emit(Y,z,J)});return Z=this._chainOrCallHooks(Z,"postAction"),Z}if(this.parent?.listenerCount(Y))X(),this._processArguments(),this.parent.emit(Y,z,J);else if(z.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",z,J);if(this.listenerCount("command:*"))this.emit("command:*",z,J);else if(this.commands.length)this.unknownCommand();else X(),this._processArguments()}else if(this.commands.length)X(),this.help({error:!0});else X(),this._processArguments()}_findCommand(z){if(!z)return;return this.commands.find((J)=>J._name===z||J._aliases.includes(z))}_findOption(z){return this.options.find((J)=>J.is(z))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((z)=>{z.options.forEach((J)=>{if(J.mandatory&&z.getOptionValue(J.attributeName())===void 0)z.missingMandatoryOptionValue(J)})})}_checkForConflictingLocalOptions(){let z=this.options.filter((Q)=>{let X=Q.attributeName();if(this.getOptionValue(X)===void 0)return!1;return this.getOptionValueSource(X)!=="default"});z.filter((Q)=>Q.conflictsWith.length>0).forEach((Q)=>{let X=z.find((Y)=>Q.conflictsWith.includes(Y.attributeName()));if(X)this._conflictingOption(Q,X)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((z)=>{z._checkForConflictingLocalOptions()})}parseOptions(z){let J=[],Q=[],X=J;function Y(q){return q.length>1&&q[0]==="-"}let Z=(q)=>{if(!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(q))return!1;return!this._getCommandAndAncestors().some((R)=>R.options.map((B)=>B.short).some((B)=>/^-\d$/.test(B)))},$=null,_=null,T=0;while(T<z.length||_){let q=_??z[T++];if(_=null,q==="--"){if(X===Q)X.push(q);X.push(...z.slice(T));break}if($&&(!Y(q)||Z(q))){this.emit(`option:${$.name()}`,q);continue}if($=null,Y(q)){let R=this._findOption(q);if(R){if(R.required){let B=z[T++];if(B===void 0)this.optionMissingArgument(R);this.emit(`option:${R.name()}`,B)}else if(R.optional){let B=null;if(T<z.length&&(!Y(z[T])||Z(z[T])))B=z[T++];this.emit(`option:${R.name()}`,B)}else this.emit(`option:${R.name()}`);$=R.variadic?R:null;continue}}if(q.length>2&&q[0]==="-"&&q[1]!=="-"){let R=this._findOption(`-${q[1]}`);if(R){if(R.required||R.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${R.name()}`,q.slice(2));else this.emit(`option:${R.name()}`),_=`-${q.slice(2)}`;continue}}if(/^--[^=]+=/.test(q)){let R=q.indexOf("="),B=this._findOption(q.slice(0,R));if(B&&(B.required||B.optional)){this.emit(`option:${B.name()}`,q.slice(R+1));continue}}if(X===J&&Y(q)&&!(this.commands.length===0&&Z(q)))X=Q;if((this._enablePositionalOptions||this._passThroughOptions)&&J.length===0&&Q.length===0){if(this._findCommand(q)){J.push(q),Q.push(...z.slice(T));break}else if(this._getHelpCommand()&&q===this._getHelpCommand().name()){J.push(q,...z.slice(T));break}else if(this._defaultCommandName){Q.push(q,...z.slice(T));break}}if(this._passThroughOptions){X.push(q,...z.slice(T));break}X.push(q)}return{operands:J,unknown:Q}}opts(){if(this._storeOptionsAsProperties){let z={},J=this.options.length;for(let Q=0;Q<J;Q++){let X=this.options[Q].attributeName();z[X]=X===this._versionOptionName?this._version:this[X]}return z}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((z,J)=>Object.assign(z,J.opts()),{})}error(z,J){if(this._outputConfiguration.outputError(`${z}
21
- `,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
22
- `);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
23
- `),this.outputHelp({error:!0});let Q=J||{},X=Q.exitCode||1,Y=Q.code||"commander.error";this._exit(X,Y,z)}_parseOptionsEnv(){this.options.forEach((z)=>{if(z.envVar&&z.envVar in G.env){let J=z.attributeName();if(this.getOptionValue(J)===void 0||["default","config","env"].includes(this.getOptionValueSource(J)))if(z.required||z.optional)this.emit(`optionEnv:${z.name()}`,G.env[z.envVar]);else this.emit(`optionEnv:${z.name()}`)}})}_parseOptionsImplied(){let z=new V(this.options),J=(Q)=>{return this.getOptionValue(Q)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(Q))};this.options.filter((Q)=>Q.implied!==void 0&&J(Q.attributeName())&&z.valueFromOption(this.getOptionValue(Q.attributeName()),Q)).forEach((Q)=>{Object.keys(Q.implied).filter((X)=>!J(X)).forEach((X)=>{this.setOptionValueWithSource(X,Q.implied[X],"implied")})})}missingArgument(z){let J=`error: missing required argument '${z}'`;this.error(J,{code:"commander.missingArgument"})}optionMissingArgument(z){let J=`error: option '${z.flags}' argument missing`;this.error(J,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(z){let J=`error: required option '${z.flags}' not specified`;this.error(J,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(z,J){let Q=(Z)=>{let $=Z.attributeName(),_=this.getOptionValue($),T=this.options.find((R)=>R.negate&&$===R.attributeName()),q=this.options.find((R)=>!R.negate&&$===R.attributeName());if(T&&(T.presetArg===void 0&&_===!1||T.presetArg!==void 0&&_===T.presetArg))return T;return q||Z},X=(Z)=>{let $=Q(Z),_=$.attributeName();if(this.getOptionValueSource(_)==="env")return`environment variable '${$.envVar}'`;return`option '${$.flags}'`},Y=`error: ${X(z)} cannot be used with ${X(J)}`;this.error(Y,{code:"commander.conflictingOption"})}unknownOption(z){if(this._allowUnknownOption)return;let J="";if(z.startsWith("--")&&this._showSuggestionAfterError){let X=[],Y=this;do{let Z=Y.createHelp().visibleOptions(Y).filter(($)=>$.long).map(($)=>$.long);X=X.concat(Z),Y=Y.parent}while(Y&&!Y._enablePositionalOptions);J=D(z,X)}let Q=`error: unknown option '${z}'${J}`;this.error(Q,{code:"commander.unknownOption"})}_excessArguments(z){if(this._allowExcessArguments)return;let J=this.registeredArguments.length,Q=J===1?"":"s",X=z.length,Y=this.parent?` for '${this.name()}'`:"",Z=z.join(", "),$=`error: too many arguments${Y}. Expected ${J} argument${Q} but got ${X}: ${Z}.`;this.error($,{code:"commander.excessArguments"})}unknownCommand(){let z=this.args[0],J="";if(this._showSuggestionAfterError){let X=[];this.createHelp().visibleCommands(this).forEach((Y)=>{if(X.push(Y.name()),Y.alias())X.push(Y.alias())}),J=D(z,X)}let Q=`error: unknown command '${z}'${J}`;this.error(Q,{code:"commander.unknownCommand"})}version(z,J,Q){if(z===void 0)return this._version;this._version=z,J=J||"-V, --version",Q=Q||"output the version number";let X=this.createOption(J,Q);return this._versionOptionName=X.attributeName(),this._registerOption(X),this.on("option:"+X.name(),()=>{this._outputConfiguration.writeOut(`${z}
24
- `),this._exit(0,"commander.version",z)}),this}description(z,J){if(z===void 0&&J===void 0)return this._description;if(this._description=z,J)this._argsDescription=J;return this}summary(z){if(z===void 0)return this._summary;return this._summary=z,this}alias(z){if(z===void 0)return this._aliases[0];let J=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)J=this.commands[this.commands.length-1];if(z===J._name)throw Error("Command alias can't be the same as its name");let Q=this.parent?._findCommand(z);if(Q){let X=[Q.name()].concat(Q.aliases()).join("|");throw Error(`cannot add alias '${z}' to command '${this.name()}' as already have command '${X}'`)}return J._aliases.push(z),this}aliases(z){if(z===void 0)return this._aliases;return z.forEach((J)=>this.alias(J)),this}usage(z){if(z===void 0){if(this._usage)return this._usage;let J=this.registeredArguments.map((Q)=>{return P(Q)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?J:[]).join(" ")}return this._usage=z,this}name(z){if(z===void 0)return this._name;return this._name=z,this}helpGroup(z){if(z===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=z,this}commandsGroup(z){if(z===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=z,this}optionsGroup(z){if(z===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=z,this}_initOptionGroup(z){if(this._defaultOptionGroup&&!z.helpGroupHeading)z.helpGroup(this._defaultOptionGroup)}_initCommandGroup(z){if(this._defaultCommandGroup&&!z.helpGroup())z.helpGroup(this._defaultCommandGroup)}nameFromFilename(z){return this._name=U.basename(z,U.extname(z)),this}executableDir(z){if(z===void 0)return this._executableDir;return this._executableDir=z,this}helpInformation(z){let J=this.createHelp(),Q=this._getOutputContext(z);J.prepareContext({error:Q.error,helpWidth:Q.helpWidth,outputHasColors:Q.hasColors});let X=J.formatHelp(this,J);if(Q.hasColors)return X;return this._outputConfiguration.stripColor(X)}_getOutputContext(z){z=z||{};let J=!!z.error,Q,X,Y;if(J)Q=($)=>this._outputConfiguration.writeErr($),X=this._outputConfiguration.getErrHasColors(),Y=this._outputConfiguration.getErrHelpWidth();else Q=($)=>this._outputConfiguration.writeOut($),X=this._outputConfiguration.getOutHasColors(),Y=this._outputConfiguration.getOutHelpWidth();return{error:J,write:($)=>{if(!X)$=this._outputConfiguration.stripColor($);return Q($)},hasColors:X,helpWidth:Y}}outputHelp(z){let J;if(typeof z==="function")J=z,z=void 0;let Q=this._getOutputContext(z),X={error:Q.error,write:Q.write,command:this};this._getCommandAndAncestors().reverse().forEach((Z)=>Z.emit("beforeAllHelp",X)),this.emit("beforeHelp",X);let Y=this.helpInformation({error:Q.error});if(J){if(Y=J(Y),typeof Y!=="string"&&!Buffer.isBuffer(Y))throw Error("outputHelp callback must return a string or a Buffer")}if(Q.write(Y),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",X),this._getCommandAndAncestors().forEach((Z)=>Z.emit("afterAllHelp",X))}helpOption(z,J){if(typeof z==="boolean"){if(z){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(z??"-h, --help",J??"display help for command"),z||J)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(z){return this._helpOption=z,this._initOptionGroup(z),this}help(z){this.outputHelp(z);let J=Number(G.exitCode??0);if(J===0&&z&&typeof z!=="function"&&z.error)J=1;this._exit(J,"commander.help","(outputHelp)")}addHelpText(z,J){let Q=["beforeAll","before","after","afterAll"];if(!Q.includes(z))throw Error(`Unexpected value for position to addHelpText.
25
- Expecting one of '${Q.join("', '")}'`);let X=`${z}Help`;return this.on(X,(Y)=>{let Z;if(typeof J==="function")Z=J({error:Y.error,command:Y.command});else Z=J;if(Z)Y.write(`${Z}
26
- `)}),this}_outputHelpIfRequested(z){let J=this._getHelpOption();if(J&&z.find((X)=>J.is(X)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function y(z){return z.map((J)=>{if(!J.startsWith("--inspect"))return J;let Q,X="127.0.0.1",Y="9229",Z;if((Z=J.match(/^(--inspect(-brk)?)$/))!==null)Q=Z[1];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Q=Z[1],/^\d+$/.test(Z[3]))Y=Z[3];else X=Z[3];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Q=Z[1],X=Z[3],Y=Z[4];if(Q&&Y!=="0")return`${Q}=${X}:${parseInt(Y)+1}`;return J})}function A(){if(G.env.NO_COLOR||G.env.FORCE_COLOR==="0"||G.env.FORCE_COLOR==="false")return!1;if(G.env.FORCE_COLOR||G.env.CLICOLOR_FORCE!==void 0)return!0;return}var qz=new E;export{K as X,S as Y,E as Z};
@@ -1,45 +0,0 @@
1
- import{Ce as BY,De as Bz}from"./cli-1.1.15-180mwt3m.mjs";import{Cg as qY,Dg as qz}from"./cli-1.1.15-78j1ffsw.mjs";import{gh as $Y,hh as yz,ih as cY,jh as mz}from"./cli-1.1.15-5cr53mcj.mjs";import{IP as rY,JP as Lz,OS as nY,Pn as UJ,Qn as UY,Rn as jJ,Sn as XY,Tn as NJ,Un as VY,WH as hY,XH as Tz,ZF as uY,ZO as gY,_F as wz,hG as B0,iG as MY,ks as Zz,ls as KK,pT as V0,qP as iY,sK as GY,su as eY,tP as XJ,tu as JK,uP as GZ,vP as X0,xK as Gz}from"./cli-1.1.15-b16e0ajk.mjs";import{VX as _Y,WX as jz,hY as $J,jY as KY,mY as SY,nY as Az,tY as pY,uY as Fz}from"./cli-1.1.15-tpbkevjz.mjs";import{AZ as Rz,D0 as fY,F0 as Ez,I0 as b,K0 as N,c1 as xY,jZ as f0,m0 as bY,n1 as U0,sZ as LY,zZ as IY}from"./cli-1.1.15-kr36eh1x.mjs";import{L3 as U,M3 as m,N3 as bJ}from"./cli-1.1.15-e0wdjxcm.mjs";import{O3 as b0}from"./cli-1.1.15-fk3ac4gc.mjs";import{N6 as ez,j6 as tY}from"./cli-1.1.15-k1836ne2.mjs";import{S8 as $0,T8 as Cz}from"./cli-1.1.15-gngz1xbk.mjs";import{$$ as tz,Z$ as r0,a$ as yY,mga as fJ,pga as l0,s$ as Mz,xga as mY}from"./cli-1.1.15-c6h2gge7.mjs";import{Cga as S0,Dga as Hz,Fga as G0,Qga as zY,Rga as c0,Uga as I0}from"./cli-1.1.15-p1trn7j2.mjs";import{rja as $,uja as Nz}from"./cli-1.1.15-8w8262sk.mjs";import{_ja as oY,cka as sz,uka as CJ,xka as oz}from"./cli-1.1.15-vvc5kd0e.mjs";import{Sqa as TY,Tma as wY,Zma as H0}from"./cli-1.1.15-xn5kcp4k.mjs";import{Asa as UZ,Esa as XZ}from"./cli-1.1.15-bwy6nhdk.mjs";function QY(Z){let J=HY.c(33),{log:K,onExit:B,onSelect:G}=Z,[Q,v]=L0.default.useState(null),F,T;if(J[0]!==K)F=()=>{if(v(null),GZ(K))X0(K).then(v)},T=[K],J[0]=K,J[1]=F,J[2]=T;else F=J[1],T=J[2];L0.default.useEffect(F,T);let i=GZ(K)&&Q===null,X=Q??K,W;if(J[3]!==X)W=XJ(X)||"",J[3]=X,J[4]=W;else W=J[4];let O=W,S;if(J[5]===Symbol.for("react.memo_cache_sentinel"))S=GY(),J[5]=S;else S=J[5];let C=S,JJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))JJ={context:"Confirmation"},J[6]=JJ;else JJ=J[6];$J("confirm:no",B,JJ);let L;if(J[7]!==Q||J[8]!==K||J[9]!==G)L=()=>{G(Q??K)},J[7]=Q,J[8]=K,J[9]=G,J[10]=L;else L=J[10];let f=L,E;if(J[11]===Symbol.for("react.memo_cache_sentinel"))E={context:"Confirmation"},J[11]=E;else E=J[11];if($J("confirm:yes",f,E),i){let c;if(J[12]===Symbol.for("react.memo_cache_sentinel"))c=U(qY,{message:"Loading session…"}),J[12]=c;else c=J[12];let BJ;if(J[13]===Symbol.for("react.memo_cache_sentinel"))BJ=m(b,{flexDirection:"column",padding:1,children:[c,U(N,{dimColor:!0,children:U(NJ,{children:U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})})})]}),J[13]=BJ;else BJ=J[13];return BJ}let y;if(J[14]===Symbol.for("react.memo_cache_sentinel"))y=[],J[14]=y;else y=J[14];let w,r;if(J[15]===Symbol.for("react.memo_cache_sentinel"))r=[],w=new Set,J[15]=w,J[16]=r;else w=J[15],r=J[16];let p;if(J[17]===Symbol.for("react.memo_cache_sentinel"))p=[],J[17]=p;else p=J[17];let l;if(J[18]!==O||J[19]!==X.messages)l=U(BY,{messages:X.messages,tools:C,commands:y,verbose:!0,toolJSX:null,toolUseConfirmQueue:r,inProgressToolUseIDs:w,isMessageSelectorVisible:!1,conversationId:O,screen:"transcript",streamingToolUses:p,showAllInTranscript:!0,isLoading:!1}),J[18]=O,J[19]=X.messages,J[20]=l;else l=J[20];let s;if(J[21]!==X.modified)s=zY(X.modified),J[21]=X.modified,J[22]=s;else s=J[22];let o=X.gitBranch?` · ${X.gitBranch}`:"",_;if(J[23]!==X.messageCount||J[24]!==s||J[25]!==o)_=m(N,{children:[s," ·"," ",X.messageCount," messages",o]}),J[23]=X.messageCount,J[24]=s,J[25]=o,J[26]=_;else _=J[26];let VJ;if(J[27]===Symbol.for("react.memo_cache_sentinel"))VJ=U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"resume"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}),J[27]=VJ;else VJ=J[27];let M;if(J[28]!==_)M=m(b,{flexShrink:0,flexDirection:"column",borderTopDimColor:!0,borderBottom:!1,borderLeft:!1,borderRight:!1,borderStyle:"single",paddingLeft:2,children:[_,VJ]}),J[28]=_,J[29]=M;else M=J[29];let AJ;if(J[30]!==l||J[31]!==M)AJ=m(b,{flexDirection:"column",children:[l,M]}),J[30]=l,J[31]=M,J[32]=AJ;else AJ=J[32];return AJ}var HY,L0;var OY=XZ(()=>{U0();KY();Gz();I0();V0();XY();VY();UY();qz();Bz();bJ();HY=UZ(f0(),1),L0=UZ(b0(),1)});function Dz(Z,J){if(Z===x0)return x0.length+qZ;let K=S0(Z),B=J?Math.min(K,J-qZ-_0):K;return Math.max(0,B)+qZ+_0}function kz(Z,J){let K=J-qZ-_0;if(S0(Z)<=K)return Z;if(K<=1)return Z.charAt(0);return G0(Z,K)}function NY({tabs:Z,selectedIndex:J,availableWidth:K,showAllProjects:B=!1}){let G=B?"Resume (All Projects)":"Resume",Q=G.length+1,v=Math.max(Oz,Pz),F=K-Q-v-2,T=Math.max(0,Math.min(J,Z.length-1)),i=Math.max(20,Math.floor(F/2)),X=Z.map((E)=>Dz(E,i)),W=0,O=Z.length;if(X.reduce((E,y,w)=>E+y+(w<X.length-1?1:0),0)>F){let E=F-Qz,y=X[T]??0;W=T,O=T+1;while(W>0||O<Z.length){let w=W>0,r=O<Z.length;if(w){let p=(X[W-1]??0)+1;if(y+p<=E){W--,y+=p;continue}}if(r){let p=(X[O]??0)+1;if(y+p<=E){O++,y+=p;continue}}break}}let C=W,JJ=Z.length-O,L=Z.slice(W,O),f=L.map((E,y)=>W+y);return m(b,{flexDirection:"row",gap:1,children:[U(N,{color:"suggestion",children:G}),C>0&&m(N,{dimColor:!0,children:[PY,C]}),L.map((E,y)=>{let r=f[y]===T,p=E===x0?E:`#${kz(E,i-qZ)}`;return m(N,{backgroundColor:r?"suggestion":void 0,color:r?"inverseText":void 0,bold:r,children:[" ",p," "]},E)}),JJ>0?m(N,{dimColor:!0,children:[DY,JJ,kY]}):U(N,{dimColor:!0,children:WY})]})}var x0="All",qZ=2,_0=1,PY="← ",DY="→",kY=" (tab to cycle)",WY="(tab to cycle)",vY=2,Qz,Oz,Pz;var CY=XZ(()=>{Hz();U0();I0();bJ();Qz=PY.length+vY+1,Oz=DY.length+vY+kY.length,Pz=WY.length});function EY(Z){let J=RY.c(48),{nodes:K,onSelect:B,onCancel:G,onFocus:Q,focusNodeId:v,visibleOptionCount:F,layout:T,isDisabled:i,hideIndexes:X,isNodeExpanded:W,onExpand:O,onCollapse:S,getParentPrefix:C,getChildPrefix:JJ,onUpFromFirstItem:L}=Z,f=T===void 0?"expanded":T,E=i===void 0?!1:i,y=X===void 0?!1:X,w;if(J[0]===Symbol.for("react.memo_cache_sentinel"))w=new Set,J[0]=w;else w=J[0];let[r,p]=q0.default.useState(w),l=q0.default.useRef(!1),s=q0.default.useRef(null),o;if(J[1]!==r||J[2]!==W)o=(H)=>{if(W)return W(H);return r.has(H)},J[1]=r,J[2]=W,J[3]=o;else o=J[3];let _=o,VJ;if(J[4]!==_||J[5]!==K){let H=function(k,qJ,TJ){let xJ=!!k.children&&k.children.length>0,_J=_(k.id);if(VJ.push({node:k,depth:qJ,isExpanded:_J,hasChildren:xJ,parentId:TJ}),xJ&&_J&&k.children)for(let V of k.children)H(V,qJ+1,k.id)};VJ=[];for(let k of K)H(k,0);J[4]=_,J[5]=K,J[6]=VJ}else VJ=J[6];let M=VJ,AJ=vz,c=Wz,BJ=C??AJ,d=JJ??c,cJ;if(J[7]!==d||J[8]!==BJ)cJ=(H)=>{let k="";if(H.hasChildren)k=BJ(H.isExpanded);else if(H.depth>0)k=d(H.depth);return k+H.node.label},J[7]=d,J[8]=BJ,J[9]=cJ;else cJ=J[9];let n=cJ,gJ;if(J[10]!==n||J[11]!==M)gJ=M.map((H)=>({label:n(H),description:H.node.description,dimDescription:H.node.dimDescription??!0,value:H.node.id})),J[10]=n,J[11]=M,J[12]=gJ;else gJ=J[12];let FJ=gJ,MJ;if(J[13]!==M)MJ=new Map,M.forEach((H)=>MJ.set(H.node.id,H.node)),J[13]=M,J[14]=MJ;else MJ=J[14];let g=MJ,HJ;if(J[15]!==M)HJ=(H)=>M.find((k)=>k.node.id===H),J[15]=M,J[16]=HJ;else HJ=J[16];let QJ=HJ,iJ;if(J[17]!==QJ||J[18]!==S||J[19]!==O)iJ=(H,k)=>{let qJ=QJ(H);if(!qJ||!qJ.hasChildren)return;if(k)if(O)O(H);else p((TJ)=>new Set(TJ).add(H));else if(S)S(H);else p((TJ)=>{let xJ=new Set(TJ);return xJ.delete(H),xJ})},J[17]=QJ,J[18]=S,J[19]=O,J[20]=iJ;else iJ=J[20];let OJ=iJ,GJ;if(J[21]!==QJ||J[22]!==v||J[23]!==E||J[24]!==g||J[25]!==Q||J[26]!==OJ)GJ=(H)=>{if(!v||E)return;let k=QJ(v);if(!k)return;if(H.key==="right"&&k.hasChildren)H.preventDefault(),OJ(v,!0);else if(H.key==="left"){if(k.hasChildren&&k.isExpanded)H.preventDefault(),OJ(v,!1);else if(k.parentId!==void 0){if(H.preventDefault(),l.current=!0,OJ(k.parentId,!1),Q){let qJ=g.get(k.parentId);if(qJ)Q(qJ)}}}},J[21]=QJ,J[22]=v,J[23]=E,J[24]=g,J[25]=Q,J[26]=OJ,J[27]=GJ;else GJ=J[27];let rJ=GJ,PJ;if(J[28]!==g||J[29]!==B)PJ=(H)=>{let k=g.get(H);if(!k)return;B(k)},J[28]=g,J[29]=B,J[30]=PJ;else PJ=J[30];let wJ=PJ,ZJ;if(J[31]!==g||J[32]!==Q)ZJ=(H)=>{if(l.current){l.current=!1;return}if(s.current===H)return;if(s.current=H,Q){let k=g.get(H);if(k)Q(k)}},J[31]=g,J[32]=Q,J[33]=ZJ;else ZJ=J[33];let lJ=ZJ,P;if(J[34]!==v||J[35]!==wJ||J[36]!==lJ||J[37]!==y||J[38]!==E||J[39]!==f||J[40]!==G||J[41]!==L||J[42]!==FJ||J[43]!==F)P=U(B0,{options:FJ,onChange:wJ,onFocus:lJ,onCancel:G,defaultFocusValue:v,visibleOptionCount:F,layout:f,isDisabled:E,hideIndexes:y,onUpFromFirstItem:L}),J[34]=v,J[35]=wJ,J[36]=lJ,J[37]=y,J[38]=E,J[39]=f,J[40]=G,J[41]=L,J[42]=FJ,J[43]=F,J[44]=P;else P=J[44];let h;if(J[45]!==rJ||J[46]!==P)h=U(b,{tabIndex:0,autoFocus:!0,onKeyDown:rJ,children:P}),J[45]=rJ,J[46]=P,J[47]=h;else h=J[47];return h}function Wz(Z){return" ▸ "}function vz(Z){return Z?"▼ ":"▶ "}var RY,q0;var jY=XZ(()=>{U0();MY();bJ();RY=UZ(f0(),1),q0=UZ(b0(),1)});function dY(Z,J){let K=Z.replace(/\s+/g," ").trim();return G0(K,J)}function p0({before:Z,match:J,after:K},B){return $0.dim(Z)+B(J)+$0.dim(K)}function Sz(Z,J,K){let B=Z.toLowerCase().indexOf(J.toLowerCase());if(B===-1)return null;let G=B+J.length,Q=Math.max(0,B-K),v=Math.min(Z.length,G+K),F=Z.slice(Q,B),T=Z.slice(B,G),i=Z.slice(G,v);return{before:(Q>0?"…":"")+F.replace(/\s+/g," ").trimStart(),match:T.trim(),after:i.replace(/\s+/g," ").trimEnd()+(v<Z.length?"…":"")}}function u0(Z,J,K){let{isGroupHeader:B=!1,isChild:G=!1,forkCount:Q=0}=K||{},v=B&&Q>0?Iz:G?bz:0,F=B&&Q>0?` (+${Q} other ${Q===1?"session":"sessions"})`:"",T=Z.isSidechain?" (sidechain)":"",i=J-v-T.length-F.length;return`${dY(fJ(Z),i)}${T}${F}`}function h0(Z,J){let{isChild:K=!1,showProjectPath:B=!1}=J||{},G=K?" ":"",Q=c0(Z),v=B&&Z.projectPath?` · ${Z.projectPath}`:"";return G+Q+v}function YU(Z){let J=lY.c(247),{logs:K,maxHeight:B,forceWidth:G,onCancel:Q,onSelect:v,onLogsChanged:F,onLoadMore:T,initialSearchQuery:i,showAllProjects:X,onToggleAllProjects:W,onAgenticSearch:O}=Z,S=B===void 0?1/0:B,C=X===void 0?!1:X,JJ=_Y(),L=G===void 0?JJ.columns:G,f=SY(Q),E=bY(),y;if(J[0]===Symbol.for("react.memo_cache_sentinel"))y=iY(),J[0]=y;else y=J[0];let w=y,r=!1,[p]=LY(),l;if(J[1]!==p)l=fY(p),J[1]=p,J[2]=l;else l=J[2];let s=l,o;if(J[3]!==s.warning)o=(Y)=>IY(Y,s.warning),J[3]=s.warning,J[4]=o;else o=J[4];let _=o,VJ=!1,[M,AJ]=R.default.useState(null),[c,BJ]=R.default.useState(!1),[d,cJ]=R.default.useState(!1),[n,gJ]=R.default.useState(!1),FJ;if(J[5]===Symbol.for("react.memo_cache_sentinel"))FJ=H0(),J[5]=FJ;else FJ=J[5];let MJ=FJ,[g,HJ]=R.default.useState(""),[QJ,iJ]=R.default.useState(0),OJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))OJ=new Set,J[6]=OJ;else OJ=J[6];let[GJ,rJ]=R.default.useState(OJ),[PJ,wJ]=R.default.useState(null),[ZJ,lJ]=R.default.useState(1),[P,h]=R.default.useState("list"),[H,k]=R.default.useState(null),qJ=R.default.useRef(null),[TJ,xJ]=R.default.useState(0),_J;if(J[7]===Symbol.for("react.memo_cache_sentinel"))_J={status:"idle"},J[7]=_J;else _J=J[7];let[V,VZ]=R.default.useState(_J),[t,BZ]=R.default.useState(!1),HZ=R.default.useRef(null),Q0=P==="search"&&V.status!=="searching",QZ,OZ,PZ;if(J[8]===Symbol.for("react.memo_cache_sentinel"))QZ=()=>{h("list"),$("",{enabled:!1})},OZ=()=>{h("list"),$("",{enabled:!1})},PZ=["n"],J[8]=QZ,J[9]=OZ,J[10]=PZ;else QZ=J[8],OZ=J[9],PZ=J[10];let O0=i||"",DZ;if(J[11]!==O0||J[12]!==Q0)DZ={isActive:Q0,onExit:QZ,onExitUp:OZ,passthroughCtrlKeys:PZ,initialQuery:O0},J[11]=O0,J[12]=Q0,J[13]=DZ;else DZ=J[13];let{query:j,setQuery:dJ,cursorOffset:P0}=cY(DZ),yJ=R.default.useDeferredValue(j),[YJ,d0]=R.default.useState(""),kZ,WZ;if(J[14]!==yJ)kZ=()=>{if(!yJ){d0("");return}let Y=setTimeout(d0,300,yJ);return()=>clearTimeout(Y)},WZ=[yJ],J[14]=yJ,J[15]=kZ,J[16]=WZ;else kZ=J[15],WZ=J[16];R.default.useEffect(kZ,WZ);let[mJ,n0]=R.default.useState(null),[D0,a0]=R.default.useState(!1),vZ,NZ;if(J[17]===Symbol.for("react.memo_cache_sentinel"))vZ=()=>{yY().then((Y)=>AJ(Y)),rY(MJ).then((Y)=>{gJ(Y.length>1)})},NZ=[MJ],J[17]=vZ,J[18]=NZ;else vZ=J[17],NZ=J[18];R.default.useEffect(vZ,NZ);let XK=new Map(K.map(iz)),Yz;Yz=null;let CZ;if(J[19]!==K)CZ=nz(K),J[19]=K,J[20]=CZ;else CZ=J[20];let SJ=CZ,DJ=SJ.length>0,MZ;if(J[21]!==DJ||J[22]!==SJ)MZ=DJ?["All",...SJ]:[],J[21]=DJ,J[22]=SJ,J[23]=MZ;else MZ=J[23];let zJ=MZ,RZ=zJ.length>0&&TJ<zJ.length?TJ:0,s0=zJ[RZ],nJ=s0==="All"?void 0:s0,zz=DJ?1:0,a=K;if(w){let Y;if(J[24]!==K)Y=K.filter(gz),J[24]=K,J[25]=Y;else Y=J[25];a=Y}if(nJ!==void 0){let Y;if(J[26]!==a||J[27]!==nJ){let z;if(J[29]!==nJ)z=(q)=>q.tag===nJ,J[29]=nJ,J[30]=z;else z=J[30];Y=a.filter(z),J[26]=a,J[27]=nJ,J[28]=Y}else Y=J[28];a=Y}if(c&&M){let Y;if(J[31]!==M||J[32]!==a){let z;if(J[34]!==M)z=(q)=>q.gitBranch===M,J[34]=M,J[35]=z;else z=J[35];Y=a.filter(z),J[31]=M,J[32]=a,J[33]=Y}else Y=J[33];a=Y}if(n&&!d){let Y;if(J[36]!==a){let z;if(J[38]===Symbol.for("react.memo_cache_sentinel"))z=(q)=>q.projectPath===MJ,J[38]=z;else z=J[38];Y=a.filter(z),J[36]=a,J[37]=Y}else Y=J[37];a=Y}let EZ=a,k0;J:{if(!j){k0=EZ;break J}let Y;if(J[39]!==EZ||J[40]!==j){let z=j.toLowerCase();Y=EZ.filter((q)=>{let A=fJ(q).toLowerCase(),x=(q.gitBranch||"").toLowerCase(),u=(q.tag||"").toLowerCase(),hJ=q.prNumber?`pr #${q.prNumber} ${q.prRepository||""}`.toLowerCase():"";return A.includes(z)||x.includes(z)||u.includes(z)||hJ.includes(z)}),J[39]=EZ,J[40]=j,J[41]=Y}else Y=J[41];k0=Y}let W0=k0,jZ,AZ;if(J[42]!==YJ||J[43]!==yJ)jZ=()=>{},AZ=[yJ,YJ,!1],J[42]=YJ,J[43]=yJ,J[44]=jZ,J[45]=AZ;else jZ=J[44],AZ=J[45];R.default.useEffect(jZ,AZ);let FZ,wZ;if(J[46]!==YJ)FZ=()=>{n0(null),a0(!1);return},wZ=[YJ,null,!1],J[46]=YJ,J[47]=FZ,J[48]=wZ;else FZ=J[47],wZ=J[48];R.default.useEffect(FZ,wZ);let e,pJ;if(J[49]!==YJ||J[50]!==mJ||J[51]!==W0){if(pJ=new Map,e=W0,mJ&&YJ&&mJ.query===YJ){for(let A of mJ.results)if(A.searchableText){let x=Sz(A.searchableText,YJ,_z);if(x)pJ.set(A.log,x)}let Y;if(J[54]!==e)Y=new Set(e.map(uz)),J[54]=e,J[55]=Y;else Y=J[55];let z=Y,q;if(J[56]!==mJ.results||J[57]!==e||J[58]!==z){let A;if(J[60]!==z)A=(u)=>!z.has(u.messages[0]?.uuid),J[60]=z,J[61]=A;else A=J[61];let x=mJ.results.map(pz).filter(A);q=[...e,...x],J[56]=mJ.results,J[57]=e,J[58]=z,J[59]=q}else q=J[59];e=q}J[49]=YJ,J[50]=mJ,J[51]=W0,J[52]=e,J[53]=pJ}else e=J[52],pJ=J[53];let TZ;if(J[62]!==e||J[63]!==pJ)TZ={filteredLogs:e,snippets:pJ},J[62]=e,J[63]=pJ,J[64]=TZ;else TZ=J[64];let{filteredLogs:uJ,snippets:RJ}=TZ,v0;J:{if(V.status==="results"&&V.results.length>0){v0=V.results;break J}v0=uJ}let D=v0,kJ=Math.max(30,L-4),N0;J:{if(!w){let z;if(J[65]===Symbol.for("react.memo_cache_sentinel"))z=[],J[65]=z;else z=J[65];N0=z;break J}let Y;if(J[66]!==D||J[67]!==_||J[68]!==kJ||J[69]!==C||J[70]!==RJ){let z=dz(D);Y=Array.from(z.entries()).map((q)=>{let[A,x]=q,u=x[0],hJ=D.indexOf(u),LJ=RJ.get(u),EJ=LJ?p0(LJ,_):null;if(x.length===1){let IJ=h0(u,{showProjectPath:C});return{id:`log:${A}:0`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ),description:EJ?`${IJ}
2
- ${EJ}`:IJ,dimDescription:!0}}let z0=x.length-1,K0=x.slice(1).map((IJ,Xz)=>{let Vz=D.indexOf(IJ),JY=RJ.get(IJ),ZY=JY?p0(JY,_):null,YY=h0(IJ,{isChild:!0,showProjectPath:C});return{id:`log:${A}:${Xz+1}`,value:{log:IJ,indexInFiltered:Vz},label:u0(IJ,kJ,{isChild:!0}),description:ZY?`${YY}
3
- ${ZY}`:YY,dimDescription:!0}}),e0=h0(u,{showProjectPath:C});return{id:`group:${A}`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ,{isGroupHeader:!0,forkCount:z0}),description:EJ?`${e0}
4
- ${EJ}`:e0,dimDescription:!0,children:K0}}),J[66]=D,J[67]=_,J[68]=kJ,J[69]=C,J[70]=RJ,J[71]=Y}else Y=J[71];N0=Y}let WJ=N0,C0;J:{if(w){let z;if(J[72]===Symbol.for("react.memo_cache_sentinel"))z=[],J[72]=z;else z=J[72];C0=z;break J}let Y;if(J[73]!==D||J[74]!==_||J[75]!==kJ||J[76]!==C||J[77]!==RJ){let z;if(J[79]!==_||J[80]!==kJ||J[81]!==C||J[82]!==RJ)z=(q,A)=>{let u=fJ(q)+(q.isSidechain?" (sidechain)":""),hJ=dY(u,kJ),LJ=c0(q),EJ=C&&q.projectPath?` · ${q.projectPath}`:"",z0=RJ.get(q),K0=z0?p0(z0,_):null;return{label:hJ,description:K0?`${LJ}${EJ}
5
- ${K0}`:LJ+EJ,dimDescription:!0,value:A.toString()}},J[79]=_,J[80]=kJ,J[81]=C,J[82]=RJ,J[83]=z;else z=J[83];Y=D.map(z),J[73]=D,J[74]=_,J[75]=kJ,J[76]=C,J[77]=RJ,J[78]=Y}else Y=J[78];C0=Y}let M0=C0,I=PJ?.value.log??null,yZ;if(J[84]!==D||J[85]!==GJ||J[86]!==I)yZ=()=>{if(!w||!I)return"";let Y=XJ(I);if(!Y)return"";let z=D.filter((u)=>XJ(u)===Y);if(!(z.length>1))return"";let A=GJ.has(Y);if(z.indexOf(I)>0)return"← to collapse";return A?"← to collapse":"→ to expand"},J[84]=D,J[85]=GJ,J[86]=I,J[87]=yZ;else yZ=J[87];let mZ=yZ,LZ;if(J[88]!==I||J[89]!==F||J[90]!==g)LZ=async()=>{let Y=I?XJ(I):void 0;if(!I||!Y){h("list"),HJ("");return}if(g.trim()){if(await nY(Y,g.trim(),I.fullPath),w&&F)F()}h("list"),HJ("")},J[88]=I,J[89]=F,J[90]=g,J[91]=LZ;else LZ=J[91];let R0=LZ,IZ;if(J[92]===Symbol.for("react.memo_cache_sentinel"))IZ=()=>{h("list"),$("",{enabled:!1})},J[92]=IZ;else IZ=J[92];let Kz=IZ,bZ;if(J[93]===Symbol.for("react.memo_cache_sentinel"))bZ=()=>{h("search"),$("",{enabled:!0})},J[93]=bZ;else bZ=J[93];let o0=bZ,fZ;if(J[94]!==K||J[95]!==O||J[96]!==j)fZ=async()=>{j.trim();return},J[94]=K,J[95]=O,J[96]=j,J[97]=fZ;else fZ=J[97];let E0=fZ,xZ;if(J[98]!==V.query||J[99]!==V.status||J[100]!==j)xZ=()=>{if(V.status!=="idle"&&V.status!=="searching"){if(V.status==="results"&&V.query!==j||V.status==="error")VZ({status:"idle"})}},J[98]=V.query,J[99]=V.status,J[100]=j,J[101]=xZ;else xZ=J[101];let _Z;if(J[102]!==V||J[103]!==j)_Z=[j,V],J[102]=V,J[103]=j,J[104]=_Z;else _Z=J[104];R.default.useEffect(xZ,_Z);let SZ,pZ;if(J[105]===Symbol.for("react.memo_cache_sentinel"))SZ=()=>()=>{HZ.current?.abort()},pZ=[],J[105]=SZ,J[106]=pZ;else SZ=J[105],pZ=J[106];R.default.useEffect(SZ,pZ);let t0=R.default.useRef(V.status),uZ;if(J[107]!==V.status||J[108]!==D[0]||J[109]!==D.length||J[110]!==WJ)uZ=()=>{let Y=t0.current;if(t0.current=V.status,Y==="searching"&&V.status==="results"){if(w&&WJ.length>0)wJ(WJ[0]);else if(!w&&D.length>0){let z=D[0];wJ({id:"0",value:{log:z,indexInFiltered:0},label:""})}}},J[107]=V.status,J[108]=D[0],J[109]=D.length,J[110]=WJ,J[111]=uZ;else uZ=J[111];let hZ;if(J[112]!==V.status||J[113]!==D||J[114]!==WJ)hZ=[V.status,w,WJ,D],J[112]=V.status,J[113]=D,J[114]=WJ,J[115]=hZ;else hZ=J[115];R.default.useEffect(uZ,hZ);let $Z;if(J[116]!==D)$Z=(Y)=>{let z=parseInt(Y,10),q=D[z];if(!q||qJ.current===z.toString())return;qJ.current=z.toString(),wJ({id:z.toString(),value:{log:q,indexInFiltered:z},label:""}),lJ(z+1)},J[116]=D,J[117]=$Z;else $Z=J[117];let j0=$Z,cZ;if(J[118]!==D)cZ=(Y)=>{wJ(Y);let z=D.findIndex((q)=>XJ(q)===XJ(Y.value.log));if(z>=0)lJ(z+1)},J[118]=D,J[119]=cZ;else cZ=J[119];let A0=cZ,gZ;if(J[120]===Symbol.for("react.memo_cache_sentinel"))gZ=()=>{HZ.current?.abort(),VZ({status:"idle"}),$("",{})},J[120]=gZ;else gZ=J[120];let F0=P!=="preview"&&V.status==="searching",iZ;if(J[121]!==F0)iZ={context:"Confirmation",isActive:F0},J[121]=F0,J[122]=iZ;else iZ=J[122];$J("confirm:no",gZ,iZ);let rZ;if(J[123]===Symbol.for("react.memo_cache_sentinel"))rZ=()=>{h("list"),HJ("")},J[123]=rZ;else rZ=J[123];let w0=P==="rename"&&V.status!=="searching",lZ;if(J[124]!==w0)lZ={context:"Settings",isActive:w0},J[124]=w0,J[125]=lZ;else lZ=J[125];$J("confirm:no",rZ,lZ);let dZ;if(J[126]!==Q||J[127]!==dJ)dZ=()=>{dJ(""),BZ(!1),Q?.()},J[126]=Q,J[127]=dJ,J[128]=dZ;else dZ=J[128];let T0=P!=="preview"&&P!=="rename"&&P!=="search"&&t&&V.status!=="searching",nZ;if(J[129]!==T0)nZ={context:"Confirmation",isActive:T0},J[129]=T0,J[130]=nZ;else nZ=J[130];$J("confirm:no",dZ,nZ);let aZ;if(J[131]!==V.status||J[132]!==c||J[133]!==I||J[134]!==E0||J[135]!==n||J[136]!==DJ||J[137]!==t||J[138]!==O||J[139]!==W||J[140]!==j||J[141]!==dJ||J[142]!==C||J[143]!==d||J[144]!==zJ||J[145]!==SJ||J[146]!==P)aZ=(Y,z)=>{if(P==="preview")return;if(V.status==="searching")return;if(P==="rename");else if(P==="search"){if(Y.toLowerCase()==="n"&&z.ctrl)Kz();else if(z.return||z.downArrow)j.trim()}else{if(t){if(z.return){E0(),BZ(!1);return}else if(z.downArrow){BZ(!1);return}else if(z.upArrow){h("search"),BZ(!1);return}}if(DJ&&z.tab){let x=z.shift?-1:1;xJ((u)=>{let LJ=((u<zJ.length?u:0)+zJ.length+x)%zJ.length,EJ=zJ[LJ];return $("",{is_all:EJ==="All",tag_count:SJ.length}),LJ});return}let q=!z.ctrl&&!z.meta,A=Y.toLowerCase();if(A==="a"&&z.ctrl&&W)W(),$("",{enabled:!C});else if(A==="b"&&z.ctrl){let x=!c;BJ(x),$("",{enabled:x})}else if(A==="w"&&z.ctrl&&n){let x=!d;cJ(x),$("",{enabled:x})}else if(A==="/"&&q)h("search"),$("",{enabled:!0});else if(A==="r"&&z.ctrl&&I)h("rename"),HJ(""),$("",{});else if(A==="v"&&z.ctrl&&I)k(I),h("preview"),$("",{messageCount:I.messageCount});else if(I&&q&&Y.length>0&&!/^\s+$/.test(Y))h("search"),dJ(Y),$("",{enabled:!0})}},J[131]=V.status,J[132]=c,J[133]=I,J[134]=E0,J[135]=n,J[136]=DJ,J[137]=t,J[138]=O,J[139]=W,J[140]=j,J[141]=dJ,J[142]=C,J[143]=d,J[144]=zJ,J[145]=SJ,J[146]=P,J[147]=aZ;else aZ=J[147];let sZ;if(J[148]===Symbol.for("react.memo_cache_sentinel"))sZ={isActive:!0},J[148]=sZ;else sZ=J[148];xY(aZ,sZ);let vJ;if(J[149]!==c||J[150]!==M||J[151]!==n||J[152]!==d){if(vJ=[],c&&M)vJ.push(M);if(n&&!d)vJ.push("current worktree");J[149]=c,J[150]=M,J[151]=n,J[152]=d,J[153]=vJ}else vJ=J[153];let Uz=8+(vJ.length>0&&P!=="search"?1:0)+zz,KJ=Math.max(1,Math.floor((S-Uz-2)/3)),oZ,tZ;if(J[154]!==D.length||J[155]!==ZJ||J[156]!==T||J[157]!==KJ)oZ=()=>{if(!T)return;let Y=KJ*2;if(ZJ+Y>=D.length)T(KJ*3)},tZ=[ZJ,KJ,D.length,T],J[154]=D.length,J[155]=ZJ,J[156]=T,J[157]=KJ,J[158]=oZ,J[159]=tZ;else oZ=J[158],tZ=J[159];if(R.default.useEffect(oZ,tZ),K.length===0)return null;if(P==="preview"&&H&&w){let Y;if(J[160]===Symbol.for("react.memo_cache_sentinel"))Y=()=>{h("list"),k(null)},J[160]=Y;else Y=J[160];let z;if(J[161]!==v||J[162]!==H)z=U(QY,{log:H,onExit:Y,onSelect:v}),J[161]=v,J[162]=H,J[163]=z;else z=J[163];return z}let y0=S-1,eZ;if(J[164]===Symbol.for("react.memo_cache_sentinel"))eZ=U(b,{flexShrink:0,children:U(pY,{color:"suggestion"})}),J[164]=eZ;else eZ=J[164];let J0;if(J[165]===Symbol.for("react.memo_cache_sentinel"))J0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[165]=J0;else J0=J[165];let aJ;if(J[166]!==L||J[167]!==D.length||J[168]!==RZ||J[169]!==ZJ||J[170]!==DJ||J[171]!==C||J[172]!==zJ||J[173]!==P||J[174]!==KJ)aJ=DJ?U(NY,{tabs:zJ,selectedIndex:RZ,availableWidth:L,showAllProjects:C}):U(b,{flexShrink:0,children:m(N,{bold:!0,color:"suggestion",children:["Resume Session",P==="list"&&D.length>KJ&&m(N,{dimColor:!0,children:[" ","(",ZJ," of ",D.length,")"]})]})}),J[166]=L,J[167]=D.length,J[168]=RZ,J[169]=ZJ,J[170]=DJ,J[171]=C,J[172]=zJ,J[173]=P,J[174]=KJ,J[175]=aJ;else aJ=J[175];let m0=P==="search",sJ;if(J[176]!==E||J[177]!==P0||J[178]!==j||J[179]!==m0)sJ=U($Y,{query:j,isFocused:m0,isTerminalFocused:E,cursorOffset:P0}),J[176]=E,J[177]=P0,J[178]=j,J[179]=m0,J[180]=sJ;else sJ=J[180];let oJ;if(J[181]!==vJ||J[182]!==P)oJ=vJ.length>0&&P!=="search"&&U(b,{flexShrink:0,paddingLeft:2,children:U(N,{dimColor:!0,children:U(NJ,{children:vJ})})}),J[181]=vJ,J[182]=P,J[183]=oJ;else oJ=J[183];let Z0;if(J[184]===Symbol.for("react.memo_cache_sentinel"))Z0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[184]=Z0;else Z0=J[184];let tJ;if(J[185]!==V.status)tJ=V.status==="searching"&&m(b,{paddingLeft:1,flexShrink:0,children:[U(hY,{}),U(N,{children:" Searching…"})]}),J[185]=V.status,J[186]=tJ;else tJ=J[186];let eJ;if(J[187]!==V.results||J[188]!==V.status)eJ=V.status==="results"&&V.results.length>0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"Claude found these results:"})}),J[187]=V.results,J[188]=V.status,J[189]=eJ;else eJ=J[189];let JZ;if(J[190]!==V.results||J[191]!==V.status||J[192]!==uJ)JZ=V.status==="results"&&V.results.length===0&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[190]=V.results,J[191]=V.status,J[192]=uJ,J[193]=JZ;else JZ=J[193];let ZZ;if(J[194]!==V.status||J[195]!==uJ)ZZ=V.status==="error"&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[194]=V.status,J[195]=uJ,J[196]=ZZ;else ZZ=J[196];let YZ;if(J[197]!==V.status||J[198]!==t||J[199]!==O||J[200]!==j)YZ=Boolean(j.trim())&&O&&!1,J[197]=V.status,J[198]=t,J[199]=O,J[200]=j,J[201]=YZ;else YZ=J[201];let zZ;if(J[202]!==V.status||J[203]!==c||J[204]!==L||J[205]!==D||J[206]!==GJ||J[207]!==M0||J[208]!==I||J[209]!==PJ?.id||J[210]!==j0||J[211]!==R0||J[212]!==A0||J[213]!==t||J[214]!==Q||J[215]!==v||J[216]!==QJ||J[217]!==g||J[218]!==WJ||J[219]!==P||J[220]!==KJ)zZ=V.status==="searching"?null:P==="rename"&&I?m(b,{paddingLeft:2,flexDirection:"column",children:[U(N,{bold:!0,children:"Rename session:"}),U(b,{paddingTop:1,children:U(uY,{value:g,onChange:HJ,onSubmit:R0,placeholder:fJ(I,"Enter new session name"),columns:L,cursorOffset:QJ,onChangeCursorOffset:iJ,showCursor:!0})})]}):w?U(EY,{nodes:WJ,onSelect:(Y)=>{v(Y.value.log)},onFocus:A0,onCancel:Q,focusNodeId:PJ?.id,visibleOptionCount:KJ,layout:"expanded",isDisabled:P==="search"||t,hideIndexes:!1,isNodeExpanded:(Y)=>{if(P==="search"||c)return!0;let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;return z?GJ.has(z):!1},onExpand:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>new Set(q).add(z)),$("",{})},onCollapse:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>{let A=new Set(q);return A.delete(z),A})},onUpFromFirstItem:o0}):U(B0,{options:M0,onChange:(Y)=>{let z=parseInt(Y,10),q=D[z];if(q)v(q)},visibleOptionCount:KJ,onCancel:Q,onFocus:j0,defaultFocusValue:PJ?.id.toString(),layout:"expanded",isDisabled:P==="search"||t,onUpFromFirstItem:o0}),J[202]=V.status,J[203]=c,J[204]=L,J[205]=D,J[206]=GJ,J[207]=M0,J[208]=I,J[209]=PJ?.id,J[210]=j0,J[211]=R0,J[212]=A0,J[213]=t,J[214]=Q,J[215]=v,J[216]=QJ,J[217]=g,J[218]=WJ,J[219]=P,J[220]=KJ,J[221]=zZ;else zZ=J[221];let KZ;if(J[222]!==V.status||J[223]!==M||J[224]!==f.keyName||J[225]!==f.pending||J[226]!==mZ||J[227]!==n||J[228]!==t||J[229]!==D0||J[230]!==W||J[231]!==C||J[232]!==d||J[233]!==P)KZ=U(b,{paddingLeft:2,children:f.pending?m(N,{dimColor:!0,children:["Press ",f.keyName," again to exit"]}):P==="rename"?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"save"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):V.status==="searching"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Searching with Claude…"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):t?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"search"}),U(UJ,{shortcut:"↓",action:"skip"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):P==="search"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Type to Search"}),U(UJ,{shortcut:"Enter",action:"select"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"clear"})]})}):U(N,{dimColor:!0,children:m(NJ,{children:[W&&U(UJ,{shortcut:"Ctrl+A",action:`show ${C?"current dir":"all projects"}`}),M&&U(UJ,{shortcut:"Ctrl+B",action:"toggle branch"}),n&&U(UJ,{shortcut:"Ctrl+W",action:`show ${d?"current worktree":"all worktrees"}`}),U(UJ,{shortcut:"Ctrl+V",action:"preview"}),U(UJ,{shortcut:"Ctrl+R",action:"rename"}),U(N,{children:"Type to search"}),U(jJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"}),mZ()&&U(N,{children:mZ()})]})})}),J[222]=V.status,J[223]=M,J[224]=f.keyName,J[225]=f.pending,J[226]=mZ,J[227]=n,J[228]=t,J[229]=D0,J[230]=W,J[231]=C,J[232]=d,J[233]=P,J[234]=KZ;else KZ=J[234];let Y0;if(J[235]!==y0||J[236]!==aJ||J[237]!==sJ||J[238]!==oJ||J[239]!==tJ||J[240]!==eJ||J[241]!==JZ||J[242]!==ZZ||J[243]!==YZ||J[244]!==zZ||J[245]!==KZ)Y0=m(b,{flexDirection:"column",height:y0,children:[eZ,J0,aJ,sJ,oJ,Z0,tJ,eJ,JZ,ZZ,YZ,zZ,KZ]}),J[235]=y0,J[236]=aJ,J[237]=sJ,J[238]=oJ,J[239]=tJ,J[240]=eJ,J[241]=JZ,J[242]=ZZ,J[243]=YZ,J[244]=zZ,J[245]=KZ,J[246]=Y0;else Y0=J[246];return Y0}function pz(Z){return Z.log}function uz(Z){return Z.messages[0]?.uuid}function hz(Z,J,K,B){if(!Z)return;let G=Z.search(J);G.sort(cz),K({results:G.map($z),query:J}),B(!1)}function $z(Z){return{log:Z.item.log,score:Z.score,searchableText:Z.item.searchableText}}function cz(Z,J){let K=new Date(Z.item.log.modified).getTime(),G=new Date(J.item.log.modified).getTime()-K;if(Math.abs(G)>xz)return G;return(Z.score??1)-(J.score??1)}function gz(Z){let J=wY(),K=XJ(Z);if(J&&K===J)return!0;if(Z.customTitle)return!0;if(gY(Z.messages))return!0;if(Z.firstPrompt||Z.customTitle)return!0;return!1}function iz(Z){return[Z,lz(Z)]}function rz(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function lz(Z){let K=(Z.messages.length<=fz?Z.messages:[...Z.messages.slice(0,AY),...Z.messages.slice(-AY)]).map(rz).filter(Boolean).join(" "),G=`${[Z.customTitle,Z.summary,Z.firstPrompt,Z.gitBranch,Z.tag,Z.prNumber?`PR #${Z.prNumber}`:void 0,Z.prRepository].filter(Boolean).join(" ")} ${K}`.trim();return G.length>FY?G.slice(0,FY):G}function dz(Z){let J=new Map;for(let K of Z){let B=XJ(K);if(B){let G=J.get(B);if(G)G.push(K);else J.set(B,[K])}}return J.forEach((K)=>K.sort((B,G)=>new Date(G.modified).getTime()-new Date(B.modified).getTime())),J}function nz(Z){let J=new Set;for(let K of Z)if(K.tag)J.add(K.tag);return Array.from(J).sort((K,B)=>K.localeCompare(B))}var lY,R,Iz=2,bz=4,fz=2000,AY=1000,FY=50000,xz=60000,_z=50;var az=XZ(()=>{Cz();TY();Az();mz();jz();Rz();U0();KY();Nz();I0();Lz();Mz();mY();V0();Ez();XY();MY();VY();Fz();UY();yz();OY();Tz();CY();wz();jY();bJ();lY=UZ(f0(),1),R=UZ(b0(),1)});function YK(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function Jz(Z){if(Z.length===0)return"";let K=(Z.length<=g0?Z:[...Z.slice(0,g0/2),...Z.slice(-g0/2)]).map(YK).filter(Boolean).join(" ").replace(/\s+/g," ").trim();return K.length>aY?K.slice(0,aY)+"…":K}function sY(Z,J){if(fJ(Z).toLowerCase().includes(J))return!0;if(Z.customTitle?.toLowerCase().includes(J))return!0;if(Z.tag?.toLowerCase().includes(J))return!0;if(Z.gitBranch?.toLowerCase().includes(J))return!0;if(Z.summary?.toLowerCase().includes(J))return!0;if(Z.firstPrompt?.toLowerCase().includes(J))return!0;if(Z.messages&&Z.messages.length>0){if(Jz(Z.messages).toLowerCase().includes(J))return!0}return!1}async function QU(Z,J,K){if(!Z.trim()||J.length===0)return[];let B=Z.toLowerCase(),G=J.filter((X)=>sY(X,B)),Q;if(G.length>=i0)Q=G.slice(0,i0);else{let X=J.filter((O)=>!sY(O,B)),W=i0-G.length;Q=[...G,...X.slice(0,W)]}CJ(`Agentic search: ${Q.length}/${J.length} logs, query="${Z}", matching: ${G.length}, with messages: ${r0(Q,(X)=>X.messages?.length>0)}`);let v=Q.map(async(X)=>{if(GZ(X))try{return await X0(X)}catch(W){return l0(W),X}return X}),F=await Promise.all(v);CJ(`Agentic search: loaded ${r0(F,(X)=>X.messages?.length>0)}/${Q.length} logs with transcripts`);let i=`Sessions:
6
- ${F.map((X,W)=>{let O=[`${W}:`],S=fJ(X);if(O.push(S),X.customTitle&&X.customTitle!==S)O.push(`[custom title: ${X.customTitle}]`);if(X.tag)O.push(`[tag: ${X.tag}]`);if(X.gitBranch)O.push(`[branch: ${X.gitBranch}]`);if(X.summary)O.push(`- Summary: ${X.summary}`);if(X.firstPrompt&&X.firstPrompt!=="No prompt")O.push(`- First message: ${X.firstPrompt.slice(0,300)}`);if(X.messages&&X.messages.length>0){let C=Jz(X.messages);if(C)O.push(`- Transcript: ${C}`)}return O.join(" ")}).join(`
7
- `)}
8
-
9
- Search query: "${Z}"
10
-
11
- Find the sessions that are most relevant to this query.`;CJ(`Agentic search prompt (first 500 chars): ${i.slice(0,500)}...`);try{let X=tY();CJ(`Agentic search using model: ${X}`);let O=(await eY({model:X,system:ZK,messages:[{role:"user",content:i}],signal:K,querySource:"session_search"})).content.find((f)=>f.type==="text");if(!O||O.type!=="text")return CJ("No text content in agentic search response"),[];CJ(`Agentic search response: ${O.text}`);let S=O.text.match(/\{[\s\S]*\}/);if(!S)return CJ("Could not find JSON in agentic search response"),[];let L=(oY(S[0]).relevant_indices||[]).filter((f)=>f>=0&&f<F.length).map((f)=>F[f]);return CJ(`Agentic search found ${L.length} relevant sessions`),L}catch(X){return l0(X),CJ(`Agentic search error: ${X}`),[]}}var aY=2000,g0=100,i0=100,ZK=`Your goal is to find relevant sessions based on a user's search query.
12
-
13
- You will be given a list of sessions with their metadata and a search query. Identify which sessions are most relevant to the query.
14
-
15
- Each session may include:
16
- - Title (display name or custom title)
17
- - Tag (user-assigned category, shown as [tag: name] - users tag sessions with /tag command to categorize them)
18
- - Branch (git branch name, shown as [branch: name])
19
- - Summary (AI-generated summary)
20
- - First message (beginning of the conversation)
21
- - Transcript (excerpt of conversation content)
22
-
23
- IMPORTANT: Tags are user-assigned labels that indicate the session's topic or category. If the query matches a tag exactly or partially, those sessions should be highly prioritized.
24
-
25
- For each session, consider (in order of priority):
26
- 1. Exact tag matches (highest priority - user explicitly categorized this session)
27
- 2. Partial tag matches or tag-related terms
28
- 3. Title matches (custom titles or first message content)
29
- 4. Branch name matches
30
- 5. Summary and transcript content matches
31
- 6. Semantic similarity and related concepts
32
-
33
- CRITICAL: Be VERY inclusive in your matching. Include sessions that:
34
- - Contain the query term anywhere in any field
35
- - Are semantically related to the query (e.g., "testing" matches sessions about "tests", "unit tests", "QA", etc.)
36
- - Discuss topics that could be related to the query
37
- - Have transcripts that mention the concept even in passing
38
-
39
- When in doubt, INCLUDE the session. It's better to return too many results than too few. The user can easily scan through results, but missing relevant sessions is frustrating.
40
-
41
- Return sessions ordered by relevance (most relevant first). If truly no sessions have ANY connection to the query, return an empty array - but this should be rare.
42
-
43
- Respond with ONLY the JSON object, no markdown formatting:
44
- {"relevant_indices": [2, 5, 0]}`;var zK=XZ(()=>{tz();oz();mY();ez();V0();JK();sz()});function WU(Z,J,K){let B=H0();if(!J||!Z.projectPath||Z.projectPath===B)return{isCrossProject:!1};let G=XJ(Z);return{isCrossProject:!0,isSameRepoWorktree:!1,command:`cd ${Zz([Z.projectPath])} && claude --resume ${G}`,projectPath:Z.projectPath}}var UK=XZ(()=>{TY();KK();V0()});
45
- export{YU as me,az as ne,QU as oe,zK as pe,WU as qe,UK as re};