@claudiolabs/claudin 0.5.7 → 0.5.9

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 (844) hide show
  1. package/dist/chunks/AgentTool-0.5.9-560de9d1.mjs +1 -0
  2. package/dist/chunks/App-0.5.9-zsap2q4b.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +3 -0
  10. package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +1 -0
  11. package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +1 -0
  18. package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +1 -0
  28. package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +1 -0
  29. package/dist/chunks/agents-0.5.9-b270304w.mjs +110 -0
  30. package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +3 -0
  31. package/dist/chunks/api-0.5.9-jnhtend7.mjs +1 -0
  32. package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +1 -0
  33. package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +1 -0
  34. package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +1 -0
  35. package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +1 -0
  36. package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +1 -0
  39. package/dist/chunks/branch-0.5.9-4389y3jh.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +1 -0
  41. package/dist/chunks/btw-0.5.9-kq7dda47.mjs +1 -0
  42. package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +3 -0
  43. package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +4 -0
  46. package/dist/chunks/caches-0.5.9-kg4820wg.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +1 -0
  48. package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +1 -0
  49. package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +1 -0
  51. package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +4 -0
  52. package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +2 -0
  53. package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +58 -0
  54. package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +193 -0
  55. package/dist/chunks/cli-0.5.9-0becvd5f.mjs +2 -0
  56. package/dist/chunks/cli-0.5.9-0w46b370.mjs +3 -0
  57. package/dist/chunks/cli-0.5.9-10ar539r.mjs +2 -0
  58. package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +12 -0
  59. package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +15 -0
  60. package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +4 -0
  61. package/dist/chunks/cli-0.5.9-1y9n9z2h.mjs +2 -0
  62. package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +2 -0
  63. package/dist/chunks/cli-0.5.9-248na0hf.mjs +2 -0
  64. package/dist/chunks/cli-0.5.9-2fcyavah.mjs +17 -0
  65. package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +12 -0
  66. package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +2 -0
  67. package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +2 -0
  68. package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +2 -0
  69. package/dist/chunks/cli-0.5.9-371mb3zf.mjs +4 -0
  70. package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +2 -0
  71. package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +2 -0
  72. package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +2 -0
  73. package/dist/chunks/cli-0.5.9-42t3s85x.mjs +2 -0
  74. package/dist/chunks/cli-0.5.9-4aga12a5.mjs +2 -0
  75. package/dist/chunks/cli-0.5.9-4fdad25z.mjs +3 -0
  76. package/dist/chunks/cli-0.5.9-4m738pn1.mjs +25 -0
  77. package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +2 -0
  78. package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +4 -0
  79. package/dist/chunks/cli-0.5.9-4w9169na.mjs +3 -0
  80. package/dist/chunks/cli-0.5.9-4yxntpxv.mjs +2 -0
  81. package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +39 -0
  82. package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +2 -0
  83. package/dist/chunks/cli-0.5.9-5hzwn715.mjs +2 -0
  84. package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +4 -0
  85. package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +4 -0
  86. package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +2 -0
  87. package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +2 -0
  88. package/dist/chunks/cli-0.5.9-610r4gbg.mjs +2 -0
  89. package/dist/chunks/cli-0.5.9-637n1msd.mjs +15 -0
  90. package/dist/chunks/cli-0.5.9-671nz4d9.mjs +2 -0
  91. package/dist/chunks/cli-0.5.9-68rmtj23.mjs +2 -0
  92. package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +2 -0
  93. package/dist/chunks/cli-0.5.9-72tax9cd.mjs +2 -0
  94. package/dist/chunks/cli-0.5.9-77nxjft3.mjs +2 -0
  95. package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +18 -0
  96. package/dist/chunks/cli-0.5.9-7hcka84h.mjs +2 -0
  97. package/dist/chunks/cli-0.5.9-7qcan18n.mjs +2 -0
  98. package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +2 -0
  99. package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +2 -0
  100. package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +4 -0
  101. package/dist/chunks/cli-0.5.9-91gjew0x.mjs +3 -0
  102. package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +2 -0
  103. package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +17 -0
  104. package/dist/chunks/cli-0.5.9-a720c6hc.mjs +9 -0
  105. package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +2 -0
  106. package/dist/chunks/cli-0.5.9-an1j3dqv.mjs +2 -0
  107. package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +67 -0
  108. package/dist/chunks/cli-0.5.9-apc46v07.mjs +15 -0
  109. package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +2 -0
  110. package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +2 -0
  111. package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +5 -0
  112. package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +2 -0
  113. package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +2 -0
  114. package/dist/chunks/cli-0.5.9-bfn7177j.mjs +2 -0
  115. package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +2 -0
  116. package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +2 -0
  117. package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +2 -0
  118. package/dist/chunks/cli-0.5.9-c54d94sv.mjs +2 -0
  119. package/dist/chunks/cli-0.5.9-c91t0fys.mjs +2 -0
  120. package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +2 -0
  121. package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +2 -0
  122. package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +12 -0
  123. package/dist/chunks/cli-0.5.9-d66wktpd.mjs +2 -0
  124. package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +2 -0
  125. package/dist/chunks/cli-0.5.9-da0mspn4.mjs +2 -0
  126. package/dist/chunks/cli-0.5.9-dszssq6z.mjs +2 -0
  127. package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +2 -0
  128. package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +2 -0
  129. package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +2 -0
  130. package/dist/chunks/cli-0.5.9-e5ex267m.mjs +2 -0
  131. package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +2 -0
  132. package/dist/chunks/cli-0.5.9-eagw660r.mjs +2 -0
  133. package/dist/chunks/cli-0.5.9-ehe0yr95.mjs +26 -0
  134. package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +3 -0
  135. package/dist/chunks/cli-0.5.9-ek649arf.mjs +6 -0
  136. package/dist/chunks/cli-0.5.9-ezc11axw.mjs +2 -0
  137. package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +2 -0
  138. package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +2 -0
  139. package/dist/chunks/cli-0.5.9-fn6ees65.mjs +2 -0
  140. package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +2 -0
  141. package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +133 -0
  142. package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +2 -0
  143. package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +5 -0
  144. package/dist/chunks/cli-0.5.9-gbq794tt.mjs +2 -0
  145. package/dist/chunks/cli-0.5.9-gcsba93g.mjs +18 -0
  146. package/dist/chunks/cli-0.5.9-ghbax09k.mjs +2 -0
  147. package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +2 -0
  148. package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +2 -0
  149. package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +2 -0
  150. package/dist/chunks/cli-0.5.9-grgf8g99.mjs +2 -0
  151. package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +3 -0
  152. package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +2 -0
  153. package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +24 -0
  154. package/dist/chunks/cli-0.5.9-h836a3wa.mjs +2 -0
  155. package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +4 -0
  156. package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +2 -0
  157. package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +2 -0
  158. package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +2 -0
  159. package/dist/chunks/cli-0.5.9-j8629kcy.mjs +2 -0
  160. package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +8 -0
  161. package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +6 -0
  162. package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +2 -0
  163. package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +2 -0
  164. package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +4 -0
  165. package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +2 -0
  166. package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +3 -0
  167. package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +2 -0
  168. package/dist/chunks/cli-0.5.9-k47s77hf.mjs +2 -0
  169. package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +42 -0
  170. package/dist/chunks/cli-0.5.9-k9yedz53.mjs +5262 -0
  171. package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +6 -0
  172. package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +2 -0
  173. package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +2 -0
  174. package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +2 -0
  175. package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +2 -0
  176. package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +2 -0
  177. package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +2 -0
  178. package/dist/chunks/cli-0.5.9-mk69z06z.mjs +2 -0
  179. package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +2 -0
  180. package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +2 -0
  181. package/dist/chunks/cli-0.5.9-n08gkgng.mjs +21 -0
  182. package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +3 -0
  183. package/dist/chunks/cli-0.5.9-nct7sarc.mjs +2 -0
  184. package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +2 -0
  185. package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +5 -0
  186. package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +9 -0
  187. package/dist/chunks/cli-0.5.9-ppr1420k.mjs +2 -0
  188. package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +2 -0
  189. package/dist/chunks/cli-0.5.9-q69vj08a.mjs +2 -0
  190. package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +3 -0
  191. package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +50 -0
  192. package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +2 -0
  193. package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +59 -0
  194. package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +3 -0
  195. package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +2 -0
  196. package/dist/chunks/cli-0.5.9-r9d405kc.mjs +2 -0
  197. package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +2 -0
  198. package/dist/chunks/cli-0.5.9-rh5280xq.mjs +2 -0
  199. package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +2 -0
  200. package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +20 -0
  201. package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +34 -0
  202. package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +2 -0
  203. package/dist/chunks/cli-0.5.9-rv2328c4.mjs +2 -0
  204. package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +3 -0
  205. package/dist/chunks/cli-0.5.9-sd34jmva.mjs +2 -0
  206. package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +2 -0
  207. package/dist/chunks/cli-0.5.9-ss870bda.mjs +2 -0
  208. package/dist/chunks/cli-0.5.9-syr6nffj.mjs +2 -0
  209. package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +45 -0
  210. package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +2 -0
  211. package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +2 -0
  212. package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +2 -0
  213. package/dist/chunks/cli-0.5.9-tke5evvm.mjs +2 -0
  214. package/dist/chunks/cli-0.5.9-v1srrn02.mjs +2 -0
  215. package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +16 -0
  216. package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +2 -0
  217. package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +2 -0
  218. package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +133 -0
  219. package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +2 -0
  220. package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +2 -0
  221. package/dist/chunks/cli-0.5.9-whf5zybr.mjs +2 -0
  222. package/dist/chunks/cli-0.5.9-wjvc994v.mjs +2 -0
  223. package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +2 -0
  224. package/dist/chunks/cli-0.5.9-wrndf987.mjs +2 -0
  225. package/dist/chunks/cli-0.5.9-x9tg4bxs.mjs +3 -0
  226. package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +2 -0
  227. package/dist/chunks/cli-0.5.9-xcexsk79.mjs +2 -0
  228. package/dist/chunks/cli-0.5.9-xge969yd.mjs +2 -0
  229. package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +2 -0
  230. package/dist/chunks/cli-0.5.9-xn369es1.mjs +2 -0
  231. package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +10 -0
  232. package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +4 -0
  233. package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +2 -0
  234. package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +2 -0
  235. package/dist/chunks/cli-0.5.9-ysvsqcpa.mjs +2 -0
  236. package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +2 -0
  237. package/dist/chunks/cli-0.5.9-z87j725g.mjs +2 -0
  238. package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +2 -0
  239. package/dist/chunks/cli-0.5.9-zerpef2t.mjs +1 -0
  240. package/dist/chunks/cli-0.5.9-zeskcndd.mjs +24 -0
  241. package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +2 -0
  242. package/dist/chunks/cli-0.5.9-zrcz538q.mjs +2 -0
  243. package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +7 -0
  244. package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +1 -0
  245. package/dist/chunks/color-0.5.9-5722xdf4.mjs +1 -0
  246. package/dist/chunks/compact-0.5.9-4cf807hc.mjs +3 -0
  247. package/dist/chunks/config-0.5.9-936tss5g.mjs +1 -0
  248. package/dist/chunks/config-0.5.9-kk16cygb.mjs +1 -0
  249. package/dist/chunks/context-0.5.9-b0afgp2c.mjs +1 -0
  250. package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +1 -0
  251. package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +1 -0
  252. package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +9 -0
  253. package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +1 -0
  254. package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +1 -0
  255. package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +1 -0
  256. package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +1 -0
  257. package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +1177 -0
  258. package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +1 -0
  259. package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +1 -0
  260. package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +1 -0
  261. package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +1 -0
  262. package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +1 -0
  263. package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +1 -0
  264. package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +1 -0
  265. package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +10 -0
  266. package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +1 -0
  267. package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +1 -0
  268. package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +1 -0
  269. package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +1 -0
  270. package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +1 -0
  271. package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +1 -0
  272. package/dist/chunks/export-0.5.9-1dpbp185.mjs +2 -0
  273. package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +1 -0
  274. package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +1 -0
  275. package/dist/chunks/fast-0.5.9-wagaw91z.mjs +1 -0
  276. package/dist/chunks/feedback-0.5.9-x37szs13.mjs +14 -0
  277. package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +1 -0
  278. package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +1 -0
  279. package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +1 -0
  280. package/dist/chunks/grove-0.5.9-grafpqtx.mjs +1 -0
  281. package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +1 -0
  282. package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +2 -0
  283. package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +6 -0
  284. package/dist/chunks/help-0.5.9-x6ds3za0.mjs +1 -0
  285. package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +3 -0
  286. package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +1 -0
  287. package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +79 -0
  288. package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +1 -0
  290. package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +17 -0
  291. package/dist/chunks/index-0.5.9-3ng34e8n.mjs +2 -0
  292. package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +9 -0
  293. package/dist/chunks/index-0.5.9-4fzd2pns.mjs +1 -0
  294. package/dist/chunks/index-0.5.9-6awv6fyn.mjs +1 -0
  295. package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +1 -0
  296. package/dist/chunks/index-0.5.9-725p0eby.mjs +1 -0
  297. package/dist/chunks/index-0.5.9-85ep6547.mjs +30 -0
  298. package/dist/chunks/index-0.5.9-8h5ceajb.mjs +1 -0
  299. package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +5 -0
  300. package/dist/chunks/index-0.5.9-b3jm65x4.mjs +1 -0
  301. package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +1 -0
  302. package/dist/chunks/index-0.5.9-gnac3s48.mjs +1 -0
  303. package/dist/chunks/index-0.5.9-m68jcsx2.mjs +1 -0
  304. package/dist/chunks/index-0.5.9-n91crv8a.mjs +1 -0
  305. package/dist/chunks/index-0.5.9-npkfayxd.mjs +1 -0
  306. package/dist/chunks/index-0.5.9-pbzzad7t.mjs +9 -0
  307. package/dist/chunks/index-0.5.9-thp631gs.mjs +1 -0
  308. package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +1 -0
  309. package/dist/chunks/index-0.5.9-y07jxja1.mjs +1 -0
  310. package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +2 -0
  311. package/dist/chunks/index-0.5.9-zb346057.mjs +1 -0
  312. package/dist/chunks/init-0.5.9-cmszfh8j.mjs +1 -0
  313. package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +1 -0
  314. package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +1 -0
  315. package/dist/chunks/insights-0.5.9-fevx72ve.mjs +870 -0
  316. package/dist/chunks/install-0.5.9-6m05dpsa.mjs +1 -0
  317. package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +149 -0
  318. package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +1 -0
  319. package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +1 -0
  320. package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +1 -0
  321. package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +2 -0
  322. package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +2 -0
  323. package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +1 -0
  324. package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +1 -0
  327. package/dist/chunks/log-0.5.9-8aszszjb.mjs +1 -0
  328. package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +1 -0
  329. package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +1 -0
  330. package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +17 -0
  331. package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +4 -0
  332. package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +1 -0
  333. package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +1 -0
  334. package/dist/chunks/memory-0.5.9-se036fe4.mjs +3 -0
  335. package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +2 -0
  336. package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +1 -0
  337. package/dist/chunks/model-0.5.9-k0m86zrn.mjs +2 -0
  338. package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +12 -0
  339. package/dist/chunks/oauth-0.5.9-bytwte72.mjs +1 -0
  340. package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +14 -0
  341. package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +1 -0
  342. package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +1 -0
  343. package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +1 -0
  344. package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +1 -0
  345. package/dist/chunks/passes-0.5.9-w08t80rc.mjs +1 -0
  346. package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +3 -0
  347. package/dist/chunks/plan-0.5.9-trs5gepx.mjs +1 -0
  348. package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +1 -0
  349. package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +29 -0
  350. package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +1 -0
  351. package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +9 -0
  352. package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +2 -0
  353. package/dist/chunks/print-0.5.9-fm0q92d1.mjs +57 -0
  354. package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +1 -0
  355. package/dist/chunks/process-0.5.9-syp1y7ym.mjs +1 -0
  356. package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +1 -0
  357. package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +9 -0
  358. package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +1 -0
  359. package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +1 -0
  360. package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +1 -0
  361. package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +13 -0
  362. package/dist/chunks/provider-0.5.9-ew50s03j.mjs +2 -0
  363. package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +1 -0
  364. package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +6 -0
  365. package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +1 -0
  366. package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +34 -0
  367. package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +1 -0
  368. package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +5 -0
  369. package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +2 -0
  370. package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +1 -0
  371. package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +1 -0
  372. package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +1 -0
  373. package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +1 -0
  374. package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +1 -0
  375. package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +1 -0
  376. package/dist/chunks/resume-0.5.9-5n9z570h.mjs +2 -0
  377. package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +1 -0
  378. package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +1 -0
  379. package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +1 -0
  380. package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +1 -0
  381. package/dist/chunks/session-0.5.9-spjfzb60.mjs +2 -0
  382. package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +1 -0
  383. package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +1 -0
  384. package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +1 -0
  385. package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +1 -0
  386. package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +5 -0
  387. package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +1 -0
  388. package/dist/chunks/skills-0.5.9-816ec23f.mjs +1 -0
  389. package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +1 -0
  390. package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +1 -0
  391. package/dist/chunks/state-0.5.9-ssv90pdf.mjs +1 -0
  392. package/dist/chunks/stats-0.5.9-09jq1eez.mjs +6 -0
  393. package/dist/chunks/status-0.5.9-zm23czy4.mjs +1 -0
  394. package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +1 -0
  395. package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +1 -0
  396. package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +1 -0
  397. package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +1 -0
  398. package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +1 -0
  399. package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +1 -0
  400. package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +1 -0
  401. package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +1 -0
  402. package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +1 -0
  403. package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +1 -0
  404. package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +1 -0
  405. package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +1 -0
  406. package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +1 -0
  407. package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +1 -0
  408. package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +69 -0
  409. package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +4 -0
  410. package/dist/chunks/update-0.5.9-yv6acwy6.mjs +86 -0
  411. package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +1 -0
  412. package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +14 -0
  413. package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +1 -0
  414. package/dist/chunks/usage-0.5.9-ze5694v0.mjs +1 -0
  415. package/dist/chunks/util-0.5.9-8517xr6w.mjs +1 -0
  416. package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +1 -0
  417. package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +1 -0
  418. package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +1 -0
  419. package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +132 -0
  420. package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +1 -0
  421. package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +1 -0
  422. package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +7 -0
  423. package/dist/claudin-vscode.vsix +0 -0
  424. package/dist/cli.mjs +2 -7
  425. package/dist/help-agents.txt +8 -0
  426. package/dist/help-auth.txt +12 -0
  427. package/dist/help-auto-mode.txt +14 -0
  428. package/dist/help-doctor.txt +8 -0
  429. package/dist/help-install.txt +8 -0
  430. package/dist/help-mcp.txt +31 -0
  431. package/dist/help-plugin.txt +20 -0
  432. package/dist/help-plugins.txt +20 -0
  433. package/dist/help-setup-token.txt +6 -0
  434. package/dist/help-update.txt +6 -0
  435. package/dist/help-upgrade.txt +6 -0
  436. package/dist/help.txt +68 -0
  437. package/package.json +27 -24
  438. package/scripts/postinstall-warmup.mjs +70 -0
  439. package/dist/chunks/AgentTool-0.5.7-0krqsszm.mjs +0 -1
  440. package/dist/chunks/App-0.5.7-k8c6xsbz.mjs +0 -1
  441. package/dist/chunks/ApproveApiKey-0.5.7-djmd358f.mjs +0 -1
  442. package/dist/chunks/AssistantSessionChooser-0.5.7-40f5p134.mjs +0 -1
  443. package/dist/chunks/AutoModeOptInDialog-0.5.7-dgpfkf7n.mjs +0 -1
  444. package/dist/chunks/BypassPermissionsModeDialog-0.5.7-m2n3zekg.mjs +0 -1
  445. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.7-8p2b9258.mjs +0 -1
  446. package/dist/chunks/ConsoleOAuthFlow-0.5.7-e11rkgsy.mjs +0 -1
  447. package/dist/chunks/DiffDialog-0.5.7-df3q0dyx.mjs +0 -3
  448. package/dist/chunks/Doctor-0.5.7-996gqph8.mjs +0 -1
  449. package/dist/chunks/Grove-0.5.7-7xphv8qp.mjs +0 -1
  450. package/dist/chunks/ITermBackend-0.5.7-rv5t26my.mjs +0 -1
  451. package/dist/chunks/InvalidConfigDialog-0.5.7-76awdeqe.mjs +0 -1
  452. package/dist/chunks/InvalidSettingsDialog-0.5.7-d59ky2sv.mjs +0 -1
  453. package/dist/chunks/MigrationDialog-0.5.7-nkkcryn5.mjs +0 -1
  454. package/dist/chunks/Onboarding-0.5.7-v3jtvbkn.mjs +0 -1
  455. package/dist/chunks/ProviderManager-0.5.7-92navbez.mjs +0 -1
  456. package/dist/chunks/REPL-0.5.7-6zag11mg.mjs +0 -1
  457. package/dist/chunks/ResumeConversation-0.5.7-hpgm4f1s.mjs +0 -1
  458. package/dist/chunks/SnapshotUpdateDialog-0.5.7-xrverbhp.mjs +0 -1
  459. package/dist/chunks/TeleportProgress-0.5.7-xn5z7dt4.mjs +0 -1
  460. package/dist/chunks/TeleportRepoMismatchDialog-0.5.7-s29rrsak.mjs +0 -1
  461. package/dist/chunks/TeleportResumeWrapper-0.5.7-3r5mn1za.mjs +0 -1
  462. package/dist/chunks/TmuxBackend-0.5.7-k3c0537z.mjs +0 -9
  463. package/dist/chunks/ToolSearchTool-0.5.7-mybq3qz5.mjs +0 -1
  464. package/dist/chunks/TrustDialog-0.5.7-r4dhznyf.mjs +0 -1
  465. package/dist/chunks/activeProvider-0.5.7-8emdm8j8.mjs +0 -1
  466. package/dist/chunks/add-dir-0.5.7-jwaavdc7.mjs +0 -1
  467. package/dist/chunks/agents-0.5.7-e7dajmrs.mjs +0 -110
  468. package/dist/chunks/agents-0.5.7-q2vtj7pt.mjs +0 -3
  469. package/dist/chunks/api-0.5.7-j8bn129y.mjs +0 -1
  470. package/dist/chunks/asciicast-0.5.7-rp1h8swq.mjs +0 -1
  471. package/dist/chunks/assistant-0.5.7-sfk22b3z.mjs +0 -1
  472. package/dist/chunks/auth-0.5.7-ez3n1qpx.mjs +0 -1
  473. package/dist/chunks/auth-0.5.7-khssh83t.mjs +0 -1
  474. package/dist/chunks/autoMode-0.5.7-ezn856pd.mjs +0 -48
  475. package/dist/chunks/autoUpdater-0.5.7-dkw2aw1e.mjs +0 -1
  476. package/dist/chunks/backgroundHousekeeping-0.5.7-9ejvx75r.mjs +0 -1
  477. package/dist/chunks/branch-0.5.7-cjbtbwg1.mjs +0 -4
  478. package/dist/chunks/bridgePointer-0.5.7-5z0vqchx.mjs +0 -1
  479. package/dist/chunks/btw-0.5.7-p3kbd1wf.mjs +0 -1
  480. package/dist/chunks/buddy-0.5.7-pa55rfb4.mjs +0 -3
  481. package/dist/chunks/cacache-0.5.7-anq54jwq.mjs +0 -1
  482. package/dist/chunks/cache-probe-0.5.7-6j5hzxc4.mjs +0 -21
  483. package/dist/chunks/cacheStats-0.5.7-e1byp2n2.mjs +0 -4
  484. package/dist/chunks/caches-0.5.7-w8n6wxaj.mjs +0 -1
  485. package/dist/chunks/claudeDesktop-0.5.7-5kkyx4pz.mjs +0 -1
  486. package/dist/chunks/claudemd-0.5.7-jb7byep9.mjs +0 -1
  487. package/dist/chunks/clear-0.5.7-tkh04z2c.mjs +0 -1
  488. package/dist/chunks/clearTerminal-0.5.7-mbqev32s.mjs +0 -1
  489. package/dist/chunks/cli-0.5.7-023jpnwm.mjs +0 -2
  490. package/dist/chunks/cli-0.5.7-08mn1pmc.mjs +0 -5
  491. package/dist/chunks/cli-0.5.7-0bv1xcbe.mjs +0 -21
  492. package/dist/chunks/cli-0.5.7-0df5m6td.mjs +0 -2
  493. package/dist/chunks/cli-0.5.7-0rvzfmhb.mjs +0 -2
  494. package/dist/chunks/cli-0.5.7-0s7wtvbz.mjs +0 -2
  495. package/dist/chunks/cli-0.5.7-1fmgwk5c.mjs +0 -2
  496. package/dist/chunks/cli-0.5.7-1kmeaqmc.mjs +0 -2
  497. package/dist/chunks/cli-0.5.7-20cz322w.mjs +0 -2
  498. package/dist/chunks/cli-0.5.7-23hg3t0h.mjs +0 -2
  499. package/dist/chunks/cli-0.5.7-258ytmbr.mjs +0 -2
  500. package/dist/chunks/cli-0.5.7-26pwg6gg.mjs +0 -2
  501. package/dist/chunks/cli-0.5.7-2h4rgwc9.mjs +0 -2
  502. package/dist/chunks/cli-0.5.7-2qxsy7jq.mjs +0 -12
  503. package/dist/chunks/cli-0.5.7-2tnvc3ka.mjs +0 -2
  504. package/dist/chunks/cli-0.5.7-2xm61gkr.mjs +0 -5
  505. package/dist/chunks/cli-0.5.7-2ytftsg5.mjs +0 -2
  506. package/dist/chunks/cli-0.5.7-31969syr.mjs +0 -2
  507. package/dist/chunks/cli-0.5.7-31hdc2nc.mjs +0 -2
  508. package/dist/chunks/cli-0.5.7-35yf0b84.mjs +0 -2
  509. package/dist/chunks/cli-0.5.7-3jrq7w6x.mjs +0 -2
  510. package/dist/chunks/cli-0.5.7-3xssm25z.mjs +0 -2
  511. package/dist/chunks/cli-0.5.7-469r2a5r.mjs +0 -193
  512. package/dist/chunks/cli-0.5.7-4eg4pktt.mjs +0 -2
  513. package/dist/chunks/cli-0.5.7-4gmpny6k.mjs +0 -133
  514. package/dist/chunks/cli-0.5.7-4zv4np07.mjs +0 -2
  515. package/dist/chunks/cli-0.5.7-500c5b8m.mjs +0 -4
  516. package/dist/chunks/cli-0.5.7-52mwnwy6.mjs +0 -58
  517. package/dist/chunks/cli-0.5.7-55zn2cct.mjs +0 -4
  518. package/dist/chunks/cli-0.5.7-5736yt36.mjs +0 -2
  519. package/dist/chunks/cli-0.5.7-5aghfr8k.mjs +0 -3
  520. package/dist/chunks/cli-0.5.7-5by4fby4.mjs +0 -2
  521. package/dist/chunks/cli-0.5.7-5e5xfeq6.mjs +0 -2
  522. package/dist/chunks/cli-0.5.7-5jaayymr.mjs +0 -17
  523. package/dist/chunks/cli-0.5.7-5jms2g5g.mjs +0 -2
  524. package/dist/chunks/cli-0.5.7-5kv9dgvn.mjs +0 -2
  525. package/dist/chunks/cli-0.5.7-5mrw857q.mjs +0 -4
  526. package/dist/chunks/cli-0.5.7-5q6tfz39.mjs +0 -2
  527. package/dist/chunks/cli-0.5.7-650e2qk4.mjs +0 -18
  528. package/dist/chunks/cli-0.5.7-67xxeffj.mjs +0 -2
  529. package/dist/chunks/cli-0.5.7-6d26vvaa.mjs +0 -2
  530. package/dist/chunks/cli-0.5.7-6g3w68ks.mjs +0 -2
  531. package/dist/chunks/cli-0.5.7-6gfay8ap.mjs +0 -2
  532. package/dist/chunks/cli-0.5.7-6gkpb0vw.mjs +0 -2
  533. package/dist/chunks/cli-0.5.7-6pssgqdn.mjs +0 -2
  534. package/dist/chunks/cli-0.5.7-6thqe6p4.mjs +0 -3
  535. package/dist/chunks/cli-0.5.7-73er78b7.mjs +0 -15
  536. package/dist/chunks/cli-0.5.7-7a9gq9ff.mjs +0 -2
  537. package/dist/chunks/cli-0.5.7-7hm7dxyp.mjs +0 -2
  538. package/dist/chunks/cli-0.5.7-7k456xwn.mjs +0 -3
  539. package/dist/chunks/cli-0.5.7-7mmyazqh.mjs +0 -34
  540. package/dist/chunks/cli-0.5.7-7rgsmfw7.mjs +0 -3
  541. package/dist/chunks/cli-0.5.7-7wyhqw17.mjs +0 -2
  542. package/dist/chunks/cli-0.5.7-82x8qaxx.mjs +0 -2
  543. package/dist/chunks/cli-0.5.7-89fcvfy0.mjs +0 -2
  544. package/dist/chunks/cli-0.5.7-8ac9d7r6.mjs +0 -2
  545. package/dist/chunks/cli-0.5.7-8ap24w7a.mjs +0 -2
  546. package/dist/chunks/cli-0.5.7-8e61g5bq.mjs +0 -10
  547. package/dist/chunks/cli-0.5.7-8sbq2qed.mjs +0 -2
  548. package/dist/chunks/cli-0.5.7-8sqyymdb.mjs +0 -2
  549. package/dist/chunks/cli-0.5.7-8ychjqct.mjs +0 -16
  550. package/dist/chunks/cli-0.5.7-93eaxn9a.mjs +0 -2
  551. package/dist/chunks/cli-0.5.7-93k1z52y.mjs +0 -2
  552. package/dist/chunks/cli-0.5.7-9acdh8nc.mjs +0 -2
  553. package/dist/chunks/cli-0.5.7-9jck3vts.mjs +0 -15
  554. package/dist/chunks/cli-0.5.7-9rbmn26q.mjs +0 -24
  555. package/dist/chunks/cli-0.5.7-9sysdak3.mjs +0 -2
  556. package/dist/chunks/cli-0.5.7-9ysat94v.mjs +0 -2
  557. package/dist/chunks/cli-0.5.7-9z55nm22.mjs +0 -3
  558. package/dist/chunks/cli-0.5.7-9zwbnq8g.mjs +0 -2
  559. package/dist/chunks/cli-0.5.7-a47hzz3r.mjs +0 -2
  560. package/dist/chunks/cli-0.5.7-aq7a3646.mjs +0 -2
  561. package/dist/chunks/cli-0.5.7-ayjrdmrk.mjs +0 -2
  562. package/dist/chunks/cli-0.5.7-b51h487f.mjs +0 -2
  563. package/dist/chunks/cli-0.5.7-bkptgahs.mjs +0 -4
  564. package/dist/chunks/cli-0.5.7-bnapjxz4.mjs +0 -2
  565. package/dist/chunks/cli-0.5.7-bzrvdrq4.mjs +0 -2
  566. package/dist/chunks/cli-0.5.7-c1mv1399.mjs +0 -2
  567. package/dist/chunks/cli-0.5.7-c9dtw94k.mjs +0 -2
  568. package/dist/chunks/cli-0.5.7-cakvh73p.mjs +0 -2
  569. package/dist/chunks/cli-0.5.7-d19d4v07.mjs +0 -2
  570. package/dist/chunks/cli-0.5.7-d4gtv7f7.mjs +0 -2
  571. package/dist/chunks/cli-0.5.7-de90yre1.mjs +0 -2
  572. package/dist/chunks/cli-0.5.7-dntg9qbj.mjs +0 -133
  573. package/dist/chunks/cli-0.5.7-dp3z7wkh.mjs +0 -2
  574. package/dist/chunks/cli-0.5.7-dr7n1fyv.mjs +0 -20
  575. package/dist/chunks/cli-0.5.7-e8eqdfnf.mjs +0 -2
  576. package/dist/chunks/cli-0.5.7-eer6xagb.mjs +0 -2
  577. package/dist/chunks/cli-0.5.7-esx85d2g.mjs +0 -2
  578. package/dist/chunks/cli-0.5.7-eyemfxtz.mjs +0 -2
  579. package/dist/chunks/cli-0.5.7-fx3gesdm.mjs +0 -2
  580. package/dist/chunks/cli-0.5.7-g2dd5t6j.mjs +0 -2
  581. package/dist/chunks/cli-0.5.7-g4n7dg2d.mjs +0 -9
  582. package/dist/chunks/cli-0.5.7-g7k0r0ea.mjs +0 -5
  583. package/dist/chunks/cli-0.5.7-g8dqk0se.mjs +0 -2
  584. package/dist/chunks/cli-0.5.7-gcnk0vke.mjs +0 -6
  585. package/dist/chunks/cli-0.5.7-gnq8vh0c.mjs +0 -2
  586. package/dist/chunks/cli-0.5.7-gy4csxb5.mjs +0 -2
  587. package/dist/chunks/cli-0.5.7-h9v4tqbs.mjs +0 -24
  588. package/dist/chunks/cli-0.5.7-hdcnw5y4.mjs +0 -2
  589. package/dist/chunks/cli-0.5.7-hhre0h51.mjs +0 -2
  590. package/dist/chunks/cli-0.5.7-hp25yk8y.mjs +0 -2
  591. package/dist/chunks/cli-0.5.7-hq4wbper.mjs +0 -11
  592. package/dist/chunks/cli-0.5.7-hw11qa05.mjs +0 -3
  593. package/dist/chunks/cli-0.5.7-hw3pyj8g.mjs +0 -2
  594. package/dist/chunks/cli-0.5.7-j7h72bgz.mjs +0 -2
  595. package/dist/chunks/cli-0.5.7-j8q5bja8.mjs +0 -2
  596. package/dist/chunks/cli-0.5.7-jf3f8gen.mjs +0 -2
  597. package/dist/chunks/cli-0.5.7-jga8kgpr.mjs +0 -2
  598. package/dist/chunks/cli-0.5.7-jptzskw1.mjs +0 -2
  599. package/dist/chunks/cli-0.5.7-jw2te6th.mjs +0 -2
  600. package/dist/chunks/cli-0.5.7-k11mzgcb.mjs +0 -2
  601. package/dist/chunks/cli-0.5.7-kctf48t4.mjs +0 -7
  602. package/dist/chunks/cli-0.5.7-knkzkqbw.mjs +0 -2
  603. package/dist/chunks/cli-0.5.7-kp9pg4sr.mjs +0 -2
  604. package/dist/chunks/cli-0.5.7-kvazvrra.mjs +0 -2
  605. package/dist/chunks/cli-0.5.7-ky5khwx2.mjs +0 -2
  606. package/dist/chunks/cli-0.5.7-m0841vt9.mjs +0 -2
  607. package/dist/chunks/cli-0.5.7-m4ekdyhj.mjs +0 -2
  608. package/dist/chunks/cli-0.5.7-m4wwfa6q.mjs +0 -2
  609. package/dist/chunks/cli-0.5.7-m5q27x96.mjs +0 -2
  610. package/dist/chunks/cli-0.5.7-m82d23hf.mjs +0 -2
  611. package/dist/chunks/cli-0.5.7-mdcw5fyw.mjs +0 -4
  612. package/dist/chunks/cli-0.5.7-mz4njeb9.mjs +0 -39
  613. package/dist/chunks/cli-0.5.7-mzfr99sc.mjs +0 -67
  614. package/dist/chunks/cli-0.5.7-p381d4sx.mjs +0 -3
  615. package/dist/chunks/cli-0.5.7-p4mv49ab.mjs +0 -25
  616. package/dist/chunks/cli-0.5.7-pse9qff7.mjs +0 -2
  617. package/dist/chunks/cli-0.5.7-pzjz115k.mjs +0 -2
  618. package/dist/chunks/cli-0.5.7-q0pq4367.mjs +0 -9
  619. package/dist/chunks/cli-0.5.7-q2e6xpch.mjs +0 -5281
  620. package/dist/chunks/cli-0.5.7-q6sgd9ng.mjs +0 -12
  621. package/dist/chunks/cli-0.5.7-q8v8naf8.mjs +0 -2
  622. package/dist/chunks/cli-0.5.7-qdcp748z.mjs +0 -2
  623. package/dist/chunks/cli-0.5.7-qdqrgv1q.mjs +0 -2
  624. package/dist/chunks/cli-0.5.7-qk0n5hqa.mjs +0 -9
  625. package/dist/chunks/cli-0.5.7-r4cdt1b9.mjs +0 -50
  626. package/dist/chunks/cli-0.5.7-ra5kv4tw.mjs +0 -2
  627. package/dist/chunks/cli-0.5.7-rb75eq83.mjs +0 -2
  628. package/dist/chunks/cli-0.5.7-rggstqv6.mjs +0 -2
  629. package/dist/chunks/cli-0.5.7-rr1yd8f3.mjs +0 -4
  630. package/dist/chunks/cli-0.5.7-rzts2ke3.mjs +0 -2
  631. package/dist/chunks/cli-0.5.7-s09knvta.mjs +0 -3
  632. package/dist/chunks/cli-0.5.7-s5nd54ga.mjs +0 -3
  633. package/dist/chunks/cli-0.5.7-sb3fjts4.mjs +0 -2
  634. package/dist/chunks/cli-0.5.7-sjd6g3n6.mjs +0 -15
  635. package/dist/chunks/cli-0.5.7-sjx0wm99.mjs +0 -2
  636. package/dist/chunks/cli-0.5.7-skfm51ta.mjs +0 -44
  637. package/dist/chunks/cli-0.5.7-sx7pr75m.mjs +0 -2
  638. package/dist/chunks/cli-0.5.7-t6mtpr04.mjs +0 -2
  639. package/dist/chunks/cli-0.5.7-t8z48kc2.mjs +0 -4
  640. package/dist/chunks/cli-0.5.7-tbga87q3.mjs +0 -2
  641. package/dist/chunks/cli-0.5.7-tc3vm4ra.mjs +0 -2
  642. package/dist/chunks/cli-0.5.7-tgq7dtyz.mjs +0 -2
  643. package/dist/chunks/cli-0.5.7-tpjjm1z2.mjs +0 -45
  644. package/dist/chunks/cli-0.5.7-tqn2ged5.mjs +0 -2
  645. package/dist/chunks/cli-0.5.7-twqt7rxq.mjs +0 -6
  646. package/dist/chunks/cli-0.5.7-vgc7nzef.mjs +0 -2
  647. package/dist/chunks/cli-0.5.7-vk8p3n59.mjs +0 -2
  648. package/dist/chunks/cli-0.5.7-vn5aht50.mjs +0 -2
  649. package/dist/chunks/cli-0.5.7-vvrg78m6.mjs +0 -2
  650. package/dist/chunks/cli-0.5.7-vy4r02pg.mjs +0 -4
  651. package/dist/chunks/cli-0.5.7-vyxaeh82.mjs +0 -2
  652. package/dist/chunks/cli-0.5.7-w024nwsf.mjs +0 -2
  653. package/dist/chunks/cli-0.5.7-w16wj21h.mjs +0 -2
  654. package/dist/chunks/cli-0.5.7-w1bf9y93.mjs +0 -3
  655. package/dist/chunks/cli-0.5.7-w2fb8g6y.mjs +0 -2
  656. package/dist/chunks/cli-0.5.7-w50j12vv.mjs +0 -2
  657. package/dist/chunks/cli-0.5.7-w6nex68w.mjs +0 -2
  658. package/dist/chunks/cli-0.5.7-wz2cbwxt.mjs +0 -4
  659. package/dist/chunks/cli-0.5.7-x0n9mq65.mjs +0 -2
  660. package/dist/chunks/cli-0.5.7-x1azmh1g.mjs +0 -2
  661. package/dist/chunks/cli-0.5.7-x1w96j6d.mjs +0 -59
  662. package/dist/chunks/cli-0.5.7-x7dabprd.mjs +0 -2
  663. package/dist/chunks/cli-0.5.7-x8t1aeey.mjs +0 -2
  664. package/dist/chunks/cli-0.5.7-xepvraxn.mjs +0 -2
  665. package/dist/chunks/cli-0.5.7-xn6deh04.mjs +0 -6
  666. package/dist/chunks/cli-0.5.7-y2vc4xb6.mjs +0 -12
  667. package/dist/chunks/cli-0.5.7-y3pa8ttm.mjs +0 -2
  668. package/dist/chunks/cli-0.5.7-yaywev87.mjs +0 -2
  669. package/dist/chunks/cli-0.5.7-ycj2xr53.mjs +0 -3
  670. package/dist/chunks/cli-0.5.7-yzncgfs4.mjs +0 -18
  671. package/dist/chunks/cli-0.5.7-z1n09m4p.mjs +0 -2
  672. package/dist/chunks/cli-0.5.7-z97pranc.mjs +0 -2
  673. package/dist/chunks/cli-0.5.7-za19q18c.mjs +0 -2
  674. package/dist/chunks/cli-0.5.7-zb8ztx8p.mjs +0 -2
  675. package/dist/chunks/cli-0.5.7-zkw2fx86.mjs +0 -2
  676. package/dist/chunks/client-0.5.7-bqw74z29.mjs +0 -1
  677. package/dist/chunks/color-0.5.7-v1s3bvcj.mjs +0 -1
  678. package/dist/chunks/compact-0.5.7-7kxsprp5.mjs +0 -3
  679. package/dist/chunks/config-0.5.7-e41nnxnm.mjs +0 -1
  680. package/dist/chunks/config-0.5.7-q40ykcbb.mjs +0 -1
  681. package/dist/chunks/context-0.5.7-qvcehmj5.mjs +0 -1
  682. package/dist/chunks/context-noninteractive-0.5.7-02tkje0w.mjs +0 -1
  683. package/dist/chunks/conversation-0.5.7-h7r20gzw.mjs +0 -1
  684. package/dist/chunks/copy-0.5.7-p3xxq9b3.mjs +0 -9
  685. package/dist/chunks/cost-0.5.7-s3rzm0vd.mjs +0 -1
  686. package/dist/chunks/createSSHSession-0.5.7-s9fc5f1h.mjs +0 -1
  687. package/dist/chunks/createSession-0.5.7-4e64teqm.mjs +0 -1
  688. package/dist/chunks/debug-0.5.7-v8bqkmzm.mjs +0 -1
  689. package/dist/chunks/desktop-0.5.7-tna0yskx.mjs +0 -1
  690. package/dist/chunks/detectRepository-0.5.7-3dy7yz89.mjs +0 -1
  691. package/dist/chunks/detection-0.5.7-39zsjy8t.mjs +0 -1
  692. package/dist/chunks/diff-0.5.7-9ywmnxmx.mjs +0 -1
  693. package/dist/chunks/doctor-0.5.7-ty5zxpem.mjs +0 -1
  694. package/dist/chunks/doctorDiagnostic-0.5.7-g458bh9g.mjs +0 -1
  695. package/dist/chunks/earlyInput-0.5.7-x73yj3dn.mjs +0 -1
  696. package/dist/chunks/effort-0.5.7-h76k43fj.mjs +0 -10
  697. package/dist/chunks/envUtils-0.5.7-w1t7akfc.mjs +0 -1
  698. package/dist/chunks/environmentSelection-0.5.7-5dsnr0sv.mjs +0 -1
  699. package/dist/chunks/environments-0.5.7-pqh2gnjb.mjs +0 -1
  700. package/dist/chunks/errors-0.5.7-pa0hz043.mjs +0 -1
  701. package/dist/chunks/exampleCommands-0.5.7-3dtjxdad.mjs +0 -1
  702. package/dist/chunks/exit-0.5.7-0wrw77gk.mjs +0 -1
  703. package/dist/chunks/export-0.5.7-zw9rbf4j.mjs +0 -2
  704. package/dist/chunks/extra-usage-0.5.7-rfya84j0.mjs +0 -1
  705. package/dist/chunks/extra-usage-noninteractive-0.5.7-a1b9ndnm.mjs +0 -1
  706. package/dist/chunks/fast-0.5.7-2p6srbep.mjs +0 -1
  707. package/dist/chunks/feedback-0.5.7-181z18rn.mjs +0 -14
  708. package/dist/chunks/firstPartyEventLogger-0.5.7-xndd9dd0.mjs +0 -1
  709. package/dist/chunks/git-0.5.7-7gyptyxn.mjs +0 -1
  710. package/dist/chunks/githubModelsCredentials-0.5.7-9zhn44n6.mjs +0 -1
  711. package/dist/chunks/growthbook-0.5.7-1mynkk8j.mjs +0 -1
  712. package/dist/chunks/headless-0.5.7-9f87m6f5.mjs +0 -2
  713. package/dist/chunks/heapdump-0.5.7-ns6mqawv.mjs +0 -6
  714. package/dist/chunks/help-0.5.7-px56h6fs.mjs +0 -1
  715. package/dist/chunks/hookChains-0.5.7-1a6qvexe.mjs +0 -3
  716. package/dist/chunks/hooks-0.5.7-azm2m6rs.mjs +0 -79
  717. package/dist/chunks/hooks-0.5.7-fyp8e3f5.mjs +0 -1
  718. package/dist/chunks/ide-0.5.7-v9hbn8cp.mjs +0 -3
  719. package/dist/chunks/image-processor-napi-0.5.7-e41p58ef.mjs +0 -1
  720. package/dist/chunks/index-0.5.7-0tncgnn3.mjs +0 -1
  721. package/dist/chunks/index-0.5.7-30mrmtkn.mjs +0 -1
  722. package/dist/chunks/index-0.5.7-62s7cp1b.mjs +0 -1
  723. package/dist/chunks/index-0.5.7-69akvbm4.mjs +0 -1
  724. package/dist/chunks/index-0.5.7-6y6f5cws.mjs +0 -1
  725. package/dist/chunks/index-0.5.7-7w3agvzm.mjs +0 -10
  726. package/dist/chunks/index-0.5.7-8jwymzr6.mjs +0 -1
  727. package/dist/chunks/index-0.5.7-8m53gyr6.mjs +0 -9
  728. package/dist/chunks/index-0.5.7-ct6jw15p.mjs +0 -2
  729. package/dist/chunks/index-0.5.7-dr470b86.mjs +0 -1
  730. package/dist/chunks/index-0.5.7-e4rvp0fn.mjs +0 -1
  731. package/dist/chunks/index-0.5.7-fkw6rn8z.mjs +0 -1
  732. package/dist/chunks/index-0.5.7-h1xjcbtb.mjs +0 -1
  733. package/dist/chunks/index-0.5.7-ma3xmxv3.mjs +0 -2
  734. package/dist/chunks/index-0.5.7-qn7zmh31.mjs +0 -9
  735. package/dist/chunks/index-0.5.7-rd44m0e6.mjs +0 -30
  736. package/dist/chunks/index-0.5.7-te1s21zz.mjs +0 -5
  737. package/dist/chunks/index-0.5.7-vm9zmzmr.mjs +0 -1
  738. package/dist/chunks/index-0.5.7-wpffxvtn.mjs +0 -1
  739. package/dist/chunks/index-0.5.7-wwfn7x53.mjs +0 -1
  740. package/dist/chunks/index-0.5.7-ybcvbcjt.mjs +0 -1
  741. package/dist/chunks/index-0.5.7-yw3tp60c.mjs +0 -1
  742. package/dist/chunks/initReplBridge-0.5.7-xpy8ap8n.mjs +0 -1
  743. package/dist/chunks/ink-0.5.7-dwmx157s.mjs +0 -1
  744. package/dist/chunks/insights-0.5.7-5fpd27dr.mjs +0 -870
  745. package/dist/chunks/install-0.5.7-6sc73ew8.mjs +0 -1
  746. package/dist/chunks/install-github-app-0.5.7-jcyktynf.mjs +0 -149
  747. package/dist/chunks/install-slack-app-0.5.7-mk4a14ww.mjs +0 -1
  748. package/dist/chunks/instrumentation-0.5.7-116w6tf4.mjs +0 -1
  749. package/dist/chunks/interactiveHelpers-0.5.7-zbfkwcsb.mjs +0 -1
  750. package/dist/chunks/keybindings-0.5.7-k2s0bryc.mjs +0 -2
  751. package/dist/chunks/knowledge-0.5.7-55b2ckth.mjs +0 -2
  752. package/dist/chunks/latestVersionCache-0.5.7-k9pyxzrk.mjs +0 -1
  753. package/dist/chunks/loadAgentsDir-0.5.7-9bmbg04z.mjs +0 -1
  754. package/dist/chunks/loadPluginHooks-0.5.7-bcdwwerp.mjs +0 -1
  755. package/dist/chunks/loadPluginHooks-0.5.7-mdt3yvfc.mjs +0 -1
  756. package/dist/chunks/log-0.5.7-wcft0eyv.mjs +0 -1
  757. package/dist/chunks/main-0.5.7-9sxhszx9.mjs +0 -1236
  758. package/dist/chunks/managedEnv-0.5.7-k4gyyt60.mjs +0 -1
  759. package/dist/chunks/mcp-0.5.7-9z74evcf.mjs +0 -1
  760. package/dist/chunks/mcp-0.5.7-djz3mjw4.mjs +0 -4
  761. package/dist/chunks/mcp-0.5.7-n62qd49c.mjs +0 -17
  762. package/dist/chunks/mcpb-0.5.7-bqt73vjr.mjs +0 -1
  763. package/dist/chunks/memory-0.5.7-chxjrvf2.mjs +0 -3
  764. package/dist/chunks/mobile-0.5.7-y0cn32br.mjs +0 -2
  765. package/dist/chunks/model-0.5.7-7mt2xn7w.mjs +0 -1
  766. package/dist/chunks/model-0.5.7-fdhr0cwa.mjs +0 -2
  767. package/dist/chunks/oauth-0.5.7-xf0qbv6v.mjs +0 -1
  768. package/dist/chunks/openaiShim-0.5.7-0cejk3sb.mjs +0 -14
  769. package/dist/chunks/output-style-0.5.7-t5qc5jxe.mjs +0 -1
  770. package/dist/chunks/package-APBHZ5F3-0.5.7-7bp8s9sg.mjs +0 -1
  771. package/dist/chunks/parseConnectUrl-0.5.7-903apk0t.mjs +0 -1
  772. package/dist/chunks/parser-0.5.7-jnq01hth.mjs +0 -1
  773. package/dist/chunks/passes-0.5.7-nk3fgxyh.mjs +0 -1
  774. package/dist/chunks/permissions-0.5.7-q7whkp76.mjs +0 -3
  775. package/dist/chunks/plan-0.5.7-w5hgy3s7.mjs +0 -1
  776. package/dist/chunks/plist-0.5.7-jwz5qjtz.mjs +0 -1
  777. package/dist/chunks/plugin-0.5.7-x7xcey6d.mjs +0 -29
  778. package/dist/chunks/pluginStartupCheck-0.5.7-gy2e0dge.mjs +0 -1
  779. package/dist/chunks/plugins-0.5.7-2ehzph1a.mjs +0 -9
  780. package/dist/chunks/print-0.5.7-mjx6j0dk.mjs +0 -57
  781. package/dist/chunks/privacy-settings-0.5.7-rkmc34t8.mjs +0 -1
  782. package/dist/chunks/process-0.5.7-8c0qwpv6.mjs +0 -1
  783. package/dist/chunks/processBashCommand-0.5.7-czwzjsj9.mjs +0 -1
  784. package/dist/chunks/processSlashCommand-0.5.7-512rz16m.mjs +0 -9
  785. package/dist/chunks/prompt-0.5.7-r8ewyzer.mjs +0 -1
  786. package/dist/chunks/prompt-0.5.7-z98k679g.mjs +0 -1
  787. package/dist/chunks/prompts-0.5.7-g8mh8as5.mjs +0 -1
  788. package/dist/chunks/protocolHandler-0.5.7-p86as7s6.mjs +0 -13
  789. package/dist/chunks/provider-0.5.7-x4t1g0nh.mjs +0 -2
  790. package/dist/chunks/providerProfiles-0.5.7-dz70g8ys.mjs +0 -1
  791. package/dist/chunks/rate-limit-options-0.5.7-n282sweb.mjs +0 -1
  792. package/dist/chunks/registry-0.5.7-h8q8eay6.mjs +0 -1
  793. package/dist/chunks/release-notes-0.5.7-2h20frk0.mjs +0 -5
  794. package/dist/chunks/reload-plugins-0.5.7-z50apk74.mjs +0 -2
  795. package/dist/chunks/remote-env-0.5.7-08abe77m.mjs +0 -1
  796. package/dist/chunks/remoteBridgeCore-0.5.7-jdasqn18.mjs +0 -1
  797. package/dist/chunks/remoteSession-0.5.7-nq05jhdv.mjs +0 -1
  798. package/dist/chunks/rename-0.5.7-812j1w4d.mjs +0 -1
  799. package/dist/chunks/replBridgeHandle-0.5.7-aa3cp3ea.mjs +0 -1
  800. package/dist/chunks/resume-0.5.7-weq0rn3m.mjs +0 -2
  801. package/dist/chunks/rewind-0.5.7-y54y78kx.mjs +0 -1
  802. package/dist/chunks/sandbox-adapter-0.5.7-tb5qenm4.mjs +0 -1
  803. package/dist/chunks/sandbox-toggle-0.5.7-nxcpekeq.mjs +0 -1
  804. package/dist/chunks/session-0.5.7-ky2s0856.mjs +0 -2
  805. package/dist/chunks/sessionDiscovery-0.5.7-wr82xcxs.mjs +0 -1
  806. package/dist/chunks/sessionFileAccessHooks-0.5.7-0j8f4we0.mjs +0 -1
  807. package/dist/chunks/sessionStorage-0.5.7-qghsxmr2.mjs +0 -1
  808. package/dist/chunks/settings-0.5.7-xa4hccmb.mjs +0 -1
  809. package/dist/chunks/setup-0.5.7-s4yfpbyd.mjs +0 -5
  810. package/dist/chunks/sinks-0.5.7-feq030bq.mjs +0 -1
  811. package/dist/chunks/skills-0.5.7-h2r9d209.mjs +0 -1
  812. package/dist/chunks/startupProfiler-0.5.7-f44bsnqn.mjs +0 -1
  813. package/dist/chunks/startupUpdateCheck-0.5.7-7ff14fag.mjs +0 -1
  814. package/dist/chunks/state-0.5.7-cwk8b4cx.mjs +0 -1
  815. package/dist/chunks/stats-0.5.7-wd077xj7.mjs +0 -6
  816. package/dist/chunks/status-0.5.7-5qy7pnk9.mjs +0 -1
  817. package/dist/chunks/stickers-0.5.7-7s145w6d.mjs +0 -1
  818. package/dist/chunks/subprocessEnv-0.5.7-5dv3w3xn.mjs +0 -1
  819. package/dist/chunks/tasks-0.5.7-q79z0h3e.mjs +0 -1
  820. package/dist/chunks/teamHelpers-0.5.7-b8qf5f0d.mjs +0 -1
  821. package/dist/chunks/teammateModeSnapshot-0.5.7-kvmjwag8.mjs +0 -1
  822. package/dist/chunks/teleport-0.5.7-x740q45r.mjs +0 -1
  823. package/dist/chunks/terminalSetup-0.5.7-z8ytqt6q.mjs +0 -1
  824. package/dist/chunks/theme-0.5.7-9asaqpc9.mjs +0 -1
  825. package/dist/chunks/thinkback-0.5.7-6bzqdm8h.mjs +0 -1
  826. package/dist/chunks/thinkback-play-0.5.7-5m54zaez.mjs +0 -1
  827. package/dist/chunks/toolPool-0.5.7-5rd6jp71.mjs +0 -1
  828. package/dist/chunks/toolSearch-0.5.7-wgqasfmq.mjs +0 -1
  829. package/dist/chunks/trustedDevice-0.5.7-5qbzragc.mjs +0 -1
  830. package/dist/chunks/turndown.cjs-0.5.7-3fjybn8j.mjs +0 -69
  831. package/dist/chunks/ultrareviewCommand-0.5.7-98p7mn4r.mjs +0 -4
  832. package/dist/chunks/update-0.5.7-2jgnt5gj.mjs +0 -86
  833. package/dist/chunks/upgrade-0.5.7-1fa84f4g.mjs +0 -1
  834. package/dist/chunks/upstreamproxy-0.5.7-1p7vn612.mjs +0 -14
  835. package/dist/chunks/url-handler-napi-0.5.7-312p1719.mjs +0 -1
  836. package/dist/chunks/usage-0.5.7-qrsabcka.mjs +0 -1
  837. package/dist/chunks/util-0.5.7-tpzcah5j.mjs +0 -1
  838. package/dist/chunks/utils-0.5.7-8a2ekyr5.mjs +0 -1
  839. package/dist/chunks/vim-0.5.7-w4e8vpjf.mjs +0 -1
  840. package/dist/chunks/watcher-0.5.7-cj50b60x.mjs +0 -1
  841. package/dist/chunks/wiki-0.5.7-ccjdtg8v.mjs +0 -132
  842. package/dist/chunks/worktree-0.5.7-g8wrf9zf.mjs +0 -1
  843. package/dist/chunks/worktreeModeEnabled-0.5.7-w4jdaq8p.mjs +0 -1
  844. package/dist/chunks/wrapper-0.5.7-8k82xd0n.mjs +0 -7
