@claudiolabs/claudin 1.1.33 → 1.1.34

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 (827) hide show
  1. package/dist/chunks/App-1.1.34-5bkzspjw.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.34-v9m1h6yf.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.34-s8q45b8r.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.34-za20vma5.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.34-bfqcybrw.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.34-y3y8zaw0.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.34-2c48wrw2.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.34-5pfk2t4c.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.34-jhjx7d79.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.34-fdz2yay1.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.34-9kn20864.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.34-rs0n3tbm.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.34-mb74003t.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.34-bfdfnz31.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.34-mxhsj5pz.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.34-g9xtcxfm.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.34-wjd1x7s6.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.34-zpsemk3f.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.34-gse2x86w.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.34-cp51s05w.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.34-pcx5e2xc.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.34-s3tfzny5.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.34-g8hnps71.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.34-a1bg24mk.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.34-fs7fa841.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.34-ybf25dvm.mjs +1 -0
  27. package/dist/chunks/agents-1.1.34-6xhfrt25.mjs +3 -0
  28. package/dist/chunks/agents-1.1.34-wsjsbryq.mjs +110 -0
  29. package/dist/chunks/api-1.1.34-99hm00p0.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.34-qydk3ezz.mjs +1 -0
  31. package/dist/chunks/auth-1.1.34-32n80bwr.mjs +1 -0
  32. package/dist/chunks/auth-1.1.34-mhmakxvf.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.34-jyxbmbqd.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.34-2b10v0j4.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.34-bd3mdsv9.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.34-v4c2njkh.mjs +1 -0
  37. package/dist/chunks/branch-1.1.34-949t9ara.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.34-8jc0ek6w.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.34-kgr2qvyz.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.34-ygna8r55.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.34-saff9rp6.mjs +88 -0
  42. package/dist/chunks/bridgePointer-1.1.34-5apzxa58.mjs +1 -0
  43. package/dist/chunks/btw-1.1.34-4246e84n.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.34-kj9mygnh.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.34-gyemr2df.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.34-fqz6k1qv.mjs +4 -0
  47. package/dist/chunks/caches-1.1.34-ebn0bryh.mjs +1 -0
  48. package/dist/chunks/cd-1.1.34-6458ex95.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.34-4jr3kmkg.mjs +1 -0
  50. package/dist/chunks/clear-1.1.34-da0gwb7n.mjs +1 -0
  51. package/dist/chunks/clearTerminal-1.1.34-410eb173.mjs +1 -0
  52. package/dist/chunks/cli-1.1.34-00hxx56p.mjs +2 -0
  53. package/dist/chunks/cli-1.1.34-0cmmxs6g.mjs +9 -0
  54. package/dist/chunks/cli-1.1.34-0h4whfas.mjs +6 -0
  55. package/dist/chunks/cli-1.1.34-0kkae10p.mjs +2 -0
  56. package/dist/chunks/cli-1.1.34-0mjf3pve.mjs +2 -0
  57. package/dist/chunks/cli-1.1.34-0t1h2v5v.mjs +2 -0
  58. package/dist/chunks/cli-1.1.34-0zqthr52.mjs +2 -0
  59. package/dist/chunks/cli-1.1.34-1229x70a.mjs +2 -0
  60. package/dist/chunks/cli-1.1.34-166q8s04.mjs +24 -0
  61. package/dist/chunks/cli-1.1.34-1a3s3rqs.mjs +3 -0
  62. package/dist/chunks/cli-1.1.34-1ategs07.mjs +2 -0
  63. package/dist/chunks/cli-1.1.34-1m5v3ffj.mjs +2 -0
  64. package/dist/chunks/cli-1.1.34-1nxczs7m.mjs +3 -0
  65. package/dist/chunks/cli-1.1.34-1xg52b7q.mjs +12 -0
  66. package/dist/chunks/cli-1.1.34-20femz8z.mjs +2 -0
  67. package/dist/chunks/cli-1.1.34-20p72tmb.mjs +20 -0
  68. package/dist/chunks/cli-1.1.34-21nzcpj6.mjs +5 -0
  69. package/dist/chunks/cli-1.1.34-24h4yeqf.mjs +2 -0
  70. package/dist/chunks/cli-1.1.34-2tf44a9a.mjs +2 -0
  71. package/dist/chunks/cli-1.1.34-33s2xs9e.mjs +2 -0
  72. package/dist/chunks/cli-1.1.34-372a0qyj.mjs +2 -0
  73. package/dist/chunks/cli-1.1.34-37g65vk7.mjs +2 -0
  74. package/dist/chunks/cli-1.1.34-37mgsk8w.mjs +2 -0
  75. package/dist/chunks/cli-1.1.34-3pr2wgys.mjs +2 -0
  76. package/dist/chunks/cli-1.1.34-3qpxmhy6.mjs +2 -0
  77. package/dist/chunks/cli-1.1.34-3rcacat5.mjs +3 -0
  78. package/dist/chunks/cli-1.1.34-4v8eanby.mjs +2 -0
  79. package/dist/chunks/cli-1.1.34-4x915j9t.mjs +2 -0
  80. package/dist/chunks/cli-1.1.34-4y5bvnfe.mjs +2 -0
  81. package/dist/chunks/cli-1.1.34-4zj4kbw4.mjs +2 -0
  82. package/dist/chunks/cli-1.1.34-58ergrxf.mjs +7 -0
  83. package/dist/chunks/cli-1.1.34-59csbz1a.mjs +60 -0
  84. package/dist/chunks/cli-1.1.34-5ec767fj.mjs +2 -0
  85. package/dist/chunks/cli-1.1.34-5ffnhvmt.mjs +3 -0
  86. package/dist/chunks/cli-1.1.34-5jdjfha3.mjs +2 -0
  87. package/dist/chunks/cli-1.1.34-5jnn83ne.mjs +2 -0
  88. package/dist/chunks/cli-1.1.34-5mg7y1hs.mjs +2 -0
  89. package/dist/chunks/cli-1.1.34-5qzy93s7.mjs +2 -0
  90. package/dist/chunks/cli-1.1.34-5t01yf6x.mjs +2 -0
  91. package/dist/chunks/cli-1.1.34-5vktvncs.mjs +2 -0
  92. package/dist/chunks/cli-1.1.34-5z4epq5b.mjs +4 -0
  93. package/dist/chunks/cli-1.1.34-643n510j.mjs +2 -0
  94. package/dist/chunks/cli-1.1.34-6jkjn6pd.mjs +2 -0
  95. package/dist/chunks/cli-1.1.34-70pxm3rb.mjs +133 -0
  96. package/dist/chunks/cli-1.1.34-79mxk0bc.mjs +2 -0
  97. package/dist/chunks/cli-1.1.34-7ad0dt89.mjs +2 -0
  98. package/dist/chunks/cli-1.1.34-7bcbswdn.mjs +2 -0
  99. package/dist/chunks/cli-1.1.34-7bxexffs.mjs +6 -0
  100. package/dist/chunks/cli-1.1.34-7n5bvchq.mjs +2 -0
  101. package/dist/chunks/cli-1.1.34-7npd3as5.mjs +18 -0
  102. package/dist/chunks/cli-1.1.34-7rd2xv38.mjs +3 -0
  103. package/dist/chunks/cli-1.1.34-80nhtgdq.mjs +2 -0
  104. package/dist/chunks/cli-1.1.34-83s0mm9a.mjs +2 -0
  105. package/dist/chunks/cli-1.1.34-84707tma.mjs +5491 -0
  106. package/dist/chunks/cli-1.1.34-859ap6f7.mjs +2 -0
  107. package/dist/chunks/cli-1.1.34-8r5c91mz.mjs +2 -0
  108. package/dist/chunks/cli-1.1.34-8s2k8jnr.mjs +39 -0
  109. package/dist/chunks/cli-1.1.34-8vfey6b5.mjs +2 -0
  110. package/dist/chunks/cli-1.1.34-92kps6jn.mjs +63 -0
  111. package/dist/chunks/cli-1.1.34-9jn997h8.mjs +2 -0
  112. package/dist/chunks/cli-1.1.34-9tctqya9.mjs +6 -0
  113. package/dist/chunks/cli-1.1.34-9tze8t1x.mjs +2 -0
  114. package/dist/chunks/cli-1.1.34-9z887t80.mjs +2 -0
  115. package/dist/chunks/cli-1.1.34-a6gj1b3g.mjs +2 -0
  116. package/dist/chunks/cli-1.1.34-a7et4z4n.mjs +2 -0
  117. package/dist/chunks/cli-1.1.34-ajqsr81p.mjs +2 -0
  118. package/dist/chunks/cli-1.1.34-ak4sm3t1.mjs +2 -0
  119. package/dist/chunks/cli-1.1.34-axnnzxpw.mjs +2 -0
  120. package/dist/chunks/cli-1.1.34-b9j8be5k.mjs +2 -0
  121. package/dist/chunks/cli-1.1.34-bt9brnrs.mjs +2 -0
  122. package/dist/chunks/cli-1.1.34-c3w48hst.mjs +2 -0
  123. package/dist/chunks/cli-1.1.34-cp457g25.mjs +11 -0
  124. package/dist/chunks/cli-1.1.34-cptp243m.mjs +2 -0
  125. package/dist/chunks/cli-1.1.34-cqxr7fsq.mjs +2 -0
  126. package/dist/chunks/cli-1.1.34-ctjatnq8.mjs +2 -0
  127. package/dist/chunks/cli-1.1.34-czhcyzgw.mjs +2 -0
  128. package/dist/chunks/cli-1.1.34-d0sgyvr1.mjs +4 -0
  129. package/dist/chunks/cli-1.1.34-d5enzbca.mjs +2 -0
  130. package/dist/chunks/cli-1.1.34-d8bccy48.mjs +7 -0
  131. package/dist/chunks/cli-1.1.34-dceap5rk.mjs +4 -0
  132. package/dist/chunks/cli-1.1.34-dj3hwt6m.mjs +3 -0
  133. package/dist/chunks/cli-1.1.34-dvx08sv2.mjs +2 -0
  134. package/dist/chunks/cli-1.1.34-e1vkhvbm.mjs +2 -0
  135. package/dist/chunks/cli-1.1.34-e4f2qw6n.mjs +2 -0
  136. package/dist/chunks/cli-1.1.34-e7fd8zh6.mjs +2 -0
  137. package/dist/chunks/cli-1.1.34-e9rxgan0.mjs +2 -0
  138. package/dist/chunks/cli-1.1.34-ehad4d4f.mjs +2 -0
  139. package/dist/chunks/cli-1.1.34-ev8ffgr9.mjs +2 -0
  140. package/dist/chunks/cli-1.1.34-ew7p2ct8.mjs +2 -0
  141. package/dist/chunks/cli-1.1.34-exsrnr6k.mjs +2 -0
  142. package/dist/chunks/cli-1.1.34-f806gv2e.mjs +7 -0
  143. package/dist/chunks/cli-1.1.34-faavcjnj.mjs +2 -0
  144. package/dist/chunks/cli-1.1.34-fd3cb4wv.mjs +2 -0
  145. package/dist/chunks/cli-1.1.34-ff6hyf5n.mjs +2 -0
  146. package/dist/chunks/cli-1.1.34-ffs3510y.mjs +2 -0
  147. package/dist/chunks/cli-1.1.34-fgbv1rw4.mjs +17 -0
  148. package/dist/chunks/cli-1.1.34-fgx6ej2m.mjs +34 -0
  149. package/dist/chunks/cli-1.1.34-fm4a40ta.mjs +2 -0
  150. package/dist/chunks/cli-1.1.34-fnds3msv.mjs +6 -0
  151. package/dist/chunks/cli-1.1.34-ftd1h34q.mjs +2 -0
  152. package/dist/chunks/cli-1.1.34-g0sqgp9m.mjs +2 -0
  153. package/dist/chunks/cli-1.1.34-g6kkzzxg.mjs +2 -0
  154. package/dist/chunks/cli-1.1.34-g7q1qz3e.mjs +2 -0
  155. package/dist/chunks/cli-1.1.34-g888fgsj.mjs +4 -0
  156. package/dist/chunks/cli-1.1.34-ge8xp99z.mjs +2 -0
  157. package/dist/chunks/cli-1.1.34-gsrndv90.mjs +2 -0
  158. package/dist/chunks/cli-1.1.34-h3ysfavt.mjs +4 -0
  159. package/dist/chunks/cli-1.1.34-h7927ctg.mjs +2 -0
  160. package/dist/chunks/cli-1.1.34-h7bcvee5.mjs +2 -0
  161. package/dist/chunks/cli-1.1.34-hdva7ptv.mjs +10 -0
  162. package/dist/chunks/cli-1.1.34-he92bjvt.mjs +2 -0
  163. package/dist/chunks/cli-1.1.34-hpn89fzn.mjs +2 -0
  164. package/dist/chunks/cli-1.1.34-hpt8kch4.mjs +2 -0
  165. package/dist/chunks/cli-1.1.34-hrw37per.mjs +8 -0
  166. package/dist/chunks/cli-1.1.34-hsngtgbm.mjs +24 -0
  167. package/dist/chunks/cli-1.1.34-hyya784q.mjs +2 -0
  168. package/dist/chunks/cli-1.1.34-j8ab267c.mjs +2 -0
  169. package/dist/chunks/cli-1.1.34-jkdgk3ns.mjs +2 -0
  170. package/dist/chunks/cli-1.1.34-jrxh48kf.mjs +4 -0
  171. package/dist/chunks/cli-1.1.34-jsp1hy0k.mjs +2 -0
  172. package/dist/chunks/cli-1.1.34-k4zd38bd.mjs +15 -0
  173. package/dist/chunks/cli-1.1.34-k761g5m2.mjs +2 -0
  174. package/dist/chunks/cli-1.1.34-k8gmdsqr.mjs +2 -0
  175. package/dist/chunks/cli-1.1.34-mbeaqq0q.mjs +6 -0
  176. package/dist/chunks/cli-1.1.34-mhjjf878.mjs +5 -0
  177. package/dist/chunks/cli-1.1.34-n5t6xk0e.mjs +2 -0
  178. package/dist/chunks/cli-1.1.34-n5zh4wyg.mjs +42 -0
  179. package/dist/chunks/cli-1.1.34-ncz9dava.mjs +2 -0
  180. package/dist/chunks/cli-1.1.34-nr50vg8g.mjs +25 -0
  181. package/dist/chunks/cli-1.1.34-nxeb9r8s.mjs +2 -0
  182. package/dist/chunks/cli-1.1.34-p5v4dwpg.mjs +4 -0
  183. package/dist/chunks/cli-1.1.34-p7yjh2wb.mjs +2 -0
  184. package/dist/chunks/cli-1.1.34-p9rd6dtm.mjs +2 -0
  185. package/dist/chunks/cli-1.1.34-q5stzg7k.mjs +2 -0
  186. package/dist/chunks/cli-1.1.34-q83yydqv.mjs +133 -0
  187. package/dist/chunks/cli-1.1.34-q8chhxkt.mjs +2 -0
  188. package/dist/chunks/cli-1.1.34-qc15bhsg.mjs +10 -0
  189. package/dist/chunks/cli-1.1.34-qef4zhc3.mjs +2 -0
  190. package/dist/chunks/cli-1.1.34-qs805z7n.mjs +9 -0
  191. package/dist/chunks/cli-1.1.34-qwd6k5t4.mjs +2 -0
  192. package/dist/chunks/cli-1.1.34-r222exkd.mjs +2 -0
  193. package/dist/chunks/cli-1.1.34-r3kdjy4e.mjs +2 -0
  194. package/dist/chunks/cli-1.1.34-r5dphbcm.mjs +2 -0
  195. package/dist/chunks/cli-1.1.34-rb7wdjza.mjs +45 -0
  196. package/dist/chunks/cli-1.1.34-rkx3x9f6.mjs +4 -0
  197. package/dist/chunks/cli-1.1.34-rqkzp4n2.mjs +2 -0
  198. package/dist/chunks/cli-1.1.34-rs4xg86x.mjs +2 -0
  199. package/dist/chunks/cli-1.1.34-s4gsmtx9.mjs +21 -0
  200. package/dist/chunks/cli-1.1.34-s8c2c7g3.mjs +3 -0
  201. package/dist/chunks/cli-1.1.34-s9g6mekb.mjs +2 -0
  202. package/dist/chunks/cli-1.1.34-sfxba1xz.mjs +3 -0
  203. package/dist/chunks/cli-1.1.34-shm51n5s.mjs +2 -0
  204. package/dist/chunks/cli-1.1.34-sj1pcnn3.mjs +2 -0
  205. package/dist/chunks/cli-1.1.34-sq51za8b.mjs +2 -0
  206. package/dist/chunks/cli-1.1.34-sxpgdyxm.mjs +2 -0
  207. package/dist/chunks/cli-1.1.34-syx85e6f.mjs +15 -0
  208. package/dist/chunks/cli-1.1.34-t4rp44p7.mjs +2 -0
  209. package/dist/chunks/cli-1.1.34-tj5mvsam.mjs +2 -0
  210. package/dist/chunks/cli-1.1.34-tmwcg7q1.mjs +2 -0
  211. package/dist/chunks/cli-1.1.34-ty06ehzt.mjs +3 -0
  212. package/dist/chunks/cli-1.1.34-v2gbtt59.mjs +50 -0
  213. package/dist/chunks/cli-1.1.34-vdk5kjz7.mjs +15 -0
  214. package/dist/chunks/cli-1.1.34-vdwfqapw.mjs +2 -0
  215. package/dist/chunks/cli-1.1.34-vmnqkma9.mjs +2 -0
  216. package/dist/chunks/cli-1.1.34-vpwwhg8z.mjs +2 -0
  217. package/dist/chunks/cli-1.1.34-vrsb0pea.mjs +2 -0
  218. package/dist/chunks/cli-1.1.34-vz14r55x.mjs +3 -0
  219. package/dist/chunks/cli-1.1.34-w7vjt3vm.mjs +2 -0
  220. package/dist/chunks/cli-1.1.34-w9ek3z9c.mjs +2 -0
  221. package/dist/chunks/cli-1.1.34-webjc1s3.mjs +2 -0
  222. package/dist/chunks/cli-1.1.34-wfb66gsv.mjs +2 -0
  223. package/dist/chunks/cli-1.1.34-wh74w227.mjs +2 -0
  224. package/dist/chunks/cli-1.1.34-whbj9gb8.mjs +24 -0
  225. package/dist/chunks/cli-1.1.34-wqkce8kj.mjs +2 -0
  226. package/dist/chunks/cli-1.1.34-wwjkncsv.mjs +203 -0
  227. package/dist/chunks/cli-1.1.34-wwvcrp2d.mjs +2 -0
  228. package/dist/chunks/cli-1.1.34-xptd4xtb.mjs +2 -0
  229. package/dist/chunks/cli-1.1.34-xwg0x7p4.mjs +5 -0
  230. package/dist/chunks/cli-1.1.34-xx555z7d.mjs +25 -0
  231. package/dist/chunks/cli-1.1.34-yfasvar9.mjs +2 -0
  232. package/dist/chunks/cli-1.1.34-yk56k2na.mjs +2 -0
  233. package/dist/chunks/cli-1.1.34-yqryw36t.mjs +2 -0
  234. package/dist/chunks/cli-1.1.34-yqyrt954.mjs +2 -0
  235. package/dist/chunks/cli-1.1.34-yrk4mxjw.mjs +16 -0
  236. package/dist/chunks/cli-1.1.34-z14xw89f.mjs +2 -0
  237. package/dist/chunks/cli-1.1.34-z1htezxg.mjs +2 -0
  238. package/dist/chunks/cli-1.1.34-z1tmh10g.mjs +2 -0
  239. package/dist/chunks/cli-1.1.34-z84fkt5q.mjs +2 -0
  240. package/dist/chunks/cli-1.1.34-zpsaqq15.mjs +17 -0
  241. package/dist/chunks/client-1.1.34-4exntck8.mjs +1 -0
  242. package/dist/chunks/color-1.1.34-d4199wch.mjs +1 -0
  243. package/dist/chunks/compact-1.1.34-jwr60dt0.mjs +2 -0
  244. package/dist/chunks/config-1.1.34-acewhfv4.mjs +1 -0
  245. package/dist/chunks/config-1.1.34-tqzmnvs7.mjs +1 -0
  246. package/dist/chunks/constants-1.1.34-s2nkrx7g.mjs +1 -0
  247. package/dist/chunks/context-1.1.34-wc822wp5.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-1.1.34-59xb33ys.mjs +1 -0
  249. package/dist/chunks/conversation-1.1.34-5k03q5nt.mjs +1 -0
  250. package/dist/chunks/copilotHeaders-1.1.34-dkmsvh40.mjs +1 -0
  251. package/dist/chunks/copy-1.1.34-efb24nm3.mjs +9 -0
  252. package/dist/chunks/cost-1.1.34-nqqv2xjh.mjs +1 -0
  253. package/dist/chunks/createSession-1.1.34-69d3ep6s.mjs +1 -0
  254. package/dist/chunks/debug-1.1.34-k568mcye.mjs +1 -0
  255. package/dist/chunks/defaultActionDeps-1.1.34-16tn959k.mjs +1480 -0
  256. package/dist/chunks/desktop-1.1.34-p9x626qf.mjs +2 -0
  257. package/dist/chunks/detectRepository-1.1.34-rqyapz8m.mjs +1 -0
  258. package/dist/chunks/detection-1.1.34-5xfznq79.mjs +1 -0
  259. package/dist/chunks/diff-1.1.34-5ggzgzf5.mjs +1 -0
  260. package/dist/chunks/doctor-1.1.34-j6mbdd5g.mjs +1 -0
  261. package/dist/chunks/doctorDiagnostic-1.1.34-spmjpktf.mjs +1 -0
  262. package/dist/chunks/earlyInput-1.1.34-a0ptf6h4.mjs +1 -0
  263. package/dist/chunks/effort-1.1.34-9k8mc8ca.mjs +13 -0
  264. package/dist/chunks/engine-1.1.34-y28mg4na.mjs +1 -0
  265. package/dist/chunks/envLessBridgeConfig-1.1.34-wm7tybv6.mjs +1 -0
  266. package/dist/chunks/envUtils-1.1.34-rmsh5nt5.mjs +1 -0
  267. package/dist/chunks/errors-1.1.34-61fzsrh4.mjs +1 -0
  268. package/dist/chunks/exampleCommands-1.1.34-8x8b7p9t.mjs +1 -0
  269. package/dist/chunks/execFileNoThrow-1.1.34-zemxr8xw.mjs +1 -0
  270. package/dist/chunks/exit-1.1.34-sw6zmmgn.mjs +1 -0
  271. package/dist/chunks/explorer-1.1.34-3apnqz0a.mjs +1 -0
  272. package/dist/chunks/export-1.1.34-1hyv5efm.mjs +2 -0
  273. package/dist/chunks/fast-1.1.34-3d72mbz1.mjs +1 -0
  274. package/dist/chunks/feedback-1.1.34-k74bh5v8.mjs +16 -0
  275. package/dist/chunks/git-1.1.34-p3qv0ed3.mjs +1 -0
  276. package/dist/chunks/githubModelsCredentials-1.1.34-hmjt89m3.mjs +1 -0
  277. package/dist/chunks/goal-1.1.34-m6dge19b.mjs +4 -0
  278. package/dist/chunks/headless-1.1.34-hpaadbg6.mjs +2 -0
  279. package/dist/chunks/heapdump-1.1.34-zc52x1pc.mjs +6 -0
  280. package/dist/chunks/help-1.1.34-0sgw7jbh.mjs +1 -0
  281. package/dist/chunks/hooks-1.1.34-8s6pawxx.mjs +1 -0
  282. package/dist/chunks/hooks-1.1.34-vnm6rywf.mjs +79 -0
  283. package/dist/chunks/ide-1.1.34-jbcf8ma9.mjs +3 -0
  284. package/dist/chunks/image-processor-napi-1.1.34-zrk7wvw2.mjs +1 -0
  285. package/dist/chunks/import-1.1.34-4j35p307.mjs +261 -0
  286. package/dist/chunks/inboundAttachments-1.1.34-pk5t3y0v.mjs +1 -0
  287. package/dist/chunks/index-1.1.34-086aty1n.mjs +1 -0
  288. package/dist/chunks/index-1.1.34-0q46c1bj.mjs +1 -0
  289. package/dist/chunks/index-1.1.34-2j48ar1m.mjs +1 -0
  290. package/dist/chunks/index-1.1.34-427npr7a.mjs +1 -0
  291. package/dist/chunks/index-1.1.34-50d0rg8h.mjs +5 -0
  292. package/dist/chunks/index-1.1.34-50j6q6gr.mjs +1 -0
  293. package/dist/chunks/index-1.1.34-ehvgt047.mjs +1 -0
  294. package/dist/chunks/index-1.1.34-faq1af2v.mjs +1 -0
  295. package/dist/chunks/index-1.1.34-fvrswew9.mjs +2 -0
  296. package/dist/chunks/index-1.1.34-mx39dxjj.mjs +30 -0
  297. package/dist/chunks/index-1.1.34-mxpb8hvr.mjs +9 -0
  298. package/dist/chunks/index-1.1.34-nye63dch.mjs +1 -0
  299. package/dist/chunks/index-1.1.34-qmmg0npy.mjs +2 -0
  300. package/dist/chunks/index-1.1.34-qxa3e3cv.mjs +1 -0
  301. package/dist/chunks/index-1.1.34-snehdv50.mjs +1 -0
  302. package/dist/chunks/index-1.1.34-t7jsxdbk.mjs +1 -0
  303. package/dist/chunks/index-1.1.34-wgm8z1dz.mjs +1 -0
  304. package/dist/chunks/index-1.1.34-wz64a3d4.mjs +9 -0
  305. package/dist/chunks/index-1.1.34-x83gwj6g.mjs +23 -0
  306. package/dist/chunks/index-1.1.34-xa114b8t.mjs +1 -0
  307. package/dist/chunks/index-1.1.34-y10pcdv1.mjs +1 -0
  308. package/dist/chunks/index-1.1.34-yqzmcm9y.mjs +1 -0
  309. package/dist/chunks/index-1.1.34-yxzywg42.mjs +1 -0
  310. package/dist/chunks/init-1.1.34-jdhgqsrc.mjs +2 -0
  311. package/dist/chunks/initReplBridge-1.1.34-b0awafmd.mjs +1 -0
  312. package/dist/chunks/ink-1.1.34-yb3z87en.mjs +1 -0
  313. package/dist/chunks/insights-1.1.34-a321wxgf.mjs +870 -0
  314. package/dist/chunks/install-1.1.34-064wyxwb.mjs +1 -0
  315. package/dist/chunks/install-github-app-1.1.34-smwffy57.mjs +149 -0
  316. package/dist/chunks/install-slack-app-1.1.34-a5bwj8gk.mjs +1 -0
  317. package/dist/chunks/interactiveHelpers-1.1.34-pq1b6btm.mjs +1 -0
  318. package/dist/chunks/keybindings-1.1.34-rq312f3j.mjs +2 -0
  319. package/dist/chunks/latestVersionCache-1.1.34-x006sta9.mjs +1 -0
  320. package/dist/chunks/loadAgentsDir-1.1.34-2w0hm9wz.mjs +1 -0
  321. package/dist/chunks/loadPluginHooks-1.1.34-t9s8mknk.mjs +1 -0
  322. package/dist/chunks/log-1.1.34-n41t6etn.mjs +1 -0
  323. package/dist/chunks/main-1.1.34-gh9n8dgw.mjs +1 -0
  324. package/dist/chunks/managedEnv-1.1.34-qntg5ykr.mjs +1 -0
  325. package/dist/chunks/mcp-1.1.34-5mtgev8d.mjs +17 -0
  326. package/dist/chunks/mcp-1.1.34-61dcjzjk.mjs +4 -0
  327. package/dist/chunks/mcp-1.1.34-9d1py1ez.mjs +1 -0
  328. package/dist/chunks/mcpb-1.1.34-x9mxeryp.mjs +1 -0
  329. package/dist/chunks/memory-1.1.34-sys90hns.mjs +128 -0
  330. package/dist/chunks/model-1.1.34-v1r14fy7.mjs +1 -0
  331. package/dist/chunks/model-1.1.34-vks7w05g.mjs +2 -0
  332. package/dist/chunks/node-1.1.34-5b5b2m9b.mjs +1 -0
  333. package/dist/chunks/node-1.1.34-sdqnj3qm.mjs +15 -0
  334. package/dist/chunks/oauth-1.1.34-bbmwrswg.mjs +1 -0
  335. package/dist/chunks/openaiShim-1.1.34-kj2a4r19.mjs +14 -0
  336. package/dist/chunks/output-style-1.1.34-a4dykckn.mjs +1 -0
  337. package/dist/chunks/package-F6O7J2XI-1.1.34-291qk0fk.mjs +1 -0
  338. package/dist/chunks/permissions-1.1.34-bqhsed60.mjs +1 -0
  339. package/dist/chunks/permissions-1.1.34-xkrhteme.mjs +3 -0
  340. package/dist/chunks/plan-1.1.34-j7qcpv9s.mjs +1 -0
  341. package/dist/chunks/plist-1.1.34-ykta36sg.mjs +1 -0
  342. package/dist/chunks/plugin-1.1.34-vszmzh0r.mjs +29 -0
  343. package/dist/chunks/pluginStartupCheck-1.1.34-5xap799m.mjs +1 -0
  344. package/dist/chunks/plugins-1.1.34-6ea553qa.mjs +9 -0
  345. package/dist/chunks/preActionHook-1.1.34-xy1pecch.mjs +2 -0
  346. package/dist/chunks/print-1.1.34-2gdkw86g.mjs +57 -0
  347. package/dist/chunks/process-1.1.34-fms89mxv.mjs +1 -0
  348. package/dist/chunks/processBashCommand-1.1.34-gcydk2hd.mjs +1 -0
  349. package/dist/chunks/processSlashCommand-1.1.34-a3q257ff.mjs +9 -0
  350. package/dist/chunks/prompt-1.1.34-ctfxsw9h.mjs +1 -0
  351. package/dist/chunks/prompt-1.1.34-wp8mvh7t.mjs +1 -0
  352. package/dist/chunks/prompts-1.1.34-bmq3swzy.mjs +1 -0
  353. package/dist/chunks/provider-1.1.34-00xnjkhs.mjs +2 -0
  354. package/dist/chunks/providerProfiles-1.1.34-psred1pr.mjs +1 -0
  355. package/dist/chunks/providerValidation-1.1.34-0vamj708.mjs +6 -0
  356. package/dist/chunks/registerSubcommands-1.1.34-pmqr2nmf.mjs +26 -0
  357. package/dist/chunks/registry-1.1.34-sapmjhjz.mjs +1 -0
  358. package/dist/chunks/release-notes-1.1.34-p6wg8evp.mjs +5 -0
  359. package/dist/chunks/reload-plugins-1.1.34-cd8e00jp.mjs +2 -0
  360. package/dist/chunks/remote-env-1.1.34-fpepp6cm.mjs +1 -0
  361. package/dist/chunks/remoteBridgeCore-1.1.34-mmxz0ypj.mjs +1 -0
  362. package/dist/chunks/rename-1.1.34-gwdavcb8.mjs +1 -0
  363. package/dist/chunks/replLauncher-1.1.34-5yvyazea.mjs +1 -0
  364. package/dist/chunks/resume-1.1.34-9abwrf3b.mjs +2 -0
  365. package/dist/chunks/rewind-1.1.34-qf51de9x.mjs +1 -0
  366. package/dist/chunks/rootOptions-1.1.34-dkd3s4x5.mjs +1 -0
  367. package/dist/chunks/runWorkflowHeadless-1.1.34-c0j2ym4w.mjs +10 -0
  368. package/dist/chunks/sandbox-adapter-1.1.34-ad556paa.mjs +1 -0
  369. package/dist/chunks/sandbox-toggle-1.1.34-1x2ddxv2.mjs +1 -0
  370. package/dist/chunks/session-1.1.34-h46ywygv.mjs +2 -0
  371. package/dist/chunks/sessionStorage-1.1.34-tc7rwcvm.mjs +1 -0
  372. package/dist/chunks/settings-1.1.34-bk3tb34s.mjs +1 -0
  373. package/dist/chunks/setup-1.1.34-3ddxnk01.mjs +12 -0
  374. package/dist/chunks/sinks-1.1.34-ww0tcz6j.mjs +1 -0
  375. package/dist/chunks/skills-1.1.34-3ybbxgjn.mjs +1 -0
  376. package/dist/chunks/startupProfiler-1.1.34-7z13z7v7.mjs +1 -0
  377. package/dist/chunks/startupUpdateCheck-1.1.34-45fyr9wz.mjs +1 -0
  378. package/dist/chunks/state-1.1.34-pymefs1m.mjs +1 -0
  379. package/dist/chunks/stats-1.1.34-4jw41qjm.mjs +1 -0
  380. package/dist/chunks/status-1.1.34-r120pa8k.mjs +1 -0
  381. package/dist/chunks/stickers-1.1.34-5zsfjhdn.mjs +1 -0
  382. package/dist/chunks/subprocessEnv-1.1.34-44r7jf62.mjs +1 -0
  383. package/dist/chunks/tasks-1.1.34-1mhjk4hs.mjs +1 -0
  384. package/dist/chunks/teamHelpers-1.1.34-jfmrh1r7.mjs +1 -0
  385. package/dist/chunks/teammateModeSnapshot-1.1.34-m47hpvj2.mjs +1 -0
  386. package/dist/chunks/teleport-1.1.34-g7gk9g3q.mjs +1 -0
  387. package/dist/chunks/terminalSetup-1.1.34-8e12gzad.mjs +1 -0
  388. package/dist/chunks/theme-1.1.34-bvmx3zyc.mjs +1 -0
  389. package/dist/chunks/thinkback-1.1.34-bz9h3qn7.mjs +1 -0
  390. package/dist/chunks/thinkback-play-1.1.34-azysb61e.mjs +1 -0
  391. package/dist/chunks/toolPool-1.1.34-tewk9s1e.mjs +1 -0
  392. package/dist/chunks/toolSearch-1.1.34-70r6c6d3.mjs +1 -0
  393. package/dist/chunks/tools-1.1.34-a7jpjvb5.mjs +1 -0
  394. package/dist/chunks/trustedDevice-1.1.34-jhn5330j.mjs +1 -0
  395. package/dist/chunks/turndown.cjs-1.1.34-8ve160tv.mjs +69 -0
  396. package/dist/chunks/types-1.1.34-0as4p0wf.mjs +1 -0
  397. package/dist/chunks/ultrareviewCommand-1.1.34-b7bpj27y.mjs +4 -0
  398. package/dist/chunks/update-1.1.34-wnetpcv6.mjs +72 -0
  399. package/dist/chunks/upload-1.1.34-3cdkjhmm.mjs +7 -0
  400. package/dist/chunks/upstreamproxy-1.1.34-x376823n.mjs +14 -0
  401. package/dist/chunks/usage-1.1.34-h5bv8trt.mjs +1 -0
  402. package/dist/chunks/util-1.1.34-7ctz504f.mjs +1 -0
  403. package/dist/chunks/utils-1.1.34-h9r9ybtj.mjs +1 -0
  404. package/dist/chunks/vim-1.1.34-4y4504z8.mjs +1 -0
  405. package/dist/chunks/watchLoop-1.1.34-tnjnpc05.mjs +13 -0
  406. package/dist/chunks/wiki-1.1.34-53n04tv3.mjs +132 -0
  407. package/dist/chunks/workflows-1.1.34-zefy425g.mjs +1 -0
  408. package/dist/chunks/worktree-1.1.34-gzm7041w.mjs +1 -0
  409. package/dist/chunks/worktreeModeEnabled-1.1.34-x9qxm01a.mjs +1 -0
  410. package/dist/chunks/wrapper-1.1.34-jmcmxyrm.mjs +7 -0
  411. package/dist/cli.mjs +2 -2
  412. package/package.json +9 -9
  413. package/dist/chunks/App-1.1.33-y76d67dw.mjs +0 -1
  414. package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +0 -1
  415. package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +0 -1
  416. package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +0 -1
  417. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +0 -1
  418. package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +0 -1
  419. package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +0 -6
  420. package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +0 -1
  421. package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +0 -6
  422. package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +0 -1
  423. package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +0 -1
  424. package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +0 -1
  425. package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +0 -1
  426. package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +0 -1
  427. package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +0 -1
  428. package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +0 -1
  429. package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +0 -1
  430. package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +0 -1
  431. package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +0 -1
  432. package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +0 -1
  433. package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +0 -9
  434. package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +0 -1
  435. package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +0 -1
  436. package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +0 -1
  437. package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +0 -1
  438. package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +0 -1
  439. package/dist/chunks/agents-1.1.33-mbve4trn.mjs +0 -3
  440. package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +0 -110
  441. package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +0 -1
  442. package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +0 -1
  443. package/dist/chunks/auth-1.1.33-k778a810.mjs +0 -1
  444. package/dist/chunks/auth-1.1.33-xappxyn1.mjs +0 -1
  445. package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +0 -52
  446. package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +0 -44
  447. package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +0 -1
  448. package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +0 -1
  449. package/dist/chunks/branch-1.1.33-gthrar82.mjs +0 -4
  450. package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +0 -2
  451. package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +0 -1
  452. package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +0 -1
  453. package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +0 -88
  454. package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +0 -1
  455. package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +0 -1
  456. package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +0 -3
  457. package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +0 -21
  458. package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +0 -4
  459. package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +0 -1
  460. package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +0 -3
  461. package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +0 -1
  462. package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +0 -1
  463. package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +0 -1
  464. package/dist/chunks/cli-1.1.33-05291q1a.mjs +0 -2
  465. package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +0 -15
  466. package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +0 -133
  467. package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +0 -24
  468. package/dist/chunks/cli-1.1.33-0sckqj39.mjs +0 -2
  469. package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +0 -2
  470. package/dist/chunks/cli-1.1.33-20v60hvd.mjs +0 -203
  471. package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +0 -2
  472. package/dist/chunks/cli-1.1.33-22addsh7.mjs +0 -4
  473. package/dist/chunks/cli-1.1.33-231zj4yg.mjs +0 -2
  474. package/dist/chunks/cli-1.1.33-241y9eee.mjs +0 -5
  475. package/dist/chunks/cli-1.1.33-283f43sy.mjs +0 -2
  476. package/dist/chunks/cli-1.1.33-2chamq3v.mjs +0 -2
  477. package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +0 -2
  478. package/dist/chunks/cli-1.1.33-303jm377.mjs +0 -2
  479. package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +0 -10
  480. package/dist/chunks/cli-1.1.33-39q98nwa.mjs +0 -2
  481. package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +0 -2
  482. package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +0 -2
  483. package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +0 -2
  484. package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +0 -2
  485. package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +0 -5
  486. package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +0 -24
  487. package/dist/chunks/cli-1.1.33-4t7b2799.mjs +0 -2
  488. package/dist/chunks/cli-1.1.33-525zf497.mjs +0 -16
  489. package/dist/chunks/cli-1.1.33-56fen5jd.mjs +0 -4
  490. package/dist/chunks/cli-1.1.33-5c19q87v.mjs +0 -2
  491. package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +0 -2
  492. package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +0 -2
  493. package/dist/chunks/cli-1.1.33-5pa215hx.mjs +0 -2
  494. package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +0 -17
  495. package/dist/chunks/cli-1.1.33-726gr74y.mjs +0 -2
  496. package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +0 -2
  497. package/dist/chunks/cli-1.1.33-7qjhgket.mjs +0 -2
  498. package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +0 -2
  499. package/dist/chunks/cli-1.1.33-7rd596wq.mjs +0 -2
  500. package/dist/chunks/cli-1.1.33-7shybbdj.mjs +0 -2
  501. package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +0 -50
  502. package/dist/chunks/cli-1.1.33-87p06j57.mjs +0 -2
  503. package/dist/chunks/cli-1.1.33-8dxvf995.mjs +0 -2
  504. package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +0 -18
  505. package/dist/chunks/cli-1.1.33-8p3h818h.mjs +0 -2
  506. package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +0 -2
  507. package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +0 -2
  508. package/dist/chunks/cli-1.1.33-90w26xxw.mjs +0 -4
  509. package/dist/chunks/cli-1.1.33-94s66kd2.mjs +0 -2
  510. package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +0 -2
  511. package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +0 -2
  512. package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +0 -2
  513. package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +0 -60
  514. package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +0 -3
  515. package/dist/chunks/cli-1.1.33-a6dvne78.mjs +0 -2
  516. package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +0 -2
  517. package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +0 -2
  518. package/dist/chunks/cli-1.1.33-afsw641c.mjs +0 -2
  519. package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +0 -3
  520. package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +0 -11
  521. package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +0 -2
  522. package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +0 -2
  523. package/dist/chunks/cli-1.1.33-bh8452tq.mjs +0 -2
  524. package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +0 -2
  525. package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +0 -2
  526. package/dist/chunks/cli-1.1.33-c14msjsc.mjs +0 -2
  527. package/dist/chunks/cli-1.1.33-c37dxjja.mjs +0 -2
  528. package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +0 -2
  529. package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +0 -2
  530. package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +0 -15
  531. package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +0 -2
  532. package/dist/chunks/cli-1.1.33-cj2t55an.mjs +0 -2
  533. package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +0 -4
  534. package/dist/chunks/cli-1.1.33-czpahv90.mjs +0 -25
  535. package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +0 -2
  536. package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +0 -4
  537. package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +0 -2
  538. package/dist/chunks/cli-1.1.33-das1k5jq.mjs +0 -3
  539. package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +0 -5
  540. package/dist/chunks/cli-1.1.33-df8tggjt.mjs +0 -2
  541. package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +0 -2
  542. package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +0 -3
  543. package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +0 -2
  544. package/dist/chunks/cli-1.1.33-dp41gds0.mjs +0 -2
  545. package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +0 -2
  546. package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +0 -2
  547. package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +0 -3
  548. package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +0 -2
  549. package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +0 -10
  550. package/dist/chunks/cli-1.1.33-effqmrgb.mjs +0 -2
  551. package/dist/chunks/cli-1.1.33-evp1q65w.mjs +0 -2
  552. package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +0 -2
  553. package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +0 -2
  554. package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +0 -63
  555. package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +0 -2
  556. package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +0 -2
  557. package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +0 -6
  558. package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +0 -2
  559. package/dist/chunks/cli-1.1.33-ggk9m978.mjs +0 -7
  560. package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +0 -34
  561. package/dist/chunks/cli-1.1.33-gnejtk17.mjs +0 -7
  562. package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +0 -17
  563. package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +0 -2
  564. package/dist/chunks/cli-1.1.33-h27b2an0.mjs +0 -2
  565. package/dist/chunks/cli-1.1.33-h75frpfe.mjs +0 -2
  566. package/dist/chunks/cli-1.1.33-heys42qe.mjs +0 -9
  567. package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +0 -2
  568. package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +0 -45
  569. package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +0 -2
  570. package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +0 -6
  571. package/dist/chunks/cli-1.1.33-j75f13gr.mjs +0 -2
  572. package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +0 -2
  573. package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +0 -2
  574. package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +0 -2
  575. package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +0 -2
  576. package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +0 -2
  577. package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +0 -2
  578. package/dist/chunks/cli-1.1.33-k466m68a.mjs +0 -2
  579. package/dist/chunks/cli-1.1.33-k51bffb8.mjs +0 -2
  580. package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +0 -2
  581. package/dist/chunks/cli-1.1.33-kg221c89.mjs +0 -2
  582. package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +0 -133
  583. package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +0 -4
  584. package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +0 -2
  585. package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +0 -2
  586. package/dist/chunks/cli-1.1.33-m06xge1a.mjs +0 -2
  587. package/dist/chunks/cli-1.1.33-m08stm17.mjs +0 -2
  588. package/dist/chunks/cli-1.1.33-m402nk5n.mjs +0 -2
  589. package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +0 -2
  590. package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +0 -2
  591. package/dist/chunks/cli-1.1.33-mhph00kg.mjs +0 -24
  592. package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +0 -2
  593. package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +0 -2
  594. package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +0 -4
  595. package/dist/chunks/cli-1.1.33-n55k105y.mjs +0 -2
  596. package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +0 -2
  597. package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +0 -15
  598. package/dist/chunks/cli-1.1.33-ndste4rf.mjs +0 -39
  599. package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +0 -9
  600. package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +0 -6
  601. package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +0 -7
  602. package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +0 -8
  603. package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +0 -42
  604. package/dist/chunks/cli-1.1.33-q8hq263y.mjs +0 -2
  605. package/dist/chunks/cli-1.1.33-qr675sx2.mjs +0 -2
  606. package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +0 -2
  607. package/dist/chunks/cli-1.1.33-ra054vbq.mjs +0 -2
  608. package/dist/chunks/cli-1.1.33-raynjbkq.mjs +0 -2
  609. package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +0 -2
  610. package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +0 -2
  611. package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +0 -2
  612. package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +0 -2
  613. package/dist/chunks/cli-1.1.33-rtme70ck.mjs +0 -2
  614. package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +0 -2
  615. package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +0 -2
  616. package/dist/chunks/cli-1.1.33-s5kw6064.mjs +0 -3
  617. package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +0 -2
  618. package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +0 -2
  619. package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +0 -3
  620. package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +0 -2
  621. package/dist/chunks/cli-1.1.33-t10xrxez.mjs +0 -2
  622. package/dist/chunks/cli-1.1.33-t26pazs8.mjs +0 -2
  623. package/dist/chunks/cli-1.1.33-t591k29k.mjs +0 -21
  624. package/dist/chunks/cli-1.1.33-t63yat1z.mjs +0 -2
  625. package/dist/chunks/cli-1.1.33-t78313g4.mjs +0 -3
  626. package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +0 -12
  627. package/dist/chunks/cli-1.1.33-tp6bhara.mjs +0 -4
  628. package/dist/chunks/cli-1.1.33-ts50d9at.mjs +0 -2
  629. package/dist/chunks/cli-1.1.33-ttc7emph.mjs +0 -25
  630. package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +0 -2
  631. package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +0 -6
  632. package/dist/chunks/cli-1.1.33-v615gn7w.mjs +0 -3
  633. package/dist/chunks/cli-1.1.33-vgynvhys.mjs +0 -5491
  634. package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +0 -2
  635. package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +0 -6
  636. package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +0 -2
  637. package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +0 -2
  638. package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +0 -2
  639. package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +0 -2
  640. package/dist/chunks/cli-1.1.33-xfawy00r.mjs +0 -2
  641. package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +0 -2
  642. package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +0 -2
  643. package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +0 -20
  644. package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +0 -2
  645. package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +0 -2
  646. package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +0 -2
  647. package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +0 -2
  648. package/dist/chunks/cli-1.1.33-yygdy86h.mjs +0 -2
  649. package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +0 -3
  650. package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +0 -2
  651. package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +0 -2
  652. package/dist/chunks/cli-1.1.33-zsk851wd.mjs +0 -2
  653. package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +0 -1
  654. package/dist/chunks/color-1.1.33-q69y353w.mjs +0 -1
  655. package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +0 -2
  656. package/dist/chunks/config-1.1.33-h6tzt18x.mjs +0 -1
  657. package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +0 -1
  658. package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +0 -1
  659. package/dist/chunks/context-1.1.33-pm79kmgf.mjs +0 -1
  660. package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +0 -1
  661. package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +0 -1
  662. package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +0 -1
  663. package/dist/chunks/copy-1.1.33-yynkyja4.mjs +0 -9
  664. package/dist/chunks/cost-1.1.33-sjebbq22.mjs +0 -1
  665. package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +0 -1
  666. package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +0 -1
  667. package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +0 -1480
  668. package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +0 -2
  669. package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +0 -1
  670. package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +0 -1
  671. package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +0 -1
  672. package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +0 -1
  673. package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +0 -1
  674. package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +0 -1
  675. package/dist/chunks/effort-1.1.33-nf63b81y.mjs +0 -13
  676. package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +0 -1
  677. package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +0 -1
  678. package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +0 -1
  679. package/dist/chunks/errors-1.1.33-xdf8frps.mjs +0 -1
  680. package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +0 -1
  681. package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +0 -1
  682. package/dist/chunks/exit-1.1.33-s8c549bt.mjs +0 -1
  683. package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +0 -1
  684. package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +0 -2
  685. package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +0 -1
  686. package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +0 -16
  687. package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +0 -1
  688. package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +0 -1
  689. package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +0 -4
  690. package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +0 -2
  691. package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +0 -6
  692. package/dist/chunks/help-1.1.33-65k2zqsp.mjs +0 -1
  693. package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +0 -1
  694. package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +0 -79
  695. package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +0 -3
  696. package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +0 -1
  697. package/dist/chunks/import-1.1.33-9vq41kwx.mjs +0 -261
  698. package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +0 -1
  699. package/dist/chunks/index-1.1.33-0szd959f.mjs +0 -9
  700. package/dist/chunks/index-1.1.33-1cyg72cg.mjs +0 -5
  701. package/dist/chunks/index-1.1.33-20n0wyay.mjs +0 -2
  702. package/dist/chunks/index-1.1.33-37m0wr5f.mjs +0 -1
  703. package/dist/chunks/index-1.1.33-4e6weswv.mjs +0 -2
  704. package/dist/chunks/index-1.1.33-5at6jw86.mjs +0 -9
  705. package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +0 -1
  706. package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +0 -1
  707. package/dist/chunks/index-1.1.33-809kmg0e.mjs +0 -1
  708. package/dist/chunks/index-1.1.33-av56945n.mjs +0 -1
  709. package/dist/chunks/index-1.1.33-ayj1khn3.mjs +0 -1
  710. package/dist/chunks/index-1.1.33-d4h14a2g.mjs +0 -1
  711. package/dist/chunks/index-1.1.33-j01a41jn.mjs +0 -1
  712. package/dist/chunks/index-1.1.33-j3pffnmd.mjs +0 -30
  713. package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +0 -23
  714. package/dist/chunks/index-1.1.33-pdret8nd.mjs +0 -1
  715. package/dist/chunks/index-1.1.33-px65xz19.mjs +0 -1
  716. package/dist/chunks/index-1.1.33-q02fr1yn.mjs +0 -1
  717. package/dist/chunks/index-1.1.33-qckmwfjb.mjs +0 -1
  718. package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +0 -1
  719. package/dist/chunks/index-1.1.33-thfe8yxq.mjs +0 -1
  720. package/dist/chunks/index-1.1.33-vpdejaqk.mjs +0 -1
  721. package/dist/chunks/index-1.1.33-x6vn8g63.mjs +0 -1
  722. package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +0 -2
  723. package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +0 -1
  724. package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +0 -1
  725. package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +0 -870
  726. package/dist/chunks/install-1.1.33-yddevjtj.mjs +0 -1
  727. package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +0 -149
  728. package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +0 -1
  729. package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +0 -1
  730. package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +0 -2
  731. package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +0 -1
  732. package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +0 -1
  733. package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +0 -1
  734. package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +0 -1
  735. package/dist/chunks/main-1.1.33-qvas86jh.mjs +0 -1
  736. package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +0 -1
  737. package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +0 -1
  738. package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +0 -4
  739. package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +0 -17
  740. package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +0 -1
  741. package/dist/chunks/memory-1.1.33-9qffk96q.mjs +0 -128
  742. package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +0 -1
  743. package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +0 -2
  744. package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +0 -1
  745. package/dist/chunks/node-1.1.33-qg258pyx.mjs +0 -15
  746. package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +0 -1
  747. package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +0 -14
  748. package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +0 -1
  749. package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +0 -1
  750. package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +0 -1
  751. package/dist/chunks/permissions-1.1.33-qk86j364.mjs +0 -3
  752. package/dist/chunks/plan-1.1.33-brttkasm.mjs +0 -1
  753. package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +0 -1
  754. package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +0 -29
  755. package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +0 -1
  756. package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +0 -9
  757. package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +0 -2
  758. package/dist/chunks/print-1.1.33-0an9v6wm.mjs +0 -57
  759. package/dist/chunks/process-1.1.33-34nr1vvf.mjs +0 -1
  760. package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +0 -1
  761. package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +0 -9
  762. package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +0 -1
  763. package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +0 -1
  764. package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +0 -1
  765. package/dist/chunks/provider-1.1.33-s17k8dew.mjs +0 -2
  766. package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +0 -1
  767. package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +0 -6
  768. package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +0 -26
  769. package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +0 -1
  770. package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +0 -5
  771. package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +0 -2
  772. package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +0 -1
  773. package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +0 -1
  774. package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +0 -1
  775. package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +0 -1
  776. package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +0 -2
  777. package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +0 -1
  778. package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +0 -1
  779. package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +0 -10
  780. package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +0 -1
  781. package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +0 -1
  782. package/dist/chunks/session-1.1.33-aepc1jdx.mjs +0 -2
  783. package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +0 -1
  784. package/dist/chunks/settings-1.1.33-16470dd7.mjs +0 -1
  785. package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +0 -12
  786. package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +0 -1
  787. package/dist/chunks/skills-1.1.33-srydghps.mjs +0 -1
  788. package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +0 -1
  789. package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +0 -1
  790. package/dist/chunks/state-1.1.33-yr57kw5b.mjs +0 -1
  791. package/dist/chunks/stats-1.1.33-py9web9f.mjs +0 -1
  792. package/dist/chunks/status-1.1.33-rstx4c0p.mjs +0 -1
  793. package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +0 -1
  794. package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +0 -1
  795. package/dist/chunks/tasks-1.1.33-170ayzks.mjs +0 -1
  796. package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +0 -1
  797. package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +0 -1
  798. package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +0 -1
  799. package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +0 -1
  800. package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +0 -1
  801. package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +0 -1
  802. package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +0 -1
  803. package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +0 -1
  804. package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +0 -1
  805. package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +0 -1
  806. package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +0 -1
  807. package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +0 -69
  808. package/dist/chunks/types-1.1.33-bc49bs3y.mjs +0 -1
  809. package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +0 -4
  810. package/dist/chunks/update-1.1.33-hz986n0w.mjs +0 -72
  811. package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +0 -7
  812. package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +0 -14
  813. package/dist/chunks/usage-1.1.33-jspq6593.mjs +0 -1
  814. package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +0 -1
  815. package/dist/chunks/utils-1.1.33-613tmzqb.mjs +0 -1
  816. package/dist/chunks/vim-1.1.33-gamhf412.mjs +0 -1
  817. package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +0 -13
  818. package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +0 -132
  819. package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +0 -1
  820. package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +0 -1
  821. package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +0 -1
  822. package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +0 -7
  823. /package/dist/chunks/{cli-1.1.33-kx980gfw.mjs → cli-1.1.34-0f5qa0q0.mjs} +0 -0
  824. /package/dist/chunks/{cli-1.1.33-5ff9vmz9.mjs → cli-1.1.34-1426jsf4.mjs} +0 -0
  825. /package/dist/chunks/{cli-1.1.33-xyh0vcv7.mjs → cli-1.1.34-6ndxsqp1.mjs} +0 -0
  826. /package/dist/chunks/{cli-1.1.33-f0vf76a6.mjs → cli-1.1.34-gmaedxb1.mjs} +0 -0
  827. /package/dist/chunks/{cli-1.1.33-1mfasbf1.mjs → cli-1.1.34-h9h6119y.mjs} +0 -0
