@claudiolabs/claudio 0.1.14 → 0.2.0

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 (703) hide show
  1. package/dist/chunks/AgentTool-0.2.0-g1wqt0s3.mjs +1 -0
  2. package/dist/chunks/App-0.2.0-ntfv12g0.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.2.0-2ymsvey5.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.2.0-8jec5v9r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.2.0-xvmknjn1.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.2.0-1cpe3m5c.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.2.0-851aysqd.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.2.0-v4515qqc.mjs +1 -0
  9. package/dist/chunks/{DiffDialog-0.1.14-wtx2wmbs.mjs → DiffDialog-0.2.0-kyhr5jh0.mjs} +1 -1
  10. package/dist/chunks/Doctor-0.2.0-ck3enc4g.mjs +1 -0
  11. package/dist/chunks/Grove-0.2.0-79c6g758.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.2.0-ez3ahe49.mjs +1 -0
  13. package/dist/chunks/InProcessTransport-0.2.0-9d5e65zk.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.2.0-mfrg36s6.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.2.0-n08wkb0d.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.2.0-9anh130m.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.2.0-2468pvay.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.2.0-cjpn5dkk.mjs +1 -0
  19. package/dist/chunks/REPL-0.2.0-q3fd5jfy.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.2.0-3ff000x5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.2.0-b51pr6s3.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.2.0-c3znpb7p.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.2.0-5wckmrvx.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.2.0-wdc9sxcv.mjs +1 -0
  25. package/dist/chunks/{TmuxBackend-0.1.14-175xkeyy.mjs → TmuxBackend-0.2.0-mkbxpe3a.mjs} +1 -1
  26. package/dist/chunks/ToolSearchTool-0.2.0-k7dvhq3e.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.2.0-xywdgnw5.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.2.0-6yja1haw.mjs +1 -0
  29. package/dist/chunks/add-dir-0.2.0-qg5z82ke.mjs +1 -0
  30. package/dist/chunks/agents-0.2.0-2j995rg8.mjs +3 -0
  31. package/dist/chunks/agents-0.2.0-mzww8vhq.mjs +110 -0
  32. package/dist/chunks/api-0.2.0-rfc17a1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.2.0-25ban1yy.mjs +1 -0
  34. package/dist/chunks/assistant-0.2.0-wt3sz6f5.mjs +1 -0
  35. package/dist/chunks/auth-0.2.0-p1v8yq4y.mjs +1 -0
  36. package/dist/chunks/auth-0.2.0-sh12qb2q.mjs +1 -0
  37. package/dist/chunks/{autoMode-0.1.14-jxse6h16.mjs → autoMode-0.2.0-vzqmqetr.mjs} +1 -1
  38. package/dist/chunks/backgroundHousekeeping-0.2.0-8d72paf3.mjs +1 -0
  39. package/dist/chunks/branch-0.2.0-vhf49enf.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.2.0-br2r89v9.mjs +1 -0
  41. package/dist/chunks/{btw-0.1.14-j1cexrtn.mjs → btw-0.2.0-qtwstg74.mjs} +1 -1
  42. package/dist/chunks/{buddy-0.1.14-r4nmfbke.mjs → buddy-0.2.0-5a9wzpm1.mjs} +1 -1
  43. package/dist/chunks/cacache-0.2.0-nps3what.mjs +1 -0
  44. package/dist/chunks/{cache-probe-0.1.14-zfb6aw4f.mjs → cache-probe-0.2.0-9d3hfar7.mjs} +1 -1
  45. package/dist/chunks/{cacheStats-0.1.14-15eahew3.mjs → cacheStats-0.2.0-rbr7a1xq.mjs} +1 -1
  46. package/dist/chunks/caches-0.2.0-jsvyz7k9.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.2.0-ca7jbnc4.mjs +1 -0
  48. package/dist/chunks/claudemd-0.2.0-yt6b83v9.mjs +1 -0
  49. package/dist/chunks/clear-0.2.0-5e6fb269.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.2.0-c21vszkv.mjs +1 -0
  51. package/dist/chunks/cli-0.2.0-087sjqr6.mjs +2 -0
  52. package/dist/chunks/cli-0.2.0-0cjgm41a.mjs +2 -0
  53. package/dist/chunks/cli-0.2.0-0fwa4agt.mjs +2 -0
  54. package/dist/chunks/cli-0.2.0-0nmdgd3g.mjs +2 -0
  55. package/dist/chunks/cli-0.2.0-0vvkn4c2.mjs +2 -0
  56. package/dist/chunks/{cli-0.1.14-ta3w93yb.mjs → cli-0.2.0-13sc1gtx.mjs} +2 -2
  57. package/dist/chunks/cli-0.2.0-16yt5fwn.mjs +2 -0
  58. package/dist/chunks/cli-0.2.0-1br2y5jr.mjs +2 -0
  59. package/dist/chunks/cli-0.2.0-1mbgzd60.mjs +2 -0
  60. package/dist/chunks/cli-0.2.0-1vczhepy.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.14-ba919tmj.mjs → cli-0.2.0-24bbrvmx.mjs} +1 -1
  62. package/dist/chunks/{cli-0.1.14-d1edbjh4.mjs → cli-0.2.0-280a64s9.mjs} +2 -2
  63. package/dist/chunks/cli-0.2.0-2c2rdf9b.mjs +2 -0
  64. package/dist/chunks/cli-0.2.0-2crrewfg.mjs +5 -0
  65. package/dist/chunks/{cli-0.1.14-wymtdw5f.mjs → cli-0.2.0-2edwgzmj.mjs} +1 -1
  66. package/dist/chunks/cli-0.2.0-2ppczk6v.mjs +2 -0
  67. package/dist/chunks/cli-0.2.0-35xeqadb.mjs +2 -0
  68. package/dist/chunks/cli-0.2.0-362nfwm4.mjs +5 -0
  69. package/dist/chunks/cli-0.2.0-3abr1pjj.mjs +2 -0
  70. package/dist/chunks/cli-0.2.0-3ttrh2tj.mjs +2 -0
  71. package/dist/chunks/cli-0.2.0-3y7hn5v2.mjs +2 -0
  72. package/dist/chunks/cli-0.2.0-41524wt1.mjs +2 -0
  73. package/dist/chunks/cli-0.2.0-46m4vcs3.mjs +2 -0
  74. package/dist/chunks/cli-0.2.0-48sfjp31.mjs +2 -0
  75. package/dist/chunks/cli-0.2.0-4hy8176k.mjs +2 -0
  76. package/dist/chunks/cli-0.2.0-4phx745d.mjs +2 -0
  77. package/dist/chunks/cli-0.2.0-4s3ve9jw.mjs +2 -0
  78. package/dist/chunks/cli-0.2.0-4t9h5c71.mjs +2 -0
  79. package/dist/chunks/cli-0.2.0-4vbz1xrx.mjs +2 -0
  80. package/dist/chunks/cli-0.2.0-4ve4asjv.mjs +2 -0
  81. package/dist/chunks/cli-0.2.0-514cx7c7.mjs +3 -0
  82. package/dist/chunks/cli-0.2.0-55mg69qb.mjs +2 -0
  83. package/dist/chunks/{cli-0.1.14-yphht6rx.mjs → cli-0.2.0-5a2sf5g7.mjs} +1 -1
  84. package/dist/chunks/{cli-0.1.14-heevc19y.mjs → cli-0.2.0-5rm5wnp9.mjs} +2 -2
  85. package/dist/chunks/cli-0.2.0-69bn5730.mjs +2 -0
  86. package/dist/chunks/cli-0.2.0-6dbn4mn2.mjs +2 -0
  87. package/dist/chunks/cli-0.2.0-6en16pc3.mjs +2 -0
  88. package/dist/chunks/cli-0.2.0-6scx1ptz.mjs +4 -0
  89. package/dist/chunks/cli-0.2.0-6y2zbjr4.mjs +2 -0
  90. package/dist/chunks/cli-0.2.0-715a2z01.mjs +2 -0
  91. package/dist/chunks/cli-0.2.0-7xs4mtmq.mjs +2 -0
  92. package/dist/chunks/cli-0.2.0-7zpdrxbp.mjs +2 -0
  93. package/dist/chunks/cli-0.2.0-82kqh5xm.mjs +2 -0
  94. package/dist/chunks/cli-0.2.0-847azgnr.mjs +2 -0
  95. package/dist/chunks/cli-0.2.0-8hbq2p5t.mjs +2 -0
  96. package/dist/chunks/cli-0.2.0-8wnt08ky.mjs +12 -0
  97. package/dist/chunks/cli-0.2.0-98h2e6bt.mjs +2 -0
  98. package/dist/chunks/cli-0.2.0-9ez4c6sj.mjs +6 -0
  99. package/dist/chunks/{cli-0.1.14-yfc7weqn.mjs → cli-0.2.0-9fckzgpc.mjs} +11 -11
  100. package/dist/chunks/cli-0.2.0-9jj1kcbc.mjs +2 -0
  101. package/dist/chunks/cli-0.2.0-9n89mtk3.mjs +2 -0
  102. package/dist/chunks/cli-0.2.0-9n8cdk9p.mjs +2 -0
  103. package/dist/chunks/cli-0.2.0-9t5wq1kd.mjs +2 -0
  104. package/dist/chunks/cli-0.2.0-am2e345h.mjs +2 -0
  105. package/dist/chunks/{cli-0.1.14-as1s0b0t.mjs → cli-0.2.0-amhtcvq4.mjs} +2 -2
  106. package/dist/chunks/cli-0.2.0-ar569zh3.mjs +2 -0
  107. package/dist/chunks/cli-0.2.0-arwyxqyx.mjs +2 -0
  108. package/dist/chunks/{cli-0.1.14-qzcceap6.mjs → cli-0.2.0-asc68d4g.mjs} +2 -2
  109. package/dist/chunks/cli-0.2.0-aw44dqmt.mjs +2 -0
  110. package/dist/chunks/cli-0.2.0-b1tfb8fj.mjs +2 -0
  111. package/dist/chunks/cli-0.2.0-b8a7b102.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.14-qn4ftczz.mjs → cli-0.2.0-b8hs09nv.mjs} +1 -1
  113. package/dist/chunks/{cli-0.1.14-473sgexj.mjs → cli-0.2.0-bd59jfmr.mjs} +1 -1
  114. package/dist/chunks/cli-0.2.0-bs742fy1.mjs +2 -0
  115. package/dist/chunks/cli-0.2.0-c3qvrk8y.mjs +2 -0
  116. package/dist/chunks/{cli-0.1.14-seq2fm2d.mjs → cli-0.2.0-c7ea0dry.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.14-nprcbhwn.mjs → cli-0.2.0-cabza42m.mjs} +1 -1
  118. package/dist/chunks/cli-0.2.0-ccwfmwcq.mjs +2 -0
  119. package/dist/chunks/cli-0.2.0-crn0mjsc.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.14-j5sbzwhy.mjs → cli-0.2.0-cs8e9514.mjs} +842 -972
  121. package/dist/chunks/cli-0.2.0-cst46q1r.mjs +2 -0
  122. package/dist/chunks/cli-0.2.0-d4ajkte5.mjs +2 -0
  123. package/dist/chunks/{cli-0.1.14-stv1d0q3.mjs → cli-0.2.0-da216rmz.mjs} +2 -2
  124. package/dist/chunks/cli-0.2.0-daxqaqx9.mjs +2 -0
  125. package/dist/chunks/cli-0.2.0-dsa5edrn.mjs +2 -0
  126. package/dist/chunks/cli-0.2.0-dtsxeqwx.mjs +17 -0
  127. package/dist/chunks/cli-0.2.0-e184jeam.mjs +2 -0
  128. package/dist/chunks/{cli-0.1.14-2mzb5ath.mjs → cli-0.2.0-e9xwjcb3.mjs} +2 -2
  129. package/dist/chunks/{cli-0.1.14-ftjxb57b.mjs → cli-0.2.0-eaeff4m6.mjs} +3 -3
  130. package/dist/chunks/cli-0.2.0-emdrfb4f.mjs +2 -0
  131. package/dist/chunks/cli-0.2.0-eyswa898.mjs +2 -0
  132. package/dist/chunks/{cli-0.1.14-nxphqjb4.mjs → cli-0.2.0-ezgpj8e5.mjs} +1 -1
  133. package/dist/chunks/cli-0.2.0-f0ec18e0.mjs +2 -0
  134. package/dist/chunks/cli-0.2.0-f5rgr2bw.mjs +5 -0
  135. package/dist/chunks/cli-0.2.0-f63v4pa4.mjs +2 -0
  136. package/dist/chunks/{cli-0.1.14-kmsvd61a.mjs → cli-0.2.0-f7tp61b0.mjs} +2 -2
  137. package/dist/chunks/cli-0.2.0-fanwxcjn.mjs +2 -0
  138. package/dist/chunks/cli-0.2.0-fgsp4dtv.mjs +2 -0
  139. package/dist/chunks/cli-0.2.0-fknhewrw.mjs +2 -0
  140. package/dist/chunks/cli-0.2.0-fr785r3y.mjs +2 -0
  141. package/dist/chunks/cli-0.2.0-frar6zbv.mjs +6 -0
  142. package/dist/chunks/{cli-0.1.14-0nhaxy76.mjs → cli-0.2.0-frwsdnhe.mjs} +2 -2
  143. package/dist/chunks/cli-0.2.0-fy5rnmc5.mjs +2 -0
  144. package/dist/chunks/{cli-0.1.14-2f7s5xbd.mjs → cli-0.2.0-g2h1t6ke.mjs} +4 -4
  145. package/dist/chunks/cli-0.2.0-g4kznbnn.mjs +2 -0
  146. package/dist/chunks/cli-0.2.0-g86682ye.mjs +2 -0
  147. package/dist/chunks/cli-0.2.0-gby7sqgg.mjs +2 -0
  148. package/dist/chunks/{cli-0.1.14-wgatq2fj.mjs → cli-0.2.0-gjtwz4v6.mjs} +2 -2
  149. package/dist/chunks/cli-0.2.0-gmq4bxtp.mjs +2 -0
  150. package/dist/chunks/cli-0.2.0-gngqqtnd.mjs +4 -0
  151. package/dist/chunks/cli-0.2.0-gpc69j0z.mjs +2 -0
  152. package/dist/chunks/cli-0.2.0-gsw60zfe.mjs +2 -0
  153. package/dist/chunks/cli-0.2.0-gy72dze8.mjs +2 -0
  154. package/dist/chunks/cli-0.2.0-h2wnach8.mjs +16 -0
  155. package/dist/chunks/cli-0.2.0-h9tvrrx9.mjs +2 -0
  156. package/dist/chunks/cli-0.2.0-hg1xg9nq.mjs +2 -0
  157. package/dist/chunks/cli-0.2.0-hw4ce6k6.mjs +2 -0
  158. package/dist/chunks/cli-0.2.0-hzzgbj9r.mjs +2 -0
  159. package/dist/chunks/cli-0.2.0-j71ct7m7.mjs +2 -0
  160. package/dist/chunks/cli-0.2.0-jna42sz6.mjs +2 -0
  161. package/dist/chunks/cli-0.2.0-jsrrpd02.mjs +2 -0
  162. package/dist/chunks/cli-0.2.0-k0aa6s39.mjs +2 -0
  163. package/dist/chunks/cli-0.2.0-k2tq4knj.mjs +2 -0
  164. package/dist/chunks/{cli-0.1.14-we6s7jfg.mjs → cli-0.2.0-k438c5g3.mjs} +1 -1
  165. package/dist/chunks/cli-0.2.0-k7cxbyxg.mjs +2 -0
  166. package/dist/chunks/{cli-0.1.14-3m63hy2a.mjs → cli-0.2.0-kg83sjcw.mjs} +2 -2
  167. package/dist/chunks/cli-0.2.0-kgs4hedc.mjs +2 -0
  168. package/dist/chunks/cli-0.2.0-krxmhdq4.mjs +2 -0
  169. package/dist/chunks/cli-0.2.0-m5s0ha7v.mjs +3 -0
  170. package/dist/chunks/cli-0.2.0-m81s8n1j.mjs +2 -0
  171. package/dist/chunks/cli-0.2.0-mg45dmsv.mjs +2 -0
  172. package/dist/chunks/cli-0.2.0-mhpecwq3.mjs +2 -0
  173. package/dist/chunks/cli-0.2.0-mne4f86b.mjs +7 -0
  174. package/dist/chunks/cli-0.2.0-mstcexpv.mjs +2 -0
  175. package/dist/chunks/{cli-0.1.14-0kzzfe41.mjs → cli-0.2.0-ncjme2vj.mjs} +1 -1
  176. package/dist/chunks/cli-0.2.0-ndz9dbxz.mjs +2 -0
  177. package/dist/chunks/cli-0.2.0-p0dd7k39.mjs +4 -0
  178. package/dist/chunks/cli-0.2.0-p19kyd3z.mjs +4 -0
  179. package/dist/chunks/cli-0.2.0-p2jewnbn.mjs +2 -0
  180. package/dist/chunks/cli-0.2.0-p46nxmgy.mjs +2 -0
  181. package/dist/chunks/cli-0.2.0-pa834vt3.mjs +2 -0
  182. package/dist/chunks/cli-0.2.0-pdb8evy6.mjs +2 -0
  183. package/dist/chunks/cli-0.2.0-pfja1jsa.mjs +2 -0
  184. package/dist/chunks/cli-0.2.0-pt145sac.mjs +3 -0
  185. package/dist/chunks/cli-0.2.0-ptwysnj7.mjs +2 -0
  186. package/dist/chunks/cli-0.2.0-pw3er14v.mjs +2 -0
  187. package/dist/chunks/cli-0.2.0-pxy1f4ky.mjs +2 -0
  188. package/dist/chunks/cli-0.2.0-q1fz4qmd.mjs +2 -0
  189. package/dist/chunks/cli-0.2.0-q822fesk.mjs +2 -0
  190. package/dist/chunks/cli-0.2.0-qcr87znh.mjs +2 -0
  191. package/dist/chunks/{cli-0.1.14-rc5yd94n.mjs → cli-0.2.0-qdcyy0k1.mjs} +3 -3
  192. package/dist/chunks/cli-0.2.0-qnd8v5pt.mjs +2 -0
  193. package/dist/chunks/cli-0.2.0-qw0kz7z3.mjs +2 -0
  194. package/dist/chunks/cli-0.2.0-r15zg9jv.mjs +2 -0
  195. package/dist/chunks/cli-0.2.0-r3f7ephj.mjs +2 -0
  196. package/dist/chunks/{cli-0.1.14-k9jcmxtd.mjs → cli-0.2.0-rwdy3dtq.mjs} +1 -1
  197. package/dist/chunks/{cli-0.1.14-dntkrp1j.mjs → cli-0.2.0-s02v5abf.mjs} +5 -5
  198. package/dist/chunks/{cli-0.1.14-jpe9sxch.mjs → cli-0.2.0-s130pb2c.mjs} +2 -2
  199. package/dist/chunks/cli-0.2.0-s919r7gy.mjs +2 -0
  200. package/dist/chunks/cli-0.2.0-sh26pc92.mjs +2 -0
  201. package/dist/chunks/cli-0.2.0-sj380wma.mjs +2 -0
  202. package/dist/chunks/cli-0.2.0-stn798t9.mjs +9 -0
  203. package/dist/chunks/cli-0.2.0-t0j5fnc5.mjs +2 -0
  204. package/dist/chunks/{cli-0.1.14-3xj419mp.mjs → cli-0.2.0-teqjxyws.mjs} +1 -1
  205. package/dist/chunks/{cli-0.1.14-nkza93de.mjs → cli-0.2.0-v8kqgxs0.mjs} +1 -1
  206. package/dist/chunks/cli-0.2.0-vdhcg4g4.mjs +2 -0
  207. package/dist/chunks/cli-0.2.0-vejekjsb.mjs +2 -0
  208. package/dist/chunks/cli-0.2.0-vjcy5y97.mjs +4 -0
  209. package/dist/chunks/cli-0.2.0-vjnmd5ey.mjs +2 -0
  210. package/dist/chunks/cli-0.2.0-wc6ydzff.mjs +2 -0
  211. package/dist/chunks/cli-0.2.0-wmfpk06g.mjs +2 -0
  212. package/dist/chunks/{cli-0.1.14-6cjjzttb.mjs → cli-0.2.0-wmstwkhw.mjs} +1 -1
  213. package/dist/chunks/cli-0.2.0-wqzmxfnd.mjs +2 -0
  214. package/dist/chunks/cli-0.2.0-wwwmxcwz.mjs +2 -0
  215. package/dist/chunks/{cli-0.1.14-hxvzvfr2.mjs → cli-0.2.0-x221h2yq.mjs} +1 -1
  216. package/dist/chunks/cli-0.2.0-xdmw2spe.mjs +4 -0
  217. package/dist/chunks/cli-0.2.0-xmf20rrm.mjs +2 -0
  218. package/dist/chunks/cli-0.2.0-xwrvt7rw.mjs +2 -0
  219. package/dist/chunks/cli-0.2.0-y1q43eac.mjs +2 -0
  220. package/dist/chunks/{cli-0.1.14-canpypsb.mjs → cli-0.2.0-y6g66sm5.mjs} +1 -1
  221. package/dist/chunks/cli-0.2.0-y93dcrnm.mjs +2 -0
  222. package/dist/chunks/cli-0.2.0-y9bxbkxm.mjs +2 -0
  223. package/dist/chunks/{cli-0.1.14-hvfg45y0.mjs → cli-0.2.0-ykvda8xj.mjs} +1 -1
  224. package/dist/chunks/cli-0.2.0-z1j2k2y8.mjs +2 -0
  225. package/dist/chunks/cli-0.2.0-zdr99w6n.mjs +2 -0
  226. package/dist/chunks/cli-0.2.0-zhq243rp.mjs +5 -0
  227. package/dist/chunks/cli-0.2.0-zxm7fqen.mjs +2 -0
  228. package/dist/chunks/client-0.2.0-qtv4epf8.mjs +1 -0
  229. package/dist/chunks/color-0.2.0-287d7bh5.mjs +1 -0
  230. package/dist/chunks/compact-0.2.0-qd4qye1t.mjs +3 -0
  231. package/dist/chunks/config-0.2.0-2fafd18t.mjs +1 -0
  232. package/dist/chunks/config-0.2.0-rm6w636d.mjs +1 -0
  233. package/dist/chunks/{context-0.1.14-hyykwj83.mjs → context-0.2.0-k3gcs0rz.mjs} +1 -1
  234. package/dist/chunks/context-noninteractive-0.2.0-k88gx3fk.mjs +1 -0
  235. package/dist/chunks/conversation-0.2.0-7c5rr3m8.mjs +1 -0
  236. package/dist/chunks/{copy-0.1.14-kp76nh7r.mjs → copy-0.2.0-adh6xrdj.mjs} +1 -1
  237. package/dist/chunks/cost-0.2.0-mnj9rgcz.mjs +1 -0
  238. package/dist/chunks/createSession-0.2.0-9g9gw88m.mjs +1 -0
  239. package/dist/chunks/desktop-0.2.0-8f8qkdkf.mjs +1 -0
  240. package/dist/chunks/detectRepository-0.2.0-349d15w3.mjs +1 -0
  241. package/dist/chunks/detection-0.2.0-bwykm3rz.mjs +1 -0
  242. package/dist/chunks/diff-0.2.0-9vymm8d8.mjs +1 -0
  243. package/dist/chunks/doctor-0.2.0-rxs4z5h9.mjs +1 -0
  244. package/dist/chunks/earlyInput-0.2.0-693jvbhz.mjs +1 -0
  245. package/dist/chunks/{effort-0.1.14-d9xmff2t.mjs → effort-0.2.0-v3ery43s.mjs} +1 -1
  246. package/dist/chunks/environmentSelection-0.2.0-51bq9j0p.mjs +1 -0
  247. package/dist/chunks/environments-0.2.0-f16b46v6.mjs +1 -0
  248. package/dist/chunks/exit-0.2.0-gxsz2644.mjs +1 -0
  249. package/dist/chunks/export-0.2.0-3tnxr36f.mjs +2 -0
  250. package/dist/chunks/extra-usage-0.2.0-7rhvw0qy.mjs +1 -0
  251. package/dist/chunks/extra-usage-noninteractive-0.2.0-6jn1b44v.mjs +1 -0
  252. package/dist/chunks/fast-0.2.0-m1ebwhxs.mjs +1 -0
  253. package/dist/chunks/feedback-0.2.0-n6jvewnr.mjs +14 -0
  254. package/dist/chunks/firstPartyEventLogger-0.2.0-20cb3z2a.mjs +1 -0
  255. package/dist/chunks/git-0.2.0-c4ee3tsv.mjs +1 -0
  256. package/dist/chunks/githubModelsCredentials-0.2.0-cdvezs97.mjs +1 -0
  257. package/dist/chunks/growthbook-0.2.0-att0j7gv.mjs +1 -0
  258. package/dist/chunks/heapdump-0.2.0-78f6h5zs.mjs +6 -0
  259. package/dist/chunks/help-0.2.0-dtcb464y.mjs +1 -0
  260. package/dist/chunks/hookChains-0.2.0-svw4xjh6.mjs +3 -0
  261. package/dist/chunks/{hooks-0.1.14-jy9bt7s6.mjs → hooks-0.2.0-4hvw5w19.mjs} +1 -1
  262. package/dist/chunks/hooks-0.2.0-hw6zwnp8.mjs +1 -0
  263. package/dist/chunks/{ide-0.1.14-0ar60k4r.mjs → ide-0.2.0-3a10v8p7.mjs} +1 -1
  264. package/dist/chunks/image-processor-napi-0.2.0-8t8g5777.mjs +1 -0
  265. package/dist/chunks/index-0.2.0-0f0aw7rx.mjs +1 -0
  266. package/dist/chunks/index-0.2.0-1pr9vtkj.mjs +9 -0
  267. package/dist/chunks/index-0.2.0-2dyw5tmn.mjs +1 -0
  268. package/dist/chunks/index-0.2.0-728crm0q.mjs +1 -0
  269. package/dist/chunks/index-0.2.0-7gpqav46.mjs +2 -0
  270. package/dist/chunks/{index-0.1.14-y3aj57xa.mjs → index-0.2.0-7wttyxdg.mjs} +1 -1
  271. package/dist/chunks/index-0.2.0-b33awb2n.mjs +1 -0
  272. package/dist/chunks/{index-0.1.14-hqphn8m5.mjs → index-0.2.0-b71emahw.mjs} +1 -1
  273. package/dist/chunks/index-0.2.0-czy0090x.mjs +1 -0
  274. package/dist/chunks/index-0.2.0-dactt0mw.mjs +1 -0
  275. package/dist/chunks/index-0.2.0-f8nnmapf.mjs +1 -0
  276. package/dist/chunks/{index-0.1.14-8v5xwttx.mjs → index-0.2.0-h3z86gdx.mjs} +2 -2
  277. package/dist/chunks/index-0.2.0-jrzrpfvk.mjs +1 -0
  278. package/dist/chunks/index-0.2.0-mny50v93.mjs +1 -0
  279. package/dist/chunks/index-0.2.0-nhw2r534.mjs +1 -0
  280. package/dist/chunks/index-0.2.0-p27jjyjb.mjs +1 -0
  281. package/dist/chunks/index-0.2.0-pf79ppar.mjs +1 -0
  282. package/dist/chunks/index-0.2.0-tamm1gme.mjs +1 -0
  283. package/dist/chunks/index-0.2.0-tj7rwkwq.mjs +1 -0
  284. package/dist/chunks/{index-0.1.14-dmbjzapt.mjs → index-0.2.0-v2mzpt7h.mjs} +1 -1
  285. package/dist/chunks/index-0.2.0-w1m3v2y0.mjs +9 -0
  286. package/dist/chunks/index-0.2.0-z8m5wd19.mjs +1 -0
  287. package/dist/chunks/initReplBridge-0.2.0-5abnx6wk.mjs +1 -0
  288. package/dist/chunks/ink-0.2.0-v2d1zzt6.mjs +1 -0
  289. package/dist/chunks/{insights-0.1.14-9n58d9t8.mjs → insights-0.2.0-5q6x53j1.mjs} +1 -1
  290. package/dist/chunks/install-0.2.0-0vhcv1w2.mjs +1 -0
  291. package/dist/chunks/{install-github-app-0.1.14-kmetkgdq.mjs → install-github-app-0.2.0-xcxxtxzh.mjs} +1 -1
  292. package/dist/chunks/install-slack-app-0.2.0-12qw49ga.mjs +1 -0
  293. package/dist/chunks/{instrumentation-0.1.14-fsgk97cp.mjs → instrumentation-0.2.0-rfc7gt94.mjs} +1 -1
  294. package/dist/chunks/interactiveHelpers-0.2.0-69j5avm0.mjs +1 -0
  295. package/dist/chunks/keybindings-0.2.0-r9ensjdz.mjs +2 -0
  296. package/dist/chunks/knowledge-0.2.0-r222df23.mjs +2 -0
  297. package/dist/chunks/loadAgentsDir-0.2.0-wrpffsg4.mjs +1 -0
  298. package/dist/chunks/loadPluginHooks-0.2.0-4wkq3ar6.mjs +1 -0
  299. package/dist/chunks/lsp-0.2.0-vyrfqxg7.mjs +1 -0
  300. package/dist/chunks/main-0.2.0-r3wv26vg.mjs +1 -0
  301. package/dist/chunks/managedEnv-0.2.0-t6y3d3hp.mjs +1 -0
  302. package/dist/chunks/mcp-0.2.0-8rxg4gkx.mjs +1 -0
  303. package/dist/chunks/{mcp-0.1.14-dmtc9tjr.mjs → mcp-0.2.0-anen8fv7.mjs} +3 -3
  304. package/dist/chunks/mcp-0.2.0-brdssfg7.mjs +4 -0
  305. package/dist/chunks/mcpServer-0.2.0-816p5gfy.mjs +1 -0
  306. package/dist/chunks/mcpb-0.2.0-pte54tfe.mjs +1 -0
  307. package/dist/chunks/memory-0.2.0-vxnsyq72.mjs +3 -0
  308. package/dist/chunks/{mobile-0.1.14-bwjnmpy0.mjs → mobile-0.2.0-npn2rcmr.mjs} +1 -1
  309. package/dist/chunks/model-0.2.0-ajjp4znr.mjs +1 -0
  310. package/dist/chunks/model-0.2.0-dsy2yzwq.mjs +2 -0
  311. package/dist/chunks/oauth-0.2.0-xfb7vgc2.mjs +1 -0
  312. package/dist/chunks/{openaiShim-0.1.14-jv6416m8.mjs → openaiShim-0.2.0-5rabbqwx.mjs} +1 -1
  313. package/dist/chunks/output-style-0.2.0-0tea3sgj.mjs +1 -0
  314. package/dist/chunks/package-WSP46L7M-0.2.0-54rp856z.mjs +1 -0
  315. package/dist/chunks/parser-0.2.0-vxksd2kb.mjs +1 -0
  316. package/dist/chunks/passes-0.2.0-kb6z71d5.mjs +1 -0
  317. package/dist/chunks/permissions-0.2.0-pvq85gdj.mjs +3 -0
  318. package/dist/chunks/plan-0.2.0-nc7dtaj1.mjs +1 -0
  319. package/dist/chunks/plist-0.2.0-veq45ed0.mjs +1 -0
  320. package/dist/chunks/plugin-0.2.0-q0ehrvv3.mjs +29 -0
  321. package/dist/chunks/pluginStartupCheck-0.2.0-cnkhwj3j.mjs +1 -0
  322. package/dist/chunks/{plugins-0.1.14-4tggkexv.mjs → plugins-0.2.0-s45nc253.mjs} +2 -2
  323. package/dist/chunks/{print-0.1.14-m719w2yp.mjs → print-0.2.0-e9ckvtwf.mjs} +4 -4
  324. package/dist/chunks/privacy-settings-0.2.0-e9qgq22a.mjs +1 -0
  325. package/dist/chunks/process-0.2.0-5q69t7tp.mjs +1 -0
  326. package/dist/chunks/processBashCommand-0.2.0-n1qzbvn8.mjs +1 -0
  327. package/dist/chunks/{processSlashCommand-0.1.14-7w1v93bg.mjs → processSlashCommand-0.2.0-phzfkm35.mjs} +1 -1
  328. package/dist/chunks/prompt-0.2.0-8tvc5hkt.mjs +1 -0
  329. package/dist/chunks/prompt-0.2.0-znq97v28.mjs +1 -0
  330. package/dist/chunks/prompts-0.2.0-43x4r8s1.mjs +1 -0
  331. package/dist/chunks/provider-0.2.0-hdw0f0gf.mjs +2 -0
  332. package/dist/chunks/providerProfiles-0.2.0-fxf0kwk5.mjs +1 -0
  333. package/dist/chunks/rate-limit-options-0.2.0-6gs96kga.mjs +1 -0
  334. package/dist/chunks/registry-0.2.0-qn6vn1a0.mjs +1 -0
  335. package/dist/chunks/release-notes-0.2.0-n7d001cj.mjs +5 -0
  336. package/dist/chunks/reload-plugins-0.2.0-z66hj6gv.mjs +2 -0
  337. package/dist/chunks/{remote-env-0.1.14-jyc0gkhb.mjs → remote-env-0.2.0-tb94ty2j.mjs} +1 -1
  338. package/dist/chunks/remoteBridgeCore-0.2.0-tggkxmb3.mjs +1 -0
  339. package/dist/chunks/remoteSession-0.2.0-e5ph1zn5.mjs +1 -0
  340. package/dist/chunks/rename-0.2.0-1a2tr4rh.mjs +1 -0
  341. package/dist/chunks/replBridgeHandle-0.2.0-58503tj0.mjs +1 -0
  342. package/dist/chunks/resume-0.2.0-nbs1aptk.mjs +2 -0
  343. package/dist/chunks/rewind-0.2.0-9vcza7j6.mjs +1 -0
  344. package/dist/chunks/sandbox-adapter-0.2.0-rvjkxzab.mjs +1 -0
  345. package/dist/chunks/{sandbox-toggle-0.1.14-jz6x02qp.mjs → sandbox-toggle-0.2.0-0hc6gk75.mjs} +1 -1
  346. package/dist/chunks/session-0.2.0-2mjsp1sz.mjs +2 -0
  347. package/dist/chunks/sessionFileAccessHooks-0.2.0-mmvc7bkc.mjs +1 -0
  348. package/dist/chunks/sessionStorage-0.2.0-69fq3tpm.mjs +1 -0
  349. package/dist/chunks/setup-0.2.0-06edanfh.mjs +5 -0
  350. package/dist/chunks/sinks-0.2.0-wja94cem.mjs +1 -0
  351. package/dist/chunks/skills-0.2.0-3z33tjhh.mjs +1 -0
  352. package/dist/chunks/startupProfiler-0.2.0-rsbrxr2e.mjs +1 -0
  353. package/dist/chunks/state-0.2.0-cqgytazz.mjs +1 -0
  354. package/dist/chunks/{stats-0.1.14-rr3tpwqw.mjs → stats-0.2.0-916qgsak.mjs} +1 -1
  355. package/dist/chunks/status-0.2.0-qpr1a3ep.mjs +1 -0
  356. package/dist/chunks/stickers-0.2.0-s40586dt.mjs +1 -0
  357. package/dist/chunks/subprocessEnv-0.2.0-8kaz087n.mjs +1 -0
  358. package/dist/chunks/tasks-0.2.0-kyab838f.mjs +1 -0
  359. package/dist/chunks/teamHelpers-0.2.0-r08wn3az.mjs +1 -0
  360. package/dist/chunks/teammateModeSnapshot-0.2.0-ew1rr6e3.mjs +1 -0
  361. package/dist/chunks/teleport-0.2.0-m7dva816.mjs +1 -0
  362. package/dist/chunks/terminalSetup-0.2.0-28qz91bk.mjs +1 -0
  363. package/dist/chunks/theme-0.2.0-t6hf3219.mjs +1 -0
  364. package/dist/chunks/thinkback-0.2.0-s3ggf62w.mjs +1 -0
  365. package/dist/chunks/thinkback-play-0.2.0-bh4h025z.mjs +1 -0
  366. package/dist/chunks/toolPool-0.2.0-cb20byyb.mjs +1 -0
  367. package/dist/chunks/toolSearch-0.2.0-2b8zp823.mjs +1 -0
  368. package/dist/chunks/trustedDevice-0.2.0-bm94scqy.mjs +1 -0
  369. package/dist/chunks/{turndown.cjs-0.1.14-nw2rtcyd.mjs → turndown.cjs-0.2.0-deg6aa1p.mjs} +1 -1
  370. package/dist/chunks/{ultrareviewCommand-0.1.14-9twnt5bp.mjs → ultrareviewCommand-0.2.0-zw0s8h8q.mjs} +1 -1
  371. package/dist/chunks/{update-0.1.14-9dhep94r.mjs → update-0.2.0-7s5194yn.mjs} +11 -11
  372. package/dist/chunks/upgrade-0.2.0-qwr6an4v.mjs +1 -0
  373. package/dist/chunks/{upstreamproxy-0.1.14-sc0x4n7b.mjs → upstreamproxy-0.2.0-xm05d4w5.mjs} +1 -1
  374. package/dist/chunks/usage-0.2.0-mp3vm726.mjs +1 -0
  375. package/dist/chunks/util-0.2.0-dbnnzv2b.mjs +1 -0
  376. package/dist/chunks/utils-0.2.0-memk8639.mjs +1 -0
  377. package/dist/chunks/vim-0.2.0-twpbq41v.mjs +1 -0
  378. package/dist/chunks/watcher-0.2.0-cfz0cgxt.mjs +1 -0
  379. package/dist/chunks/{wiki-0.1.14-s3exyf45.mjs → wiki-0.2.0-v5sdh8vv.mjs} +1 -1
  380. package/dist/chunks/worktree-0.2.0-cgeqcbwb.mjs +1 -0
  381. package/dist/chunks/worktreeModeEnabled-0.2.0-hb1hv05w.mjs +1 -0
  382. package/dist/chunks/wrapper-0.2.0-661tvhay.mjs +7 -0
  383. package/dist/claudio-vscode.vsix +0 -0
  384. package/dist/cli.mjs +3 -3
  385. package/package.json +1 -1
  386. package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +0 -1
  387. package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +0 -1
  388. package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +0 -1
  389. package/dist/chunks/AssistantSessionChooser-0.1.14-tf848k8v.mjs +0 -1
  390. package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +0 -1
  391. package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +0 -1
  392. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +0 -1
  393. package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +0 -1
  394. package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +0 -1
  395. package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +0 -1
  396. package/dist/chunks/ITermBackend-0.1.14-xtdr5bmp.mjs +0 -1
  397. package/dist/chunks/InProcessTransport-0.1.14-wdqgcpb4.mjs +0 -1
  398. package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +0 -1
  399. package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +0 -1
  400. package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +0 -1
  401. package/dist/chunks/Onboarding-0.1.14-1rddgg2b.mjs +0 -1
  402. package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +0 -1
  403. package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +0 -1
  404. package/dist/chunks/ResumeConversation-0.1.14-79hg5s2w.mjs +0 -1
  405. package/dist/chunks/SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs +0 -1
  406. package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +0 -1
  407. package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +0 -1
  408. package/dist/chunks/TeleportResumeWrapper-0.1.14-8wfa8twy.mjs +0 -1
  409. package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +0 -1
  410. package/dist/chunks/TrustDialog-0.1.14-zvmfmtg5.mjs +0 -1
  411. package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +0 -1
  412. package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +0 -1
  413. package/dist/chunks/agents-0.1.14-nm4k11re.mjs +0 -3
  414. package/dist/chunks/agents-0.1.14-pjr42t23.mjs +0 -111
  415. package/dist/chunks/api-0.1.14-v09922m9.mjs +0 -1
  416. package/dist/chunks/asciicast-0.1.14-kgp9j4z6.mjs +0 -1
  417. package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +0 -1
  418. package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +0 -1
  419. package/dist/chunks/auth-0.1.14-vj6095mm.mjs +0 -1
  420. package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +0 -1
  421. package/dist/chunks/branch-0.1.14-r5tt7cec.mjs +0 -4
  422. package/dist/chunks/bridgePointer-0.1.14-2w1wvxgt.mjs +0 -1
  423. package/dist/chunks/cacache-0.1.14-3vw5qkqs.mjs +0 -1
  424. package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +0 -1
  425. package/dist/chunks/claudeDesktop-0.1.14-0df0z4v6.mjs +0 -1
  426. package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +0 -1
  427. package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +0 -1
  428. package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +0 -1
  429. package/dist/chunks/cli-0.1.14-08ambmnj.mjs +0 -2
  430. package/dist/chunks/cli-0.1.14-0a8ckx07.mjs +0 -2
  431. package/dist/chunks/cli-0.1.14-0ctjta81.mjs +0 -5
  432. package/dist/chunks/cli-0.1.14-0x3m90bk.mjs +0 -2
  433. package/dist/chunks/cli-0.1.14-16jrehc2.mjs +0 -2
  434. package/dist/chunks/cli-0.1.14-1g5jq0j8.mjs +0 -2
  435. package/dist/chunks/cli-0.1.14-1shkmy81.mjs +0 -2
  436. package/dist/chunks/cli-0.1.14-1xkst5wv.mjs +0 -2
  437. package/dist/chunks/cli-0.1.14-244fknyr.mjs +0 -2
  438. package/dist/chunks/cli-0.1.14-25ta9abj.mjs +0 -2
  439. package/dist/chunks/cli-0.1.14-28exj8zm.mjs +0 -2
  440. package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +0 -2
  441. package/dist/chunks/cli-0.1.14-373staaj.mjs +0 -2
  442. package/dist/chunks/cli-0.1.14-39y8qfj7.mjs +0 -2
  443. package/dist/chunks/cli-0.1.14-3scecgzx.mjs +0 -6
  444. package/dist/chunks/cli-0.1.14-3w7fbjhy.mjs +0 -2
  445. package/dist/chunks/cli-0.1.14-3yj4dkmn.mjs +0 -2
  446. package/dist/chunks/cli-0.1.14-3zj4s594.mjs +0 -2
  447. package/dist/chunks/cli-0.1.14-42sm5vzr.mjs +0 -2
  448. package/dist/chunks/cli-0.1.14-442a367x.mjs +0 -2
  449. package/dist/chunks/cli-0.1.14-4mde8z7h.mjs +0 -2
  450. package/dist/chunks/cli-0.1.14-4tmbgg29.mjs +0 -2
  451. package/dist/chunks/cli-0.1.14-4wdh3k7y.mjs +0 -2
  452. package/dist/chunks/cli-0.1.14-59axynr8.mjs +0 -2
  453. package/dist/chunks/cli-0.1.14-5brvxst8.mjs +0 -2
  454. package/dist/chunks/cli-0.1.14-5e5kkjam.mjs +0 -2
  455. package/dist/chunks/cli-0.1.14-5rp4y3q2.mjs +0 -2
  456. package/dist/chunks/cli-0.1.14-5te1nbdc.mjs +0 -2
  457. package/dist/chunks/cli-0.1.14-68wbwy40.mjs +0 -4
  458. package/dist/chunks/cli-0.1.14-71m91842.mjs +0 -2
  459. package/dist/chunks/cli-0.1.14-71sp86jb.mjs +0 -2
  460. package/dist/chunks/cli-0.1.14-77ha4n58.mjs +0 -2
  461. package/dist/chunks/cli-0.1.14-7zjhrz42.mjs +0 -5
  462. package/dist/chunks/cli-0.1.14-7zz7abpc.mjs +0 -2
  463. package/dist/chunks/cli-0.1.14-86gckvrm.mjs +0 -2
  464. package/dist/chunks/cli-0.1.14-893g12wf.mjs +0 -2
  465. package/dist/chunks/cli-0.1.14-8fr10t94.mjs +0 -17
  466. package/dist/chunks/cli-0.1.14-90zkq8jm.mjs +0 -2
  467. package/dist/chunks/cli-0.1.14-9b8kspnd.mjs +0 -2
  468. package/dist/chunks/cli-0.1.14-9evp0ewn.mjs +0 -2
  469. package/dist/chunks/cli-0.1.14-9gem156t.mjs +0 -2
  470. package/dist/chunks/cli-0.1.14-9kxzs20h.mjs +0 -2
  471. package/dist/chunks/cli-0.1.14-9vc52dnj.mjs +0 -2
  472. package/dist/chunks/cli-0.1.14-a15xdexp.mjs +0 -12
  473. package/dist/chunks/cli-0.1.14-a6kwmqhz.mjs +0 -16
  474. package/dist/chunks/cli-0.1.14-a9ytrehs.mjs +0 -2
  475. package/dist/chunks/cli-0.1.14-ab0rxxvk.mjs +0 -2
  476. package/dist/chunks/cli-0.1.14-adz0gnzy.mjs +0 -2
  477. package/dist/chunks/cli-0.1.14-aky5tegx.mjs +0 -2
  478. package/dist/chunks/cli-0.1.14-akz49g5v.mjs +0 -2
  479. package/dist/chunks/cli-0.1.14-as9nq99n.mjs +0 -2
  480. package/dist/chunks/cli-0.1.14-bat0c779.mjs +0 -2
  481. package/dist/chunks/cli-0.1.14-bgqm4vsk.mjs +0 -2
  482. package/dist/chunks/cli-0.1.14-c0bv9eha.mjs +0 -4
  483. package/dist/chunks/cli-0.1.14-c4v2kfdn.mjs +0 -2
  484. package/dist/chunks/cli-0.1.14-cdby401e.mjs +0 -2
  485. package/dist/chunks/cli-0.1.14-ch9c9c38.mjs +0 -2
  486. package/dist/chunks/cli-0.1.14-ckjcet41.mjs +0 -2
  487. package/dist/chunks/cli-0.1.14-cp2pada5.mjs +0 -2
  488. package/dist/chunks/cli-0.1.14-d483gd53.mjs +0 -2
  489. package/dist/chunks/cli-0.1.14-d4zkffre.mjs +0 -2
  490. package/dist/chunks/cli-0.1.14-dcgxqsyp.mjs +0 -2
  491. package/dist/chunks/cli-0.1.14-dq7jkw1n.mjs +0 -2
  492. package/dist/chunks/cli-0.1.14-dqads3y3.mjs +0 -2
  493. package/dist/chunks/cli-0.1.14-dt11hwkv.mjs +0 -2
  494. package/dist/chunks/cli-0.1.14-dw74ppax.mjs +0 -2
  495. package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +0 -2
  496. package/dist/chunks/cli-0.1.14-e40hm9sd.mjs +0 -2
  497. package/dist/chunks/cli-0.1.14-edjtfw4q.mjs +0 -2
  498. package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +0 -2
  499. package/dist/chunks/cli-0.1.14-eq0gbnpg.mjs +0 -2
  500. package/dist/chunks/cli-0.1.14-fdpfr31f.mjs +0 -2
  501. package/dist/chunks/cli-0.1.14-fhfj87ej.mjs +0 -2
  502. package/dist/chunks/cli-0.1.14-fmgz6tx2.mjs +0 -5
  503. package/dist/chunks/cli-0.1.14-fmmxw3gj.mjs +0 -2
  504. package/dist/chunks/cli-0.1.14-fspxpmh7.mjs +0 -2
  505. package/dist/chunks/cli-0.1.14-g5q2xqp3.mjs +0 -2
  506. package/dist/chunks/cli-0.1.14-gdm27acz.mjs +0 -2
  507. package/dist/chunks/cli-0.1.14-harz1d9d.mjs +0 -2
  508. package/dist/chunks/cli-0.1.14-hjktwgtk.mjs +0 -2
  509. package/dist/chunks/cli-0.1.14-hkaqyhx1.mjs +0 -2
  510. package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +0 -2
  511. package/dist/chunks/cli-0.1.14-jbn4ywda.mjs +0 -6
  512. package/dist/chunks/cli-0.1.14-jf8019sb.mjs +0 -2
  513. package/dist/chunks/cli-0.1.14-jnfs73kb.mjs +0 -2
  514. package/dist/chunks/cli-0.1.14-k8nwm06m.mjs +0 -2
  515. package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +0 -2
  516. package/dist/chunks/cli-0.1.14-kcrsww4s.mjs +0 -2
  517. package/dist/chunks/cli-0.1.14-khtq9cgy.mjs +0 -2
  518. package/dist/chunks/cli-0.1.14-kn1f2x94.mjs +0 -2
  519. package/dist/chunks/cli-0.1.14-kpsh76mj.mjs +0 -2
  520. package/dist/chunks/cli-0.1.14-kt6sq4nr.mjs +0 -2
  521. package/dist/chunks/cli-0.1.14-ktz3cgwa.mjs +0 -2
  522. package/dist/chunks/cli-0.1.14-kv650aha.mjs +0 -2
  523. package/dist/chunks/cli-0.1.14-m75ce5ve.mjs +0 -2
  524. package/dist/chunks/cli-0.1.14-m7khgn2k.mjs +0 -2
  525. package/dist/chunks/cli-0.1.14-m7xchegb.mjs +0 -2
  526. package/dist/chunks/cli-0.1.14-mgcmwvcn.mjs +0 -4
  527. package/dist/chunks/cli-0.1.14-mngn74ga.mjs +0 -2
  528. package/dist/chunks/cli-0.1.14-mx9yse7m.mjs +0 -2
  529. package/dist/chunks/cli-0.1.14-nmmtd1d6.mjs +0 -2
  530. package/dist/chunks/cli-0.1.14-nnr43nyg.mjs +0 -2
  531. package/dist/chunks/cli-0.1.14-ntq8w1ss.mjs +0 -2
  532. package/dist/chunks/cli-0.1.14-nzsj259d.mjs +0 -2
  533. package/dist/chunks/cli-0.1.14-qe5zyvfh.mjs +0 -2
  534. package/dist/chunks/cli-0.1.14-qyx55m6c.mjs +0 -3
  535. package/dist/chunks/cli-0.1.14-r00mjm41.mjs +0 -2
  536. package/dist/chunks/cli-0.1.14-r46jh9af.mjs +0 -2
  537. package/dist/chunks/cli-0.1.14-r5qyt63x.mjs +0 -2
  538. package/dist/chunks/cli-0.1.14-rtstk94r.mjs +0 -2
  539. package/dist/chunks/cli-0.1.14-s9m1y93w.mjs +0 -2
  540. package/dist/chunks/cli-0.1.14-sb7dm65b.mjs +0 -2
  541. package/dist/chunks/cli-0.1.14-sn1rf71y.mjs +0 -2
  542. package/dist/chunks/cli-0.1.14-svqkx41a.mjs +0 -2
  543. package/dist/chunks/cli-0.1.14-t3fga5je.mjs +0 -2
  544. package/dist/chunks/cli-0.1.14-tkb5t0xv.mjs +0 -2
  545. package/dist/chunks/cli-0.1.14-tqexnkmz.mjs +0 -2
  546. package/dist/chunks/cli-0.1.14-tyv29sz9.mjs +0 -2
  547. package/dist/chunks/cli-0.1.14-v2acyy7r.mjs +0 -4
  548. package/dist/chunks/cli-0.1.14-v9q1cxjy.mjs +0 -2
  549. package/dist/chunks/cli-0.1.14-vp1kn532.mjs +0 -7
  550. package/dist/chunks/cli-0.1.14-w3rwfr1d.mjs +0 -2
  551. package/dist/chunks/cli-0.1.14-w6nzk5dc.mjs +0 -2
  552. package/dist/chunks/cli-0.1.14-w8efvbh6.mjs +0 -2
  553. package/dist/chunks/cli-0.1.14-whe4bxfr.mjs +0 -2
  554. package/dist/chunks/cli-0.1.14-wwehdfwx.mjs +0 -9
  555. package/dist/chunks/cli-0.1.14-wz5yr49j.mjs +0 -2
  556. package/dist/chunks/cli-0.1.14-x88ypr2r.mjs +0 -2
  557. package/dist/chunks/cli-0.1.14-xp6rc33g.mjs +0 -2
  558. package/dist/chunks/cli-0.1.14-y2wxptpk.mjs +0 -2
  559. package/dist/chunks/cli-0.1.14-y55hrwdp.mjs +0 -3
  560. package/dist/chunks/cli-0.1.14-y56629hj.mjs +0 -5
  561. package/dist/chunks/cli-0.1.14-yagh75p5.mjs +0 -2
  562. package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +0 -2
  563. package/dist/chunks/cli-0.1.14-yxce1bdc.mjs +0 -3
  564. package/dist/chunks/cli-0.1.14-yxq1tr3a.mjs +0 -2
  565. package/dist/chunks/cli-0.1.14-z0ckw2hb.mjs +0 -2
  566. package/dist/chunks/cli-0.1.14-z8j2n955.mjs +0 -2
  567. package/dist/chunks/cli-0.1.14-zjqt3r89.mjs +0 -2
  568. package/dist/chunks/cli-0.1.14-zq66y0mv.mjs +0 -2
  569. package/dist/chunks/cli-0.1.14-zrmretjp.mjs +0 -4
  570. package/dist/chunks/cli-0.1.14-zs4vmj7z.mjs +0 -4
  571. package/dist/chunks/client-0.1.14-3t6sfwha.mjs +0 -1
  572. package/dist/chunks/color-0.1.14-65rf0ap9.mjs +0 -1
  573. package/dist/chunks/compact-0.1.14-mx9ng433.mjs +0 -3
  574. package/dist/chunks/config-0.1.14-1v5v86ax.mjs +0 -1
  575. package/dist/chunks/config-0.1.14-76vavy7t.mjs +0 -1
  576. package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +0 -1
  577. package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +0 -1
  578. package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +0 -1
  579. package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +0 -1
  580. package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +0 -1
  581. package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +0 -1
  582. package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +0 -1
  583. package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +0 -1
  584. package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +0 -1
  585. package/dist/chunks/earlyInput-0.1.14-997vtdw4.mjs +0 -1
  586. package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +0 -1
  587. package/dist/chunks/environments-0.1.14-7napbg6g.mjs +0 -1
  588. package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +0 -1
  589. package/dist/chunks/export-0.1.14-qpt72paa.mjs +0 -2
  590. package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +0 -1
  591. package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +0 -1
  592. package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +0 -1
  593. package/dist/chunks/feedback-0.1.14-qhk5ek0b.mjs +0 -14
  594. package/dist/chunks/firstPartyEventLogger-0.1.14-78y09nr6.mjs +0 -1
  595. package/dist/chunks/git-0.1.14-zvsa13gk.mjs +0 -1
  596. package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +0 -1
  597. package/dist/chunks/growthbook-0.1.14-dcdeqgyq.mjs +0 -1
  598. package/dist/chunks/heapdump-0.1.14-tj7w79dt.mjs +0 -6
  599. package/dist/chunks/help-0.1.14-gk9s0stg.mjs +0 -1
  600. package/dist/chunks/hookChains-0.1.14-wng6tzfd.mjs +0 -3
  601. package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +0 -1
  602. package/dist/chunks/image-processor-napi-0.1.14-p1r3vkb0.mjs +0 -1
  603. package/dist/chunks/index-0.1.14-071xy8v4.mjs +0 -1
  604. package/dist/chunks/index-0.1.14-1mttyja2.mjs +0 -2
  605. package/dist/chunks/index-0.1.14-272zxs9n.mjs +0 -1
  606. package/dist/chunks/index-0.1.14-2v6wa4p4.mjs +0 -1
  607. package/dist/chunks/index-0.1.14-2x59va64.mjs +0 -1
  608. package/dist/chunks/index-0.1.14-3m7vrt91.mjs +0 -1
  609. package/dist/chunks/index-0.1.14-4hv4f8g9.mjs +0 -1
  610. package/dist/chunks/index-0.1.14-ac13h1t1.mjs +0 -1
  611. package/dist/chunks/index-0.1.14-g5kkm9ng.mjs +0 -1
  612. package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +0 -1
  613. package/dist/chunks/index-0.1.14-ksa4vdak.mjs +0 -9
  614. package/dist/chunks/index-0.1.14-mzhk0gvs.mjs +0 -1
  615. package/dist/chunks/index-0.1.14-qrykb444.mjs +0 -9
  616. package/dist/chunks/index-0.1.14-qvap58wt.mjs +0 -1
  617. package/dist/chunks/index-0.1.14-vygpnv88.mjs +0 -1
  618. package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +0 -1
  619. package/dist/chunks/index-0.1.14-yjw9017n.mjs +0 -1
  620. package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +0 -1
  621. package/dist/chunks/initReplBridge-0.1.14-qe820gff.mjs +0 -1
  622. package/dist/chunks/ink-0.1.14-kxs7ygns.mjs +0 -1
  623. package/dist/chunks/install-0.1.14-1zyjez10.mjs +0 -1
  624. package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +0 -1
  625. package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +0 -1
  626. package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +0 -2
  627. package/dist/chunks/knowledge-0.1.14-f7w4damb.mjs +0 -2
  628. package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +0 -1
  629. package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +0 -1
  630. package/dist/chunks/lsp-0.1.14-cks4jevz.mjs +0 -1
  631. package/dist/chunks/main-0.1.14-94wst05h.mjs +0 -1
  632. package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +0 -1
  633. package/dist/chunks/mcp-0.1.14-3tzc0agq.mjs +0 -1
  634. package/dist/chunks/mcp-0.1.14-tepbr987.mjs +0 -4
  635. package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +0 -1
  636. package/dist/chunks/mcpb-0.1.14-ffa57420.mjs +0 -1
  637. package/dist/chunks/memory-0.1.14-cgx518q9.mjs +0 -3
  638. package/dist/chunks/model-0.1.14-rq2dkze7.mjs +0 -2
  639. package/dist/chunks/model-0.1.14-zg566cz0.mjs +0 -1
  640. package/dist/chunks/oauth-0.1.14-gftadks2.mjs +0 -1
  641. package/dist/chunks/output-style-0.1.14-v41ce6t5.mjs +0 -1
  642. package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +0 -1
  643. package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +0 -1
  644. package/dist/chunks/passes-0.1.14-0jjh5wg5.mjs +0 -1
  645. package/dist/chunks/permissions-0.1.14-hh0d709r.mjs +0 -3
  646. package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +0 -1
  647. package/dist/chunks/plist-0.1.14-ssqtjjq9.mjs +0 -1
  648. package/dist/chunks/plugin-0.1.14-01jhhdd3.mjs +0 -29
  649. package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +0 -1
  650. package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +0 -1
  651. package/dist/chunks/process-0.1.14-vgdgd7sq.mjs +0 -1
  652. package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +0 -1
  653. package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +0 -1
  654. package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +0 -1
  655. package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +0 -1
  656. package/dist/chunks/provider-0.1.14-xs34vy3w.mjs +0 -2
  657. package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +0 -1
  658. package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +0 -1
  659. package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +0 -1
  660. package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +0 -5
  661. package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +0 -2
  662. package/dist/chunks/remoteBridgeCore-0.1.14-8kt4ffzy.mjs +0 -1
  663. package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +0 -1
  664. package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +0 -1
  665. package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +0 -1
  666. package/dist/chunks/resume-0.1.14-7sda36n0.mjs +0 -2
  667. package/dist/chunks/rewind-0.1.14-zba66at0.mjs +0 -1
  668. package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +0 -1
  669. package/dist/chunks/session-0.1.14-5qsfxmey.mjs +0 -2
  670. package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +0 -1
  671. package/dist/chunks/sessionStorage-0.1.14-sz2medpp.mjs +0 -1
  672. package/dist/chunks/setup-0.1.14-f13rnmdg.mjs +0 -5
  673. package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +0 -1
  674. package/dist/chunks/skills-0.1.14-1vvr60ph.mjs +0 -1
  675. package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +0 -1
  676. package/dist/chunks/state-0.1.14-rj00ry6n.mjs +0 -1
  677. package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +0 -1
  678. package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +0 -1
  679. package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +0 -1
  680. package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +0 -1
  681. package/dist/chunks/teamHelpers-0.1.14-zv908fgk.mjs +0 -1
  682. package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +0 -1
  683. package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +0 -1
  684. package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +0 -1
  685. package/dist/chunks/theme-0.1.14-202es8wd.mjs +0 -1
  686. package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +0 -1
  687. package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +0 -1
  688. package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +0 -1
  689. package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +0 -1
  690. package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +0 -1
  691. package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +0 -1
  692. package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +0 -1
  693. package/dist/chunks/util-0.1.14-vfg50acy.mjs +0 -1
  694. package/dist/chunks/utils-0.1.14-heqqycdx.mjs +0 -1
  695. package/dist/chunks/vim-0.1.14-z71303w7.mjs +0 -1
  696. package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +0 -1
  697. package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +0 -1
  698. package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +0 -1
  699. package/dist/chunks/wrapper-0.1.14-a4mesaeh.mjs +0 -7
  700. /package/dist/chunks/{cli-0.1.14-tsth8deg.mjs → cli-0.2.0-4tn02vgd.mjs} +0 -0
  701. /package/dist/chunks/{cli-0.1.14-et8yewbf.mjs → cli-0.2.0-50cf7d1p.mjs} +0 -0
  702. /package/dist/chunks/{cli-0.1.14-cahvg3jq.mjs → cli-0.2.0-dgenwca0.mjs} +0 -0
  703. /package/dist/chunks/{cli-0.1.14-nbvvdkk2.mjs → cli-0.2.0-rnpcefe5.mjs} +0 -0
