@claudiolabs/claudin 1.1.17 → 1.1.19

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 (910) hide show
  1. package/dist/chunks/AgentTool-1.1.19-ap09svyk.mjs +1 -0
  2. package/dist/chunks/App-1.1.19-k77n3357.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.19-tcembk4t.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.19-m4nrahdt.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.19-taks8xn7.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.19-yme7vhwa.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.19-tfvmz7pe.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.19-zkq642rw.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.19-2d75g9t9.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.19-0h26y250.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.19-664kb4w5.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.19-yebbvfbc.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.19-69vb23j7.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.19-xd8y62c2.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.19-1629rwte.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.19-jpbdr4ek.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.19-gsjnpy2f.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.19-pqppw8hp.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.19-gvqa5kzm.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.19-jqd47gb8.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.19-m9xykegt.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.19-4x4m771g.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.19-4ywpbgq0.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.19-znn3cy0j.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.19-z4htsqk6.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.19-fqjjhqxh.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.19-sgb7b5wy.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.19-y55kbgfe.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.19-cfvc6wt9.mjs +1 -0
  30. package/dist/chunks/agents-1.1.19-hc4xvq4r.mjs +110 -0
  31. package/dist/chunks/agents-1.1.19-k8kx3pej.mjs +3 -0
  32. package/dist/chunks/api-1.1.19-gbh2sz3k.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.19-6mnps2vx.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.19-vmkknmbc.mjs +1 -0
  35. package/dist/chunks/auth-1.1.19-h46w2e1a.mjs +1 -0
  36. package/dist/chunks/auth-1.1.19-s68ybx6f.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.19-qpevvt9x.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.19-63yyncht.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.19-vxn3t7f7.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.19-tg6rqb4x.mjs +1 -0
  41. package/dist/chunks/branch-1.1.19-e4gkb2sb.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.19-zwf5vbc6.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.19-wc27ha2s.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.19-6gq8j1d7.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.19-yzzr33jg.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.19-xdqatsm3.mjs +1 -0
  47. package/dist/chunks/btw-1.1.19-qkfvd0ms.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.19-08xe7ppf.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.19-w4a9xacm.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.19-exn70h4b.mjs +4 -0
  51. package/dist/chunks/caches-1.1.19-d4jfvwhp.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.19-kxx2an1b.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.19-xsbhz7tg.mjs +1 -0
  54. package/dist/chunks/clear-1.1.19-a1znba6q.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.19-ahv4wsvx.mjs +1 -0
  56. package/dist/chunks/cli-1.1.19-00q9c51a.mjs +2 -0
  57. package/dist/chunks/cli-1.1.19-00zv4s06.mjs +2 -0
  58. package/dist/chunks/cli-1.1.19-0cyysv3s.mjs +2 -0
  59. package/dist/chunks/cli-1.1.19-0m8cwm30.mjs +2 -0
  60. package/dist/chunks/cli-1.1.19-0n5vcvqz.mjs +2 -0
  61. package/dist/chunks/cli-1.1.19-0s56yqjm.mjs +2 -0
  62. package/dist/chunks/cli-1.1.19-0zq6911y.mjs +2 -0
  63. package/dist/chunks/cli-1.1.19-10jx9qt3.mjs +2 -0
  64. package/dist/chunks/cli-1.1.19-126eyddd.mjs +2 -0
  65. package/dist/chunks/cli-1.1.19-1mqhgz4n.mjs +2 -0
  66. package/dist/chunks/cli-1.1.19-25szxvwt.mjs +2 -0
  67. package/dist/chunks/cli-1.1.19-29wgse8t.mjs +2 -0
  68. package/dist/chunks/cli-1.1.19-2cb4p1hk.mjs +2 -0
  69. package/dist/chunks/cli-1.1.19-2jkn8w89.mjs +2 -0
  70. package/dist/chunks/cli-1.1.19-2rbw0277.mjs +2 -0
  71. package/dist/chunks/cli-1.1.19-2rnpr99c.mjs +1 -0
  72. package/dist/chunks/cli-1.1.19-2xxxjdpp.mjs +2 -0
  73. package/dist/chunks/cli-1.1.19-35evt5gy.mjs +2 -0
  74. package/dist/chunks/cli-1.1.19-38ya9kd8.mjs +2 -0
  75. package/dist/chunks/cli-1.1.19-3e9krkhy.mjs +2 -0
  76. package/dist/chunks/cli-1.1.19-3ep6p0sf.mjs +2 -0
  77. package/dist/chunks/cli-1.1.19-3jjgtf8t.mjs +2 -0
  78. package/dist/chunks/cli-1.1.19-3q0sj4zp.mjs +3 -0
  79. package/dist/chunks/cli-1.1.19-3tzh16np.mjs +4 -0
  80. package/dist/chunks/cli-1.1.19-3wwc3q32.mjs +2 -0
  81. package/dist/chunks/cli-1.1.19-3xpqyp64.mjs +7 -0
  82. package/dist/chunks/cli-1.1.19-48a6gxnh.mjs +2 -0
  83. package/dist/chunks/cli-1.1.19-4ba4a8jg.mjs +9 -0
  84. package/dist/chunks/cli-1.1.19-4dp1vkze.mjs +2 -0
  85. package/dist/chunks/cli-1.1.19-4hek4kyb.mjs +2 -0
  86. package/dist/chunks/cli-1.1.19-4n6cth1a.mjs +2 -0
  87. package/dist/chunks/cli-1.1.19-53hanqff.mjs +2 -0
  88. package/dist/chunks/cli-1.1.19-5a8wm97m.mjs +2 -0
  89. package/dist/chunks/cli-1.1.19-5eb8a4wn.mjs +2 -0
  90. package/dist/chunks/cli-1.1.19-5kaw3aa5.mjs +2 -0
  91. package/dist/chunks/cli-1.1.19-5xy2q2yt.mjs +2 -0
  92. package/dist/chunks/cli-1.1.19-5z5xyy4e.mjs +34 -0
  93. package/dist/chunks/cli-1.1.19-61nar796.mjs +4 -0
  94. package/dist/chunks/cli-1.1.19-61tem8qm.mjs +2 -0
  95. package/dist/chunks/cli-1.1.19-6jvzyjts.mjs +3 -0
  96. package/dist/chunks/cli-1.1.19-6mq64vhw.mjs +3 -0
  97. package/dist/chunks/cli-1.1.19-6pp1614z.mjs +4 -0
  98. package/dist/chunks/cli-1.1.19-6smqyzzn.mjs +50 -0
  99. package/dist/chunks/cli-1.1.19-779zeaga.mjs +2 -0
  100. package/dist/chunks/cli-1.1.19-7djbq218.mjs +3 -0
  101. package/dist/chunks/cli-1.1.19-7rmk4fz4.mjs +2 -0
  102. package/dist/chunks/cli-1.1.19-7s1yy832.mjs +2 -0
  103. package/dist/chunks/cli-1.1.19-7sfdatrg.mjs +12 -0
  104. package/dist/chunks/cli-1.1.19-7v3pjgvw.mjs +5 -0
  105. package/dist/chunks/cli-1.1.19-7zdwszrb.mjs +2 -0
  106. package/dist/chunks/cli-1.1.19-82vfm05a.mjs +2 -0
  107. package/dist/chunks/cli-1.1.19-89n0ppp5.mjs +2 -0
  108. package/dist/chunks/cli-1.1.19-8dpft679.mjs +2 -0
  109. package/dist/chunks/cli-1.1.19-8zwh2ky5.mjs +2 -0
  110. package/dist/chunks/cli-1.1.19-93bb0mpz.mjs +2 -0
  111. package/dist/chunks/cli-1.1.19-946kz0h0.mjs +2 -0
  112. package/dist/chunks/cli-1.1.19-96rdwb5m.mjs +2 -0
  113. package/dist/chunks/cli-1.1.19-99dfxebe.mjs +2 -0
  114. package/dist/chunks/cli-1.1.19-9a8d2pxp.mjs +2 -0
  115. package/dist/chunks/cli-1.1.19-9dkavmxz.mjs +2 -0
  116. package/dist/chunks/cli-1.1.19-9kbnb3tc.mjs +2 -0
  117. package/dist/chunks/cli-1.1.19-9nfxc159.mjs +3 -0
  118. package/dist/chunks/cli-1.1.19-9vf7tt9g.mjs +2 -0
  119. package/dist/chunks/cli-1.1.19-a26wdy1v.mjs +24 -0
  120. package/dist/chunks/cli-1.1.19-a32dnq28.mjs +2 -0
  121. package/dist/chunks/cli-1.1.19-a5hfs685.mjs +45 -0
  122. package/dist/chunks/cli-1.1.19-a6e1antc.mjs +15 -0
  123. package/dist/chunks/cli-1.1.19-a75p9zey.mjs +2 -0
  124. package/dist/chunks/cli-1.1.19-ac73knxp.mjs +2 -0
  125. package/dist/chunks/cli-1.1.19-acez5n0m.mjs +24 -0
  126. package/dist/chunks/cli-1.1.19-aj7yfbb6.mjs +2 -0
  127. package/dist/chunks/cli-1.1.19-awkva6qc.mjs +24 -0
  128. package/dist/chunks/cli-1.1.19-b7fbqawk.mjs +2 -0
  129. package/dist/chunks/cli-1.1.19-bg1d8zv9.mjs +2 -0
  130. package/dist/chunks/cli-1.1.19-bmy2183w.mjs +2 -0
  131. package/dist/chunks/cli-1.1.19-bxvvef3z.mjs +2 -0
  132. package/dist/chunks/cli-1.1.19-c8xs9vjb.mjs +2 -0
  133. package/dist/chunks/cli-1.1.19-cb7496nq.mjs +5 -0
  134. package/dist/chunks/cli-1.1.19-cc266ybe.mjs +2 -0
  135. package/dist/chunks/cli-1.1.19-cfgdvk8n.mjs +12 -0
  136. package/dist/chunks/cli-1.1.19-cjq368e9.mjs +24 -0
  137. package/dist/chunks/cli-1.1.19-cma77m08.mjs +2 -0
  138. package/dist/chunks/cli-1.1.19-cq5hegwz.mjs +6 -0
  139. package/dist/chunks/cli-1.1.19-csfx7v0e.mjs +2 -0
  140. package/dist/chunks/cli-1.1.19-d00hzr89.mjs +2 -0
  141. package/dist/chunks/cli-1.1.19-d1qdwt16.mjs +2 -0
  142. package/dist/chunks/cli-1.1.19-d2x1fpvn.mjs +3 -0
  143. package/dist/chunks/cli-1.1.19-d7wb13f8.mjs +2 -0
  144. package/dist/chunks/cli-1.1.19-dq0a7g9x.mjs +2 -0
  145. package/dist/chunks/cli-1.1.19-dt84yfk2.mjs +206 -0
  146. package/dist/chunks/cli-1.1.19-dw8jwdzq.mjs +3 -0
  147. package/dist/chunks/cli-1.1.19-dzbss10b.mjs +3 -0
  148. package/dist/chunks/cli-1.1.19-e4krk6kp.mjs +2 -0
  149. package/dist/chunks/cli-1.1.19-e5k83shq.mjs +17 -0
  150. package/dist/chunks/cli-1.1.19-ec5kkxdm.mjs +2 -0
  151. package/dist/chunks/cli-1.1.19-edv500a7.mjs +25 -0
  152. package/dist/chunks/cli-1.1.19-esk8qemt.mjs +3 -0
  153. package/dist/chunks/cli-1.1.19-eyhpgp73.mjs +4 -0
  154. package/dist/chunks/cli-1.1.19-f1g12hnb.mjs +2 -0
  155. package/dist/chunks/cli-1.1.19-f1vb0eyp.mjs +2 -0
  156. package/dist/chunks/cli-1.1.19-f6m8mqsf.mjs +2 -0
  157. package/dist/chunks/cli-1.1.19-fgfwa8xc.mjs +2 -0
  158. package/dist/chunks/cli-1.1.19-fqwvhznj.mjs +2 -0
  159. package/dist/chunks/cli-1.1.19-ftnf2s7k.mjs +6 -0
  160. package/dist/chunks/cli-1.1.19-g1bp4mfb.mjs +2 -0
  161. package/dist/chunks/cli-1.1.19-g70qb326.mjs +2 -0
  162. package/dist/chunks/cli-1.1.19-grvgykf5.mjs +58 -0
  163. package/dist/chunks/cli-1.1.19-gvdrxej7.mjs +6 -0
  164. package/dist/chunks/cli-1.1.19-gw9jb8fv.mjs +2 -0
  165. package/dist/chunks/cli-1.1.19-h5psdt4j.mjs +2 -0
  166. package/dist/chunks/cli-1.1.19-h6a1zywh.mjs +2 -0
  167. package/dist/chunks/cli-1.1.19-h6nqzwdx.mjs +8 -0
  168. package/dist/chunks/cli-1.1.19-hdmxb06r.mjs +2 -0
  169. package/dist/chunks/cli-1.1.19-hph7gbkv.mjs +42 -0
  170. package/dist/chunks/cli-1.1.19-hqbspnvc.mjs +5419 -0
  171. package/dist/chunks/cli-1.1.19-hr45csak.mjs +3 -0
  172. package/dist/chunks/cli-1.1.19-j9kyrhvv.mjs +3 -0
  173. package/dist/chunks/cli-1.1.19-jn7xm69z.mjs +2 -0
  174. package/dist/chunks/cli-1.1.19-k4gwmyp2.mjs +17 -0
  175. package/dist/chunks/cli-1.1.19-k5svbvzd.mjs +2 -0
  176. package/dist/chunks/cli-1.1.19-kc4rvbe3.mjs +18 -0
  177. package/dist/chunks/cli-1.1.19-kjbxevhz.mjs +2 -0
  178. package/dist/chunks/cli-1.1.19-kjhw0mpy.mjs +6 -0
  179. package/dist/chunks/cli-1.1.19-kxz28gf8.mjs +21 -0
  180. package/dist/chunks/cli-1.1.19-m8w4as34.mjs +16 -0
  181. package/dist/chunks/cli-1.1.19-m9vwd2bt.mjs +2 -0
  182. package/dist/chunks/cli-1.1.19-mam509fm.mjs +2 -0
  183. package/dist/chunks/cli-1.1.19-mn9sb0en.mjs +2 -0
  184. package/dist/chunks/cli-1.1.19-mqs96k5w.mjs +4 -0
  185. package/dist/chunks/cli-1.1.19-mrft54r6.mjs +2 -0
  186. package/dist/chunks/cli-1.1.19-n24w651m.mjs +3 -0
  187. package/dist/chunks/cli-1.1.19-n5xxe310.mjs +133 -0
  188. package/dist/chunks/cli-1.1.19-nb1256fg.mjs +4 -0
  189. package/dist/chunks/cli-1.1.19-nqznsj8y.mjs +2 -0
  190. package/dist/chunks/cli-1.1.19-nrpwj6d0.mjs +3 -0
  191. package/dist/chunks/cli-1.1.19-p1nzrjj5.mjs +25 -0
  192. package/dist/chunks/cli-1.1.19-p8pd4mmb.mjs +2 -0
  193. package/dist/chunks/cli-1.1.19-pdmgnq2h.mjs +39 -0
  194. package/dist/chunks/cli-1.1.19-pn1pyg9c.mjs +2 -0
  195. package/dist/chunks/cli-1.1.19-q2b2zy0e.mjs +2 -0
  196. package/dist/chunks/cli-1.1.19-q5kbe656.mjs +2 -0
  197. package/dist/chunks/cli-1.1.19-q7cjyz1z.mjs +2 -0
  198. package/dist/chunks/cli-1.1.19-qb3sg611.mjs +2 -0
  199. package/dist/chunks/cli-1.1.19-qvzf4mzn.mjs +2 -0
  200. package/dist/chunks/cli-1.1.19-qw2a73hz.mjs +2 -0
  201. package/dist/chunks/cli-1.1.19-r3km7nzk.mjs +2 -0
  202. package/dist/chunks/cli-1.1.19-r4qc48rf.mjs +2 -0
  203. package/dist/chunks/cli-1.1.19-rk4mqvc5.mjs +2 -0
  204. package/dist/chunks/cli-1.1.19-rkxy1dsw.mjs +2 -0
  205. package/dist/chunks/cli-1.1.19-ry92fd54.mjs +7 -0
  206. package/dist/chunks/cli-1.1.19-s3zhxkk4.mjs +2 -0
  207. package/dist/chunks/cli-1.1.19-sbrpsrtp.mjs +4 -0
  208. package/dist/chunks/cli-1.1.19-shgmqysk.mjs +2 -0
  209. package/dist/chunks/cli-1.1.19-shgqfcam.mjs +2 -0
  210. package/dist/chunks/cli-1.1.19-snq43w01.mjs +6 -0
  211. package/dist/chunks/cli-1.1.19-swfswrx1.mjs +2 -0
  212. package/dist/chunks/cli-1.1.19-t7yahhjv.mjs +4 -0
  213. package/dist/chunks/cli-1.1.19-t87ew64x.mjs +2 -0
  214. package/dist/chunks/cli-1.1.19-t9xz3682.mjs +20 -0
  215. package/dist/chunks/cli-1.1.19-tar53fbc.mjs +15 -0
  216. package/dist/chunks/cli-1.1.19-tefbgf43.mjs +2 -0
  217. package/dist/chunks/cli-1.1.19-tm3821yd.mjs +2 -0
  218. package/dist/chunks/cli-1.1.19-tqv8yds0.mjs +2 -0
  219. package/dist/chunks/cli-1.1.19-tw6zn01k.mjs +2 -0
  220. package/dist/chunks/cli-1.1.19-v35x8svk.mjs +15 -0
  221. package/dist/chunks/cli-1.1.19-v619rbr5.mjs +59 -0
  222. package/dist/chunks/cli-1.1.19-vbq3h0rr.mjs +2 -0
  223. package/dist/chunks/cli-1.1.19-vfed8ert.mjs +2 -0
  224. package/dist/chunks/cli-1.1.19-vgfqexte.mjs +4 -0
  225. package/dist/chunks/cli-1.1.19-vpabfve5.mjs +6 -0
  226. package/dist/chunks/cli-1.1.19-vr8jf7k6.mjs +2 -0
  227. package/dist/chunks/cli-1.1.19-vv09y4gs.mjs +2 -0
  228. package/dist/chunks/cli-1.1.19-vx87jjbs.mjs +18 -0
  229. package/dist/chunks/cli-1.1.19-vyqgdds6.mjs +2 -0
  230. package/dist/chunks/cli-1.1.19-w9tb5j4s.mjs +2 -0
  231. package/dist/chunks/cli-1.1.19-wrgbrnhw.mjs +9 -0
  232. package/dist/chunks/cli-1.1.19-wtkads83.mjs +2 -0
  233. package/dist/chunks/cli-1.1.19-wzm0j7nd.mjs +133 -0
  234. package/dist/chunks/cli-1.1.19-x1grwt9b.mjs +2 -0
  235. package/dist/chunks/cli-1.1.19-x522f12c.mjs +2 -0
  236. package/dist/chunks/cli-1.1.19-x6xnsxay.mjs +2 -0
  237. package/dist/chunks/cli-1.1.19-x86k1gy8.mjs +2 -0
  238. package/dist/chunks/cli-1.1.19-x8set46s.mjs +2 -0
  239. package/dist/chunks/cli-1.1.19-x9jccx03.mjs +4 -0
  240. package/dist/chunks/cli-1.1.19-xnas5w2g.mjs +2 -0
  241. package/dist/chunks/cli-1.1.19-xst2kbax.mjs +2 -0
  242. package/dist/chunks/cli-1.1.19-xvrj0zyj.mjs +2 -0
  243. package/dist/chunks/cli-1.1.19-y6p80wj3.mjs +3 -0
  244. package/dist/chunks/cli-1.1.19-ybe27dz9.mjs +66 -0
  245. package/dist/chunks/cli-1.1.19-ykspd2ax.mjs +2 -0
  246. package/dist/chunks/cli-1.1.19-ykvwaeht.mjs +2 -0
  247. package/dist/chunks/cli-1.1.19-yrjfmdg0.mjs +2 -0
  248. package/dist/chunks/cli-1.1.19-ys9280nx.mjs +2 -0
  249. package/dist/chunks/cli-1.1.19-yw33djbn.mjs +2 -0
  250. package/dist/chunks/cli-1.1.19-z9t89h8r.mjs +2 -0
  251. package/dist/chunks/cli-1.1.19-zcbfxmsm.mjs +2 -0
  252. package/dist/chunks/cli-1.1.19-zdb14mt2.mjs +2 -0
  253. package/dist/chunks/cli-1.1.19-zebz0x46.mjs +2 -0
  254. package/dist/chunks/cli-1.1.19-zg8m3n8n.mjs +2 -0
  255. package/dist/chunks/cli-1.1.19-zm9nhjfe.mjs +2 -0
  256. package/dist/chunks/cli-1.1.19-ztvzhgye.mjs +2 -0
  257. package/dist/chunks/cli-1.1.19-ztxdhvw3.mjs +2 -0
  258. package/dist/chunks/cli-1.1.19-zv4hb0hf.mjs +2 -0
  259. package/dist/chunks/client-1.1.19-rydegw5h.mjs +1 -0
  260. package/dist/chunks/color-1.1.19-p5265vaz.mjs +1 -0
  261. package/dist/chunks/compact-1.1.19-7c9mxrm8.mjs +3 -0
  262. package/dist/chunks/config-1.1.19-2wsgrxvp.mjs +1 -0
  263. package/dist/chunks/config-1.1.19-d62j9tgx.mjs +1 -0
  264. package/dist/chunks/constants-1.1.19-cyxrtszj.mjs +1 -0
  265. package/dist/chunks/context-1.1.19-mtt1t5p4.mjs +1 -0
  266. package/dist/chunks/context-noninteractive-1.1.19-xry25hh6.mjs +1 -0
  267. package/dist/chunks/conversation-1.1.19-y6cahyhg.mjs +1 -0
  268. package/dist/chunks/copilotHeaders-1.1.19-esh8mxyx.mjs +1 -0
  269. package/dist/chunks/copy-1.1.19-tyf8daxj.mjs +9 -0
  270. package/dist/chunks/cost-1.1.19-pvrac5v6.mjs +1 -0
  271. package/dist/chunks/createSSHSession-1.1.19-8jd28zhc.mjs +1 -0
  272. package/dist/chunks/createSession-1.1.19-88gw4fqs.mjs +1 -0
  273. package/dist/chunks/debug-1.1.19-xz3040cz.mjs +1 -0
  274. package/dist/chunks/defaultActionDeps-1.1.19-x39zq6wr.mjs +1534 -0
  275. package/dist/chunks/desktop-1.1.19-a40h3fh1.mjs +1 -0
  276. package/dist/chunks/detectRepository-1.1.19-g0rbffr6.mjs +1 -0
  277. package/dist/chunks/detection-1.1.19-kzpx83pk.mjs +1 -0
  278. package/dist/chunks/diff-1.1.19-g76zmzb1.mjs +1 -0
  279. package/dist/chunks/doctor-1.1.19-03zspk7d.mjs +1 -0
  280. package/dist/chunks/doctorDiagnostic-1.1.19-df18kr26.mjs +1 -0
  281. package/dist/chunks/earlyInput-1.1.19-n9y2y9sm.mjs +1 -0
  282. package/dist/chunks/effort-1.1.19-503r3dqe.mjs +13 -0
  283. package/dist/chunks/engine-1.1.19-0ad61bvx.mjs +1 -0
  284. package/dist/chunks/envLessBridgeConfig-1.1.19-qf1fj44h.mjs +1 -0
  285. package/dist/chunks/envUtils-1.1.19-8en4zy66.mjs +1 -0
  286. package/dist/chunks/environmentSelection-1.1.19-91hc6n75.mjs +1 -0
  287. package/dist/chunks/environments-1.1.19-tfjfkh09.mjs +1 -0
  288. package/dist/chunks/errors-1.1.19-fs48fz9y.mjs +1 -0
  289. package/dist/chunks/exampleCommands-1.1.19-pbb6kk50.mjs +1 -0
  290. package/dist/chunks/execFileNoThrow-1.1.19-m6am19yr.mjs +1 -0
  291. package/dist/chunks/exit-1.1.19-mqpwd363.mjs +1 -0
  292. package/dist/chunks/explorer-1.1.19-epqv5k1e.mjs +1 -0
  293. package/dist/chunks/export-1.1.19-t8tpvak9.mjs +2 -0
  294. package/dist/chunks/extra-usage-1.1.19-r9kte59s.mjs +1 -0
  295. package/dist/chunks/extra-usage-noninteractive-1.1.19-xnxm4sqt.mjs +1 -0
  296. package/dist/chunks/fast-1.1.19-c4n0rr8a.mjs +1 -0
  297. package/dist/chunks/feedback-1.1.19-7k5rya63.mjs +14 -0
  298. package/dist/chunks/firstPartyEventLogger-1.1.19-5bjmyd6a.mjs +1 -0
  299. package/dist/chunks/git-1.1.19-1njw7gwq.mjs +1 -0
  300. package/dist/chunks/githubModelsCredentials-1.1.19-k4csmysh.mjs +1 -0
  301. package/dist/chunks/goal-1.1.19-e08g4net.mjs +4 -0
  302. package/dist/chunks/growthbook-1.1.19-gw9m906y.mjs +1 -0
  303. package/dist/chunks/headless-1.1.19-gckc9qf1.mjs +2 -0
  304. package/dist/chunks/heapdump-1.1.19-cy0bczwr.mjs +6 -0
  305. package/dist/chunks/help-1.1.19-bbfsbt36.mjs +1 -0
  306. package/dist/chunks/hookChains-1.1.19-n01ssw8c.mjs +3 -0
  307. package/dist/chunks/hooks-1.1.19-488gkyjk.mjs +1 -0
  308. package/dist/chunks/hooks-1.1.19-b2x6yc66.mjs +79 -0
  309. package/dist/chunks/ide-1.1.19-zf9hpj81.mjs +3 -0
  310. package/dist/chunks/image-processor-napi-1.1.19-1m270wr0.mjs +1 -0
  311. package/dist/chunks/inboundAttachments-1.1.19-h4bsnn75.mjs +1 -0
  312. package/dist/chunks/index-1.1.19-06ccpd87.mjs +1 -0
  313. package/dist/chunks/index-1.1.19-263v6qeb.mjs +1 -0
  314. package/dist/chunks/index-1.1.19-2d944pv5.mjs +1 -0
  315. package/dist/chunks/index-1.1.19-7ngy3yfc.mjs +9 -0
  316. package/dist/chunks/index-1.1.19-apzfwtnm.mjs +1 -0
  317. package/dist/chunks/index-1.1.19-efdm8cp5.mjs +30 -0
  318. package/dist/chunks/index-1.1.19-exbss9tj.mjs +1 -0
  319. package/dist/chunks/index-1.1.19-f53qyqj8.mjs +2 -0
  320. package/dist/chunks/index-1.1.19-fae0sgd8.mjs +5 -0
  321. package/dist/chunks/index-1.1.19-g4rv8gvj.mjs +2 -0
  322. package/dist/chunks/index-1.1.19-ha3e4f70.mjs +1 -0
  323. package/dist/chunks/index-1.1.19-ht9s8yra.mjs +9 -0
  324. package/dist/chunks/index-1.1.19-j9awq55c.mjs +1 -0
  325. package/dist/chunks/index-1.1.19-jdvmsx9x.mjs +1 -0
  326. package/dist/chunks/index-1.1.19-ks262nbe.mjs +1 -0
  327. package/dist/chunks/index-1.1.19-mppepmze.mjs +23 -0
  328. package/dist/chunks/index-1.1.19-nthw1gda.mjs +1 -0
  329. package/dist/chunks/index-1.1.19-rs8fazy9.mjs +1 -0
  330. package/dist/chunks/index-1.1.19-sze2q9g5.mjs +1 -0
  331. package/dist/chunks/index-1.1.19-vkfm4msr.mjs +1 -0
  332. package/dist/chunks/index-1.1.19-vs2nyqte.mjs +1 -0
  333. package/dist/chunks/index-1.1.19-z8fcr2ec.mjs +1 -0
  334. package/dist/chunks/index-1.1.19-zy7mntdp.mjs +1 -0
  335. package/dist/chunks/init-1.1.19-8d53tmw6.mjs +1 -0
  336. package/dist/chunks/initReplBridge-1.1.19-p00njb6f.mjs +1 -0
  337. package/dist/chunks/ink-1.1.19-vr4g8jdg.mjs +1 -0
  338. package/dist/chunks/insights-1.1.19-6ag4d7qh.mjs +870 -0
  339. package/dist/chunks/install-1.1.19-74g8qyvc.mjs +1 -0
  340. package/dist/chunks/install-github-app-1.1.19-3nj645m2.mjs +149 -0
  341. package/dist/chunks/install-slack-app-1.1.19-sw02tcfh.mjs +1 -0
  342. package/dist/chunks/instrumentation-1.1.19-fshq5kr2.mjs +1 -0
  343. package/dist/chunks/interactiveHelpers-1.1.19-npmh2sbc.mjs +1 -0
  344. package/dist/chunks/keybindings-1.1.19-xy665r7j.mjs +2 -0
  345. package/dist/chunks/knowledge-1.1.19-e4pdfkhx.mjs +2 -0
  346. package/dist/chunks/latestVersionCache-1.1.19-fktnyx5h.mjs +1 -0
  347. package/dist/chunks/loadAgentsDir-1.1.19-j4732ykz.mjs +1 -0
  348. package/dist/chunks/loadPluginHooks-1.1.19-99a4nfjq.mjs +1 -0
  349. package/dist/chunks/log-1.1.19-y3spcye6.mjs +1 -0
  350. package/dist/chunks/main-1.1.19-06jy3aye.mjs +1 -0
  351. package/dist/chunks/managedEnv-1.1.19-19k3jdqh.mjs +1 -0
  352. package/dist/chunks/mcp-1.1.19-833sdc7d.mjs +17 -0
  353. package/dist/chunks/mcp-1.1.19-x0sfjzjt.mjs +1 -0
  354. package/dist/chunks/mcp-1.1.19-z5x59bca.mjs +4 -0
  355. package/dist/chunks/mcpb-1.1.19-bbswp853.mjs +1 -0
  356. package/dist/chunks/memory-1.1.19-d1ke4kha.mjs +72 -0
  357. package/dist/chunks/model-1.1.19-sm0ftpna.mjs +1 -0
  358. package/dist/chunks/model-1.1.19-v68fjcdh.mjs +2 -0
  359. package/dist/chunks/node-1.1.19-nj9qe6mk.mjs +12 -0
  360. package/dist/chunks/oauth-1.1.19-y016e4dk.mjs +1 -0
  361. package/dist/chunks/openaiShim-1.1.19-njr80kze.mjs +14 -0
  362. package/dist/chunks/output-style-1.1.19-rj9tfcg1.mjs +1 -0
  363. package/dist/chunks/package-KQCMZM5L-1.1.19-4f1z2hmg.mjs +1 -0
  364. package/dist/chunks/parseConnectUrl-1.1.19-qtk1xf04.mjs +1 -0
  365. package/dist/chunks/parser-1.1.19-sfrfy1dm.mjs +1 -0
  366. package/dist/chunks/passes-1.1.19-nhfrcsrb.mjs +1 -0
  367. package/dist/chunks/permissions-1.1.19-bfjnq5mz.mjs +1 -0
  368. package/dist/chunks/permissions-1.1.19-vzcjg874.mjs +3 -0
  369. package/dist/chunks/plan-1.1.19-qzr3m454.mjs +1 -0
  370. package/dist/chunks/plist-1.1.19-19wsvxjw.mjs +1 -0
  371. package/dist/chunks/plugin-1.1.19-p0h9mbar.mjs +29 -0
  372. package/dist/chunks/pluginStartupCheck-1.1.19-7pvtzbb1.mjs +1 -0
  373. package/dist/chunks/plugins-1.1.19-xrbe4y5a.mjs +9 -0
  374. package/dist/chunks/preActionHook-1.1.19-wfp4vavy.mjs +2 -0
  375. package/dist/chunks/print-1.1.19-rzw2njmz.mjs +57 -0
  376. package/dist/chunks/process-1.1.19-k7h4qsz0.mjs +1 -0
  377. package/dist/chunks/processBashCommand-1.1.19-p1ffejkb.mjs +1 -0
  378. package/dist/chunks/processSlashCommand-1.1.19-gy6nfdzs.mjs +9 -0
  379. package/dist/chunks/prompt-1.1.19-9aq4jr0c.mjs +1 -0
  380. package/dist/chunks/prompt-1.1.19-kkwb835d.mjs +1 -0
  381. package/dist/chunks/prompts-1.1.19-qq19kp1k.mjs +1 -0
  382. package/dist/chunks/protocolHandler-1.1.19-6n3sh10m.mjs +13 -0
  383. package/dist/chunks/provider-1.1.19-46f6x4wt.mjs +2 -0
  384. package/dist/chunks/providerProfiles-1.1.19-xxzvjngj.mjs +1 -0
  385. package/dist/chunks/providerValidation-1.1.19-t3qsn8f5.mjs +6 -0
  386. package/dist/chunks/rate-limit-options-1.1.19-j7xrp805.mjs +1 -0
  387. package/dist/chunks/registerSubcommands-1.1.19-v2jjs3tt.mjs +26 -0
  388. package/dist/chunks/registry-1.1.19-7chtcyjj.mjs +1 -0
  389. package/dist/chunks/release-notes-1.1.19-pbbxph7n.mjs +5 -0
  390. package/dist/chunks/reload-plugins-1.1.19-qgvazhrx.mjs +2 -0
  391. package/dist/chunks/remote-env-1.1.19-4ftd6zk8.mjs +1 -0
  392. package/dist/chunks/remoteBridgeCore-1.1.19-w92h77yd.mjs +1 -0
  393. package/dist/chunks/remoteSession-1.1.19-e5nd7ypy.mjs +1 -0
  394. package/dist/chunks/rename-1.1.19-zmextayk.mjs +1 -0
  395. package/dist/chunks/replBridgeHandle-1.1.19-4vqnj6br.mjs +1 -0
  396. package/dist/chunks/replLauncher-1.1.19-s2btrsvw.mjs +1 -0
  397. package/dist/chunks/resume-1.1.19-jn7pe69d.mjs +2 -0
  398. package/dist/chunks/rewind-1.1.19-rahxdd24.mjs +1 -0
  399. package/dist/chunks/rootOptions-1.1.19-hjwkw6vt.mjs +1 -0
  400. package/dist/chunks/runWorkflowHeadless-1.1.19-hjwsqxd5.mjs +10 -0
  401. package/dist/chunks/sandbox-adapter-1.1.19-4aqxxq3m.mjs +1 -0
  402. package/dist/chunks/sandbox-toggle-1.1.19-x2n1fkv0.mjs +1 -0
  403. package/dist/chunks/session-1.1.19-je5j810m.mjs +2 -0
  404. package/dist/chunks/sessionDiscovery-1.1.19-t595d3pg.mjs +1 -0
  405. package/dist/chunks/sessionFileAccessHooks-1.1.19-bng1xsd6.mjs +1 -0
  406. package/dist/chunks/sessionStorage-1.1.19-6agd7cfq.mjs +1 -0
  407. package/dist/chunks/settings-1.1.19-cpxbjwr6.mjs +1 -0
  408. package/dist/chunks/setup-1.1.19-11b5cjgj.mjs +12 -0
  409. package/dist/chunks/sinks-1.1.19-m4ce6s8b.mjs +1 -0
  410. package/dist/chunks/skills-1.1.19-scwgh73s.mjs +1 -0
  411. package/dist/chunks/startupProfiler-1.1.19-j0kpxw4n.mjs +1 -0
  412. package/dist/chunks/startupUpdateCheck-1.1.19-k05gx3h1.mjs +1 -0
  413. package/dist/chunks/state-1.1.19-r1dtdp9g.mjs +1 -0
  414. package/dist/chunks/stats-1.1.19-zwc97973.mjs +6 -0
  415. package/dist/chunks/status-1.1.19-8m7tf3e1.mjs +1 -0
  416. package/dist/chunks/stickers-1.1.19-51p3tyxv.mjs +1 -0
  417. package/dist/chunks/subprocessEnv-1.1.19-bq634ryk.mjs +1 -0
  418. package/dist/chunks/tasks-1.1.19-xtpcttgb.mjs +1 -0
  419. package/dist/chunks/teamHelpers-1.1.19-37de1g3x.mjs +1 -0
  420. package/dist/chunks/teammateModeSnapshot-1.1.19-0zaw34nq.mjs +1 -0
  421. package/dist/chunks/teleport-1.1.19-1yrce0fg.mjs +1 -0
  422. package/dist/chunks/terminalSetup-1.1.19-n3qgcbse.mjs +1 -0
  423. package/dist/chunks/theme-1.1.19-qfd87sgp.mjs +1 -0
  424. package/dist/chunks/thinkback-1.1.19-gss5am06.mjs +1 -0
  425. package/dist/chunks/thinkback-play-1.1.19-7j20scs3.mjs +1 -0
  426. package/dist/chunks/toolPool-1.1.19-tmtwkgcj.mjs +1 -0
  427. package/dist/chunks/toolSearch-1.1.19-01pt7axx.mjs +1 -0
  428. package/dist/chunks/tools-1.1.19-1y8gx9m2.mjs +1 -0
  429. package/dist/chunks/trustedDevice-1.1.19-d1avnq7v.mjs +1 -0
  430. package/dist/chunks/turndown.cjs-1.1.19-q8rxrnz3.mjs +69 -0
  431. package/dist/chunks/types-1.1.19-3n28bh66.mjs +1 -0
  432. package/dist/chunks/ultrareviewCommand-1.1.19-vhhfbsfg.mjs +4 -0
  433. package/dist/chunks/update-1.1.19-xzwgsapn.mjs +72 -0
  434. package/dist/chunks/upgrade-1.1.19-5ydc5rb9.mjs +1 -0
  435. package/dist/chunks/upload-1.1.19-evxky0ry.mjs +7 -0
  436. package/dist/chunks/upstreamproxy-1.1.19-6t7vnxjf.mjs +14 -0
  437. package/dist/chunks/url-handler-napi-1.1.19-zgpfdrf1.mjs +1 -0
  438. package/dist/chunks/usage-1.1.19-f61vnt3h.mjs +1 -0
  439. package/dist/chunks/util-1.1.19-yqzpdqqe.mjs +1 -0
  440. package/dist/chunks/utils-1.1.19-hhq6836h.mjs +1 -0
  441. package/dist/chunks/vim-1.1.19-k2aqex53.mjs +1 -0
  442. package/dist/chunks/watchLoop-1.1.19-e3ar1gjj.mjs +13 -0
  443. package/dist/chunks/watcher-1.1.19-09ahtfef.mjs +1 -0
  444. package/dist/chunks/wiki-1.1.19-h6tfdmnw.mjs +132 -0
  445. package/dist/chunks/workflows-1.1.19-kgd61yya.mjs +1 -0
  446. package/dist/chunks/worktree-1.1.19-8vn5pmy9.mjs +1 -0
  447. package/dist/chunks/worktreeModeEnabled-1.1.19-je6hz46c.mjs +1 -0
  448. package/dist/chunks/wrapper-1.1.19-dn4wk1mg.mjs +7 -0
  449. package/dist/cli.mjs +2 -2
  450. package/dist/help-doctor.txt +3 -3
  451. package/dist/help-install.txt +2 -2
  452. package/dist/help-mcp.txt +2 -2
  453. package/dist/help-plugin.txt +2 -2
  454. package/dist/help-plugins.txt +2 -2
  455. package/dist/help.txt +3 -3
  456. package/package.json +9 -9
  457. package/dist/chunks/AgentTool-1.1.17-c0szwp8n.mjs +0 -1
  458. package/dist/chunks/App-1.1.17-02e9gv69.mjs +0 -1
  459. package/dist/chunks/ApproveApiKey-1.1.17-jxfbym1r.mjs +0 -1
  460. package/dist/chunks/AssistantSessionChooser-1.1.17-6yp2beyh.mjs +0 -1
  461. package/dist/chunks/AutoModeOptInDialog-1.1.17-w9xsetq9.mjs +0 -1
  462. package/dist/chunks/BypassPermissionsModeDialog-1.1.17-84z0pr68.mjs +0 -1
  463. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.17-q46af0nw.mjs +0 -1
  464. package/dist/chunks/ConsoleOAuthFlow-1.1.17-ew4a8tt8.mjs +0 -1
  465. package/dist/chunks/DiffDialog-1.1.17-rmqcdxg8.mjs +0 -6
  466. package/dist/chunks/Doctor-1.1.17-hg2xast7.mjs +0 -1
  467. package/dist/chunks/ExplorerDialog-1.1.17-9bpc3q6s.mjs +0 -6
  468. package/dist/chunks/ITermBackend-1.1.17-k5e62crs.mjs +0 -1
  469. package/dist/chunks/InvalidConfigDialog-1.1.17-dsnkhped.mjs +0 -1
  470. package/dist/chunks/InvalidSettingsDialog-1.1.17-kvhxeef5.mjs +0 -1
  471. package/dist/chunks/MigrationDialog-1.1.17-a4rrxzp6.mjs +0 -1
  472. package/dist/chunks/Onboarding-1.1.17-4rfmem0t.mjs +0 -1
  473. package/dist/chunks/ProviderManager-1.1.17-e9mp9qde.mjs +0 -1
  474. package/dist/chunks/REPL-1.1.17-4wy9nbxj.mjs +0 -1
  475. package/dist/chunks/ResumeConversation-1.1.17-yqrt4v79.mjs +0 -1
  476. package/dist/chunks/SnapshotUpdateDialog-1.1.17-3sr5b9tz.mjs +0 -1
  477. package/dist/chunks/TeleportProgress-1.1.17-dkwbndzq.mjs +0 -1
  478. package/dist/chunks/TeleportRepoMismatchDialog-1.1.17-f8qa4fjm.mjs +0 -1
  479. package/dist/chunks/TeleportResumeWrapper-1.1.17-21kb50xj.mjs +0 -1
  480. package/dist/chunks/TmuxBackend-1.1.17-0kmr0pvg.mjs +0 -9
  481. package/dist/chunks/ToolSearchTool-1.1.17-8beq3avk.mjs +0 -1
  482. package/dist/chunks/TrustDialog-1.1.17-z786dzeg.mjs +0 -1
  483. package/dist/chunks/activeProvider-1.1.17-x2aq5sx0.mjs +0 -1
  484. package/dist/chunks/add-dir-1.1.17-2s13eqzw.mjs +0 -1
  485. package/dist/chunks/agentTypes-1.1.17-ct1sy6xb.mjs +0 -1
  486. package/dist/chunks/agents-1.1.17-550b7p8x.mjs +0 -110
  487. package/dist/chunks/agents-1.1.17-r5c8tpkr.mjs +0 -3
  488. package/dist/chunks/api-1.1.17-75x5tmes.mjs +0 -1
  489. package/dist/chunks/asciicast-1.1.17-79trcjfv.mjs +0 -1
  490. package/dist/chunks/assistant-1.1.17-dbbtqfan.mjs +0 -1
  491. package/dist/chunks/auth-1.1.17-8f3fach8.mjs +0 -1
  492. package/dist/chunks/auth-1.1.17-m8h26316.mjs +0 -1
  493. package/dist/chunks/autoMode-1.1.17-qc59qrkd.mjs +0 -52
  494. package/dist/chunks/autoModeSetup-1.1.17-eget172p.mjs +0 -44
  495. package/dist/chunks/autoUpdater-1.1.17-hn3tt3zt.mjs +0 -1
  496. package/dist/chunks/backgroundHousekeeping-1.1.17-v11kpga8.mjs +0 -1
  497. package/dist/chunks/branch-1.1.17-w3zktkvs.mjs +0 -4
  498. package/dist/chunks/bridge-1.1.17-x5r3w789.mjs +0 -2
  499. package/dist/chunks/bridgeConfig-1.1.17-kce97mnv.mjs +0 -1
  500. package/dist/chunks/bridgeEnabled-1.1.17-75j54src.mjs +0 -1
  501. package/dist/chunks/bridgeMain-1.1.17-4mqk6cqv.mjs +0 -88
  502. package/dist/chunks/bridgePointer-1.1.17-tnq9hpp2.mjs +0 -1
  503. package/dist/chunks/btw-1.1.17-45g5jhjr.mjs +0 -1
  504. package/dist/chunks/buddy-1.1.17-axejc0a1.mjs +0 -3
  505. package/dist/chunks/cache-probe-1.1.17-x0n3bj9h.mjs +0 -21
  506. package/dist/chunks/cacheStats-1.1.17-54ab6ndm.mjs +0 -4
  507. package/dist/chunks/caches-1.1.17-tqxvw7fb.mjs +0 -1
  508. package/dist/chunks/claudeDesktop-1.1.17-rrzswj35.mjs +0 -1
  509. package/dist/chunks/claudemd-1.1.17-y5mkq5gq.mjs +0 -1
  510. package/dist/chunks/clear-1.1.17-6eyrsqrw.mjs +0 -1
  511. package/dist/chunks/clearTerminal-1.1.17-22ezdweq.mjs +0 -1
  512. package/dist/chunks/cli-1.1.17-0511dy9y.mjs +0 -2
  513. package/dist/chunks/cli-1.1.17-06mdd80y.mjs +0 -2
  514. package/dist/chunks/cli-1.1.17-09c1vkqx.mjs +0 -2
  515. package/dist/chunks/cli-1.1.17-0d7fthp5.mjs +0 -58
  516. package/dist/chunks/cli-1.1.17-0p0ak3zs.mjs +0 -2
  517. package/dist/chunks/cli-1.1.17-18k7783y.mjs +0 -20
  518. package/dist/chunks/cli-1.1.17-1fvh83yv.mjs +0 -7
  519. package/dist/chunks/cli-1.1.17-1nxc4dk2.mjs +0 -12
  520. package/dist/chunks/cli-1.1.17-1v8knfbw.mjs +0 -2
  521. package/dist/chunks/cli-1.1.17-1w1dgmsf.mjs +0 -5
  522. package/dist/chunks/cli-1.1.17-2b4keqra.mjs +0 -4
  523. package/dist/chunks/cli-1.1.17-2bc3gqw5.mjs +0 -6
  524. package/dist/chunks/cli-1.1.17-2jv9761d.mjs +0 -2
  525. package/dist/chunks/cli-1.1.17-2pvpn49s.mjs +0 -3
  526. package/dist/chunks/cli-1.1.17-2spbpwrx.mjs +0 -2
  527. package/dist/chunks/cli-1.1.17-2szs1chw.mjs +0 -2
  528. package/dist/chunks/cli-1.1.17-2z1g2hjb.mjs +0 -4
  529. package/dist/chunks/cli-1.1.17-3bkjnp3z.mjs +0 -25
  530. package/dist/chunks/cli-1.1.17-3jqe0rga.mjs +0 -3
  531. package/dist/chunks/cli-1.1.17-3mtgr9ch.mjs +0 -3
  532. package/dist/chunks/cli-1.1.17-3r1p3ddm.mjs +0 -2
  533. package/dist/chunks/cli-1.1.17-3sy6b0hb.mjs +0 -4
  534. package/dist/chunks/cli-1.1.17-3v5m3zqf.mjs +0 -2
  535. package/dist/chunks/cli-1.1.17-3z8hnad1.mjs +0 -2
  536. package/dist/chunks/cli-1.1.17-40gj2tc0.mjs +0 -2
  537. package/dist/chunks/cli-1.1.17-40w0wha0.mjs +0 -2
  538. package/dist/chunks/cli-1.1.17-44fk8h9v.mjs +0 -6
  539. package/dist/chunks/cli-1.1.17-4cxy3tsf.mjs +0 -2
  540. package/dist/chunks/cli-1.1.17-4egkrc4y.mjs +0 -2
  541. package/dist/chunks/cli-1.1.17-4yvz970v.mjs +0 -2
  542. package/dist/chunks/cli-1.1.17-545688c0.mjs +0 -2
  543. package/dist/chunks/cli-1.1.17-5bbnw0z1.mjs +0 -2
  544. package/dist/chunks/cli-1.1.17-5ckk64dj.mjs +0 -3
  545. package/dist/chunks/cli-1.1.17-5eapymd7.mjs +0 -25
  546. package/dist/chunks/cli-1.1.17-5h6k67gj.mjs +0 -39
  547. package/dist/chunks/cli-1.1.17-5rfxkg0q.mjs +0 -2
  548. package/dist/chunks/cli-1.1.17-5ytk3hr5.mjs +0 -2
  549. package/dist/chunks/cli-1.1.17-60mezybh.mjs +0 -2
  550. package/dist/chunks/cli-1.1.17-62yjss1h.mjs +0 -2
  551. package/dist/chunks/cli-1.1.17-66c4sw6g.mjs +0 -2
  552. package/dist/chunks/cli-1.1.17-6e7rvf1a.mjs +0 -2
  553. package/dist/chunks/cli-1.1.17-6ee0nqae.mjs +0 -2
  554. package/dist/chunks/cli-1.1.17-6gfvdt7y.mjs +0 -8
  555. package/dist/chunks/cli-1.1.17-6jzph4h7.mjs +0 -3
  556. package/dist/chunks/cli-1.1.17-6rx20w90.mjs +0 -2
  557. package/dist/chunks/cli-1.1.17-6wdwjtdj.mjs +0 -7
  558. package/dist/chunks/cli-1.1.17-6xnsg3vj.mjs +0 -2
  559. package/dist/chunks/cli-1.1.17-6yqbrqsj.mjs +0 -4
  560. package/dist/chunks/cli-1.1.17-787fk73v.mjs +0 -3
  561. package/dist/chunks/cli-1.1.17-7n4s8n50.mjs +0 -6
  562. package/dist/chunks/cli-1.1.17-848t1b19.mjs +0 -2
  563. package/dist/chunks/cli-1.1.17-85fga8dq.mjs +0 -2
  564. package/dist/chunks/cli-1.1.17-85mcc9n7.mjs +0 -2
  565. package/dist/chunks/cli-1.1.17-86a50dqm.mjs +0 -2
  566. package/dist/chunks/cli-1.1.17-8ae45qsd.mjs +0 -6
  567. package/dist/chunks/cli-1.1.17-8pkspqzx.mjs +0 -2
  568. package/dist/chunks/cli-1.1.17-8yryp8zt.mjs +0 -2
  569. package/dist/chunks/cli-1.1.17-91shm790.mjs +0 -2
  570. package/dist/chunks/cli-1.1.17-937ws80k.mjs +0 -2
  571. package/dist/chunks/cli-1.1.17-95kegjhq.mjs +0 -2
  572. package/dist/chunks/cli-1.1.17-9bq6vj3x.mjs +0 -2
  573. package/dist/chunks/cli-1.1.17-9dv8cb2e.mjs +0 -2
  574. package/dist/chunks/cli-1.1.17-9nvn8chy.mjs +0 -21
  575. package/dist/chunks/cli-1.1.17-9pb21bzq.mjs +0 -2
  576. package/dist/chunks/cli-1.1.17-9pv5wym1.mjs +0 -2
  577. package/dist/chunks/cli-1.1.17-9q30wadt.mjs +0 -17
  578. package/dist/chunks/cli-1.1.17-9rtpxyk6.mjs +0 -2
  579. package/dist/chunks/cli-1.1.17-9wgw338h.mjs +0 -2
  580. package/dist/chunks/cli-1.1.17-adz6qec3.mjs +0 -2
  581. package/dist/chunks/cli-1.1.17-amta49a1.mjs +0 -2
  582. package/dist/chunks/cli-1.1.17-amvnbvkb.mjs +0 -66
  583. package/dist/chunks/cli-1.1.17-arwr4e36.mjs +0 -2
  584. package/dist/chunks/cli-1.1.17-av45k1a0.mjs +0 -15
  585. package/dist/chunks/cli-1.1.17-avc9ck1v.mjs +0 -2
  586. package/dist/chunks/cli-1.1.17-b1g8n716.mjs +0 -2
  587. package/dist/chunks/cli-1.1.17-b5btm8nn.mjs +0 -5
  588. package/dist/chunks/cli-1.1.17-b6178p3e.mjs +0 -2
  589. package/dist/chunks/cli-1.1.17-bg6qdrwm.mjs +0 -2
  590. package/dist/chunks/cli-1.1.17-bj81ampw.mjs +0 -3
  591. package/dist/chunks/cli-1.1.17-brvf3613.mjs +0 -3
  592. package/dist/chunks/cli-1.1.17-bw27qnmm.mjs +0 -2
  593. package/dist/chunks/cli-1.1.17-bw4gf7se.mjs +0 -2
  594. package/dist/chunks/cli-1.1.17-bzw849yw.mjs +0 -2
  595. package/dist/chunks/cli-1.1.17-c4wdrmzx.mjs +0 -3
  596. package/dist/chunks/cli-1.1.17-c858dzpc.mjs +0 -2
  597. package/dist/chunks/cli-1.1.17-cddbmrdk.mjs +0 -2
  598. package/dist/chunks/cli-1.1.17-cek6be4z.mjs +0 -15
  599. package/dist/chunks/cli-1.1.17-chsbt03k.mjs +0 -2
  600. package/dist/chunks/cli-1.1.17-cnp784zh.mjs +0 -2
  601. package/dist/chunks/cli-1.1.17-ct0r352g.mjs +0 -2
  602. package/dist/chunks/cli-1.1.17-cvtpmgr1.mjs +0 -16
  603. package/dist/chunks/cli-1.1.17-d24yw7cv.mjs +0 -50
  604. package/dist/chunks/cli-1.1.17-d8zh7smn.mjs +0 -3
  605. package/dist/chunks/cli-1.1.17-d9y6k8vc.mjs +0 -2
  606. package/dist/chunks/cli-1.1.17-db7epgkw.mjs +0 -2
  607. package/dist/chunks/cli-1.1.17-dhbj7k9k.mjs +0 -2
  608. package/dist/chunks/cli-1.1.17-dp5q3hgg.mjs +0 -2
  609. package/dist/chunks/cli-1.1.17-e8bd5mhc.mjs +0 -2
  610. package/dist/chunks/cli-1.1.17-egp0jwn1.mjs +0 -6
  611. package/dist/chunks/cli-1.1.17-ete62cd3.mjs +0 -2
  612. package/dist/chunks/cli-1.1.17-evytxpaj.mjs +0 -4
  613. package/dist/chunks/cli-1.1.17-f0f3ww1e.mjs +0 -2
  614. package/dist/chunks/cli-1.1.17-f29ngxbd.mjs +0 -2
  615. package/dist/chunks/cli-1.1.17-f4eghwer.mjs +0 -2
  616. package/dist/chunks/cli-1.1.17-fc8raa73.mjs +0 -2
  617. package/dist/chunks/cli-1.1.17-fc9ah2rx.mjs +0 -2
  618. package/dist/chunks/cli-1.1.17-fn3aawry.mjs +0 -2
  619. package/dist/chunks/cli-1.1.17-fpt9fhj3.mjs +0 -2
  620. package/dist/chunks/cli-1.1.17-frwjbpkz.mjs +0 -12
  621. package/dist/chunks/cli-1.1.17-fzsavwtg.mjs +0 -133
  622. package/dist/chunks/cli-1.1.17-g02c88z9.mjs +0 -2
  623. package/dist/chunks/cli-1.1.17-g0r7knn3.mjs +0 -9
  624. package/dist/chunks/cli-1.1.17-g8x1ae0n.mjs +0 -2
  625. package/dist/chunks/cli-1.1.17-gbx2evhw.mjs +0 -2
  626. package/dist/chunks/cli-1.1.17-gjjv9pf2.mjs +0 -2
  627. package/dist/chunks/cli-1.1.17-grwds6h6.mjs +0 -2
  628. package/dist/chunks/cli-1.1.17-gy86radb.mjs +0 -6
  629. package/dist/chunks/cli-1.1.17-gz7gazer.mjs +0 -2
  630. package/dist/chunks/cli-1.1.17-h68j8yr4.mjs +0 -2
  631. package/dist/chunks/cli-1.1.17-h899gx3g.mjs +0 -59
  632. package/dist/chunks/cli-1.1.17-hk50rvfx.mjs +0 -2
  633. package/dist/chunks/cli-1.1.17-hv7vtr92.mjs +0 -2
  634. package/dist/chunks/cli-1.1.17-j0rsgbr3.mjs +0 -2
  635. package/dist/chunks/cli-1.1.17-j7w7vk9q.mjs +0 -4
  636. package/dist/chunks/cli-1.1.17-ja7d18ym.mjs +0 -2
  637. package/dist/chunks/cli-1.1.17-jbmze4s1.mjs +0 -3
  638. package/dist/chunks/cli-1.1.17-jd6hwz1t.mjs +0 -18
  639. package/dist/chunks/cli-1.1.17-jfrmnvzh.mjs +0 -42
  640. package/dist/chunks/cli-1.1.17-jmhry9pe.mjs +0 -2
  641. package/dist/chunks/cli-1.1.17-jyzpxwq4.mjs +0 -2
  642. package/dist/chunks/cli-1.1.17-k2ygh79g.mjs +0 -24
  643. package/dist/chunks/cli-1.1.17-k4cv7tcx.mjs +0 -2
  644. package/dist/chunks/cli-1.1.17-k6xg5a3t.mjs +0 -2
  645. package/dist/chunks/cli-1.1.17-kasvn1wv.mjs +0 -2
  646. package/dist/chunks/cli-1.1.17-kdycyp8n.mjs +0 -4
  647. package/dist/chunks/cli-1.1.17-kjk1ddpc.mjs +0 -2
  648. package/dist/chunks/cli-1.1.17-kk19mmhc.mjs +0 -17
  649. package/dist/chunks/cli-1.1.17-krb62aen.mjs +0 -2
  650. package/dist/chunks/cli-1.1.17-mc6hgzsa.mjs +0 -4
  651. package/dist/chunks/cli-1.1.17-mvgrc9gx.mjs +0 -2
  652. package/dist/chunks/cli-1.1.17-n2dct122.mjs +0 -2
  653. package/dist/chunks/cli-1.1.17-n4xn5c5m.mjs +0 -34
  654. package/dist/chunks/cli-1.1.17-nes161na.mjs +0 -2
  655. package/dist/chunks/cli-1.1.17-nhn5qa9g.mjs +0 -45
  656. package/dist/chunks/cli-1.1.17-nr1fn5ws.mjs +0 -2
  657. package/dist/chunks/cli-1.1.17-p7mq618q.mjs +0 -2
  658. package/dist/chunks/cli-1.1.17-phaqkjy5.mjs +0 -3
  659. package/dist/chunks/cli-1.1.17-pmner0m4.mjs +0 -206
  660. package/dist/chunks/cli-1.1.17-q6fve29k.mjs +0 -2
  661. package/dist/chunks/cli-1.1.17-q7f9amqd.mjs +0 -2
  662. package/dist/chunks/cli-1.1.17-qr727b7j.mjs +0 -18
  663. package/dist/chunks/cli-1.1.17-qwkbwe37.mjs +0 -2
  664. package/dist/chunks/cli-1.1.17-r47egjp3.mjs +0 -2
  665. package/dist/chunks/cli-1.1.17-rak849bn.mjs +0 -3
  666. package/dist/chunks/cli-1.1.17-rgzfxape.mjs +0 -2
  667. package/dist/chunks/cli-1.1.17-rpac3qey.mjs +0 -2
  668. package/dist/chunks/cli-1.1.17-rv9n4f0j.mjs +0 -2
  669. package/dist/chunks/cli-1.1.17-ry9v8zr7.mjs +0 -2
  670. package/dist/chunks/cli-1.1.17-s0w3hc9t.mjs +0 -4
  671. package/dist/chunks/cli-1.1.17-s6rzrasx.mjs +0 -2
  672. package/dist/chunks/cli-1.1.17-s9617g9k.mjs +0 -2
  673. package/dist/chunks/cli-1.1.17-sa6xwtgz.mjs +0 -1
  674. package/dist/chunks/cli-1.1.17-sekbxc10.mjs +0 -24
  675. package/dist/chunks/cli-1.1.17-sf4te5vd.mjs +0 -2
  676. package/dist/chunks/cli-1.1.17-sh93pnws.mjs +0 -2
  677. package/dist/chunks/cli-1.1.17-spygywkr.mjs +0 -2
  678. package/dist/chunks/cli-1.1.17-sqnbm5cb.mjs +0 -2
  679. package/dist/chunks/cli-1.1.17-ss5f6ezq.mjs +0 -2
  680. package/dist/chunks/cli-1.1.17-ssjqqbnv.mjs +0 -2
  681. package/dist/chunks/cli-1.1.17-sx4yg7br.mjs +0 -2
  682. package/dist/chunks/cli-1.1.17-sxvjn3ne.mjs +0 -2
  683. package/dist/chunks/cli-1.1.17-t059h154.mjs +0 -2
  684. package/dist/chunks/cli-1.1.17-tcxq0ah8.mjs +0 -2
  685. package/dist/chunks/cli-1.1.17-tjtarhk9.mjs +0 -5408
  686. package/dist/chunks/cli-1.1.17-tkz7x0rj.mjs +0 -2
  687. package/dist/chunks/cli-1.1.17-vewrwcsz.mjs +0 -2
  688. package/dist/chunks/cli-1.1.17-vj9h10jw.mjs +0 -2
  689. package/dist/chunks/cli-1.1.17-vpgxna04.mjs +0 -2
  690. package/dist/chunks/cli-1.1.17-vya6g1gj.mjs +0 -2
  691. package/dist/chunks/cli-1.1.17-vzhs0tcz.mjs +0 -2
  692. package/dist/chunks/cli-1.1.17-w70hp8av.mjs +0 -2
  693. package/dist/chunks/cli-1.1.17-w8ycz611.mjs +0 -4
  694. package/dist/chunks/cli-1.1.17-w9jr2baa.mjs +0 -2
  695. package/dist/chunks/cli-1.1.17-wmy7x7p1.mjs +0 -3
  696. package/dist/chunks/cli-1.1.17-wpw25vs3.mjs +0 -2
  697. package/dist/chunks/cli-1.1.17-xmwmqrg5.mjs +0 -2
  698. package/dist/chunks/cli-1.1.17-xpxk1a24.mjs +0 -2
  699. package/dist/chunks/cli-1.1.17-xqsq5e1g.mjs +0 -2
  700. package/dist/chunks/cli-1.1.17-xr6d85ak.mjs +0 -24
  701. package/dist/chunks/cli-1.1.17-xyvhfz5c.mjs +0 -133
  702. package/dist/chunks/cli-1.1.17-y590316j.mjs +0 -2
  703. package/dist/chunks/cli-1.1.17-y9v9t43m.mjs +0 -2
  704. package/dist/chunks/cli-1.1.17-yc5h2t8c.mjs +0 -2
  705. package/dist/chunks/cli-1.1.17-yexr9jg1.mjs +0 -2
  706. package/dist/chunks/cli-1.1.17-ymeaeqf8.mjs +0 -15
  707. package/dist/chunks/cli-1.1.17-ys4xrvjv.mjs +0 -2
  708. package/dist/chunks/cli-1.1.17-yzm3tm0n.mjs +0 -2
  709. package/dist/chunks/cli-1.1.17-z3nzbxwq.mjs +0 -24
  710. package/dist/chunks/cli-1.1.17-z8hph2r6.mjs +0 -2
  711. package/dist/chunks/cli-1.1.17-zeqbjpg8.mjs +0 -2
  712. package/dist/chunks/cli-1.1.17-znjf3r1w.mjs +0 -2
  713. package/dist/chunks/cli-1.1.17-zs8ffrtz.mjs +0 -9
  714. package/dist/chunks/cli-1.1.17-zsygz35e.mjs +0 -2
  715. package/dist/chunks/client-1.1.17-nagqj7bf.mjs +0 -1
  716. package/dist/chunks/color-1.1.17-p6y05fhc.mjs +0 -1
  717. package/dist/chunks/compact-1.1.17-pzzrynbb.mjs +0 -3
  718. package/dist/chunks/config-1.1.17-m2ajzt0e.mjs +0 -1
  719. package/dist/chunks/config-1.1.17-wmdy8158.mjs +0 -1
  720. package/dist/chunks/constants-1.1.17-v8sj602z.mjs +0 -1
  721. package/dist/chunks/context-1.1.17-7e2bk0as.mjs +0 -1
  722. package/dist/chunks/context-noninteractive-1.1.17-e84cts6x.mjs +0 -1
  723. package/dist/chunks/conversation-1.1.17-9xvxk3r2.mjs +0 -1
  724. package/dist/chunks/copilotHeaders-1.1.17-fqvd03w0.mjs +0 -1
  725. package/dist/chunks/copy-1.1.17-easn9kr0.mjs +0 -9
  726. package/dist/chunks/cost-1.1.17-nxtewzxf.mjs +0 -1
  727. package/dist/chunks/createSSHSession-1.1.17-6ewgn22a.mjs +0 -1
  728. package/dist/chunks/createSession-1.1.17-86r1zzgv.mjs +0 -1
  729. package/dist/chunks/debug-1.1.17-z47bgb2r.mjs +0 -1
  730. package/dist/chunks/defaultActionDeps-1.1.17-jf0axhv5.mjs +0 -1534
  731. package/dist/chunks/desktop-1.1.17-a995qrj4.mjs +0 -1
  732. package/dist/chunks/detectRepository-1.1.17-a8w7dp77.mjs +0 -1
  733. package/dist/chunks/detection-1.1.17-rm57w2ve.mjs +0 -1
  734. package/dist/chunks/diff-1.1.17-nhrc58mf.mjs +0 -1
  735. package/dist/chunks/doctor-1.1.17-fbcrp14n.mjs +0 -1
  736. package/dist/chunks/doctorDiagnostic-1.1.17-e8d49da2.mjs +0 -1
  737. package/dist/chunks/earlyInput-1.1.17-tb2wa4gd.mjs +0 -1
  738. package/dist/chunks/effort-1.1.17-exyt2hn8.mjs +0 -13
  739. package/dist/chunks/engine-1.1.17-amrae3h8.mjs +0 -1
  740. package/dist/chunks/envLessBridgeConfig-1.1.17-cxcxqyr2.mjs +0 -1
  741. package/dist/chunks/envUtils-1.1.17-74s3e3r7.mjs +0 -1
  742. package/dist/chunks/environmentSelection-1.1.17-r6fm53e4.mjs +0 -1
  743. package/dist/chunks/environments-1.1.17-eefk71xc.mjs +0 -1
  744. package/dist/chunks/errors-1.1.17-f3hxdv36.mjs +0 -1
  745. package/dist/chunks/exampleCommands-1.1.17-fq7g2dra.mjs +0 -1
  746. package/dist/chunks/execFileNoThrow-1.1.17-b5j6ewkj.mjs +0 -1
  747. package/dist/chunks/exit-1.1.17-69eys61s.mjs +0 -1
  748. package/dist/chunks/explorer-1.1.17-9rnyanfh.mjs +0 -1
  749. package/dist/chunks/export-1.1.17-ftdkrgt6.mjs +0 -2
  750. package/dist/chunks/extra-usage-1.1.17-4d5r749p.mjs +0 -1
  751. package/dist/chunks/extra-usage-noninteractive-1.1.17-pfnqg70z.mjs +0 -1
  752. package/dist/chunks/fast-1.1.17-6fhr21cx.mjs +0 -1
  753. package/dist/chunks/feedback-1.1.17-xsv4a0hk.mjs +0 -14
  754. package/dist/chunks/firstPartyEventLogger-1.1.17-ysw58c2m.mjs +0 -1
  755. package/dist/chunks/git-1.1.17-1t4mvmwy.mjs +0 -1
  756. package/dist/chunks/githubModelsCredentials-1.1.17-em3pctn6.mjs +0 -1
  757. package/dist/chunks/goal-1.1.17-b6r6rv34.mjs +0 -4
  758. package/dist/chunks/growthbook-1.1.17-d41p6v8e.mjs +0 -1
  759. package/dist/chunks/headless-1.1.17-3gds2arn.mjs +0 -2
  760. package/dist/chunks/heapdump-1.1.17-42928w6t.mjs +0 -6
  761. package/dist/chunks/help-1.1.17-1ex6d9m1.mjs +0 -1
  762. package/dist/chunks/hookChains-1.1.17-4trtr6n3.mjs +0 -3
  763. package/dist/chunks/hooks-1.1.17-brmzj93f.mjs +0 -1
  764. package/dist/chunks/hooks-1.1.17-tmmp968z.mjs +0 -79
  765. package/dist/chunks/ide-1.1.17-7bswgmqh.mjs +0 -3
  766. package/dist/chunks/image-processor-napi-1.1.17-f4q4ze0f.mjs +0 -1
  767. package/dist/chunks/inboundAttachments-1.1.17-bqseg6s7.mjs +0 -1
  768. package/dist/chunks/index-1.1.17-1cxekw2k.mjs +0 -2
  769. package/dist/chunks/index-1.1.17-3bhv85t6.mjs +0 -2
  770. package/dist/chunks/index-1.1.17-3kw30gq5.mjs +0 -1
  771. package/dist/chunks/index-1.1.17-41dwzfym.mjs +0 -1
  772. package/dist/chunks/index-1.1.17-58sa6nbn.mjs +0 -1
  773. package/dist/chunks/index-1.1.17-5vmgm515.mjs +0 -9
  774. package/dist/chunks/index-1.1.17-72ghmm5v.mjs +0 -1
  775. package/dist/chunks/index-1.1.17-9zas5tn3.mjs +0 -23
  776. package/dist/chunks/index-1.1.17-c7n4hj5n.mjs +0 -1
  777. package/dist/chunks/index-1.1.17-dg0mbe1h.mjs +0 -1
  778. package/dist/chunks/index-1.1.17-dzt8xwy0.mjs +0 -1
  779. package/dist/chunks/index-1.1.17-gwp2t0ev.mjs +0 -5
  780. package/dist/chunks/index-1.1.17-j516ern1.mjs +0 -1
  781. package/dist/chunks/index-1.1.17-j5qnmjd0.mjs +0 -30
  782. package/dist/chunks/index-1.1.17-m909k4gz.mjs +0 -1
  783. package/dist/chunks/index-1.1.17-mvtaa82m.mjs +0 -1
  784. package/dist/chunks/index-1.1.17-nntqe0vr.mjs +0 -1
  785. package/dist/chunks/index-1.1.17-nq9tejwj.mjs +0 -1
  786. package/dist/chunks/index-1.1.17-pfzch1bc.mjs +0 -1
  787. package/dist/chunks/index-1.1.17-q2g4m637.mjs +0 -9
  788. package/dist/chunks/index-1.1.17-s5nfh7xr.mjs +0 -1
  789. package/dist/chunks/index-1.1.17-tq1x9mdy.mjs +0 -1
  790. package/dist/chunks/index-1.1.17-vjbktr0m.mjs +0 -1
  791. package/dist/chunks/init-1.1.17-ezhe261a.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.1.17-bsr4ggsa.mjs +0 -1
  793. package/dist/chunks/ink-1.1.17-hnhzzxr4.mjs +0 -1
  794. package/dist/chunks/insights-1.1.17-8rkjk3qx.mjs +0 -870
  795. package/dist/chunks/install-1.1.17-bveeekwq.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.1.17-s7qpq92h.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.1.17-6p1tq8es.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.1.17-2n85eb8r.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.1.17-2qdgnemg.mjs +0 -1
  800. package/dist/chunks/keybindings-1.1.17-e93j288w.mjs +0 -2
  801. package/dist/chunks/knowledge-1.1.17-wzqw3mat.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.1.17-kpebzzy5.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.1.17-rwrehzjk.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.1.17-z6xentgs.mjs +0 -1
  805. package/dist/chunks/log-1.1.17-teh0b8bj.mjs +0 -1
  806. package/dist/chunks/main-1.1.17-4drs7spn.mjs +0 -1
  807. package/dist/chunks/managedEnv-1.1.17-01msjcq4.mjs +0 -1
  808. package/dist/chunks/mcp-1.1.17-c212g273.mjs +0 -17
  809. package/dist/chunks/mcp-1.1.17-fmad2143.mjs +0 -4
  810. package/dist/chunks/mcp-1.1.17-vkg3yyj4.mjs +0 -1
  811. package/dist/chunks/mcpb-1.1.17-2qj85kf9.mjs +0 -1
  812. package/dist/chunks/memory-1.1.17-xxzfp6m3.mjs +0 -72
  813. package/dist/chunks/model-1.1.17-6wangfaf.mjs +0 -1
  814. package/dist/chunks/model-1.1.17-phx3mpre.mjs +0 -2
  815. package/dist/chunks/node-1.1.17-vwaj3hha.mjs +0 -12
  816. package/dist/chunks/oauth-1.1.17-2h7zc57g.mjs +0 -1
  817. package/dist/chunks/openaiShim-1.1.17-x7d7rtnw.mjs +0 -14
  818. package/dist/chunks/output-style-1.1.17-4dwyxd9d.mjs +0 -1
  819. package/dist/chunks/package-KQCMZM5L-1.1.17-hz04t8ab.mjs +0 -1
  820. package/dist/chunks/parseConnectUrl-1.1.17-47ed65x0.mjs +0 -1
  821. package/dist/chunks/parser-1.1.17-tsm4t6zj.mjs +0 -1
  822. package/dist/chunks/passes-1.1.17-kvh566r0.mjs +0 -1
  823. package/dist/chunks/permissions-1.1.17-2s1jj12g.mjs +0 -1
  824. package/dist/chunks/permissions-1.1.17-b96tjxsb.mjs +0 -3
  825. package/dist/chunks/plan-1.1.17-fphg1taz.mjs +0 -1
  826. package/dist/chunks/plist-1.1.17-be3b59s7.mjs +0 -1
  827. package/dist/chunks/plugin-1.1.17-wjwcjxt0.mjs +0 -29
  828. package/dist/chunks/pluginStartupCheck-1.1.17-y7rehbdx.mjs +0 -1
  829. package/dist/chunks/plugins-1.1.17-pvbs8x2d.mjs +0 -9
  830. package/dist/chunks/preActionHook-1.1.17-sz5peb61.mjs +0 -2
  831. package/dist/chunks/print-1.1.17-2tqpqffd.mjs +0 -57
  832. package/dist/chunks/process-1.1.17-edae57bn.mjs +0 -1
  833. package/dist/chunks/processBashCommand-1.1.17-8x8av07q.mjs +0 -1
  834. package/dist/chunks/processSlashCommand-1.1.17-p2hph3mq.mjs +0 -9
  835. package/dist/chunks/prompt-1.1.17-33ecsyvx.mjs +0 -1
  836. package/dist/chunks/prompt-1.1.17-pcxqswhq.mjs +0 -1
  837. package/dist/chunks/prompts-1.1.17-9s5a4vj5.mjs +0 -1
  838. package/dist/chunks/protocolHandler-1.1.17-eypg73tv.mjs +0 -13
  839. package/dist/chunks/provider-1.1.17-cq38y5y0.mjs +0 -2
  840. package/dist/chunks/providerProfiles-1.1.17-3mapa580.mjs +0 -1
  841. package/dist/chunks/providerValidation-1.1.17-v4be9pkn.mjs +0 -6
  842. package/dist/chunks/rate-limit-options-1.1.17-7akz78zn.mjs +0 -1
  843. package/dist/chunks/registerSubcommands-1.1.17-d8515h81.mjs +0 -26
  844. package/dist/chunks/registry-1.1.17-vmxj31fp.mjs +0 -1
  845. package/dist/chunks/release-notes-1.1.17-qfx2ydx0.mjs +0 -5
  846. package/dist/chunks/reload-plugins-1.1.17-bxmeccet.mjs +0 -2
  847. package/dist/chunks/remote-env-1.1.17-5zk7dhta.mjs +0 -1
  848. package/dist/chunks/remoteBridgeCore-1.1.17-dyyd9gpp.mjs +0 -1
  849. package/dist/chunks/remoteSession-1.1.17-2w7c374e.mjs +0 -1
  850. package/dist/chunks/rename-1.1.17-m9npwq9e.mjs +0 -1
  851. package/dist/chunks/replBridgeHandle-1.1.17-f73jbyc4.mjs +0 -1
  852. package/dist/chunks/replLauncher-1.1.17-89bw7egj.mjs +0 -1
  853. package/dist/chunks/resume-1.1.17-zcepac5h.mjs +0 -2
  854. package/dist/chunks/rewind-1.1.17-sz9gnvjb.mjs +0 -1
  855. package/dist/chunks/rootOptions-1.1.17-cz7wggw6.mjs +0 -1
  856. package/dist/chunks/runWorkflowHeadless-1.1.17-mv4m2dgh.mjs +0 -10
  857. package/dist/chunks/sandbox-adapter-1.1.17-mzhxrhy6.mjs +0 -1
  858. package/dist/chunks/sandbox-toggle-1.1.17-0055tx31.mjs +0 -1
  859. package/dist/chunks/session-1.1.17-58155tdb.mjs +0 -2
  860. package/dist/chunks/sessionDiscovery-1.1.17-jesa43e4.mjs +0 -1
  861. package/dist/chunks/sessionFileAccessHooks-1.1.17-v63nh4eq.mjs +0 -1
  862. package/dist/chunks/sessionStorage-1.1.17-db6eb6a0.mjs +0 -1
  863. package/dist/chunks/settings-1.1.17-r420yrj6.mjs +0 -1
  864. package/dist/chunks/setup-1.1.17-2c169kta.mjs +0 -12
  865. package/dist/chunks/sinks-1.1.17-qy1xy52h.mjs +0 -1
  866. package/dist/chunks/skills-1.1.17-179vy7j6.mjs +0 -1
  867. package/dist/chunks/startupProfiler-1.1.17-2jre48fe.mjs +0 -1
  868. package/dist/chunks/startupUpdateCheck-1.1.17-18vwb94e.mjs +0 -1
  869. package/dist/chunks/state-1.1.17-jj648yt9.mjs +0 -1
  870. package/dist/chunks/stats-1.1.17-87688vm6.mjs +0 -6
  871. package/dist/chunks/status-1.1.17-qfgx5stw.mjs +0 -1
  872. package/dist/chunks/stickers-1.1.17-6qwzrjbk.mjs +0 -1
  873. package/dist/chunks/subprocessEnv-1.1.17-agk55s1k.mjs +0 -1
  874. package/dist/chunks/tasks-1.1.17-kbw9ds53.mjs +0 -1
  875. package/dist/chunks/teamHelpers-1.1.17-4adaqsmb.mjs +0 -1
  876. package/dist/chunks/teammateModeSnapshot-1.1.17-9ts2pfkc.mjs +0 -1
  877. package/dist/chunks/teleport-1.1.17-bzmdxawh.mjs +0 -1
  878. package/dist/chunks/terminalSetup-1.1.17-dqhqjty9.mjs +0 -1
  879. package/dist/chunks/theme-1.1.17-85pv1732.mjs +0 -1
  880. package/dist/chunks/thinkback-1.1.17-hepbvmjv.mjs +0 -1
  881. package/dist/chunks/thinkback-play-1.1.17-v9aftsq7.mjs +0 -1
  882. package/dist/chunks/toolPool-1.1.17-9czwnxh0.mjs +0 -1
  883. package/dist/chunks/toolSearch-1.1.17-16zef2se.mjs +0 -1
  884. package/dist/chunks/tools-1.1.17-k9mnpc70.mjs +0 -1
  885. package/dist/chunks/trustedDevice-1.1.17-jh3tsws1.mjs +0 -1
  886. package/dist/chunks/turndown.cjs-1.1.17-nccrmbyj.mjs +0 -69
  887. package/dist/chunks/types-1.1.17-h1a2dqs3.mjs +0 -1
  888. package/dist/chunks/ultrareviewCommand-1.1.17-qcn2523f.mjs +0 -4
  889. package/dist/chunks/update-1.1.17-qrbvhrw3.mjs +0 -72
  890. package/dist/chunks/upgrade-1.1.17-5r2kvcht.mjs +0 -1
  891. package/dist/chunks/upload-1.1.17-9wg0zeh8.mjs +0 -7
  892. package/dist/chunks/upstreamproxy-1.1.17-g55vw948.mjs +0 -14
  893. package/dist/chunks/url-handler-napi-1.1.17-3z57zpg6.mjs +0 -1
  894. package/dist/chunks/usage-1.1.17-fpqbestm.mjs +0 -1
  895. package/dist/chunks/util-1.1.17-afkkcjd2.mjs +0 -1
  896. package/dist/chunks/utils-1.1.17-pmry0sgf.mjs +0 -1
  897. package/dist/chunks/vim-1.1.17-favcd60m.mjs +0 -1
  898. package/dist/chunks/watchLoop-1.1.17-8xwhaj6s.mjs +0 -13
  899. package/dist/chunks/watcher-1.1.17-1jrrt63m.mjs +0 -1
  900. package/dist/chunks/wiki-1.1.17-gsgtzkbe.mjs +0 -132
  901. package/dist/chunks/workflows-1.1.17-d88y5b3p.mjs +0 -1
  902. package/dist/chunks/worktree-1.1.17-aym2veht.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-1.1.17-e80q0zp5.mjs +0 -1
  904. package/dist/chunks/wrapper-1.1.17-mqzzgw84.mjs +0 -7
  905. /package/dist/chunks/{cli-1.1.17-wraax29e.mjs → cli-1.1.19-4tssw0qf.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.1.17-zhbqhsnh.mjs → cli-1.1.19-caqq41md.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.1.17-vecw37vp.mjs → cli-1.1.19-er0hdy0x.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.17-jbg9ze8v.mjs → cli-1.1.19-j2p355hg.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.17-83bggr64.mjs → cli-1.1.19-jepkkjbh.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.17-v5nv0awt.mjs → cli-1.1.19-mnfgg84d.mjs} +0 -0