@@ -1,3 +0,0 @@
1
- import{iqa as x,kqa as y,oqa as C}from"./cli-1.1.33-6fq5cn5g.mjs";import{rqa as k}from"./cli-1.1.33-cfj1bzen.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 q8};
@@ -1,2 +0,0 @@
1
- import{sqa as Q,tqa as U}from"./cli-1.1.33-cfj1bzen.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
- export{K as d9,w as e9,L as f9};
@@ -1,2 +0,0 @@
1
- import{Epa as M,Fpa as Y}from"./cli-1.1.33-5ehc9tkd.mjs";import{tqa as W}from"./cli-1.1.33-cfj1bzen.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDIN_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDIN_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-5","VERTEX_REGION_CLAUDE_5_OPUS"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
- export{$ as Jja,N as Kja,X as Lja,_ as Mja,j as Nja,U as Oja,I as Pja,S as Qja,T as Rja,c as Sja,L as Tja,w as Uja,z as Vja,k as Wja};
@@ -1,2 +0,0 @@
1
- import{EB as I,HB as X}from"./cli-1.1.33-vgynvhys.mjs";import{Oja as H,Wja as W}from"./cli-1.1.33-ad43mr1x.mjs";import{tqa as V}from"./cli-1.1.33-cfj1bzen.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
2
- export{q as Sd,F as Td,K as Ud,Q as Vd,R as Wd,_ as Xd,j as Yd,Y as Zd};
@@ -1,2 +0,0 @@
1
- import{ao as Q,eo as f}from"./cli-1.1.33-vgynvhys.mjs";import{_fa as B,dga as M}from"./cli-1.1.33-20v60hvd.mjs";import{Gia as W,Hia as Z,Lia as X,Pia as $,Tia as Y,bja as b,eja as A}from"./cli-1.1.33-241y9eee.mjs";import{tqa as U}from"./cli-1.1.33-cfj1bzen.mjs";import{randomBytes as G}from"crypto";import{readFile as L,rename as N,unlink as j,writeFile as S}from"fs/promises";import{join as T}from"path";function R(){return T(Q(),_)}function E(q){let v=Z(q);if(typeof v!=="object"||v===null||!("plugins"in v)||typeof v.plugins!=="object"||v.plugins===null)return{};let x=v.plugins,C={};for(let[J,H]of Object.entries(x))if(H&&typeof H==="object"&&"flaggedAt"in H&&typeof H.flaggedAt==="string"){let V={flaggedAt:H.flaggedAt};if("seenAt"in H&&typeof H.seenAt==="string")V.seenAt=H.seenAt;C[J]=V}return C}async function K(){try{let q=await L(R(),{encoding:"utf-8"});return E(q)}catch{return{}}}async function O(q){let v=R(),x=`${v}.${G(8).toString("hex")}.tmp`;try{await $().mkdir(Q());let C=W({plugins:q},null,2);await S(x,C,{encoding:"utf-8",mode:384}),await N(x,v),z=q}catch(C){B(C);try{await j(x)}catch{}}}async function u(){let q=await K(),v=Date.now(),x=!1;for(let[C,J]of Object.entries(q))if(J.seenAt&&v-new Date(J.seenAt).getTime()>=w)delete q[C],x=!0;if(z=q,x)await O(q)}function p(){return z??{}}async function c(q){if(z===null)z=await K();let v={...z,[q]:{flaggedAt:new Date().toISOString()}};await O(v),b(`Flagged plugin: ${q}`)}async function g(q){if(z===null)z=await K();let v=new Date().toISOString(),x=!1,C={...z};for(let J of q){let H=C[J];if(H&&!H.seenAt)C[J]={...H,seenAt:v},x=!0}if(x)await O(C)}async function d(q){if(z===null)z=await K();if(!(q in z))return;let{[q]:v,...x}=z;z=x,await O(x)}var _="flagged-plugins.json",w=172800000,z=null;var k=U(()=>{A();Y();M();X();f()});
2
- export{u as Kc,p as Lc,c as Mc,g as Nc,d as Oc,k as Pc};
@@ -1,3 +0,0 @@
1
- import{Jk as g,Kk as zq,Kx as S,Lj as a,Lx as Qq,Nj as Oq,Ol as m,TG as M,UG as Zq,Xl as R,Yl as W,ZE as c,_E as Xq,cS as Aq,dS as Yq,dm as p,fm as Hq,pB as P,qB as Vq,qm as F,vm as Kq}from"./cli-1.1.33-vgynvhys.mjs";import{CT as i,DT as Gq}from"./cli-1.1.33-1fpzq80d.mjs";import{FX as E,HX as j,mY as Jq,tW as Bq}from"./cli-1.1.33-9zba2a1d.mjs";import{Q1 as Q,R1 as v,S1 as y}from"./cli-1.1.33-h27b2an0.mjs";import{T1 as Iq}from"./cli-1.1.33-czrp8ff2.mjs";import{M$ as T,O$ as qq}from"./cli-1.1.33-20v60hvd.mjs";import{bja as $,eja as e}from"./cli-1.1.33-241y9eee.mjs";import{pqa as w,qqa as s,tqa as k}from"./cli-1.1.33-cfj1bzen.mjs";function f(){(Yq(),s(Aq)).saveWorktreeState(null),g()}function l({onDone:G,onCancel:I}){let[V,H]=X.useState("loading"),[J,O]=X.useState([]),[z,Z]=X.useState(0),[_,K]=X.useState(),q=m();if(X.useEffect(()=>{async function A(){let B=[],Y=await T("git",["status","--porcelain"]);if(Y.stdout)B=Y.stdout.split(`
2
- `).filter((U)=>U.trim()!==""),O(B);if(q){let{stdout:U}=await T("git",["rev-list","--count",`${q.originalHeadCommit}..HEAD`]),x=parseInt(U.trim())||0;if(Z(x),B.length===0&&x===0){H("removing"),W().then(()=>{process.chdir(q.originalCwd),P(q.originalCwd),F.cache.clear?.(),K("Worktree removed (no changes)")}).catch((t)=>{$(`Failed to clean up worktree: ${t}`,{level:"error"}),K("Worktree cleanup failed, exiting anyway")}).finally(()=>{f()}).then(()=>{H("done")});return}else H("asking")}}A()},[q]),X.useEffect(()=>{if(V==="done")G(_)},[V,G,_]),!q)return G("No active worktree session found",{display:"system"}),null;if(V==="loading"||V==="done")return null;async function d(A){if(!q)return;let B=Boolean(q.tmuxSessionName);if(A==="keep"||A==="keep-with-tmux"){H("keeping"),await R();try{process.chdir(q.originalCwd),P(q.originalCwd)}finally{f()}if(F.cache.clear?.(),B)K(`Worktree kept. Your work is saved at ${q.worktreePath} on branch ${q.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${q.tmuxSessionName}`);else K(`Worktree kept. Your work is saved at ${q.worktreePath} on branch ${q.worktreeBranch}`);H("done")}else if(A==="keep-kill-tmux"){if(H("keeping"),q.tmuxSessionName)await p(q.tmuxSessionName);await R();try{process.chdir(q.originalCwd),P(q.originalCwd)}finally{f()}F.cache.clear?.(),K(`Worktree kept at ${q.worktreePath} on branch ${q.worktreeBranch}. Tmux session terminated.`),H("done")}else if(A==="remove"||A==="remove-with-tmux"){if(H("removing"),q.tmuxSessionName)await p(q.tmuxSessionName);try{await W(),process.chdir(q.originalCwd),P(q.originalCwd),F.cache.clear?.()}catch(U){$(`Failed to clean up worktree: ${U}`,{level:"error"}),K("Worktree cleanup failed, exiting anyway"),H("done");return}finally{f()}let Y=B?" Tmux session terminated.":"";if(z>0&&J.length>0)K(`Worktree removed. ${z} ${z===1?"commit":"commits"} and uncommitted changes were discarded.${Y}`);else if(z>0)K(`Worktree removed. ${z} ${z===1?"commit":"commits"} on ${q.worktreeBranch} ${z===1?"was":"were"} discarded.${Y}`);else if(J.length>0)K(`Worktree removed. Uncommitted changes were discarded.${Y}`);else K(`Worktree removed.${Y}`);H("done")}}if(V==="keeping")return v(E,{flexDirection:"row",marginY:1,children:[Q(M,{}),Q(j,{children:"Keeping worktree…"})]});if(V==="removing")return v(E,{flexDirection:"row",marginY:1,children:[Q(M,{}),Q(j,{children:"Removing worktree…"})]});let D=q.worktreeBranch,N=J.length>0,b=z>0,L="";if(N&&b)L=`You have ${J.length} uncommitted ${J.length===1?"file":"files"} and ${z} ${z===1?"commit":"commits"} on ${D}. All will be lost if you remove.`;else if(N)L=`You have ${J.length} uncommitted ${J.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(b)L=`You have ${z} ${z===1?"commit":"commits"} on ${D}. The branch will be deleted if you remove the worktree.`;else L="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(I){I();return}d("keep")}let h=N||b?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(q.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${q.worktreePath}. Reattach with: tmux attach -t ${q.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${q.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${q.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Q(S,{title:"Exiting worktree session",subtitle:L,onCancel:r,children:Q(c,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:d})})}var X;var u=k(()=>{e();Jq();qq();Kq();zq();Vq();Hq();Xq();Qq();Zq();y();X=w(Iq(),1)});function Uq(){return i(Lq)??"Goodbye!"}function hq(G){let I=n.c(5),{showWorktree:V,onDone:H,onCancel:J}=G,O;if(I[0]!==H)O=async function(_){H(_??Uq()),await a(0,"prompt_input_exit")},I[0]=H,I[1]=O;else O=I[1];let z=O;if(V){let Z;if(I[2]!==J||I[3]!==z)Z=Q(l,{onDone:z,onCancel:J}),I[2]=J,I[3]=z,I[4]=Z;else Z=I[4];return Z}return null}var n,Lq;var Fq=k(()=>{Gq();Oq();u();y();n=w(Bq(),1),Lq=["Goodbye!","See ya!","Bye!","Catch you later!"]});
3
- export{hq as $b,Fq as ac};
@@ -1,11 +0,0 @@
1
- import{I6 as x,K6 as d}from"./cli-1.1.33-effqmrgb.mjs";import{L6 as E,M6 as C,O6 as j,P6 as $,R6 as I,S6 as u}from"./cli-1.1.33-df8tggjt.mjs";import{Eea as T,M$ as Q,N$ as X,O$ as D,U_ as B,V_ as b,_fa as f,dga as F,o_ as O,q_ as Z}from"./cli-1.1.33-20v60hvd.mjs";import{bja as q,eja as A}from"./cli-1.1.33-241y9eee.mjs";import{fpa as m,zna as p}from"./cli-1.1.33-87p06j57.mjs";import{tqa as N,uqa as R}from"./cli-1.1.33-cfj1bzen.mjs";import{homedir as Y}from"os";async function e(){if((await Q("which",["uv"])).code===0)return q("[it2Setup] Found uv (will use uv tool install)"),"uvx";if((await Q("which",["pipx"])).code===0)return q("[it2Setup] Found pipx package manager"),"pipx";if((await Q("which",["pip"])).code===0)return q("[it2Setup] Found pip package manager"),"pip";if((await Q("which",["pip3"])).code===0)return q("[it2Setup] Found pip3 package manager"),"pip";return q("[it2Setup] No Python package manager found"),null}async function k(){return(await Q("which",["it2"])).code===0}async function qq(z){q(`[it2Setup] Installing it2 using ${z}`);let H;switch(z){case"uvx":H=await X("uv",["tool","install","it2"],{cwd:Y()});break;case"pipx":H=await X("pipx",["install","it2"],{cwd:Y()});break;case"pip":if(H=await X("pip",["install","--user","it2"],{cwd:Y()}),H.code!==0)H=await X("pip3",["install","--user","it2"],{cwd:Y()});break}if(H.code!==0){let J=H.stderr||"Unknown installation error";return f(Error(`[it2Setup] Failed to install it2: ${J}`)),{success:!1,error:J,packageManager:z}}return q("[it2Setup] it2 installed successfully"),{success:!0,packageManager:z}}async function zq(){if(q("[it2Setup] Verifying it2 setup..."),!await k())return{success:!1,error:"it2 CLI is not installed or not in PATH"};let H=await Q("it2",["session","list"]);if(H.code!==0){let J=H.stderr.toLowerCase();if(J.includes("api")||J.includes("python")||J.includes("connection refused")||J.includes("not enabled"))return q("[it2Setup] Python API not enabled in iTerm2"),{success:!1,error:"Python API not enabled in iTerm2 preferences",needsPythonApiEnabled:!0};return{success:!1,error:H.stderr||"Failed to communicate with iTerm2"}}return q("[it2Setup] it2 setup verified successfully"),{success:!0}}function Hq(){return["Almost done! Enable the Python API in iTerm2:",""," iTerm2 → Settings → General → Magic → Enable Python API","","After enabling, you may need to restart iTerm2."]}function Jq(){if(Z().iterm2It2SetupComplete!==!0)O((H)=>({...H,iterm2It2SetupComplete:!0})),q("[it2Setup] Marked it2 setup as complete")}function Kq(z){if(Z().preferTmuxOverIterm2!==z)O((J)=>({...J,preferTmuxOverIterm2:z})),q(`[it2Setup] Set preferTmuxOverIterm2 = ${z}`)}function w(){return Z().preferTmuxOverIterm2===!0}var v=N(()=>{T();A();D();F()});async function s(){if(y)return;await import("./TmuxBackend-1.1.33-gph2cfsr.mjs"),await import("./ITermBackend-1.1.33-0syshawj.mjs"),y=!0}function _q(z){S=z}function $q(z){q(`[registry] registerITermBackend called, class=${z?.name||"undefined"}`),W=z}function _(){if(!S)throw Error("TmuxBackend not registered. Import TmuxBackend.ts before using the registry.");return new S}function h(){if(!W)throw Error("ITermBackend not registered. Import ITermBackend.ts before using the registry.");return new W}async function Oq(){if(await s(),K)return q(`[BackendRegistry] Using cached backend: ${K.backend.type}`),K;q("[BackendRegistry] Starting backend detection...");let z=await C(),H=$();if(q(`[BackendRegistry] Environment: insideTmux=${z}, inITerm2=${H}`),z){q("[BackendRegistry] Selected: tmux (running inside tmux session)");let L=_();return U=L,K={backend:L,isNative:!0,needsIt2Setup:!1},K}if(H){let L=w();if(L)q("[BackendRegistry] User prefers tmux over iTerm2, skipping iTerm2 detection");else{let V=await I();if(q(`[BackendRegistry] iTerm2 detected, it2 CLI available: ${V}`),V){q("[BackendRegistry] Selected: iterm2 (native iTerm2 with it2 CLI)");let M=h();return U=M,K={backend:M,isNative:!0,needsIt2Setup:!1},K}}let P=await j();if(q(`[BackendRegistry] it2 not available, tmux available: ${P}`),P){q("[BackendRegistry] Selected: tmux (fallback in iTerm2, it2 setup recommended)");let V=_();return U=V,K={backend:V,isNative:!1,needsIt2Setup:!L},K}throw q("[BackendRegistry] ERROR: iTerm2 detected but no it2 CLI and no tmux"),Error("iTerm2 detected but it2 CLI not installed. Install it2 with: pip install it2")}let J=await j();if(q(`[BackendRegistry] Not in tmux or iTerm2, tmux available: ${J}`),J){q("[BackendRegistry] Selected: tmux (external session mode)");let L=_();return U=L,K={backend:L,isNative:!1,needsIt2Setup:!1},K}throw q("[BackendRegistry] ERROR: No pane backend available"),Error(t())}function t(){switch(B()){case"macos":return`To use agent swarms, install tmux:
2
- brew install tmux
3
- Then start a tmux session with: tmux new-session -s claude`;case"linux":case"wsl":return`To use agent swarms, install tmux:
4
- sudo apt install tmux # Ubuntu/Debian
5
- sudo dnf install tmux # Fedora/RHEL
6
- Then start a tmux session with: tmux new-session -s claude`;case"windows":return`To use agent swarms, you need tmux which requires WSL (Windows Subsystem for Linux).
7
- Install WSL first, then inside WSL run:
8
- sudo apt install tmux
9
- Then start a tmux session with: tmux new-session -s claude`;default:return`To use agent swarms, install tmux using your system's package manager.
10
- Then start a tmux session with: tmux new-session -s claude`}}function Eq(z){switch(z){case"tmux":return _();case"iterm2":return h()}}function jq(){return U}function yq(){return K}function Sq(){q("[BackendRegistry] Marking in-process fallback as active"),G=!0}function i(){return x()}function l(){if(p())return q("[BackendRegistry] isInProcessEnabled: true (non-interactive session)"),!0;let z=i(),H;if(z==="in-process")H=!0;else if(z==="tmux")H=!1;else{if(G)return q("[BackendRegistry] isInProcessEnabled: true (fallback after pane backend unavailable)"),!0;let J=E(),L=$();H=!J&&!L}return q(`[BackendRegistry] isInProcessEnabled: ${H} (mode=${z}, insideTmux=${E()}, inITerm2=${$()})`),H}function Wq(){return l()?"in-process":"tmux"}function Gq(){U=null,K=null,y=!1,G=!1}var U=null,K=null,y=!1,G=!1,S=null,W=null;var n=N(()=>{m();A();b();u();v();d()});
11
- export{e as l6,qq as m6,zq as n6,Hq as o6,Jq as p6,Kq as q6,v as r6,s as s6,_q as t6,$q as u6,Oq as v6,Eq as w6,jq as x6,yq as y6,Sq as z6,l as A6,Wq as B6,Gq as C6,n as D6};
@@ -1,2 +0,0 @@
1
- import{tqa as B}from"./cli-1.1.33-cfj1bzen.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
- export{F as Yi,C as Zi};
@@ -1,2 +0,0 @@
1
- import{B_ as G,M_ as K}from"./cli-1.1.33-20v60hvd.mjs";import{jha as j,kha as M,lha as J,mha as N}from"./cli-1.1.33-f83qf2zv.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
- export{q as Z,$ as _};
@@ -1,2 +0,0 @@
1
- import{tqa as e}from"./cli-1.1.33-cfj1bzen.mjs";function o(){return!0}var t=()=>{};
2
- export{o as US,t as VS};
@@ -1,2 +0,0 @@
1
- import{ob as d}from"./cli-1.1.33-xyh0vcv7.mjs";import{BR as Kj,Fj as O,Hj as o,Jk as $,KR as c,Kk as n,MS as F,Ol as P,Oq as W,PJ as x,PS as Vj,Pl as R,RR as p,Rk as v,Rq as V,SR as X,Sk as r,Xq as jj,Zv as h,_v as k,cR as Jj,dS as Qj,dw as qj,fm as s,kn as E,ln as e,pB as I,qA as w,qB as Gj,qm as y,sA as zj,sR as f,tR as m,uR as S,vm as t,xE as D,yE as Hj,yR as A}from"./cli-1.1.33-vgynvhys.mjs";import{FU as Bj,qU as C}from"./cli-1.1.33-k466m68a.mjs";import{f4 as T,m4 as u}from"./cli-1.1.33-525zf497.mjs";import{pha as Z,rha as i}from"./cli-1.1.33-3de2dtv6.mjs";import{bja as b,eja as l}from"./cli-1.1.33-241y9eee.mjs";import{Cka as U,Fka as _,Kka as Y,bpa as K,dna as M,fna as N,fpa as g}from"./cli-1.1.33-87p06j57.mjs";g();e();qj();jj();r();o();import{dirname as Xj}from"path";Vj();Kj();i();l();zj();Jj();u();t();n();Gj();Qj();Bj();Hj();s();function Yj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=D().safeParse(G.todos);return H.success?H.data:[]}return[]}function Aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)w(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!C()&&j.messages&&j.messages.length>0){let B=Yj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function Zj(j){return}function $j(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Pj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function Rj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:W(H)}}function yj(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function cj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function pj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(x(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Xj(q.transcriptPath):null),await d(),await m(),!h(Q))k(j.messages)}}else if(j.contentReplacements?.length)await f(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)yj(j.worktreeSession),S();let{agentDefinition:G,agentType:H}=Pj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?Zj(j):void 0,L=$j(j.agentName,j.agentColor);A(j.agentName);let a=await Rj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
2
- export{Aj as La,$j as Ma,Pj as Na,yj as Oa,cj as Pa,pj as Qa};
@@ -1,2 +0,0 @@
1
- import{ZE as U,_E as A,mF as V,nF as E}from"./cli-1.1.33-vgynvhys.mjs";import{CV as W,IV as G}from"./cli-1.1.33-v615gn7w.mjs";import{FX as F,HX as H,mY as O}from"./cli-1.1.33-9zba2a1d.mjs";import{Q1 as q,R1 as K,S1 as L}from"./cli-1.1.33-h27b2an0.mjs";import{T1 as I}from"./cli-1.1.33-czrp8ff2.mjs";import{M5 as p,r5 as Q}from"./cli-1.1.33-525zf497.mjs";import{Eea as $,o_ as M,q_ as N}from"./cli-1.1.33-20v60hvd.mjs";import{pqa as Z,tqa as _}from"./cli-1.1.33-cfj1bzen.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
2
- export{b as Rb,d as Sb,P as Tb};
@@ -1,2 +0,0 @@
1
- import{ab as S}from"./cli-1.1.33-8p3h818h.mjs";import{Lc as P,Pc as Tq}from"./cli-1.1.33-afsw641c.mjs";import{Sc as I,Tc as v,Uc as $,Vc as Vq}from"./cli-1.1.33-mg60nkfe.mjs";import{Ev as N,FM as A,Fv as e,GM as Gq,Jv as L,Lv as qq,cO as M,dO as E,ez as h,fO as Jq,fv as C,gO as f,gz as Bq,hO as Qq,lv as r,rp as D,up as a,uq as F,vq as s}from"./cli-1.1.33-vgynvhys.mjs";import{T1 as t}from"./cli-1.1.33-czrp8ff2.mjs";import{Saa as w,Uaa as o,_fa as _,dga as n,x_ as y,z_ as l}from"./cli-1.1.33-20v60hvd.mjs";import{bja as j,eja as d}from"./cli-1.1.33-241y9eee.mjs";import{Aja as x,Ija as p}from"./cli-1.1.33-90w26xxw.mjs";import{pqa as i}from"./cli-1.1.33-cfj1bzen.mjs";Qq();qq();Jq();Vq();o();d();l();p();n();s();Gq();r();e();Bq();var T=i(t(),1);Tq();a();function Fq({enabled:V=!0}={}){let c=T.useSyncExternalStore(v,I,I),H=E(),O=M((J)=>J.plugins.needsRefresh),{addNotification:z}=f(),R=T.useCallback(async()=>{try{let{enabled:J,disabled:W,errors:Q}=await D();await S();let Z=P();if(Object.keys(Z).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let X=[],Y=[];try{X=await A(),$(X)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Y=await F()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await C()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let b=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await h(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await N(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);L(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let g=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(g)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:W,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${W.length}, Commands: ${X.length}, Agents: ${Y.length}, Errors: ${Q.length}`);let u=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:W.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:X.length,agent_count:Y.length,hook_count:u,mcp_count:b,lsp_count:m}}catch(J){let W=x(J);return _(W),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let Z=Q.plugins.errors.filter((Y)=>Y.source==="lsp-manager"||Y.source.startsWith("plugin:")),X={type:"generic-error",source:"plugin-system",error:W.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...Z,X]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return T.useEffect(()=>{if(!V)return;R().then((J)=>{let{ant_enabled_names:W,...Q}=J,Z={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDIN_PLUGIN_CACHE_DIR};y("info","plugins_loaded",Z)})},[R,V]),T.useEffect(()=>{if(V)return;$([])},[V]),T.useEffect(()=>{if(!V||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[V,O,z]),V?c:[]}
2
- export{Fq as $a};
@@ -1,2 +0,0 @@
1
- import{gn as O,hk as M,hn as P,ik as W,in as Q,jn as U,qt as X}from"./cli-1.1.33-vgynvhys.mjs";import{tqa as V}from"./cli-1.1.33-cfj1bzen.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
- export{F as gg,$ as hg};
@@ -1,2 +0,0 @@
1
- import{tqa as b}from"./cli-1.1.33-cfj1bzen.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
2
- export{j as Mb,k as Nb,q as Ob,w as Pb,g as Qb};
@@ -1,2 +0,0 @@
1
- import{ui as W,vi as v,wi as T}from"./cli-1.1.33-yd2b6czv.mjs";import{E8 as R,W8 as C}from"./cli-1.1.33-0kvxjey5.mjs";import{jha as X,kha as F,lha as $,mha as N}from"./cli-1.1.33-f83qf2zv.mjs";import{bja as L,eja as B}from"./cli-1.1.33-241y9eee.mjs";import{Lja as H,Wja as y}from"./cli-1.1.33-ad43mr1x.mjs";import{Cka as E,fpa as j}from"./cli-1.1.33-87p06j57.mjs";C();F();j();B();y();N();T();import{randomUUID as O}from"crypto";import{mkdir as U,writeFile as A}from"fs/promises";import{basename as I,join as M}from"path";var P=30000;function Q(q){L(`[bridge:inbound-attach] ${q}`)}var k=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),D=$(()=>X.array(k()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=D().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return I(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function l(){return M(H(),"uploads",E())}async function x(q){let G=W();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${v()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await R.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:P,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),_=(q.file_uuid.slice(0,8)||O().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),w=l(),Y=M(w,`${_}-${K}`);try{await U(w,{recursive:!0}),await A(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(x))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function u(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function o(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return u(G,K)}
2
- export{S as $,f as aa,u as ba,o as ca};
@@ -1,15 +0,0 @@
1
- import{BN as A,Cs as H,Ds as R,Yj as F,cR as P,zN as J}from"./cli-1.1.33-vgynvhys.mjs";import{S9 as q,X9 as v}from"./cli-1.1.33-20v60hvd.mjs";import{jha as W,kha as C,lha as D,mha as M}from"./cli-1.1.33-f83qf2zv.mjs";import{bja as $,eja as f}from"./cli-1.1.33-241y9eee.mjs";import{fpa as V,zna as Z}from"./cli-1.1.33-87p06j57.mjs";import{tqa as L}from"./cli-1.1.33-cfj1bzen.mjs";function h(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
- `);return G.length>Y?G.slice(-Y):G}async function j(U,Q){let G=U.trim();if(!G)return null;try{let w=await J({systemPrompt:H([X]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:Z(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=F(w.message.content),B=k().safeParse(q(K));return B.success?B.data.title.trim()||null:null}catch(w){return $(`generateSessionTitle failed: ${w}`,{level:"error"}),"Claudin"}}var Y=1000,X=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
-
4
- Return JSON with a single "title" field.
5
-
6
- Good examples:
7
- {"title": "Fix login button on mobile"}
8
- {"title": "Add OAuth authentication"}
9
- {"title": "Debug failing CI tests"}
10
- {"title": "Refactor API client error handling"}
11
-
12
- Bad (too vague): {"title": "Code changes"}
13
- Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
- Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,k;var z=L(()=>{C();V();A();f();v();M();P();R();k=D(()=>W.object({title:W.string()}))});
15
- export{h as lf,j as mf,z as nf};
@@ -1,2 +0,0 @@
1
- import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
- export{z as pqa,A as qqa,B as rqa,C as sqa,D as tqa,F as uqa,G as vqa,H as wqa};
@@ -1,2 +0,0 @@
1
- import{Dq as R,Eq as T,Fq as $,kC as U,lC as V,oC as f}from"./cli-1.1.33-vgynvhys.mjs";import{K3 as Q,L3 as _}from"./cli-1.1.33-525zf497.mjs";import{_aa as L,_fa as G,dga as Z,fba as Y}from"./cli-1.1.33-20v60hvd.mjs";import{tqa as X}from"./cli-1.1.33-cfj1bzen.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
2
- export{O as fc,S as gc,I as hc,N as ic,P as jc,h as kc};
@@ -1,4 +0,0 @@
1
- import{Qf as IJ,Rf as bQ}from"./cli-1.1.33-das1k5jq.mjs";import{$f as eq,ag as sq,bg as aJ}from"./cli-1.1.33-gnejtk17.mjs";import{cg as AJ,dg as OQ}from"./cli-1.1.33-jp2qs3mr.mjs";import{eg as vJ,fg as AQ}from"./cli-1.1.33-xfawy00r.mjs";import{gg as nq,hg as rJ}from"./cli-1.1.33-c37dxjja.mjs";import{ig as wq,jg as tq,kg as oJ}from"./cli-1.1.33-4t7b2799.mjs";import{lg as bJ,mg as hQ}from"./cli-1.1.33-ypfa1t3b.mjs";import{$n as lq,HS as Fq,IS as ZJ,Ix as Cq,Jx as wQ,LF as kq,LS as zJ,MF as HQ,NF as RJ,OF as RQ,PF as LJ,PS as QQ,QF as PJ,RF as WJ,SF as LQ,UI as hJ,VI as OJ,WI as PQ,YP as QJ,_P as qQ,_n as h,cO as g,fO as WQ,lu as yJ,lx as UJ,mu as yQ,mx as BQ,nQ as Iq,nu as NJ,ou as BJ,oy as pq,pu as NQ,px as wJ,py as jq,qQ as JQ,qx as UQ,ry as _q,sy as jJ,wo as XJ,xo as XQ}from"./cli-1.1.33-vgynvhys.mjs";import{BT as FQ,xT as FJ,zT as HJ}from"./cli-1.1.33-0bk8mrfh.mjs";import{FX as N,HX as Q,mY as bq,tW as Oq}from"./cli-1.1.33-9zba2a1d.mjs";import{P1 as R,Q1 as K,R1 as Z,S1 as c}from"./cli-1.1.33-h27b2an0.mjs";import{T1 as VQ}from"./cli-1.1.33-czrp8ff2.mjs";import{A4 as VJ,B4 as KQ,Q3 as oq,X3 as KJ,m4 as iq}from"./cli-1.1.33-525zf497.mjs";import{$ca as Aq,D$ as YQ,Jda as GJ,Wda as GQ,Xca as aq,Yca as gJ,g$ as Mq,hda as xJ,v9 as $,w9 as zQ}from"./cli-1.1.33-20v60hvd.mjs";import{Lja as YJ,Wja as ZQ}from"./cli-1.1.33-ad43mr1x.mjs";import{Ika as Hq,fpa as rq}from"./cli-1.1.33-87p06j57.mjs";import{pqa as Bq,tqa as Uq}from"./cli-1.1.33-cfj1bzen.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);wJ();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:BJ,upperLimit:NJ},{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("Claudin 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(UJ(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}]`:"",":"," ",XJ(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=yJ(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();wQ();OQ();xq();bQ();AQ();UQ();bq();BQ();WQ();XQ();FQ();JJ();HQ();yQ();YQ();LQ();GQ();NQ();PQ();RQ();c();Dq=Bq(Oq(),1),F=Bq(VQ(),1)});
4
- export{xZ as Of,aQ as Pf};
@@ -1,25 +0,0 @@
1
- import{$7 as st,R7 as nt,S7 as hl,T7 as bl,U7 as ml,V7 as fn,W7 as $c,X7 as fu,Y7 as Al,Z7 as ys,_7 as El,a8 as hs,b8 as k,c8 as ur,d8 as Qc,e8 as Bc,f8 as ra,g8 as Xc,h8 as Yc,i8 as Zc,j8 as Jc,k8 as el,l8 as Hc,m8 as cr,n8 as Cc,o8 as Ts,p8 as gl}from"./cli-1.1.33-yd4xhx6x.mjs";import{q8 as ie}from"./cli-1.1.33-a49fwy5a.mjs";import{t8 as kc,u8 as Le}from"./cli-1.1.33-nq2hxcp4.mjs";import{hqa as Vc}from"./cli-1.1.33-22addsh7.mjs";import{jqa as Fe,kqa as ve,nqa as De,oqa as ee}from"./cli-1.1.33-6fq5cn5g.mjs";import{rqa as E,uqa as Bs}from"./cli-1.1.33-cfj1bzen.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
2
- ${this.getCanonicalPath(e)}
3
- ${er(e)}
4
- ${n.map((s)=>`${s}:${t[s]}`).join(`
5
- `)}
6
-
7
- ${n.join(";")}
8
- ${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(v.toUint8Array(r));let o=await s.digest();return`${n}
9
- ${e}
10
- ${t}
11
- ${v.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return W.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=po(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var G={},re=[],ne=(e,t,r)=>`${e}/${t}/${r}/${He}`,tr=async(e,t,r,n,s)=>{let o=await Ut(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${v.toHex(o)}:${t.sessionToken}`;if(a in G)return G[a];re.push(a);while(re.length>Zt)delete G[re.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,He])u=await Ut(e,u,i);return G[a]=u},go=()=>{re.length=0,Object.keys(G).forEach((e)=>{delete G[e]})},Ut=(e,t,r)=>{let n=new e(t);return n.update(v.toUint8Array(r)),n.digest()},Te=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in kt||t?.has(o)||Qt.test(o)||Bt.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},se=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===oe)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||v.isArrayBuffer(t)){let n=new r;return n.update(v.toUint8Array(t)),v.toHex(await n.digest())}return Yt},rr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},nr=(e,t={})=>{let{headers:r,query:n={}}=W.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},Se=(e)=>{e=W.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(zt.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class sr extends Ce{headerFormatter=new Mt;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Jt)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=ne(h,b,d??this.service),g=nr(Se(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[xe]=l.sessionToken;g.query[Ft]=te,g.query[Lt]=`${l.accessKeyId}/${R}`,g.query[Oe]=y,g.query[Wt]=n.toString(10);let T=Te(g,s,a);return g.query[Gt]=this.getCanonicalHeaderList(T),g.query[Ne]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await se(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=ne(i,u,o??this.service),b=await se({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=v.toHex(await y.digest()),R=[Xt,d,l,n,h,b].join(`
12
- `);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(v.toUint8Array(e)),v.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=Se(e),{longDate:d,shortDate:l}=this.formatDate(t),b=ne(l,u,o??this.service);if(i.headers[$e]=d,a.sessionToken)i.headers[Vt]=a.sessionToken;let y=await se(i,this.sha256);if(!rr(oe,i.headers)&&this.applyChecksum)i.headers[oe]=y;let h=Te(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[je]=`${te} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,te),o=new this.sha256(await r);return o.update(v.toUint8Array(s)),v.toHex(await o.digest())}getSigningKey(e,t,r,n){return tr(this.sha256,e,r,t,n||this.service)}}var yo={SignatureV4a:null};ho.ALGORITHM_IDENTIFIER=te;ho.ALGORITHM_IDENTIFIER_V4A=lo;ho.ALGORITHM_QUERY_PARAM=Ft;ho.ALWAYS_UNSIGNABLE_HEADERS=kt;ho.AMZ_DATE_HEADER=$e;ho.AMZ_DATE_QUERY_PARAM=Oe;ho.AUTH_HEADER=je;ho.CREDENTIAL_QUERY_PARAM=Lt;ho.DATE_HEADER=Kt;ho.EVENT_ALGORITHM_IDENTIFIER=Xt;ho.EXPIRES_QUERY_PARAM=Wt;ho.GENERATED_HEADERS=zt;ho.HOST_HEADER=uo;ho.KEY_TYPE_IDENTIFIER=He;ho.MAX_CACHE_SIZE=Zt;ho.MAX_PRESIGNED_TTL=Jt;ho.PROXY_HEADER_PATTERN=Qt;ho.REGION_SET_PARAM=io;ho.SEC_HEADER_PATTERN=Bt;ho.SHA256_HEADER=oe;ho.SIGNATURE_HEADER=qt;ho.SIGNATURE_QUERY_PARAM=Ne;ho.SIGNED_HEADERS_QUERY_PARAM=Gt;ho.SignatureV4=sr;ho.SignatureV4Base=Ce;ho.TOKEN_HEADER=Vt;ho.TOKEN_QUERY_PARAM=xe;ho.UNSIGNABLE_PATTERNS=co;ho.UNSIGNED_PAYLOAD=Yt;ho.clearCredentialCache=go;ho.createScope=ne;ho.getCanonicalHeaders=Te;ho.getCanonicalQuery=er;ho.getPayloadHash=se;ho.getSigningKey=tr;ho.hasHeader=rr;ho.moveHeadersToQuery=nr;ho.prepareRequest=Se;ho.signatureV4aContainer=yo});var _r=E(($a)=>{var X=_t(),lr=Ot(),na=xt(),sa=jt(),oa=cr(),aa=Fe(),ia=or(),ae=ra(),ua=Le(),dr=ie(),ca=ur(),la="content-length",da="x-amz-decoded-content-length";function pr(){return(e,t)=>async(r)=>{let{request:n}=r;if(X.HttpRequest.isInstance(n)){if(!(la in n.headers)&&!(da in n.headers))if(typeof t?.logger?.warn==="function"&&!(t.logger instanceof lr.NoOpLogger))t.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return e({...r})}}var fr={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(pr(),fr)}}),gr=(e)=>{return(t,r)=>async(n)=>{let s=await e.region(),o=e.region,a=()=>{};if(r.__s3RegionRedirect)Object.defineProperty(e,"region",{writable:!1,value:async()=>{return r.__s3RegionRedirect}}),a=()=>Object.defineProperty(e,"region",{writable:!0,value:o});try{let u=await t(n);if(r.__s3RegionRedirect){a();let i=await e.region();if(s!==i)throw Error("Region was not restored following S3 region redirect.")}return u}catch(u){throw a(),u}}},yr={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function hr(e){return(t,r)=>async(n)=>{try{return await t(n)}catch(s){if(e.followRegionRedirects){let o=s?.$metadata?.httpStatusCode,a=r.commandName==="HeadBucketCommand",u=s?.$response?.headers?.["x-amz-bucket-region"];if(u){if(o===301||o===400&&(s?.name==="IllegalLocationConstraintException"||a)){try{let i=u;r.logger?.debug(`Redirecting from ${await e.region()} to ${i}`),r.__s3RegionRedirect=i}catch(i){throw Error("Region redirect failed: "+i)}return t(n)}}}throw s}}}var br={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},fa=(e)=>({applyToStack:(t)=>{t.add(hr(e),br),t.addRelativeTo(gr(e),yr)}}),mr=(e)=>{return(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(X.HttpResponse.isInstance(o)){if(o.headers.expires){o.headers.expiresstring=o.headers.expires;try{lr.parseRfc7231DateTime(o.headers.expires)}catch(a){r.logger?.warn(`AWS SDK Warning for ${r.clientName}::${r.commandName} response parsing (${o.headers.expires}): ${a}`),delete o.headers.expires}}}return s}},Ar={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},ga=(e)=>({applyToStack:(t)=>{t.addRelativeTo(mr(),Ar)}});class ue{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(!t)return;return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(this.lastPurgeTime+ue.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e)return;for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;if(n.expiration){if(n.expiration.getTime()<e)delete this.data[t]}}}}}class B{_identity;isRefreshing;accessed;constructor(e,t=!1,r=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}}class ce{createSessionFn;cache;static REFRESH_WINDOW_MS=60000;constructor(e,t=new ue){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let r=t.Bucket,{cache:n}=this,s=n.get(r);if(s)return s.identity.then((o)=>{if((o.expiration?.getTime()??0)<Date.now())return n.set(r,new B(this.getIdentity(r))).identity;if((o.expiration?.getTime()??0)<Date.now()+ce.REFRESH_WINDOW_MS&&!s.isRefreshing)s.isRefreshing=!0,this.getIdentity(r).then((i)=>{n.set(r,new B(Promise.resolve(i)))});return o});return n.set(r,new B(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch((n)=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
13
- `+n)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}var ya="Directory",ha="S3Express",ba="sigv4-s3express",Ue="X-Amz-S3session-Token",Me=Ue.toLowerCase(),ma="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",Aa="s3_disable_express_session_auth",Ea={environmentVariableSelector:(e)=>ae.booleanSelector(e,ma,ae.SelectorType.ENV),configFileSelector:(e)=>ae.booleanSelector(e,Aa,ae.SelectorType.CONFIG),default:!1};class Er extends ia.SignatureV4{async signWithCredentials(e,t,r){let n=ar(t);e.headers[Me]=t.sessionToken;let s=this;return ir(s,n),s.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=ar(t);return delete e.headers[Me],e.headers[Ue]=t.sessionToken,e.query=e.query??{},e.query[Ue]=t.sessionToken,ir(this,n),this.presign(e,r)}}function ar(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function ir(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider,s=()=>{return clearTimeout(r),e.credentialProvider=n,Promise.resolve(t)};e.credentialProvider=s}var Rr=(e)=>{return(t,r)=>async(n)=>{if(r.endpointV2){let s=r.endpointV2,o=s.properties?.authSchemes?.[0]?.name===ba;if(s.properties?.backend===ha||s.properties?.bucketType===ya)ua.setFeature(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0;if(o){let u=n.input.Bucket;if(u){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:u});if(r.s3ExpressIdentity=i,X.HttpRequest.isInstance(n.request)&&i.sessionToken)n.request.headers[Me]=i.sessionToken}}}return t(n)}},wr={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ra=(e)=>({applyToStack:(t)=>{t.add(Rr(e),wr)}}),wa=async(e,t,r,n)=>{let s=await n.signWithCredentials(r,e,{});if(s.headers["X-Amz-Security-Token"]||s.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return s},Pa=(e)=>(t)=>{throw t},va=(e,t)=>{},Da=dr.httpSigningMiddlewareOptions,Pr=(e)=>(t,r)=>async(n)=>{if(!X.HttpRequest.isInstance(n.request))return t(n);let o=ca.getSmithyContext(r).selectedHttpAuthScheme;if(!o)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:a={}},identity:u,signer:i}=o,d;if(r.s3ExpressIdentity)d=await wa(r.s3ExpressIdentity,a,n.request,await e.signer());else d=await i.sign(n.request,u,a);let l=await t({...n,request:d}).catch((i.errorHandler||Pa)(a));return(i.successHandler||va)(l.response,a),l},Ia=(e)=>({applyToStack:(t)=>{t.addRelativeTo(Pr(e),dr.httpSigningMiddlewareOptions)}}),Ta=(e,{session:t})=>{let[r,n]=t,{forcePathStyle:s,useAccelerateEndpoint:o,disableMultiregionAccessPoints:a,followRegionRedirects:u,s3ExpressIdentityProvider:i,bucketEndpoint:d,expectContinueHeader:l}=e;return Object.assign(e,{forcePathStyle:s??!1,useAccelerateEndpoint:o??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:u??!1,s3ExpressIdentityProvider:i??new ce(async(b)=>r().send(new n({Bucket:b}))),bucketEndpoint:d??!1,expectContinueHeader:l??2097152})},Sa={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},vr=(e)=>(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(!X.HttpResponse.isInstance(o))return s;let{statusCode:a,body:u}=o;if(a<200||a>=300)return s;let i=await _a(u,e);if(o.body=na.toStream(i),i.length===0&&Sa[r.commandName]){let l=Error("S3 aborted request");throw l.$metadata={httpStatusCode:503},l.name="InternalError",l}let d=e.utf8Encoder(i.subarray(i.length-16));if(d&&d.endsWith("</Error>"))o.statusCode=503;return s},_a=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Promise.resolve(e);return t.streamCollector(e)||Promise.resolve(new Uint8Array)},Dr={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Oa=(e)=>({applyToStack:(t)=>{t.addRelativeTo(vr(e),Dr)}});function Na(e){return(t,r)=>async(n)=>{if(e.bucketEndpoint){let s=r.endpointV2;if(s){let o=n.input.Bucket;if(typeof o==="string")try{let a=new URL(o);r.endpointV2={...s,url:a}}catch(a){let u=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${o} could not be parsed as URL.`;if(r.logger?.constructor?.name==="NoOpLogger")console.warn(u);else r.logger?.warn?.(u);throw a}}}return t(n)}}var xa={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Ir({bucketEndpoint:e}){return(t)=>async(r)=>{let{input:{Bucket:n}}=r;if(!e&&typeof n==="string"&&!sa.validate(n)&&n.indexOf("/")>=0){let s=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw s.name="InvalidBucketName",s}return t({...r})}}var Tr={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},ja=(e)=>({applyToStack:(t)=>{t.add(Ir(e),Tr),t.addRelativeTo(Na(e),xa)}});class Sr extends oa.AwsRestXmlProtocol{async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),s=aa.NormalizedSchema.of(e.input),o=s.getSchema(),a=0,u=o[6]??0;if(t&&typeof t==="object")for(let[i,d]of s.structIterator()){if(++a>u)break;if(i==="Bucket"){if(!t.Bucket&&d.getMergedTraits().httpLabel)throw Error("No value provided for input HTTP label: Bucket.");break}}return n}}$a.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS=Ea;$a.S3ExpressIdentityCache=ue;$a.S3ExpressIdentityCacheEntry=B;$a.S3ExpressIdentityProviderImpl=ce;$a.S3RestXmlProtocol=Sr;$a.SignatureV4S3Express=Er;$a.checkContentLengthHeader=pr;$a.checkContentLengthHeaderMiddlewareOptions=fr;$a.getCheckContentLengthHeaderPlugin=pa;$a.getRegionRedirectMiddlewarePlugin=fa;$a.getS3ExpiresMiddlewarePlugin=ga;$a.getS3ExpressHttpSigningPlugin=Ia;$a.getS3ExpressPlugin=Ra;$a.getThrow200ExceptionsPlugin=Oa;$a.getValidateBucketNamePlugin=ja;$a.regionRedirectEndpointMiddleware=gr;$a.regionRedirectEndpointMiddlewareOptions=yr;$a.regionRedirectMiddleware=hr;$a.regionRedirectMiddlewareOptions=br;$a.resolveS3Config=Ta;$a.s3ExpiresMiddleware=mr;$a.s3ExpiresMiddlewareOptions=Ar;$a.s3ExpressHttpSigningMiddleware=Pr;$a.s3ExpressHttpSigningMiddlewareOptions=Da;$a.s3ExpressMiddleware=Rr;$a.s3ExpressMiddlewareOptions=wr;$a.throw200ExceptionsMiddleware=vr;$a.throw200ExceptionsMiddlewareOptions=Dr;$a.validateBucketNameMiddleware=Ir;$a.validateBucketNameMiddlewareOptions=Tr});var tn=E((Ei)=>{var D=De(),Or=ve(),z=ee();class $r{format(e){let t=[];for(let s of Object.keys(e)){let o=D.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=D.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(Ke.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!di.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(D.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Nr;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Nr||(Nr={}));var di=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ke{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)xr(t);return new Ke(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)xr(e);return parseInt(D.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function xr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Hr="X-Amz-Algorithm",Cr="X-Amz-Credential",ze="X-Amz-Date",Ur="X-Amz-SignedHeaders",Mr="X-Amz-Expires",qe="X-Amz-Signature",Ve="X-Amz-Security-Token",pi="X-Amz-Region-Set",ke="authorization",Qe=ze.toLowerCase(),Fr="date",Lr=[ke,Qe,Fr],Gr=qe.toLowerCase(),ge="x-amz-content-sha256",Wr=Ve.toLowerCase(),fi="host",Kr={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},zr=/^proxy-/,qr=/^sec-/,gi=[/^proxy-/i,/^sec-/i],le="AWS4-HMAC-SHA256",yi="AWS4-ECDSA-P256-SHA256",Vr="AWS4-HMAC-SHA256-PAYLOAD",kr="UNSIGNED-PAYLOAD",Qr=50,Be="aws4_request",Br=604800,Xr=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===Gr)continue;let s=z.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${z.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${z.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},hi=(e)=>bi(e).toISOString().replace(/\.\d{3}Z$/,"Z"),bi=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Xe{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=Or.normalizeProvider(r),this.credentialProvider=Or.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
14
- ${this.getCanonicalPath(e)}
15
- ${Xr(e)}
16
- ${n.map((s)=>`${s}:${t[s]}`).join(`
17
- `)}
18
-
19
- ${n.join(";")}
20
- ${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(D.toUint8Array(r));let o=await s.digest();return`${n}
21
- ${e}
22
- ${t}
23
- ${D.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return z.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=hi(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var K={},de=[],pe=(e,t,r)=>`${e}/${t}/${r}/${Be}`,Yr=async(e,t,r,n,s)=>{let o=await jr(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${D.toHex(o)}:${t.sessionToken}`;if(a in K)return K[a];de.push(a);while(de.length>Qr)delete K[de.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,Be])u=await jr(e,u,i);return K[a]=u},mi=()=>{de.length=0,Object.keys(K).forEach((e)=>{delete K[e]})},jr=(e,t,r)=>{let n=new e(t);return n.update(D.toUint8Array(r)),n.digest()},Ge=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in Kr||t?.has(o)||zr.test(o)||qr.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},fe=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===ge)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||D.isArrayBuffer(t)){let n=new r;return n.update(D.toUint8Array(t)),D.toHex(await n.digest())}return kr},Zr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},Jr=(e,t={})=>{let{headers:r,query:n={}}=z.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},We=(e)=>{e=z.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Lr.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class en extends Xe{headerFormatter=new $r;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Br)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=pe(h,b,d??this.service),g=Jr(We(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[Ve]=l.sessionToken;g.query[Hr]=le,g.query[Cr]=`${l.accessKeyId}/${R}`,g.query[ze]=y,g.query[Mr]=n.toString(10);let T=Ge(g,s,a);return g.query[Ur]=this.getCanonicalHeaderList(T),g.query[qe]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await fe(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=pe(i,u,o??this.service),b=await fe({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=D.toHex(await y.digest()),R=[Vr,d,l,n,h,b].join(`
24
- `);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(D.toUint8Array(e)),D.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=We(e),{longDate:d,shortDate:l}=this.formatDate(t),b=pe(l,u,o??this.service);if(i.headers[Qe]=d,a.sessionToken)i.headers[Wr]=a.sessionToken;let y=await fe(i,this.sha256);if(!Zr(ge,i.headers)&&this.applyChecksum)i.headers[ge]=y;let h=Ge(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[ke]=`${le} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,le),o=new this.sha256(await r);return o.update(D.toUint8Array(s)),D.toHex(await o.digest())}getSigningKey(e,t,r,n){return Yr(this.sha256,e,r,t,n||this.service)}}var Ai={SignatureV4a:null};Ei.ALGORITHM_IDENTIFIER=le;Ei.ALGORITHM_IDENTIFIER_V4A=yi;Ei.ALGORITHM_QUERY_PARAM=Hr;Ei.ALWAYS_UNSIGNABLE_HEADERS=Kr;Ei.AMZ_DATE_HEADER=Qe;Ei.AMZ_DATE_QUERY_PARAM=ze;Ei.AUTH_HEADER=ke;Ei.CREDENTIAL_QUERY_PARAM=Cr;Ei.DATE_HEADER=Fr;Ei.EVENT_ALGORITHM_IDENTIFIER=Vr;Ei.EXPIRES_QUERY_PARAM=Mr;Ei.GENERATED_HEADERS=Lr;Ei.HOST_HEADER=fi;Ei.KEY_TYPE_IDENTIFIER=Be;Ei.MAX_CACHE_SIZE=Qr;Ei.MAX_PRESIGNED_TTL=Br;Ei.PROXY_HEADER_PATTERN=zr;Ei.REGION_SET_PARAM=pi;Ei.SEC_HEADER_PATTERN=qr;Ei.SHA256_HEADER=ge;Ei.SIGNATURE_HEADER=Gr;Ei.SIGNATURE_QUERY_PARAM=qe;Ei.SIGNED_HEADERS_QUERY_PARAM=Ur;Ei.SignatureV4=en;Ei.SignatureV4Base=Xe;Ei.TOKEN_HEADER=Wr;Ei.TOKEN_QUERY_PARAM=Ve;Ei.UNSIGNABLE_PATTERNS=gi;Ei.UNSIGNED_PAYLOAD=kr;Ei.clearCredentialCache=mi;Ei.createScope=pe;Ei.getCanonicalHeaders=Ge;Ei.getCanonicalQuery=Xr;Ei.getPayloadHash=fe;Ei.getSigningKey=Yr;Ei.hasHeader=Zr;Ei.moveHeadersToQuery=Jr;Ei.prepareRequest=We;Ei.signatureV4aContainer=Ai});var Ye=E((iu)=>{var au=_r(),rn=tn(),Y={CrtSignerV4:null};class nn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof Y.CrtSignerV4==="function")return"crt";else if(typeof rn.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new au.SignatureV4S3Express(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if(r.signingRegion==="*"){let n=this.getSigv4aSigner(),s=Y.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if(t.signingRegion==="*"){let r=this.getSigv4aSigner(),n=Y.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if(r.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Y.CrtSignerV4,t=rn.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}iu.SignatureV4MultiRegion=nn;iu.signatureV4CrtContainer=Y});var bn=E((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});yn.bdd=void 0;var lu=fn(),V="ref",x=-1,Z=!0,sn="isSet",gn="PartitionResult",J="booleanEquals",w="stringEquals",Ze="getAttr",on="us-east-1",an="sigv4",un="sts",cn="https://sts.{Region}.{PartitionResult#dnsSuffix}",ln={[V]:"Endpoint"},P={[V]:"Region"},Je={[V]:gn},q={},dn=[P],pn={conditions:[[sn,[ln]],[sn,dn],["aws.partition",dn,gn],[J,[{[V]:"UseFIPS"},Z]],[J,[{[V]:"UseDualStack"},Z]],[w,[P,"aws-global"]],[J,[{[V]:"UseGlobalEndpoint"},Z]],[w,[P,"eu-central-1"]],[J,[{fn:Ze,argv:[Je,"supportsDualStack"]},Z]],[J,[{fn:Ze,argv:[Je,"supportsFIPS"]},Z]],[w,[P,"ap-south-1"]],[w,[P,"eu-north-1"]],[w,[P,"eu-west-1"]],[w,[P,"eu-west-2"]],[w,[P,"eu-west-3"]],[w,[P,"sa-east-1"]],[w,[P,on]],[w,[P,"us-east-2"]],[w,[P,"us-west-2"]],[w,[P,"us-west-1"]],[w,[P,"ca-central-1"]],[w,[P,"ap-southeast-1"]],[w,[P,"ap-northeast-1"]],[w,[P,"ap-southeast-2"]],[w,[{fn:Ze,argv:[Je,"name"]},"aws-us-gov"]]],results:[[x],["https://sts.amazonaws.com",{authSchemes:[{name:an,signingName:un,signingRegion:on}]}],[cn,{authSchemes:[{name:an,signingName:un,signingRegion:"{Region}"}]}],[x,"Invalid Configuration: FIPS and custom endpoint are not supported"],[x,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ln,q],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",q],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",q],[x,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"DualStack is enabled but this partition does not support DualStack"],[cn,q],[x,"Invalid Configuration: Missing Region"]]},du=2,f=1e8,pu=new Int32Array([-1,1,-1,0,30,3,1,4,f+14,2,5,f+14,3,25,6,4,24,7,5,f+1,8,6,9,f+13,7,f+1,10,10,f+1,11,11,f+1,12,12,f+1,13,13,f+1,14,14,f+1,15,15,f+1,16,16,f+1,17,17,f+1,18,18,f+1,19,19,f+1,20,20,f+1,21,21,f+1,22,22,f+1,23,23,f+1,f+2,8,f+11,f+12,4,28,26,9,27,f+10,24,f+8,f+9,8,29,f+7,9,f+6,f+7,3,f+3,31,4,f+4,f+5]);yn.bdd=lu.BinaryDecisionDiagram.from(pu,du,pn.conditions,pn.results)});var tt=E((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.defaultEndpointResolver=void 0;var gu=fu(),et=fn(),yu=bn(),hu=new et.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),bu=(e,t={})=>{return hu.get(e,()=>(0,et.decideEndpoint)(yu.bdd,{endpointParams:e,logger:t.logger}))};mn.defaultEndpointResolver=bu;et.customEndpointFunctions.aws=gu.awsEndpointFunctions});var ot=E((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveHttpAuthSchemeConfig=Pn.resolveStsAuthConfig=Pn.defaultSTSHttpAuthSchemeProvider=Pn.defaultSTSHttpAuthSchemeParametersProvider=void 0;var En=nt(),mu=Ye(),Au=st(),ye=ur(),Eu=tt(),Ru=at(),wu=(e)=>async(t,r,n)=>{if(!n)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let s=await e(t,r,n),o=(0,ye.getSmithyContext)(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!o)throw Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let a=await(0,Au.resolveParams)(n,{getEndpointParameterInstructions:o},t);return Object.assign(s,a)},Pu=async(e,t,r)=>{return{operation:(0,ye.getSmithyContext)(t).operation,region:await(0,ye.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Pn.defaultSTSHttpAuthSchemeParametersProvider=wu(Pu);function Rn(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function rt(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function wn(e){return{schemeId:"smithy.api#noAuth"}}var vu=(e,t,r)=>{return(s)=>{let a=e(s).properties?.authSchemes;if(!a)return t(s);let u=[];for(let i of a){let{name:d,properties:l={},...b}=i,y=d.toLowerCase();if(d!==y)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${d}' to '${y}'`);let h;if(y==="sigv4a"){h="aws.auth#sigv4a";let T=a.find((Pe)=>{let St=Pe.name.toLowerCase();return St!=="sigv4a"&&St.startsWith("sigv4")});if(mu.SignatureV4MultiRegion.sigv4aDependency()==="none"&&T)continue}else if(y.startsWith("sigv4"))h="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${y}'`);let R=r[h];if(!R)throw Error(`Could not find HttpAuthOption create function for '${h}'`);let g=R(s);g.schemeId=h,g.signingProperties={...g.signingProperties||{},...b,...l},u.push(g)}return u}},Du=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(wn(e)),t.push(rt(e));break}default:t.push(Rn(e)),t.push(rt(e))}return t};Pn.defaultSTSHttpAuthSchemeProvider=vu(Eu.defaultEndpointResolver,Du,{"aws.auth#sigv4":Rn,"aws.auth#sigv4a":rt,"smithy.api#noAuth":wn});var Iu=(e)=>Object.assign(e,{stsClientCtor:Ru.STSClient});Pn.resolveStsAuthConfig=Iu;var Tu=(e)=>{let t=Pn.resolveStsAuthConfig(e),r=(0,En.resolveAwsSdkSigV4Config)(t),n=(0,En.resolveAwsSdkSigV4AConfig)(r);return Object.assign(n,{authSchemePreference:(0,ye.normalizeProvider)(e.authSchemePreference??[])})};Pn.resolveHttpAuthSchemeConfig=Tu});var it=E((In)=>{Object.defineProperty(In,"__esModule",{value:!0});In.commonParams=In.resolveClientEndpointParameters=void 0;var Ou=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"})};In.resolveClientEndpointParameters=Ou;In.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}});var he=E((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.STSServiceException=ct.__ServiceException=void 0;var Sn=k();Object.defineProperty(ct,"__ServiceException",{enumerable:!0,get:function(){return Sn.ServiceException}});class ut extends Sn.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ut.prototype)}}ct.STSServiceException=ut});var bt=E((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.IDPCommunicationErrorException=On.InvalidIdentityTokenException=On.IDPRejectedClaimException=On.RegionDisabledException=On.PackedPolicyTooLargeException=On.MalformedPolicyDocumentException=On.ExpiredTokenException=void 0;var j=he();class lt extends j.STSServiceException{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,lt.prototype)}}On.ExpiredTokenException=lt;class dt extends j.STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,dt.prototype)}}On.MalformedPolicyDocumentException=dt;class pt extends j.STSServiceException{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,pt.prototype)}}On.PackedPolicyTooLargeException=pt;class ft extends j.STSServiceException{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,ft.prototype)}}On.RegionDisabledException=ft;class gt extends j.STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,gt.prototype)}}On.IDPRejectedClaimException=gt;class yt extends j.STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,yt.prototype)}}On.InvalidIdentityTokenException=yt;class ht extends j.STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,ht.prototype)}}On.IDPCommunicationErrorException=ht});var Pt=E((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.AssumeRoleWithWebIdentity$=Wn.AssumeRole$=Wn.Tag$=Wn.ProvidedContext$=Wn.PolicyDescriptorType$=Wn.Credentials$=Wn.AssumeRoleWithWebIdentityResponse$=Wn.AssumeRoleWithWebIdentityRequest$=Wn.AssumeRoleResponse$=Wn.AssumeRoleRequest$=Wn.AssumedRoleUser$=Wn.errorTypeRegistries=Wn.RegionDisabledException$=Wn.PackedPolicyTooLargeException$=Wn.MalformedPolicyDocumentException$=Wn.InvalidIdentityTokenException$=Wn.IDPRejectedClaimException$=Wn.IDPCommunicationErrorException$=Wn.ExpiredTokenException$=Wn.STSServiceException$=void 0;var Mu="Arn",Fu="AccessKeyId",Lu="AssumeRole",Gu="AssumedRoleId",Wu="AssumeRoleRequest",Ku="AssumeRoleResponse",mt="AssumedRoleUser",zu="AssumeRoleWithWebIdentity",qu="AssumeRoleWithWebIdentityRequest",Vu="AssumeRoleWithWebIdentityResponse",ku="Audience",At="Credentials",Qu="ContextAssertion",xn="DurationSeconds",Bu="Expiration",Xu="ExternalId",Yu="ExpiredTokenException",Zu="IDPCommunicationErrorException",Ju="IDPRejectedClaimException",ec="InvalidIdentityTokenException",tc="Key",rc="MalformedPolicyDocumentException",jn="Policy",$n="PolicyArns",nc="ProviderArn",sc="ProvidedContexts",oc="ProvidedContextsListType",ac="ProvidedContext",ic="PolicyDescriptorType",uc="ProviderId",Hn="PackedPolicySize",cc="PackedPolicyTooLargeException",lc="Provider",Cn="RoleArn",dc="RegionDisabledException",Un="RoleSessionName",pc="SecretAccessKey",fc="SubjectFromWebIdentityToken",Et="SourceIdentity",gc="SerialNumber",yc="SessionToken",hc="Tags",bc="TokenCode",mc="TransitiveTagKeys",Ac="Tag",Ec="Value",Rc="WebIdentityToken",wc="arn",Pc="accessKeySecretType",$="awsQueryError",H="client",vc="clientTokenType",C="error",U="httpError",M="message",Dc="policyDescriptorListType",Mn="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ic="tagListType",m="com.amazonaws.sts",Fn=Fe(),F=bt(),Tc=he(),Ln=Fn.TypeRegistry.for(Mn);Wn.STSServiceException$=[-3,Mn,"STSServiceException",0,[],[]];Ln.registerError(Wn.STSServiceException$,Tc.STSServiceException);var _=Fn.TypeRegistry.for(m);Wn.ExpiredTokenException$=[-3,m,Yu,{[$]:["ExpiredTokenException",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.ExpiredTokenException$,F.ExpiredTokenException);Wn.IDPCommunicationErrorException$=[-3,m,Zu,{[$]:["IDPCommunicationError",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.IDPCommunicationErrorException$,F.IDPCommunicationErrorException);Wn.IDPRejectedClaimException$=[-3,m,Ju,{[$]:["IDPRejectedClaim",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.IDPRejectedClaimException$,F.IDPRejectedClaimException);Wn.InvalidIdentityTokenException$=[-3,m,ec,{[$]:["InvalidIdentityToken",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.InvalidIdentityTokenException$,F.InvalidIdentityTokenException);Wn.MalformedPolicyDocumentException$=[-3,m,rc,{[$]:["MalformedPolicyDocument",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.MalformedPolicyDocumentException$,F.MalformedPolicyDocumentException);Wn.PackedPolicyTooLargeException$=[-3,m,cc,{[$]:["PackedPolicyTooLarge",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.PackedPolicyTooLargeException$,F.PackedPolicyTooLargeException);Wn.RegionDisabledException$=[-3,m,dc,{[$]:["RegionDisabledException",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.RegionDisabledException$,F.RegionDisabledException);Wn.errorTypeRegistries=[Ln,_];var Sc=[0,m,Pc,8,0],_c=[0,m,vc,8,0];Wn.AssumedRoleUser$=[3,m,mt,0,[Gu,Mu],[0,0],2];Wn.AssumeRoleRequest$=[3,m,Wu,0,[Cn,Un,$n,jn,xn,hc,mc,Xu,gc,bc,Et,sc],[0,0,()=>Gn,0,1,()=>Nc,64,0,0,0,0,()=>Oc],2];Wn.AssumeRoleResponse$=[3,m,Ku,0,[At,mt,Hn,Et],[[()=>Wn.Credentials$,0],()=>Wn.AssumedRoleUser$,1,0]];Wn.AssumeRoleWithWebIdentityRequest$=[3,m,qu,0,[Cn,Un,Rc,uc,$n,jn,xn],[0,0,[()=>_c,0],0,()=>Gn,0,1],3];Wn.AssumeRoleWithWebIdentityResponse$=[3,m,Vu,0,[At,fc,mt,Hn,lc,ku,Et],[[()=>Wn.Credentials$,0],0,()=>Wn.AssumedRoleUser$,1,0,0,0]];Wn.Credentials$=[3,m,At,0,[Fu,pc,yc,Bu],[0,[()=>Sc,0],0,4],4];Wn.PolicyDescriptorType$=[3,m,ic,0,[wc],[0]];Wn.ProvidedContext$=[3,m,ac,0,[nc,Qu],[0,0]];Wn.Tag$=[3,m,Ac,0,[tc,Ec],[0,0],2];var Gn=[1,m,Dc,0,()=>Wn.PolicyDescriptorType$],Oc=[1,m,oc,0,()=>Wn.ProvidedContext$],Nc=[1,m,Ic,0,()=>Wn.Tag$];Wn.AssumeRole$=[9,m,Lu,0,()=>Wn.AssumeRoleRequest$,()=>Wn.AssumeRoleResponse$];Wn.AssumeRoleWithWebIdentity$=[9,m,zu,0,()=>Wn.AssumeRoleWithWebIdentityRequest$,()=>Wn.AssumeRoleWithWebIdentityResponse$]});var ls=E((us)=>{Object.defineProperty(us,"__esModule",{value:!0});us.getRuntimeConfig=void 0;var os=nt(),Uc=cr(),Mc=Ye(),Fc=ie(),Lc=k(),Gc=$c(),as=Cc(),is=Hc(),Wc=ot(),Kc=tt(),zc=Pt(),qc=(e)=>{return{apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??as.fromBase64,base64Encoder:e?.base64Encoder??as.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Kc.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Wc.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new os.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new os.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fc.NoAuthSigner}],logger:e?.logger??new Lc.NoOpLogger,protocol:e?.protocol??Uc.AwsQueryProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:zc.errorTypeRegistries,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",signerConstructor:e?.signerConstructor??Mc.SignatureV4MultiRegion,urlParser:e?.urlParser??Gc.parseUrl,utf8Decoder:e?.utf8Decoder??is.fromUtf8,utf8Encoder:e?.utf8Encoder??is.toUtf8}};us.getRuntimeConfig=qc});var As=E((bs)=>{Object.defineProperty(bs,"__esModule",{value:!0});bs.getRuntimeConfig=void 0;var tl=Qc(),rl=tl.__importDefault(Bc()),nl=Le(),be=nt(),ds=Xc(),me=ys(),sl=ie(),ol=Yc(),ps=hs(),O=Zc(),fs=Vc(),gs=k(),al=Jc(),il=el(),ul=kc(),cl=ls(),ll=(e)=>{(0,gs.emitWarningIfUnsupportedVersion)(process.version);let t=(0,il.resolveDefaultsModeConfig)(e),r=()=>t().then(gs.loadConfigsForDefaultMode),n=(0,cl.getRuntimeConfig)(e);(0,nl.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(be.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??al.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ds.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:rl.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new be.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4a"),signer:new be.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(o)=>o.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new sl.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,O.loadConfig)(ps.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(me.NODE_REGION_CONFIG_OPTIONS,{...me.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:fs.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,O.loadConfig)({...ps.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ul.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ol.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??(0,O.loadConfig)(be.NODE_SIGV4A_CONFIG_OPTIONS,s),streamCollector:e?.streamCollector??fs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(me.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(me.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(ds.NODE_APP_ID_CONFIG_OPTIONS,s)}};bs.getRuntimeConfig=ll});var ws=E((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.resolveHttpAuthRuntimeConfig=Es.getHttpAuthExtensionConfiguration=void 0;var dl=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:n}=e;return{setHttpAuthScheme(s){let o=t.findIndex((a)=>a.schemeId===s.schemeId);if(o===-1)t.push(s);else t.splice(o,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){n=s},credentials(){return n}}};Es.getHttpAuthExtensionConfiguration=dl;var pl=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};Es.resolveHttpAuthRuntimeConfig=pl});var Os=E((Ss)=>{Object.defineProperty(Ss,"__esModule",{value:!0});Ss.resolveRuntimeExtensions=void 0;var Ps=Ts(),vs=gl(),Ds=k(),Is=ws(),yl=(e,t)=>{let r=Object.assign((0,Ps.getAwsRegionExtensionConfiguration)(e),(0,Ds.getDefaultExtensionConfiguration)(e),(0,vs.getHttpHandlerExtensionConfiguration)(e),(0,Is.getHttpAuthExtensionConfiguration)(e));return t.forEach((n)=>n.configure(r)),Object.assign(e,(0,Ps.resolveAwsRegionExtensionConfiguration)(r),(0,Ds.resolveDefaultRuntimeConfig)(r),(0,vs.resolveHttpHandlerRuntimeConfig)(r),(0,Is.resolveHttpAuthRuntimeConfig)(r))};Ss.resolveRuntimeExtensions=yl});var at=E((Dt)=>{Object.defineProperty(Dt,"__esModule",{value:!0});Dt.STSClient=Dt.__Client=void 0;var Ns=hl(),Rl=bl(),wl=ml(),xs=Al(),Pl=ys(),vt=ie(),vl=Fe(),Dl=El(),Il=st(),js=hs(),Hs=k();Object.defineProperty(Dt,"__Client",{enumerable:!0,get:function(){return Hs.Client}});var $s=ot(),Tl=it(),Sl=As(),_l=Os();class Cs extends Hs.Client{config;constructor(...[e]){let t=(0,Sl.getRuntimeConfig)(e||{});super(t);this.initConfig=t;let r=(0,Tl.resolveClientEndpointParameters)(t),n=(0,xs.resolveUserAgentConfig)(r),s=(0,js.resolveRetryConfig)(n),o=(0,Pl.resolveRegionConfig)(s),a=(0,Ns.resolveHostHeaderConfig)(o),u=(0,Il.resolveEndpointConfig)(a),i=(0,$s.resolveHttpAuthSchemeConfig)(u),d=(0,_l.resolveRuntimeExtensions)(i,e?.extensions||[]);this.config=d,this.middlewareStack.use((0,vl.getSchemaSerdePlugin)(this.config)),this.middlewareStack.use((0,xs.getUserAgentPlugin)(this.config)),this.middlewareStack.use((0,js.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Dl.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,Ns.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Rl.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,wl.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,vt.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:$s.defaultSTSHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(l)=>new vt.DefaultIdentityProviderConfig({"aws.auth#sigv4":l.credentials,"aws.auth#sigv4a":l.credentials})})),this.middlewareStack.use((0,vt.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}}Dt.STSClient=Cs});var zl=E((I)=>{var L=at(),Ee=k(),Ms=st(),Fs=it(),Q=Pt(),Ae=bt(),It=Le(),Ol=Ts(),Nl=he();class Re extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Q.AssumeRole$).build(){}class we extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Q.AssumeRoleWithWebIdentity$).build(){}var xl={AssumeRoleCommand:Re,AssumeRoleWithWebIdentityCommand:we};class Tt extends L.STSClient{}Ee.createAggregatedClient(xl,Tt);var Ls=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Gs=async(e,t,r,n={})=>{let s=typeof e==="function"?await e():e,o=typeof t==="function"?await t():t,a="",u=s??o??(a=await Ol.stsRegionDefaultResolver(n)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${s} (credential provider clientConfig)`,`${o} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),u},jl=(e,t)=>{let r,n;return async(s,o)=>{if(n=s,!r){let{logger:l=e?.parentClientConfig?.logger,profile:b=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:R,userAgentAppId:g=e?.parentClientConfig?.userAgentAppId}=e,T=await Gs(y,e?.parentClientConfig?.region,R,{logger:l,profile:b}),Pe=!Ws(h);r=new t({...e,userAgentAppId:g,profile:b,credentialDefaultProvider:()=>async()=>n,region:T,requestHandler:Pe?h:void 0,logger:l})}let{Credentials:a,AssumedRoleUser:u}=await r.send(new Re(o));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${o.RoleArn}`);let i=Ls(u),d={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...i&&{accountId:i}};return It.setCredentialFeature(d,"CREDENTIALS_STS_ASSUME_ROLE","i"),d}},$l=(e,t)=>{let r;return async(n)=>{if(!r){let{logger:i=e?.parentClientConfig?.logger,profile:d=e?.parentClientConfig?.profile,region:l,requestHandler:b=e?.parentClientConfig?.requestHandler,credentialProviderLogger:y,userAgentAppId:h=e?.parentClientConfig?.userAgentAppId}=e,R=await Gs(l,e?.parentClientConfig?.region,y,{logger:i,profile:d}),g=!Ws(b);r=new t({...e,userAgentAppId:h,profile:d,region:R,requestHandler:g?b:void 0,logger:i})}let{Credentials:s,AssumedRoleUser:o}=await r.send(new we(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`);let a=Ls(o),u={accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration,...s.CredentialScope&&{credentialScope:s.CredentialScope},...a&&{accountId:a}};if(a)It.setCredentialFeature(u,"RESOLVED_ACCOUNT_ID","T");return It.setCredentialFeature(u,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),u}},Ws=(e)=>{return e?.metadata?.handlerProtocol==="h2"},Ks=(e,t)=>{if(!t)return e;else return class extends e{constructor(n){super(n);for(let s of t)this.middlewareStack.use(s)}}},zs=(e={},t)=>jl(e,Ks(L.STSClient,t)),qs=(e={},t)=>$l(e,Ks(L.STSClient,t)),Hl=(e)=>(t)=>e({roleAssumer:zs(t),roleAssumerWithWebIdentity:qs(t),...t});I.$Command=Ee.Command;I.STSServiceException=Nl.STSServiceException;I.AssumeRoleCommand=Re;I.AssumeRoleWithWebIdentityCommand=we;I.STS=Tt;I.decorateDefaultCredentialProvider=Hl;I.getDefaultRoleAssumer=zs;I.getDefaultRoleAssumerWithWebIdentity=qs;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:L.__proto__});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=L[e]});Object.prototype.hasOwnProperty.call(Q,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Q.__proto__});Object.keys(Q).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Q[e]});Object.prototype.hasOwnProperty.call(Ae,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Ae.__proto__});Object.keys(Ae).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Ae[e]})});
25
- export{zl as Q7};
@@ -1,2 +0,0 @@
1
- import{rqa as N}from"./cli-1.1.33-cfj1bzen.mjs";var zt=N((J)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),U=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),K=Symbol.for("react.view_transition"),C=Symbol.iterator;function W(t){if(t===null||typeof t!=="object")return null;return t=C&&t[C]||t["@@iterator"],typeof t==="function"?t:null}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function l(t,e,r){this.props=t,this.context=e,this.refs=h,this.updater=r||w}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,r){this.props=t,this.context=e,this.refs=h,this.updater=r||w}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var m=Array.isArray;function E(){}var s={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function x(t,e,r){var n=r.ref;return{$$typeof:y,type:t,key:e,ref:n!==void 0?n:null,props:r}}function b(t,e){return x(t.type,e,t.props)}function R(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function B(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var d=/\/+/g;function _(t,e){return typeof t==="object"&&t!==null&&t.key!=null?B(""+t.key):e.toString(36)}function Q(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,r,n,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var i=!1;if(t===null)i=!0;else switch(u){case"bigint":case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case y:case $:i=!0;break;case S:return i=t._init,p(i(t._payload),e,r,n,o)}}if(i)return o=o(t),i=n===""?"."+_(t,0):n,m(o)?(r="",i!=null&&(r=i.replace(d,"$&/")+"/"),p(o,e,r,"",function(I){return I})):o!=null&&(R(o)&&(o=b(o,r+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+i)),e.push(o)),1;i=0;var c=n===""?".":n+":";if(m(t))for(var f=0;f<t.length;f++)n=t[f],u=c+_(n,f),i+=p(n,e,r,u,o);else if(f=W(t),typeof f==="function")for(t=f.call(t),f=0;!(n=t.next()).done;)n=n.value,u=c+_(n,f++),i+=p(n,e,r,u,o);else if(u==="object"){if(typeof t.then==="function")return p(Q(t),e,r,n,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return i}function a(t,e,r){if(t==null)return t;var n=[],o=0;return p(t,n,"","",function(u){return e.call(r,u,o++)}),n}function X(t){if(t._status===-1){var e=t._result,r=e();r.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n,r.status===void 0&&(r.status="fulfilled",r.value=n)},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n,r.status===void 0&&(r.status="rejected",r.reason=n)}),t._status===-1&&(t._status=0,t._result=r)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)};function H(t){var e=s.T,r={};r.types=e!==null?e.types:null,s.T=r;try{var n=t(),o=s.S;o!==null&&o(r,n),typeof n==="object"&&n!==null&&typeof n.then==="function"&&n.then(E,A)}catch(u){A(u)}finally{e!==null&&r.types!==null&&(e.types=r.types),s.T=e}}function j(t){var e=s.T;if(e!==null){var r=e.types;r===null?e.types=[t]:r.indexOf(t)===-1&&r.push(t)}else H(j.bind(null,t))}var Z={map:a,forEach:function(t,e,r){a(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return a(t,function(){e++}),e},toArray:function(t){return a(t,function(e){return e})||[]},only:function(t){if(!R(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};J.Activity=G;J.Children=Z;J.Component=l;J.Fragment=Y;J.Profiler=L;J.PureComponent=v;J.StrictMode=M;J.Suspense=q;J.ViewTransition=K;J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s;J.__COMPILER_RUNTIME={__proto__:null,c:function(t){return s.H.useMemoCache(t)}};J.addTransitionType=j;J.cache=function(t){return function(){return t.apply(null,arguments)}};J.cacheSignal=function(){return null};J.cloneElement=function(t,e,r){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var n=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!O.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(n[u]=e[u]);var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){for(var i=Array(u),c=0;c<u;c++)i[c]=arguments[c+2];n.children=i}return x(t.type,o,n)};J.createContext=function(t){return t={$$typeof:U,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:k,_context:t},t};J.createElement=function(t,e,r){var n,o={},u=null;if(e!=null)for(n in e.key!==void 0&&(u=""+e.key),e)O.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(o[n]=e[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var c=Array(i),f=0;f<i;f++)c[f]=arguments[f+2];o.children=c}if(t&&t.defaultProps)for(n in i=t.defaultProps,i)o[n]===void 0&&(o[n]=i[n]);return x(t,u,o)};J.createRef=function(){return{current:null}};J.forwardRef=function(t){return{$$typeof:D,render:t}};J.isValidElement=R;J.lazy=function(t){return{$$typeof:S,_payload:{_status:-1,_result:t},_init:X}};J.memo=function(t,e){return{$$typeof:z,type:t,compare:e===void 0?null:e}};J.startTransition=H;J.unstable_useCacheRefresh=function(){return s.H.useCacheRefresh()};J.use=function(t){return s.H.use(t)};J.useActionState=function(t,e,r){return s.H.useActionState(t,e,r)};J.useCallback=function(t,e){return s.H.useCallback(t,e)};J.useContext=function(t){return s.H.useContext(t)};J.useDebugValue=function(){};J.useDeferredValue=function(t,e){return s.H.useDeferredValue(t,e)};J.useEffect=function(t,e){return s.H.useEffect(t,e)};J.useEffectEvent=function(t){return s.H.useEffectEvent(t)};J.useId=function(){return s.H.useId()};J.useImperativeHandle=function(t,e,r){return s.H.useImperativeHandle(t,e,r)};J.useInsertionEffect=function(t,e){return s.H.useInsertionEffect(t,e)};J.useLayoutEffect=function(t,e){return s.H.useLayoutEffect(t,e)};J.useMemo=function(t,e){return s.H.useMemo(t,e)};J.useOptimistic=function(t,e){return s.H.useOptimistic(t,e)};J.useReducer=function(t,e,r){return s.H.useReducer(t,e,r)};J.useRef=function(t){return s.H.useRef(t)};J.useState=function(t){return s.H.useState(t)};J.useSyncExternalStore=function(t,e,r){return s.H.useSyncExternalStore(t,e,r)};J.useTransition=function(){return s.H.useTransition()};J.version="19.3.0"});
2
- export{zt as T1};
@@ -1,4 +0,0 @@
1
- import{AR as n,BR as Xr,JR as s,MM as W,Mp as L,NM as Jr,Px as M,Rx as f,Tx as u,VM as o,Vp as V,WK as E,Wx as C,Xx as T,Yx as d,_x as A,aq as Y,dN as Kr,dS as Zr,ey as qr,jN as i,jq as jr,kA as O,mN as Qr,nr as D,rl as F,rr as kr,sA as Ir,ty as j,uy as zr,vl as Gr}from"./cli-1.1.33-vgynvhys.mjs";import{kW as l,qW as Wr}from"./cli-1.1.33-ghcxb1ce.mjs";import{DX as I,EX as Sr}from"./cli-1.1.33-9zba2a1d.mjs";import{M5 as wr,P3 as H,Q3 as B,m4 as yr,y5 as $}from"./cli-1.1.33-525zf497.mjs";import{g6 as b,h6 as g}from"./cli-1.1.33-v08vb0sv.mjs";import{A_ as q,Eda as p,Eea as v,Jda as Q,M_ as _,U_ as Z,V_ as c,Wda as rr,daa as z,j_ as k,l_ as t,o_ as R,paa as m,q_ as G,vaa as e}from"./cli-1.1.33-20v60hvd.mjs";import{bja as U,eja as a}from"./cli-1.1.33-241y9eee.mjs";v();function Pr(r){let y=G().numStartups;R((w)=>{let S=w.tipsHistory??{};if(S[r]===y)return w;return{...w,tipsHistory:{...S,[r]:y}}})}function N(r){let y=G(),w=y.tipsHistory?.[r];if(!w)return 1/0;return y.numStartups-w}g();a();Ir();rr();Wr();Sr();zr();Gr();wr();Xr();v();jr();t();kr();e();qr();yr();c();Qr();Kr();Jr();Zr();_();var X;async function $r(){if(X!==void 0)return X;let r=await o();return X=W in r,X}async function P(r,y,w){if(!await $r())return!1;if(i(`${r}@${W}`))return!1;let{bashTools:S}=y??{};if(w.cli&&S?.size){if(w.cli.some((J)=>S.has(J)))return!0}if(w.filePath&&y?.readFileState){if(D(y.readFileState).some((h)=>w.filePath.test(h)))return!0}return!1}var hr=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return G().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${j("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let r=G();return(r.lastPlanModeUse?(Date.now()-r.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let r=G(),y=Q(),w=Boolean(r.lastPlanModeUse),S=Boolean(y?.permissions?.defaultMode);return w&&!S}catch(r){return U(`Failed to check default-permission-mode-config tip relevance: ${r}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let r=G();return await m()<=1&&r.numStartups>50}catch(r){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${j("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${j("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-source-cycle",content:async()=>`In /diff, ${j("diff:previousSource","DiffDialog","[")} and ${j("diff:nextSource","DiffDialog","]")} cycle what you are reviewing: the working tree, one diff per agent turn, then every stash.`,cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-line-selection",content:async()=>`Press ${j("diff:select","DiffDialog","v")} in the /diff pane to select lines, then Enter to drop them into your prompt as @file#L12-L30 — dragging the mouse over them does the same.`,cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-expand-context",content:async()=>`Need more context in /diff? Hit Enter on a "··· N lines" gap to reveal more around it, or ${j("diff:expandAll","DiffDialog","a")} to expand the whole file.`,cooldownSessions:20,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${j("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-changed-files",content:async()=>"The /explorer tree opens with a Changed group — every file git sees as modified, in one flat list at the top.",cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"explorer-editor-ex-commands",content:async()=>"In the /explorer editor, :w saves, :q quits, :wq does both, and :42 jumps to line 42.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-editor-motions",content:async()=>"The /explorer editor speaks vim: dd cuts a line, yy copies, p pastes, u undoes and ctrl+r redoes.",cooldownSessions:20,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let r=G();return r.numStartups>5&&r.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(s())return!1;return await n()>=2}},{id:"terminal-setup",content:async()=>k.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let r=G();if(k.terminal==="Apple_Terminal")return!r.optionAsMetaKeyInstalled;return!r.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>k.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let r=G();return Boolean((k.terminal==="Apple_Terminal"?r.optionAsMetaKeyInstalled:r.shiftEnterKeyBindingInstalled)&&r.numStartups>3)}},{id:"shift-enter-setup",content:async()=>k.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!l())return!1;let r=G();return!(k.terminal==="Apple_Terminal"?r.optionAsMetaKeyInstalled:r.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return G().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&b.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>Z()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>Q().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return G().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${k.terminal==="vscode"?"code":k.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!M())return!1;if(Z()!=="macos")return!1;switch(k.terminal){case"vscode":return!await d();case"cursor":return!await C();case"windsurf":return!await T();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(f())return!1;if((await u()).length!==0)return!1;return(await A()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!G().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!G().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return G().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!k.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>Z()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>E()&&G().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return G().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${j("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${j("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return G().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return G().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${j("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let r=G(),w=H()==="opusplan",S=r.lastPlanModeUse?(Date.now()-r.lastPlanModeUse)/86400000:1/0;return w&&S>3}},{id:"frontend-design-plugin",content:async(r)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
- ${I("suggestion",r.theme)(`/plugin install frontend-design@${W}`)}`},cooldownSessions:3,isRelevant:async(r)=>P("frontend-design",r,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(r)=>{return`Working with Vercel? Install the vercel plugin:
3
- ${I("suggestion",r.theme)(`/plugin install vercel@${W}`)}`},cooldownSessions:3,isRelevant:async(r)=>P("vercel",r,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(r)=>{let w=I("suggestion",r.theme)("/effort high");return q("tengu_tide_elm","off")==="copy_b"?`Use ${w} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${w} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!$())return!1;if(!L(B()))return!1;if(p("policySettings")?.effortLevel!==void 0)return!1;if(Y()!==void 0)return!1;let r=V();if(r==="high"||r==="max")return!1;return q("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(r)=>{let y=I("suggestion",r.theme);return q("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${y("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${y('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!$())return!1;return q("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(r)=>{let y=I("suggestion",r.theme);return q("tengu_timber_lark","off")==="copy_b"?`Use ${y("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${y("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!$())return!1;if(!F())return!1;return q("tengu_timber_lark","off")!=="off"}},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return G().numStartups>5}}],Or=[];function Rr(){let y=Q().spinnerTipsOverride;if(!y?.tips?.length)return[];return y.tips.map((w,S)=>({id:`custom-tip-${S}`,content:async()=>w,cooldownSessions:0,isRelevant:async()=>!0}))}async function ar(r){let w=Q().spinnerTipsOverride,S=Rr();if(w?.excludeDefault&&S.length>0)return S;let J=[...hr,...Or],h=await Promise.all(J.map((K)=>K.isRelevant(r)));return[...J.filter((K,x)=>h[x]).filter((K)=>N(K.id)>=K.cooldownSessions),...S]}
4
- export{Pr as bb,N as cb,ar as db};
@@ -1,2 +0,0 @@
1
- import{EM as n,GS as p,Ou as A,Uu as T,iM as K,kM as b,lM as j,nM as u,oP as _,pP as f,qM as I,yP as P}from"./cli-1.1.33-vgynvhys.mjs";import{fV as M,gV as m}from"./cli-1.1.33-t26pazs8.mjs";import{Pia as F,Tia as C,bja as Z,eia as E,eja as S,gia as c}from"./cli-1.1.33-241y9eee.mjs";import{Aka as v,Bka as g,cka as Y,fpa as k}from"./cli-1.1.33-87p06j57.mjs";m();k();P();u();n();c();S();C();p();g();import*as H from"path";var r=1000,i=500,d=300,o=2000,l=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=v(),U=null;async function e(){if(B||D)return;if(B=!0,!V)V=!0,j(()=>{_(),W.emit()});let q=await t();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=M.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??r,pollInterval:U?.pollInterval??i},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:l,interval:U?.chokidarInterval??o,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=E(async()=>{await L()})}function L(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var h=W.subscribe;async function t(){let q=F(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of Y()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),s(q)}function s(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await T("skills",w[0]);if(A(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}b(),f(),I(),W.emit()},U?.reloadDebounce??d)}async function a(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Uq={initialize:e,dispose:L,subscribe:h,resetForTesting:a};
2
- export{Uq as eb};
@@ -1,3 +0,0 @@
1
- import{DX as j,EX as s,FX as F,HX as V,mY as o,tW as t,xW as p}from"./cli-1.1.33-9zba2a1d.mjs";import{Q1 as w,R1 as g,S1 as y}from"./cli-1.1.33-h27b2an0.mjs";import{H9 as _,I9 as n,v9 as $,w9 as a}from"./cli-1.1.33-20v60hvd.mjs";import{pqa as i,tqa as v}from"./cli-1.1.33-cfj1bzen.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
- `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
- export{Hq as Qf,Mq as Rf};
@@ -1,5 +0,0 @@
1
- import{ay as y,ey as r,mO as F,nO as S,qO as C,wO as a}from"./cli-1.1.33-vgynvhys.mjs";import{rW as z,sW as b}from"./cli-1.1.33-9zba2a1d.mjs";import{n0 as D,o0 as o}from"./cli-1.1.33-8xyzgp13.mjs";import{a_ as R,b_ as l,d_ as T,e_ as u}from"./cli-1.1.33-20v60hvd.mjs";import{Jia as O,Lia as c,Pia as L,Tia as d,bja as N,eja as g}from"./cli-1.1.33-241y9eee.mjs";import{Epa as _,Fpa as I}from"./cli-1.1.33-5ehc9tkd.mjs";import{tqa as j}from"./cli-1.1.33-cfj1bzen.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function P(q){return!!T(q)}function V(q){let H=k(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,f,m,v;var x=j(()=>{I();b();g();u();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=_(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>P(H))})});function s(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!s(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${y(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
2
- `)&&!Q.endsWith(`
3
-
4
- `))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=j(()=>{a();b();x();l();d();r();c();o();A={code:"code -w",subl:"subl --wait"}});
5
- export{Qq as ng,v as og,x as pg,i as qg,Vq as rg,t as sg};
@@ -1,2 +0,0 @@
1
- import{W6 as y,_6 as V}from"./cli-1.1.33-n7rpkhs4.mjs";import{M$ as p,O$ as Q,j_ as q,l_ as K}from"./cli-1.1.33-20v60hvd.mjs";import{tqa as J}from"./cli-1.1.33-cfj1bzen.mjs";function g(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function F(){return W||null}async function P(){return(await p(y,["-V"])).code===0}function l(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function w(){return(await p(Y,["session","list"])).code===0}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{K();Q();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
2
- export{g as L6,D as M6,F as N6,P as O6,l as P6,Y as Q6,w as R6,Z as S6};
@@ -1,2 +0,0 @@
1
- import{$h as jf,_h as v}from"./cli-1.1.33-gfehnxj8.mjs";import{di as c,fi as bf}from"./cli-1.1.33-8esj8tkg.mjs";import{$v as m,El as e,FL as u,Fl as ff,GL as $f,GS as Kf,Gj as O,Hj as s,Jm as y,LR as g,NB as T,Ol as W,Om as Gf,SR as l,Tu as L,UB as Yf,VB as I,WB as Zf,Xv as h,cS as Df,dS as S,dw as Vf,eS as p,eu as N,fm as zf,fu as E,gu as Jf,nv as P,pB as C,pm as w,qB as Xf,qv as Qf,tR as A,tj as H,vm as Bf,yG as M,zG as _f}from"./cli-1.1.33-vgynvhys.mjs";import{_fa as F,dga as t}from"./cli-1.1.33-20v60hvd.mjs";import{Cka as R,Dka as D,Foa as x,Ika as K,Tma as U,fpa as a}from"./cli-1.1.33-87p06j57.mjs";import{qqa as q,tqa as o}from"./cli-1.1.33-cfj1bzen.mjs";import{randomUUID as qf}from"crypto";async function vf({setMessages:V,readFileState:d,discoveredSkillNames:k,loadedNestedMemoryPaths:i,getAppState:G,setAppState:J,setConversationId:X}){let Y=p();await L("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Uf=U(),Q=new Set,Z=[],_=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if(_(f))continue;if(T(f))Q.add(f.agentId),Z.push(f);else if(M(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(v(Q),C(K()),d.clear(),k?.clear(),i?.clear(),J)J((f)=>{let B={};for(let[j,z]of Object.entries(f.tasks)){if(!_(z)){B[j]=z;continue}try{if(z.status==="running"){if(I(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(r){F(r)}N(j)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});w(),g(),x(),c(),m(),h();let n=R();D({setCurrentAsParent:!0}),y(n),await A();for(let f of Z){if(f.status!=="running")continue;E(f.id,H(O(f.agentId)))}{let{saveMode:f}=(S(),q(Df)),{isCoordinatorMode:B}=(ff(),q(e));f(B()?"coordinator":"normal")}let $=W();if($)l($);let b=await P("clear");if(b.length>0)V(()=>b)}var Rf=o(()=>{a();_f();Yf();Zf();s();Vf();$f();Kf();t();bf();Bf();Xf();Qf();S();Jf();Gf();zf();jf()});
2
- export{vf as Yh,Rf as Zh};