@claudiolabs/claudin 0.7.4 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (910) hide show
  1. package/README.md +6 -5
  2. package/dist/chunks/AgentTool-0.7.6-02vh9vk8.mjs +1 -0
  3. package/dist/chunks/App-0.7.6-6rm9fw7h.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.7.6-3ds3vmhq.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.7.6-tdwszj02.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.7.6-5axvmtp3.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.7.6-014qynp3.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.7.6-92nz3x2x.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.7.6-4303tcnm.mjs +7 -0
  11. package/dist/chunks/Doctor-0.7.6-084ce5s2.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-0.7.6-vp1m6ffx.mjs +6 -0
  13. package/dist/chunks/Grove-0.7.6-1d3f84xj.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.7.6-wdyeyjcs.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-0.7.6-j0gs8ee7.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.7.6-5gtntvxr.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.7.6-jqrhx95e.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.7.6-18f6pde2.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.7.6-2q5s7q6j.mjs +1 -0
  20. package/dist/chunks/REPL-0.7.6-ayp94stx.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.7.6-zgn8p1b4.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-0.7.6-apn9hx86.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-0.7.6-1mvkc8e6.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.7.6-74t499kc.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.7.6-aj7acqex.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.7.6-werejha1.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.7.6-n01pcadg.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.7.6-bsjh0666.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.7.6-eqwet2j4.mjs +1 -0
  30. package/dist/chunks/add-dir-0.7.6-8rvjxj57.mjs +1 -0
  31. package/dist/chunks/agentTypes-0.7.6-49zjnpvv.mjs +1 -0
  32. package/dist/chunks/agents-0.7.6-f2wq0zdm.mjs +3 -0
  33. package/dist/chunks/agents-0.7.6-n608c3qr.mjs +110 -0
  34. package/dist/chunks/api-0.7.6-f2fsvxyj.mjs +1 -0
  35. package/dist/chunks/asciicast-0.7.6-fv6ypvrh.mjs +1 -0
  36. package/dist/chunks/assistant-0.7.6-3d939v1n.mjs +1 -0
  37. package/dist/chunks/auth-0.7.6-e9ggcrw2.mjs +1 -0
  38. package/dist/chunks/auth-0.7.6-vprbhg4e.mjs +1 -0
  39. package/dist/chunks/autoMode-0.7.6-p12j05a6.mjs +48 -0
  40. package/dist/chunks/autoUpdater-0.7.6-nrc4g1jz.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-0.7.6-rb8ftxsa.mjs +1 -0
  42. package/dist/chunks/branch-0.7.6-05rh36he.mjs +4 -0
  43. package/dist/chunks/bridge-0.7.6-wddny37r.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-0.7.6-b5h1a634.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-0.7.6-0fhtxtzs.mjs +1 -0
  46. package/dist/chunks/bridgeMain-0.7.6-nj17223b.mjs +88 -0
  47. package/dist/chunks/bridgePointer-0.7.6-f0qs1e6e.mjs +1 -0
  48. package/dist/chunks/btw-0.7.6-cjm6v0b9.mjs +1 -0
  49. package/dist/chunks/buddy-0.7.6-1j68vknm.mjs +3 -0
  50. package/dist/chunks/cacache-0.7.6-3mr30mas.mjs +1 -0
  51. package/dist/chunks/cache-probe-0.7.6-e8g8d94t.mjs +21 -0
  52. package/dist/chunks/cacheStats-0.7.6-4x5zqxyf.mjs +4 -0
  53. package/dist/chunks/caches-0.7.6-fpr85z6h.mjs +1 -0
  54. package/dist/chunks/claudeDesktop-0.7.6-hh4vstgr.mjs +1 -0
  55. package/dist/chunks/claudemd-0.7.6-fqehvs8g.mjs +1 -0
  56. package/dist/chunks/clear-0.7.6-h2vf452p.mjs +1 -0
  57. package/dist/chunks/clearTerminal-0.7.6-qscrqy5p.mjs +1 -0
  58. package/dist/chunks/cli-0.7.6-010st6wr.mjs +2 -0
  59. package/dist/chunks/cli-0.7.6-07eesex8.mjs +2 -0
  60. package/dist/chunks/cli-0.7.6-09hcxer2.mjs +2 -0
  61. package/dist/chunks/cli-0.7.6-0b47jy2g.mjs +2 -0
  62. package/dist/chunks/cli-0.7.6-0ekx5n2q.mjs +4 -0
  63. package/dist/chunks/cli-0.7.6-0gzsv22g.mjs +2 -0
  64. package/dist/chunks/cli-0.7.6-0h46deez.mjs +2 -0
  65. package/dist/chunks/cli-0.7.6-0mgbtp8x.mjs +6 -0
  66. package/dist/chunks/cli-0.7.6-0n7tfcxz.mjs +4 -0
  67. package/dist/chunks/cli-0.7.6-0tt8ccr8.mjs +2 -0
  68. package/dist/chunks/cli-0.7.6-0wr25ecz.mjs +2 -0
  69. package/dist/chunks/cli-0.7.6-1bfz5qa5.mjs +2 -0
  70. package/dist/chunks/cli-0.7.6-1bvzdjfc.mjs +2 -0
  71. package/dist/chunks/cli-0.7.6-1dqh462b.mjs +2 -0
  72. package/dist/chunks/cli-0.7.6-1j4p4cz3.mjs +2 -0
  73. package/dist/chunks/cli-0.7.6-1s1nbm58.mjs +2 -0
  74. package/dist/chunks/cli-0.7.6-1v73pjt7.mjs +2 -0
  75. package/dist/chunks/cli-0.7.6-1yn63f2j.mjs +2 -0
  76. package/dist/chunks/cli-0.7.6-29snre4z.mjs +2 -0
  77. package/dist/chunks/cli-0.7.6-2ff9pq9s.mjs +3 -0
  78. package/dist/chunks/cli-0.7.6-2kjdfns9.mjs +6 -0
  79. package/dist/chunks/cli-0.7.6-2nmq534s.mjs +26 -0
  80. package/dist/chunks/cli-0.7.6-2qwpkx4w.mjs +12 -0
  81. package/dist/chunks/cli-0.7.6-2rwpq77s.mjs +2 -0
  82. package/dist/chunks/cli-0.7.6-310844c3.mjs +4 -0
  83. package/dist/chunks/cli-0.7.6-39q0e172.mjs +2 -0
  84. package/dist/chunks/cli-0.7.6-3vqf88sk.mjs +2 -0
  85. package/dist/chunks/cli-0.7.6-43kp2p25.mjs +2 -0
  86. package/dist/chunks/cli-0.7.6-471rvdw2.mjs +2 -0
  87. package/dist/chunks/cli-0.7.6-4e2e6mkj.mjs +3 -0
  88. package/dist/chunks/cli-0.7.6-4eaywsgw.mjs +2 -0
  89. package/dist/chunks/cli-0.7.6-4q91n1nr.mjs +2 -0
  90. package/dist/chunks/cli-0.7.6-4v3f036y.mjs +2 -0
  91. package/dist/chunks/cli-0.7.6-4ybzx76m.mjs +2 -0
  92. package/dist/chunks/cli-0.7.6-4z1q2wge.mjs +2 -0
  93. package/dist/chunks/cli-0.7.6-517m3gcx.mjs +2 -0
  94. package/dist/chunks/cli-0.7.6-56h0kfkw.mjs +59 -0
  95. package/dist/chunks/cli-0.7.6-5dk57g7k.mjs +2 -0
  96. package/dist/chunks/cli-0.7.6-5ktehyvf.mjs +2 -0
  97. package/dist/chunks/cli-0.7.6-5qabm4xe.mjs +2 -0
  98. package/dist/chunks/cli-0.7.6-5vj0s5hg.mjs +5 -0
  99. package/dist/chunks/cli-0.7.6-5wj27v22.mjs +18 -0
  100. package/dist/chunks/cli-0.7.6-5ynmp8av.mjs +2 -0
  101. package/dist/chunks/cli-0.7.6-62ea895q.mjs +2 -0
  102. package/dist/chunks/cli-0.7.6-67tqckbs.mjs +133 -0
  103. package/dist/chunks/cli-0.7.6-69b0cq0a.mjs +4 -0
  104. package/dist/chunks/cli-0.7.6-69hzrwk9.mjs +2 -0
  105. package/dist/chunks/cli-0.7.6-73gkdy2f.mjs +2 -0
  106. package/dist/chunks/cli-0.7.6-73h798cq.mjs +2 -0
  107. package/dist/chunks/cli-0.7.6-7g2b4q32.mjs +2 -0
  108. package/dist/chunks/cli-0.7.6-7ktebmzc.mjs +2 -0
  109. package/dist/chunks/cli-0.7.6-7mzraehr.mjs +16 -0
  110. package/dist/chunks/cli-0.7.6-7szsqp12.mjs +2 -0
  111. package/dist/chunks/cli-0.7.6-7ybdp9j0.mjs +3 -0
  112. package/dist/chunks/cli-0.7.6-7yce2cw8.mjs +2 -0
  113. package/dist/chunks/cli-0.7.6-8g9rtj1f.mjs +2 -0
  114. package/dist/chunks/cli-0.7.6-8h5rwm21.mjs +2 -0
  115. package/dist/chunks/cli-0.7.6-8k508w7p.mjs +2 -0
  116. package/dist/chunks/cli-0.7.6-8srvcg12.mjs +2 -0
  117. package/dist/chunks/cli-0.7.6-8vdxmbjt.mjs +2 -0
  118. package/dist/chunks/cli-0.7.6-8vftkjgf.mjs +2 -0
  119. package/dist/chunks/cli-0.7.6-8wv8rjqd.mjs +2 -0
  120. package/dist/chunks/cli-0.7.6-9508tj8e.mjs +17 -0
  121. package/dist/chunks/cli-0.7.6-96qqpq0c.mjs +2 -0
  122. package/dist/chunks/cli-0.7.6-9a706kh3.mjs +2 -0
  123. package/dist/chunks/cli-0.7.6-9w6egknj.mjs +8 -0
  124. package/dist/chunks/cli-0.7.6-ajv6cevv.mjs +4 -0
  125. package/dist/chunks/cli-0.7.6-am0sf3er.mjs +2 -0
  126. package/dist/chunks/cli-0.7.6-ama4wyv2.mjs +12 -0
  127. package/dist/chunks/cli-0.7.6-ayd8297m.mjs +3 -0
  128. package/dist/chunks/cli-0.7.6-azjnjp5p.mjs +2 -0
  129. package/dist/chunks/cli-0.7.6-b39v6rz1.mjs +2 -0
  130. package/dist/chunks/cli-0.7.6-bbmxy27v.mjs +2 -0
  131. package/dist/chunks/cli-0.7.6-berqrfpz.mjs +2 -0
  132. package/dist/chunks/cli-0.7.6-bese1aqp.mjs +2 -0
  133. package/dist/chunks/cli-0.7.6-bfwq4dm5.mjs +2 -0
  134. package/dist/chunks/cli-0.7.6-c3npkenn.mjs +1 -0
  135. package/dist/chunks/cli-0.7.6-ccbtfaqn.mjs +2 -0
  136. package/dist/chunks/cli-0.7.6-ccy8mp4f.mjs +2 -0
  137. package/dist/chunks/cli-0.7.6-cedrx1f7.mjs +2 -0
  138. package/dist/chunks/cli-0.7.6-chcjfb2p.mjs +2 -0
  139. package/dist/chunks/cli-0.7.6-cmxr1gyd.mjs +3 -0
  140. package/dist/chunks/cli-0.7.6-cq95q0m7.mjs +2 -0
  141. package/dist/chunks/cli-0.7.6-cxchkx7a.mjs +18 -0
  142. package/dist/chunks/cli-0.7.6-d4rmetja.mjs +2 -0
  143. package/dist/chunks/cli-0.7.6-d5nss1kz.mjs +2 -0
  144. package/dist/chunks/cli-0.7.6-d8hz302t.mjs +2 -0
  145. package/dist/chunks/cli-0.7.6-dd5tgszn.mjs +4 -0
  146. package/dist/chunks/cli-0.7.6-dfkaq7z7.mjs +2 -0
  147. package/dist/chunks/cli-0.7.6-dhp0vn09.mjs +4 -0
  148. package/dist/chunks/cli-0.7.6-dpfh7ypk.mjs +2 -0
  149. package/dist/chunks/cli-0.7.6-dq87daze.mjs +2 -0
  150. package/dist/chunks/cli-0.7.6-dynrpsf9.mjs +10 -0
  151. package/dist/chunks/cli-0.7.6-e01s0kjn.mjs +2 -0
  152. package/dist/chunks/cli-0.7.6-e3dwvde8.mjs +58 -0
  153. package/dist/chunks/cli-0.7.6-edjsszs3.mjs +12 -0
  154. package/dist/chunks/cli-0.7.6-ehkh8f7m.mjs +2 -0
  155. package/dist/chunks/cli-0.7.6-ejjekwys.mjs +2 -0
  156. package/dist/chunks/cli-0.7.6-ejk8n0sg.mjs +2 -0
  157. package/dist/chunks/cli-0.7.6-ek2a439r.mjs +2 -0
  158. package/dist/chunks/cli-0.7.6-ex7sezdt.mjs +2 -0
  159. package/dist/chunks/cli-0.7.6-f4nmb6r2.mjs +3 -0
  160. package/dist/chunks/cli-0.7.6-f9mzvngv.mjs +2 -0
  161. package/dist/chunks/cli-0.7.6-ffk5hz3x.mjs +2 -0
  162. package/dist/chunks/cli-0.7.6-fkshg1fg.mjs +2 -0
  163. package/dist/chunks/cli-0.7.6-fmmr53nv.mjs +2 -0
  164. package/dist/chunks/cli-0.7.6-fn56g2cc.mjs +199 -0
  165. package/dist/chunks/cli-0.7.6-frf6ynaj.mjs +2 -0
  166. package/dist/chunks/cli-0.7.6-ftdrd7jk.mjs +17 -0
  167. package/dist/chunks/cli-0.7.6-fvydk0w1.mjs +2 -0
  168. package/dist/chunks/cli-0.7.6-g1gd1372.mjs +5 -0
  169. package/dist/chunks/cli-0.7.6-g2437s1w.mjs +2 -0
  170. package/dist/chunks/cli-0.7.6-g44g34fb.mjs +2 -0
  171. package/dist/chunks/cli-0.7.6-g5cva69z.mjs +2 -0
  172. package/dist/chunks/cli-0.7.6-g736y207.mjs +39 -0
  173. package/dist/chunks/cli-0.7.6-g802sp0p.mjs +2 -0
  174. package/dist/chunks/cli-0.7.6-gkd2v7ek.mjs +45 -0
  175. package/dist/chunks/cli-0.7.6-gxbeg3ny.mjs +3 -0
  176. package/dist/chunks/cli-0.7.6-hrw7nyyq.mjs +2 -0
  177. package/dist/chunks/cli-0.7.6-hsa9j8sb.mjs +2 -0
  178. package/dist/chunks/cli-0.7.6-hsm2w1qr.mjs +2 -0
  179. package/dist/chunks/cli-0.7.6-hw3n6j75.mjs +9 -0
  180. package/dist/chunks/cli-0.7.6-j59ty8yt.mjs +15 -0
  181. package/dist/chunks/cli-0.7.6-j63vtmfa.mjs +2 -0
  182. package/dist/chunks/cli-0.7.6-j9p952mf.mjs +2 -0
  183. package/dist/chunks/cli-0.7.6-jjmm4f40.mjs +2 -0
  184. package/dist/chunks/cli-0.7.6-jmpc9xmj.mjs +6 -0
  185. package/dist/chunks/cli-0.7.6-jpjn976y.mjs +2 -0
  186. package/dist/chunks/cli-0.7.6-jtdgswpn.mjs +2 -0
  187. package/dist/chunks/cli-0.7.6-jwqgj667.mjs +2 -0
  188. package/dist/chunks/cli-0.7.6-jzk3fxqa.mjs +3 -0
  189. package/dist/chunks/cli-0.7.6-k1tjb02q.mjs +4 -0
  190. package/dist/chunks/cli-0.7.6-k5r0yz41.mjs +67 -0
  191. package/dist/chunks/cli-0.7.6-k7fsgwdr.mjs +2 -0
  192. package/dist/chunks/cli-0.7.6-m51wgngt.mjs +2 -0
  193. package/dist/chunks/cli-0.7.6-md1ramb7.mjs +2 -0
  194. package/dist/chunks/cli-0.7.6-md31wz8f.mjs +2 -0
  195. package/dist/chunks/cli-0.7.6-md4x57wd.mjs +2 -0
  196. package/dist/chunks/cli-0.7.6-n6qsqdjv.mjs +2 -0
  197. package/dist/chunks/cli-0.7.6-ngmxmw82.mjs +2 -0
  198. package/dist/chunks/cli-0.7.6-ngsbbrk7.mjs +3 -0
  199. package/dist/chunks/cli-0.7.6-nxxj5qzs.mjs +2 -0
  200. package/dist/chunks/cli-0.7.6-p2268sge.mjs +2 -0
  201. package/dist/chunks/cli-0.7.6-pasrzvza.mjs +2 -0
  202. package/dist/chunks/cli-0.7.6-pbzty9n9.mjs +2 -0
  203. package/dist/chunks/cli-0.7.6-pwvs4p1w.mjs +3 -0
  204. package/dist/chunks/cli-0.7.6-pzk668w8.mjs +2 -0
  205. package/dist/chunks/cli-0.7.6-qan5xxdc.mjs +5471 -0
  206. package/dist/chunks/cli-0.7.6-qeq5tx23.mjs +6 -0
  207. package/dist/chunks/cli-0.7.6-qkcrt37c.mjs +2 -0
  208. package/dist/chunks/cli-0.7.6-qyk1jtmh.mjs +2 -0
  209. package/dist/chunks/cli-0.7.6-r6nhsg12.mjs +2 -0
  210. package/dist/chunks/cli-0.7.6-r78s2g03.mjs +18 -0
  211. package/dist/chunks/cli-0.7.6-r9dxvg8q.mjs +5 -0
  212. package/dist/chunks/cli-0.7.6-rp0xgr6t.mjs +2 -0
  213. package/dist/chunks/cli-0.7.6-rs07s8yh.mjs +2 -0
  214. package/dist/chunks/cli-0.7.6-rzhf46t3.mjs +2 -0
  215. package/dist/chunks/cli-0.7.6-s0jpd03j.mjs +2 -0
  216. package/dist/chunks/cli-0.7.6-s3kvpq11.mjs +24 -0
  217. package/dist/chunks/cli-0.7.6-se7x2a1f.mjs +7 -0
  218. package/dist/chunks/cli-0.7.6-sjbap7zg.mjs +2 -0
  219. package/dist/chunks/cli-0.7.6-svqwyxab.mjs +42 -0
  220. package/dist/chunks/cli-0.7.6-sznceb3v.mjs +2 -0
  221. package/dist/chunks/cli-0.7.6-t224fm0b.mjs +2 -0
  222. package/dist/chunks/cli-0.7.6-t3wkyhpb.mjs +2 -0
  223. package/dist/chunks/cli-0.7.6-tnxct9wp.mjs +2 -0
  224. package/dist/chunks/cli-0.7.6-tp1mp7kg.mjs +2 -0
  225. package/dist/chunks/cli-0.7.6-tp4xkdj6.mjs +2 -0
  226. package/dist/chunks/cli-0.7.6-v3rjsfcr.mjs +2 -0
  227. package/dist/chunks/cli-0.7.6-vhan81qg.mjs +2 -0
  228. package/dist/chunks/cli-0.7.6-vhn7sz5q.mjs +2 -0
  229. package/dist/chunks/cli-0.7.6-vrcja2t1.mjs +2 -0
  230. package/dist/chunks/cli-0.7.6-w4bq1f08.mjs +4 -0
  231. package/dist/chunks/cli-0.7.6-w5smxper.mjs +2 -0
  232. package/dist/chunks/cli-0.7.6-w65xvz9z.mjs +2 -0
  233. package/dist/chunks/cli-0.7.6-w66170ej.mjs +2 -0
  234. package/dist/chunks/cli-0.7.6-w7k9x0kq.mjs +3 -0
  235. package/dist/chunks/cli-0.7.6-wch5kwc6.mjs +3 -0
  236. package/dist/chunks/cli-0.7.6-wepz3cym.mjs +4 -0
  237. package/dist/chunks/cli-0.7.6-wmhr2zkd.mjs +2 -0
  238. package/dist/chunks/cli-0.7.6-wmk10em6.mjs +2 -0
  239. package/dist/chunks/cli-0.7.6-wthbw2r0.mjs +2 -0
  240. package/dist/chunks/cli-0.7.6-wz34s2yk.mjs +2 -0
  241. package/dist/chunks/cli-0.7.6-wz5w8hmh.mjs +2 -0
  242. package/dist/chunks/cli-0.7.6-xczzrd9d.mjs +34 -0
  243. package/dist/chunks/cli-0.7.6-xfap6qa6.mjs +20 -0
  244. package/dist/chunks/cli-0.7.6-xg6ka3pp.mjs +2 -0
  245. package/dist/chunks/cli-0.7.6-xjemjs4e.mjs +25 -0
  246. package/dist/chunks/cli-0.7.6-xkmg4sc9.mjs +2 -0
  247. package/dist/chunks/cli-0.7.6-xky4ty14.mjs +2 -0
  248. package/dist/chunks/cli-0.7.6-xtjps7gq.mjs +2 -0
  249. package/dist/chunks/cli-0.7.6-xyx40s83.mjs +21 -0
  250. package/dist/chunks/cli-0.7.6-y36b0e0y.mjs +24 -0
  251. package/dist/chunks/cli-0.7.6-y3a6zp1r.mjs +2 -0
  252. package/dist/chunks/cli-0.7.6-y7bdxnmf.mjs +133 -0
  253. package/dist/chunks/cli-0.7.6-y8ga5pny.mjs +15 -0
  254. package/dist/chunks/cli-0.7.6-ye7kz4cr.mjs +24 -0
  255. package/dist/chunks/cli-0.7.6-ymhtbnyk.mjs +2 -0
  256. package/dist/chunks/cli-0.7.6-yv3stfxm.mjs +12 -0
  257. package/dist/chunks/cli-0.7.6-ywg6e349.mjs +25 -0
  258. package/dist/chunks/cli-0.7.6-z13va0jc.mjs +2 -0
  259. package/dist/chunks/cli-0.7.6-z4k83sx6.mjs +2 -0
  260. package/dist/chunks/cli-0.7.6-z5zw7sdz.mjs +3 -0
  261. package/dist/chunks/cli-0.7.6-zepjez10.mjs +50 -0
  262. package/dist/chunks/cli-0.7.6-zmkr521v.mjs +15 -0
  263. package/dist/chunks/cli-0.7.6-zrjrmccd.mjs +2 -0
  264. package/dist/chunks/cli-0.7.6-zrwpmp3s.mjs +2 -0
  265. package/dist/chunks/client-0.7.6-s5r00qzn.mjs +1 -0
  266. package/dist/chunks/color-0.7.6-c5m7hk8y.mjs +1 -0
  267. package/dist/chunks/compact-0.7.6-dx4c91sb.mjs +3 -0
  268. package/dist/chunks/config-0.7.6-0wrs7d25.mjs +1 -0
  269. package/dist/chunks/config-0.7.6-28k8xgy7.mjs +1 -0
  270. package/dist/chunks/constants-0.7.6-yxc2ccra.mjs +1 -0
  271. package/dist/chunks/context-0.7.6-efvp1txb.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-0.7.6-8bp73hyq.mjs +1 -0
  273. package/dist/chunks/conversation-0.7.6-cqwzbr0d.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-0.7.6-qm7k7b4w.mjs +1 -0
  275. package/dist/chunks/copy-0.7.6-tb3stmba.mjs +9 -0
  276. package/dist/chunks/cost-0.7.6-t2pss4xp.mjs +1 -0
  277. package/dist/chunks/createSSHSession-0.7.6-gxjfefp4.mjs +1 -0
  278. package/dist/chunks/createSession-0.7.6-s5cd1p2c.mjs +1 -0
  279. package/dist/chunks/debug-0.7.6-29wym0xr.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-0.7.6-1thsnj41.mjs +1446 -0
  281. package/dist/chunks/desktop-0.7.6-jb15m9tp.mjs +1 -0
  282. package/dist/chunks/detectRepository-0.7.6-0cp7fygx.mjs +1 -0
  283. package/dist/chunks/detection-0.7.6-rg544p2p.mjs +1 -0
  284. package/dist/chunks/diff-0.7.6-53gzzxnd.mjs +1 -0
  285. package/dist/chunks/doctor-0.7.6-95kk3h2p.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-0.7.6-ybe5naeq.mjs +1 -0
  287. package/dist/chunks/earlyInput-0.7.6-2frqt87k.mjs +1 -0
  288. package/dist/chunks/effort-0.7.6-3hhjz5rt.mjs +10 -0
  289. package/dist/chunks/engine-0.7.6-r4hy6gpj.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-0.7.6-6gxkp63s.mjs +1 -0
  291. package/dist/chunks/envUtils-0.7.6-70jnybbw.mjs +1 -0
  292. package/dist/chunks/environmentSelection-0.7.6-mtg8g15a.mjs +1 -0
  293. package/dist/chunks/environments-0.7.6-4vj956d6.mjs +1 -0
  294. package/dist/chunks/errors-0.7.6-3rfme91e.mjs +1 -0
  295. package/dist/chunks/exampleCommands-0.7.6-3rwnb01j.mjs +1 -0
  296. package/dist/chunks/exit-0.7.6-1zq90j34.mjs +1 -0
  297. package/dist/chunks/explorer-0.7.6-7yxdvz4c.mjs +1 -0
  298. package/dist/chunks/export-0.7.6-6annregx.mjs +2 -0
  299. package/dist/chunks/extra-usage-0.7.6-1d8afeer.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-0.7.6-yv74b9va.mjs +1 -0
  301. package/dist/chunks/fast-0.7.6-83xw5a4z.mjs +1 -0
  302. package/dist/chunks/feedback-0.7.6-r3gmhtzb.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-0.7.6-sxwwnk4h.mjs +1 -0
  304. package/dist/chunks/git-0.7.6-z2fwspdf.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-0.7.6-fe39tsv6.mjs +1 -0
  306. package/dist/chunks/goal-0.7.6-ejhqdg3h.mjs +4 -0
  307. package/dist/chunks/grove-0.7.6-wq7pmtc4.mjs +1 -0
  308. package/dist/chunks/growthbook-0.7.6-268c3zv1.mjs +1 -0
  309. package/dist/chunks/headless-0.7.6-0624t1g9.mjs +2 -0
  310. package/dist/chunks/heapdump-0.7.6-0h7m92s6.mjs +6 -0
  311. package/dist/chunks/help-0.7.6-cgg68b97.mjs +1 -0
  312. package/dist/chunks/hookChains-0.7.6-r667d77r.mjs +3 -0
  313. package/dist/chunks/hooks-0.7.6-7tnwk63p.mjs +79 -0
  314. package/dist/chunks/hooks-0.7.6-btfaw4b9.mjs +1 -0
  315. package/dist/chunks/ide-0.7.6-fq0f5srk.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-0.7.6-2ks1h23p.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-0.7.6-femb5yew.mjs +1 -0
  318. package/dist/chunks/index-0.7.6-2rpgkwj4.mjs +9 -0
  319. package/dist/chunks/index-0.7.6-2zatk70c.mjs +1 -0
  320. package/dist/chunks/index-0.7.6-415hw608.mjs +1 -0
  321. package/dist/chunks/index-0.7.6-7wrzedvg.mjs +1 -0
  322. package/dist/chunks/index-0.7.6-98ws3n8p.mjs +1 -0
  323. package/dist/chunks/index-0.7.6-9k6nvjv8.mjs +1 -0
  324. package/dist/chunks/index-0.7.6-bbdqqv1x.mjs +1 -0
  325. package/dist/chunks/index-0.7.6-djapsy32.mjs +1 -0
  326. package/dist/chunks/index-0.7.6-efatyc79.mjs +17 -0
  327. package/dist/chunks/index-0.7.6-egyaf79a.mjs +5 -0
  328. package/dist/chunks/index-0.7.6-ew2v6b0x.mjs +1 -0
  329. package/dist/chunks/index-0.7.6-h2kqerxv.mjs +1 -0
  330. package/dist/chunks/index-0.7.6-h5xh1kf2.mjs +1 -0
  331. package/dist/chunks/index-0.7.6-jk32t8wg.mjs +1 -0
  332. package/dist/chunks/index-0.7.6-k60v4n8g.mjs +9 -0
  333. package/dist/chunks/index-0.7.6-kb22mqnf.mjs +2 -0
  334. package/dist/chunks/index-0.7.6-mj4y74z8.mjs +1 -0
  335. package/dist/chunks/index-0.7.6-pkyqwagx.mjs +1 -0
  336. package/dist/chunks/index-0.7.6-sdw9kjcj.mjs +1 -0
  337. package/dist/chunks/index-0.7.6-tc2zr05j.mjs +2 -0
  338. package/dist/chunks/index-0.7.6-tk8kmvah.mjs +1 -0
  339. package/dist/chunks/index-0.7.6-vhgb870z.mjs +1 -0
  340. package/dist/chunks/index-0.7.6-yndsc291.mjs +30 -0
  341. package/dist/chunks/init-0.7.6-w0mqjmeg.mjs +1 -0
  342. package/dist/chunks/initReplBridge-0.7.6-rf60qv0p.mjs +1 -0
  343. package/dist/chunks/ink-0.7.6-3eyfg9zt.mjs +1 -0
  344. package/dist/chunks/insights-0.7.6-7btcyfzb.mjs +870 -0
  345. package/dist/chunks/install-0.7.6-mdtm3sg3.mjs +1 -0
  346. package/dist/chunks/install-github-app-0.7.6-jvncztq4.mjs +149 -0
  347. package/dist/chunks/install-slack-app-0.7.6-yqkgptfz.mjs +1 -0
  348. package/dist/chunks/instrumentation-0.7.6-1ctp56r7.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-0.7.6-hnfccr2a.mjs +1 -0
  350. package/dist/chunks/keybindings-0.7.6-cm2a4esz.mjs +2 -0
  351. package/dist/chunks/knowledge-0.7.6-2m4hj4wv.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-0.7.6-3p0jwsk1.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-0.7.6-7n8wpd6m.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-0.7.6-668vved3.mjs +1 -0
  355. package/dist/chunks/loadPluginHooks-0.7.6-fvexrndy.mjs +1 -0
  356. package/dist/chunks/log-0.7.6-n1gwe75k.mjs +1 -0
  357. package/dist/chunks/main-0.7.6-787at8bh.mjs +1 -0
  358. package/dist/chunks/managedEnv-0.7.6-b17rcr8m.mjs +1 -0
  359. package/dist/chunks/mcp-0.7.6-a2gt46m1.mjs +4 -0
  360. package/dist/chunks/mcp-0.7.6-ehgr4hy2.mjs +1 -0
  361. package/dist/chunks/mcp-0.7.6-z5yz782z.mjs +17 -0
  362. package/dist/chunks/mcpb-0.7.6-x3w00evk.mjs +1 -0
  363. package/dist/chunks/memory-0.7.6-ce56tv6x.mjs +3 -0
  364. package/dist/chunks/model-0.7.6-10bxpdy1.mjs +2 -0
  365. package/dist/chunks/model-0.7.6-463cgk44.mjs +1 -0
  366. package/dist/chunks/node-0.7.6-yq8nb00v.mjs +12 -0
  367. package/dist/chunks/oauth-0.7.6-bbgjzwfb.mjs +1 -0
  368. package/dist/chunks/openaiShim-0.7.6-kwwv7ntf.mjs +14 -0
  369. package/dist/chunks/output-style-0.7.6-cs808te7.mjs +1 -0
  370. package/dist/chunks/package-ZZWOLTXM-0.7.6-kjjaeshn.mjs +1 -0
  371. package/dist/chunks/parseConnectUrl-0.7.6-k3n1pn17.mjs +1 -0
  372. package/dist/chunks/parser-0.7.6-eae6w23n.mjs +1 -0
  373. package/dist/chunks/passes-0.7.6-k46cf658.mjs +1 -0
  374. package/dist/chunks/permissions-0.7.6-1nws00wm.mjs +1 -0
  375. package/dist/chunks/permissions-0.7.6-jq6ebtnw.mjs +3 -0
  376. package/dist/chunks/plan-0.7.6-ry44stze.mjs +1 -0
  377. package/dist/chunks/plist-0.7.6-0vee72zr.mjs +1 -0
  378. package/dist/chunks/plugin-0.7.6-vwa3avby.mjs +29 -0
  379. package/dist/chunks/pluginStartupCheck-0.7.6-wvmq9d6r.mjs +1 -0
  380. package/dist/chunks/plugins-0.7.6-sksmmrbb.mjs +9 -0
  381. package/dist/chunks/preActionHook-0.7.6-qtz2v7cq.mjs +2 -0
  382. package/dist/chunks/print-0.7.6-qddcs91f.mjs +57 -0
  383. package/dist/chunks/privacy-settings-0.7.6-5gzw6mn1.mjs +1 -0
  384. package/dist/chunks/process-0.7.6-6b1s37w1.mjs +1 -0
  385. package/dist/chunks/processBashCommand-0.7.6-yb92143k.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-0.7.6-bc9jxvge.mjs +9 -0
  387. package/dist/chunks/prompt-0.7.6-sps6z4za.mjs +1 -0
  388. package/dist/chunks/prompt-0.7.6-t8yabss3.mjs +1 -0
  389. package/dist/chunks/prompts-0.7.6-x3ndp7gh.mjs +1 -0
  390. package/dist/chunks/protocolHandler-0.7.6-m1pgssvd.mjs +13 -0
  391. package/dist/chunks/provider-0.7.6-yxmt6yve.mjs +2 -0
  392. package/dist/chunks/providerProfiles-0.7.6-3027t9pt.mjs +1 -0
  393. package/dist/chunks/providerValidation-0.7.6-vpv75gd1.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-0.7.6-6w5cdwx1.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-0.7.6-vz4yvks2.mjs +34 -0
  396. package/dist/chunks/registry-0.7.6-gat54dy3.mjs +1 -0
  397. package/dist/chunks/release-notes-0.7.6-myz4h7d7.mjs +5 -0
  398. package/dist/chunks/reload-plugins-0.7.6-64w73d8b.mjs +2 -0
  399. package/dist/chunks/remote-env-0.7.6-zz9a22zn.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-0.7.6-9mnzebzz.mjs +1 -0
  401. package/dist/chunks/remoteSession-0.7.6-0geea7cr.mjs +1 -0
  402. package/dist/chunks/rename-0.7.6-y40kz5p4.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-0.7.6-9q86nfkb.mjs +1 -0
  404. package/dist/chunks/replLauncher-0.7.6-appht20k.mjs +1 -0
  405. package/dist/chunks/resume-0.7.6-za9pttkz.mjs +2 -0
  406. package/dist/chunks/rewind-0.7.6-23eb1s5k.mjs +1 -0
  407. package/dist/chunks/rootOptions-0.7.6-89a7srwx.mjs +1 -0
  408. package/dist/chunks/sandbox-adapter-0.7.6-zxpg8tbn.mjs +1 -0
  409. package/dist/chunks/sandbox-toggle-0.7.6-12ddnvsb.mjs +1 -0
  410. package/dist/chunks/session-0.7.6-qtvc9q8w.mjs +2 -0
  411. package/dist/chunks/sessionDiscovery-0.7.6-d2h1v026.mjs +1 -0
  412. package/dist/chunks/sessionFileAccessHooks-0.7.6-j8rejm9s.mjs +1 -0
  413. package/dist/chunks/sessionStorage-0.7.6-whqhsy0v.mjs +1 -0
  414. package/dist/chunks/settings-0.7.6-d1x6h71y.mjs +1 -0
  415. package/dist/chunks/setup-0.7.6-f52y5q94.mjs +5 -0
  416. package/dist/chunks/sinks-0.7.6-p38qk6rn.mjs +1 -0
  417. package/dist/chunks/skills-0.7.6-4x49mjqs.mjs +1 -0
  418. package/dist/chunks/startupProfiler-0.7.6-kehr3zds.mjs +1 -0
  419. package/dist/chunks/startupUpdateCheck-0.7.6-m95yf5v2.mjs +1 -0
  420. package/dist/chunks/state-0.7.6-exkbe4vf.mjs +1 -0
  421. package/dist/chunks/stats-0.7.6-y4qxdfqk.mjs +6 -0
  422. package/dist/chunks/status-0.7.6-etkntf2w.mjs +1 -0
  423. package/dist/chunks/stickers-0.7.6-jfaby3j3.mjs +1 -0
  424. package/dist/chunks/subprocessEnv-0.7.6-2bme852w.mjs +1 -0
  425. package/dist/chunks/tasks-0.7.6-vc8j66yr.mjs +1 -0
  426. package/dist/chunks/teamHelpers-0.7.6-ax1nev6h.mjs +1 -0
  427. package/dist/chunks/teammateModeSnapshot-0.7.6-9tjnw4x3.mjs +1 -0
  428. package/dist/chunks/teleport-0.7.6-xjeqw992.mjs +1 -0
  429. package/dist/chunks/terminalSetup-0.7.6-cx56kmpg.mjs +1 -0
  430. package/dist/chunks/theme-0.7.6-artxd1km.mjs +1 -0
  431. package/dist/chunks/thinkback-0.7.6-ar7ssxsq.mjs +1 -0
  432. package/dist/chunks/thinkback-play-0.7.6-7d5g791f.mjs +1 -0
  433. package/dist/chunks/toolPool-0.7.6-58r85xft.mjs +1 -0
  434. package/dist/chunks/toolSearch-0.7.6-29hekpkv.mjs +1 -0
  435. package/dist/chunks/tools-0.7.6-6bhsctcm.mjs +1 -0
  436. package/dist/chunks/trustedDevice-0.7.6-aay0bw3y.mjs +1 -0
  437. package/dist/chunks/turndown.cjs-0.7.6-cfbcqt7b.mjs +69 -0
  438. package/dist/chunks/types-0.7.6-z2j2wxhd.mjs +1 -0
  439. package/dist/chunks/ultrareviewCommand-0.7.6-7w7yx7mv.mjs +4 -0
  440. package/dist/chunks/update-0.7.6-6s5hvmvc.mjs +86 -0
  441. package/dist/chunks/upgrade-0.7.6-nrvaa7qs.mjs +1 -0
  442. package/dist/chunks/upload-0.7.6-6880h5gd.mjs +7 -0
  443. package/dist/chunks/upstreamproxy-0.7.6-d4xfvwf7.mjs +14 -0
  444. package/dist/chunks/url-handler-napi-0.7.6-hcyxzqg6.mjs +1 -0
  445. package/dist/chunks/usage-0.7.6-vbbt70v9.mjs +1 -0
  446. package/dist/chunks/util-0.7.6-0cm7xj78.mjs +1 -0
  447. package/dist/chunks/utils-0.7.6-h3fwyhxw.mjs +1 -0
  448. package/dist/chunks/vim-0.7.6-k6evwpd5.mjs +1 -0
  449. package/dist/chunks/watcher-0.7.6-gc6rbcvg.mjs +1 -0
  450. package/dist/chunks/wiki-0.7.6-3sjbdwmf.mjs +132 -0
  451. package/dist/chunks/workflows-0.7.6-rg3kvwhe.mjs +1 -0
  452. package/dist/chunks/worktree-0.7.6-hhewj19d.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-0.7.6-a27ekdvp.mjs +1 -0
  454. package/dist/chunks/wrapper-0.7.6-01s6r78y.mjs +7 -0
  455. package/dist/claudin-vscode.vsix +0 -0
  456. package/dist/cli.mjs +2 -2
  457. package/package.json +7 -15
  458. package/dist/chunks/AgentTool-0.7.4-n3w81nr0.mjs +0 -1
  459. package/dist/chunks/App-0.7.4-f82nhj4b.mjs +0 -1
  460. package/dist/chunks/ApproveApiKey-0.7.4-27gdpx41.mjs +0 -1
  461. package/dist/chunks/AssistantSessionChooser-0.7.4-dfwr2199.mjs +0 -1
  462. package/dist/chunks/AutoModeOptInDialog-0.7.4-y9fxqce2.mjs +0 -1
  463. package/dist/chunks/BypassPermissionsModeDialog-0.7.4-vqmkfdv5.mjs +0 -1
  464. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.4-yya4exxc.mjs +0 -1
  465. package/dist/chunks/ConsoleOAuthFlow-0.7.4-pkmm3hrc.mjs +0 -1
  466. package/dist/chunks/DiffDialog-0.7.4-c524vxrv.mjs +0 -7
  467. package/dist/chunks/Doctor-0.7.4-pa6ms0qn.mjs +0 -1
  468. package/dist/chunks/ExplorerDialog-0.7.4-bmp67p2b.mjs +0 -6
  469. package/dist/chunks/Grove-0.7.4-9acw1m3r.mjs +0 -1
  470. package/dist/chunks/ITermBackend-0.7.4-dy75k5qx.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-0.7.4-8ra8bj22.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-0.7.4-n4h644pz.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-0.7.4-cnays88h.mjs +0 -1
  474. package/dist/chunks/Onboarding-0.7.4-fqvxpdtd.mjs +0 -1
  475. package/dist/chunks/ProviderManager-0.7.4-e21vv07m.mjs +0 -1
  476. package/dist/chunks/REPL-0.7.4-n38hda18.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-0.7.4-f3xp8e01.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-0.7.4-39wyejgx.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-0.7.4-6373v72h.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-0.7.4-y6km4665.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-0.7.4-wh96svjn.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-0.7.4-grwq5d7n.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-0.7.4-k0kt2bxp.mjs +0 -1
  484. package/dist/chunks/TrustDialog-0.7.4-xhgj5jat.mjs +0 -1
  485. package/dist/chunks/activeProvider-0.7.4-vzfmpvjc.mjs +0 -1
  486. package/dist/chunks/add-dir-0.7.4-mfwwzt70.mjs +0 -1
  487. package/dist/chunks/agentTypes-0.7.4-9fgk10yx.mjs +0 -1
  488. package/dist/chunks/agents-0.7.4-9fxas1pf.mjs +0 -110
  489. package/dist/chunks/agents-0.7.4-eart70kj.mjs +0 -3
  490. package/dist/chunks/api-0.7.4-eqsmhts7.mjs +0 -1
  491. package/dist/chunks/asciicast-0.7.4-900ptry2.mjs +0 -1
  492. package/dist/chunks/assistant-0.7.4-qp02hgvg.mjs +0 -1
  493. package/dist/chunks/auth-0.7.4-ccf1t8td.mjs +0 -1
  494. package/dist/chunks/auth-0.7.4-tzph01c0.mjs +0 -1
  495. package/dist/chunks/autoMode-0.7.4-5m9bs574.mjs +0 -48
  496. package/dist/chunks/autoUpdater-0.7.4-s4krk2je.mjs +0 -1
  497. package/dist/chunks/backgroundHousekeeping-0.7.4-zqytsqmx.mjs +0 -1
  498. package/dist/chunks/branch-0.7.4-29eypmvg.mjs +0 -4
  499. package/dist/chunks/bridge-0.7.4-45nq3nxm.mjs +0 -2
  500. package/dist/chunks/bridgeConfig-0.7.4-fb2nwbxq.mjs +0 -1
  501. package/dist/chunks/bridgeEnabled-0.7.4-rreg4xyn.mjs +0 -1
  502. package/dist/chunks/bridgeMain-0.7.4-m4rjydb5.mjs +0 -88
  503. package/dist/chunks/bridgePointer-0.7.4-mjexaxq5.mjs +0 -1
  504. package/dist/chunks/btw-0.7.4-rw5186va.mjs +0 -1
  505. package/dist/chunks/buddy-0.7.4-mwgfqb1k.mjs +0 -3
  506. package/dist/chunks/cacache-0.7.4-254mqspw.mjs +0 -1
  507. package/dist/chunks/cache-probe-0.7.4-kjrs8qh8.mjs +0 -21
  508. package/dist/chunks/cacheStats-0.7.4-2pfk76t7.mjs +0 -4
  509. package/dist/chunks/caches-0.7.4-qjs93vrb.mjs +0 -1
  510. package/dist/chunks/claudeDesktop-0.7.4-e2h7mp9r.mjs +0 -1
  511. package/dist/chunks/claudemd-0.7.4-tv76d8c5.mjs +0 -1
  512. package/dist/chunks/clear-0.7.4-2qt378q0.mjs +0 -1
  513. package/dist/chunks/clearTerminal-0.7.4-5jfekabd.mjs +0 -1
  514. package/dist/chunks/cli-0.7.4-00n6rj7y.mjs +0 -3
  515. package/dist/chunks/cli-0.7.4-0a7934k3.mjs +0 -21
  516. package/dist/chunks/cli-0.7.4-0a9kv7ps.mjs +0 -2
  517. package/dist/chunks/cli-0.7.4-0c1vbfmd.mjs +0 -2
  518. package/dist/chunks/cli-0.7.4-0h9b4tge.mjs +0 -2
  519. package/dist/chunks/cli-0.7.4-0thtf513.mjs +0 -2
  520. package/dist/chunks/cli-0.7.4-0ytxwr14.mjs +0 -2
  521. package/dist/chunks/cli-0.7.4-12k33ng9.mjs +0 -2
  522. package/dist/chunks/cli-0.7.4-15xs793c.mjs +0 -2
  523. package/dist/chunks/cli-0.7.4-1ba5bwdq.mjs +0 -42
  524. package/dist/chunks/cli-0.7.4-1tkzz9x6.mjs +0 -5469
  525. package/dist/chunks/cli-0.7.4-2apswqf5.mjs +0 -59
  526. package/dist/chunks/cli-0.7.4-2fxnz89x.mjs +0 -6
  527. package/dist/chunks/cli-0.7.4-2haqz80h.mjs +0 -16
  528. package/dist/chunks/cli-0.7.4-2p5w6279.mjs +0 -45
  529. package/dist/chunks/cli-0.7.4-33k7j18b.mjs +0 -3
  530. package/dist/chunks/cli-0.7.4-3e7assg4.mjs +0 -2
  531. package/dist/chunks/cli-0.7.4-3gn2tfsb.mjs +0 -2
  532. package/dist/chunks/cli-0.7.4-40m5mk3s.mjs +0 -2
  533. package/dist/chunks/cli-0.7.4-47nyf9j2.mjs +0 -2
  534. package/dist/chunks/cli-0.7.4-489pp4nd.mjs +0 -2
  535. package/dist/chunks/cli-0.7.4-4a6hn01n.mjs +0 -133
  536. package/dist/chunks/cli-0.7.4-4br84c8j.mjs +0 -2
  537. package/dist/chunks/cli-0.7.4-4ee9swqr.mjs +0 -2
  538. package/dist/chunks/cli-0.7.4-4pagjrxs.mjs +0 -18
  539. package/dist/chunks/cli-0.7.4-4sh782tn.mjs +0 -2
  540. package/dist/chunks/cli-0.7.4-507dp6s1.mjs +0 -2
  541. package/dist/chunks/cli-0.7.4-510c371d.mjs +0 -12
  542. package/dist/chunks/cli-0.7.4-51t8p2qe.mjs +0 -2
  543. package/dist/chunks/cli-0.7.4-533hdyc8.mjs +0 -2
  544. package/dist/chunks/cli-0.7.4-53k7apn9.mjs +0 -2
  545. package/dist/chunks/cli-0.7.4-58p1wenr.mjs +0 -2
  546. package/dist/chunks/cli-0.7.4-5fjrbavz.mjs +0 -2
  547. package/dist/chunks/cli-0.7.4-5k1t5jcn.mjs +0 -2
  548. package/dist/chunks/cli-0.7.4-61etrp8x.mjs +0 -2
  549. package/dist/chunks/cli-0.7.4-61svw97d.mjs +0 -3
  550. package/dist/chunks/cli-0.7.4-6265e9tz.mjs +0 -2
  551. package/dist/chunks/cli-0.7.4-62ac47x8.mjs +0 -2
  552. package/dist/chunks/cli-0.7.4-66p94pps.mjs +0 -3
  553. package/dist/chunks/cli-0.7.4-68dbzpkf.mjs +0 -3
  554. package/dist/chunks/cli-0.7.4-6cft4ytf.mjs +0 -15
  555. package/dist/chunks/cli-0.7.4-6n295sx3.mjs +0 -2
  556. package/dist/chunks/cli-0.7.4-6sqa761d.mjs +0 -2
  557. package/dist/chunks/cli-0.7.4-6tvnyqjj.mjs +0 -2
  558. package/dist/chunks/cli-0.7.4-6zr3mpvn.mjs +0 -2
  559. package/dist/chunks/cli-0.7.4-729n63er.mjs +0 -2
  560. package/dist/chunks/cli-0.7.4-7ftm6c0s.mjs +0 -26
  561. package/dist/chunks/cli-0.7.4-7k74b1yf.mjs +0 -1
  562. package/dist/chunks/cli-0.7.4-7mzefe20.mjs +0 -2
  563. package/dist/chunks/cli-0.7.4-7t2zsdm5.mjs +0 -2
  564. package/dist/chunks/cli-0.7.4-7tr153ha.mjs +0 -2
  565. package/dist/chunks/cli-0.7.4-7wr3z77e.mjs +0 -2
  566. package/dist/chunks/cli-0.7.4-85txq06q.mjs +0 -2
  567. package/dist/chunks/cli-0.7.4-8hskaxte.mjs +0 -2
  568. package/dist/chunks/cli-0.7.4-8nss0n1a.mjs +0 -25
  569. package/dist/chunks/cli-0.7.4-8vd2zhhw.mjs +0 -2
  570. package/dist/chunks/cli-0.7.4-8wbk60h9.mjs +0 -2
  571. package/dist/chunks/cli-0.7.4-8xxafyv0.mjs +0 -18
  572. package/dist/chunks/cli-0.7.4-90d95m4d.mjs +0 -2
  573. package/dist/chunks/cli-0.7.4-9kf16ber.mjs +0 -2
  574. package/dist/chunks/cli-0.7.4-9kzgbrwj.mjs +0 -2
  575. package/dist/chunks/cli-0.7.4-9r1s7xtv.mjs +0 -6
  576. package/dist/chunks/cli-0.7.4-9vph2ayc.mjs +0 -2
  577. package/dist/chunks/cli-0.7.4-9zsty6c5.mjs +0 -2
  578. package/dist/chunks/cli-0.7.4-abs9vv3n.mjs +0 -2
  579. package/dist/chunks/cli-0.7.4-ae96heq4.mjs +0 -2
  580. package/dist/chunks/cli-0.7.4-ahm3gnaw.mjs +0 -2
  581. package/dist/chunks/cli-0.7.4-akf6rhsn.mjs +0 -4
  582. package/dist/chunks/cli-0.7.4-aswaa5m4.mjs +0 -2
  583. package/dist/chunks/cli-0.7.4-at2fkgpk.mjs +0 -2
  584. package/dist/chunks/cli-0.7.4-b5qdnvdg.mjs +0 -2
  585. package/dist/chunks/cli-0.7.4-bh4xsr2c.mjs +0 -4
  586. package/dist/chunks/cli-0.7.4-bkgx5wz7.mjs +0 -2
  587. package/dist/chunks/cli-0.7.4-bmw3qchp.mjs +0 -2
  588. package/dist/chunks/cli-0.7.4-bqk5rkrz.mjs +0 -2
  589. package/dist/chunks/cli-0.7.4-c0e99xn9.mjs +0 -24
  590. package/dist/chunks/cli-0.7.4-cfsjq69q.mjs +0 -2
  591. package/dist/chunks/cli-0.7.4-d82gqb10.mjs +0 -2
  592. package/dist/chunks/cli-0.7.4-d9y5wx3y.mjs +0 -2
  593. package/dist/chunks/cli-0.7.4-da69w12w.mjs +0 -3
  594. package/dist/chunks/cli-0.7.4-deyaxrbc.mjs +0 -2
  595. package/dist/chunks/cli-0.7.4-djbdmzgq.mjs +0 -2
  596. package/dist/chunks/cli-0.7.4-dwjhqjan.mjs +0 -2
  597. package/dist/chunks/cli-0.7.4-e2bhfh6d.mjs +0 -2
  598. package/dist/chunks/cli-0.7.4-ee9ansx1.mjs +0 -24
  599. package/dist/chunks/cli-0.7.4-eg7xj51b.mjs +0 -2
  600. package/dist/chunks/cli-0.7.4-egc286gx.mjs +0 -2
  601. package/dist/chunks/cli-0.7.4-ejm88apc.mjs +0 -2
  602. package/dist/chunks/cli-0.7.4-emdbzgja.mjs +0 -2
  603. package/dist/chunks/cli-0.7.4-en1ggcz7.mjs +0 -2
  604. package/dist/chunks/cli-0.7.4-evtmfc7t.mjs +0 -2
  605. package/dist/chunks/cli-0.7.4-f23ty9s6.mjs +0 -39
  606. package/dist/chunks/cli-0.7.4-f8qmyn41.mjs +0 -4
  607. package/dist/chunks/cli-0.7.4-fhgnbfvj.mjs +0 -2
  608. package/dist/chunks/cli-0.7.4-g9hc44qq.mjs +0 -2
  609. package/dist/chunks/cli-0.7.4-g9w5x5ns.mjs +0 -4
  610. package/dist/chunks/cli-0.7.4-ge77h9d7.mjs +0 -2
  611. package/dist/chunks/cli-0.7.4-ghq0kwkv.mjs +0 -2
  612. package/dist/chunks/cli-0.7.4-gjn70n3p.mjs +0 -2
  613. package/dist/chunks/cli-0.7.4-gr1feczd.mjs +0 -2
  614. package/dist/chunks/cli-0.7.4-gxccpbef.mjs +0 -3
  615. package/dist/chunks/cli-0.7.4-h0ze5j97.mjs +0 -2
  616. package/dist/chunks/cli-0.7.4-h24m11yy.mjs +0 -2
  617. package/dist/chunks/cli-0.7.4-h5274d0h.mjs +0 -2
  618. package/dist/chunks/cli-0.7.4-h57hq23q.mjs +0 -2
  619. package/dist/chunks/cli-0.7.4-h5wxsd2h.mjs +0 -9
  620. package/dist/chunks/cli-0.7.4-h94hrj45.mjs +0 -2
  621. package/dist/chunks/cli-0.7.4-hayqy916.mjs +0 -2
  622. package/dist/chunks/cli-0.7.4-hegk157e.mjs +0 -6
  623. package/dist/chunks/cli-0.7.4-hnfm0p8b.mjs +0 -2
  624. package/dist/chunks/cli-0.7.4-hsa9khw7.mjs +0 -17
  625. package/dist/chunks/cli-0.7.4-hvnq08bj.mjs +0 -24
  626. package/dist/chunks/cli-0.7.4-hvnzwb5v.mjs +0 -194
  627. package/dist/chunks/cli-0.7.4-hvs3h0hc.mjs +0 -3
  628. package/dist/chunks/cli-0.7.4-hw93j7vq.mjs +0 -2
  629. package/dist/chunks/cli-0.7.4-hz7s1rtn.mjs +0 -2
  630. package/dist/chunks/cli-0.7.4-jg5ajbyb.mjs +0 -2
  631. package/dist/chunks/cli-0.7.4-jgg33mak.mjs +0 -2
  632. package/dist/chunks/cli-0.7.4-jgswqtvj.mjs +0 -3
  633. package/dist/chunks/cli-0.7.4-k735e5sg.mjs +0 -133
  634. package/dist/chunks/cli-0.7.4-k7s78hkt.mjs +0 -58
  635. package/dist/chunks/cli-0.7.4-kmgvx19r.mjs +0 -5
  636. package/dist/chunks/cli-0.7.4-kmxpdkne.mjs +0 -2
  637. package/dist/chunks/cli-0.7.4-kpp23hbz.mjs +0 -2
  638. package/dist/chunks/cli-0.7.4-kz0h2jkr.mjs +0 -15
  639. package/dist/chunks/cli-0.7.4-m1f3fc2v.mjs +0 -2
  640. package/dist/chunks/cli-0.7.4-m2yz2rtr.mjs +0 -2
  641. package/dist/chunks/cli-0.7.4-m6n2gga8.mjs +0 -4
  642. package/dist/chunks/cli-0.7.4-mdv26096.mjs +0 -6
  643. package/dist/chunks/cli-0.7.4-mg4yp3b0.mjs +0 -2
  644. package/dist/chunks/cli-0.7.4-mmzkb167.mjs +0 -2
  645. package/dist/chunks/cli-0.7.4-mq3qzben.mjs +0 -2
  646. package/dist/chunks/cli-0.7.4-mqbmk6y6.mjs +0 -4
  647. package/dist/chunks/cli-0.7.4-n9arxrya.mjs +0 -12
  648. package/dist/chunks/cli-0.7.4-naanktx2.mjs +0 -34
  649. package/dist/chunks/cli-0.7.4-nbnqrjgm.mjs +0 -2
  650. package/dist/chunks/cli-0.7.4-nnd4g2nm.mjs +0 -2
  651. package/dist/chunks/cli-0.7.4-nst28yat.mjs +0 -2
  652. package/dist/chunks/cli-0.7.4-p85h0qry.mjs +0 -17
  653. package/dist/chunks/cli-0.7.4-pgtn2eay.mjs +0 -2
  654. package/dist/chunks/cli-0.7.4-pjfb6eq2.mjs +0 -2
  655. package/dist/chunks/cli-0.7.4-pyyaz246.mjs +0 -2
  656. package/dist/chunks/cli-0.7.4-q23avgwg.mjs +0 -2
  657. package/dist/chunks/cli-0.7.4-q4g37dxk.mjs +0 -2
  658. package/dist/chunks/cli-0.7.4-q4q5x19y.mjs +0 -2
  659. package/dist/chunks/cli-0.7.4-q83h4xz7.mjs +0 -10
  660. package/dist/chunks/cli-0.7.4-qcc7kfkv.mjs +0 -2
  661. package/dist/chunks/cli-0.7.4-qcqz94w2.mjs +0 -2
  662. package/dist/chunks/cli-0.7.4-qjfmn9db.mjs +0 -2
  663. package/dist/chunks/cli-0.7.4-r0fkpzp3.mjs +0 -2
  664. package/dist/chunks/cli-0.7.4-r0nqh5aw.mjs +0 -2
  665. package/dist/chunks/cli-0.7.4-r1ebyx3p.mjs +0 -2
  666. package/dist/chunks/cli-0.7.4-r6ste2g4.mjs +0 -2
  667. package/dist/chunks/cli-0.7.4-rn8x06p3.mjs +0 -2
  668. package/dist/chunks/cli-0.7.4-rr7x6s9y.mjs +0 -2
  669. package/dist/chunks/cli-0.7.4-rskynrc5.mjs +0 -4
  670. package/dist/chunks/cli-0.7.4-rszd2m9d.mjs +0 -3
  671. package/dist/chunks/cli-0.7.4-rts5twex.mjs +0 -2
  672. package/dist/chunks/cli-0.7.4-rxsb2bkg.mjs +0 -2
  673. package/dist/chunks/cli-0.7.4-rzkdke3e.mjs +0 -4
  674. package/dist/chunks/cli-0.7.4-s97t3v7z.mjs +0 -2
  675. package/dist/chunks/cli-0.7.4-sm8wf8qx.mjs +0 -67
  676. package/dist/chunks/cli-0.7.4-sw7nh3hq.mjs +0 -2
  677. package/dist/chunks/cli-0.7.4-sxvnky38.mjs +0 -2
  678. package/dist/chunks/cli-0.7.4-syg2nab8.mjs +0 -18
  679. package/dist/chunks/cli-0.7.4-t68xf0hs.mjs +0 -2
  680. package/dist/chunks/cli-0.7.4-tcwf7yvv.mjs +0 -2
  681. package/dist/chunks/cli-0.7.4-te9nvehv.mjs +0 -2
  682. package/dist/chunks/cli-0.7.4-tkcchh6p.mjs +0 -2
  683. package/dist/chunks/cli-0.7.4-tme1sywb.mjs +0 -2
  684. package/dist/chunks/cli-0.7.4-tny04z8h.mjs +0 -2
  685. package/dist/chunks/cli-0.7.4-tsf2s2bg.mjs +0 -2
  686. package/dist/chunks/cli-0.7.4-tz5hgphm.mjs +0 -3
  687. package/dist/chunks/cli-0.7.4-v70q1qwp.mjs +0 -2
  688. package/dist/chunks/cli-0.7.4-ve6x1t8v.mjs +0 -5
  689. package/dist/chunks/cli-0.7.4-vq696c8w.mjs +0 -2
  690. package/dist/chunks/cli-0.7.4-vtnqj21e.mjs +0 -2
  691. package/dist/chunks/cli-0.7.4-vw2w38z0.mjs +0 -2
  692. package/dist/chunks/cli-0.7.4-wa74g17n.mjs +0 -2
  693. package/dist/chunks/cli-0.7.4-wb89zsbs.mjs +0 -2
  694. package/dist/chunks/cli-0.7.4-wes9w04e.mjs +0 -2
  695. package/dist/chunks/cli-0.7.4-wh44hxq2.mjs +0 -5
  696. package/dist/chunks/cli-0.7.4-wmw8fpv7.mjs +0 -12
  697. package/dist/chunks/cli-0.7.4-wtz9ed9r.mjs +0 -2
  698. package/dist/chunks/cli-0.7.4-wv6x6pzr.mjs +0 -50
  699. package/dist/chunks/cli-0.7.4-x1w88hnn.mjs +0 -12
  700. package/dist/chunks/cli-0.7.4-x5fcmgcd.mjs +0 -4
  701. package/dist/chunks/cli-0.7.4-xgw8jjs2.mjs +0 -2
  702. package/dist/chunks/cli-0.7.4-xhw7cmg0.mjs +0 -2
  703. package/dist/chunks/cli-0.7.4-xt87yshe.mjs +0 -20
  704. package/dist/chunks/cli-0.7.4-y3z3j4d9.mjs +0 -8
  705. package/dist/chunks/cli-0.7.4-y4w46256.mjs +0 -2
  706. package/dist/chunks/cli-0.7.4-y7sxx7d0.mjs +0 -2
  707. package/dist/chunks/cli-0.7.4-ybvnfxcf.mjs +0 -4
  708. package/dist/chunks/cli-0.7.4-yces9dz7.mjs +0 -2
  709. package/dist/chunks/cli-0.7.4-yjqyy8n2.mjs +0 -2
  710. package/dist/chunks/cli-0.7.4-yrbhzggw.mjs +0 -3
  711. package/dist/chunks/cli-0.7.4-yvdbdncp.mjs +0 -2
  712. package/dist/chunks/cli-0.7.4-z1vgf16g.mjs +0 -25
  713. package/dist/chunks/cli-0.7.4-z48enz4n.mjs +0 -2
  714. package/dist/chunks/cli-0.7.4-z88n7a08.mjs +0 -2
  715. package/dist/chunks/cli-0.7.4-za9xa1j8.mjs +0 -3
  716. package/dist/chunks/cli-0.7.4-zaa684f4.mjs +0 -15
  717. package/dist/chunks/cli-0.7.4-zbdceewq.mjs +0 -7
  718. package/dist/chunks/cli-0.7.4-zdkph0g9.mjs +0 -2
  719. package/dist/chunks/cli-0.7.4-zzze6t7f.mjs +0 -2
  720. package/dist/chunks/client-0.7.4-hxpb2apz.mjs +0 -1
  721. package/dist/chunks/color-0.7.4-pkanvtan.mjs +0 -1
  722. package/dist/chunks/compact-0.7.4-sjz49brs.mjs +0 -3
  723. package/dist/chunks/config-0.7.4-f5dgrp7x.mjs +0 -1
  724. package/dist/chunks/config-0.7.4-mc1mvka6.mjs +0 -1
  725. package/dist/chunks/constants-0.7.4-q426cgcp.mjs +0 -1
  726. package/dist/chunks/context-0.7.4-ssay296s.mjs +0 -1
  727. package/dist/chunks/context-noninteractive-0.7.4-y9y9az38.mjs +0 -1
  728. package/dist/chunks/conversation-0.7.4-m00s33jt.mjs +0 -1
  729. package/dist/chunks/copilotHeaders-0.7.4-pv50vnpq.mjs +0 -1
  730. package/dist/chunks/copy-0.7.4-ktk8gabv.mjs +0 -9
  731. package/dist/chunks/cost-0.7.4-r3td1n69.mjs +0 -1
  732. package/dist/chunks/createSSHSession-0.7.4-hhqxxfmb.mjs +0 -1
  733. package/dist/chunks/createSession-0.7.4-ebs0k8yt.mjs +0 -1
  734. package/dist/chunks/debug-0.7.4-0nebad2s.mjs +0 -1
  735. package/dist/chunks/defaultActionDeps-0.7.4-jbzptdbp.mjs +0 -1446
  736. package/dist/chunks/desktop-0.7.4-fmsm731w.mjs +0 -1
  737. package/dist/chunks/detectRepository-0.7.4-qse5a13f.mjs +0 -1
  738. package/dist/chunks/detection-0.7.4-a7c8arz9.mjs +0 -1
  739. package/dist/chunks/diff-0.7.4-ayakpeyz.mjs +0 -1
  740. package/dist/chunks/doctor-0.7.4-hwhyhjfr.mjs +0 -1
  741. package/dist/chunks/doctorDiagnostic-0.7.4-qm9knj52.mjs +0 -1
  742. package/dist/chunks/earlyInput-0.7.4-x3ysj16t.mjs +0 -1
  743. package/dist/chunks/effort-0.7.4-1sv0dhhk.mjs +0 -10
  744. package/dist/chunks/engine-0.7.4-gz82afzv.mjs +0 -1
  745. package/dist/chunks/envLessBridgeConfig-0.7.4-q1h5p7jv.mjs +0 -1
  746. package/dist/chunks/envUtils-0.7.4-ww7aa64y.mjs +0 -1
  747. package/dist/chunks/environmentSelection-0.7.4-r3g0hp0m.mjs +0 -1
  748. package/dist/chunks/environments-0.7.4-8n2fat2s.mjs +0 -1
  749. package/dist/chunks/errors-0.7.4-v9nwybq7.mjs +0 -1
  750. package/dist/chunks/exampleCommands-0.7.4-80n656nx.mjs +0 -1
  751. package/dist/chunks/exit-0.7.4-zmzt7mx8.mjs +0 -1
  752. package/dist/chunks/explorer-0.7.4-1knjqbak.mjs +0 -1
  753. package/dist/chunks/export-0.7.4-8b909kg4.mjs +0 -2
  754. package/dist/chunks/extra-usage-0.7.4-gwxf43jr.mjs +0 -1
  755. package/dist/chunks/extra-usage-noninteractive-0.7.4-vntrq9c8.mjs +0 -1
  756. package/dist/chunks/fast-0.7.4-7d198jes.mjs +0 -1
  757. package/dist/chunks/feedback-0.7.4-5q49cx0k.mjs +0 -14
  758. package/dist/chunks/firstPartyEventLogger-0.7.4-w1471f1j.mjs +0 -1
  759. package/dist/chunks/git-0.7.4-qm9bjwe1.mjs +0 -1
  760. package/dist/chunks/githubModelsCredentials-0.7.4-ecrp7kdj.mjs +0 -1
  761. package/dist/chunks/goal-0.7.4-ce3ysbxg.mjs +0 -4
  762. package/dist/chunks/grove-0.7.4-20a0nspg.mjs +0 -1
  763. package/dist/chunks/growthbook-0.7.4-85m0qnfn.mjs +0 -1
  764. package/dist/chunks/headless-0.7.4-g1me8a7s.mjs +0 -2
  765. package/dist/chunks/heapdump-0.7.4-sgk3zw0t.mjs +0 -6
  766. package/dist/chunks/help-0.7.4-aw6p8ena.mjs +0 -1
  767. package/dist/chunks/hookChains-0.7.4-3eqqv9t2.mjs +0 -3
  768. package/dist/chunks/hooks-0.7.4-q1wrys2h.mjs +0 -79
  769. package/dist/chunks/hooks-0.7.4-v782ktbj.mjs +0 -1
  770. package/dist/chunks/ide-0.7.4-nvtd5hpv.mjs +0 -3
  771. package/dist/chunks/image-processor-napi-0.7.4-a0arvwvs.mjs +0 -1
  772. package/dist/chunks/inboundAttachments-0.7.4-9hxndvnx.mjs +0 -1
  773. package/dist/chunks/index-0.7.4-0atnj624.mjs +0 -1
  774. package/dist/chunks/index-0.7.4-3yc5n58n.mjs +0 -1
  775. package/dist/chunks/index-0.7.4-46qessxk.mjs +0 -1
  776. package/dist/chunks/index-0.7.4-5x44zrgw.mjs +0 -2
  777. package/dist/chunks/index-0.7.4-97t4afz3.mjs +0 -1
  778. package/dist/chunks/index-0.7.4-9rhxb7ph.mjs +0 -1
  779. package/dist/chunks/index-0.7.4-9z6mgm05.mjs +0 -2
  780. package/dist/chunks/index-0.7.4-adfj0wz0.mjs +0 -1
  781. package/dist/chunks/index-0.7.4-bv491fah.mjs +0 -5
  782. package/dist/chunks/index-0.7.4-cxv3b9bg.mjs +0 -1
  783. package/dist/chunks/index-0.7.4-d7jstqgp.mjs +0 -1
  784. package/dist/chunks/index-0.7.4-fxa74szv.mjs +0 -1
  785. package/dist/chunks/index-0.7.4-hh3v0qz8.mjs +0 -1
  786. package/dist/chunks/index-0.7.4-kkcp2c2w.mjs +0 -9
  787. package/dist/chunks/index-0.7.4-n3dcdt88.mjs +0 -1
  788. package/dist/chunks/index-0.7.4-p8ts8cvg.mjs +0 -1
  789. package/dist/chunks/index-0.7.4-pamx7cgj.mjs +0 -17
  790. package/dist/chunks/index-0.7.4-pvvgj6g7.mjs +0 -1
  791. package/dist/chunks/index-0.7.4-rhf5p3mf.mjs +0 -1
  792. package/dist/chunks/index-0.7.4-rzztd31r.mjs +0 -1
  793. package/dist/chunks/index-0.7.4-sajaaw7k.mjs +0 -30
  794. package/dist/chunks/index-0.7.4-xdq0jf9r.mjs +0 -1
  795. package/dist/chunks/index-0.7.4-z3z8qmah.mjs +0 -9
  796. package/dist/chunks/init-0.7.4-4e9zty2q.mjs +0 -1
  797. package/dist/chunks/initReplBridge-0.7.4-yrparcz7.mjs +0 -1
  798. package/dist/chunks/ink-0.7.4-r1261h4c.mjs +0 -1
  799. package/dist/chunks/insights-0.7.4-t5dmav2c.mjs +0 -870
  800. package/dist/chunks/install-0.7.4-09cxj9vb.mjs +0 -1
  801. package/dist/chunks/install-github-app-0.7.4-hv9wkbxq.mjs +0 -149
  802. package/dist/chunks/install-slack-app-0.7.4-hgnea2d6.mjs +0 -1
  803. package/dist/chunks/instrumentation-0.7.4-17ca7p44.mjs +0 -1
  804. package/dist/chunks/interactiveHelpers-0.7.4-8jxj468e.mjs +0 -1
  805. package/dist/chunks/keybindings-0.7.4-raw68sen.mjs +0 -2
  806. package/dist/chunks/knowledge-0.7.4-xg9wb8wf.mjs +0 -2
  807. package/dist/chunks/latestVersionCache-0.7.4-60ks5x17.mjs +0 -1
  808. package/dist/chunks/loadAgentsDir-0.7.4-fg72pr2c.mjs +0 -1
  809. package/dist/chunks/loadPluginHooks-0.7.4-anp72ngw.mjs +0 -1
  810. package/dist/chunks/loadPluginHooks-0.7.4-jsx8r8aw.mjs +0 -1
  811. package/dist/chunks/log-0.7.4-12x7gw8q.mjs +0 -1
  812. package/dist/chunks/main-0.7.4-q6k044gc.mjs +0 -1
  813. package/dist/chunks/managedEnv-0.7.4-74e7mhhm.mjs +0 -1
  814. package/dist/chunks/mcp-0.7.4-4sr5rcvc.mjs +0 -17
  815. package/dist/chunks/mcp-0.7.4-9g6a64bt.mjs +0 -4
  816. package/dist/chunks/mcp-0.7.4-z4k2mzgy.mjs +0 -1
  817. package/dist/chunks/mcpb-0.7.4-jxskcyd8.mjs +0 -1
  818. package/dist/chunks/memory-0.7.4-541b29se.mjs +0 -3
  819. package/dist/chunks/model-0.7.4-mxvb5p7w.mjs +0 -2
  820. package/dist/chunks/model-0.7.4-nc7qk972.mjs +0 -1
  821. package/dist/chunks/node-0.7.4-hg387vyg.mjs +0 -12
  822. package/dist/chunks/oauth-0.7.4-e4sc7m0w.mjs +0 -1
  823. package/dist/chunks/openaiShim-0.7.4-mwtq6jnq.mjs +0 -14
  824. package/dist/chunks/output-style-0.7.4-b3vewghm.mjs +0 -1
  825. package/dist/chunks/package-GCDC7LJR-0.7.4-1e6194dg.mjs +0 -1
  826. package/dist/chunks/parseConnectUrl-0.7.4-46v5dfsp.mjs +0 -1
  827. package/dist/chunks/parser-0.7.4-2wt2btdd.mjs +0 -1
  828. package/dist/chunks/passes-0.7.4-182xeaj4.mjs +0 -1
  829. package/dist/chunks/permissions-0.7.4-hbqjvate.mjs +0 -3
  830. package/dist/chunks/permissions-0.7.4-qxf6e5nd.mjs +0 -1
  831. package/dist/chunks/plan-0.7.4-t5djkwkz.mjs +0 -1
  832. package/dist/chunks/plist-0.7.4-98g5pq7j.mjs +0 -1
  833. package/dist/chunks/plugin-0.7.4-0kmdzd88.mjs +0 -29
  834. package/dist/chunks/pluginStartupCheck-0.7.4-f1kq85sa.mjs +0 -1
  835. package/dist/chunks/plugins-0.7.4-52qggqw3.mjs +0 -9
  836. package/dist/chunks/preActionHook-0.7.4-qdyv0zgd.mjs +0 -2
  837. package/dist/chunks/print-0.7.4-1y1eqyhp.mjs +0 -57
  838. package/dist/chunks/privacy-settings-0.7.4-jrr06fw8.mjs +0 -1
  839. package/dist/chunks/process-0.7.4-bh0fjdst.mjs +0 -1
  840. package/dist/chunks/processBashCommand-0.7.4-8j3chrnm.mjs +0 -1
  841. package/dist/chunks/processSlashCommand-0.7.4-j53jaae7.mjs +0 -9
  842. package/dist/chunks/prompt-0.7.4-6eskezm8.mjs +0 -1
  843. package/dist/chunks/prompt-0.7.4-bnhsjhx3.mjs +0 -1
  844. package/dist/chunks/prompts-0.7.4-vevq7ae1.mjs +0 -1
  845. package/dist/chunks/protocolHandler-0.7.4-s4j6aeqh.mjs +0 -13
  846. package/dist/chunks/provider-0.7.4-jvtch160.mjs +0 -2
  847. package/dist/chunks/providerProfiles-0.7.4-yqetgvnq.mjs +0 -1
  848. package/dist/chunks/providerValidation-0.7.4-g6enpya6.mjs +0 -6
  849. package/dist/chunks/rate-limit-options-0.7.4-cwnmpqq9.mjs +0 -1
  850. package/dist/chunks/registerSubcommands-0.7.4-z1bdpgwx.mjs +0 -34
  851. package/dist/chunks/registry-0.7.4-5tne3d7e.mjs +0 -1
  852. package/dist/chunks/release-notes-0.7.4-sdsbw8s6.mjs +0 -5
  853. package/dist/chunks/reload-plugins-0.7.4-8fpph071.mjs +0 -2
  854. package/dist/chunks/remote-env-0.7.4-b1mzf95y.mjs +0 -1
  855. package/dist/chunks/remoteBridgeCore-0.7.4-9psc4fph.mjs +0 -1
  856. package/dist/chunks/remoteSession-0.7.4-8q76j945.mjs +0 -1
  857. package/dist/chunks/rename-0.7.4-x6q5drmn.mjs +0 -1
  858. package/dist/chunks/replBridgeHandle-0.7.4-dnp2by0g.mjs +0 -1
  859. package/dist/chunks/replLauncher-0.7.4-ztr3sg2j.mjs +0 -1
  860. package/dist/chunks/resume-0.7.4-zg3nxxte.mjs +0 -2
  861. package/dist/chunks/rewind-0.7.4-9j0zbj9a.mjs +0 -1
  862. package/dist/chunks/rootOptions-0.7.4-jrktzb1h.mjs +0 -1
  863. package/dist/chunks/sandbox-adapter-0.7.4-h71dwt2q.mjs +0 -1
  864. package/dist/chunks/sandbox-toggle-0.7.4-ks8gnbp8.mjs +0 -1
  865. package/dist/chunks/session-0.7.4-vc75bjkq.mjs +0 -2
  866. package/dist/chunks/sessionDiscovery-0.7.4-aqvmyy21.mjs +0 -1
  867. package/dist/chunks/sessionFileAccessHooks-0.7.4-7rw6txzf.mjs +0 -1
  868. package/dist/chunks/sessionStorage-0.7.4-820nxqcx.mjs +0 -1
  869. package/dist/chunks/settings-0.7.4-xn9kh7fk.mjs +0 -1
  870. package/dist/chunks/setup-0.7.4-ad98h634.mjs +0 -5
  871. package/dist/chunks/sinks-0.7.4-z7ad37zx.mjs +0 -1
  872. package/dist/chunks/skills-0.7.4-ad67cz1j.mjs +0 -1
  873. package/dist/chunks/startupProfiler-0.7.4-akaj65pe.mjs +0 -1
  874. package/dist/chunks/startupUpdateCheck-0.7.4-7r3vt1zf.mjs +0 -1
  875. package/dist/chunks/state-0.7.4-vjqm3ded.mjs +0 -1
  876. package/dist/chunks/stats-0.7.4-hqz1awtk.mjs +0 -6
  877. package/dist/chunks/status-0.7.4-e09aw5s3.mjs +0 -1
  878. package/dist/chunks/stickers-0.7.4-356twswm.mjs +0 -1
  879. package/dist/chunks/subprocessEnv-0.7.4-zjpbw9eg.mjs +0 -1
  880. package/dist/chunks/tasks-0.7.4-yqdwmw5j.mjs +0 -1
  881. package/dist/chunks/teamHelpers-0.7.4-0mtce030.mjs +0 -1
  882. package/dist/chunks/teammateModeSnapshot-0.7.4-q60shbd0.mjs +0 -1
  883. package/dist/chunks/teleport-0.7.4-6h25n23n.mjs +0 -1
  884. package/dist/chunks/terminalSetup-0.7.4-5fm9br3v.mjs +0 -1
  885. package/dist/chunks/theme-0.7.4-3cxdxqzd.mjs +0 -1
  886. package/dist/chunks/thinkback-0.7.4-k40dtctf.mjs +0 -1
  887. package/dist/chunks/thinkback-play-0.7.4-vmbx4r0v.mjs +0 -1
  888. package/dist/chunks/toolPool-0.7.4-fr9jcgkr.mjs +0 -1
  889. package/dist/chunks/toolSearch-0.7.4-72eq96x6.mjs +0 -1
  890. package/dist/chunks/tools-0.7.4-n2jj5cxj.mjs +0 -1
  891. package/dist/chunks/trustedDevice-0.7.4-5jh1e885.mjs +0 -1
  892. package/dist/chunks/turndown.cjs-0.7.4-3sq52e78.mjs +0 -69
  893. package/dist/chunks/types-0.7.4-cybkwcw1.mjs +0 -1
  894. package/dist/chunks/ultrareviewCommand-0.7.4-p3ykdjx4.mjs +0 -4
  895. package/dist/chunks/update-0.7.4-9hphbpbx.mjs +0 -86
  896. package/dist/chunks/upgrade-0.7.4-hhn879a5.mjs +0 -1
  897. package/dist/chunks/upload-0.7.4-rmfqa4n5.mjs +0 -7
  898. package/dist/chunks/upstreamproxy-0.7.4-f89cjzmp.mjs +0 -14
  899. package/dist/chunks/url-handler-napi-0.7.4-kdweyv4n.mjs +0 -1
  900. package/dist/chunks/usage-0.7.4-z5s6dhj7.mjs +0 -1
  901. package/dist/chunks/util-0.7.4-wf3hrc3w.mjs +0 -1
  902. package/dist/chunks/utils-0.7.4-f33hkvq8.mjs +0 -1
  903. package/dist/chunks/vim-0.7.4-pkw9kc18.mjs +0 -1
  904. package/dist/chunks/watcher-0.7.4-h80z0z8g.mjs +0 -1
  905. package/dist/chunks/wiki-0.7.4-5rfrx592.mjs +0 -132
  906. package/dist/chunks/workflows-0.7.4-7dgxra0n.mjs +0 -1
  907. package/dist/chunks/worktree-0.7.4-ar646nm5.mjs +0 -1
  908. package/dist/chunks/worktreeModeEnabled-0.7.4-1z56z896.mjs +0 -1
  909. package/dist/chunks/wrapper-0.7.4-bp55g4da.mjs +0 -7
  910. /package/dist/chunks/{cli-0.7.4-a8qv9b1x.mjs → cli-0.7.6-pef1cr89.mjs} +0 -0