@@ -0,0 +1,25 @@
1
+ import{A5 as fu,B5 as Al,C5 as ys,D5 as El,E5 as st,F5 as hs,G5 as k,H5 as ur,I5 as Qc,J5 as Bc,K5 as ra,L5 as Xc,M5 as Yc,N5 as Zc,O5 as Jc,P5 as el,Q5 as Hc,R5 as cr,S5 as Cc,T5 as Ts,U5 as gl,u5 as nt,v5 as hl,w5 as bl,x5 as ml,y5 as fn,z5 as $c}from"./cli-0.5.9-rjdhjn49.mjs";import{V5 as ie}from"./cli-0.5.9-0w46b370.mjs";import{wna as kc,xna as Le}from"./cli-0.5.9-a720c6hc.mjs";import{zna as Vc}from"./cli-0.5.9-jk4rx6zt.mjs";import{Bna as Fe,Cna as ve,Fna as De,Gna as ee}from"./cli-0.5.9-2fcyavah.mjs";import{Jna as E,Mna as Bs}from"./cli-0.5.9-ysvsqcpa.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 t5};
@@ -0,0 +1,2 @@
1
+ import{Kna as n,Lna as o}from"./cli-0.5.9-ysvsqcpa.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
+ export{i as Oea,p as Pea,u as Qea};
@@ -0,0 +1,4 @@
1
+ import{Dh as dJ,GN as TJ,Ym as DJ,_m as cJ,cO as jJ,dO as ZV,gH as IJ,hH as BJ,iH as pJ}from"./cli-0.5.9-k9yedz53.mjs";import{C6 as c,D6 as PJ,F7 as qJ,H$ as gJ,J7 as mJ,Raa as uJ,Y6 as VJ,_6 as p,kca as L,sca as hJ,w7 as fJ,x$ as WJ,xaa as NJ}from"./cli-0.5.9-0b1wx67c.mjs";import{$da as kJ,_da as j}from"./cli-0.5.9-31f5vjyq.mjs";import{Oea as f,Qea as zJ}from"./cli-0.5.9-4s8nynfd.mjs";import{Cfa as JJ,Gfa as bJ,Qfa as Q,Tfa as yJ}from"./cli-0.5.9-ek649arf.mjs";import{iga as e,pga as SJ}from"./cli-0.5.9-yazhwsgb.mjs";import{fia as AJ,gia as wJ}from"./cli-0.5.9-3bsjckc3.mjs";import{Hna as LJ,Lna as XJ}from"./cli-0.5.9-ysvsqcpa.mjs";class d{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await y(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let H=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,H)W(),H=!1;await y(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=CJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let H=W.charCodeAt(Y);if(H>=97&&H<=122)V|=1<<H-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),H=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);H[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,X=[],N=-1/0,{paths:D,lowerPaths:q,charBits:x,pathLens:U,readyCount:m}=this;J:for(let M=0;M<m;M++){if((x[M]&$)!==$)continue;let B=Z?D[M]:q[M],E=B.indexOf(H[0]);if(E===-1)continue;b[0]=E;let R=0,g=0,u=E;for(let A=1;A<Y;A++){if(E=B.indexOf(H[A],u+1),E===-1)continue J;b[A]=E;let F=E-u-1;if(F===0)g+=4;else R+=3+F*1;u=E}if(X.length===W&&_+g-R<=N)continue;let S=D[M],UJ=U[M],T=Y*16+g-R;T+=HJ(S,b[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,b[A],!1);if(T+=Math.max(0,32-(UJ>>2)),X.length<W){if(X.push({path:S,fuzzScore:T}),X.length===W)X.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=X[0].fuzzScore}else if(T>N){let A=0,F=X.length;while(A<F){let h=A+F>>1;if(X[h].fuzzScore<T)A=h+1;else F=h}X.splice(A,0,{path:S,fuzzScore:T}),X.shift(),N=X[0].fuzzScore}}X.sort((M,B)=>B.fuzzScore-M.fuzzScore);let I=X.length,w=Math.max(I,1),z=Array(I);for(let M=0;M<I;M++){let B=X[M].path,E=M/w,R=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:R}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(vJ(V))return 8;if(GJ(V)&&RJ(J.charCodeAt(W)))return 6;return 0}function vJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function RJ(J){return J>=65&&J<=90}function y(){return new Promise((J)=>setImmediate(J))}function CJ(J,W){let Z=new Set;for(let Y of J){let H=Y.length;for(let _=0;_<Y.length;_++){let X=Y.charCodeAt(_);if(X===47||X===92){H=_;break}}let $=Y.slice(0,H);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,H)=>{let $=Y.length-H.length;if($!==0)return $;return Y<H?-1:Y>H?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var _J=4,b;var QJ=XJ(()=>{b=new Int32Array(64)});import{statSync as lJ}from"fs";import*as O from"path";function l(){if(!K)K=new d;return K}function UV(){K=null,v=null,G++,k=null,C=[],ZJ=[],$J=[],YJ.clear(),n=null,s=null,o=0,a=null,i=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let H=J[Y];for(let $=0;$<H.length;$++)V=(V^H.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let H=0;H<Y.length;H++)V=(V^Y.charCodeAt(H))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function nJ(){let J=VJ(j());if(!J)return null;try{return lJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function MJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function sJ(J){if(J.length===0)return;if(!K||C.length===0)return;let W=await FJ(J),Z=[...C,...ZJ,...$J,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${C.length} tracked + ${J.length} untracked files`)}async function OJ(J,W){let Z=`${J}:${W}`;if(s===Z)return n;let V=JJ(),Y=[".ignore",".rgignore"],H=[...new Set([J,W])],$=KJ.default(),_=!1,X=H.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(X.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${X[q]}`)}let D=_?$:null;return n=D,s=Z,D}async function oJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=VJ(j());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=j(),H=Date.now(),$=await c(p(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-H}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
2
+ `).filter(Boolean),X=MJ(_,V,Y),N=await OJ(V,Y);if(N){let q=X.length;X=N.filter(X),Q(`[FileIndex] applied ignore patterns: ${q} -> ${X.length} files`)}C=X;let D=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${X.length} tracked files in ${D}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:X.length,tracked_count:X.length,untracked_count:0,duration_ms:D}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=G;k=c(p(),q,{timeout:1e4,cwd:V}).then(async(U)=>{if(x!==G)return;if(U.code===0){let m=U.stdout.trim().split(`
3
+ `).filter(Boolean),I=MJ(m,V,Y),w=await OJ(V,Y);if(w&&I.length>0){let z=I.length;I=w.filter(I),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${I.length} files`)}Q(`[FileIndex] background untracked fetch: ${I.length} files`),sJ(I)}}).catch((U)=>{Q(`[FileIndex] background untracked fetch failed: ${U}`)}).finally(()=>{k=null})}return X}catch(Y){return Q(`[FileIndex] git ls-files error: ${e(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(aJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>_J)await y(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function aJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let H=O.dirname(J[Y]);while(H!=="."&&!V.has(H)){let $=O.dirname(H);if($===H)break;V.add(H),H=$}}}async function iJ(J){return(await Promise.all(IJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function rJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await oJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;Q("[FileIndex] git ls-files returned null, falling back to ripgrep");let V=Date.now(),Y=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)Y.push("--no-ignore-vcs");let $=(await DJ(Y,".",J)).map((X)=>O.relative(j(),X)),_=Date.now()-V;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function tJ(){let J=AbortSignal.timeout(1e4),W=l();try{let Z=WJ(),V=NJ(),Y=Z.respectGitignore??V.respectGitignore??!0,H=j(),[$,_]=await Promise.all([rJ(J,Y),iJ(H)]);ZJ=_;let X=[...$,..._],N=await FJ(X);$J=N;let D=[...N,...X],q=xJ(D);if(q!==i)await W.loadFromFileListAsync(D).done,i=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){L(Z)}return W}function eJ(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function vV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=eJ(Z,Y),Z==="")return""}return Z}function r(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function JV(J,W){return J.search(W,t).map((V)=>r(V.path,V.score))}function EJ(){if(v)return;let J=nJ();if(K){if(!(J!==null&&J!==a)&&Date.now()-o<VV)return}let W=G,Z=Date.now();l(),v=tJ().then((V)=>{if(W!==G)return V;return v=null,YJ.emit(),a=J,o=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${e(V)}`),L(V),W===G)v=null;return l()})}async function WV(){let J=JJ(),W=j();try{return(await J.readdir(W)).map((V)=>{let Y=O.join(W,V.name),H=O.relative(W,Y);return V.isDirectory()?H+O.sep:H})}catch(Z){return L(Z),[]}}async function GV(J,W=!1){if(!J&&!W)return[];if(WJ().fileSuggestion?.type==="command"){let V={...TJ(),query:J};return(await jJ(V)).slice(0,t).map(r)}if(J===""||J==="."||J==="./"){let V=await WV();return EJ(),V.slice(0,t).map(r)}let Z=Date.now();try{let V=v!==null;EJ();let Y=J,H="."+O.sep;if(J.startsWith(H))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=K?JV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return L(V),[]}}function RV(J,W,Z,V,Y,H){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let X=V+$.length;H(X)}var KJ,K=null,v=null,YJ,jV,G=0,k=null,C,ZJ,$J,n=null,s=null,o=0,a=null,i=null,P=null,t=15,VV=5000;var YV=XJ(()=>{pJ();QJ();zJ();uJ();kJ();yJ();SJ();PJ();bJ();fJ();ZV();hJ();mJ();cJ();gJ();wJ();KJ=LJ(dJ(),1);YJ=AJ(),jV=YJ.subscribe,C=[],ZJ=[],$J=[]});
4
+ export{jV as Eg,UV as Fg,vV as Gg,EJ as Hg,GV as Ig,RV as Jg,YV as Kg};
@@ -0,0 +1,3 @@
1
+ import{gd as m,hd as v,id as wk}from"./cli-0.5.9-248na0hf.mjs";import{$K as e,As as l,Bs as Vk,FD as n,GD as V,HD as i,KD as Tk,SK as o,UK as t,XK as Dk,Yl as p,Zl as zk,aL as Uk,dC as g,eC as a,eO as r,fO as kk,gy as s,hy as Gk,jC as Lk,jO as jk}from"./cli-0.5.9-k9yedz53.mjs";import{D0 as d,F0 as Ok,b0 as T,g0 as Jk}from"./cli-0.5.9-v5mkedy5.mjs";import{Z3 as f,_3 as Ik,i4 as c,l4 as Mk}from"./cli-0.5.9-nvf5kfmq.mjs";import{Y5 as S,b6 as _k}from"./cli-0.5.9-jdzavz2g.mjs";import{A7 as P,Baa as b,E7 as $k,H$ as Kk,Kaa as u,Raa as $,Xba as _,_ba as Hk,s$ as j,x6 as K,xaa as x,z6 as Zk}from"./cli-0.5.9-0b1wx67c.mjs";import{Uca as J,Zca as Yk}from"./cli-0.5.9-5vdqnecb.mjs";import{Mea as L,Nea as Bk}from"./cli-0.5.9-tav5jmz1.mjs";import{Qfa as B,Tea as O,Tfa as U,Vea as Rk}from"./cli-0.5.9-ek649arf.mjs";import{cga as h,iga as Y,pga as Xk}from"./cli-0.5.9-yazhwsgb.mjs";import{Fga as Wk,vga as E}from"./cli-0.5.9-eagw660r.mjs";import{Gja as F,Ija as y,Yja as w,ama as z}from"./cli-0.5.9-3bsjckc3.mjs";import{Ama as Qk,zma as A}from"./cli-0.5.9-dtbcqw2e.mjs";import{Mna as W}from"./cli-0.5.9-ysvsqcpa.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.5.9-g8st730b.mjs"),import("./growthbook-0.5.9-mr1nyz65.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.5.9-ebc62ytm.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.5.9-4bh9v7rk.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.5.9-a239c7as.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-0.5.9-xjp9bdct.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.5.9-55dt6kkh.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
+ export{Yq as da,Zq as ea};
@@ -0,0 +1,2 @@
1
+ function i(){}function n(){}
2
+ export{i as K,n as L};
@@ -0,0 +1,39 @@
1
+ import{DN as d,hw as B,iw as U,pM as L,pN as N,qM as w}from"./cli-0.5.9-k9yedz53.mjs";import{N8 as z,U8 as F,X_ as P}from"./cli-0.5.9-0b1wx67c.mjs";import{Jca as H,Pca as v}from"./cli-0.5.9-5vdqnecb.mjs";import{Lna as j}from"./cli-0.5.9-ysvsqcpa.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
2
+
3
+ `;h+=`**Model:** ${Z}
4
+ `,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
5
+ `,h+=`
6
+ `;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
7
+
8
+ `,h+=`| Category | Tokens | Percentage |
9
+ `,h+=`|----------|--------|------------|
10
+ `;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
11
+ `}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
12
+ `}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
13
+ `}h+=`
14
+ `}if(X.length>0){h+=`### MCP Tools
15
+
16
+ `,h+=`| Tool | Server | Tokens |
17
+ `,h+=`|------|--------|--------|
18
+ `;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
19
+ `;h+=`
20
+ `}if(Q.length>0){h+=`### Custom Agents
21
+
22
+ `,h+=`| Agent Type | Source | Tokens |
23
+ `,h+=`|------------|--------|--------|
24
+ `;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
25
+ `}h+=`
26
+ `}if(W.length>0){h+=`### Memory Files
27
+
28
+ `,h+=`| Type | Path | Tokens |
29
+ `,h+=`|------|------|--------|
30
+ `;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
31
+ `;h+=`
32
+ `}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
33
+
34
+ `,h+=`| Skill | Source | Tokens |
35
+ `,h+=`|-------|--------|--------|
36
+ `;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
37
+ `;h+=`
38
+ `}return h}var A=j(()=>{U();w();v();d();F();P()});
39
+ export{V as ig,g as jg,A as kg};
@@ -0,0 +1,2 @@
1
+ import{LS as u,uS as k,vS as f}from"./cli-0.5.9-h836a3wa.mjs";import{ST as C,cU as d}from"./cli-0.5.9-671nz4d9.mjs";import{IZ as A,KZ as F}from"./cli-0.5.9-whf5zybr.mjs";import{b0 as q,g0 as i}from"./cli-0.5.9-v5mkedy5.mjs";import{X3 as W,_3 as _,f4 as j,g4 as w,l4 as I}from"./cli-0.5.9-nvf5kfmq.mjs";import{kca as V,sca as U}from"./cli-0.5.9-0b1wx67c.mjs";import{Mea as M,Nea as v}from"./cli-0.5.9-tav5jmz1.mjs";import{Qfa as J,Tfa as x,tfa as X,ufa as R,yfa as p}from"./cli-0.5.9-ek649arf.mjs";import{iga as P,pga as T}from"./cli-0.5.9-yazhwsgb.mjs";import{Mna as O}from"./cli-0.5.9-ysvsqcpa.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-0.5.9-asjtntyw.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
2
+ export{b as Ga,$z as Ha,Xz as Ia,Wz as Ja,Lz as Ka};
@@ -0,0 +1,2 @@
1
+ import{Lna as s}from"./cli-0.5.9-ysvsqcpa.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/0.5.9 (${e}${n}${t})`}var r=()=>{};
2
+ export{c as wZ,i as xZ,r as yZ};
@@ -0,0 +1,4 @@
1
+ import{Nf as by,Pf as GG}from"./cli-0.5.9-grgf8g99.mjs";import{Og as g,Pg as My}from"./cli-0.5.9-h5d0zxek.mjs";import{mh as Xy,oh as Zy,ph as oy}from"./cli-0.5.9-bwdsfdf6.mjs";import{AD as Ly,Am as Iy,Dp as Qy,Ej as t,Gm as $y,Ij as gy,Kp as xy,NH as j,Nq as v,OH as ty,PP as qG,Vq as ly,WH as Ny,Wu as Wy,Zu as ay,dP as jy,eI as ey,ft as U,gt as _y,lI as Oy,pI as yG,pm as e,rm as yy,tm as Gy,tp as Jy,uD as d,uP as Hy,vD as ry,wm as ky,xm as qy,ym as zy,zD as i}from"./cli-0.5.9-k9yedz53.mjs";import{GT as Ry,HT as cy}from"./cli-0.5.9-zeskcndd.mjs";import{iU as wy,jU as Py,kU as Uy,oU as kG}from"./cli-0.5.9-xn369es1.mjs";import{AU as ny,uU as Ky}from"./cli-0.5.9-rm62v7hr.mjs";import{JX as hy,LV as Yy,aX as Q,bX as sy,cX as L,eX as E}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as N,nZ as u,oZ as C}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as Fy}from"./cli-0.5.9-bp09b2xm.mjs";import{A3 as h,M1 as n,N1 as c,T3 as iy,k2 as dy}from"./cli-0.5.9-v5mkedy5.mjs";import{n4 as _,o4 as Dy}from"./cli-0.5.9-kfpgp09g.mjs";import{H$ as Ey,Raa as M,g9 as J,i9 as uy,p7 as a,s$ as o,uaa as w,w7 as fy,x$ as r,xaa as q,y$ as T,y7 as P,z7 as Ay}from"./cli-0.5.9-0b1wx67c.mjs";import{Lda as Z,Wda as f,Xda as A}from"./cli-0.5.9-7hcka84h.mjs";import{Oea as D,Qea as By}from"./cli-0.5.9-4s8nynfd.mjs";import{Qfa as l,Tfa as py}from"./cli-0.5.9-ek649arf.mjs";import{Hna as p}from"./cli-0.5.9-ysvsqcpa.mjs";hy();A();By();M();ry();My();Ly();C();var s=p(Yy(),1),F=p(Fy(),1),Sy={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return f("tengu_desktop_upsell",Sy)}function Ty(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function bG(){if(!Ty())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function wG(y){let G=s.c(14),{onDone:k}=y,[z,X]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(Cy,W),z){let b;if(G[1]!==k)b=N(g,{onDone:()=>k()}),G[1]=k,G[2]=b;else b=G[2];return b}let O;if(G[3]!==k)O=function(my){switch(my){case"try":{X(!0);return}case"never":{w(vy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=O;else O=G[4];let I=O,K;if(G[5]===Symbol.for("react.memo_cache_sentinel"))K={label:"Open in Claude Code Desktop",value:"try"},G[5]=K;else K=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[K,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let Vy=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=N(L,{marginBottom:1,children:N(E,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let R;if(G[9]!==I)R=()=>I("not-now"),G[9]=I,G[10]=R;else R=G[10];let B;if(G[11]!==I||G[12]!==R)B=N(i,{title:"Try Claude Code Desktop",children:u(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,N(d,{options:Vy,onChange:I,onCancel:R})]})}),G[11]=I,G[12]=R,G[13]=B;else B=G[13];return B}function vy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function Cy(){let y=(q().desktopUpsellSeenCount??0)+1;w((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),D("tengu_desktop_upsell_shown",{seen_count:y})}M();function HG(y){let G=q().numStartups;w((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function $(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}Dy();py();ly();Ey();ny();sy();GG();_y();gy();iy();cy();M();xy();uy();ay();fy();$y();dy();Ay();yG();ey();ty();qG();A();oy();kG();var Y;async function zG(){if(Y!==void 0)return Y;let y=await Ny();return Y=j in y,Y}async function x(y,G,k){if(!await zG())return!1;if(Oy(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((X)=>z.has(X)))return!0}if(k.filePath&&G?.readFileState){if(Wy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var IG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=T(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return l(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claude sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await a()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(jy())return!1;return await Ry()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ky())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claude memory",cooldownSessions:15,async isRelevant(){return q().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&&_.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>P()==="windows"&&process.env.CLAUDE_CODE_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()=>T().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claude is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claude while it works to steer Claude in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claude to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!e())return!1;if(P()!=="macos")return!1;switch(J.terminal){case"vscode":return!await zy();case"cursor":return!await ky();case"windsurf":return!await qy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claude to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(yy())return!1;if((await Gy()).length!==0)return!1;return(await Iy()).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()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claude Code using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>P()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!v()},{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()=>v()},{id:"continue",content:async()=>"Run claude --continue or claude --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()=>Hy()&&q().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 q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${U("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 ${U("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 q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>P()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=n()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return Z("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claude thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Jy(c()))return!1;if(o("policySettings")?.effortLevel!==void 0)return!1;if(Qy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return Z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claude to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return Z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!t())return!1;return Z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=Uy();return k?`Share Claude Code and earn ${G(Py(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=wy();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Xy(),z=k?Zy(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>by()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],JG=[];function QG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function nG(y){let k=r().spinnerTipsOverride,z=QG();if(k?.excludeDefault&&z.length>0)return z;let X=[...IG,...JG],W=await Promise.all(X.map((I)=>I.isRelevant(y)));return[...X.filter((I,K)=>W[K]).filter((I)=>$(I.id)>=I.cooldownSessions),...z]}
4
+ export{bG as ib,wG as jb,HG as kb,$ as lb,nG as mb};
@@ -0,0 +1,4 @@
1
+ import{_ca as X,cda as w,dda as L,eda as _}from"./cli-0.5.9-k47s77hf.mjs";import{Oea as MD,Qea as cD}from"./cli-0.5.9-4s8nynfd.mjs";import{Cfa as ND,Gfa as aD,Qfa as x,Tfa as dD,wfa as jD,yfa as rD}from"./cli-0.5.9-ek649arf.mjs";import{Fga as mD,sga as zD,vga as HD}from"./cli-0.5.9-eagw660r.mjs";import{ama as PD,jia as UD}from"./cli-0.5.9-3bsjckc3.mjs";import{Hna as LD,Jna as bD,Lna as V,Mna as hD}from"./cli-0.5.9-ysvsqcpa.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,N;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],N=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var K=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return K(p,D)},s=(D)=>{if(D<l||D>g)return!1;return K(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return K(N,D)};var i=V(()=>{m();r();[_D,yD]=kD(N)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes("›"))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return U(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function U(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
2
+ `);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return U(E,F);return`${E}…`}}if($(E)<=F)return E;return U(E,F)}var $D=V(()=>{QD();_()});function M(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function wu(D){return`${(D/1000).toFixed(1)}s`}function Lu(D,F){if(D<60000){if(D===0)return"0s";if(D<1)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Iu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:j}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${j} ago`:`in ${J}${j}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function xu(D){let F=D.fileSize!==void 0?M(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(j,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function Su(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function H(){if(!I)I=hD("perf_hooks").performance;return I}function z(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${M(C.rss)}, Heap: ${M(C.heapUsed)}`:"";return`[+${z(D).padStart(E)}ms] (+${z(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(H().mark(D),Z)OD.push(process.memoryUsage())}function ZD(){if(!Z)return"Startup profiling not enabled";let F=H().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${z(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
3
+ `)}function tD(){if(KD)return;if(KD=!0,uu(),Z){let D=Du(),F=sD(D);ND().mkdirSync(F),jD(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function du(){return Z}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=H().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("tengu_startup_perf",C)}var Z,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();Z=HD(process.env.CLAUDE_CODE_PROFILE_STARTUP),vD=Math.random()<iD,GD=Z||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
4
+ export{v as tca,o as uca,O as vca,t as wca,$ as xca,QD as yca,TD as zca,U as Aca,y as Bca,VD as Cca,WD as Dca,$D as Eca,M as Fca,wu as Gca,Lu as Hca,pD as Ica,Iu as Jca,qD as Kca,lD as Lca,xu as Mca,gD as Nca,Su as Oca,XD as Pca,H as Qca,z as Rca,YD as Sca,JD as Tca,eD as Uca,tD as Vca,du as Wca,Du as Xca,uu as Yca,Fu as Zca};
@@ -0,0 +1,2 @@
1
+ import{fF as U,gF as w}from"./cli-0.5.9-k9yedz53.mjs";import{JX as k,LV as f,cX as N,eX as O}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as M,nZ as H,oZ as R}from"./cli-0.5.9-krvpcgvw.mjs";import{Hna as Y,Lna as Z}from"./cli-0.5.9-ysvsqcpa.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
+ export{_ as Qg,A as Rg};
@@ -0,0 +1,2 @@
1
+ import{Kna as x,Lna as z}from"./cli-0.5.9-ysvsqcpa.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
+ export{A as BU,F as CU,G as DU,H as EU,J as FU};
@@ -0,0 +1,2 @@
1
+ import{SI as C,aJ as N,jJ as $,kJ as k,qJ as V}from"./cli-0.5.9-k9yedz53.mjs";import{JX as D,LV as P,cX as f,eX as t,iX as v}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as n,nZ as i,oZ as M}from"./cli-0.5.9-krvpcgvw.mjs";import{Hna as w,Lna as L}from"./cli-0.5.9-ysvsqcpa.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as yg,z as zg};