@@ -1,4 +0,0 @@
1
- import{hg as IJ,ig as bQ}from"./cli-1.1.17-787fk73v.mjs";import{sg as eq,tg as sq,ug as aJ}from"./cli-1.1.17-1fvh83yv.mjs";import{vg as AJ,wg as OQ}from"./cli-1.1.17-w9jr2baa.mjs";import{xg as vJ,yg as AQ}from"./cli-1.1.17-kjk1ddpc.mjs";import{Ag as rJ,zg as nq}from"./cli-1.1.17-85mcc9n7.mjs";import{Bg as wq,Cg as tq,Dg as oJ}from"./cli-1.1.17-f4eghwer.mjs";import{Eg as bJ,Fg as hQ}from"./cli-1.1.17-xqsq5e1g.mjs";import{$Q as QJ,$t as wJ,BJ as hJ,CJ as OJ,DJ as WQ,Io as NJ,Jo as BQ,PT as Fq,ST as ZJ,VT as zJ,Yt as BJ,Zt as UQ,_t as UJ,_x as g,au as wQ,bR as qQ,by as FQ,cH as kq,dH as RQ,dp as h,eH as LJ,eU as QQ,ep as lq,fH as PJ,gH as WJ,hH as PQ,jy as pq,ky as jq,my as _q,ny as jJ,pR as Iq,sR as JQ}from"./cli-1.1.17-tjtarhk9.mjs";import{PU as FJ,RU as HJ,UU as HQ}from"./cli-1.1.17-ymeaeqf8.mjs";import{BW as LQ,xW as RJ}from"./cli-1.1.17-bzw849yw.mjs";import{BY as XJ,CY as XQ,FY as yJ,GY as yQ,OY as Cq,PY as NQ}from"./cli-1.1.17-yexr9jg1.mjs";import{$0 as N,CZ as Oq,G1 as bq,b1 as Q}from"./cli-1.1.17-h899gx3g.mjs";import{b4 as R,c4 as K,d4 as Z,e4 as c}from"./cli-1.1.17-545688c0.mjs";import{f4 as VQ}from"./cli-1.1.17-40gj2tc0.mjs";import{G6 as oq,N6 as KJ,e7 as iq,u7 as VJ,v7 as KQ}from"./cli-1.1.17-cvtpmgr1.mjs";import{Saa as YQ,Yda as GJ,jea as GQ,kda as aq,lda as gJ,oda as Aq,vaa as Mq,w_ as $,wda as xJ,x_ as zQ}from"./cli-1.1.17-pmner0m4.mjs";import{Jla as YJ,Ula as ZQ}from"./cli-1.1.17-db7epgkw.mjs";import{Ena as Hq,xra as rq}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as Bq,jta as Uq}from"./cli-1.1.17-6ee0nqae.mjs";function Tq(){let J=dq.c(2);if(!pq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=_q();if(G.length===0){V=null;break q}let Y=G.filter(cJ),X=G.filter(TJ);q=Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,color:Y.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(N,{children:[K(Q,{dimColor:!0,children:"Location: "}),K(Q,{dimColor:!0,children:jq()})]}),Z(N,{marginLeft:1,flexDirection:"column",marginTop:1,children:[Y.map(dJ),X.map(_J)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function _J(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function dJ(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function TJ(J){return J.severity==="warning"}function cJ(J){return J.severity==="error"}var dq;var cq=Uq(()=>{bq();jJ();c();dq=Bq(Oq(),1)});function gq(){let J=$q.c(2);if(!h.isSupportedPlatform())return null;if(!h.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=h.checkDependencies(),Y=G.errors.length>0,X=G.warnings.length>0;if(!Y&&!X){V=null;break q}q=Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",K(Q,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map($J),G.warnings.map(lJ),Y&&K(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function lJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function $J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var $q;var xq=Uq(()=>{bq();lq();c();$q=Bq(Oq(),1)});async function iJ(){let J=zJ(await ZJ());if(J.length===0)return null;let q=J.sort((G,Y)=>Y.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function nJ(J){if(!J)return null;let q=tq(J);if(q<=wq)return null;let V=J.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let X=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Iq(X)}}).sort((Y,X)=>X.tokens-Y.tokens),G=V.slice(0,5).map((Y)=>`${Y.name}: ~${Y.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function eJ(J,q,V){let G=J.filter((Y)=>Y.isMcp);if(G.length===0)return null;try{let Y=oq(),{mcpToolTokens:X,mcpToolDetails:U}=await QJ(J,q,V,Y);if(X<=l)return null;let B=new Map;for(let L of U){let x=L.name.split("__")[1]||"unknown",y=B.get(x)||{count:0,tokens:0};B.set(x,{count:y.count+1,tokens:y.tokens+L.tokens})}let H=Array.from(B.entries()).sort((L,w)=>w[1].tokens-L[1].tokens),z=H.slice(0,5).map(([L,w])=>`${L}: ${w.count} tools (~${w.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(Y){let X=G.reduce((U,B)=>{let H=(B.name?.length||0)+B.description.length;return U+Iq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function sJ(J){let q=await J(),V=h.isSandboxingEnabled()&&h.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let Y=G.flatMap((X)=>[`${aq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${Aq(G.length,"unreachable permission rule")} detected`,details:Y,currentValue:G.length,threshold:0}}async function tJ(){let J=Hq(),{findings:q}=await eq({root:J});if(q.length===0)return null;let V=q.filter((Y)=>Y.severity==="error"),G=q.map((Y)=>`${sq(J,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:V.length>0?"error":"warning",message:`${q.length} rule ${Aq(q.length,"file problem")} detected`,details:G,currentValue:q.length,threshold:0}}async function qJ(J,q,V){let[G,Y,X,U,B]=await Promise.all([iJ(),nJ(q),eJ(J,V,q),sJ(V),tJ()]);return{claudeMdWarning:G,agentWarning:Y,mcpWarning:X,unreachableRulesWarning:U,ruleFilesWarning:B}}var l=25000;var JJ=Uq(()=>{rq();JQ();qQ();QQ();iq();gJ();rJ();aJ();lq();oJ();xJ()});import{join as vq}from"path";function IQ(J){let q=Dq.c(8),{promise:V}=J,G=F.use(V);if(!G.latest){let B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=K(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=B;else B=q[0];return B}let Y;if(q[1]!==G.stable)Y=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=Y;else Y=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let U;if(q[5]!==Y||q[6]!==X)U=Z(R,{children:[Y,X]}),q[5]=Y,q[6]=X,q[7]=U;else U=q[7];return U}function xZ(J){let q=Dq.c(84),{onDone:V}=J,G=g(rQ),Y=g(xQ),X=g(gQ),U=g($Q);yJ();let B;if(q[0]!==Y)B=Y||[],q[0]=Y,q[1]=B;else B=q[1];let H=B,[z,L]=F.useState(null),[w,x]=F.useState(null),[y,MJ]=F.useState(null),[W,Sq]=F.useState(null),Rq=vJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=kq().then(cQ),q[2]=r;else r=q[2];let CJ=r,kJ=GJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Rq)a=Rq.filter(TQ),q[3]=Rq,q[4]=a;else a=q[4];let o=a,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:wJ,upperLimit:UJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:OJ,upperLimit:hJ},{name:"CLAUDIN_MAX_OUTPUT_TOKENS",...VJ(KJ())}].map(dQ).filter(_Q),q[5]=i;else i=q[5];let Eq=i,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{kq().then(L),(async()=>{let P=vq(YJ(),"agents"),fq=vq(Hq(),".claudin","agents"),{activeAgents:uq,allAgents:DJ,failedFiles:mq}=G,[SJ,EJ]=await Promise.all([Mq(P),Mq(fq)]),fJ={activeAgents:uq.map(jQ),userAgentsDir:P,projectAgentsDir:fq,userDirExists:SJ,projectDirExists:EJ,failedFiles:mq};x(fJ);let uJ=await qJ(H,{activeAgents:uq,allAgents:DJ,failedFiles:mq},async()=>X);if(MJ(uJ),LJ()){let hq=vq(RJ(),"claude","locks"),mJ=WJ(hq),pJ=PJ(hq);Sq({enabled:!0,locks:pJ,locksDir:hq,staleLocksCleaned:mJ})}else Sq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];F.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(XJ(qq,Jq),!z){let P;if(q[16]===Symbol.for("react.memo_cache_sentinel"))P=K(Cq,{children:K(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=P;else P=q[16];return P}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=K(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let b;if(q[21]!==z.packageManager)b=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=b;else b=q[22];let A;if(q[23]!==z.installationPath)A=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=A;else A=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let Lq=z.ripgrepStatus.working?"OK":"Not working",Pq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==Lq||q[30]!==Pq)M=Z(Q,{children:["└ Search: ",Lq," (",Pq,")"]}),q[29]=Lq,q[30]=Pq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(R,{children:[K(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),K(Q,{dimColor:!0,children:z.recommendation.split(`
3
- `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(R,{children:[K(Q,{}),K(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(pQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(R,{children:[K(Q,{}),z.warnings.map(mQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==o)S=o.length>0&&Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,children:"Invalid Settings"}),K(IJ,{errors:o})]}),q[38]=o,q[39]=S;else S=q[39];let E;if(q[40]!==O||q[41]!==b||q[42]!==A||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)E=Z(N,{flexDirection:"column",children:[Qq,O,b,A,I,v,M,C,k,D,S]}),q[40]=O,q[41]=b,q[42]=A,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=E;else E=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=K(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let Wq=z.packageManager?"Managed by package manager":z.autoUpdates,f;if(q[52]!==Wq)f=Z(Q,{children:["└ Auto-updates:"," ",Wq]}),q[52]=Wq,q[53]=f;else f=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",kJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=K(F.Suspense,{fallback:null,children:K(IQ,{promise:CJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Z(N,{flexDirection:"column",children:[Zq,f,u,zq,Yq]}),q[58]=f,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=K(gq,{}),Kq=K(bJ,{}),Vq=K(Tq,{}),Xq=Eq.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Environment Variables"}),Eq.map(uQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==W)p=W?.enabled&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Version Locks"}),W.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",W.staleLocksCleaned," stale lock(s)"]}),W.locks.length===0?K(Q,{dimColor:!0,children:"└ No active version locks"}):W.locks.map(fQ)]}),q[65]=W,q[66]=p;else p=q[66];let j;if(q[67]!==w)j=w?.failedFiles&&w.failedFiles.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",w.failedFiles.length," agent file(s):"]}),w.failedFiles.map(EQ)]}),q[67]=w,q[68]=j;else j=q[68];let _;if(q[69]!==U)_=U.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",U.length," plugin error(s) detected:"]}),U.map(SQ)]}),q[69]=U,q[70]=_;else _=q[70];let d;if(q[71]!==y)d=y?.unreachableRulesWarning&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.unreachableRulesWarning.message]})]}),y.unreachableRulesWarning.details.map(DQ)]}),q[71]=y,q[72]=d;else d=q[72];let T;if(q[73]!==y)T=y&&(y.claudeMdWarning||y.agentWarning||y.mcpWarning||y.ruleFilesWarning)&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Context Usage Warnings"}),y.claudeMdWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),y.claudeMdWarning.details.map(kQ)]}),y.agentWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),y.agentWarning.details.map(CQ)]}),y.mcpWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),y.mcpWarning.details.map(MQ)]}),y.ruleFilesWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:y.ruleFilesWarning.severity==="error"?"error":"warning",children:[$.warning," ",y.ruleFilesWarning.message]})]}),Z(Q,{children:[" ","└ Rules:"]}),y.ruleFilesWarning.details.map(vQ)]})]}),q[73]=y,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=K(N,{children:K(AJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Cq,{children:[E,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=E,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function CQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function kQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function DQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function SQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",NJ(J)]},q)}function EQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function fQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?K(Q,{children:"(running)"}):K(Q,{color:"warning",children:"(stale)"})]},q)}function uQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",K(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function mQ(J,q){return Z(N,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function pQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function jQ(J){return{agentType:J.agentType,source:J.source}}function _Q(J){return J.status!=="valid"}function dQ(J){let q=process.env[J.name],V=BJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function TQ(J){return J.mcpErrorMetadata===void 0}function cQ(J){return(J.installationType==="native"?HJ:FJ)().catch(lQ)}function lQ(){return{latest:null,stable:null}}function $Q(J){return J.plugins.errors}function gQ(J){return J.toolPermissionContext}function xQ(J){return J.mcp.tools}function rQ(J){return J.agentDefinitions}var Dq,F;var aQ=Uq(()=>{zQ();cq();hQ();KQ();iq();ZQ();rq();NQ();OQ();xq();bQ();AQ();yQ();bq();XQ();FQ();BQ();HQ();JJ();RQ();UQ();YQ();PQ();GQ();wQ();WQ();LQ();c();Dq=Bq(Oq(),1),F=Bq(VQ(),1)});
4
- export{xZ as fg,aQ as gg};
@@ -1,2 +0,0 @@
1
- import{IF as L,JF as h,Vx as J,Wx as Z,qH as z,rH as M}from"./cli-1.1.17-tjtarhk9.mjs";import{CZ as X}from"./cli-1.1.17-h899gx3g.mjs";import{f4 as W}from"./cli-1.1.17-40gj2tc0.mjs";import{Uqa as H,xra as V}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as D,jta as U}from"./cli-1.1.17-6ee0nqae.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
- export{v as xg,A as yg};
@@ -1,17 +0,0 @@
1
- import{C7 as x,I7 as K}from"./cli-1.1.17-cvtpmgr1.mjs";import{Yda as w,jea as J}from"./cli-1.1.17-pmner0m4.mjs";import{$ha as v,lia as I}from"./cli-1.1.17-gz7gazer.mjs";import{Mla as q,Ula as G}from"./cli-1.1.17-db7epgkw.mjs";import{jta as z}from"./cli-1.1.17-6ee0nqae.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDIN_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
2
-
3
- You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
4
-
5
- Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
6
-
7
- Also call advisor:
8
- - When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
9
- - When stuck -- errors recurring, approach not converging, results that don't fit.
10
- - When considering a change of approach.
11
-
12
- On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
13
-
14
- Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
15
-
16
- If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
17
- export{W as $U,k as aV,N as bV,X as cV,Z as dV,$ as eV,B as fV,D as gV,F as hV,O as iV};
@@ -1,2 +0,0 @@
1
- import{Jf as UG,Kf as RG,Mf as PJ}from"./cli-1.1.17-95kegjhq.mjs";import{$x as XJ,AG as QG,CG as uG,GN as qJ,HN as CG,JN as VJ,ON as mJ,ZM as WJ,_x as LG,bo as h,by as cG,co as jG,dO as mG,do as p,eo as MG,fo as r,gN as jJ,go as WG,hN as HJ,hO as pJ,jN as fG,jo as BG,kN as hG,ko as EJ,lN as TG,mN as dG,nI as JG,oI as ZJ,pN as NG,qG as YJ,rG as CJ,wN as iG}from"./cli-1.1.17-tjtarhk9.mjs";import{AY as zG,CY as TJ,FY as wG,GY as QJ,mY as LJ,nY as hJ}from"./cli-1.1.17-yexr9jg1.mjs";import{$0 as Y,BZ as AJ,CZ as bG,G1 as VG,LZ as DG,Z0 as m,b1 as Q,f1 as FG,v1 as JJ,wZ as GJ}from"./cli-1.1.17-h899gx3g.mjs";import{b4 as n,c4 as L,d4 as X,e4 as a}from"./cli-1.1.17-545688c0.mjs";import{f4 as $G}from"./cli-1.1.17-40gj2tc0.mjs";import{E4 as AG,F4 as dJ}from"./cli-1.1.17-2pvpn49s.mjs";import{P8 as gJ,x8 as eG}from"./cli-1.1.17-cvtpmgr1.mjs";import{Xca as yG,Yca as IG,Zca as KJ,_ga as sG,bha as _J,nda as kG,oda as zJ,w_ as S,wda as pG,x_ as rG}from"./cli-1.1.17-pmner0m4.mjs";import{Wja as gG,Xja as SJ}from"./cli-1.1.17-zeqbjpg8.mjs";import{$ja as bJ,Yja as C}from"./cli-1.1.17-h68j8yr4.mjs";import{Gla as tG,zla as HG}from"./cli-1.1.17-w8ycz611.mjs";import{fta as e,jta as GG}from"./cli-1.1.17-6ee0nqae.mjs";function KG(J){let G=oG.c(9),{serverToolsCount:Z,serverPromptsCount:z,serverResourcesCount:q}=J,H;if(G[0]!==z||G[1]!==q||G[2]!==Z){if(H=[],Z>0)H.push("tools");if(q>0)H.push("resources");if(z>0)H.push("prompts");G[0]=z,G[1]=q,G[2]=Z,G[3]=H}else H=G[3];let k;if(G[4]===Symbol.for("react.memo_cache_sentinel"))k=L(Q,{bold:!0,children:"Capabilities: "}),G[4]=k;else k=G[4];let W;if(G[5]!==H)W=H.length>0?L(r,{children:H}):"none",G[5]=H,G[6]=W;else W=G[6];let D;if(G[7]!==W)D=X(Y,{children:[k,L(Q,{color:"text",children:W})]}),G[7]=W,G[8]=D;else D=G[8];return D}var oG;var SG=GG(()=>{VG();WG();a();oG=e(bG(),1)});function EG(J,G){switch(J.client.type){case"connected":return{message:`Reconnected to ${G}.`,success:!0};case"needs-auth":return{message:`${G} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${G}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${G}.`,success:!1}}}function PG(J,G){let Z=J instanceof Error?J.message:String(J);return`Error reconnecting to ${G}: ${Z}`}var _G=()=>{};function OL({server:J,serverToolsCount:G,onViewTools:Z,onCancel:z,onComplete:q,borderless:H=!1}){let[k]=DG(),W=wG(),{columns:D}=LJ(),[I,U]=E.default.useState(!1),[$,R]=E.default.useState(null),_=LG((V)=>V.mcp),f=XJ(),[O,K]=E.default.useState(null),[P,w]=E.useState(!1),N=E.useRef(null),[g,j]=E.useState(!1),[c,T]=E.useState(null),[A,y]=E.useState(!1),[u,i]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),B=E.useRef(!1),[xG,XG]=E.useState(""),[DJ,wJ]=E.useState(0),[aG,nG]=E.useState(null);E.useEffect(()=>()=>{if(B.current=!0,N.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let YG=J.isAuthenticated||J.client.type==="connected"&&G>0,ZG=UG(),MJ=E.default.useCallback(async()=>{j(!1),T(null),w(!0);try{let V=await ZG(J.name),F=V.client.type==="connected";if(C("",{success:F}),F)q?.(`Authentication successful. Connected to ${J.name}.`);else if(V.client.type==="needs-auth")q?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else q?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}catch(V){C("",{success:!1}),q?.(PG(V,J.name))}finally{w(!1)}},[ZG,J.name,q]),fJ=E.default.useCallback(async()=>{await mG(J.name,{...J.config,scope:J.scope}),f((V)=>{let F=V.mcp.clients.map((t)=>t.name===J.name?{...t,type:"needs-auth"}:t),M=hG(V.mcp.tools,J.name),d=TG(V.mcp.commands,J.name),qG=dG(V.mcp.resources,J.name);return{...V,mcp:{...V.mcp,clients:F,tools:M,commands:d,resources:qG}}}),C("",{}),q?.(`Disconnected from ${J.name}.`),y(!1),i(null),v(!1)},[J.name,J.config,J.scope,f,q]);zG("confirm:no",()=>{N.current?.abort(),N.current=null,U(!1),K(null)},{context:"Confirmation",isActive:I}),zG("confirm:no",()=>{j(!1),T(null)},{context:"Confirmation",isActive:g}),zG("confirm:no",()=>{y(!1),i(null),v(!1)},{context:"Confirmation",isActive:A}),JJ((V,F)=>{if(F.return&&g)MJ();if(F.return&&A)if(l)fJ();else{let M=`${gG().CLAUDE_AI_ORIGIN}/settings/connectors`;i(M),v(!0),AG(M)}if(V==="c"&&!o){let M=O||c||u;if(M)GJ(M).then((d)=>{if(B.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let NJ=kG(String(J.name)),UJ=fG(_.commands,J.name).length,lG=RG(),RJ=E.default.useCallback(async()=>{let V=gG().CLAUDE_AI_ORIGIN,M=eG()?.organizationUuid,d;if(M&&J.config.type==="claudeai-proxy"&&J.config.id){let qG=J.config.id.startsWith("mcprs")?"mcpsrv"+J.config.id.slice(5):J.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${V}/api/organizations/${M}/mcp/start-auth/${qG}?product_surface=${t}`}else d=`${V}/settings/connectors`;T(d),j(!0),C("",{}),await AG(d)},[J.config]),OJ=E.default.useCallback(()=>{y(!0),C("",{})},[]),yJ=E.default.useCallback(async()=>{let V=J.client.type!=="disabled";try{if(await lG(J.name),J.config.type==="claudeai-proxy")C("",{new_state:V?"disabled":"enabled"});z()}catch(F){q?.(`Failed to ${V?"disable":"enable"} MCP server '${J.name}': ${HG(F)}`)}},[J.client.type,J.config.type,J.name,lG,z,q]),IJ=E.default.useCallback(async()=>{if(J.config.type==="claudeai-proxy")return;U(!0),R(null);let V=new AbortController;N.current=V;try{if(J.isAuthenticated&&J.config)await CG(J.name,J.config,{preserveStepUpState:!0});if(J.config){await VJ(J.name,J.config,K,V.signal,{onWaitingForCallback:(M)=>{nG(()=>M)}}),C("",{wasAuthenticated:J.isAuthenticated});let F=await ZG(J.name);if(F.client.type==="connected"){let M=YG?`Authentication successful. Reconnected to ${J.name}.`:`Authentication successful. Connected to ${J.name}.`;q?.(M)}else if(F.client.type==="needs-auth")q?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else sG(J.name,"Reconnection failed after authentication"),q?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof qJ))R(F.message)}finally{U(!1),N.current=null,nG(null),XG("")}},[J.isAuthenticated,J.config,J.name,q,ZG,YG]),BJ=async()=>{if(J.config.type==="claudeai-proxy")return;if(J.config)await CG(J.name,J.config),C("",{}),await mG(J.name,{...J.config,scope:J.scope}),f((V)=>{let F=V.mcp.clients.map((t)=>t.name===J.name?{...t,type:"failed"}:t),M=hG(V.mcp.tools,J.name),d=TG(V.mcp.commands,J.name),qG=dG(V.mcp.resources,J.name);return{...V,mcp:{...V.mcp,clients:F,tools:M,commands:d,resources:qG}}}),q?.(`Authentication cleared for ${J.name}.`)};if(I)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Authenticating with ",J.name,"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" A browser window will open for authentication"})]}),O&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:O})]}),I&&O&&aG&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),X(Y,{children:[X(Q,{dimColor:!0,children:["URL ",">"," "]}),L(YJ,{value:xG,onChange:XG,onSubmit:(F)=>{aG(F.trim()),XG("")},cursorOffset:DJ,onChangeCursorOffset:wJ,columns:D-8})]})]}),L(Y,{marginLeft:3,children:L(Q,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]});if(g)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Authenticating with ",J.name,"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" A browser window will open for authentication"})]}),c&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:c})]}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Clear authentication for ",J.name]}),l?X(n,{children:[L(Q,{children:'Find the MCP server in the browser and click "Disconnect".'}),u&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:u})]}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," when done."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):X(n,{children:[L(Q,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," to open the browser."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(P)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"text",children:["Connecting to ",L(Q,{bold:!0,children:J.name}),"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" Establishing connection to MCP server"})]}),L(Q,{dimColor:!0,children:"This may take a few moments."})]});let b=[];if(J.client.type==="disabled")b.push({label:"Enable",value:"toggle-enabled"});if(J.client.type==="connected"&&G>0)b.push({label:"View tools",value:"tools"});if(J.config.type==="claudeai-proxy"){if(J.client.type==="connected")b.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(J.client.type!=="disabled")b.push({label:"Authenticate",value:"claudeai-auth"})}else{if(YG)b.push({label:"Re-authenticate",value:"reauth"}),b.push({label:"Clear authentication",value:"clear-auth"});if(!YG)b.push({label:"Authenticate",value:"auth"})}if(J.client.type!=="disabled"){if(J.client.type!=="needs-auth")b.push({label:"Reconnect",value:"reconnectMcpServer"});b.push({label:"Disable",value:"toggle-enabled"})}if(b.length===0)b.push({label:"Back",value:"back"});return X(Y,{flexDirection:"column",children:[X(Y,{flexDirection:"column",paddingX:1,borderStyle:H?void 0:"round",children:[L(Y,{marginBottom:1,children:X(Q,{bold:!0,children:[NJ," MCP Server"]})}),X(Y,{flexDirection:"column",gap:0,children:[X(Y,{children:[L(Q,{bold:!0,children:"Status: "}),J.client.type==="disabled"?X(Q,{children:[m("inactive",k)(S.radioOff)," disabled"]}):J.client.type==="connected"?X(Q,{children:[m("success",k)(S.tick)," connected"]}):J.client.type==="pending"?X(n,{children:[L(Q,{dimColor:!0,children:S.radioOff}),L(Q,{children:" connecting…"})]}):J.client.type==="needs-auth"?X(Q,{children:[m("warning",k)(S.triangleUpOutline)," needs authentication"]}):X(Q,{children:[m("error",k)(S.cross)," failed"]})]}),J.transport!=="claudeai-proxy"&&X(Y,{children:[L(Q,{bold:!0,children:"Auth: "}),YG?X(Q,{children:[m("success",k)(S.tick)," authenticated"]}):X(Q,{children:[m("error",k)(S.cross)," not authenticated"]})]}),X(Y,{children:[L(Q,{bold:!0,children:"URL: "}),L(Q,{dimColor:!0,children:J.config.url})]}),X(Y,{children:[L(Q,{bold:!0,children:"Config location: "}),L(Q,{dimColor:!0,children:NG(J.scope)})]}),J.client.type==="connected"&&L(KG,{serverToolsCount:G,serverPromptsCount:UJ,serverResourcesCount:_.resources[J.name]?.length||0}),J.client.type==="connected"&&G>0&&X(Y,{children:[L(Q,{bold:!0,children:"Tools: "}),X(Q,{dimColor:!0,children:[G," tools"]})]})]}),$&&L(Y,{marginTop:1,children:X(Q,{color:"error",children:["Error: ",$]})}),b.length>0&&L(Y,{marginTop:1,children:L(QG,{options:b,onChange:async(V)=>{switch(V){case"tools":Z();break;case"auth":case"reauth":await IJ();break;case"clear-auth":await BJ();break;case"claudeai-auth":await RJ();break;case"claudeai-clear-auth":OJ();break;case"reconnectMcpServer":w(!0);try{let F=await ZG(J.name);if(J.config.type==="claudeai-proxy")C("",{success:F.client.type==="connected"});let{message:M}=EG(F,J.name);q?.(M)}catch(F){if(J.config.type==="claudeai-proxy")C("",{success:!1});q?.(PG(F,J.name))}finally{w(!1)}break;case"toggle-enabled":await yJ();break;case"back":z();break}},onCancel:z})})]}),L(Y,{marginTop:1,children:L(Q,{dimColor:!0,italic:!0,children:W.pending?X(n,{children:["Press ",W.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $J=GG(()=>{rG();bJ();SJ();QJ();hJ();AJ();VG();TJ();mJ();pJ();PJ();iG();cG();gJ();dJ();tG();_J();pG();MG();uG();WG();jG();ZJ();CJ();SG();_G();a();E=e($G(),1)});function iL({server:J,serverToolsCount:G,onViewTools:Z,onCancel:z,onComplete:q,borderless:H=!1}){let[k]=DG(),W=wG(),D=LG((P)=>P.mcp),I=UG(),U=RG(),[$,R]=OG.useState(!1),_=OG.default.useCallback(async()=>{let P=J.client.type!=="disabled";try{await U(J.name),z()}catch(w){q(`Failed to ${P?"disable":"enable"} MCP server '${J.name}': ${HG(w)}`)}},[J.client.type,J.name,U,z,q]),f=kG(String(J.name)),O=fG(D.commands,J.name).length,K=[];if(J.client.type!=="disabled"&&G>0)K.push({label:"View tools",value:"tools"});if(J.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:J.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"text",children:["Reconnecting to ",L(Q,{bold:!0,children:J.name})]}),X(Y,{children:[L(JG,{}),L(Q,{children:" Restarting MCP server process"})]}),L(Q,{dimColor:!0,children:"This may take a few moments."})]});return X(Y,{flexDirection:"column",children:[X(Y,{flexDirection:"column",paddingX:1,borderStyle:H?void 0:"round",children:[L(Y,{marginBottom:1,children:X(Q,{bold:!0,children:[f," MCP Server"]})}),X(Y,{flexDirection:"column",gap:0,children:[X(Y,{children:[L(Q,{bold:!0,children:"Status: "}),J.client.type==="disabled"?X(Q,{children:[m("inactive",k)(S.radioOff)," disabled"]}):J.client.type==="connected"?X(Q,{children:[m("success",k)(S.tick)," connected"]}):J.client.type==="pending"?X(n,{children:[L(Q,{dimColor:!0,children:S.radioOff}),L(Q,{children:" connecting…"})]}):X(Q,{children:[m("error",k)(S.cross)," failed"]})]}),X(Y,{children:[L(Q,{bold:!0,children:"Command: "}),L(Q,{dimColor:!0,children:J.config.command})]}),J.config.args&&J.config.args.length>0&&X(Y,{children:[L(Q,{bold:!0,children:"Args: "}),L(Q,{dimColor:!0,children:J.config.args.join(" ")})]}),X(Y,{children:[L(Q,{bold:!0,children:"Config location: "}),L(Q,{dimColor:!0,children:NG(WJ(J.name)?.scope??"dynamic")})]}),J.client.type==="connected"&&L(KG,{serverToolsCount:G,serverPromptsCount:O,serverResourcesCount:D.resources[J.name]?.length||0}),J.client.type==="connected"&&G>0&&X(Y,{children:[L(Q,{bold:!0,children:"Tools: "}),X(Q,{dimColor:!0,children:[G," tools"]})]})]}),K.length>0&&L(Y,{marginTop:1,children:L(QG,{options:K,onChange:async(P)=>{if(P==="tools")Z();else if(P==="reconnectMcpServer"){R(!0);try{let w=await I(J.name),{message:N}=EG(w,J.name);q?.(N)}catch(w){q?.(PG(w,J.name))}finally{R(!1)}}else if(P==="toggle-enabled")await _();else if(P==="back")z()},onCancel:z})})]}),L(Y,{marginTop:1,children:L(Q,{dimColor:!0,italic:!0,children:W.pending?X(n,{children:["Press ",W.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var OG;var cJ=GG(()=>{rG();QJ();VG();jJ();PJ();iG();cG();tG();pG();MG();uG();WG();jG();ZJ();SG();_G();a();OG=e($G(),1)});function tL(J){let G=FJ.c(44),{tool:Z,server:z,onBack:q}=J,[H,k]=vG.default.useState(""),W,D;if(G[0]!==z.name||G[1]!==Z){D=yG(Z.name,z.name);let s=Z.userFacingName?Z.userFacingName({}):D;W=IG(s),G[0]=z.name,G[1]=Z,G[2]=W,G[3]=D}else W=G[2],D=G[3];let I=W,U;if(G[4]!==Z)U=Z.isReadOnly?.({})??!1,G[4]=Z,G[5]=U;else U=G[5];let $=U,R;if(G[6]!==Z)R=Z.isDestructive?.({})??!1,G[6]=Z,G[7]=R;else R=G[7];let _=R,f;if(G[8]!==Z)f=Z.isOpenWorld?.({})??!1,G[8]=Z,G[9]=f;else f=G[9];let O=f,K,P;if(G[10]!==Z)K=()=>{(async function(){try{let B=await Z.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});k(B)}catch{k("Failed to load description")}})()},P=[Z],G[10]=Z,G[11]=K,G[12]=P;else K=G[11],P=G[12];vG.default.useEffect(K,P);let w;if(G[13]!==$)w=$&&L(Q,{color:"success",children:" [read-only]"}),G[13]=$,G[14]=w;else w=G[14];let N;if(G[15]!==_)N=_&&L(Q,{color:"error",children:" [destructive]"}),G[15]=_,G[16]=N;else N=G[16];let g;if(G[17]!==O)g=O&&L(Q,{dimColor:!0,children:" [open-world]"}),G[17]=O,G[18]=g;else g=G[18];let j;if(G[19]!==I||G[20]!==w||G[21]!==N||G[22]!==g)j=X(n,{children:[I,w,N,g]}),G[19]=I,G[20]=w,G[21]=N,G[22]=g,G[23]=j;else j=G[23];let c=j,T;if(G[24]===Symbol.for("react.memo_cache_sentinel"))T=L(Q,{bold:!0,children:"Tool name: "}),G[24]=T;else T=G[24];let A;if(G[25]!==D)A=X(Y,{children:[T,L(Q,{dimColor:!0,children:D})]}),G[25]=D,G[26]=A;else A=G[26];let y;if(G[27]===Symbol.for("react.memo_cache_sentinel"))y=L(Q,{bold:!0,children:"Full name: "}),G[27]=y;else y=G[27];let u;if(G[28]!==Z.name)u=X(Y,{children:[y,L(Q,{dimColor:!0,children:Z.name})]}),G[28]=Z.name,G[29]=u;else u=G[29];let i;if(G[30]!==H)i=H&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{bold:!0,children:"Description:"}),L(Q,{wrap:"wrap",children:H})]}),G[30]=H,G[31]=i;else i=G[31];let l;if(G[32]!==Z.inputJSONSchema)l=Z.inputJSONSchema&&Z.inputJSONSchema.properties&&Object.keys(Z.inputJSONSchema.properties).length>0&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{bold:!0,children:"Parameters:"}),L(Y,{marginLeft:2,flexDirection:"column",children:Object.entries(Z.inputJSONSchema.properties).map((s)=>{let[x,B]=s,XG=Z.inputJSONSchema?.required?.includes(x);return X(Q,{children:["• ",x,XG&&L(Q,{dimColor:!0,children:" (required)"}),":"," ",L(Q,{dimColor:!0,children:typeof B==="object"&&B&&"type"in B?String(B.type):"unknown"}),typeof B==="object"&&B&&"description"in B&&X(Q,{dimColor:!0,children:[" - ",String(B.description)]})]},x)})})]}),G[32]=Z.inputJSONSchema,G[33]=l;else l=G[33];let v;if(G[34]!==A||G[35]!==u||G[36]!==i||G[37]!==l)v=X(Y,{flexDirection:"column",children:[A,u,i,l]}),G[34]=A,G[35]=u,G[36]=i,G[37]=l,G[38]=v;else v=G[38];let o;if(G[39]!==q||G[40]!==z.name||G[41]!==v||G[42]!==c)o=L(BG,{title:c,subtitle:z.name,onCancel:q,inputGuide:uJ,children:v}),G[39]=q,G[40]=z.name,G[41]=v,G[42]=c,G[43]=o;else o=G[43];return o}function uJ(J){return J.pending?X(Q,{children:["Press ",J.keyName," again to exit"]}):L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FJ,vG;var iJ=GG(()=>{VG();KJ();MG();EJ();a();FJ=e(bG(),1),vG=e($G(),1)});function PQ(J){let G=kJ.c(21),{server:Z,onSelectTool:z,onBack:q}=J,H=LG(xJ),k;G:{if(Z.client.type!=="connected"){let P;if(G[0]===Symbol.for("react.memo_cache_sentinel"))P=[],G[0]=P;else P=G[0];k=P;break G}let K;if(G[1]!==H||G[2]!==Z.name)K=HJ(H,Z.name),G[1]=H,G[2]=Z.name,G[3]=K;else K=G[3];k=K}let W=k,D;if(G[4]!==Z.name||G[5]!==W){let K;if(G[7]!==Z.name)K=(P,w)=>{let N=yG(P.name,Z.name),g=P.userFacingName?P.userFacingName({}):N,j=IG(g),c=P.isReadOnly?.({})??!1,T=P.isDestructive?.({})??!1,A=P.isOpenWorld?.({})??!1,y=[];if(c)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:j,value:w.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":c?"success":void 0}},G[7]=Z.name,G[8]=K;else K=G[8];D=W.map(K),G[4]=Z.name,G[5]=W,G[6]=D}else D=G[6];let I=D,U=`Tools for ${Z.name}`,$=W.length,R;if(G[9]!==W.length)R=zJ(W.length,"tool"),G[9]=W.length,G[10]=R;else R=G[10];let _=`${$} ${R}`,f;if(G[11]!==q||G[12]!==z||G[13]!==W||G[14]!==I)f=W.length===0?L(Q,{dimColor:!0,children:"No tools available"}):L(QG,{options:I,onChange:(K)=>{let P=parseInt(K),w=W[P];if(w)z(w,P)},onCancel:q}),G[11]=q,G[12]=z,G[13]=W,G[14]=I,G[15]=f;else f=G[15];let O;if(G[16]!==q||G[17]!==U||G[18]!==_||G[19]!==f)O=L(BG,{title:U,subtitle:_,onCancel:q,inputGuide:vJ,children:f}),G[16]=q,G[17]=U,G[18]=_,G[19]=f,G[20]=O;else O=G[20];return O}function vJ(J){return J.pending?X(Q,{children:["Press ",J.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xJ(J){return J.mcp.tools}var kJ;var aJ=GG(()=>{VG();KJ();iG();cG();pG();MG();uG();WG();EJ();jG();a();kJ=e(bG(),1)});
2
- export{OL as Af,$J as Bf,iL as Cf,cJ as Df,tL as Ef,iJ as Ff,PQ as Gf,aJ as Hf};
@@ -1,4 +0,0 @@
1
- import{Wd as c,_d as Eq}from"./cli-1.1.17-s9617g9k.mjs";import{$L as n,Bp as D,CM as Hq,Cp as Aq,DM as Jq,Dp as h,Ep as S,FL as v,FM as vq,Fp as Fq,GL as m,GM as y,HM as Qq,IL as Oq,IM as Xq,JM as Yq,KM as $q,LM as d,OM as Dq,Qt as l,Rt as wq,fM as e,gM as P,jp as s,kM as jq,kp as Tq,lM as O,mM as qq,np as t,oM as I,pM as Gq,pp as Mq,tp as i,vM as Cq,vp as Rq,yM as b,zM as Lq,zp as A}from"./cli-1.1.17-tjtarhk9.mjs";import{Tda as F,Vda as L,Vga as a,bha as Bq,jea as _q,oda as V,wda as Kq}from"./cli-1.1.17-pmner0m4.mjs";import{Nka as p,Rka as xq}from"./cli-1.1.17-2bc3gqw5.mjs";import{Bla as N,Gla as Wq,yla as o}from"./cli-1.1.17-w8ycz611.mjs";import{Ena as f,xra as Uq}from"./cli-1.1.17-d9y6k8vc.mjs";import{jta as Zq}from"./cli-1.1.17-6ee0nqae.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(U){a(o(U));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,x=`${Z.name}@${Y}`,Q=await Jq({pluginId:x,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${x} (scope: ${H})${Q.depNote}`,pluginId:x,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),x=F(Z),Q,$;if(z)Q=Object.keys(x?.enabledPlugins??{}).find((W)=>W===q||W===z.name||W.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let W=yq(q);if(!W)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=W.pluginId,$=W.pluginName}let B=zq(H),U=O().plugins[Q],M=U?.find((W)=>W.scope===H&&W.projectPath===B);if(!M){let{scope:W}=kq(Q);if(W!==H&&U&&U.length>0){if(W==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${W} scope, not ${H}. Use --scope ${W} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...x?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),x=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&x===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?x===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:U}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(U)return{success:!1,message:`Failed to ${X} plugin: ${U.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
- ${G.join(`
3
- `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function UG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),x=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let U=await Yq(G.source,{manifest:{name:G.name}});Q=U.path,B=!0,K=U.gitCommitSha,$=await b(q,G.source,U.manifest,U.path,G.version,U.gitCommitSha)}else{let U;try{U=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=U.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let U=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===U||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:x,alreadyUpToDate:!0,scope:Y};U=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,U,$,K),_&&_!==U){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((W)=>W.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${x||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:x,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{Uq();Rq();Wq();xq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
- export{k as Jd,HG as Kd,JG as Ld,QG as Md,kq as Nd,XG as Od,YG as Pd,$G as Qd,zG as Rd,ZG as Sd,UG as Td,hq as Ud};
@@ -1,2 +0,0 @@
1
- import{$n as T,ao as Cq,jy as Pq,ny as uq}from"./cli-1.1.17-tjtarhk9.mjs";import{dZ as Uq,eZ as Iq,hZ as kq}from"./cli-1.1.17-n4xn5c5m.mjs";import{$0 as L,CZ as aq,G1 as hq,b1 as O}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as J,d4 as Q,e4 as vq}from"./cli-1.1.17-545688c0.mjs";import{W5 as bq,X5 as Mq,o6 as Sq}from"./cli-1.1.17-cvtpmgr1.mjs";import{Hba as Nq,Jba as Bq,N$ as Xq,O$ as jq,afa as Rq,vfa as fq}from"./cli-1.1.17-pmner0m4.mjs";import{lia as nq}from"./cli-1.1.17-gz7gazer.mjs";import{fta as yq,jta as Gq}from"./cli-1.1.17-6ee0nqae.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 vf,eq as wf,Wq as xf,LH as yf,cq as zf};
@@ -1,2 +0,0 @@
1
- import{J0 as v,K0 as X,L0 as D,q0 as O,r0 as V,s0 as I,u0 as W,v0 as p}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as N,e4 as T}from"./cli-1.1.17-545688c0.mjs";import{f4 as H}from"./cli-1.1.17-40gj2tc0.mjs";import{Goa as U,xra as F}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as A,jta as C}from"./cli-1.1.17-6ee0nqae.mjs";function h({children:Y,ref:Z,stickyScroll:_,...G}){let w=E.useRef(null),[,$]=E.useState(0),J=E.useRef(new Set),K=E.useRef(!1),P=()=>{for(let g of J.current)g()};function L(g){if(U(),O(g),W(),P(),K.current)return;K.current=!0,queueMicrotask(()=>{K.current=!1,V(g)})}return E.useImperativeHandle(Z,()=>({scrollTo(g){let q=w.current;if(!q)return;q.stickyScroll=!1,q.pendingScrollDelta=void 0,q.scrollAnchor=void 0,q.scrollTop=Math.max(0,Math.floor(g)),L(q)},scrollToElement(g,q=0){let z=w.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor={el:g,offset:q},L(z)},scrollBy(g){let q=w.current;if(!q)return;q.stickyScroll=!1,q.scrollAnchor=void 0,q.pendingScrollDelta=(q.pendingScrollDelta??0)+Math.floor(g),L(q)},scrollToBottom(){let g=w.current;if(!g)return;g.pendingScrollDelta=void 0,g.stickyScroll=!0,O(g),P(),$((q)=>q+1)},getScrollTop(){return w.current?.scrollTop??0},getPendingDelta(){return w.current?.pendingScrollDelta??0},getScrollHeight(){return w.current?.scrollHeight??0},getFreshScrollHeight(){return w.current?.childNodes[0]?.yogaNode?.getComputedHeight()??w.current?.scrollHeight??0},getViewportHeight(){return w.current?.scrollViewportHeight??0},getViewportTop(){return w.current?.scrollViewportTop??0},isSticky(){let g=w.current;if(!g)return!1;return g.stickyScroll??Boolean(g.attributes.stickyScroll)},subscribe(g){return J.current.add(g),()=>J.current.delete(g)},setClampBounds(g,q){let z=w.current;if(!z)return;z.scrollClampMin=g,z.scrollClampMax=q}}),[]),N("ink-box",{ref:(g)=>{if(w.current=g,g)g.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:G.flexDirection??"row",flexGrow:G.flexGrow??0,flexShrink:G.flexShrink??1,...G,overflowX:"scroll",overflowY:"scroll"},..._?{stickyScroll:!0}:{},children:N(X,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:Y})})}var E,a;var B=C(()=>{F();I();p();v();D();T();E=A(H(),1);a=h});
2
- export{a as Yh,B as Zh};
@@ -1,34 +0,0 @@
1
- import{G1 as Aq,Z0 as z,d1 as Bq,e1 as xq}from"./cli-1.1.17-h899gx3g.mjs";import{j9 as H,k9 as Rq}from"./cli-1.1.17-44fk8h9v.mjs";import{$aa as Mq,Aea as l,Cea as Gq,Hba as W,Jba as jq,Laa as p,N$ as Yq,N_ as G,O$ as wq,P_ as o,Saa as zq,Vga as v,Xaa as Zq,Zea as _,_aa as $q,afa as R,bha as a,gfa as N,hfa as m,vfa as b}from"./cli-1.1.17-pmner0m4.mjs";import{ija as T,kja as Wq}from"./cli-1.1.17-gbx2evhw.mjs";import{Eka as Qq,Fka as Xq,Jka as _q,Nka as c,Rka as Hq}from"./cli-1.1.17-2bc3gqw5.mjs";import{Ela as E,Gla as Uq}from"./cli-1.1.17-w8ycz611.mjs";import{Wra as s,Xra as Lq}from"./cli-1.1.17-fpt9fhj3.mjs";import{jta as A}from"./cli-1.1.17-6ee0nqae.mjs";function h(){let q=l(T(),c().existsSync)!==null,J=p(T());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:J},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:q,isCompletable:!0,isEnabled:!J}]}function I(){return h().filter(({isCompletable:q,isEnabled:J})=>q&&J).every(({isComplete:q})=>q)}var y=A(()=>{Wq();zq();Hq();Gq()});function i(){if(N().hasCompletedProjectOnboarding)return;if(I())m((q)=>({...q,hasCompletedProjectOnboarding:!0}))}var lq;var n=A(()=>{Lq();b();y();y();lq=s(()=>{let q=N();if(q.hasCompletedProjectOnboarding||q.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!I()})});import{stat as r}from"fs/promises";import{homedir as Vq}from"os";import{join as vq}from"path";function Oq(q){_((J)=>({...J,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:q}))}function U(){_((q)=>({...q,appleTerminalSetupInProgress:!1}))}function Fq(){let q=R();return{inProgress:q.appleTerminalSetupInProgress??!1,backupPath:q.appleTerminalBackupPath||null}}function w(){return vq(Vq(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let q=w(),J=`${q}.bak`;try{let{code:K}=await G("defaults",["export","com.apple.Terminal",q]);if(K!==0)return null;try{await r(q)}catch{return null}return await G("defaults",["export","com.apple.Terminal",J]),Oq(J),J}catch(K){return v(K),null}}async function e(){let{inProgress:q,backupPath:J}=Fq();if(!q)return{status:"no_backup"};if(!J)return U(),{status:"no_backup"};try{await r(J)}catch{return U(),{status:"no_backup"}}try{let{code:K}=await G("defaults",["import","com.apple.Terminal",J]);if(K!==0)return{status:"failed",backupPath:J};return await G("killall",["cfprefsd"]),U(),{status:"restored"}}catch(K){return v(Error(`Failed to restore Terminal.app settings with: ${K}`)),U(),{status:"failed",backupPath:J}}}var qq=A(()=>{b();o();a()});import{randomBytes as k}from"crypto";import{copyFile as g,mkdir as f,readFile as u,writeFile as P}from"fs/promises";import{homedir as d,platform as S}from"os";import{dirname as Iq,join as O}from"path";import{pathToFileURL as Sq}from"url";function Dq(){let q=process.env.VSCODE_GIT_ASKPASS_MAIN??"",J=process.env.PATH??"";return q.includes(".vscode-server")||q.includes(".cursor-server")||q.includes(".windsurf-server")||J.includes(".vscode-server")||J.includes(".cursor-server")||J.includes(".windsurf-server")}function FJ(){if(!W.terminal||!(W.terminal in D))return null;return D[W.terminal]??null}function L(q){if(!Bq())return q;return`\x1B]8;;${Sq(q).href}\x07${q}\x1B]8;;\x07`}function Eq(){return S()==="darwin"&&W.terminal==="Apple_Terminal"||W.terminal==="vscode"||W.terminal==="cursor"||W.terminal==="windsurf"||W.terminal==="alacritty"||W.terminal==="zed"}async function Tq(q){let J="";switch(W.terminal){case"Apple_Terminal":J=await yq(q);break;case"vscode":J=await C("VSCode",q);break;case"cursor":J=await C("Cursor",q);break;case"windsurf":J=await C("Windsurf",q);break;case"alacritty":J=await Nq(q);break;case"zed":J=await bq(q);break;case null:break}return _((K)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(W.terminal??"")){if(K.shiftEnterKeyBindingInstalled===!0)return K;return{...K,shiftEnterKeyBindingInstalled:!0}}else if(W.terminal==="Apple_Terminal"){if(K.optionAsMetaKeyInstalled===!0)return K;return{...K,optionAsMetaKeyInstalled:!0}}return K}),i(),J}function UJ(){return R().shiftEnterKeyBindingInstalled===!0}function _J(){return R().hasUsedBackslashReturn===!0}function RJ(){if(!R().hasUsedBackslashReturn)_((J)=>({...J,hasUsedBackslashReturn:!0}))}async function wJ(q,J,K){if(W.terminal&&W.terminal in D){let X=`Shift+Enter is natively supported in ${D[W.terminal]}.
2
-
3
- No configuration needed. Just use Shift+Enter to add newlines.`;return q(X),null}if(!Eq()){let X=W.terminal||"your current terminal",Y=Yq(),B="";if(Y==="macos")B=` • macOS: Apple Terminal
4
- `;else if(Y==="windows")B=` • Windows: Windows Terminal
5
- `;let Z=`Terminal setup cannot be run from ${X}.
6
-
7
- This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
- ${H.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
-
10
- To set up the shortcut (optional):
11
- 1. Exit tmux/screen temporarily
12
- 2. Run /terminal-setup directly in one of these terminals:
13
- ${B} • IDE: VSCode, Cursor, Windsurf, Zed
14
- • Other: Alacritty
15
- 3. Return to tmux/screen - settings will persist
16
-
17
- ${H.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return q(Z),null}let $=await Tq(J.options.theme);return q($),null}async function C(q="VSCode",J){if(Dq())return`${z("warning",J)(`Cannot install keybindings from a remote ${q} session.`)}${Q}${Q}${q} keybindings must be installed on your local machine, not the remote server.${Q}${Q}To install the Shift+Enter keybinding:${Q}1. Open ${q} on your local machine (not connected to remote)${Q}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${Q}3. Add this keybinding (the file must be a JSON array):${Q}${Q}${H.dim(`[
18
- {
19
- "key": "shift+enter",
20
- "command": "workbench.action.terminal.sendSequence",
21
- "args": { "text": "\\u001b\\r" },
22
- "when": "terminalFocus"
23
- }
24
- ]`)}${Q}`;let K=q==="VSCode"?"Code":q,$=O(d(),S()==="win32"?O("AppData","Roaming",K,"User"):S()==="darwin"?O("Library","Application Support",K,"User"):O(".config",K,"User")),X=O($,"keybindings.json");try{await f($,{recursive:!0});let Y="[]",B=[],Z=!1;try{Y=await u(X,{encoding:"utf-8"}),Z=!0,B=Zq(Y)??[]}catch(V){if(!E(V))throw V}if(Z){let V=k(4).toString("hex"),x=`${X}.${V}.bak`;try{await g(X,x)}catch{return`${z("warning",J)(`Error backing up existing ${q} terminal keybindings. Bailing out.`)}${Q}${H.dim(`See ${L(X)}`)}${Q}${H.dim(`Backup path: ${L(x)}`)}${Q}`}}if(B.find((V)=>V.key==="shift+enter"&&V.command==="workbench.action.terminal.sendSequence"&&V.when==="terminalFocus"))return`${z("warning",J)(`Found existing ${q} terminal Shift+Enter key binding. Remove it to continue.`)}${Q}${H.dim(`See ${L(X)}`)}${Q}`;let j=$q(Y,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await P(X,j,{encoding:"utf-8"}),`${z("success",J)(`Installed ${q} terminal Shift+Enter key binding`)}${Q}${H.dim(`See ${L(X)}`)}${Q}`}catch(Y){throw v(Y),Error(`Failed to install ${q} terminal Shift+Enter key binding`)}}async function Jq(q){let{code:J}=await G("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${q}':useOptionAsMetaKey bool true`,w()]);if(J!==0){let{code:K}=await G("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${q}':useOptionAsMetaKey true`,w()]);if(K!==0)return v(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${q}`)),!1}return!0}async function Kq(q){let{code:J}=await G("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${q}':Bell bool false`,w()]);if(J!==0){let{code:K}=await G("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${q}':Bell false`,w()]);if(K!==0)return v(Error(`Failed to disable audio bell for Terminal.app profile: ${q}`)),!1}return!0}async function yq(q){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:K,code:$}=await G("defaults",["read","com.apple.Terminal","Default Window Settings"]);if($!==0||!K.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:X,code:Y}=await G("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(Y!==0||!X.trim())throw Error("Failed to read startup Terminal.app profile");let B=!1,Z=K.trim(),F=await Jq(Z),M=await Kq(Z);if(F||M)B=!0;let j=X.trim();if(j!==Z){let V=await Jq(j),x=await Kq(j);if(V||x)B=!0}if(!B)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await G("killall",["cfprefsd"]),U(),`${z("success",q)("Configured Terminal.app settings:")}${Q}${z("success",q)('- Enabled "Use Option as Meta key"')}${Q}${z("success",q)("- Switched to visual bell")}${Q}${H.dim("Option+Enter will now enter a newline.")}${Q}${H.dim("You must restart Terminal.app for changes to take effect.",q)}${Q}`}catch(J){v(J);let K=await e(),$="Failed to enable Option as Meta key for Terminal.app.";if(K.status==="restored")throw Error(`${$} Your settings have been restored from backup.`);else if(K.status==="failed")throw Error(`${$} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${K.backupPath}`);else throw Error(`${$} No backup was available to restore from.`)}}async function Nq(q){let K=[],$=process.env.XDG_CONFIG_HOME;if($)K.push(O($,"alacritty","alacritty.toml"));else K.push(O(d(),".config","alacritty","alacritty.toml"));if(S()==="win32"){let Z=process.env.APPDATA;if(Z)K.push(O(Z,"alacritty","alacritty.toml"))}let X=null,Y="",B=!1;for(let Z of K)try{Y=await u(Z,{encoding:"utf-8"}),X=Z,B=!0;break}catch(F){if(!E(F))throw F}if(!X)X=K[0]??null;if(!X)throw Error("No valid config path found for Alacritty");try{if(B){if(Y.includes('mods = "Shift"')&&Y.includes('key = "Return"'))return`${z("warning",q)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${Q}${H.dim(`See ${L(X)}`)}${Q}`;let F=k(4).toString("hex"),M=`${X}.${F}.bak`;try{await g(X,M)}catch{return`${z("warning",q)("Error backing up existing Alacritty config. Bailing out.")}${Q}${H.dim(`See ${L(X)}`)}${Q}${H.dim(`Backup path: ${L(M)}`)}${Q}`}}else await f(Iq(X),{recursive:!0});let Z=Y;if(Y&&!Y.endsWith(`
25
- `))Z+=`
26
- `;return Z+=`
27
- [[keyboard.bindings]]
28
- key = "Return"
29
- mods = "Shift"
30
- chars = "\\u001B\\r"
31
- `,await P(X,Z,{encoding:"utf-8"}),`${z("success",q)("Installed Alacritty Shift+Enter key binding")}${Q}${z("success",q)("You may need to restart Alacritty for changes to take effect")}${Q}${H.dim(`See ${L(X)}`)}${Q}`}catch(Z){throw v(Z),Error("Failed to install Alacritty Shift+Enter key binding")}}async function bq(q){let J=O(d(),".config","zed"),K=O(J,"keymap.json");try{await f(J,{recursive:!0});let $="[]",X=!1;try{$=await u(K,{encoding:"utf-8"}),X=!0}catch(B){if(!E(B))throw B}if(X){if($.includes("shift-enter"))return`${z("warning",q)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${Q}${H.dim(`See ${L(K)}`)}${Q}`;let B=k(4).toString("hex"),Z=`${K}.${B}.bak`;try{await g(K,Z)}catch{return`${z("warning",q)("Error backing up existing Zed keymap. Bailing out.")}${Q}${H.dim(`See ${L(K)}`)}${Q}${H.dim(`Backup path: ${L(Z)}`)}${Q}`}}let Y;try{if(Y=Xq($),!Array.isArray(Y))Y=[]}catch{Y=[]}return Y.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await P(K,Qq(Y,null,2)+`
32
- `,{encoding:"utf-8"}),`${z("success",q)("Installed Zed Shift+Enter key binding")}${Q}${H.dim(`See ${L(K)}`)}${Q}`}catch($){throw v($),Error("Failed to install Zed Shift+Enter key binding")}}var Q=`
33
- `,D;var Cq=A(()=>{Rq();xq();Aq();n();qq();b();jq();Uq();o();Mq();a();wq();_q();D={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
- export{i as YY,n as ZY,e as _Y,qq as $Y,FJ as aZ,Eq as bZ,Tq as cZ,UJ as dZ,_J as eZ,RJ as fZ,wJ as gZ,Cq as hZ};
@@ -1,2 +0,0 @@
1
- import{Ko as j,Lo as m,Lp as l,Mo as Xq,Np as Rq,Op as i,Pp as Aq,fp as D,kp as Zq}from"./cli-1.1.17-tjtarhk9.mjs";import{Eca as u,Gca as g,Jca as h,Kca as n,Pca as vq,Vga as L,bha as Qq}from"./cli-1.1.17-pmner0m4.mjs";import{bja as d,dja as Uq}from"./cli-1.1.17-amvnbvkb.mjs";import{$ka as V,Eka as P,Fka as v,Jka as f,Nka as M,Rka as y,cla as e}from"./cli-1.1.17-2bc3gqw5.mjs";import{Ala as O,Bla as C,Gla as N,zla as W}from"./cli-1.1.17-w8ycz611.mjs";import{Jsa as qq,rsa as p}from"./cli-1.1.17-sekbxc10.mjs";import{jta as E}from"./cli-1.1.17-6ee0nqae.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(x){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let J=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:J,ref:X}:{source:"git",url:J}}}return{source:"url",url:G}}let K=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||K){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=E(()=>{N();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as xq}from"fs/promises";import{join as Jq}from"path";function c(){return Jq(D(),Kq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==_)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${_})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=D();await M().mkdir(Q);let B=P(Z,null,2);await xq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){L(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${w}`);let Z=performance.now();try{let q=await p.get(w,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return j("install_counts",w,"success",performance.now()-Z),q.data.plugins}catch(q){throw j("install_counts",w,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),j("install_counts",w,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:_,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return L(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var _=1,Kq="install-counts-cache.json",w="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=E(()=>{qq();e();N();y();Qq();f();Xq();Zq()});import{readdir as wq,readFile as A,stat as Iq}from"fs/promises";import*as H from"path";function jq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function I(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Eq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function S(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),x;if(Y==="ENOENT")x=`File not found: ${Q}`;else if(Y==="EISDIR")x=`Path is not a file: ${Q}`;else x=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:x,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let K;try{K=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(K&&typeof K==="object"){let X=K;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((x,J)=>{if(typeof x==="string")I(x,`commands[${J}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((x,J)=>{if(typeof x==="string")I(x,`agents[${J}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((x,J)=>{if(typeof x==="string")I(x,`skills[${J}]`,q)})}let z=K;if(typeof K==="object"&&K!==null){let X=K,Y=Object.keys(X).filter((x)=>Mq.has(x));if(Y.length>0){let x={...X};for(let J of Y)delete x[J],$.push({path:J,message:`Field '${J}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=x}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),x;if(Y==="ENOENT")x=`File not found: ${Q}`;else if(Y==="EISDIR")x=`Path is not a file: ${Q}`;else x=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:x,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let K;try{K=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(K&&typeof K==="object"){let X=K;if(Array.isArray(X.plugins))X.plugins.forEach((Y,x)=>{if(Y&&typeof Y==="object"&&"source"in Y){let J=Y.source;if(typeof J==="string")I(J,`plugins[${x}].source`,q,Eq(J));if(J&&typeof J==="object"&&"path"in J&&typeof J.path==="string")I(J.path,`plugins[${x}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(K);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((J,U)=>{if(X.plugins.filter((R)=>R.name===J.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${J.name}" found in marketplace`})});let Y=H.dirname(Q),x=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[J,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(x,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${J}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function Nq(Z,q,$){let Q=[],B=[],K=q.match(i);if(!K)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=K[1]||"",G;try{G=l(z)}catch(J){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(J)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let J=X.description;if(typeof J!=="string"&&typeof J!=="number"&&typeof J!=="boolean"&&J!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(J)?"array":typeof J}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((J)=>typeof J!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let x=X.shell;if(x!==void 0&&x!==null)if(typeof x!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof x}.`});else{let J=x.trim().toLowerCase();if(J!=="bash"&&J!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${x}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function _q(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await wq(Z,{withFileTypes:!0})}catch(B){let K=O(B);if(K==="ENOENT"||K==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let K=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(K,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(K)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,K]of $){let z=await o(K,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(x){if(C(x))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(x)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=Nq(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await _q(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await Iq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),K=await k(B);if(K.errors[0]?.code!=="ENOENT")return K;let z=H.join(q,".claude-plugin","plugin.json"),G=await S(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(jq(Z)){case"plugin":return S(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),K=v(B);if(Array.isArray(K.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return S(Z)}}}var Mq;var Lq=E(()=>{Uq();N();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
- export{Fq as id,r as jd,nq as kd,lq as ld,Oq as md,QQ as nd,XQ as od,Lq as pd};
@@ -1,45 +0,0 @@
1
- import{Fe as BY,Ge as Bz}from"./cli-1.1.17-frwjbpkz.mjs";import{Og as qY,Pg as qz}from"./cli-1.1.17-b6178p3e.mjs";import{sh as $Y,th as yz,uh as cY,vh as mz}from"./cli-1.1.17-91shm790.mjs";import{$P as rY,AG as B0,As as KK,BG as MY,Hu as eY,IT as V0,Iu as JK,JP as iY,LK as GY,MP as XJ,NP as GZ,OP as X0,QK as Gz,aQ as Lz,bo as UJ,co as UY,do as jJ,eo as XY,fT as nY,fo as NJ,go as VY,nI as hY,oI as Tz,qG as uY,qP as gY,rG as wz,zs as Zz}from"./cli-1.1.17-tjtarhk9.mjs";import{AY as $J,CY as KY,FY as SY,GY as Az,MY as pY,NY as Fz,mY as _Y,nY as jz}from"./cli-1.1.17-yexr9jg1.mjs";import{$0 as b,CZ as f0,F0 as bY,G1 as U0,LZ as LY,SZ as IY,TZ as Rz,W0 as fY,Y0 as Ez,b1 as N,v1 as xY}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as U,d4 as m,e4 as bJ}from"./cli-1.1.17-545688c0.mjs";import{f4 as b0}from"./cli-1.1.17-40gj2tc0.mjs";import{C6 as tY,e7 as ez}from"./cli-1.1.17-cvtpmgr1.mjs";import{j9 as $0,k9 as Cz}from"./cli-1.1.17-44fk8h9v.mjs";import{L$ as Mz,Sga as fJ,Vga as l0,bha as mY,qaa as r0,saa as tz,t$ as yY}from"./cli-1.1.17-pmner0m4.mjs";import{gha as S0,hha as Hz,jha as G0,uha as zY,vha as c0,yha as I0}from"./cli-1.1.17-6yqbrqsj.mjs";import{$ja as Nz,Yja as $}from"./cli-1.1.17-h68j8yr4.mjs";import{$ka as CJ,Fka as oY,Jka as sz,cla as oz}from"./cli-1.1.17-2bc3gqw5.mjs";import{Ena as H0,xra as TY,yna as wY}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as UZ,jta as XZ}from"./cli-1.1.17-6ee0nqae.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 pe,az as qe,QU as re,zK as se,WU as te,UK as ue};
@@ -1,2 +0,0 @@
1
- import{E4 as M,F4 as D}from"./cli-1.1.17-2pvpn49s.mjs";import{Afa as F,Gga as S,Ifa as _,Jga as p,Tfa as l,Wfa as L,Xfa as c}from"./cli-1.1.17-pmner0m4.mjs";import{Ola as Y,Ula as m}from"./cli-1.1.17-db7epgkw.mjs";import{jta as B}from"./cli-1.1.17-6ee0nqae.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:T}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||E}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,j=J?.scope?.trim()||C,$=j===C?[j]:[j,C],z="Device code request failed.",y=b(R(J?.domain));for(let V of $){let W=await Z(y,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let x=await W.text().catch(()=>"");z=`Device code request failed: ${W.status} ${x}`;let k=/invalid_scope/i.test(x);if(V!==C&&k)continue;throw new q(z)}let X=await W.json(),N=X.device_code,K=X.user_code,w=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof w!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:w,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(z)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let j=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,z=Q?.fetchImpl??fetch,y=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await z(y,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(j*1000);continue}if(N==="slow_down"){j=typeof X.interval==="number"?X.interval:j+5,await P(j*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},j=Z.fetchImpl??fetch,$=h(R(Z.domain)),z=await j($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!z.ok){let K=await z.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${z.status} ${K}`)}let y=await z.json(),V=y.token,W=y.expires_at,X=y.refresh_in,N=y.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var E="Iv1.b507a08c87ecfe98",T="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{D();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function g(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),z=$+"=".repeat((4-$.length%4)%4),y=Buffer.from(z,"base64").toString("utf8"),V=JSON.parse(y);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function jJ(){if(!g())return;if(Y())return;if(a())return}async function yJ(){if(!g())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,j=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!j&&!$)return!1;if((j?d(j):"expired")==="valid")return!1;if(!$)return!1;let y=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:y});if(!n(V.token,$,y).success)return!1;let X=F().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)_(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let j=J.trim();if(!j)return{success:!1,warning:"Token is empty."};let $=L(),z=$.read()||{},y=z[U],V=Q?.trim(),W={accessToken:j};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(y?.oauthAccessToken?.trim())W.oauthAccessToken=y.oauthAccessToken.trim();let N=Z?.trim()||y?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...z,[U]:W};return $.update(X)}function zJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
2
- export{R as H2,r as I2,o as J2,e as K2,I as L2,O as M2,U as N2,VJ as O2,a as P2,WJ as Q2,jJ as R2,yJ as S2,n as T2,zJ as U2,s as V2};
@@ -1,2 +0,0 @@
1
- import{Gga as B,Jga as K,Wfa as $,Xfa as y,a$ as Z,c$ as f}from"./cli-1.1.17-pmner0m4.mjs";import{Ola as Y,Ula as E}from"./cli-1.1.17-db7epgkw.mjs";import{jta as N,kta as x}from"./cli-1.1.17-6ee0nqae.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 Ki,s as Li,g as Mi};
@@ -1,3 +0,0 @@
1
- import{_sa as x,ata as y,eta as C}from"./cli-1.1.17-9q30wadt.mjs";import{hta as k}from"./cli-1.1.17-6ee0nqae.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
- `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
- export{MF as f_};