@@ -0,0 +1,25 @@
1
+ import{A8 as Jc,B8 as el,C8 as Hc,D8 as cr,E8 as Cc,F8 as Ts,G8 as gl,g8 as nt,h8 as hl,i8 as bl,j8 as ml,k8 as fn,l8 as $c,m8 as fu,n8 as Al,o8 as ys,p8 as El,q8 as st,r8 as hs,s8 as k,t8 as ur,u8 as Qc,v8 as Bc,w8 as ra,x8 as Xc,y8 as Yc,z8 as Zc}from"./cli-0.7.6-xfap6qa6.mjs";import{H8 as ie}from"./cli-0.7.6-ayd8297m.mjs";import{Iqa as kc,Jqa as Le}from"./cli-0.7.6-hw3n6j75.mjs";import{Lqa as Vc}from"./cli-0.7.6-dhp0vn09.mjs";import{Nqa as Fe,Oqa as ve,Rqa as De,Sqa as ee}from"./cli-0.7.6-ftdrd7jk.mjs";import{Vqa as E,Yqa as Bs}from"./cli-0.7.6-jpjn976y.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 f8};
@@ -0,0 +1,2 @@
1
+ import{Xqa as C}from"./cli-0.7.6-jpjn976y.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
2
+ export{L as Oi,M as Pi,N as Qi,H as Ri};
@@ -0,0 +1,2 @@
1
+ import{Xqa as g}from"./cli-0.7.6-jpjn976y.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
+ export{Bq as rV,d as sV,$J as tV,DJ as uV,GJ as vV};
@@ -0,0 +1,2 @@
1
+ import{Tf as EG,Uf as iG,_f as rG}from"./cli-0.7.6-wepz3cym.mjs";import{Bx as l,CN as cG,Cx as jG,Dx as HG,Ex as dG,GM as aG,Kr as vG,OM as $G,PM as oG,SE as KG,TE as mG,ZL as LG,_L as BG,aM as pG,cM as WG,cn as FG,dM as qG,dn as OG,hn as VG,hs as uG,iM as a,kN as bG,mM as DG,nN as sG,oM as y,pM as o,qM as lG,rN as f,rn as fG,sM as kG,sN as s,tN as c,uN as v,vN as i,xM as _G,yN as u}from"./cli-0.7.6-qan5xxdc.mjs";import{IY as QJ}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as wG,Q2 as PG}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as YG}from"./cli-0.7.6-471rvdw2.mjs";import{kba as zG,kfa as R,lfa as _,ofa as gG,pba as CG}from"./cli-0.7.6-fn56g2cc.mjs";import{Aga as NG}from"./cli-0.7.6-ek2a439r.mjs";import{Nha as A,Qha as MG}from"./cli-0.7.6-z4k83sx6.mjs";import{Qia as ZG,Tia as SG,yia as yG}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as h,vja as TG}from"./cli-0.7.6-310844c3.mjs";import{mpa as XG,pla as QG}from"./cli-0.7.6-bfwq4dm5.mjs";import{Tqa as r,Xqa as p}from"./cli-0.7.6-jpjn976y.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
2
+ export{e as Of,aJ as Pf,oJ as Qf,sJ as Rf,XJ as Sf};
@@ -0,0 +1,21 @@
1
+ import{GJ as X,IQ as F,PD as V,QD as $,Wq as O,Xq as Z,fk as L}from"./cli-0.7.6-qan5xxdc.mjs";import{Xqa as Y}from"./cli-0.7.6-jpjn976y.mjs";function W(G){let D=[],H=G.matchAll(v);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
+
3
+ IMPORTANT CONTEXT:
4
+ - You are a separate, lightweight agent spawned to answer this one question
5
+ - The main agent is NOT interrupted - it continues working independently in the background
6
+ - You share the conversation context but are a completely separate instance
7
+ - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
+
9
+ CRITICAL CONSTRAINTS:
10
+ - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
+ - This is a one-off response - there will be no follow-up turns
12
+ - You can ONLY provide information based on what you already know from the conversation context
13
+ - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
+ - If you don't know the answer, say so - do not offer to look it up or investigate
15
+
16
+ Simply answer the question with the information you have.</system-reminder>
17
+
18
+ ${G}`,z=await V({promptMessages:[X({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:y(z.messages),usage:z.totalUsage}}function y(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=L(D,`
19
+
20
+ `).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${O(H.error)})`;return null}var v;var C=Y(()=>{Z();$();F();v=/^\/btw\b/gi});
21
+ export{W as Kh,b as Lh,C as Mh};
@@ -0,0 +1,24 @@
1
+ import{gX as T,rX as c}from"./cli-0.7.6-4v3f036y.mjs";import{H1 as w,K1 as n}from"./cli-0.7.6-1bvzdjfc.mjs";import{m9 as M,n_ as y,o9 as X,o_ as g,p9 as f}from"./cli-0.7.6-fn56g2cc.mjs";import{Qia as Z,Tha as R,Tia as h,Vha as F,tia as K,uia as v,yia as m}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as Y,tja as W,vja as D}from"./cli-0.7.6-310844c3.mjs";import{Lja as S,yja as E}from"./cli-0.7.6-0wr25ecz.mjs";import{mpa as j,pla as k,tla as A,vla as N}from"./cli-0.7.6-bfwq4dm5.mjs";import{Xqa as H}from"./cli-0.7.6-jpjn976y.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
2
+ $pid = ${String(q)}
3
+ $ancestors = @()
4
+ for ($i = 0; $i -lt ${J}; $i++) {
5
+ $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
6
+ if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
7
+ $pid = $proc.ParentProcessId
8
+ $ancestors += $pid
9
+ }
10
+ $ancestors -join ','
11
+ `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
12
+ `).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
13
+ $currentPid = ${String(q)}
14
+ $commands = @()
15
+ for ($i = 0; $i -lt ${J}; $i++) {
16
+ $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
17
+ if (-not $proc) { break }
18
+ if ($proc.CommandLine) { $commands += $proc.CommandLine }
19
+ if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
20
+ $currentPid = $proc.ParentProcessId
21
+ }
22
+ $commands -join [char]0
23
+ `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
24
+ export{O as NW,i as OW,e as PW,qq as QW,_ as RW,Uq as SW,Bq as TW,C as UW,Mq as VW,I as WW,Aq as XW,d as YW,r as ZW,t as _W};
@@ -0,0 +1,2 @@
1
+ import{$N as X,VN as O,WN as P,XN as Q,YN as U,Zi as M,_i as W}from"./cli-0.7.6-qan5xxdc.mjs";import{Xqa as V}from"./cli-0.7.6-jpjn976y.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as sg,$ as tg};