@@ -1,3 +0,0 @@
1
- import{Gu as a,Ju as Ej,Ss as t,gt as Cj}from"./cli-0.1.14-j5sbzwhy.mjs";import"./cli-0.1.14-k8nwm06m.mjs";import"./cli-0.1.14-3yj4dkmn.mjs";import"./cli-0.1.14-nmmtd1d6.mjs";import"./cli-0.1.14-ntq8w1ss.mjs";import"./cli-0.1.14-7zz7abpc.mjs";import"./cli-0.1.14-c4v2kfdn.mjs";import{jQ as jj,yQ as Kj}from"./cli-0.1.14-ch9c9c38.mjs";import"./cli-0.1.14-25ta9abj.mjs";import"./cli-0.1.14-86gckvrm.mjs";import"./cli-0.1.14-w3rwfr1d.mjs";import"./cli-0.1.14-edjtfw4q.mjs";import{BR as Wj,rR as d,sR as n,uR as e}from"./cli-0.1.14-4mde8z7h.mjs";import"./cli-0.1.14-dqads3y3.mjs";import"./cli-0.1.14-ta3w93yb.mjs";import"./cli-0.1.14-zjqt3r89.mjs";import"./cli-0.1.14-aky5tegx.mjs";import"./cli-0.1.14-w6nzk5dc.mjs";import"./cli-0.1.14-seq2fm2d.mjs";import"./cli-0.1.14-qyx55m6c.mjs";import"./cli-0.1.14-fspxpmh7.mjs";import"./cli-0.1.14-as1s0b0t.mjs";import"./cli-0.1.14-3scecgzx.mjs";import"./cli-0.1.14-hjktwgtk.mjs";import"./cli-0.1.14-harz1d9d.mjs";import"./cli-0.1.14-jf8019sb.mjs";import"./cli-0.1.14-d4zkffre.mjs";import"./cli-0.1.14-1xkst5wv.mjs";import"./cli-0.1.14-cp2pada5.mjs";import{tW as M,uW as kj}from"./cli-0.1.14-0x3m90bk.mjs";import"./cli-0.1.14-jpe9sxch.mjs";import"./cli-0.1.14-59axynr8.mjs";import"./cli-0.1.14-71m91842.mjs";import"./cli-0.1.14-1g5jq0j8.mjs";import"./cli-0.1.14-0ctjta81.mjs";import"./cli-0.1.14-77ha4n58.mjs";import"./cli-0.1.14-wz5yr49j.mjs";import"./cli-0.1.14-kpsh76mj.mjs";import"./cli-0.1.14-5brvxst8.mjs";import"./cli-0.1.14-a6kwmqhz.mjs";import"./cli-0.1.14-rc5yd94n.mjs";import"./cli-0.1.14-jbn4ywda.mjs";import"./cli-0.1.14-wgatq2fj.mjs";import"./cli-0.1.14-adz0gnzy.mjs";import"./cli-0.1.14-stv1d0q3.mjs";import"./cli-0.1.14-heevc19y.mjs";import"./cli-0.1.14-kv650aha.mjs";import{A9 as Bj,F7 as i,G7 as _j,J5 as c,L5 as Yj,q8 as r,v8 as bj,y9 as o}from"./cli-0.1.14-2f7s5xbd.mjs";import{oca as H,qca as Zj}from"./cli-0.1.14-kmsvd61a.mjs";import"./cli-0.1.14-cdby401e.mjs";import"./cli-0.1.14-9vc52dnj.mjs";import"./cli-0.1.14-442a367x.mjs";import"./cli-0.1.14-z8j2n955.mjs";import"./cli-0.1.14-mgcmwvcn.mjs";import"./cli-0.1.14-16jrehc2.mjs";import{yea as K,zea as $j}from"./cli-0.1.14-t3fga5je.mjs";import{Zea as l,cfa as Vj,wfa as w,zfa as Xj}from"./cli-0.1.14-2mzb5ath.mjs";import{Dfa as s,Nfa as Tj}from"./cli-0.1.14-s9m1y93w.mjs";import"./cli-0.1.14-whe4bxfr.mjs";import{Bha as u,mla as Qj}from"./cli-0.1.14-r46jh9af.mjs";import"./cli-0.1.14-akz49g5v.mjs";import{bma as Pj,cma as I}from"./cli-0.1.14-qn4ftczz.mjs";import{createHash as qj}from"crypto";import{statSync as Mj}from"fs";import{join as Aj,resolve as Sj}from"path";function V(j){return j}function m(j){return structuredClone(j)}function k(){return{version:1,enabled:!1,maxChainDepth:Fj,defaultCooldownMs:Gj,defaultDedupWindowMs:Hj,rules:[]}}function gj(){let j=process.env[yj];if(j===void 0)return!1;return s(j)}function uj(j){let q=j||process.env[Dj];if(q)return Sj(v(),q);return Aj(v(),Ij)}function v(){try{return u()}catch{return process.cwd()}}function sj(j){if(j.trigger.outcomes)return j.trigger.outcomes;if(j.trigger.outcome)return[j.trigger.outcome];return}function _(j){return j??{}}function Y(j,q){for(let G of q){let A=j[G];if(typeof A==="string"&&A.length>0)return A}return}function lj(j,q){let G=q.split(".").filter(Boolean),A=j;for(let F of G){if(typeof A!=="object"||A===null)return;A=A[F]}return A}function cj(j,q){if(!j)return!0;let G=_(q.payload);if(j.toolNames&&j.toolNames.length>0){let A=Y(G,["tool_name","toolName"]);if(!A||!j.toolNames.includes(A))return!1}if(j.taskStatuses&&j.taskStatuses.length>0){let A=Y(G,["task_status","taskStatus","status"]);if(!A||!j.taskStatuses.includes(A))return!1}if(j.errorIncludes&&j.errorIncludes.length>0){let A=Y(G,["error","reason","message"])??"";if(!j.errorIncludes.some((J)=>A.toLowerCase().includes(J.toLowerCase())))return!1}if(j.eventFieldEquals){for(let[A,F]of Object.entries(j.eventFieldEquals))if(lj(G,A)!==F)return!1}return!0}function ij(j,q){let G=[];for(let A of j){if(A.enabled===!1)continue;if(A.trigger.event!==q.eventName)continue;let F=sj(A);if(F&&F.length>0&&!F.includes(q.outcome))continue;if(!cj(A.condition,q))continue;G.push({rule:A})}return G}function rj(j){let q=uj(j?.pathOverride);if(!gj())return{config:k(),path:q,exists:!1,fromCache:!1};let G;try{let P=Mj(q);G={mtimeMs:P.mtimeMs,size:P.size}}catch(P){if(l(P)!=="ENOENT")w(`[hook-chains] Failed to stat config at ${q}: ${String(P)}`);else if(Z?.path===q)Z=null;return{config:k(),path:q,exists:!1,fromCache:!1}}if(!j?.forceReload&&Z&&Z.path===q&&Z.mtimeMs===G.mtimeMs&&Z.size===G.size&&Date.now()-Z.loadedAtMs<=Uj)return{config:m(Z.config),path:q,exists:!0,fromCache:!0};let A;try{A=i(q)}catch(P){return{config:k(),path:q,exists:!0,fromCache:!1,error:`Failed to read hook chain config file: ${String(P)}`}}let F=r(A,!1);if(!F)return{config:k(),path:q,exists:!0,fromCache:!1,error:"Invalid JSON in hook chain config file."};let J=vj.safeParse(F);if(!J.success){let P=J.error.issues.map((Q)=>Q.message).join("; ");return{config:k(),path:q,exists:!0,fromCache:!1,error:P}}let O="hookChains"in J.data?J.data.hookChains:J.data;return Z={path:q,mtimeMs:G.mtimeMs,size:G.size,loadedAtMs:Date.now(),config:O},{config:m(O),path:q,exists:!0,fromCache:!1}}function f(j,q){if(j===null||j===void 0)return j;if(typeof j==="string"||typeof j==="number"||typeof j==="boolean")return j;if(Array.isArray(j))return j.map((G)=>f(G,q));if(typeof j==="object"){if(q.has(j))return"[Circular]";q.add(j);let G=j,A={};for(let F of Object.keys(G).sort())A[F]=f(G[F],q);return A}return String(j)}function U(j){try{return JSON.stringify(f(j,new WeakSet))}catch{return"[unserializable]"}}function oj(j){let q=_(j.payload),G={eventName:j.eventName,outcome:j.outcome,taskId:Y(q,["task_id","taskId"]),toolUseId:Y(q,["tool_use_id","toolUseId"]),sessionId:Y(q,["session_id","sessionId"]),error:Y(q,["error","reason"])};return qj("sha1").update(U({coreIdentity:G,payload:q})).digest("hex")}function dj(j){for(let[q,G]of B.entries())if(G<=j)B.delete(q);for(let[q,G]of b.entries())if(G<=j)b.delete(q);g(B,fj),g(b,zj)}function g(j,q){if(j.size<=q)return;let G=[...j.entries()].sort((F,J)=>F[1]-J[1]),A=j.size-q;for(let F=0;F<A;F++){let J=G[F];if(!J)break;j.delete(J[0])}}function p(j,q){return j.replace(/\$\{([A-Z0-9_]+)\}|\$([A-Z0-9_]+)/g,(G,A,F)=>{return q[A||F]??""})}function nj(j,q,G){let A=_(G.payload),F=U(A),J=Y(A,["task_subject","taskSubject"]),O=Y(A,["task_description","taskDescription"]),P=Y(A,["error","reason"]),Q={EVENT_NAME:G.eventName,OUTCOME:G.outcome,RULE_ID:q.id,TASK_SUBJECT:J??"",TASK_DESCRIPTION:O??"",ERROR:P??"",PAYLOAD_JSON:F};if(j.promptTemplate)return p(j.promptTemplate,Q);let X=["You are a fallback recovery agent triggered by a Self-Healing Hook Chain rule.",`Event: ${G.eventName}`,`Outcome: ${G.outcome}`,`Rule ID: ${q.id}`];if(J)X.push(`Task subject: ${J}`);if(O)X.push(`Task description: ${O}`);if(P)X.push(`Failure details: ${P}`);return X.push("Goal: perform a minimal, safe recovery attempt and report what changed, what failed, and recommended next steps."),X.push(`Failure payload JSON: ${F}`),X.join(`
2
- `)}function ej(j,q,G){let A=_(G.payload),F=U(A),J={EVENT_NAME:G.eventName,OUTCOME:G.outcome,RULE_ID:q.id,PAYLOAD_JSON:F,ERROR:Y(A,["error","reason"])??"",TASK_SUBJECT:Y(A,["task_subject","taskSubject"])??"",TASK_ID:Y(A,["task_id","taskId"])??""},O=j.summary?p(j.summary,J):`Hook chain ${q.id} triggered (${G.eventName}/${G.outcome})`,P=j.messageTemplate?p(j.messageTemplate,J):["Self-healing hook chain triggered.",`Rule: ${q.id}`,`Event: ${G.eventName}`,`Outcome: ${G.outcome}`,`Error: ${J.ERROR||"n/a"}`,`Task: ${J.TASK_SUBJECT||J.TASK_ID||"n/a"}`,`Payload: ${F}`].join(`
3
- `);return{summary:O,body:P}}async function tj(j){let{action:q,rule:G,event:A,runtime:F}=j;if(F.signal?.aborted)return{status:"skipped",reason:"aborted"};if(!F.onSpawnFallbackAgent)return{status:"failed",reason:"No fallback agent launcher is registered in runtime context"};let J=_(A.payload),O=q.description??`Fallback recovery: ${A.eventName} (${A.outcome})`,P={ruleId:G.id,eventName:A.eventName,outcome:A.outcome,description:O,prompt:nj(q,G,A),agentType:q.agentType,model:q.model,runInBackground:!0,payload:J,signal:F.signal};try{let Q=await F.onSpawnFallbackAgent(P);if(!Q.launched)return{status:"failed",reason:Q.reason??"Fallback launcher declined to start an agent"};return{status:"executed",detail:Q.agentId?`Fallback agent launched: ${Q.agentId}`:"Fallback agent launched"}}catch(Q){return{status:"failed",reason:`Fallback agent launch failed: ${String(Q)}`}}}function aj(j,q,G){if(j.teamName)return j.teamName;if(q.teamName)return q.teamName;let A=_(G.payload),F=Y(A,["team_name","teamName"]);if(F)return F;return n()}function jq(j,q,G){if(j&&j.length>0){if(j.includes("*"))return q.filter((F)=>F!==G);let A=new Set(q);return j.filter((F)=>A.has(F))}return q.filter((A)=>A!==G)}async function qq(j){let{action:q,rule:G,event:A,runtime:F}=j;if(F.signal?.aborted)return{status:"skipped",reason:"aborted"};let J=_(A.payload),O=aj(q,F,A);if(!O)return{status:"skipped",reason:"No team context is available for notify_team action"};let P=F.senderName??d()??"self-healing-mesh",Q=F.senderColor??e(),{summary:X,body:N}=ej(q,G,A),S=await jj(O);if(!S)return{status:"skipped",reason:`Team file not found for team ${O}`};let W=S.members.map((L)=>L.name),T=jq(q.recipients,W,P);if(T.length===0)return{status:"skipped",reason:"No eligible recipients for notify_team action"};if(F.onNotifyTeam)try{let L=await F.onNotifyTeam({ruleId:G.id,eventName:A.eventName,outcome:A.outcome,teamName:O,recipients:T,summary:X,message:N,payload:J,signal:F.signal});if(!L.sent)return{status:"skipped",reason:L.reason??"notify_team callback declined to send"};return{status:"executed",detail:`Team notification sent to ${L.recipientCount??T.length} recipient(s)`}}catch(L){return{status:"failed",reason:`notify_team callback failed: ${String(L)}`}}for(let L of T)await t(L,{from:P,text:N,summary:X,color:Q,timestamp:new Date().toISOString()},O);return{status:"executed",detail:`Team notification sent to ${T.length} recipient(s)`}}async function Aq(j){let{action:q,rule:G,event:A,runtime:F}=j;if(F.signal?.aborted)return{status:"skipped",reason:"aborted"};if(!a("allow_remote_sessions"))return{status:"skipped",reason:"Remote sessions are blocked by policy"};if(F.onWarmRemoteCapacity)try{let J=await F.onWarmRemoteCapacity({ruleId:G.id,eventName:A.eventName,outcome:A.outcome,payload:_(A.payload),signal:F.signal,createDefaultEnvironmentIfMissing:q.createDefaultEnvironmentIfMissing});if(!J.warmed)return{status:"skipped",reason:J.reason??"Warm remote callback declined"};return{status:"executed",detail:J.environmentId?`Remote capacity warmed for environment ${J.environmentId}`:"Remote capacity warm-up completed"}}catch(J){return{status:"failed",reason:`warm_remote_capacity callback failed: ${String(J)}`}}try{let{getReplBridgeHandle:J}=await import("./replBridgeHandle-0.1.14-gsqgzdev.mjs");if(!J())return{status:"skipped",reason:"Bridge is not active; warm_remote_capacity is a safe no-op"}}catch{return{status:"skipped",reason:"Bridge status unavailable; warm_remote_capacity skipped"}}try{let[{checkBackgroundRemoteSessionEligibility:J},{getEnvironmentSelectionInfo:O},P]=await Promise.all([import("./remoteSession-0.1.14-ppejxt7n.mjs"),import("./environmentSelection-0.1.14-fn5p85z5.mjs"),import("./environments-0.1.14-7napbg6g.mjs")]),Q=await J({skipBundle:!0});if(Q.length>0)return{status:"skipped",reason:`Remote warm-up preconditions failed: ${Q.map((N)=>N.type).join(", ")}`};let X=await O();if(!X.selectedEnvironment&&q.createDefaultEnvironmentIfMissing===!0){let N=await P.createDefaultCloudEnvironment("Claudio Self-Healing Warmup");X={availableEnvironments:[N],selectedEnvironment:N,selectedEnvironmentSource:null}}if(!X.selectedEnvironment)return{status:"skipped",reason:"No eligible remote environment available for warm-up"};return await P.fetchEnvironments(),{status:"executed",detail:`Remote warm-up checked environment ${X.selectedEnvironment.environment_id}`}}catch(J){return{status:"failed",reason:`Remote warm-up failed: ${String(J)}`}}}function Fq(j){K("chain_rule_matched",{rule_id:V(j.ruleId),hook_event_name:V(j.eventName),outcome:V(j.outcome),chain_depth:j.chainDepth}),M("chain_rule_matched",{rule_id:j.ruleId,hook_event_name:j.eventName,outcome:j.outcome,chain_depth:String(j.chainDepth)})}function Gq(j){K("chain_action_executed",{rule_id:V(j.ruleId),action_type:V(j.actionType),action_id:j.actionId?V(j.actionId):void 0,hook_event_name:V(j.eventName),outcome:V(j.outcome)}),M("chain_action_executed",{rule_id:j.ruleId,action_type:j.actionType,action_id:j.actionId,hook_event_name:j.eventName,outcome:j.outcome,detail:j.detail})}function C(j){let q=Jj(j.reason);K("chain_action_skipped",{rule_id:V(j.ruleId),action_type:V(j.actionType),action_id:j.actionId?V(j.actionId):void 0,hook_event_name:V(j.eventName),outcome:V(j.outcome),reason_category:V(q)}),M("chain_action_skipped",{rule_id:j.ruleId,action_type:j.actionType,action_id:j.actionId,hook_event_name:j.eventName,outcome:j.outcome,reason:j.reason})}function Hq(j){let q=Jj(j.reason);K("chain_action_failed",{rule_id:V(j.ruleId),action_type:V(j.actionType),action_id:j.actionId?V(j.actionId):void 0,hook_event_name:V(j.eventName),outcome:V(j.outcome),reason_category:V(q)}),M("chain_action_failed",{rule_id:j.ruleId,action_type:j.actionType,action_id:j.actionId,hook_event_name:j.eventName,outcome:j.outcome,reason:j.reason})}async function Jq(j){let{action:q}=j;if(q.enabled===!1)return{status:"skipped",reason:"action disabled"};switch(q.type){case"spawn_fallback_agent":return tj({action:q,rule:j.rule,event:j.event,runtime:j.runtime});case"notify_team":return qq({action:q,rule:j.rule,event:j.event,runtime:j.runtime});case"warm_remote_capacity":return Aq({action:q,rule:j.rule,event:j.event,runtime:j.runtime})}}function Lq(j,q){return j.cooldownMs??q.defaultCooldownMs}function Nq(j,q,G){return j.dedupWindowMs??q.dedupWindowMs??G.defaultDedupWindowMs}function Oq(j){let{rule:q,action:G,actionIndex:A,event:F,runtime:J}=j,O={ruleId:q.id,actionId:G.id??`${G.type}:${A}`,eventIdentity:oj(F),scope:J.dedupScope??""};return qj("sha1").update(U(O)).digest("hex")}async function yq(j){let q=j.runtime??{},G=rj({pathOverride:j.configPathOverride,forceReload:j.forceReloadConfig}),A=G.config,F={...j.event,payload:_(j.event.payload),occurredAt:j.event.occurredAt??Date.now()};if(!A.enabled||A.rules.length===0)return{enabled:!1,configPath:G.path,fromCache:G.fromCache,evaluatedRuleCount:0,matchedRuleIds:[],actionResults:[]};let J=q.chainDepth??0;if(J>=A.maxChainDepth)return{enabled:!0,configPath:G.path,fromCache:G.fromCache,evaluatedRuleCount:0,matchedRuleIds:[],actionResults:[]};let O=Date.now();dj(O);let P=ij(A.rules,F),Q=[];for(let X of P){let{rule:N}=X;if(q.signal?.aborted)break;if(N.maxDepth!==void 0&&J>=N.maxDepth){for(let T of N.actions){let L={ruleId:N.id,actionType:T.type,actionId:T.id,status:"skipped",reason:`rule maxDepth reached (${J}/${N.maxDepth})`};Q.push(L),C({ruleId:N.id,actionType:T.type,actionId:T.id,eventName:F.eventName,outcome:F.outcome,reason:L.reason??"rule depth guard"})}continue}let S=Lq(N,A),W=b.get(N.id);if(W&&W>O){for(let T of N.actions){let L=`rule cooldown active for ${W-O}ms`,D={ruleId:N.id,actionType:T.type,actionId:T.id,status:"skipped",reason:L};Q.push(D),C({ruleId:N.id,actionType:T.type,actionId:T.id,eventName:F.eventName,outcome:F.outcome,reason:L})}continue}b.set(N.id,O+S),Fq({ruleId:N.id,eventName:F.eventName,outcome:F.outcome,chainDepth:J});for(let T=0;T<N.actions.length;T++){let L=N.actions[T];if(!L)continue;if(q.signal?.aborted){let y={ruleId:N.id,actionType:L.type,actionId:L.id,status:"skipped",reason:"aborted"};Q.push(y),C({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:"aborted"});continue}let D=Oq({rule:N,action:L,actionIndex:T,event:F,runtime:q}),Lj=Nq(L,N,A),z=B.get(D);if(z&&z>O){let y=`dedup window active for ${z-O}ms`,Oj={ruleId:N.id,actionType:L.type,actionId:L.id,status:"skipped",reason:y};Q.push(Oj),C({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:y});continue}B.set(D,O+Lj);let $=await Jq({action:L,rule:N,event:F,runtime:q}),Nj={ruleId:N.id,actionType:L.type,actionId:L.id,status:$.status,reason:$.reason,detail:$.detail};if(Q.push(Nj),$.status==="executed")Gq({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,detail:$.detail});else if($.status==="skipped")C({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:$.reason??"skipped"});else Hq({ruleId:N.id,actionType:L.type,actionId:L.id,eventName:F.eventName,outcome:F.outcome,reason:$.reason??"failed"})}}if(c("info","hook_chains_dispatch",{event_name:F.eventName,outcome:F.outcome,matched_rules:P.length,action_results:Q.length}),G.error)w(`[hook-chains] Config validation error at ${G.path}: ${G.error}`);return{enabled:!0,configPath:G.path,fromCache:G.fromCache,evaluatedRuleCount:A.rules.length,matchedRuleIds:P.map((X)=>X.rule.id),actionResults:Q}}function Iq(){Z=null,b.clear(),B.clear()}function Jj(j){let q=j.toLowerCase();if(q.includes("aborted"))return"aborted";if(q.includes("cooldown"))return"cooldown";if(q.includes("dedup"))return"dedup";if(q.includes("policy"))return"policy";if(q.includes("context"))return"context_missing";if(q.includes("precondition"))return"precondition";if(q.includes("disabled"))return"disabled";return"other"}var Dj="CLAUDE_CODE_HOOK_CHAINS_CONFIG_PATH",yj="CLAUDE_CODE_ENABLE_HOOK_CHAINS",Ij,Fj=2,Gj=30000,Hj=30000,E=86400000,Uj=300000,zj=5000,fj=20000,h,pj,x,wj,xj,hj,Rj,mj,R,vj,Z=null,b,B;var Pq=Pj(()=>{Bj();Qj();$j();Ej();Xj();Yj();Tj();Vj();_j();bj();Kj();Wj();Cj();kj();Zj();Ij=Aj(".claudio","hook-chains.json"),h=H.enum(["success","failed","timeout","unknown"]),pj=H.object({toolNames:H.array(H.string().min(1)).optional(),taskStatuses:H.array(H.string().min(1)).optional(),errorIncludes:H.array(H.string().min(1)).optional(),eventFieldEquals:H.record(H.string(),H.union([H.string(),H.number(),H.boolean()])).optional()}).optional(),x=H.object({id:H.string().min(1).optional(),enabled:H.boolean().default(!0).optional(),dedupWindowMs:H.number().int().min(0).max(E).optional()}),wj=x.extend({type:H.literal("spawn_fallback_agent"),description:H.string().min(1).optional(),promptTemplate:H.string().min(1).optional(),agentType:H.string().min(1).optional(),model:H.string().min(1).optional()}),xj=x.extend({type:H.literal("notify_team"),teamName:H.string().min(1).optional(),recipients:H.array(H.string().min(1)).optional(),summary:H.string().min(1).optional(),messageTemplate:H.string().min(1).optional()}),hj=x.extend({type:H.literal("warm_remote_capacity"),createDefaultEnvironmentIfMissing:H.boolean().optional()}),Rj=H.discriminatedUnion("type",[wj,xj,hj]),mj=H.object({id:H.string().min(1),enabled:H.boolean().default(!0).optional(),trigger:H.object({event:H.enum(o),outcome:h.optional(),outcomes:H.array(h).nonempty().optional()}).superRefine((j,q)=>{if(j.outcome&&j.outcomes)q.addIssue({code:"custom",message:"Use either trigger.outcome or trigger.outcomes, not both.",path:["outcomes"]})}),condition:pj,cooldownMs:H.number().int().min(0).max(E).optional(),dedupWindowMs:H.number().int().min(0).max(E).optional(),maxDepth:H.number().int().min(0).max(10).optional(),actions:H.array(Rj).min(1)}),R=H.object({version:H.literal(1).default(1),enabled:H.boolean().default(!0),maxChainDepth:H.number().int().min(1).max(10).default(Fj),defaultCooldownMs:H.number().int().min(0).max(E).default(Gj),defaultDedupWindowMs:H.number().int().min(0).max(E).default(Hj),rules:H.array(mj).default([])}),vj=H.union([H.object({hookChains:R}),R]),b=new Map,B=new Map});Pq();export{Iq as resetHookChainsRuntimeStateForTests,rj as loadHookChainsConfig,Aq as executeWarmRemoteCapacityAction,tj as executeSpawnFallbackAgentAction,qq as executeNotifyTeamAction,ij as evaluateHookChainRules,Fq as emitHookChainRuleMatched,C as emitHookChainActionSkipped,Hq as emitHookChainActionFailed,Gq as emitHookChainActionExecuted,yq as dispatchHookChainsForEvent};
@@ -1 +0,0 @@
1
- import{$N as A,BN as a,CN as b,DN as c,EN as d,FN as e,GN as f,HN as g,IN as h,JN as i,KN as j,LN as k,MN as l,NN as m,ON as n,PN as o,QN as p,RN as q,SN as r,TN as s,UN as t,VN as u,WN as v,XN as w,YN as x,ZN as y,_N as z,aO as B,bO as C,cO as D,dO as E,eO as F,fO as G,gO as H,hO as I,iO as J,jO as K,kO as L,lO as M,mO as N,nO as O,oO as P}from"./cli-0.1.14-j5sbzwhy.mjs";import"./cli-0.1.14-k8nwm06m.mjs";import"./cli-0.1.14-3yj4dkmn.mjs";import"./cli-0.1.14-nmmtd1d6.mjs";import"./cli-0.1.14-ntq8w1ss.mjs";import"./cli-0.1.14-7zz7abpc.mjs";import"./cli-0.1.14-c4v2kfdn.mjs";import"./cli-0.1.14-ch9c9c38.mjs";import"./cli-0.1.14-25ta9abj.mjs";import"./cli-0.1.14-86gckvrm.mjs";import"./cli-0.1.14-w3rwfr1d.mjs";import"./cli-0.1.14-edjtfw4q.mjs";import"./cli-0.1.14-4mde8z7h.mjs";import"./cli-0.1.14-dqads3y3.mjs";import"./cli-0.1.14-ta3w93yb.mjs";import"./cli-0.1.14-zjqt3r89.mjs";import"./cli-0.1.14-aky5tegx.mjs";import"./cli-0.1.14-w6nzk5dc.mjs";import"./cli-0.1.14-seq2fm2d.mjs";import"./cli-0.1.14-qyx55m6c.mjs";import"./cli-0.1.14-fspxpmh7.mjs";import"./cli-0.1.14-as1s0b0t.mjs";import"./cli-0.1.14-3scecgzx.mjs";import"./cli-0.1.14-hjktwgtk.mjs";import"./cli-0.1.14-harz1d9d.mjs";import"./cli-0.1.14-jf8019sb.mjs";import"./cli-0.1.14-d4zkffre.mjs";import"./cli-0.1.14-1xkst5wv.mjs";import"./cli-0.1.14-cp2pada5.mjs";import"./cli-0.1.14-0x3m90bk.mjs";import"./cli-0.1.14-jpe9sxch.mjs";import"./cli-0.1.14-59axynr8.mjs";import"./cli-0.1.14-71m91842.mjs";import"./cli-0.1.14-1g5jq0j8.mjs";import"./cli-0.1.14-0ctjta81.mjs";import"./cli-0.1.14-77ha4n58.mjs";import"./cli-0.1.14-wz5yr49j.mjs";import"./cli-0.1.14-kpsh76mj.mjs";import"./cli-0.1.14-5brvxst8.mjs";import"./cli-0.1.14-a6kwmqhz.mjs";import"./cli-0.1.14-rc5yd94n.mjs";import"./cli-0.1.14-jbn4ywda.mjs";import"./cli-0.1.14-wgatq2fj.mjs";import"./cli-0.1.14-adz0gnzy.mjs";import"./cli-0.1.14-stv1d0q3.mjs";import"./cli-0.1.14-heevc19y.mjs";import"./cli-0.1.14-kv650aha.mjs";import"./cli-0.1.14-2f7s5xbd.mjs";import"./cli-0.1.14-kmsvd61a.mjs";import"./cli-0.1.14-cdby401e.mjs";import"./cli-0.1.14-9vc52dnj.mjs";import"./cli-0.1.14-442a367x.mjs";import"./cli-0.1.14-z8j2n955.mjs";import"./cli-0.1.14-mgcmwvcn.mjs";import"./cli-0.1.14-16jrehc2.mjs";import"./cli-0.1.14-t3fga5je.mjs";import"./cli-0.1.14-2mzb5ath.mjs";import"./cli-0.1.14-s9m1y93w.mjs";import"./cli-0.1.14-whe4bxfr.mjs";import"./cli-0.1.14-r46jh9af.mjs";import"./cli-0.1.14-akz49g5v.mjs";import"./cli-0.1.14-qn4ftczz.mjs";P();export{b as shouldSkipHookDueToTrust,M as hasWorktreeCreateHook,G as hasInstructionsLoadedHook,k as hasBlockingResult,j as getUserPromptSubmitHookBlockingMessage,g as getTeammateIdleHookMessage,h as getTaskCreatedHookMessage,i as getTaskCompletedHookMessage,f as getStopHookMessage,a as getSessionEndHookTimeoutMs,e as getPreToolHookBlockingMessage,d as getMatchingHooks,O as executeWorktreeRemoveHook,N as executeWorktreeCreateHook,v as executeUserPromptSubmitHooks,s as executeTeammateIdleHooks,t as executeTaskCreatedHooks,u as executeTaskCompletedHooks,y as executeSubagentStartHooks,r as executeStopHooks,q as executeStopFailureHooks,K as executeStatusLineCommand,x as executeSetupHooks,w as executeSessionStartHooks,B as executeSessionEndHooks,l as executePreToolHooks,z as executePreCompactHooks,n as executePostToolUseFailureHooks,m as executePostToolHooks,A as executePostCompactHooks,C as executePermissionRequestHooks,o as executePermissionDeniedHooks,p as executeNotificationHooks,H as executeInstructionsLoadedHooks,L as executeFileSuggestionCommand,F as executeFileChangedHooks,J as executeElicitationResultHooks,I as executeElicitationHooks,E as executeCwdChangedHooks,D as executeConfigChangeHooks,c as createBaseHookInput};
@@ -1 +0,0 @@
1
- import{bma as z}from"./cli-0.1.14-qn4ftczz.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};
@@ -1 +0,0 @@
1
- import{z4 as G}from"./cli-0.1.14-jnfs73kb.mjs";import{Pla as _,Qla as U}from"./cli-0.1.14-wwehdfwx.mjs";import{Yla as X}from"./cli-0.1.14-8fr10t94.mjs";import{$la as B,Zla as K,bma as l,cma as E}from"./cli-0.1.14-qn4ftczz.mjs";var v=B((k)=>{Object.defineProperty(k,"__esModule",{value:!0});k.resolveHttpHandlerRuntimeConfig=k.getHttpHandlerExtensionConfiguration=k.isValidHostname=k.HttpResponse=k.HttpRequest=k.Fields=k.Field=void 0;var H=X();Object.defineProperty(k,"Field",{enumerable:!0,get:function(){return H.Field}});Object.defineProperty(k,"Fields",{enumerable:!0,get:function(){return H.Fields}});Object.defineProperty(k,"HttpRequest",{enumerable:!0,get:function(){return H.HttpRequest}});Object.defineProperty(k,"HttpResponse",{enumerable:!0,get:function(){return H.HttpResponse}});Object.defineProperty(k,"isValidHostname",{enumerable:!0,get:function(){return H.isValidHostname}});Object.defineProperty(k,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return H.getHttpHandlerExtensionConfiguration}});Object.defineProperty(k,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return H.resolveHttpHandlerRuntimeConfig}})});var J=B((C)=>{var Q=_(),T=U(),P=G(),W=v(),F=E("node:crypto"),q=E("node:fs"),Z=E("node:os"),A=E("node:path");class ${profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,n,t){this.profileData=e,this.init=n,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new T.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let n=e.accessToken,t=Date.now();if(new Date(n.expiresAt).getTime()-t<=$.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:n.accessKeyId,secretAccessKey:n.secretAccessKey,sessionToken:n.sessionToken,accountId:n.accountId,expiration:new Date(n.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:n,CreateOAuth2TokenCommand:t}=await import("./index-0.1.14-ac13h1t1.mjs").then((m)=>K(m.default)),{logger:s,userAgentAppId:c}=this.callerClientConfig??{},r=((h)=>{return h?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,a=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,i=new n({credentials:{accessKeyId:"",secretAccessKey:""},region:a,requestHandler:r,logger:s,userAgentAppId:c,...this.init?.clientConfig});this.createDPoPInterceptor(i.middlewareStack);let x={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let h=await i.send(new t(x)),{accessKeyId:y,secretAccessKey:d,sessionToken:I}=h.tokenOutput?.accessToken??{},{refreshToken:S,expiresIn:m}=h.tokenOutput??{};if(!y||!d||!I||!S)throw new T.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let R=(m??900)*1000,b=new Date(Date.now()+R),j={...e,accessToken:{...e.accessToken,accessKeyId:y,secretAccessKey:d,sessionToken:I,expiresAt:b.toISOString()},refreshToken:S};await this.saveToken(j);let o=j.accessToken;return{accessKeyId:o.accessKeyId,secretAccessKey:o.secretAccessKey,sessionToken:o.sessionToken,accountId:o.accountId,expiration:b}}catch(h){if(h.name==="AccessDeniedException"){let y=h.error,d;switch(y){case"TOKEN_EXPIRED":d="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":d="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":d="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:d=`Failed to refresh token: ${String(h)}. Please re-authenticate using \`aws login\``}throw new T.CredentialsProviderError(d,{logger:this.logger,tryNextLink:!1})}throw new T.CredentialsProviderError(`Failed to refresh token: ${String(h)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let n;try{n=await P.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{n=await q.promises.readFile(e,"utf8")}let t=JSON.parse(n),s=["accessToken","clientId","refreshToken","dpopKey"].filter((c)=>!t[c]);if(!t.accessToken?.accountId)s.push("accountId");if(s.length>0)throw new T.CredentialsProviderError(`Token validation failed, missing fields: ${s.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(n){throw new T.CredentialsProviderError(`Failed to load token from ${e}: ${String(n)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let n=this.getTokenFilePath(),t=A.dirname(n);try{await q.promises.mkdir(t,{recursive:!0})}catch(s){}await q.promises.writeFile(n,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??A.join(Z.homedir(),".aws","login","cache"),n=Buffer.from(this.loginSession,"utf8"),t=F.createHash("sha256").update(n).digest("hex");return A.join(e,`${t}.json`)}derToRawSignature(e){let n=2;if(e[n]!==2)throw Error("Invalid DER signature");n++;let t=e[n++],s=e.subarray(n,n+t);if(n+=t,e[n]!==2)throw Error("Invalid DER signature");n++;let c=e[n++],u=e.subarray(n,n+c);s=s[0]===0?s.subarray(1):s,u=u[0]===0?u.subarray(1):u;let r=Buffer.concat([Buffer.alloc(32-s.length),s]),a=Buffer.concat([Buffer.alloc(32-u.length),u]);return Buffer.concat([r,a])}createDPoPInterceptor(e){e.add((n)=>async(t)=>{if(W.HttpRequest.isInstance(t.request)){let s=t.request,c=`${s.protocol}//${s.hostname}${s.port?`:${s.port}`:""}${s.path}`,u=await this.generateDpop(s.method,c);s.headers={...s.headers,DPoP:u}}return n(t)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",n){let t=await this.loadToken();try{let s=F.createPrivateKey({key:t.dpopKey,format:"pem",type:"sec1"}),u=F.createPublicKey(s).export({format:"der",type:"spki"}),r=-1;for(let b=0;b<u.length;b++)if(u[b]===4){r=b;break}let a=u.slice(r+1,r+33),i=u.slice(r+33,r+65),x={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:a.toString("base64url"),y:i.toString("base64url")}},h={jti:crypto.randomUUID(),htm:e,htu:n,iat:Math.floor(Date.now()/1000)},y=Buffer.from(JSON.stringify(x)).toString("base64url"),d=Buffer.from(JSON.stringify(h)).toString("base64url"),I=`${y}.${d}`,S=F.sign("sha256",Buffer.from(I),s),R=this.derToRawSignature(S).toString("base64url");return`${I}.${R}`}catch(s){throw new T.CredentialsProviderError(`Failed to generate Dpop proof: ${s instanceof Error?s.message:String(s)}`,{logger:this.logger,tryNextLink:!1})}}}var N=(e)=>async({callerClientConfig:n}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let t=await P.parseKnownFiles(e||{}),s=P.getProfileName({profile:e?.profile??n?.profile}),c=t[s];if(!c?.login_session)throw new T.CredentialsProviderError(`Profile ${s} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let r=await new $(c,e,n).loadCredentials();return Q.setCredentialFeature(r,"CREDENTIALS_LOGIN","AD")};C.fromLoginCredentials=N});var L,O,w,p,ee=(e,n,t)=>{let s={EcsContainer:async(c)=>{let{fromHttp:u}=await import("./index-0.1.14-hqphn8m5.mjs").then((m)=>K(m.default,1)),{fromContainerMetadata:r}=await import("./index-0.1.14-dmbjzapt.mjs");return t?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>O.chain(u(c??{}),r(c))().then(D)},Ec2InstanceMetadata:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:u}=await import("./index-0.1.14-dmbjzapt.mjs");return async()=>u(c)().then(D)},Environment:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:u}=await import("./index-0.1.14-h8gc6ph5.mjs");return async()=>u(c)().then(D)}};if(e in s)return s[e];else throw new O.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:t})},D=(e)=>w.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),te=(e,{profile:n="default",logger:t}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(ne(e,{profile:n,logger:t})||se(e,{profile:n,logger:t}))},ne=(e,{profile:n,logger:t})=>{let s=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(s)t?.debug?.(` ${n} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return s},se=(e,{profile:n,logger:t})=>{let s=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(s)t?.debug?.(` ${n} isCredentialSourceProfile credential_source=${e.credential_source}`);return s},re=async(e,n,t,s,c={},u)=>{t.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let r=n[e],{source_profile:a,region:i}=r;if(!t.roleAssumer){let{getDefaultRoleAssumer:h}=await import("./index-0.1.14-3m7vrt91.mjs").then((m)=>K(m.default,1));t.roleAssumer=h({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...s,...t?.parentClientConfig,region:i??t?.parentClientConfig?.region??s?.region}},t.clientPlugins)}if(a&&a in c)throw new O.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${L.getProfileName(t)}. Profiles visited: `+Object.keys(c).join(", "),{logger:t.logger});t.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${a?`source_profile=[${a}]`:`profile=[${e}]`}`);let x=a?u(a,n,t,s,{...c,[a]:!0},V(n[a]??{})):(await ee(r.credential_source,e,t.logger)(t))();if(V(r))return x.then((h)=>w.setCredentialFeature(h,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let h={RoleArn:r.role_arn,RoleSessionName:r.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:r.external_id,DurationSeconds:parseInt(r.duration_seconds||"3600",10)},{mfa_serial:y}=r;if(y){if(!t.mfaCodeProvider)throw new O.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:t.logger,tryNextLink:!1});h.SerialNumber=y,h.TokenCode=await t.mfaCodeProvider(y)}let d=await x;return t.roleAssumer(d,h).then((I)=>w.setCredentialFeature(I,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},V=(e)=>{return!e.role_arn&&!!e.credential_source},ce=(e)=>{return Boolean(e&&e.login_session)},ue=async(e,n,t)=>{let s=await p.fromLoginCredentials({...n,profile:e})({callerClientConfig:t});return w.setCredentialFeature(s,"CREDENTIALS_PROFILE_LOGIN","AC")},he=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",ae=async(e,n)=>import("./index-0.1.14-g5kkm9ng.mjs").then(({fromProcess:t})=>t({...e,profile:n})().then((s)=>w.setCredentialFeature(s,"CREDENTIALS_PROFILE_PROCESS","v"))),de=async(e,n,t={},s)=>{let{fromSSO:c}=await import("./index-0.1.14-1mttyja2.mjs");return c({profile:e,logger:t.logger,parentClientConfig:t.parentClientConfig,clientConfig:t.clientConfig})({callerClientConfig:s}).then((u)=>{if(n.sso_session)return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO","r");else return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},ye=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),Y=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,g=async(e,n)=>{n?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return w.setCredentialFeature(t,"CREDENTIALS_PROFILE","n")},ke=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,we=async(e,n,t)=>import("./index-0.1.14-272zxs9n.mjs").then((m)=>K(m.default,1)).then(({fromTokenFile:s})=>s({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity,logger:n.logger,parentClientConfig:n.parentClientConfig})({callerClientConfig:t}).then((c)=>w.setCredentialFeature(c,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),z=async(e,n,t,s,c={},u=!1)=>{let r=n[e];if(Object.keys(c).length>0&&Y(r))return g(r,t);if(u||te(r,{profile:e,logger:t.logger}))return re(e,n,t,s,c,z);if(Y(r))return g(r,t);if(ke(r))return we(r,t,s);if(he(r))return ae(t,e);if(ye(r))return await de(e,r,t,s);if(ce(r))return ue(e,t,s);throw new O.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})},Te=(e={})=>async({callerClientConfig:n}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let t=await L.parseKnownFiles(e);return z(L.getProfileName({profile:e.profile??n?.profile}),t,e,n)},Ee;var Ie=l(()=>{L=G(),O=U(),w=_(),p=J();Ee=Te});Ie();export{Ee as fromIni};export default {get fromIni(){return Ee}};
@@ -1,2 +0,0 @@
1
- import{$3 as Dr,Z3 as F,_3 as Nr,a4 as br,b4 as Ge,c4 as Zt,d4 as Et,e4 as $r,f4 as Is,g4 as Ar,h4 as Fr,i4 as hs,j4 as G,k4 as tt,l4 as pr,m4 as _r,o4 as Er,p4 as Sr,q4 as Rr,r4 as xr,s4 as vr,t4 as Kt,u4 as kt,v4 as er,w4 as Ur,x4 as Mr}from"./cli-0.1.14-qzcceap6.mjs";import{y4 as ps}from"./cli-0.1.14-3m63hy2a.mjs";import{z4 as we}from"./cli-0.1.14-jnfs73kb.mjs";import{Ola as dr,Pla as Z,Qla as Ce}from"./cli-0.1.14-wwehdfwx.mjs";import{Rla as ir}from"./cli-0.1.14-0nhaxy76.mjs";import{Tla as Xe}from"./cli-0.1.14-8fr10t94.mjs";import{$la as S,Zla as ge,bma as no,cma as X}from"./cli-0.1.14-qn4ftczz.mjs";var De=S((Zs)=>{var Ls=Z(),Ts=F(),p=Ce(),w=we(),zs=X("node:fs"),Hs=({logger:e,signingName:s}={})=>async()=>{if(e?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!s)throw new p.TokenProviderError("Please pass 'signingName' to compute environment variable key",{logger:e});let t=Ts.getBearerTokenEnvKey(s);if(!(t in process.env))throw new p.TokenProviderError(`Token not present in '${t}' environment variable`,{logger:e});let o={token:process.env[t]};return Ls.setTokenFeature(o,"BEARER_SERVICE_ENV_VARS","3"),o},Vs=300000,K="To refresh this SSO session run 'aws sso login' with the corresponding profile.",Bs=async(e,s={},t)=>{let{SSOOIDCClient:o}=await import("./index-0.1.14-mzhk0gvs.mjs").then((m)=>ge(m.default)),r=(c)=>s.clientConfig?.[c]??s.parentClientConfig?.[c]??t?.[c];return new o(Object.assign({},s.clientConfig??{},{region:e??s.clientConfig?.region,logger:r("logger"),userAgentAppId:r("userAgentAppId")}))},Ys=async(e,s,t={},o)=>{let{CreateTokenCommand:r}=await import("./index-0.1.14-mzhk0gvs.mjs").then((m)=>ge(m.default));return(await Bs(s,t,o)).send(new r({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))},Pe=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new p.TokenProviderError(`Token is expired. ${K}`,!1)},h=(e,s,t=!1)=>{if(typeof s>"u")throw new p.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${K}`,!1)},{writeFile:Qs}=zs.promises,Js=(e,s)=>{let t=w.getSSOTokenFilepath(e),o=JSON.stringify(s,null,2);return Qs(t,o)},ye=new Date(0),Ne=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let t=await w.parseKnownFiles(e),o=w.getProfileName({profile:e.profile??s?.profile}),r=t[o];if(!r)throw new p.TokenProviderError(`Profile '${o}' could not be found in shared credentials file.`,!1);else if(!r.sso_session)throw new p.TokenProviderError(`Profile '${o}' is missing required property 'sso_session'.`);let n=r.sso_session,_=(await w.loadSsoSessionData(e))[n];if(!_)throw new p.TokenProviderError(`Sso session '${n}' could not be found in shared credentials file.`,!1);for(let a of["sso_start_url","sso_region"])if(!_[a])throw new p.TokenProviderError(`Sso session '${n}' is missing required property '${a}'.`,!1);_.sso_start_url;let d=_.sso_region,l;try{l=await w.getSSOTokenFromFile(n)}catch(a){throw new p.TokenProviderError(`The SSO session token associated with profile=${o} was not found or is invalid. ${K}`,!1)}h("accessToken",l.accessToken),h("expiresAt",l.expiresAt);let{accessToken:u,expiresAt:C}=l,x={token:u,expiration:new Date(C)};if(x.expiration.getTime()-Date.now()>Vs)return x;if(Date.now()-ye.getTime()<30000)return Pe(x),x;h("clientId",l.clientId,!0),h("clientSecret",l.clientSecret,!0),h("refreshToken",l.refreshToken,!0);try{ye.setTime(Date.now());let a=await Ys(l,d,e,s);h("accessToken",a.accessToken),h("expiresIn",a.expiresIn);let v=new Date(Date.now()+a.expiresIn*1000);try{await Js(n,{...l,accessToken:a.accessToken,expiresAt:v.toISOString(),refreshToken:a.refreshToken})}catch(J){}return{token:a.accessToken,expiration:v}}catch(a){return Pe(x),x}},Ws=({token:e,logger:s})=>async()=>{if(s?.debug("@aws-sdk/token-providers - fromStatic"),!e||!e.token)throw new p.TokenProviderError("Please pass a valid token to fromStatic",!1);return e},Xs=(e={})=>p.memoize(p.chain(Ne(e),async()=>{throw new p.TokenProviderError("Could not load token from any providers",!1)}),(s)=>s.expiration!==void 0&&s.expiration.getTime()-Date.now()<300000,(s)=>s.expiration!==void 0);Zs.fromEnvSigningName=Hs;Zs.fromSso=Ne;Zs.fromStatic=Ws;Zs.nodeProvider=Xs});var ee=S((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveHttpAuthSchemeConfig=be.defaultSSOHttpAuthSchemeProvider=be.defaultSSOHttpAuthSchemeParametersProvider=void 0;var rt=F(),k=tt(),ot=async(e,s,t)=>{return{operation:(0,k.getSmithyContext)(s).operation,region:await(0,k.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};be.defaultSSOHttpAuthSchemeParametersProvider=ot;function nt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(s,t)=>({signingProperties:{config:s,context:t}})}}function at(e){return{schemeId:"smithy.api#noAuth"}}var ct=(e)=>{let s=[];switch(e.operation){case"GetRoleCredentials":{s.push(at(e));break}default:s.push(nt(e))}return s};be.defaultSSOHttpAuthSchemeProvider=ct;var lt=(e)=>{let s=(0,rt.resolveAwsSdkSigV4Config)(e);return Object.assign(s,{authSchemePreference:(0,k.normalizeProvider)(e.authSchemePreference??[])})};be.resolveHttpAuthSchemeConfig=lt});var Te=S((je)=>{Object.defineProperty(je,"__esModule",{value:!0});je.bdd=void 0;var dt=Ge(),N="ref",f=-1,U=!0,Ae="isSet",me="PartitionResult",M="booleanEquals",se="getAttr",Fe={[N]:"Endpoint"},te={[N]:me},g={},Ue=[{[N]:"Region"}],Me={conditions:[[Ae,[Fe]],[Ae,Ue],["aws.partition",Ue,me],[M,[{[N]:"UseFIPS"},U]],[M,[{[N]:"UseDualStack"},U]],[M,[{fn:se,argv:[te,"supportsDualStack"]},U]],[M,[{fn:se,argv:[te,"supportsFIPS"]},U]],["stringEquals",[{fn:se,argv:[te,"name"]},"aws-us-gov"]]],results:[[f],[f,"Invalid Configuration: FIPS and custom endpoint are not supported"],[f,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Fe,g],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",g],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",g],[f,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",g],[f,"Invalid Configuration: Missing Region"]]},pt=2,i=1e8,_t=new Int32Array([-1,1,-1,0,13,3,1,4,i+12,2,5,i+12,3,8,6,4,7,i+11,5,i+9,i+10,4,11,9,6,10,i+8,7,i+6,i+7,5,12,i+5,6,i+4,i+5,3,i+1,14,4,i+2,i+3]);je.bdd=dt.BinaryDecisionDiagram.from(_t,pt,Me.conditions,Me.results)});var Ve=S((ze)=>{Object.defineProperty(ze,"__esModule",{value:!0});ze.defaultEndpointResolver=void 0;var St=Et(),re=Ge(),Rt=Te(),xt=new re.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),vt=(e,s={})=>{return xt.get(e,()=>(0,re.decideEndpoint)(Rt.bdd,{endpointParams:e,logger:s.logger}))};ze.defaultEndpointResolver=vt;re.customEndpointFunctions.aws=St.awsEndpointFunctions});var m=S((ne)=>{Object.defineProperty(ne,"__esModule",{value:!0});ne.SSOServiceException=ne.__ServiceException=void 0;var Be=G();Object.defineProperty(ne,"__ServiceException",{enumerable:!0,get:function(){return Be.ServiceException}});class oe extends Be.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,oe.prototype)}}ne.SSOServiceException=oe});var ie=S((Qe)=>{Object.defineProperty(Qe,"__esModule",{value:!0});Qe.UnauthorizedException=Qe.TooManyRequestsException=Qe.ResourceNotFoundException=Qe.InvalidRequestException=void 0;var j=m();class ae extends j.SSOServiceException{name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,ae.prototype)}}Qe.InvalidRequestException=ae;class ce extends j.SSOServiceException{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ce.prototype)}}Qe.ResourceNotFoundException=ce;class le extends j.SSOServiceException{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,le.prototype)}}Qe.TooManyRequestsException=le;class ue extends j.SSOServiceException{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,ue.prototype)}}Qe.UnauthorizedException=ue});var de=S((es)=>{Object.defineProperty(es,"__esModule",{value:!0});es.GetRoleCredentials$=es.RoleCredentials$=es.GetRoleCredentialsResponse$=es.GetRoleCredentialsRequest$=es.errorTypeRegistries=es.UnauthorizedException$=es.TooManyRequestsException$=es.ResourceNotFoundException$=es.InvalidRequestException$=es.SSOServiceException$=void 0;var ft="AccessTokenType",qt="GetRoleCredentials",Pt="GetRoleCredentialsRequest",yt="GetRoleCredentialsResponse",gt="InvalidRequestException",Ct="RoleCredentials",wt="ResourceNotFoundException",Nt="SecretAccessKeyType",Dt="SessionTokenType",bt="TooManyRequestsException",$t="UnauthorizedException",At="accountId",Ft="accessKeyId",Ut="accessToken",Mt="account_id",L="client",T="error",Gt="expiration",mt="http",z="httpError",jt="httpHeader",We="httpQuery",H="message",Lt="roleCredentials",Tt="roleName",zt="role_name",Ze="smithy.ts.sdk.synthetic.com.amazonaws.sso",Ht="secretAccessKey",Vt="sessionToken",Bt="x-amz-sso_bearer_token",E="com.amazonaws.sso",Ke=Xe(),V=ie(),Yt=m(),ke=Ke.TypeRegistry.for(Ze);es.SSOServiceException$=[-3,Ze,"SSOServiceException",0,[],[]];ke.registerError(es.SSOServiceException$,Yt.SSOServiceException);var D=Ke.TypeRegistry.for(E);es.InvalidRequestException$=[-3,E,gt,{[T]:L,[z]:400},[H],[0]];D.registerError(es.InvalidRequestException$,V.InvalidRequestException);es.ResourceNotFoundException$=[-3,E,wt,{[T]:L,[z]:404},[H],[0]];D.registerError(es.ResourceNotFoundException$,V.ResourceNotFoundException);es.TooManyRequestsException$=[-3,E,bt,{[T]:L,[z]:429},[H],[0]];D.registerError(es.TooManyRequestsException$,V.TooManyRequestsException);es.UnauthorizedException$=[-3,E,$t,{[T]:L,[z]:401},[H],[0]];D.registerError(es.UnauthorizedException$,V.UnauthorizedException);es.errorTypeRegistries=[ke,D];var Qt=[0,E,ft,8,0],Jt=[0,E,Nt,8,0],Wt=[0,E,Dt,8,0];es.GetRoleCredentialsRequest$=[3,E,Pt,0,[Tt,At,Ut],[[0,{[We]:zt}],[0,{[We]:Mt}],[()=>Qt,{[jt]:Bt}]],3];es.GetRoleCredentialsResponse$=[3,E,yt,0,[Lt],[[()=>es.RoleCredentials$,0]]];es.RoleCredentials$=[3,E,Ct,0,[Ft,Ht,Vt,Gt],[0,[()=>Jt,0],[()=>Wt,0],1]];es.GetRoleCredentials$=[9,E,qt,{[mt]:["GET","/federation/credentials",200]},()=>es.GetRoleCredentialsRequest$,()=>es.GetRoleCredentialsResponse$]});var Ss=S((_s)=>{Object.defineProperty(_s,"__esModule",{value:!0});_s.getRuntimeConfig=void 0;var sr=F(),tr=kt(),rr=ps(),or=G(),nr=Zt(),is=er(),ds=Kt(),ar=ee(),cr=Ve(),lr=de(),ur=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??is.fromBase64,base64Encoder:e?.base64Encoder??is.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??cr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ar.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new sr.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new rr.NoAuthSigner}],logger:e?.logger??new or.NoOpLogger,protocol:e?.protocol??tr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:lr.errorTypeRegistries,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??nr.parseUrl,utf8Decoder:e?.utf8Decoder??ds.fromUtf8,utf8Encoder:e?.utf8Encoder??ds.toUtf8}};_s.getRuntimeConfig=ur});var Ps=S((fs)=>{Object.defineProperty(fs,"__esModule",{value:!0});fs.getRuntimeConfig=void 0;var Or=pr(),Ir=Or.__importDefault(_r()),hr=Z(),fr=F(),Rs=Er(),B=Is(),qr=Sr(),xs=hs(),q=Rr(),vs=ir(),Os=G(),Pr=xr(),yr=vr(),gr=dr(),Cr=Ss(),wr=(e)=>{(0,Os.emitWarningIfUnsupportedVersion)(process.version);let s=(0,yr.resolveDefaultsModeConfig)(e),t=()=>s().then(Os.loadConfigsForDefaultMode),o=(0,Cr.getRuntimeConfig)(e);(0,hr.emitWarningIfUnsupportedVersion)(process.version);let r={profile:e?.profile,logger:o.logger};return{...o,...e,runtime:"node",defaultsMode:s,authSchemePreference:e?.authSchemePreference??(0,q.loadConfig)(fr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,r),bodyLengthChecker:e?.bodyLengthChecker??Pr.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Rs.createDefaultUserAgentProvider)({serviceId:o.serviceId,clientVersion:Ir.default.version}),maxAttempts:e?.maxAttempts??(0,q.loadConfig)(xs.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,q.loadConfig)(B.NODE_REGION_CONFIG_OPTIONS,{...B.NODE_REGION_CONFIG_FILE_OPTIONS,...r}),requestHandler:vs.NodeHttpHandler.create(e?.requestHandler??t),retryMode:e?.retryMode??(0,q.loadConfig)({...xs.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??qr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??vs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,q.loadConfig)(B.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,r),useFipsEndpoint:e?.useFipsEndpoint??(0,q.loadConfig)(B.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,r),userAgentAppId:e?.userAgentAppId??(0,q.loadConfig)(Rs.NODE_APP_ID_CONFIG_OPTIONS,r)}};fs.getRuntimeConfig=wr});var $s=S((O)=>{var ys=Nr(),Gr=Dr(),mr=br(),gs=$r(),jr=Is(),pe=ps(),Lr=Xe(),Tr=Ar(),bs=Fr(),Cs=hs(),P=G(),ws=ee(),zr=Ps(),Ns=Ur(),Ds=Mr(),b=de(),Y=ie(),Hr=m(),Vr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Br={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Yr=(e)=>{let{httpAuthSchemes:s,httpAuthSchemeProvider:t,credentials:o}=e;return{setHttpAuthScheme(r){let n=s.findIndex((c)=>c.schemeId===r.schemeId);if(n===-1)s.push(r);else s.splice(n,1,r)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(r){t=r},httpAuthSchemeProvider(){return t},setCredentials(r){o=r},credentials(){return o}}},Qr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},Jr=(e,s)=>{let t=Object.assign(Ns.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),Ds.getHttpHandlerExtensionConfiguration(e),Yr(e));return s.forEach((o)=>o.configure(t)),Object.assign(e,Ns.resolveAwsRegionExtensionConfiguration(t),P.resolveDefaultRuntimeConfig(t),Ds.resolveHttpHandlerRuntimeConfig(t),Qr(t))};class _e extends P.Client{config;constructor(...[e]){let s=zr.getRuntimeConfig(e||{});super(s);this.initConfig=s;let t=Vr(s),o=gs.resolveUserAgentConfig(t),r=Cs.resolveRetryConfig(o),n=jr.resolveRegionConfig(r),c=ys.resolveHostHeaderConfig(n),_=bs.resolveEndpointConfig(c),d=ws.resolveHttpAuthSchemeConfig(_),l=Jr(d,e?.extensions||[]);this.config=l,this.middlewareStack.use(Lr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(gs.getUserAgentPlugin(this.config)),this.middlewareStack.use(Cs.getRetryPlugin(this.config)),this.middlewareStack.use(Tr.getContentLengthPlugin(this.config)),this.middlewareStack.use(ys.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Gr.getLoggerPlugin(this.config)),this.middlewareStack.use(mr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(pe.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ws.defaultSSOHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(u)=>new pe.DefaultIdentityProviderConfig({"aws.auth#sigv4":u.credentials})})),this.middlewareStack.use(pe.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Ee extends P.Command.classBuilder().ep(Br).m(function(e,s,t,o){return[bs.getEndpointPlugin(t,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(b.GetRoleCredentials$).build(){}var Wr={GetRoleCredentialsCommand:Ee};class Se extends _e{}P.createAggregatedClient(Wr,Se);O.$Command=P.Command;O.__Client=P.Client;O.SSOServiceException=Hr.SSOServiceException;O.GetRoleCredentialsCommand=Ee;O.SSO=Se;O.SSOClient=_e;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=b[e]});Object.prototype.hasOwnProperty.call(Y,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:Y.__proto__});Object.keys(Y).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=Y[e]})});var Fs=S((to)=>{var As=$s();to.GetRoleCredentialsCommand=As.GetRoleCredentialsCommand;to.SSOClient=As.SSOClient});var R,Q,Us,ao,Gs=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),$=!1,Ms=async({ssoStartUrl:e,ssoSession:s,ssoAccountId:t,ssoRegion:o,ssoRoleName:r,ssoClient:n,clientConfig:c,parentClientConfig:_,callerClientConfig:d,profile:l,filepath:u,configFilepath:C,ignoreCache:x,logger:a})=>{let v,J="To refresh this SSO session run aws sso login with the corresponding profile.";if(s)try{let I=await ao.fromSso({profile:l,filepath:u,configFilepath:C,ignoreCache:x})();v={accessToken:I.token,expiresAt:new Date(I.expiration).toISOString()}}catch(I){throw new R.CredentialsProviderError(I.message,{tryNextLink:$,logger:a})}else try{v=await Q.getSSOTokenFromFile(e)}catch(I){throw new R.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a})}if(new Date(v.expiresAt).getTime()-Date.now()<=0)throw new R.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a});let{accessToken:Re}=v,{SSOClient:y,GetRoleCredentialsCommand:A}=await Promise.resolve().then(function(){return Fs()}),js=n||new y(Object.assign({},c??{},{logger:c?.logger??d?.logger??_?.logger,region:c?.region??o,userAgentAppId:c?.userAgentAppId??d?.userAgentAppId??_?.userAgentAppId})),xe;try{xe=await js.send(new A({accountId:t,roleName:r,accessToken:Re}))}catch(I){throw new R.CredentialsProviderError(I,{tryNextLink:$,logger:a})}let{roleCredentials:{accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:he,credentialScope:fe,accountId:qe}={}}=xe;if(!ve||!Oe||!Ie||!he)throw new R.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:$,logger:a});let W={accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:new Date(he),...fe&&{credentialScope:fe},...qe&&{accountId:qe}};if(s)Us.setCredentialFeature(W,"CREDENTIALS_SSO","s");else Us.setCredentialFeature(W,"CREDENTIALS_SSO_LEGACY","u");return W},ms=(e,s)=>{let{sso_start_url:t,sso_account_id:o,sso_region:r,sso_role_name:n}=e;if(!t||!o||!r||!n)throw new R.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
2
- Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:s});return e},co=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:t,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoSession:c}=e,{ssoClient:_}=e,d=Q.getProfileName({profile:e.profile??s?.profile});if(!t&&!o&&!r&&!n&&!c){let u=(await Q.parseKnownFiles(e))[d];if(!u)throw new R.CredentialsProviderError(`Profile ${d} was not found.`,{logger:e.logger});if(!Gs(u))throw new R.CredentialsProviderError(`Profile ${d} is not configured with SSO credentials.`,{logger:e.logger});if(u?.sso_session){let y=(await Q.loadSsoSessionData(e))[u.sso_session],A=` configurations in profile ${d} and sso-session ${u.sso_session}`;if(r&&r!==y.sso_region)throw new R.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(t&&t!==y.sso_start_url)throw new R.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});u.sso_region=y.sso_region,u.sso_start_url=y.sso_start_url}let{sso_start_url:C,sso_account_id:x,sso_region:a,sso_role_name:v,sso_session:J}=ms(u,e.logger);return Ms({ssoStartUrl:C,ssoSession:J,ssoAccountId:x,ssoRegion:a,ssoRoleName:v,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!t||!o||!r||!n)throw new R.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return Ms({ssoStartUrl:t,ssoSession:c,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})},lo,uo,io;var po=no(()=>{R=Ce(),Q=we(),Us=Z(),ao=De();lo=co,uo=Gs,io=ms});po();export{io as validateSsoProfile,uo as isSsoProfile,lo as fromSSO};export default {get validateSsoProfile(){return io},get isSsoProfile(){return uo},get fromSSO(){return lo}};
@@ -1 +0,0 @@
1
- import{Y3 as S}from"./cli-0.1.14-d1edbjh4.mjs";import"./cli-0.1.14-qzcceap6.mjs";import"./cli-0.1.14-3m63hy2a.mjs";import{z4 as A}from"./cli-0.1.14-jnfs73kb.mjs";import{Pla as I,Qla as h}from"./cli-0.1.14-wwehdfwx.mjs";import"./cli-0.1.14-0nhaxy76.mjs";import"./cli-0.1.14-8fr10t94.mjs";import{$la as p,cma as F}from"./cli-0.1.14-qn4ftczz.mjs";var d=p((n)=>{var w=n&&n.__createBinding||(Object.create?function(e,r,o,t){if(t===void 0)t=o;var _=Object.getOwnPropertyDescriptor(r,o);if(!_||("get"in _?!r.__esModule:_.writable||_.configurable))_={enumerable:!0,get:function(){return r[o]}};Object.defineProperty(e,t,_)}:function(e,r,o,t){if(t===void 0)t=o;e[t]=r[o]}),v=n&&n.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),j=n&&n.__importStar||function(){var e=function(r){return e=Object.getOwnPropertyNames||function(o){var t=[];for(var _ in o)if(Object.prototype.hasOwnProperty.call(o,_))t[t.length]=_;return t},e(r)};return function(r){if(r&&r.__esModule)return r;var o={};if(r!=null){for(var t=e(r),_=0;_<t.length;_++)if(t[_]!=="default")w(o,r,t[_])}return v(o,r),o}}();Object.defineProperty(n,"__esModule",{value:!0});n.fromWebToken=void 0;var m=(e)=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:o,roleSessionName:t,webIdentityToken:_,providerId:s,policyArns:y,policy:b,durationSeconds:T}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:N}=await Promise.resolve().then(()=>j(S()));l=N({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...r?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:o,RoleSessionName:t??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:_,ProviderId:s,PolicyArns:y,Policy:b,DurationSeconds:T})};n.fromWebToken=m});var u=p((E)=>{Object.defineProperty(E,"__esModule",{value:!0});E.fromTokenFile=void 0;var P=I(),g=h(),k=A(),R=F("node:fs"),q=d(),O="AWS_WEB_IDENTITY_TOKEN_FILE",L="AWS_ROLE_ARN",W="AWS_ROLE_SESSION_NAME",V=(e={})=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let o=e?.webIdentityTokenFile??process.env[O],t=e?.roleArn??process.env[L],_=e?.roleSessionName??process.env[W];if(!o||!t)throw new g.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let s=await(0,q.fromWebToken)({...e,webIdentityToken:k.externalDataInterceptor?.getTokenRecord?.()[o]??(0,R.readFileSync)(o,{encoding:"ascii"}),roleArn:t,roleSessionName:_})(r);if(o===process.env[O])(0,P.setCredentialFeature)(s,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h");return s};E.fromTokenFile=V});var x=p((c)=>{var i=u(),a=d();Object.prototype.hasOwnProperty.call(i,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:i.__proto__});Object.keys(i).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=i[e]});Object.prototype.hasOwnProperty.call(a,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:a.__proto__});Object.keys(a).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=a[e]})});export default x();
@@ -1 +0,0 @@
1
- import{Xla as ls}from"./cli-0.1.14-8fr10t94.mjs";import{$la as z,bma as hs,cma as Xn}from"./cli-0.1.14-qn4ftczz.mjs";var V=z((js,Z)=>{var _,nn,en,sn,tn,hn,ln,cn,yn,wn,Sn,an,fn,Q,F,bn,un,gn,T,Mn,Un,Bn,$n,In,On,zn,Nn,Gn,X,rn,Cn,Tn;(function(n){var s=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(a){n(c(s,c(a)))});else if(typeof Z==="object"&&typeof js==="object")n(c(s,c(js)));else n(c(s));function c(a,w){if(a!==s)if(typeof Object.create==="function")Object.defineProperty(a,"__esModule",{value:!0});else a.__esModule=!0;return function(e,t){return a[e]=w?w(e,t):t}}})(function(n){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var h in t)if(Object.prototype.hasOwnProperty.call(t,h))e[h]=t[h]};_=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");s(e,t);function h(){this.constructor=e}e.prototype=t===null?Object.create(t):(h.prototype=t.prototype,new h)},nn=Object.assign||function(e){for(var t,h=1,l=arguments.length;h<l;h++){t=arguments[h];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e},en=function(e,t){var h={};for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0)h[l]=e[l];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var i=0,l=Object.getOwnPropertySymbols(e);i<l.length;i++)if(t.indexOf(l[i])<0&&Object.prototype.propertyIsEnumerable.call(e,l[i]))h[l[i]]=e[l[i]]}return h},sn=function(e,t,h,l){var i=arguments.length,y=i<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,h):l,S;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")y=Reflect.decorate(e,t,h,l);else for(var b=e.length-1;b>=0;b--)if(S=e[b])y=(i<3?S(y):i>3?S(t,h,y):S(t,h))||y;return i>3&&y&&Object.defineProperty(t,h,y),y},tn=function(e,t){return function(h,l){t(h,l,e)}},hn=function(e,t,h,l,i,y){function S(r){if(r!==void 0&&typeof r!=="function")throw TypeError("Function expected");return r}var b=l.kind,g=b==="getter"?"get":b==="setter"?"set":"value",f=!t&&e?l.static?e:e.prototype:null,u=t||(f?Object.getOwnPropertyDescriptor(f,l.name):{}),U,B=!1;for(var M=h.length-1;M>=0;M--){var I={};for(var O in l)I[O]=O==="access"?{}:l[O];for(var O in l.access)I.access[O]=l.access[O];I.addInitializer=function(r){if(B)throw TypeError("Cannot add initializers after decoration has completed");y.push(S(r||null))};var $=(0,h[M])(b==="accessor"?{get:u.get,set:u.set}:u[g],I);if(b==="accessor"){if($===void 0)continue;if($===null||typeof $!=="object")throw TypeError("Object expected");if(U=S($.get))u.get=U;if(U=S($.set))u.set=U;if(U=S($.init))i.unshift(U)}else if(U=S($))if(b==="field")i.unshift(U);else u[g]=U}if(f)Object.defineProperty(f,l.name,u);B=!0},ln=function(e,t,h){var l=arguments.length>2;for(var i=0;i<t.length;i++)h=l?t[i].call(e,h):t[i].call(e);return l?h:void 0},cn=function(e){return typeof e==="symbol"?e:"".concat(e)},yn=function(e,t,h){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:h?"".concat(h," ",t):t})},wn=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},Sn=function(e,t,h,l){function i(y){return y instanceof h?y:new h(function(S){S(y)})}return new(h||(h=Promise))(function(y,S){function b(u){try{f(l.next(u))}catch(U){S(U)}}function g(u){try{f(l.throw(u))}catch(U){S(U)}}function f(u){u.done?y(u.value):i(u.value).then(b,g)}f((l=l.apply(e,t||[])).next())})},an=function(e,t){var h={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},l,i,y,S=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return S.next=b(0),S.throw=b(1),S.return=b(2),typeof Symbol==="function"&&(S[Symbol.iterator]=function(){return this}),S;function b(f){return function(u){return g([f,u])}}function g(f){if(l)throw TypeError("Generator is already executing.");while(S&&(S=0,f[0]&&(h=0)),h)try{if(l=1,i&&(y=f[0]&2?i.return:f[0]?i.throw||((y=i.return)&&y.call(i),0):i.next)&&!(y=y.call(i,f[1])).done)return y;if(i=0,y)f=[f[0]&2,y.value];switch(f[0]){case 0:case 1:y=f;break;case 4:return h.label++,{value:f[1],done:!1};case 5:h.label++,i=f[1],f=[0];continue;case 7:f=h.ops.pop(),h.trys.pop();continue;default:if((y=h.trys,!(y=y.length>0&&y[y.length-1]))&&(f[0]===6||f[0]===2)){h=0;continue}if(f[0]===3&&(!y||f[1]>y[0]&&f[1]<y[3])){h.label=f[1];break}if(f[0]===6&&h.label<y[1]){h.label=y[1],y=f;break}if(y&&h.label<y[2]){h.label=y[2],h.ops.push(f);break}if(y[2])h.ops.pop();h.trys.pop();continue}f=t.call(e,h)}catch(u){f=[6,u],i=0}finally{l=y=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},fn=function(e,t){for(var h in e)if(h!=="default"&&!Object.prototype.hasOwnProperty.call(t,h))X(t,e,h)},X=Object.create?function(e,t,h,l){if(l===void 0)l=h;var i=Object.getOwnPropertyDescriptor(t,h);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[h]}};Object.defineProperty(e,l,i)}:function(e,t,h,l){if(l===void 0)l=h;e[l]=t[h]},Q=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,h=t&&e[t],l=0;if(h)return h.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&l>=e.length)e=void 0;return{value:e&&e[l++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(e,t){var h=typeof Symbol==="function"&&e[Symbol.iterator];if(!h)return e;var l=h.call(e),i,y=[],S;try{while((t===void 0||t-- >0)&&!(i=l.next()).done)y.push(i.value)}catch(b){S={error:b}}finally{try{if(i&&!i.done&&(h=l.return))h.call(l)}finally{if(S)throw S.error}}return y},bn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(F(arguments[t]));return e},un=function(){for(var e=0,t=0,h=arguments.length;t<h;t++)e+=arguments[t].length;for(var l=Array(e),i=0,t=0;t<h;t++)for(var y=arguments[t],S=0,b=y.length;S<b;S++,i++)l[i]=y[S];return l},gn=function(e,t,h){if(h||arguments.length===2){for(var l=0,i=t.length,y;l<i;l++)if(y||!(l in t)){if(!y)y=Array.prototype.slice.call(t,0,l);y[l]=t[l]}}return e.concat(y||Array.prototype.slice.call(t))},T=function(e){return this instanceof T?(this.v=e,this):new T(e)},Mn=function(e,t,h){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var l=h.apply(e,t||[]),i,y=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),b("next"),b("throw"),b("return",S),i[Symbol.asyncIterator]=function(){return this},i;function S(M){return function(I){return Promise.resolve(I).then(M,U)}}function b(M,I){if(l[M]){if(i[M]=function(O){return new Promise(function($,r){y.push([M,O,$,r])>1||g(M,O)})},I)i[M]=I(i[M])}}function g(M,I){try{f(l[M](I))}catch(O){B(y[0][3],O)}}function f(M){M.value instanceof T?Promise.resolve(M.value.v).then(u,U):B(y[0][2],M)}function u(M){g("next",M)}function U(M){g("throw",M)}function B(M,I){if(M(I),y.shift(),y.length)g(y[0][0],y[0][1])}},Un=function(e){var t,h;return t={},l("next"),l("throw",function(i){throw i}),l("return"),t[Symbol.iterator]=function(){return this},t;function l(i,y){t[i]=e[i]?function(S){return(h=!h)?{value:T(e[i](S)),done:!1}:y?y(S):S}:y}},Bn=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],h;return t?t.call(e):(e=typeof Q==="function"?Q(e):e[Symbol.iterator](),h={},l("next"),l("throw"),l("return"),h[Symbol.asyncIterator]=function(){return this},h);function l(y){h[y]=e[y]&&function(S){return new Promise(function(b,g){S=e[y](S),i(b,g,S.done,S.value)})}}function i(y,S,b,g){Promise.resolve(g).then(function(f){y({value:f,done:b})},S)}},$n=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var c=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){return a=Object.getOwnPropertyNames||function(t){var h=[];for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l))h[h.length]=l;return h},a(e)};In=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var h=a(e),l=0;l<h.length;l++)if(h[l]!=="default")X(t,e,h[l])}return c(t,e),t},On=function(e){return e&&e.__esModule?e:{default:e}},zn=function(e,t,h,l){if(h==="a"&&!l)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!l:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return h==="m"?l:h==="a"?l.call(e):l?l.value:t.get(e)},Nn=function(e,t,h,l,i){if(l==="m")throw TypeError("Private method is not writable");if(l==="a"&&!i)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return l==="a"?i.call(e,h):i?i.value=h:t.set(e,h),h},Gn=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},rn=function(e,t,h){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var l,i;if(h){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");l=t[Symbol.asyncDispose]}if(l===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(l=t[Symbol.dispose],h)i=l}if(typeof l!=="function")throw TypeError("Object not disposable.");if(i)l=function(){try{i.call(this)}catch(y){return Promise.reject(y)}};e.stack.push({value:t,dispose:l,async:h})}else if(h)e.stack.push({async:!0});return t};var w=typeof SuppressedError==="function"?SuppressedError:function(e,t,h){var l=Error(h);return l.name="SuppressedError",l.error=e,l.suppressed=t,l};Cn=function(e){function t(y){e.error=e.hasError?new w(y,e.error,"An error was suppressed during disposal."):y,e.hasError=!0}var h,l=0;function i(){while(h=e.stack.pop())try{if(!h.async&&l===1)return l=0,e.stack.push(h),Promise.resolve().then(i);if(h.dispose){var y=h.dispose.call(h.value);if(h.async)return l|=2,Promise.resolve(y).then(i,function(S){return t(S),i()})}else l|=1}catch(S){t(S)}if(l===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()},Tn=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(h,l,i,y,S){return l?t?".jsx":".js":i&&(!y||!S)?h:i+y+"."+S.toLowerCase()+"js"});return e},n("__extends",_),n("__assign",nn),n("__rest",en),n("__decorate",sn),n("__param",tn),n("__esDecorate",hn),n("__runInitializers",ln),n("__propKey",cn),n("__setFunctionName",yn),n("__metadata",wn),n("__awaiter",Sn),n("__generator",an),n("__exportStar",fn),n("__createBinding",X),n("__values",Q),n("__read",F),n("__spread",bn),n("__spreadArrays",un),n("__spreadArray",gn),n("__await",T),n("__asyncGenerator",Mn),n("__asyncDelegator",Un),n("__asyncValues",Bn),n("__makeTemplateObject",$n),n("__importStar",In),n("__importDefault",On),n("__classPrivateFieldGet",zn),n("__classPrivateFieldSet",Nn),n("__classPrivateFieldIn",Gn),n("__addDisposableResource",rn),n("__disposeResources",Cn),n("__rewriteRelativeImportExtension",Tn)})});var Qn=z((Es,Wn)=>{var{defineProperty:H,getOwnPropertyDescriptor:fe,getOwnPropertyNames:be}=Object,ue=Object.prototype.hasOwnProperty,ge=(n,s)=>H(n,"name",{value:s,configurable:!0}),Me=(n,s)=>{for(var c in s)H(n,c,{get:s[c],enumerable:!0})},Ue=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of be(s))if(!ue.call(n,w)&&w!==c)H(n,w,{get:()=>s[w],enumerable:!(a=fe(s,w))||a.enumerable})}return n},Be=(n)=>Ue(H({},"__esModule",{value:!0}),n),Ln={};Me(Ln,{isArrayBuffer:()=>$e});Wn.exports=Be(Ln);var $e=ge((n)=>typeof ArrayBuffer==="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]","isArrayBuffer")});var Kn=z((Ps,qn)=>{var{defineProperty:q,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Oe}=Object,ze=Object.prototype.hasOwnProperty,Zn=(n,s)=>q(n,"name",{value:s,configurable:!0}),Ne=(n,s)=>{for(var c in s)q(n,c,{get:s[c],enumerable:!0})},Ge=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Oe(s))if(!ze.call(n,w)&&w!==c)q(n,w,{get:()=>s[w],enumerable:!(a=Ie(s,w))||a.enumerable})}return n},re=(n)=>Ge(q({},"__esModule",{value:!0}),n),Hn={};Ne(Hn,{fromArrayBuffer:()=>Te,fromString:()=>Le});qn.exports=re(Hn);var Ce=Qn(),J=Xn("buffer"),Te=Zn((n,s=0,c=n.byteLength-s)=>{if(!(0,Ce.isArrayBuffer)(n))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof n} (${n})`);return J.Buffer.from(n,s,c)},"fromArrayBuffer"),Le=Zn((n,s)=>{if(typeof n!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof n} (${n})`);return s?J.Buffer.from(n,s):J.Buffer.from(n)},"fromString")});var An=z((ks,mn)=>{var{defineProperty:K,getOwnPropertyDescriptor:We,getOwnPropertyNames:Qe}=Object,Xe=Object.prototype.hasOwnProperty,m=(n,s)=>K(n,"name",{value:s,configurable:!0}),Ze=(n,s)=>{for(var c in s)K(n,c,{get:s[c],enumerable:!0})},He=(n,s,c,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let w of Qe(s))if(!Xe.call(n,w)&&w!==c)K(n,w,{get:()=>s[w],enumerable:!(a=We(s,w))||a.enumerable})}return n},qe=(n)=>He(K({},"__esModule",{value:!0}),n),Fn={};Ze(Fn,{fromUtf8:()=>Jn,toUint8Array:()=>Ke,toUtf8:()=>Fe});mn.exports=qe(Fn);var Vn=Kn(),Jn=m((n)=>{let s=(0,Vn.fromString)(n,"utf8");return new Uint8Array(s.buffer,s.byteOffset,s.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Ke=m((n)=>{if(typeof n==="string")return Jn(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)},"toUint8Array"),Fe=m((n)=>{if(typeof n==="string")return n;if(typeof n!=="object"||typeof n.byteOffset!=="number"||typeof n.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return(0,Vn.fromArrayBuffer)(n.buffer,n.byteOffset,n.byteLength).toString("utf8")},"toUtf8")});var Dn=z((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});Rn.convertToBuffer=void 0;var Ve=An(),Je=typeof Buffer<"u"&&Buffer.from?function(n){return Buffer.from(n,"utf8")}:Ve.fromUtf8;function me(n){if(n instanceof Uint8Array)return n;if(typeof n==="string")return Je(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)}Rn.convertToBuffer=me});var Pn=z((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.isEmptyData=void 0;function Ae(n){if(typeof n==="string")return n.length===0;return n.byteLength===0}jn.isEmptyData=Ae});var dn=z((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.numToUint8=void 0;function Re(n){return new Uint8Array([(n&4278190080)>>24,(n&16711680)>>16,(n&65280)>>8,n&255])}kn.numToUint8=Re});var pn=z((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.uint32ArrayFrom=void 0;function Ye(n){if(!Uint32Array.from){var s=new Uint32Array(n.length),c=0;while(c<n.length)s[c]=n[c],c+=1;return s}return Uint32Array.from(n)}on.uint32ArrayFrom=Ye});var A=z((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.uint32ArrayFrom=L.numToUint8=L.isEmptyData=L.convertToBuffer=void 0;var De=Dn();Object.defineProperty(L,"convertToBuffer",{enumerable:!0,get:function(){return De.convertToBuffer}});var je=Pn();Object.defineProperty(L,"isEmptyData",{enumerable:!0,get:function(){return je.isEmptyData}});var Ee=dn();Object.defineProperty(L,"numToUint8",{enumerable:!0,get:function(){return Ee.numToUint8}});var Pe=pn();Object.defineProperty(L,"uint32ArrayFrom",{enumerable:!0,get:function(){return Pe.uint32ArrayFrom}})});var te=z((ee)=>{Object.defineProperty(ee,"__esModule",{value:!0});ee.AwsCrc32=void 0;var _n=V(),R=A(),ne=Y(),ve=function(){function n(){this.crc32=new ne.Crc32}return n.prototype.update=function(s){if((0,R.isEmptyData)(s))return;this.crc32.update((0,R.convertToBuffer)(s))},n.prototype.digest=function(){return _n.__awaiter(this,void 0,void 0,function(){return _n.__generator(this,function(s){return[2,(0,R.numToUint8)(this.crc32.digest())]})})},n.prototype.reset=function(){this.crc32=new ne.Crc32},n}();ee.AwsCrc32=ve});var Y=z((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.AwsCrc32=D.Crc32=D.crc32=void 0;var de=V(),oe=A();function xe(n){return new he().update(n).digest()}D.crc32=xe;var he=function(){function n(){this.checksum=4294967295}return n.prototype.update=function(s){var c,a;try{for(var w=de.__values(s),e=w.next();!e.done;e=w.next()){var t=e.value;this.checksum=this.checksum>>>8^_e[(this.checksum^t)&255]}}catch(h){c={error:h}}finally{try{if(e&&!e.done&&(a=w.return))a.call(w)}finally{if(c)throw c.error}}return this},n.prototype.digest=function(){return(this.checksum^4294967295)>>>0},n}();D.Crc32=he;var pe=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],_e=(0,oe.uint32ArrayFrom)(pe),ns=te();Object.defineProperty(D,"AwsCrc32",{enumerable:!0,get:function(){return ns.AwsCrc32}})});class W{bytes;constructor(n){if(this.bytes=n,n.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(n){if(n>9223372036854776000||n<-9223372036854776000)throw Error(`${n} is too large (or, if negative, too small) to represent as an Int64`);let s=new Uint8Array(8);for(let c=7,a=Math.abs(Math.round(n));c>-1&&a>0;c--,a/=256)s[c]=a;if(n<0)le(s);return new W(s)}valueOf(){let n=this.bytes.slice(0),s=n[0]&128;if(s)le(n);return parseInt(N.toHex(n),16)*(s?-1:1)}toString(){return String(this.valueOf())}}function le(n){for(let s=0;s<8;s++)n[s]^=255;for(let s=7;s>-1;s--)if(n[s]++,n[s]!==0)break}class j{toUtf8;fromUtf8;constructor(n,s){this.toUtf8=n,this.fromUtf8=s}format(n){let s=[];for(let w of Object.keys(n)){let e=this.fromUtf8(w);s.push(Uint8Array.from([e.byteLength]),e,this.formatHeaderValue(n[w]))}let c=new Uint8Array(s.reduce((w,e)=>w+e.byteLength,0)),a=0;for(let w of s)c.set(w,a),a+=w.byteLength;return c}formatHeaderValue(n){switch(n.type){case"boolean":return Uint8Array.from([n.value?0:1]);case"byte":return Uint8Array.from([2,n.value]);case"short":let s=new DataView(new ArrayBuffer(3));return s.setUint8(0,3),s.setInt16(1,n.value,!1),new Uint8Array(s.buffer);case"integer":let c=new DataView(new ArrayBuffer(5));return c.setUint8(0,4),c.setInt32(1,n.value,!1),new Uint8Array(c.buffer);case"long":let a=new Uint8Array(9);return a[0]=5,a.set(n.value.bytes,1),a;case"binary":let w=new DataView(new ArrayBuffer(3+n.value.byteLength));w.setUint8(0,6),w.setUint16(1,n.value.byteLength,!1);let e=new Uint8Array(w.buffer);return e.set(n.value,3),e;case"string":let t=this.fromUtf8(n.value),h=new DataView(new ArrayBuffer(3+t.byteLength));h.setUint8(0,7),h.setUint16(1,t.byteLength,!1);let l=new Uint8Array(h.buffer);return l.set(t,3),l;case"timestamp":let i=new Uint8Array(9);return i[0]=8,i.set(W.fromNumber(n.value.valueOf()).bytes,1),i;case"uuid":if(!gs.test(n.value))throw Error(`Invalid UUID received: ${n.value}`);let y=new Uint8Array(17);return y[0]=9,y.set(N.fromHex(n.value.replace(/\-/g,"")),1),y}}parse(n){let s={},c=0;while(c<n.byteLength){let a=n.getUint8(c++),w=this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,a));switch(c+=a,n.getUint8(c++)){case 0:s[w]={type:ye,value:!0};break;case 1:s[w]={type:ye,value:!1};break;case 2:s[w]={type:ys,value:n.getInt8(c++)};break;case 3:s[w]={type:is,value:n.getInt16(c,!1)},c+=2;break;case 4:s[w]={type:ws,value:n.getInt32(c,!1)},c+=4;break;case 5:s[w]={type:Ss,value:new W(new Uint8Array(n.buffer,n.byteOffset+c,8))},c+=8;break;case 6:let e=n.getUint16(c,!1);c+=2,s[w]={type:as,value:new Uint8Array(n.buffer,n.byteOffset+c,e)},c+=e;break;case 7:let t=n.getUint16(c,!1);c+=2,s[w]={type:fs,value:this.toUtf8(new Uint8Array(n.buffer,n.byteOffset+c,t))},c+=t;break;case 8:s[w]={type:bs,value:new Date(new W(new Uint8Array(n.buffer,n.byteOffset+c,8)).valueOf())},c+=8;break;case 9:let h=new Uint8Array(n.buffer,n.byteOffset+c,16);c+=16,s[w]={type:us,value:`${N.toHex(h.subarray(0,4))}-${N.toHex(h.subarray(4,6))}-${N.toHex(h.subarray(6,8))}-${N.toHex(h.subarray(8,10))}-${N.toHex(h.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return s}}function Us({byteLength:n,byteOffset:s,buffer:c}){if(n<Ms)throw Error("Provided message too short to accommodate event stream message overhead");let a=new DataView(c,s,n),w=a.getUint32(0,!1);if(n!==w)throw Error("Reported message length does not match received message length");let e=a.getUint32(we,!1),t=a.getUint32(G,!1),h=a.getUint32(n-C,!1),l=new ie.Crc32().update(new Uint8Array(c,s,G));if(t!==l.digest())throw Error(`The prelude checksum specified in the message (${t}) does not match the calculated CRC32 checksum (${l.digest()})`);if(l.update(new Uint8Array(c,s+G,n-(G+C))),h!==l.digest())throw Error(`The message checksum (${l.digest()}) did not match the expected value of ${h}`);return{headers:new DataView(c,s+G+C,e),body:new Uint8Array(c,s+G+C+e,w-e-(G+C+C))}}class E{headerMarshaller;messageBuffer;isEndOfStream;constructor(n,s){this.headerMarshaller=new j(n,s),this.messageBuffer=[],this.isEndOfStream=!1}feed(n){this.messageBuffer.push(this.decode(n))}endOfStream(){this.isEndOfStream=!0}getMessage(){let n=this.messageBuffer.pop(),s=this.isEndOfStream;return{getMessage(){return n},isEndOfStream(){return s}}}getAvailableMessages(){let n=this.messageBuffer;this.messageBuffer=[];let s=this.isEndOfStream;return{getMessages(){return n},isEndOfStream(){return s}}}encode({headers:n,body:s}){let c=this.headerMarshaller.format(n),a=c.byteLength+s.byteLength+16,w=new Uint8Array(a),e=new DataView(w.buffer,w.byteOffset,w.byteLength),t=new ie.Crc32;return e.setUint32(0,a,!1),e.setUint32(4,c.byteLength,!1),e.setUint32(8,t.update(w.subarray(0,8)).digest(),!1),w.set(c,12),w.set(s,c.byteLength+12),e.setUint32(a-4,t.update(w.subarray(8,a-4)).digest(),!1),w}decode(n){let{headers:s,body:c}=Us(n);return{headers:this.headerMarshaller.parse(s),body:c}}formatHeaders(n){return this.headerMarshaller.format(n)}}function Se(n){let s=0,c=0,a=null,w=null,e=(h)=>{if(typeof h!=="number")throw Error("Attempted to allocate an event message where size was not a number: "+h);s=h,c=4,a=new Uint8Array(h),new DataView(a.buffer).setUint32(0,h,!1)},t=async function*(){let h=n[Symbol.asyncIterator]();while(!0){let{value:l,done:i}=await h.next();if(i){if(!s)return;else if(s===c)yield a;else throw Error("Truncated event message received.");return}let y=l.length,S=0;while(S<y){if(!a){let g=y-S;if(!w)w=new Uint8Array(4);let f=Math.min(4-c,g);if(w.set(l.slice(S,S+f),c),c+=f,S+=f,c<4)break;e(new DataView(w.buffer).getUint32(0,!1)),w=null}let b=Math.min(s-c,y-S);if(a.set(l.slice(S,S+b),c),c+=b,S+=b,s&&s===c)yield a,a=null,s=0,c=0}}};return{[Symbol.asyncIterator]:t}}function Bs(n,s){let c=o(s.deserializer,s.toUtf8);return{[Symbol.asyncIterator]:async function*(){for await(let a of n){let w=s.eventStreamCodec.decode(a),e=await c(w);if(e===void 0)continue;yield e}}}}function o(n,s){return async function(c){let{value:a}=c.headers[":message-type"];if(a==="error"){let w=Error(c.headers[":error-message"].value||"UnknownError");throw w.name=c.headers[":error-code"].value,w}else if(a==="exception"){let w=c.headers[":exception-type"].value,e={[w]:c},t=await n(e);if(t.$unknown){let h=Error(s(c.body));throw h.name=w,h}throw t[w]}else if(a==="event"){let w={[c.headers[":event-type"].value]:c},e=await n(w);if(e.$unknown)return;return e}else throw Error(`Unrecognizable event type: ${c.headers[":event-type"].value}`)}}class p{universalMarshaller;constructor({utf8Encoder:n,utf8Decoder:s}){this.universalMarshaller=new x({utf8Decoder:s,utf8Encoder:n})}deserialize(n,s){let c=typeof n[Symbol.asyncIterator]==="function"?n:Os(n);return this.universalMarshaller.deserialize(c,s)}serialize(n,s){return cs.Readable.from(this.universalMarshaller.serialize(n,s))}}async function*Os(n){let s=!1,c=!1,a=[];n.on("error",(w)=>{if(!s)s=!0;if(w)throw w}),n.on("data",(w)=>{a.push(w)}),n.on("end",()=>{s=!0});while(!c){let w=await new Promise((e)=>setTimeout(()=>e(a.shift()),0));if(w)yield w;c=s&&a.length===0}}class ae{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:n,serializer:s,deserializer:c,serdeContext:a,defaultContentType:w}){this.marshaller=n,this.serializer=s,this.deserializer=c,this.serdeContext=a,this.defaultContentType=w}async serializeEventStream({eventStream:n,requestSchema:s,initialRequest:c}){let a=this.marshaller,w=s.getEventStreamMember(),e=s.getMemberSchema(w),t=this.serializer,h=this.defaultContentType,l=Symbol("initialRequestMarker"),i={async*[Symbol.asyncIterator](){if(c){let y={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:h}};t.write(s,c);let S=t.flush();yield{[l]:!0,headers:y,body:S}}for await(let y of n)yield y}};return a.serialize(i,(y)=>{if(y[l])return{headers:y.headers,body:y.body};let S="";for(let B in y)if(B!=="__type"){S=B;break}let{additionalHeaders:b,body:g,eventType:f,explicitPayloadContentType:u}=this.writeEventBody(S,e,y);return{headers:{":event-type":{type:"string",value:f},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u??h},...b},body:g}})}async deserializeEventStream({response:n,responseSchema:s,initialResponseContainer:c}){let a=this.marshaller,w=s.getEventStreamMember(),t=s.getMemberSchema(w).getMemberSchemas(),h=Symbol("initialResponseMarker"),l=a.deserialize(n.body,async(S)=>{let b="";for(let f in S)if(f!=="__type"){b=f;break}let g=S[b].body;if(b==="initial-response"){let f=await this.deserializer.read(s,g);return delete f[w],{[h]:!0,...f}}else if(b in t){let f=t[b];if(f.isStructSchema()){let u={},U=!1;for(let[B,M]of f.structIterator()){let{eventHeader:I,eventPayload:O}=M.getMergedTraits();if(U=U||Boolean(I||O),O){if(M.isBlobSchema())u[B]=g;else if(M.isStringSchema())u[B]=(this.serdeContext?.utf8Encoder??N.toUtf8)(g);else if(M.isStructSchema())u[B]=await this.deserializer.read(M,g)}else if(I){let $=S[b].headers[B]?.value;if($!=null)if(M.isNumericSchema())if($&&typeof $==="object"&&"bytes"in $)u[B]=BigInt($.toString());else u[B]=Number($);else u[B]=$}}if(U)return{[b]:u};if(g.byteLength===0)return{[b]:{}}}return{[b]:await this.deserializer.read(f,g)}}else return{$unknown:S}}),i=l[Symbol.asyncIterator](),y=await i.next();if(y.done)return l;if(y.value?.[h]){if(!s)throw Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let S in y.value)c[S]=y.value[S]}return{async*[Symbol.asyncIterator](){if(!y?.value?.[h])yield y.value;while(!0){let{done:S,value:b}=await i.next();if(S)break;yield b}}}}writeEventBody(n,s,c){let a=this.serializer,w=n,e=null,t,h=(()=>{return s.getSchema()[4].includes(n)})(),l={};if(!h){let[S,b]=c[n];w=S,a.write(15,b)}else{let S=s.getMemberSchema(n);if(S.isStructSchema()){for(let[b,g]of S.structIterator()){let{eventHeader:f,eventPayload:u}=g.getMergedTraits();if(u)e=b;else if(f){let U=c[n][b],B="binary";if(g.isNumericSchema())if(-2147483648<=U&&U<=2147483647)B="integer";else B="long";else if(g.isTimestampSchema())B="timestamp";else if(g.isStringSchema())B="string";else if(g.isBooleanSchema())B="boolean";if(U!=null)l[b]={type:B,value:U},delete c[n][b]}}if(e!==null){let b=S.getMemberSchema(e);if(b.isBlobSchema())t="application/octet-stream";else if(b.isStringSchema())t="text/plain";a.write(b,c[n][e])}else a.write(S,c[n])}else if(S.isUnitSchema())a.write(S,{});else throw Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}let i=a.flush()??new Uint8Array;return{body:typeof i==="string"?(this.serdeContext?.utf8Decoder??N.fromUtf8)(i):i,eventType:w,explicitPayloadContentType:t,additionalHeaders:l}}}var ie,N,cs,ce,ye="boolean",ys="byte",is="short",ws="integer",Ss="long",as="binary",fs="string",bs="timestamp",us="uuid",gs,we=4,G,C=4,Ms,P,k,v,d,x=class{eventStreamCodec;utfEncoder;constructor({utf8Encoder:s,utf8Decoder:c}){this.eventStreamCodec=new E(s,c),this.utfEncoder=s}deserialize(s,c){let a=Se(s);return new v({messageStream:new P({inputStream:a,decoder:this.eventStreamCodec}),deserializer:o(c,this.utfEncoder)})}serialize(s,c){return new k({messageStream:new d({inputStream:s,serializer:c}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},$s=(n)=>new x(n),Is=(n)=>new p(n),zs=(n)=>({[Symbol.asyncIterator]:async function*(){let s=n.getReader();try{while(!0){let{done:c,value:a}=await s.read();if(c)return;yield a}}finally{s.releaseLock()}}}),Ns=(n)=>{let s=n[Symbol.asyncIterator]();return new ReadableStream({async pull(c){let{done:a,value:w}=await s.next();if(a)return c.close();c.enqueue(w)}})},Gs=(n)=>Object.assign(n,{eventStreamMarshaller:n.eventStreamSerdeProvider(n)}),rs,Cs,Ts,Ls,Ws,Qs,Xs,Zs,Hs,qs,Ks,Fs,Vs,Js,ms,As,Rs,Ys;var Ds=hs(()=>{ie=Y(),N=ls(),cs=Xn("node:stream");(function(n){n[n.boolTrue=0]="boolTrue",n[n.boolFalse=1]="boolFalse",n[n.byte=2]="byte",n[n.short=3]="short",n[n.integer=4]="integer",n[n.long=5]="long",n[n.byteArray=6]="byteArray",n[n.string=7]="string",n[n.timestamp=8]="timestamp",n[n.uuid=9]="uuid"})(ce||(ce={}));gs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,G=we*2,Ms=G+C*2;P=class P{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.decoder.decode(n)}};k=class k{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream)yield this.options.encoder.encode(n);if(this.options.includeEndFrame)yield new Uint8Array(0)}};v=class v{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.messageStream){let s=await this.options.deserializer(n);if(s===void 0)continue;yield s}}};d=class d{options;constructor(n){this.options=n}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let n of this.options.inputStream)yield this.options.serializer(n)}};rs=E,Cs=p,Ts=ae,Ls=j,Ws=W,Qs=P,Xs=k,Zs=v,Hs=d,qs=x,Ks=Is,Fs=Se,Vs=o,Js=Bs,ms=Ns,As=zs,Rs=Gs,Ys=$s});Ds();export{Ys as universalEventStreamSerdeProvider,Rs as resolveEventStreamSerdeConfig,As as readableStreamToIterable,ms as iterableToReadableStream,Js as getUnmarshalledStream,Vs as getMessageUnmarshaller,Fs as getChunkedStream,Ks as eventStreamSerdeProvider,qs as UniversalEventStreamMarshaller,Hs as SmithyMessageEncoderStream,Zs as SmithyMessageDecoderStream,Xs as MessageEncoderStream,Qs as MessageDecoderStream,Ws as Int64,Ls as HeaderMarshaller,Ts as EventStreamSerde,Cs as EventStreamMarshaller,rs as EventStreamCodec};export default {get universalEventStreamSerdeProvider(){return Ys},get resolveEventStreamSerdeConfig(){return Rs},get readableStreamToIterable(){return As},get iterableToReadableStream(){return ms},get getUnmarshalledStream(){return Js},get getMessageUnmarshaller(){return Vs},get getChunkedStream(){return Fs},get eventStreamSerdeProvider(){return Ks},get UniversalEventStreamMarshaller(){return qs},get SmithyMessageEncoderStream(){return Hs},get SmithyMessageDecoderStream(){return Zs},get MessageEncoderStream(){return Xs},get MessageDecoderStream(){return Qs},get Int64(){return Ws},get HeaderMarshaller(){return Ls},get EventStreamSerde(){return Ts},get EventStreamMarshaller(){return Cs},get EventStreamCodec(){return rs}};
@@ -1 +0,0 @@
1
- import{$X as O,AX as n,BX as o,CX as p,DX as q,EX as r,FX as s,GX as t,HX as u,IX as v,JX as w,KX as x,LX as y,MX as z,NX as A,OX as B,PX as C,QX as D,RX as E,SX as F,TX as G,UX as H,VX as I,WX as J,XX as K,YX as L,ZX as M,_X as N,aY as P,bY as Q,cY as R,dY as S,eY as T,nX as a,oX as b,pX as c,qX as d,rX as e,sX as f,tX as g,uX as h,vX as i,wX as j,xX as k,yX as l,zX as m}from"./cli-0.1.14-1g5jq0j8.mjs";import"./cli-0.1.14-qn4ftczz.mjs";T();export{u as zlibSync,t as zlib,M as zipSync,L as zip,y as unzlibSync,x as unzlib,S as unzipSync,R as unzip,F as strToU8,G as strFromU8,i as inflateSync,h as inflate,m as gzipSync,l as gzip,q as gunzipSync,p as gunzip,e as deflateSync,d as deflate,C as decompressSync,B as decompress,m as compressSync,l as compress,r as Zlib,H as ZipPassThrough,I as ZipDeflate,K as Zip,v as Unzlib,N as UnzipPassThrough,O as UnzipInflate,Q as Unzip,f as Inflate,j as Gzip,n as Gunzip,a as FlateErrorCode,E as EncodeUTF8,b as Deflate,z as Decompress,D as DecodeUTF8,j as Compress,s as AsyncZlib,J as AsyncZipDeflate,w as AsyncUnzlib,P as AsyncUnzipInflate,g as AsyncInflate,k as AsyncGzip,o as AsyncGunzip,c as AsyncDeflate,A as AsyncDecompress,k as AsyncCompress};
@@ -1 +0,0 @@
1
- import{Y3 as a}from"./cli-0.1.14-d1edbjh4.mjs";import"./cli-0.1.14-qzcceap6.mjs";import"./cli-0.1.14-3m63hy2a.mjs";import"./cli-0.1.14-wwehdfwx.mjs";import"./cli-0.1.14-0nhaxy76.mjs";import"./cli-0.1.14-8fr10t94.mjs";import"./cli-0.1.14-qn4ftczz.mjs";export default a();
@@ -1 +0,0 @@
1
- import{$4 as r,K4 as a,L4 as b,M4 as c,N4 as d,O4 as e,P4 as f,Q4 as g,R4 as h,S4 as i,T4 as j,U4 as k,V4 as l,W4 as m,X4 as n,Y4 as o,Z4 as p,_4 as q}from"./cli-0.1.14-stv1d0q3.mjs";import"./cli-0.1.14-heevc19y.mjs";import"./cli-0.1.14-kv650aha.mjs";import"./cli-0.1.14-qn4ftczz.mjs";r();export{l as toFormData,k as spread,q as mergeConfig,e as isCancel,j as isAxiosError,p as getAdapter,o as formToJSON,a as default,h as all,g as VERSION,n as HttpStatusCode,d as CanceledError,f as CancelToken,i as Cancel,m as AxiosHeaders,c as AxiosError,b as Axios};
@@ -1 +0,0 @@
1
- import{$3 as Hr,Z3 as G,_3 as fr,a4 as Lr,b4 as oe,c4 as er,d4 as Ut,e4 as Vr,f4 as et,g4 as zr,h4 as hr,i4 as tt,j4 as D,k4 as St,l4 as Sr,m4 as Or,o4 as Ir,p4 as br,q4 as qr,r4 as Dr,s4 as Rr,t4 as tr,u4 as rr,v4 as sr,w4 as Ar,x4 as Br}from"./cli-0.1.14-qzcceap6.mjs";import{y4 as Qe}from"./cli-0.1.14-3m63hy2a.mjs";import{Ola as Er,Pla as Pr}from"./cli-0.1.14-wwehdfwx.mjs";import{Rla as vr}from"./cli-0.1.14-0nhaxy76.mjs";import{Tla as we}from"./cli-0.1.14-8fr10t94.mjs";import{$la as a}from"./cli-0.1.14-qn4ftczz.mjs";var $=a((_)=>{Object.defineProperty(_,"__esModule",{value:!0});_.resolveHttpAuthSchemeConfig=_.defaultSigninHttpAuthSchemeProvider=_.defaultSigninHttpAuthSchemeParametersProvider=void 0;var Ot=G(),g=St(),It=async(e,t,r)=>{return{operation:(0,g.getSmithyContext)(t).operation,region:await(0,g.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};_.defaultSigninHttpAuthSchemeParametersProvider=It;function bt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var Dt=(e)=>{let t=[];switch(e.operation){case"CreateOAuth2Token":{t.push(qt(e));break}default:t.push(bt(e))}return t};_.defaultSigninHttpAuthSchemeProvider=Dt;var Rt=(e)=>{let t=(0,Ot.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,g.normalizeProvider)(e.authSchemePreference??[])})};_.resolveHttpAuthSchemeConfig=Rt});var ae=a((ie)=>{Object.defineProperty(ie,"__esModule",{value:!0});ie.bdd=void 0;var Nt=oe(),P="ref",c=-1,b=!0,ee="isSet",ne="PartitionResult",q="booleanEquals",L="getAttr",f="stringEquals",te={[P]:"Endpoint"},V={[P]:ne},H={fn:L,argv:[V,"name"]},l={},re=[{[P]:"Region"}],se={conditions:[[ee,[te]],[ee,re],["aws.partition",re,ne],[q,[{[P]:"UseFIPS"},b]],[q,[{[P]:"UseDualStack"},b]],[q,[{fn:L,argv:[V,"supportsDualStack"]},b]],[q,[{fn:L,argv:[V,"supportsFIPS"]},b]],[f,[H,"aws"]],[f,[H,"aws-cn"]],[f,[H,"aws-us-gov"]]],results:[[c],[c,"Invalid Configuration: FIPS and custom endpoint are not supported"],[c,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[te,l],["https://{Region}.signin.aws.amazon.com",l],["https://{Region}.signin.amazonaws.cn",l],["https://{Region}.signin.amazonaws-us-gov.com",l],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",l],[c,"FIPS is enabled but this partition does not support FIPS"],["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",l],[c,"Invalid Configuration: Missing Region"]]},Mt=2,s=1e8,wt=new Int32Array([-1,1,-1,0,15,3,1,4,s+14,2,5,s+14,3,11,6,4,10,7,7,s+4,8,8,s+5,9,9,s+6,s+13,5,s+11,s+12,4,13,12,6,s+9,s+10,5,14,s+8,6,s+7,s+8,3,s+1,16,4,s+2,s+3]);ie.bdd=Nt.BinaryDecisionDiagram.from(wt,Mt,se.conditions,se.results)});var pe=a((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var xt=Ut(),z=oe(),gt=ae(),Gt=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),$t=(e,t={})=>{return Gt.get(e,()=>(0,z.decideEndpoint)(gt.bdd,{endpointParams:e,logger:t.logger}))};ue.defaultEndpointResolver=$t;z.customEndpointFunctions.aws=xt.awsEndpointFunctions});var R=a((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.SigninServiceException=A.__ServiceException=void 0;var ce=D();Object.defineProperty(A,"__ServiceException",{enumerable:!0,get:function(){return ce.ServiceException}});class h extends ce.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,h.prototype)}}A.SigninServiceException=h});var J=a((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.ValidationException=Ee.TooManyRequestsError=Ee.InternalServerException=Ee.AccessDeniedException=void 0;var y=R();class B extends y.SigninServiceException{name="AccessDeniedException";$fault="client";error;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error}}Ee.AccessDeniedException=B;class W extends y.SigninServiceException{name="InternalServerException";$fault="server";error;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error}}Ee.InternalServerException=W;class Y extends y.SigninServiceException{name="TooManyRequestsError";$fault="client";error;constructor(e){super({name:"TooManyRequestsError",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error}}Ee.TooManyRequestsError=Y;class j extends y.SigninServiceException{name="ValidationException";$fault="client";error;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,j.prototype),this.error=e.error}}Ee.ValidationException=j});var Z=a(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.CreateOAuth2Token$=$e.CreateOAuth2TokenResponseBody$=$e.CreateOAuth2TokenResponse$=$e.CreateOAuth2TokenRequestBody$=$e.CreateOAuth2TokenRequest$=$e.AccessToken$=$e.errorTypeRegistries=$e.ValidationException$=$e.TooManyRequestsError$=$e.InternalServerException$=$e.AccessDeniedException$=$e.SigninServiceException$=void 0;var Vt="AccessDeniedException",zt="AccessToken",ht="CreateOAuth2Token",At="CreateOAuth2TokenRequest",Bt="CreateOAuth2TokenRequestBody",Wt="CreateOAuth2TokenResponseBody",Yt="CreateOAuth2TokenResponse",jt="InternalServerException",Jt="RefreshToken",Xt="TooManyRequestsError",Qt="ValidationException",Se="accessKeyId",Oe="accessToken",X="client",Ie="clientId",be="codeVerifier",Zt="code",p="error",qe="expiresIn",De="grantType",Kt="http",Q="httpError",Re="idToken",n="jsonName",N="message",F="refreshToken",ye="redirectUri",Ue="smithy.ts.sdk.synthetic.com.amazonaws.signin",Fe="secretAccessKey",Ne="sessionToken",Tt="server",mt="tokenInput",kt="tokenOutput",Me="tokenType",i="com.amazonaws.signin",xe=we(),M=J(),_t=R(),ge=xe.TypeRegistry.for(Ue);$e.SigninServiceException$=[-3,Ue,"SigninServiceException",0,[],[]];ge.registerError($e.SigninServiceException$,_t.SigninServiceException);var S=xe.TypeRegistry.for(i);$e.AccessDeniedException$=[-3,i,Vt,{[p]:X},[p,N],[0,0],2];S.registerError($e.AccessDeniedException$,M.AccessDeniedException);$e.InternalServerException$=[-3,i,jt,{[p]:Tt,[Q]:500},[p,N],[0,0],2];S.registerError($e.InternalServerException$,M.InternalServerException);$e.TooManyRequestsError$=[-3,i,Xt,{[p]:X,[Q]:429},[p,N],[0,0],2];S.registerError($e.TooManyRequestsError$,M.TooManyRequestsError);$e.ValidationException$=[-3,i,Qt,{[p]:X,[Q]:400},[p,N],[0,0],2];S.registerError($e.ValidationException$,M.ValidationException);$e.errorTypeRegistries=[ge,S];var Ge=[0,i,Jt,8,0];$e.AccessToken$=[3,i,zt,8,[Se,Fe,Ne],[[0,{[n]:Se}],[0,{[n]:Fe}],[0,{[n]:Ne}]],3];$e.CreateOAuth2TokenRequest$=[3,i,At,0,[mt],[[()=>$e.CreateOAuth2TokenRequestBody$,16]],1];$e.CreateOAuth2TokenRequestBody$=[3,i,Bt,0,[Ie,De,Zt,ye,be,F],[[0,{[n]:Ie}],[0,{[n]:De}],0,[0,{[n]:ye}],[0,{[n]:be}],[()=>Ge,{[n]:F}]],2];$e.CreateOAuth2TokenResponse$=[3,i,Yt,0,[kt],[[()=>$e.CreateOAuth2TokenResponseBody$,16]],1];$e.CreateOAuth2TokenResponseBody$=[3,i,Wt,0,[Oe,Me,qe,F,Re],[[()=>$e.AccessToken$,{[n]:Oe}],[0,{[n]:Me}],[1,{[n]:qe}],[()=>Ge,{[n]:F}],[0,{[n]:Re}]],4];$e.CreateOAuth2Token$=[9,i,ht,{[Kt]:["POST","/v1/token",200]},()=>$e.CreateOAuth2TokenRequest$,()=>$e.CreateOAuth2TokenResponse$]});var Te=a((Ze)=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.getRuntimeConfig=void 0;var or=G(),nr=rr(),ir=Qe(),dr=D(),ar=er(),Je=sr(),Xe=tr(),ur=$(),lr=pe(),pr=Z(),cr=(e)=>{return{apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??Je.fromBase64,base64Encoder:e?.base64Encoder??Je.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??lr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ur.defaultSigninHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new or.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ir.NoAuthSigner}],logger:e?.logger??new dr.NoOpLogger,protocol:e?.protocol??nr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:pr.errorTypeRegistries,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??ar.parseUrl,utf8Decoder:e?.utf8Decoder??Xe.fromUtf8,utf8Encoder:e?.utf8Encoder??Xe.toUtf8}};Ze.getRuntimeConfig=cr});var ot=a((rt)=>{Object.defineProperty(rt,"__esModule",{value:!0});rt.getRuntimeConfig=void 0;var yr=Sr(),Fr=yr.__importDefault(Or()),Nr=Pr(),Mr=G(),me=Ir(),w=et(),wr=br(),ke=tt(),v=qr(),_e=vr(),Ce=D(),Ur=Dr(),xr=Rr(),gr=Er(),Gr=Te(),$r=(e)=>{(0,Ce.emitWarningIfUnsupportedVersion)(process.version);let t=(0,xr.resolveDefaultsModeConfig)(e),r=()=>t().then(Ce.loadConfigsForDefaultMode),d=(0,Gr.getRuntimeConfig)(e);(0,Nr.emitWarningIfUnsupportedVersion)(process.version);let o={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,v.loadConfig)(Mr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??Ur.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,me.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Fr.default.version}),maxAttempts:e?.maxAttempts??(0,v.loadConfig)(ke.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,v.loadConfig)(w.NODE_REGION_CONFIG_OPTIONS,{...w.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:_e.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,v.loadConfig)({...ke.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??wr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??_e.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,v.loadConfig)(w.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??(0,v.loadConfig)(w.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??(0,v.loadConfig)(me.NODE_APP_ID_CONFIG_OPTIONS,o)}};rt.getRuntimeConfig=$r});var as=a((u)=>{var nt=fr(),Wr=Hr(),Yr=Lr(),it=Vr(),jr=et(),K=Qe(),Jr=we(),Xr=zr(),pt=hr(),dt=tt(),E=D(),at=$(),Qr=ot(),ut=Ar(),lt=Br(),O=Z(),U=J(),Zr=R(),Kr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"})},Tr={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},mr=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:d}=e;return{setHttpAuthScheme(o){let I=t.findIndex((x)=>x.schemeId===o.schemeId);if(I===-1)t.push(o);else t.splice(I,1,o)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(o){r=o},httpAuthSchemeProvider(){return r},setCredentials(o){d=o},credentials(){return d}}},kr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},_r=(e,t)=>{let r=Object.assign(ut.getAwsRegionExtensionConfiguration(e),E.getDefaultExtensionConfiguration(e),lt.getHttpHandlerExtensionConfiguration(e),mr(e));return t.forEach((d)=>d.configure(r)),Object.assign(e,ut.resolveAwsRegionExtensionConfiguration(r),E.resolveDefaultRuntimeConfig(r),lt.resolveHttpHandlerRuntimeConfig(r),kr(r))};class T extends E.Client{config;constructor(...[e]){let t=Qr.getRuntimeConfig(e||{});super(t);this.initConfig=t;let r=Kr(t),d=it.resolveUserAgentConfig(r),o=dt.resolveRetryConfig(d),I=jr.resolveRegionConfig(o),x=nt.resolveHostHeaderConfig(I),ct=pt.resolveEndpointConfig(x),vt=at.resolveHttpAuthSchemeConfig(ct),Et=_r(vt,e?.extensions||[]);this.config=Et,this.middlewareStack.use(Jr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(it.getUserAgentPlugin(this.config)),this.middlewareStack.use(dt.getRetryPlugin(this.config)),this.middlewareStack.use(Xr.getContentLengthPlugin(this.config)),this.middlewareStack.use(nt.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Wr.getLoggerPlugin(this.config)),this.middlewareStack.use(Yr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(K.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:at.defaultSigninHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Pt)=>new K.DefaultIdentityProviderConfig({"aws.auth#sigv4":Pt.credentials})})),this.middlewareStack.use(K.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class m extends E.Command.classBuilder().ep(Tr).m(function(e,t,r,d){return[pt.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(O.CreateOAuth2Token$).build(){}var Cr={CreateOAuth2TokenCommand:m};class k extends T{}E.createAggregatedClient(Cr,k);var es={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",SERVER_ERROR:"server_error",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};u.$Command=E.Command;u.__Client=E.Client;u.SigninServiceException=Zr.SigninServiceException;u.CreateOAuth2TokenCommand=m;u.OAuth2ErrorCode=es;u.Signin=k;u.SigninClient=T;Object.prototype.hasOwnProperty.call(O,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:O.__proto__});Object.keys(O).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=O[e]});Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:U.__proto__});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=U[e]})});export default as();
@@ -1 +0,0 @@
1
- import{z4 as P}from"./cli-0.1.14-jnfs73kb.mjs";import{Pla as p,Qla as w}from"./cli-0.1.14-wwehdfwx.mjs";import"./cli-0.1.14-8fr10t94.mjs";import{bma as u,cma as a}from"./cli-0.1.14-qn4ftczz.mjs";var d,t,f,E,_,v=(r,e,s)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let i=new Date;if(new Date(e.Expiration)<i)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let o=e.AccountId;if(!o&&s?.[r]?.aws_account_id)o=s[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...o&&{accountId:o}};return _.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n},x=async(r,e,s)=>{let o=e[r];if(e[r]){let n=o.credential_process;if(n!==void 0){let i=E.promisify(d.externalDataInterceptor?.getTokenRecord?.().exec??f.exec);try{let{stdout:c}=await i(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return v(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:s})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:s})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:s})},h=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let s=await d.parseKnownFiles(r);return x(d.getProfileName({profile:r.profile??e?.profile}),s,r.logger)},y;var S=u(()=>{d=P(),t=w(),f=a("node:child_process"),E=a("node:util"),_=p();y=h});S();export{y as fromProcess};export default {get fromProcess(){return y}};
@@ -1 +0,0 @@
1
- import{X3 as a}from"./cli-0.1.14-w8efvbh6.mjs";import"./cli-0.1.14-wwehdfwx.mjs";import"./cli-0.1.14-8fr10t94.mjs";import"./cli-0.1.14-qn4ftczz.mjs";export default a();