@claudiolabs/claudio 0.1.11 → 0.1.13

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 (652) hide show
  1. package/bin/claudio +7 -0
  2. package/dist/chunks/AgentTool-0.1.13-yacqe6gs.mjs +1 -0
  3. package/dist/chunks/App-0.1.13-45tpe56w.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.1.13-rvk3ghpz.mjs +1 -0
  5. package/dist/chunks/{AssistantSessionChooser-0.1.11-kb5jvw8n.mjs → AssistantSessionChooser-0.1.13-tcg2ckh4.mjs} +1 -1
  6. package/dist/chunks/AutoModeOptInDialog-0.1.13-4qkeekab.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.1.13-wpjjxqtw.mjs +1 -0
  8. package/dist/chunks/ClaudeInChromeOnboarding-0.1.13-k8349mz5.mjs +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.13-jg36gq05.mjs +1 -0
  10. package/dist/chunks/ConsoleOAuthFlow-0.1.13-svk1vdbj.mjs +1 -0
  11. package/dist/chunks/DiffDialog-0.1.13-3a9b1b48.mjs +3 -0
  12. package/dist/chunks/Doctor-0.1.13-zktnx7ce.mjs +1 -0
  13. package/dist/chunks/Grove-0.1.13-1hnmb7jn.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.1.13-esbr21j4.mjs +1 -0
  15. package/dist/chunks/{InProcessTransport-0.1.11-xecmx0sw.mjs → InProcessTransport-0.1.13-k5mkjvww.mjs} +1 -1
  16. package/dist/chunks/InvalidConfigDialog-0.1.13-7wr7g7vx.mjs +1 -0
  17. package/dist/chunks/InvalidSettingsDialog-0.1.13-j8t2pnak.mjs +1 -0
  18. package/dist/chunks/MigrationDialog-0.1.13-jd2k6vk6.mjs +1 -0
  19. package/dist/chunks/Onboarding-0.1.13-j8d7hwbe.mjs +1 -0
  20. package/dist/chunks/ProviderManager-0.1.13-qcfa4ppx.mjs +1 -0
  21. package/dist/chunks/REPL-0.1.13-zpcaf2zq.mjs +1 -0
  22. package/dist/chunks/ResumeConversation-0.1.13-nwwjp69z.mjs +1 -0
  23. package/dist/chunks/{SnapshotUpdateDialog-0.1.11-h881m192.mjs → SnapshotUpdateDialog-0.1.13-has41zv0.mjs} +1 -1
  24. package/dist/chunks/TeleportProgress-0.1.13-ssgexm6r.mjs +1 -0
  25. package/dist/chunks/TeleportRepoMismatchDialog-0.1.13-r95sr8bp.mjs +1 -0
  26. package/dist/chunks/TeleportResumeWrapper-0.1.13-1qxft9es.mjs +1 -0
  27. package/dist/chunks/TmuxBackend-0.1.13-jf14wbka.mjs +9 -0
  28. package/dist/chunks/ToolSearchTool-0.1.13-xzmz0wz4.mjs +1 -0
  29. package/dist/chunks/TrustDialog-0.1.13-pegd35qh.mjs +1 -0
  30. package/dist/chunks/activeProvider-0.1.13-n3mrppkb.mjs +1 -0
  31. package/dist/chunks/add-dir-0.1.13-3zm44vdy.mjs +1 -0
  32. package/dist/chunks/agents-0.1.13-a0aj4df9.mjs +111 -0
  33. package/dist/chunks/agents-0.1.13-phdd6357.mjs +3 -0
  34. package/dist/chunks/api-0.1.13-vmdan95h.mjs +1 -0
  35. package/dist/chunks/{asciicast-0.1.11-7mkaazy8.mjs → asciicast-0.1.13-d6ce2h4r.mjs} +1 -1
  36. package/dist/chunks/assistant-0.1.13-y9yer51w.mjs +1 -0
  37. package/dist/chunks/{auth-0.1.11-p47wajra.mjs → auth-0.1.13-fwdmg15h.mjs} +1 -1
  38. package/dist/chunks/auth-0.1.13-gw7n7j0w.mjs +1 -0
  39. package/dist/chunks/{autoMode-0.1.11-nv8vsag0.mjs → autoMode-0.1.13-4xh49kt4.mjs} +1 -1
  40. package/dist/chunks/backgroundHousekeeping-0.1.13-tagm38w5.mjs +1 -0
  41. package/dist/chunks/branch-0.1.13-hjmxvn3n.mjs +4 -0
  42. package/dist/chunks/{bridgePointer-0.1.11-wr8dfs91.mjs → bridgePointer-0.1.13-s1qw0857.mjs} +1 -1
  43. package/dist/chunks/btw-0.1.13-ggywf7w1.mjs +1 -0
  44. package/dist/chunks/{buddy-0.1.11-gsj76spy.mjs → buddy-0.1.13-2wvpbqx1.mjs} +1 -1
  45. package/dist/chunks/{cacache-0.1.11-wtz0ca19.mjs → cacache-0.1.13-sy5bqn6j.mjs} +1 -1
  46. package/dist/chunks/{cache-probe-0.1.11-pgsemwpr.mjs → cache-probe-0.1.13-ze8mf958.mjs} +1 -1
  47. package/dist/chunks/{cacheStats-0.1.11-1zqq6pm7.mjs → cacheStats-0.1.13-jtrw4rdj.mjs} +1 -1
  48. package/dist/chunks/caches-0.1.13-0swwryxr.mjs +1 -0
  49. package/dist/chunks/chrome-0.1.13-ztyyyz4s.mjs +1 -0
  50. package/dist/chunks/{chromeNativeHost-0.1.11-m5kskzjw.mjs → chromeNativeHost-0.1.13-96ex7t46.mjs} +1 -1
  51. package/dist/chunks/{claude-for-chrome-mcp-0.1.11-h99xhv8j.mjs → claude-for-chrome-mcp-0.1.13-6hy7w25p.mjs} +1 -1
  52. package/dist/chunks/{claudeDesktop-0.1.11-zpdtj6k8.mjs → claudeDesktop-0.1.13-fs8rre9b.mjs} +1 -1
  53. package/dist/chunks/claudemd-0.1.13-942nfe7r.mjs +1 -0
  54. package/dist/chunks/clear-0.1.13-zge2t5n9.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.1.13-b5v1edw2.mjs +1 -0
  56. package/dist/chunks/cli-0.1.13-00qdyz6f.mjs +3 -0
  57. package/dist/chunks/cli-0.1.13-0b728dvh.mjs +2 -0
  58. package/dist/chunks/{cli-0.1.11-4ggr81tw.mjs → cli-0.1.13-0gfnmq08.mjs} +2 -2
  59. package/dist/chunks/cli-0.1.13-0gyt273r.mjs +2 -0
  60. package/dist/chunks/cli-0.1.13-0hyneh5t.mjs +9 -0
  61. package/dist/chunks/{cli-0.1.11-rj68n2kw.mjs → cli-0.1.13-0p3b9j40.mjs} +2 -2
  62. package/dist/chunks/{cli-0.1.11-50naxqgt.mjs → cli-0.1.13-0xy8k6yv.mjs} +2 -2
  63. package/dist/chunks/{cli-0.1.11-yv5pfq6n.mjs → cli-0.1.13-0zpmhn2j.mjs} +2 -2
  64. package/dist/chunks/{cli-0.1.11-wc9bay3d.mjs → cli-0.1.13-13fh0g36.mjs} +2 -2
  65. package/dist/chunks/{cli-0.1.11-vq5fvf9m.mjs → cli-0.1.13-144gn3fd.mjs} +3 -3
  66. package/dist/chunks/{cli-0.1.11-d3exw047.mjs → cli-0.1.13-1g6bgaa6.mjs} +2 -2
  67. package/dist/chunks/{cli-0.1.11-nhwmv5g6.mjs → cli-0.1.13-1gbn4dgj.mjs} +1 -1
  68. package/dist/chunks/{cli-0.1.11-rj9ea3zn.mjs → cli-0.1.13-1hw65avy.mjs} +2 -2
  69. package/dist/chunks/cli-0.1.13-1pxg82cx.mjs +2 -0
  70. package/dist/chunks/cli-0.1.13-1y21vq1h.mjs +2 -0
  71. package/dist/chunks/{cli-0.1.11-852v06g0.mjs → cli-0.1.13-2c7g6rpx.mjs} +2 -2
  72. package/dist/chunks/{cli-0.1.11-h2hxx8ma.mjs → cli-0.1.13-2cdtdhek.mjs} +5 -5
  73. package/dist/chunks/{cli-0.1.11-t07hba0z.mjs → cli-0.1.13-2sx61wcx.mjs} +1 -1
  74. package/dist/chunks/{cli-0.1.11-16086k9e.mjs → cli-0.1.13-2vrh3n9y.mjs} +2 -2
  75. package/dist/chunks/{cli-0.1.11-70f778wy.mjs → cli-0.1.13-30j4h365.mjs} +2 -2
  76. package/dist/chunks/{cli-0.1.11-7tybqg56.mjs → cli-0.1.13-3k1n20ra.mjs} +1 -1
  77. package/dist/chunks/{cli-0.1.11-y909w8bb.mjs → cli-0.1.13-3pctg5zc.mjs} +1 -1
  78. package/dist/chunks/{cli-0.1.11-dpfxvfty.mjs → cli-0.1.13-3rr4fg79.mjs} +2 -2
  79. package/dist/chunks/cli-0.1.13-45hjhcbc.mjs +2 -0
  80. package/dist/chunks/{cli-0.1.11-fstfs72j.mjs → cli-0.1.13-4prgqshq.mjs} +2 -2
  81. package/dist/chunks/{cli-0.1.11-5hs4xyjq.mjs → cli-0.1.13-5061js0h.mjs} +2 -2
  82. package/dist/chunks/{cli-0.1.11-rrnr3ab1.mjs → cli-0.1.13-52f40ba4.mjs} +2 -2
  83. package/dist/chunks/cli-0.1.13-579v6j6d.mjs +4 -0
  84. package/dist/chunks/cli-0.1.13-5b7hgn91.mjs +2 -0
  85. package/dist/chunks/{cli-0.1.11-v6kwgrqc.mjs → cli-0.1.13-5c4fyghf.mjs} +2 -2
  86. package/dist/chunks/{cli-0.1.11-hmfevmz1.mjs → cli-0.1.13-5d4ke9a2.mjs} +2 -2
  87. package/dist/chunks/cli-0.1.13-5j5bg3t2.mjs +2 -0
  88. package/dist/chunks/{cli-0.1.11-p22bdjhv.mjs → cli-0.1.13-5krmz4nd.mjs} +2 -2
  89. package/dist/chunks/cli-0.1.13-5rnhv49w.mjs +2 -0
  90. package/dist/chunks/{cli-0.1.11-r990p54m.mjs → cli-0.1.13-5s4m8qj9.mjs} +5 -5
  91. package/dist/chunks/{cli-0.1.11-b0jasw23.mjs → cli-0.1.13-5ydypzty.mjs} +3 -3
  92. package/dist/chunks/cli-0.1.13-6gmqjyv9.mjs +2 -0
  93. package/dist/chunks/cli-0.1.13-6p0jxfnp.mjs +2 -0
  94. package/dist/chunks/cli-0.1.13-6q3wa261.mjs +2 -0
  95. package/dist/chunks/cli-0.1.13-73w3wbmf.mjs +3 -0
  96. package/dist/chunks/{cli-0.1.11-chnrb9xx.mjs → cli-0.1.13-73yztj5x.mjs} +1 -1
  97. package/dist/chunks/cli-0.1.13-79vtnprb.mjs +2 -0
  98. package/dist/chunks/cli-0.1.13-84tbx1nf.mjs +3 -0
  99. package/dist/chunks/{cli-0.1.11-21epc92q.mjs → cli-0.1.13-85w0nxy9.mjs} +2 -2
  100. package/dist/chunks/{cli-0.1.11-8qrhqvh5.mjs → cli-0.1.13-87xfe2f3.mjs} +2 -2
  101. package/dist/chunks/{cli-0.1.11-bwpemkht.mjs → cli-0.1.13-8gd1x101.mjs} +2 -2
  102. package/dist/chunks/{cli-0.1.11-e5ecf583.mjs → cli-0.1.13-8ppsn0an.mjs} +2 -2
  103. package/dist/chunks/{cli-0.1.11-ft47r1wq.mjs → cli-0.1.13-8pw4n94k.mjs} +2 -2
  104. package/dist/chunks/{cli-0.1.11-tvfkn5mh.mjs → cli-0.1.13-8snyqhjj.mjs} +2 -2
  105. package/dist/chunks/{cli-0.1.11-v8j5bkfs.mjs → cli-0.1.13-8sszxge2.mjs} +1 -1
  106. package/dist/chunks/cli-0.1.13-9043n2e8.mjs +2 -0
  107. package/dist/chunks/cli-0.1.13-91b1h8ww.mjs +2 -0
  108. package/dist/chunks/{cli-0.1.11-mj78w4sp.mjs → cli-0.1.13-9a1hzdsv.mjs} +2 -2
  109. package/dist/chunks/cli-0.1.13-9jajvw4r.mjs +2 -0
  110. package/dist/chunks/cli-0.1.13-a4xga299.mjs +50 -0
  111. package/dist/chunks/cli-0.1.13-ajsw8n7h.mjs +5 -0
  112. package/dist/chunks/cli-0.1.13-apjxy5tn.mjs +2 -0
  113. package/dist/chunks/{cli-0.1.11-0tge574q.mjs → cli-0.1.13-asrdd8dh.mjs} +2 -2
  114. package/dist/chunks/cli-0.1.13-b24n1wvw.mjs +2 -0
  115. package/dist/chunks/{cli-0.1.11-2w8d5vqb.mjs → cli-0.1.13-b3xc1r3k.mjs} +2 -2
  116. package/dist/chunks/cli-0.1.13-b40skdsz.mjs +2 -0
  117. package/dist/chunks/{cli-0.1.11-yrfxpjhr.mjs → cli-0.1.13-bj67mp7n.mjs} +1 -1
  118. package/dist/chunks/{cli-0.1.11-dcswnc8x.mjs → cli-0.1.13-bkg3sva7.mjs} +2 -2
  119. package/dist/chunks/cli-0.1.13-bzgpcgdt.mjs +16 -0
  120. package/dist/chunks/{cli-0.1.11-qrq0sw0h.mjs → cli-0.1.13-c5b4ygdq.mjs} +2 -2
  121. package/dist/chunks/{cli-0.1.11-jj3s3dxd.mjs → cli-0.1.13-cjmpc9q5.mjs} +2 -2
  122. package/dist/chunks/cli-0.1.13-ck28msre.mjs +2 -0
  123. package/dist/chunks/cli-0.1.13-crcgrfse.mjs +2 -0
  124. package/dist/chunks/{cli-0.1.11-t7dc7fbj.mjs → cli-0.1.13-ct9m5223.mjs} +2 -2
  125. package/dist/chunks/{cli-0.1.11-ctjvkg5k.mjs → cli-0.1.13-ctjpk124.mjs} +2 -2
  126. package/dist/chunks/{cli-0.1.11-1xr9et85.mjs → cli-0.1.13-cyj5snev.mjs} +2 -2
  127. package/dist/chunks/{cli-0.1.11-5hrysrcd.mjs → cli-0.1.13-d66pryf3.mjs} +1 -1
  128. package/dist/chunks/{cli-0.1.11-h762f6hr.mjs → cli-0.1.13-d6tr2j76.mjs} +2 -2
  129. package/dist/chunks/cli-0.1.13-d85aba8r.mjs +2 -0
  130. package/dist/chunks/cli-0.1.13-d8wkcw90.mjs +25 -0
  131. package/dist/chunks/{cli-0.1.11-v7bwjqf0.mjs → cli-0.1.13-dag38tkx.mjs} +55 -55
  132. package/dist/chunks/{cli-0.1.11-jye250b3.mjs → cli-0.1.13-dak36ez8.mjs} +1 -1
  133. package/dist/chunks/cli-0.1.13-dgw8xfv1.mjs +2 -0
  134. package/dist/chunks/cli-0.1.13-dmgp48vg.mjs +2 -0
  135. package/dist/chunks/cli-0.1.13-e58n0k16.mjs +2 -0
  136. package/dist/chunks/cli-0.1.13-eh7dqeqt.mjs +2 -0
  137. package/dist/chunks/{cli-0.1.11-d4ahh3jz.mjs → cli-0.1.13-f6gfa426.mjs} +2 -2
  138. package/dist/chunks/{cli-0.1.11-pr9jdfxt.mjs → cli-0.1.13-fabrrwqa.mjs} +1 -1
  139. package/dist/chunks/cli-0.1.13-fh5dndvp.mjs +5043 -0
  140. package/dist/chunks/{cli-0.1.11-cezypfbt.mjs → cli-0.1.13-ft5k86va.mjs} +2 -2
  141. package/dist/chunks/{cli-0.1.11-hgsa4nnp.mjs → cli-0.1.13-fwd5b6q8.mjs} +1 -1
  142. package/dist/chunks/{cli-0.1.11-jkrt4znb.mjs → cli-0.1.13-fz5dm31h.mjs} +2 -2
  143. package/dist/chunks/cli-0.1.13-fzb4yx18.mjs +24 -0
  144. package/dist/chunks/{cli-0.1.11-g2202evh.mjs → cli-0.1.13-g2v4avcv.mjs} +1 -1
  145. package/dist/chunks/cli-0.1.13-g654740k.mjs +2 -0
  146. package/dist/chunks/{cli-0.1.11-w3trj52p.mjs → cli-0.1.13-ga4mmwbc.mjs} +2 -2
  147. package/dist/chunks/{cli-0.1.11-nx8a99hz.mjs → cli-0.1.13-gd3nndc7.mjs} +2 -2
  148. package/dist/chunks/cli-0.1.13-gtgqh4bn.mjs +2 -0
  149. package/dist/chunks/{cli-0.1.11-z4hb2mcd.mjs → cli-0.1.13-gvz2qezh.mjs} +2 -2
  150. package/dist/chunks/cli-0.1.13-h3vb5402.mjs +2 -0
  151. package/dist/chunks/{cli-0.1.11-qpzn4q17.mjs → cli-0.1.13-h7a36dnk.mjs} +2 -2
  152. package/dist/chunks/cli-0.1.13-hgkwnhwv.mjs +2 -0
  153. package/dist/chunks/cli-0.1.13-hjqn3n5a.mjs +59 -0
  154. package/dist/chunks/cli-0.1.13-hyvpn2ht.mjs +45 -0
  155. package/dist/chunks/{cli-0.1.11-jjgjkqqv.mjs → cli-0.1.13-hzdj03rn.mjs} +2 -2
  156. package/dist/chunks/{cli-0.1.11-91mf8dfr.mjs → cli-0.1.13-j7796v8f.mjs} +2 -2
  157. package/dist/chunks/{cli-0.1.11-z62s8qx1.mjs → cli-0.1.13-jakv6e7b.mjs} +1 -1
  158. package/dist/chunks/{cli-0.1.11-6r97rwda.mjs → cli-0.1.13-jeyjdb2m.mjs} +2 -2
  159. package/dist/chunks/{cli-0.1.11-h7e4rkwk.mjs → cli-0.1.13-jz57znb6.mjs} +2 -2
  160. package/dist/chunks/{cli-0.1.11-sma2xhvv.mjs → cli-0.1.13-ks4x4cct.mjs} +2 -2
  161. package/dist/chunks/cli-0.1.13-ky4z1s1h.mjs +20 -0
  162. package/dist/chunks/{cli-0.1.11-ek6mck0j.mjs → cli-0.1.13-kzn9sspk.mjs} +1 -1
  163. package/dist/chunks/{cli-0.1.11-fs3d0ajf.mjs → cli-0.1.13-m5aaczvd.mjs} +1 -1
  164. package/dist/chunks/{cli-0.1.11-p4eeg584.mjs → cli-0.1.13-m61dhxfs.mjs} +2 -2
  165. package/dist/chunks/{cli-0.1.11-7vz357wm.mjs → cli-0.1.13-mahtf0ay.mjs} +2 -2
  166. package/dist/chunks/cli-0.1.13-mezw1vk8.mjs +18 -0
  167. package/dist/chunks/{cli-0.1.11-egck69w4.mjs → cli-0.1.13-mkw72mxc.mjs} +2 -2
  168. package/dist/chunks/{cli-0.1.11-q58q9jqr.mjs → cli-0.1.13-myd004mr.mjs} +2 -2
  169. package/dist/chunks/cli-0.1.13-mywk7e49.mjs +134 -0
  170. package/dist/chunks/cli-0.1.13-n1tj5bdc.mjs +2 -0
  171. package/dist/chunks/cli-0.1.13-n31sw1c8.mjs +2 -0
  172. package/dist/chunks/cli-0.1.13-nc3ce357.mjs +2 -0
  173. package/dist/chunks/{cli-0.1.11-kghg51gb.mjs → cli-0.1.13-nc8ww3rn.mjs} +2 -2
  174. package/dist/chunks/{cli-0.1.11-rvk3t45h.mjs → cli-0.1.13-njvp7vtc.mjs} +2 -2
  175. package/dist/chunks/cli-0.1.13-nsbk0w3b.mjs +2 -0
  176. package/dist/chunks/{cli-0.1.11-jr50ahcv.mjs → cli-0.1.13-nwt2jc8b.mjs} +2 -2
  177. package/dist/chunks/cli-0.1.13-p00rtvrc.mjs +2 -0
  178. package/dist/chunks/{cli-0.1.11-56bdg2vw.mjs → cli-0.1.13-p2wyk6z7.mjs} +1 -1
  179. package/dist/chunks/{cli-0.1.11-h7phna9g.mjs → cli-0.1.13-p4nz8zmd.mjs} +1 -1
  180. package/dist/chunks/cli-0.1.13-p625yxtg.mjs +2 -0
  181. package/dist/chunks/{cli-0.1.11-96y2d09c.mjs → cli-0.1.13-p84ry3q5.mjs} +1 -1
  182. package/dist/chunks/{cli-0.1.11-1bryv90w.mjs → cli-0.1.13-pqk4c7m7.mjs} +2 -2
  183. package/dist/chunks/{cli-0.1.11-7qpnfx56.mjs → cli-0.1.13-pw5dks39.mjs} +2 -2
  184. package/dist/chunks/cli-0.1.13-q93vqpjh.mjs +833 -0
  185. package/dist/chunks/{cli-0.1.11-y4c6y87y.mjs → cli-0.1.13-qdtwrf9z.mjs} +2 -2
  186. package/dist/chunks/cli-0.1.13-qxtrzerx.mjs +2 -0
  187. package/dist/chunks/{cli-0.1.11-fptq9w4t.mjs → cli-0.1.13-r09724ac.mjs} +1 -1
  188. package/dist/chunks/{cli-0.1.11-5vqj6k7m.mjs → cli-0.1.13-rftgy1b8.mjs} +2 -2
  189. package/dist/chunks/cli-0.1.13-rjjyq9ej.mjs +2 -0
  190. package/dist/chunks/{cli-0.1.11-gdcvfp9f.mjs → cli-0.1.13-rkaxch5j.mjs} +2 -2
  191. package/dist/chunks/cli-0.1.13-s6w3ej6f.mjs +3 -0
  192. package/dist/chunks/cli-0.1.13-s90a26ca.mjs +2 -0
  193. package/dist/chunks/cli-0.1.13-s928gjab.mjs +5 -0
  194. package/dist/chunks/{cli-0.1.11-7mmhsc3x.mjs → cli-0.1.13-s9fgd2dx.mjs} +2 -2
  195. package/dist/chunks/{cli-0.1.11-3p2f194m.mjs → cli-0.1.13-saz6qetz.mjs} +2 -2
  196. package/dist/chunks/{cli-0.1.11-weav8142.mjs → cli-0.1.13-sgxk7d0h.mjs} +2 -2
  197. package/dist/chunks/cli-0.1.13-sr9axhrw.mjs +2 -0
  198. package/dist/chunks/{cli-0.1.11-6vqzqsdj.mjs → cli-0.1.13-ss1k5gqk.mjs} +2 -2
  199. package/dist/chunks/cli-0.1.13-ssgwnxc5.mjs +4 -0
  200. package/dist/chunks/cli-0.1.13-t1zx7s60.mjs +2 -0
  201. package/dist/chunks/cli-0.1.13-t34z5r3c.mjs +2 -0
  202. package/dist/chunks/{cli-0.1.11-w3fp9par.mjs → cli-0.1.13-t5w452fj.mjs} +1 -1
  203. package/dist/chunks/cli-0.1.13-tknwgkgp.mjs +17 -0
  204. package/dist/chunks/{cli-0.1.11-hhs8ke9g.mjs → cli-0.1.13-tq3dqmem.mjs} +2 -2
  205. package/dist/chunks/{cli-0.1.11-h3jatwe1.mjs → cli-0.1.13-v1b9yhsy.mjs} +1 -1
  206. package/dist/chunks/{cli-0.1.11-mstxxz33.mjs → cli-0.1.13-v32xwe08.mjs} +2 -2
  207. package/dist/chunks/{cli-0.1.11-sqqzwx4h.mjs → cli-0.1.13-v467fj8c.mjs} +2 -2
  208. package/dist/chunks/cli-0.1.13-v56n2wqm.mjs +2 -0
  209. package/dist/chunks/{cli-0.1.11-s6yfjcm5.mjs → cli-0.1.13-v6z41645.mjs} +2 -2
  210. package/dist/chunks/cli-0.1.13-vdz792pb.mjs +2 -0
  211. package/dist/chunks/{cli-0.1.11-anvzywg4.mjs → cli-0.1.13-vj532g9m.mjs} +1 -1
  212. package/dist/chunks/{cli-0.1.11-anegs86e.mjs → cli-0.1.13-vn7ckv16.mjs} +1 -1
  213. package/dist/chunks/cli-0.1.13-vwt4hc0t.mjs +2 -0
  214. package/dist/chunks/{cli-0.1.11-bbx2h4x9.mjs → cli-0.1.13-w08qr05m.mjs} +2 -2
  215. package/dist/chunks/cli-0.1.13-w8h6wdez.mjs +2 -0
  216. package/dist/chunks/{cli-0.1.11-d10nfa6g.mjs → cli-0.1.13-wh68ve92.mjs} +2 -2
  217. package/dist/chunks/{cli-0.1.11-bqpcwywz.mjs → cli-0.1.13-wpsqhe6v.mjs} +2 -2
  218. package/dist/chunks/{cli-0.1.11-424zgj5k.mjs → cli-0.1.13-wr0c9hyh.mjs} +2 -2
  219. package/dist/chunks/{cli-0.1.11-7xr2ermy.mjs → cli-0.1.13-wwnez3j0.mjs} +2 -2
  220. package/dist/chunks/{cli-0.1.11-6zkfmcxp.mjs → cli-0.1.13-wxdmc1dd.mjs} +2 -2
  221. package/dist/chunks/{cli-0.1.11-0n77qn68.mjs → cli-0.1.13-wz7v1tqx.mjs} +2 -2
  222. package/dist/chunks/{cli-0.1.11-n24p2y0p.mjs → cli-0.1.13-x3zt8q8r.mjs} +1 -1
  223. package/dist/chunks/{cli-0.1.11-05ngjm8p.mjs → cli-0.1.13-x461rxn2.mjs} +2 -2
  224. package/dist/chunks/cli-0.1.13-x4n4my99.mjs +2 -0
  225. package/dist/chunks/{cli-0.1.11-ktwtyqmp.mjs → cli-0.1.13-xde08pkt.mjs} +2 -2
  226. package/dist/chunks/{cli-0.1.11-5e45zda5.mjs → cli-0.1.13-xkdwvsg9.mjs} +2 -2
  227. package/dist/chunks/{cli-0.1.11-98zcwng9.mjs → cli-0.1.13-xv6wh44y.mjs} +2 -2
  228. package/dist/chunks/{cli-0.1.11-3tqzgd9f.mjs → cli-0.1.13-xvvtja1h.mjs} +2 -2
  229. package/dist/chunks/cli-0.1.13-xwkys72y.mjs +12 -0
  230. package/dist/chunks/cli-0.1.13-y3aj3amr.mjs +4 -0
  231. package/dist/chunks/cli-0.1.13-y3e5jkh7.mjs +2 -0
  232. package/dist/chunks/{cli-0.1.11-be28ty4m.mjs → cli-0.1.13-y7aqqca1.mjs} +1 -1
  233. package/dist/chunks/{cli-0.1.11-zb2sa3e2.mjs → cli-0.1.13-yd536yw4.mjs} +7 -10
  234. package/dist/chunks/{cli-0.1.11-zfnmx1ny.mjs → cli-0.1.13-yeb03vme.mjs} +2 -2
  235. package/dist/chunks/cli-0.1.13-yhe2a0cx.mjs +2 -0
  236. package/dist/chunks/cli-0.1.13-yrvakyyp.mjs +2 -0
  237. package/dist/chunks/cli-0.1.13-z0jm6xd0.mjs +2 -0
  238. package/dist/chunks/cli-0.1.13-z387wpj9.mjs +2 -0
  239. package/dist/chunks/cli-0.1.13-zgnanj3x.mjs +12 -0
  240. package/dist/chunks/cli-0.1.13-zm2zgw7m.mjs +3 -0
  241. package/dist/chunks/cli-0.1.13-zmft0mps.mjs +2 -0
  242. package/dist/chunks/client-0.1.13-mbp3h3fc.mjs +1 -0
  243. package/dist/chunks/color-0.1.13-p7kzn9d4.mjs +1 -0
  244. package/dist/chunks/compact-0.1.13-603r2t03.mjs +3 -0
  245. package/dist/chunks/config-0.1.13-fn4hrgp2.mjs +1 -0
  246. package/dist/chunks/{config-0.1.11-cqy7fnab.mjs → config-0.1.13-q8fcew9w.mjs} +1 -1
  247. package/dist/chunks/context-0.1.13-5fz212w3.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.1.13-fjn2461g.mjs +1 -0
  249. package/dist/chunks/conversation-0.1.13-zjqxzcfr.mjs +1 -0
  250. package/dist/chunks/copy-0.1.13-03jy5tfn.mjs +9 -0
  251. package/dist/chunks/cost-0.1.13-zch21h6x.mjs +1 -0
  252. package/dist/chunks/createSession-0.1.13-mh3jt0b0.mjs +1 -0
  253. package/dist/chunks/desktop-0.1.13-w51djw8z.mjs +1 -0
  254. package/dist/chunks/detectRepository-0.1.13-5tt2922a.mjs +1 -0
  255. package/dist/chunks/detection-0.1.13-k001d88v.mjs +1 -0
  256. package/dist/chunks/diff-0.1.13-vz7x7nm3.mjs +1 -0
  257. package/dist/chunks/doctor-0.1.13-egkgh28s.mjs +1 -0
  258. package/dist/chunks/earlyInput-0.1.13-tpq0qmw0.mjs +1 -0
  259. package/dist/chunks/effort-0.1.13-11mfjfnb.mjs +8 -0
  260. package/dist/chunks/environmentSelection-0.1.13-8fagqvgw.mjs +1 -0
  261. package/dist/chunks/environments-0.1.13-x1xw45es.mjs +1 -0
  262. package/dist/chunks/exit-0.1.13-3m34eg2x.mjs +1 -0
  263. package/dist/chunks/export-0.1.13-sq3jk66f.mjs +2 -0
  264. package/dist/chunks/extra-usage-0.1.13-dh2sxr12.mjs +1 -0
  265. package/dist/chunks/extra-usage-noninteractive-0.1.13-7yfmamd2.mjs +1 -0
  266. package/dist/chunks/fast-0.1.13-w1sk95j2.mjs +1 -0
  267. package/dist/chunks/feedback-0.1.13-ewxaenqk.mjs +14 -0
  268. package/dist/chunks/{firstPartyEventLogger-0.1.11-y7qkhdj6.mjs → firstPartyEventLogger-0.1.13-6m3fvkcj.mjs} +1 -1
  269. package/dist/chunks/git-0.1.13-2rp45xgd.mjs +1 -0
  270. package/dist/chunks/githubModelsCredentials-0.1.13-e9c7cay9.mjs +1 -0
  271. package/dist/chunks/{growthbook-0.1.11-2w2b1mzd.mjs → growthbook-0.1.13-sramqmzv.mjs} +1 -1
  272. package/dist/chunks/{heapdump-0.1.11-b216wzt7.mjs → heapdump-0.1.13-3n7hv372.mjs} +1 -1
  273. package/dist/chunks/help-0.1.13-knrgw1dq.mjs +1 -0
  274. package/dist/chunks/{hookChains-0.1.11-jp8f82q7.mjs → hookChains-0.1.13-te9q466p.mjs} +2 -2
  275. package/dist/chunks/hooks-0.1.13-1cp6zhk0.mjs +1 -0
  276. package/dist/chunks/hooks-0.1.13-g6kx1mk3.mjs +79 -0
  277. package/dist/chunks/ide-0.1.13-ke3v5mb7.mjs +3 -0
  278. package/dist/chunks/{image-processor-napi-0.1.11-dpg3ygnw.mjs → image-processor-napi-0.1.13-h7fg935p.mjs} +1 -1
  279. package/dist/chunks/{index-0.1.11-b2q967nq.mjs → index-0.1.13-018yhz6j.mjs} +1 -1
  280. package/dist/chunks/index-0.1.13-0z5ns7r2.mjs +1 -0
  281. package/dist/chunks/index-0.1.13-1y9cm2x6.mjs +1 -0
  282. package/dist/chunks/{index-0.1.11-wbhj1ny7.mjs → index-0.1.13-3zjrdjrv.mjs} +1 -1
  283. package/dist/chunks/index-0.1.13-4cjfx282.mjs +1 -0
  284. package/dist/chunks/index-0.1.13-5g9shrc4.mjs +9 -0
  285. package/dist/chunks/index-0.1.13-7c5y7cbf.mjs +2 -0
  286. package/dist/chunks/index-0.1.13-7fm7tk25.mjs +1 -0
  287. package/dist/chunks/index-0.1.13-98j8cxkv.mjs +1 -0
  288. package/dist/chunks/index-0.1.13-9meb2pab.mjs +1 -0
  289. package/dist/chunks/index-0.1.13-a06q9ad9.mjs +2 -0
  290. package/dist/chunks/index-0.1.13-bc4sh2m1.mjs +1 -0
  291. package/dist/chunks/index-0.1.13-c29wq5dx.mjs +5 -0
  292. package/dist/chunks/index-0.1.13-h2mpm4c0.mjs +1 -0
  293. package/dist/chunks/index-0.1.13-h4wytk4z.mjs +1 -0
  294. package/dist/chunks/index-0.1.13-j9c4bjzh.mjs +1 -0
  295. package/dist/chunks/index-0.1.13-m9m61529.mjs +1 -0
  296. package/dist/chunks/index-0.1.13-mc5ag4wj.mjs +1 -0
  297. package/dist/chunks/index-0.1.13-nm8pkj0f.mjs +9 -0
  298. package/dist/chunks/index-0.1.13-psynrf7p.mjs +10 -0
  299. package/dist/chunks/index-0.1.13-qjt3h799.mjs +1 -0
  300. package/dist/chunks/index-0.1.13-tvt8fxrq.mjs +1 -0
  301. package/dist/chunks/initReplBridge-0.1.13-cd8avwfa.mjs +1 -0
  302. package/dist/chunks/ink-0.1.13-8ga6a1ny.mjs +1 -0
  303. package/dist/chunks/{insights-0.1.11-4yjg2bxs.mjs → insights-0.1.13-t81417ej.mjs} +3 -3
  304. package/dist/chunks/install-0.1.13-1bq7fwkd.mjs +1 -0
  305. package/dist/chunks/install-github-app-0.1.13-yvnx16za.mjs +149 -0
  306. package/dist/chunks/install-slack-app-0.1.13-2a6ydfjg.mjs +1 -0
  307. package/dist/chunks/instrumentation-0.1.13-bvt39wrk.mjs +12 -0
  308. package/dist/chunks/interactiveHelpers-0.1.13-p29payqv.mjs +1 -0
  309. package/dist/chunks/keybindings-0.1.13-nr2he9m8.mjs +2 -0
  310. package/dist/chunks/{knowledge-0.1.11-wpjw8ybd.mjs → knowledge-0.1.13-9a2md3fm.mjs} +1 -1
  311. package/dist/chunks/loadAgentsDir-0.1.13-jmqfw7w4.mjs +1 -0
  312. package/dist/chunks/loadPluginHooks-0.1.13-qagn7gmw.mjs +1 -0
  313. package/dist/chunks/logout-0.1.13-d6ghx6h9.mjs +1 -0
  314. package/dist/chunks/lsp-0.1.13-q6xr2am5.mjs +1 -0
  315. package/dist/chunks/main-0.1.13-e5tbkphz.mjs +1 -0
  316. package/dist/chunks/managedEnv-0.1.13-n073hj5h.mjs +1 -0
  317. package/dist/chunks/mcp-0.1.13-0bw6qtwy.mjs +4 -0
  318. package/dist/chunks/mcp-0.1.13-1kaxfeey.mjs +1 -0
  319. package/dist/chunks/mcp-0.1.13-x9twbpqk.mjs +17 -0
  320. package/dist/chunks/{mcpServer-0.1.11-czg51mvy.mjs → mcpServer-0.1.13-jf5dhyys.mjs} +1 -1
  321. package/dist/chunks/{mcpb-0.1.11-czkze48a.mjs → mcpb-0.1.13-e55321kr.mjs} +1 -1
  322. package/dist/chunks/memory-0.1.13-qwtbe97v.mjs +3 -0
  323. package/dist/chunks/mobile-0.1.13-pzekbte3.mjs +2 -0
  324. package/dist/chunks/model-0.1.13-a42465ep.mjs +1 -0
  325. package/dist/chunks/model-0.1.13-mqqrpy8m.mjs +2 -0
  326. package/dist/chunks/{oauth-0.1.11-jkkd9wzq.mjs → oauth-0.1.13-bk91rvfd.mjs} +1 -1
  327. package/dist/chunks/{openaiShim-0.1.11-b9yqnc9c.mjs → openaiShim-0.1.13-c9z5r4zj.mjs} +2 -2
  328. package/dist/chunks/{output-style-0.1.11-zwxn1knb.mjs → output-style-0.1.13-c4ah6hc0.mjs} +1 -1
  329. package/dist/chunks/package-WSP46L7M-0.1.13-sme2jxpt.mjs +1 -0
  330. package/dist/chunks/parser-0.1.13-mm8j9rwt.mjs +1 -0
  331. package/dist/chunks/passes-0.1.13-bcbvjdzs.mjs +1 -0
  332. package/dist/chunks/permissions-0.1.13-c03934ka.mjs +3 -0
  333. package/dist/chunks/plan-0.1.13-fgs4vbwk.mjs +1 -0
  334. package/dist/chunks/{plist-0.1.11-0sn6nqv3.mjs → plist-0.1.13-f3bfg2tf.mjs} +1 -1
  335. package/dist/chunks/plugin-0.1.13-p5aqty2y.mjs +29 -0
  336. package/dist/chunks/pluginStartupCheck-0.1.13-f8tcmc9s.mjs +1 -0
  337. package/dist/chunks/{plugins-0.1.11-t3pgcpcj.mjs → plugins-0.1.13-1nvjxkbc.mjs} +2 -2
  338. package/dist/chunks/{print-0.1.11-y9vz77h9.mjs → print-0.1.13-g2dmfpmq.mjs} +10 -10
  339. package/dist/chunks/privacy-settings-0.1.13-xkaezd0n.mjs +1 -0
  340. package/dist/chunks/{process-0.1.11-s6jnx5xw.mjs → process-0.1.13-ycxbd26n.mjs} +1 -1
  341. package/dist/chunks/processBashCommand-0.1.13-x4ggp1t8.mjs +1 -0
  342. package/dist/chunks/processSlashCommand-0.1.13-16gwwvqz.mjs +9 -0
  343. package/dist/chunks/prompt-0.1.13-j0tnske2.mjs +1 -0
  344. package/dist/chunks/prompt-0.1.13-mdxfbbqp.mjs +1 -0
  345. package/dist/chunks/prompts-0.1.13-gtp7vnge.mjs +1 -0
  346. package/dist/chunks/provider-0.1.13-e9ayet7n.mjs +2 -0
  347. package/dist/chunks/providerProfiles-0.1.13-y9gs55qq.mjs +1 -0
  348. package/dist/chunks/rate-limit-options-0.1.13-va0322ws.mjs +1 -0
  349. package/dist/chunks/registry-0.1.13-e33aasxk.mjs +1 -0
  350. package/dist/chunks/release-notes-0.1.13-jmkp5g6h.mjs +5 -0
  351. package/dist/chunks/reload-plugins-0.1.13-0p5x4cr9.mjs +2 -0
  352. package/dist/chunks/remote-env-0.1.13-d7evw9tc.mjs +1 -0
  353. package/dist/chunks/{remoteBridgeCore-0.1.11-hn821p07.mjs → remoteBridgeCore-0.1.13-sq5rr5x0.mjs} +1 -1
  354. package/dist/chunks/remoteSession-0.1.13-zjhajyna.mjs +1 -0
  355. package/dist/chunks/rename-0.1.13-t30c4tx9.mjs +1 -0
  356. package/dist/chunks/replBridgeHandle-0.1.13-38jvakp0.mjs +1 -0
  357. package/dist/chunks/resume-0.1.13-ta7t0vbz.mjs +2 -0
  358. package/dist/chunks/{rewind-0.1.11-t4mfk815.mjs → rewind-0.1.13-zxcfrje2.mjs} +1 -1
  359. package/dist/chunks/sandbox-adapter-0.1.13-x04v4bxn.mjs +1 -0
  360. package/dist/chunks/sandbox-toggle-0.1.13-w0p8r4ta.mjs +1 -0
  361. package/dist/chunks/session-0.1.13-cjn060z1.mjs +2 -0
  362. package/dist/chunks/sessionFileAccessHooks-0.1.13-mr3y5jpc.mjs +1 -0
  363. package/dist/chunks/sessionStorage-0.1.13-8gahjm86.mjs +1 -0
  364. package/dist/chunks/setup-0.1.13-ap9dpanw.mjs +5 -0
  365. package/dist/chunks/sinks-0.1.13-r13nv1fw.mjs +1 -0
  366. package/dist/chunks/skills-0.1.13-jd5g0cex.mjs +1 -0
  367. package/dist/chunks/startupProfiler-0.1.13-d4g7sykt.mjs +1 -0
  368. package/dist/chunks/{state-0.1.11-3fjxywyv.mjs → state-0.1.13-cv8jd04r.mjs} +1 -1
  369. package/dist/chunks/{stats-0.1.11-hxzms6gg.mjs → stats-0.1.13-yrtt99gr.mjs} +6 -6
  370. package/dist/chunks/status-0.1.13-4x7h3dec.mjs +1 -0
  371. package/dist/chunks/stickers-0.1.13-8szx17mh.mjs +1 -0
  372. package/dist/chunks/subprocessEnv-0.1.13-9asfa8pp.mjs +1 -0
  373. package/dist/chunks/tasks-0.1.13-dsy415kp.mjs +1 -0
  374. package/dist/chunks/teamHelpers-0.1.13-z4fpbggy.mjs +1 -0
  375. package/dist/chunks/teammateModeSnapshot-0.1.13-cc6scthx.mjs +1 -0
  376. package/dist/chunks/teleport-0.1.13-gx6zbjr3.mjs +1 -0
  377. package/dist/chunks/terminalSetup-0.1.13-wmg8wa4f.mjs +1 -0
  378. package/dist/chunks/theme-0.1.13-m8mdm37k.mjs +1 -0
  379. package/dist/chunks/thinkback-0.1.13-4jwhbbcv.mjs +1 -0
  380. package/dist/chunks/thinkback-play-0.1.13-0vz0yjza.mjs +1 -0
  381. package/dist/chunks/toolPool-0.1.13-z741g6f2.mjs +1 -0
  382. package/dist/chunks/toolSearch-0.1.13-jaadtdmb.mjs +1 -0
  383. package/dist/chunks/trustedDevice-0.1.13-w279yc46.mjs +1 -0
  384. package/dist/chunks/{turndown.cjs-0.1.11-brwqmyse.mjs → turndown.cjs-0.1.13-2wbn8j6y.mjs} +1 -1
  385. package/dist/chunks/ultrareviewCommand-0.1.13-sj6asgpk.mjs +4 -0
  386. package/dist/chunks/{update-0.1.11-p33kxpg4.mjs → update-0.1.13-sx7hc0kj.mjs} +11 -11
  387. package/dist/chunks/upgrade-0.1.13-dce1xd29.mjs +1 -0
  388. package/dist/chunks/{upstreamproxy-0.1.11-vk16qw88.mjs → upstreamproxy-0.1.13-pwxv6kww.mjs} +1 -1
  389. package/dist/chunks/usage-0.1.13-mr2bn5g6.mjs +1 -0
  390. package/dist/chunks/util-0.1.13-ef9r7w41.mjs +1 -0
  391. package/dist/chunks/utils-0.1.13-03dvz81t.mjs +1 -0
  392. package/dist/chunks/vim-0.1.13-3x0ehdme.mjs +1 -0
  393. package/dist/chunks/watcher-0.1.13-yzxxvgz3.mjs +1 -0
  394. package/dist/chunks/{wiki-0.1.11-v0twhcnn.mjs → wiki-0.1.13-regg8ff2.mjs} +1 -1
  395. package/dist/chunks/worktree-0.1.13-kdhzfvjx.mjs +1 -0
  396. package/dist/chunks/worktreeModeEnabled-0.1.13-d4t06wcm.mjs +1 -0
  397. package/dist/chunks/{wrapper-0.1.11-rt9xsnjh.mjs → wrapper-0.1.13-8nsef109.mjs} +1 -1
  398. package/dist/claudio-vscode.vsix +0 -0
  399. package/dist/cli.mjs +3 -3
  400. package/package.json +5 -19
  401. package/dist/chunks/AgentTool-0.1.11-m06x003m.mjs +0 -1
  402. package/dist/chunks/App-0.1.11-z60c27dk.mjs +0 -1
  403. package/dist/chunks/ApproveApiKey-0.1.11-dpm879x7.mjs +0 -1
  404. package/dist/chunks/AutoModeOptInDialog-0.1.11-dnqj2p8g.mjs +0 -1
  405. package/dist/chunks/BypassPermissionsModeDialog-0.1.11-h71pmj5p.mjs +0 -1
  406. package/dist/chunks/ClaudeInChromeOnboarding-0.1.11-vjwzqejw.mjs +0 -1
  407. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.11-0wpjjdn9.mjs +0 -1
  408. package/dist/chunks/ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs +0 -1
  409. package/dist/chunks/DiffDialog-0.1.11-k3zsm9tz.mjs +0 -3
  410. package/dist/chunks/Doctor-0.1.11-958cxvhj.mjs +0 -1
  411. package/dist/chunks/Grove-0.1.11-93bnbcec.mjs +0 -1
  412. package/dist/chunks/ITermBackend-0.1.11-xbxm144g.mjs +0 -1
  413. package/dist/chunks/InvalidConfigDialog-0.1.11-vbeef1wb.mjs +0 -1
  414. package/dist/chunks/InvalidSettingsDialog-0.1.11-5bct7bny.mjs +0 -1
  415. package/dist/chunks/MigrationDialog-0.1.11-13kfzmtt.mjs +0 -1
  416. package/dist/chunks/Onboarding-0.1.11-kz5hnpx3.mjs +0 -1
  417. package/dist/chunks/ProviderManager-0.1.11-nggswmdv.mjs +0 -1
  418. package/dist/chunks/REPL-0.1.11-ctxx4039.mjs +0 -1
  419. package/dist/chunks/ResumeConversation-0.1.11-gwxzn4yg.mjs +0 -1
  420. package/dist/chunks/TeleportProgress-0.1.11-z1ez7pce.mjs +0 -1
  421. package/dist/chunks/TeleportRepoMismatchDialog-0.1.11-pjt2g9ss.mjs +0 -1
  422. package/dist/chunks/TeleportResumeWrapper-0.1.11-9y29zset.mjs +0 -1
  423. package/dist/chunks/TmuxBackend-0.1.11-5a4ddj92.mjs +0 -9
  424. package/dist/chunks/ToolSearchTool-0.1.11-w3cgae0s.mjs +0 -1
  425. package/dist/chunks/TrustDialog-0.1.11-3dsrj239.mjs +0 -1
  426. package/dist/chunks/activeProvider-0.1.11-qrn947by.mjs +0 -1
  427. package/dist/chunks/add-dir-0.1.11-9j7tq9gk.mjs +0 -1
  428. package/dist/chunks/agents-0.1.11-26pbss9x.mjs +0 -3
  429. package/dist/chunks/agents-0.1.11-m56gfjmy.mjs +0 -111
  430. package/dist/chunks/api-0.1.11-5ygenb1h.mjs +0 -1
  431. package/dist/chunks/assistant-0.1.11-5xbar4vv.mjs +0 -1
  432. package/dist/chunks/auth-0.1.11-2363mst5.mjs +0 -1
  433. package/dist/chunks/backgroundHousekeeping-0.1.11-fy6tykxe.mjs +0 -1
  434. package/dist/chunks/branch-0.1.11-aqhrj1x2.mjs +0 -4
  435. package/dist/chunks/btw-0.1.11-2kks7dfd.mjs +0 -1
  436. package/dist/chunks/caches-0.1.11-vewfnrya.mjs +0 -1
  437. package/dist/chunks/chrome-0.1.11-0g5459b5.mjs +0 -1
  438. package/dist/chunks/claudemd-0.1.11-qrr22x5b.mjs +0 -1
  439. package/dist/chunks/clear-0.1.11-c93nbam7.mjs +0 -1
  440. package/dist/chunks/clearTerminal-0.1.11-pdrc3735.mjs +0 -1
  441. package/dist/chunks/cli-0.1.11-036me3yr.mjs +0 -2
  442. package/dist/chunks/cli-0.1.11-05g86mrk.mjs +0 -2
  443. package/dist/chunks/cli-0.1.11-0fshz0ak.mjs +0 -2
  444. package/dist/chunks/cli-0.1.11-0qwee9gy.mjs +0 -2
  445. package/dist/chunks/cli-0.1.11-10nmrfsz.mjs +0 -8
  446. package/dist/chunks/cli-0.1.11-1b48xqbe.mjs +0 -2
  447. package/dist/chunks/cli-0.1.11-1bmswdg3.mjs +0 -2
  448. package/dist/chunks/cli-0.1.11-1bxwxewq.mjs +0 -833
  449. package/dist/chunks/cli-0.1.11-1e6fgnts.mjs +0 -3
  450. package/dist/chunks/cli-0.1.11-23qqxmk4.mjs +0 -2
  451. package/dist/chunks/cli-0.1.11-2xf0g9qc.mjs +0 -45
  452. package/dist/chunks/cli-0.1.11-3f5dv6mt.mjs +0 -2
  453. package/dist/chunks/cli-0.1.11-4bn5ap1n.mjs +0 -2
  454. package/dist/chunks/cli-0.1.11-4cdyzvxv.mjs +0 -3
  455. package/dist/chunks/cli-0.1.11-4xsg15d1.mjs +0 -2
  456. package/dist/chunks/cli-0.1.11-56p41bk3.mjs +0 -2
  457. package/dist/chunks/cli-0.1.11-5zqfr92n.mjs +0 -2
  458. package/dist/chunks/cli-0.1.11-71ewwy7m.mjs +0 -50
  459. package/dist/chunks/cli-0.1.11-7238rfy8.mjs +0 -2
  460. package/dist/chunks/cli-0.1.11-7t04gqx2.mjs +0 -3
  461. package/dist/chunks/cli-0.1.11-84j34n0s.mjs +0 -2
  462. package/dist/chunks/cli-0.1.11-at3c85af.mjs +0 -2
  463. package/dist/chunks/cli-0.1.11-bhqwqe2w.mjs +0 -2
  464. package/dist/chunks/cli-0.1.11-btayz9zj.mjs +0 -2
  465. package/dist/chunks/cli-0.1.11-bvd2r7an.mjs +0 -252
  466. package/dist/chunks/cli-0.1.11-bwn9ehxv.mjs +0 -2
  467. package/dist/chunks/cli-0.1.11-cdpswj0n.mjs +0 -2
  468. package/dist/chunks/cli-0.1.11-cf049e4w.mjs +0 -134
  469. package/dist/chunks/cli-0.1.11-cw0ss3jw.mjs +0 -4
  470. package/dist/chunks/cli-0.1.11-cwptjaf7.mjs +0 -12
  471. package/dist/chunks/cli-0.1.11-da6szcvw.mjs +0 -2
  472. package/dist/chunks/cli-0.1.11-e66dak4h.mjs +0 -4
  473. package/dist/chunks/cli-0.1.11-e7gjxknm.mjs +0 -16
  474. package/dist/chunks/cli-0.1.11-eh7tjdab.mjs +0 -18
  475. package/dist/chunks/cli-0.1.11-emw2wfff.mjs +0 -3
  476. package/dist/chunks/cli-0.1.11-fag2wtke.mjs +0 -2
  477. package/dist/chunks/cli-0.1.11-fveg0t77.mjs +0 -22
  478. package/dist/chunks/cli-0.1.11-fx6ztxrs.mjs +0 -5
  479. package/dist/chunks/cli-0.1.11-g33qp0jz.mjs +0 -2
  480. package/dist/chunks/cli-0.1.11-gc069ne7.mjs +0 -2
  481. package/dist/chunks/cli-0.1.11-ggrme14p.mjs +0 -2
  482. package/dist/chunks/cli-0.1.11-h02tyg8p.mjs +0 -2
  483. package/dist/chunks/cli-0.1.11-hrn726gf.mjs +0 -2
  484. package/dist/chunks/cli-0.1.11-hzezqkew.mjs +0 -2
  485. package/dist/chunks/cli-0.1.11-jne21ka1.mjs +0 -2
  486. package/dist/chunks/cli-0.1.11-kk0qqs5v.mjs +0 -7
  487. package/dist/chunks/cli-0.1.11-kndj4a86.mjs +0 -2
  488. package/dist/chunks/cli-0.1.11-kthpxpj3.mjs +0 -24
  489. package/dist/chunks/cli-0.1.11-m0aaey0g.mjs +0 -4
  490. package/dist/chunks/cli-0.1.11-m1dpnkp0.mjs +0 -2
  491. package/dist/chunks/cli-0.1.11-mr356stf.mjs +0 -2
  492. package/dist/chunks/cli-0.1.11-n23d2wej.mjs +0 -2
  493. package/dist/chunks/cli-0.1.11-na9tsy21.mjs +0 -2
  494. package/dist/chunks/cli-0.1.11-nesh7dep.mjs +0 -2
  495. package/dist/chunks/cli-0.1.11-nhjbgc7t.mjs +0 -2
  496. package/dist/chunks/cli-0.1.11-pfgwwtw9.mjs +0 -2
  497. package/dist/chunks/cli-0.1.11-q89t0xzx.mjs +0 -2
  498. package/dist/chunks/cli-0.1.11-qbcfg80y.mjs +0 -16
  499. package/dist/chunks/cli-0.1.11-qheffjft.mjs +0 -2
  500. package/dist/chunks/cli-0.1.11-rmyvg4yw.mjs +0 -2
  501. package/dist/chunks/cli-0.1.11-s8ygndzf.mjs +0 -5036
  502. package/dist/chunks/cli-0.1.11-ta77hm2b.mjs +0 -2
  503. package/dist/chunks/cli-0.1.11-trcf78n1.mjs +0 -2
  504. package/dist/chunks/cli-0.1.11-v2s8ey1n.mjs +0 -12
  505. package/dist/chunks/cli-0.1.11-vb5f7c3a.mjs +0 -2
  506. package/dist/chunks/cli-0.1.11-vch8cn95.mjs +0 -2
  507. package/dist/chunks/cli-0.1.11-vzet5m4y.mjs +0 -2
  508. package/dist/chunks/cli-0.1.11-w3ydpv9v.mjs +0 -2
  509. package/dist/chunks/cli-0.1.11-wjxhn7j5.mjs +0 -2
  510. package/dist/chunks/cli-0.1.11-x37jysc0.mjs +0 -14
  511. package/dist/chunks/cli-0.1.11-x5nvafch.mjs +0 -2
  512. package/dist/chunks/cli-0.1.11-xhrk5hr0.mjs +0 -2
  513. package/dist/chunks/cli-0.1.11-xp93fxnp.mjs +0 -2
  514. package/dist/chunks/cli-0.1.11-xwj7cmkj.mjs +0 -2
  515. package/dist/chunks/cli-0.1.11-yd6f29v2.mjs +0 -2
  516. package/dist/chunks/cli-0.1.11-yhk2y3c0.mjs +0 -2
  517. package/dist/chunks/cli-0.1.11-yvnhbsfn.mjs +0 -3
  518. package/dist/chunks/cli-0.1.11-z0thk4h0.mjs +0 -2
  519. package/dist/chunks/cli-0.1.11-zdyddegg.mjs +0 -2
  520. package/dist/chunks/cli-0.1.11-zwkjaj0d.mjs +0 -2
  521. package/dist/chunks/client-0.1.11-h38k7vkj.mjs +0 -1
  522. package/dist/chunks/color-0.1.11-b7favzc8.mjs +0 -1
  523. package/dist/chunks/compact-0.1.11-damm234b.mjs +0 -3
  524. package/dist/chunks/config-0.1.11-bb6v0pwv.mjs +0 -1
  525. package/dist/chunks/context-0.1.11-e2s56h3b.mjs +0 -1
  526. package/dist/chunks/context-noninteractive-0.1.11-s6b9q91h.mjs +0 -1
  527. package/dist/chunks/conversation-0.1.11-d8ejy4b9.mjs +0 -1
  528. package/dist/chunks/copy-0.1.11-aq32vn1b.mjs +0 -9
  529. package/dist/chunks/cost-0.1.11-3z9y6a5a.mjs +0 -1
  530. package/dist/chunks/createSession-0.1.11-rgaw7n2v.mjs +0 -1
  531. package/dist/chunks/desktop-0.1.11-k8ac4bfx.mjs +0 -1
  532. package/dist/chunks/detectRepository-0.1.11-m3chgqa1.mjs +0 -1
  533. package/dist/chunks/detection-0.1.11-aa9k5rxv.mjs +0 -1
  534. package/dist/chunks/devtools-0.1.11-fkz4akhx.mjs +0 -1
  535. package/dist/chunks/diff-0.1.11-tcqh42f6.mjs +0 -1
  536. package/dist/chunks/doctor-0.1.11-6fwwz8hp.mjs +0 -1
  537. package/dist/chunks/earlyInput-0.1.11-94asnfvh.mjs +0 -1
  538. package/dist/chunks/effort-0.1.11-zcxskzrb.mjs +0 -8
  539. package/dist/chunks/environmentSelection-0.1.11-6ngvrt1m.mjs +0 -1
  540. package/dist/chunks/environments-0.1.11-pdsv6dgq.mjs +0 -1
  541. package/dist/chunks/exit-0.1.11-2jab9tfm.mjs +0 -1
  542. package/dist/chunks/export-0.1.11-wv5bd05w.mjs +0 -2
  543. package/dist/chunks/extra-usage-0.1.11-f5rm0265.mjs +0 -1
  544. package/dist/chunks/extra-usage-noninteractive-0.1.11-dt7znwbn.mjs +0 -1
  545. package/dist/chunks/fast-0.1.11-a665n9kz.mjs +0 -1
  546. package/dist/chunks/feedback-0.1.11-q77qty87.mjs +0 -14
  547. package/dist/chunks/git-0.1.11-g77ppr52.mjs +0 -1
  548. package/dist/chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs +0 -1
  549. package/dist/chunks/help-0.1.11-byp88gen.mjs +0 -1
  550. package/dist/chunks/hooks-0.1.11-v9jan2ss.mjs +0 -1
  551. package/dist/chunks/hooks-0.1.11-vf6vcsgg.mjs +0 -79
  552. package/dist/chunks/ide-0.1.11-7nxbd03r.mjs +0 -3
  553. package/dist/chunks/index-0.1.11-3dfjfmc6.mjs +0 -1
  554. package/dist/chunks/index-0.1.11-82wnmfq3.mjs +0 -9
  555. package/dist/chunks/index-0.1.11-8gtaa17w.mjs +0 -1
  556. package/dist/chunks/index-0.1.11-ajdpkanw.mjs +0 -1
  557. package/dist/chunks/index-0.1.11-bhrstsgc.mjs +0 -1
  558. package/dist/chunks/index-0.1.11-d6qbzwah.mjs +0 -1
  559. package/dist/chunks/index-0.1.11-d9ft1b0s.mjs +0 -1
  560. package/dist/chunks/index-0.1.11-e52dzxjz.mjs +0 -5
  561. package/dist/chunks/index-0.1.11-gb3saayk.mjs +0 -2
  562. package/dist/chunks/index-0.1.11-kksxmkwe.mjs +0 -1
  563. package/dist/chunks/index-0.1.11-n564rmwy.mjs +0 -1
  564. package/dist/chunks/index-0.1.11-n90nxjqp.mjs +0 -1
  565. package/dist/chunks/index-0.1.11-p0j3w83p.mjs +0 -1
  566. package/dist/chunks/index-0.1.11-pmkgntay.mjs +0 -7
  567. package/dist/chunks/index-0.1.11-qspcw49p.mjs +0 -1
  568. package/dist/chunks/index-0.1.11-r6p77pf7.mjs +0 -1
  569. package/dist/chunks/index-0.1.11-s0w8xy7q.mjs +0 -9
  570. package/dist/chunks/index-0.1.11-wze82293.mjs +0 -1
  571. package/dist/chunks/index-0.1.11-xs4mng75.mjs +0 -1
  572. package/dist/chunks/index-0.1.11-yej3awws.mjs +0 -2
  573. package/dist/chunks/initReplBridge-0.1.11-71963wyw.mjs +0 -1
  574. package/dist/chunks/ink-0.1.11-tzp2q9bd.mjs +0 -1
  575. package/dist/chunks/install-0.1.11-4zfvr6pk.mjs +0 -1
  576. package/dist/chunks/install-github-app-0.1.11-frqzdwsz.mjs +0 -149
  577. package/dist/chunks/install-slack-app-0.1.11-0yyjjvrw.mjs +0 -1
  578. package/dist/chunks/instrumentation-0.1.11-zyp2r390.mjs +0 -12
  579. package/dist/chunks/interactiveHelpers-0.1.11-chnsxp26.mjs +0 -1
  580. package/dist/chunks/keybindings-0.1.11-r2jke9h5.mjs +0 -2
  581. package/dist/chunks/loadAgentsDir-0.1.11-bwymseqa.mjs +0 -1
  582. package/dist/chunks/loadPluginHooks-0.1.11-npf49gc4.mjs +0 -1
  583. package/dist/chunks/logout-0.1.11-48ynp610.mjs +0 -1
  584. package/dist/chunks/lsp-0.1.11-e4z6m5t5.mjs +0 -1
  585. package/dist/chunks/main-0.1.11-6sh6xycv.mjs +0 -1
  586. package/dist/chunks/managedEnv-0.1.11-6bnnpsm0.mjs +0 -1
  587. package/dist/chunks/mcp-0.1.11-vjjx8eer.mjs +0 -17
  588. package/dist/chunks/mcp-0.1.11-zf74a6am.mjs +0 -4
  589. package/dist/chunks/mcp-0.1.11-zw22jjqc.mjs +0 -1
  590. package/dist/chunks/memory-0.1.11-k7y98zqn.mjs +0 -3
  591. package/dist/chunks/mobile-0.1.11-2w5py2cb.mjs +0 -2
  592. package/dist/chunks/model-0.1.11-4v166f98.mjs +0 -2
  593. package/dist/chunks/model-0.1.11-qekc9c4w.mjs +0 -1
  594. package/dist/chunks/package-HMBVQOZ4-0.1.11-n77wqhxr.mjs +0 -1
  595. package/dist/chunks/parser-0.1.11-vvhz2p5h.mjs +0 -1
  596. package/dist/chunks/passes-0.1.11-dgshr9c4.mjs +0 -1
  597. package/dist/chunks/permissions-0.1.11-71fn7rsk.mjs +0 -3
  598. package/dist/chunks/plan-0.1.11-1xyzxjgr.mjs +0 -1
  599. package/dist/chunks/plugin-0.1.11-menj210d.mjs +0 -29
  600. package/dist/chunks/pluginStartupCheck-0.1.11-ytjn1kxg.mjs +0 -1
  601. package/dist/chunks/privacy-settings-0.1.11-3ah0v02p.mjs +0 -1
  602. package/dist/chunks/processBashCommand-0.1.11-txp79ekj.mjs +0 -1
  603. package/dist/chunks/processSlashCommand-0.1.11-fdvs7etd.mjs +0 -9
  604. package/dist/chunks/prompt-0.1.11-4f7rsvd2.mjs +0 -1
  605. package/dist/chunks/prompt-0.1.11-bzkv3rsd.mjs +0 -1
  606. package/dist/chunks/prompts-0.1.11-xczb1nwa.mjs +0 -1
  607. package/dist/chunks/provider-0.1.11-cqeqqqbt.mjs +0 -2
  608. package/dist/chunks/providerProfiles-0.1.11-ewn8w0f1.mjs +0 -1
  609. package/dist/chunks/rate-limit-options-0.1.11-6bca3g5n.mjs +0 -1
  610. package/dist/chunks/registry-0.1.11-wjnpx9yf.mjs +0 -1
  611. package/dist/chunks/release-notes-0.1.11-dhe37z3c.mjs +0 -5
  612. package/dist/chunks/reload-plugins-0.1.11-gzep3pg3.mjs +0 -2
  613. package/dist/chunks/remote-env-0.1.11-yday97nq.mjs +0 -1
  614. package/dist/chunks/remoteSession-0.1.11-g3h440pv.mjs +0 -1
  615. package/dist/chunks/rename-0.1.11-ke9btph2.mjs +0 -1
  616. package/dist/chunks/replBridgeHandle-0.1.11-t5njc196.mjs +0 -1
  617. package/dist/chunks/resume-0.1.11-d4bbgty9.mjs +0 -2
  618. package/dist/chunks/sandbox-adapter-0.1.11-3czn1nws.mjs +0 -1
  619. package/dist/chunks/sandbox-toggle-0.1.11-qxv2w9n1.mjs +0 -1
  620. package/dist/chunks/session-0.1.11-2z972raf.mjs +0 -2
  621. package/dist/chunks/sessionFileAccessHooks-0.1.11-f3exnspr.mjs +0 -1
  622. package/dist/chunks/sessionStorage-0.1.11-aa2ftdjn.mjs +0 -1
  623. package/dist/chunks/setup-0.1.11-epmpszzf.mjs +0 -5
  624. package/dist/chunks/sinks-0.1.11-q3zcj5me.mjs +0 -1
  625. package/dist/chunks/skills-0.1.11-9xbyp1p5.mjs +0 -1
  626. package/dist/chunks/startupProfiler-0.1.11-5s07826j.mjs +0 -1
  627. package/dist/chunks/status-0.1.11-drvp15n8.mjs +0 -1
  628. package/dist/chunks/stickers-0.1.11-44f4tawn.mjs +0 -1
  629. package/dist/chunks/subprocessEnv-0.1.11-5w00fpez.mjs +0 -1
  630. package/dist/chunks/tasks-0.1.11-dn8h18fk.mjs +0 -1
  631. package/dist/chunks/teamHelpers-0.1.11-ca7kref8.mjs +0 -1
  632. package/dist/chunks/teammateModeSnapshot-0.1.11-an88rdgv.mjs +0 -1
  633. package/dist/chunks/teleport-0.1.11-8e3k0ex6.mjs +0 -1
  634. package/dist/chunks/terminalSetup-0.1.11-gtdwp0an.mjs +0 -1
  635. package/dist/chunks/theme-0.1.11-p447kczd.mjs +0 -1
  636. package/dist/chunks/thinkback-0.1.11-3f1xvkt5.mjs +0 -1
  637. package/dist/chunks/thinkback-play-0.1.11-0ax4h089.mjs +0 -1
  638. package/dist/chunks/toolPool-0.1.11-xrywy61j.mjs +0 -1
  639. package/dist/chunks/toolSearch-0.1.11-7yjvjxhp.mjs +0 -1
  640. package/dist/chunks/trustedDevice-0.1.11-070f1wch.mjs +0 -1
  641. package/dist/chunks/ultrareviewCommand-0.1.11-0m9b3kr5.mjs +0 -4
  642. package/dist/chunks/upgrade-0.1.11-1aj14cqt.mjs +0 -1
  643. package/dist/chunks/usage-0.1.11-hch4v5jb.mjs +0 -1
  644. package/dist/chunks/util-0.1.11-sjkxad5k.mjs +0 -1
  645. package/dist/chunks/utils-0.1.11-2bk8zn4g.mjs +0 -1
  646. package/dist/chunks/vim-0.1.11-v1rz1d56.mjs +0 -1
  647. package/dist/chunks/watcher-0.1.11-v8mkv1xy.mjs +0 -1
  648. package/dist/chunks/worktree-0.1.11-d7chpamf.mjs +0 -1
  649. package/dist/chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs +0 -1
  650. /package/dist/chunks/{cli-0.1.11-4px8nt5r.mjs → cli-0.1.13-fdmvysv0.mjs} +0 -0
  651. /package/dist/chunks/{cli-0.1.11-x3q39kf7.mjs → cli-0.1.13-gs7rcvne.mjs} +0 -0
  652. /package/dist/chunks/{cli-0.1.11-tyh8gms9.mjs → cli-0.1.13-m5c2efjx.mjs} +0 -0
@@ -0,0 +1,25 @@
1
+ import{$5 as st,R5 as nt,S5 as hl,T5 as bl,U5 as ml,V5 as fn,W5 as $c,X5 as fu,Y5 as Al,Z5 as ys,_5 as El,a6 as hs,b6 as k,c6 as ur,d6 as Qc,e6 as Bc,f6 as ra,g6 as Xc,h6 as Yc,i6 as Zc,j6 as Jc,k6 as el,l6 as Hc,m6 as cr,n6 as Cc,o6 as Ts,p6 as gl}from"./cli-0.1.13-ky4z1s1h.mjs";import{q6 as ie}from"./cli-0.1.13-84tbx1nf.mjs";import{Ina as kc,Jna as Le}from"./cli-0.1.13-0hyneh5t.mjs";import{Lna as Vc}from"./cli-0.1.13-579v6j6d.mjs";import{Nna as Fe,Ona as ve,Rna as De,Sna as ee}from"./cli-0.1.13-tknwgkgp.mjs";import{Vna as E,Yna as Bs}from"./cli-0.1.13-bj67mp7n.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 Q5};