@claudiolabs/claudio 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/claudio +7 -0
- package/dist/chunks/AgentTool-0.1.13-yacqe6gs.mjs +1 -0
- package/dist/chunks/App-0.1.13-45tpe56w.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.13-rvk3ghpz.mjs +1 -0
- package/dist/chunks/{AssistantSessionChooser-0.1.12-x3zt5579.mjs → AssistantSessionChooser-0.1.13-tcg2ckh4.mjs} +1 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.13-4qkeekab.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.13-wpjjxqtw.mjs +1 -0
- package/dist/chunks/{ClaudeInChromeOnboarding-0.1.12-n4az8bcp.mjs → ClaudeInChromeOnboarding-0.1.13-k8349mz5.mjs} +1 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.13-jg36gq05.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.13-svk1vdbj.mjs +1 -0
- package/dist/chunks/{DiffDialog-0.1.12-tzjdg5ys.mjs → DiffDialog-0.1.13-3a9b1b48.mjs} +1 -1
- package/dist/chunks/Doctor-0.1.13-zktnx7ce.mjs +1 -0
- package/dist/chunks/Grove-0.1.13-1hnmb7jn.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.13-esbr21j4.mjs +1 -0
- package/dist/chunks/{InProcessTransport-0.1.12-xnrc78z1.mjs → InProcessTransport-0.1.13-k5mkjvww.mjs} +1 -1
- package/dist/chunks/InvalidConfigDialog-0.1.13-7wr7g7vx.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.13-j8t2pnak.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.13-jd2k6vk6.mjs +1 -0
- package/dist/chunks/{Onboarding-0.1.12-tc4trc3y.mjs → Onboarding-0.1.13-j8d7hwbe.mjs} +1 -1
- package/dist/chunks/ProviderManager-0.1.13-qcfa4ppx.mjs +1 -0
- package/dist/chunks/REPL-0.1.13-zpcaf2zq.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.13-nwwjp69z.mjs +1 -0
- package/dist/chunks/{SnapshotUpdateDialog-0.1.12-f1byjres.mjs → SnapshotUpdateDialog-0.1.13-has41zv0.mjs} +1 -1
- package/dist/chunks/TeleportProgress-0.1.13-ssgexm6r.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.13-r95sr8bp.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.13-1qxft9es.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.13-jf14wbka.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.13-xzmz0wz4.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.13-pegd35qh.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.13-n3mrppkb.mjs +1 -0
- package/dist/chunks/add-dir-0.1.13-3zm44vdy.mjs +1 -0
- package/dist/chunks/{agents-0.1.12-vfwpnn0d.mjs → agents-0.1.13-a0aj4df9.mjs} +2 -2
- package/dist/chunks/agents-0.1.13-phdd6357.mjs +3 -0
- package/dist/chunks/api-0.1.13-vmdan95h.mjs +1 -0
- package/dist/chunks/{asciicast-0.1.12-nwzfr5gz.mjs → asciicast-0.1.13-d6ce2h4r.mjs} +1 -1
- package/dist/chunks/assistant-0.1.13-y9yer51w.mjs +1 -0
- package/dist/chunks/{auth-0.1.12-vhdwtwhb.mjs → auth-0.1.13-fwdmg15h.mjs} +1 -1
- package/dist/chunks/auth-0.1.13-gw7n7j0w.mjs +1 -0
- package/dist/chunks/{autoMode-0.1.12-xjr5qd6q.mjs → autoMode-0.1.13-4xh49kt4.mjs} +1 -1
- package/dist/chunks/backgroundHousekeeping-0.1.13-tagm38w5.mjs +1 -0
- package/dist/chunks/branch-0.1.13-hjmxvn3n.mjs +4 -0
- package/dist/chunks/{bridgePointer-0.1.12-vdj4j4ke.mjs → bridgePointer-0.1.13-s1qw0857.mjs} +1 -1
- package/dist/chunks/btw-0.1.13-ggywf7w1.mjs +1 -0
- package/dist/chunks/{buddy-0.1.12-4q50s2x4.mjs → buddy-0.1.13-2wvpbqx1.mjs} +1 -1
- package/dist/chunks/{cacache-0.1.12-mtaw8981.mjs → cacache-0.1.13-sy5bqn6j.mjs} +1 -1
- package/dist/chunks/{cache-probe-0.1.12-4s8cc2km.mjs → cache-probe-0.1.13-ze8mf958.mjs} +1 -1
- package/dist/chunks/{cacheStats-0.1.12-qqcw6b5n.mjs → cacheStats-0.1.13-jtrw4rdj.mjs} +1 -1
- package/dist/chunks/caches-0.1.13-0swwryxr.mjs +1 -0
- package/dist/chunks/chrome-0.1.13-ztyyyz4s.mjs +1 -0
- package/dist/chunks/{chromeNativeHost-0.1.12-7e2jv2nr.mjs → chromeNativeHost-0.1.13-96ex7t46.mjs} +1 -1
- package/dist/chunks/{claude-for-chrome-mcp-0.1.12-2q97mema.mjs → claude-for-chrome-mcp-0.1.13-6hy7w25p.mjs} +1 -1
- package/dist/chunks/{claudeDesktop-0.1.12-1yrkynq4.mjs → claudeDesktop-0.1.13-fs8rre9b.mjs} +1 -1
- package/dist/chunks/claudemd-0.1.13-942nfe7r.mjs +1 -0
- package/dist/chunks/clear-0.1.13-zge2t5n9.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.13-b5v1edw2.mjs +1 -0
- package/dist/chunks/{cli-0.1.12-830kqdpq.mjs → cli-0.1.13-00qdyz6f.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-0b728dvh.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-8qvgy8xr.mjs → cli-0.1.13-0gfnmq08.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-0gyt273r.mjs +2 -0
- package/dist/chunks/cli-0.1.13-0hyneh5t.mjs +9 -0
- package/dist/chunks/{cli-0.1.12-ps94e9y5.mjs → cli-0.1.13-0p3b9j40.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-d8m01qtm.mjs → cli-0.1.13-0xy8k6yv.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-qsh4sj4y.mjs → cli-0.1.13-0zpmhn2j.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-a5h71tt8.mjs → cli-0.1.13-13fh0g36.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-rzpc0tr9.mjs → cli-0.1.13-144gn3fd.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ra3sby5b.mjs → cli-0.1.13-1g6bgaa6.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-756ngehz.mjs → cli-0.1.13-1gbn4dgj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-sxxpysy8.mjs → cli-0.1.13-1hw65avy.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-af1r644n.mjs → cli-0.1.13-1pxg82cx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-g1yp7kdf.mjs → cli-0.1.13-1y21vq1h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-6238zg7k.mjs → cli-0.1.13-2c7g6rpx.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-qn20n18h.mjs → cli-0.1.13-2cdtdhek.mjs} +5 -5
- package/dist/chunks/{cli-0.1.12-kg8gb6e3.mjs → cli-0.1.13-2sx61wcx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-c23pyffx.mjs → cli-0.1.13-2vrh3n9y.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-f0x1y6nn.mjs → cli-0.1.13-30j4h365.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-hsw67esw.mjs → cli-0.1.13-3k1n20ra.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-7da43cy1.mjs → cli-0.1.13-3pctg5zc.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-2sqxe53a.mjs → cli-0.1.13-3rr4fg79.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-45hjhcbc.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-h248m986.mjs → cli-0.1.13-4prgqshq.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-nv2m8kgk.mjs → cli-0.1.13-5061js0h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-pm5cwtxh.mjs → cli-0.1.13-52f40ba4.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-579v6j6d.mjs +4 -0
- package/dist/chunks/{cli-0.1.12-2yy1nw3s.mjs → cli-0.1.13-5b7hgn91.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-trdq9d6x.mjs → cli-0.1.13-5c4fyghf.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ybm1kvwy.mjs → cli-0.1.13-5d4ke9a2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-ae3e3ffp.mjs → cli-0.1.13-5j5bg3t2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-vxej5jdm.mjs → cli-0.1.13-5krmz4nd.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-pnh4t8c3.mjs → cli-0.1.13-5rnhv49w.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-vpnp7x5c.mjs → cli-0.1.13-5s4m8qj9.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-erggrdth.mjs → cli-0.1.13-5ydypzty.mjs} +3 -3
- package/dist/chunks/cli-0.1.13-6gmqjyv9.mjs +2 -0
- package/dist/chunks/cli-0.1.13-6p0jxfnp.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-6rjh20wh.mjs → cli-0.1.13-6q3wa261.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-73w3wbmf.mjs +3 -0
- package/dist/chunks/{cli-0.1.12-rqedb88a.mjs → cli-0.1.13-73yztj5x.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-ytxphavm.mjs → cli-0.1.13-79vtnprb.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-84tbx1nf.mjs +3 -0
- package/dist/chunks/{cli-0.1.12-0x3cd401.mjs → cli-0.1.13-85w0nxy9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-z8eybrhz.mjs → cli-0.1.13-87xfe2f3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-q63qrz06.mjs → cli-0.1.13-8gd1x101.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-k2164g7e.mjs → cli-0.1.13-8ppsn0an.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-34gqc6yf.mjs → cli-0.1.13-8pw4n94k.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-g728hcdr.mjs → cli-0.1.13-8snyqhjj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-0vf5f6qn.mjs → cli-0.1.13-8sszxge2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-0kqx19vz.mjs → cli-0.1.13-9043n2e8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-5qhkbp8w.mjs → cli-0.1.13-91b1h8ww.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-37ezy1qg.mjs → cli-0.1.13-9a1hzdsv.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-0eznapyf.mjs → cli-0.1.13-9jajvw4r.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-0xzdygm2.mjs → cli-0.1.13-a4xga299.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-ajsw8n7h.mjs +5 -0
- package/dist/chunks/{cli-0.1.12-8znn9f50.mjs → cli-0.1.13-apjxy5tn.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-238c85zt.mjs → cli-0.1.13-asrdd8dh.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-b24n1wvw.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-mr41yjpw.mjs → cli-0.1.13-b3xc1r3k.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-3ywnr2v1.mjs → cli-0.1.13-b40skdsz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-1hv04bp7.mjs → cli-0.1.13-bj67mp7n.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-4qedbzt3.mjs → cli-0.1.13-bkg3sva7.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-bzgpcgdt.mjs +16 -0
- package/dist/chunks/{cli-0.1.12-19as1myk.mjs → cli-0.1.13-c5b4ygdq.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-faa9mx3m.mjs → cli-0.1.13-cjmpc9q5.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-04jw23rj.mjs → cli-0.1.13-ck28msre.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-xfqkrd5x.mjs → cli-0.1.13-crcgrfse.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-86nmrm6g.mjs → cli-0.1.13-ct9m5223.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-c28bme4j.mjs → cli-0.1.13-ctjpk124.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-y04asmqh.mjs → cli-0.1.13-cyj5snev.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-vwcas8f6.mjs → cli-0.1.13-d66pryf3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-7xsa2bcp.mjs → cli-0.1.13-d6tr2j76.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-d85aba8r.mjs +2 -0
- package/dist/chunks/cli-0.1.13-d8wkcw90.mjs +25 -0
- package/dist/chunks/{cli-0.1.12-vzga2are.mjs → cli-0.1.13-dag38tkx.mjs} +6 -6
- package/dist/chunks/{cli-0.1.12-cxn1ke77.mjs → cli-0.1.13-dak36ez8.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-dgw8xfv1.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-ds2mn8zn.mjs → cli-0.1.13-dmgp48vg.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-wdmxm11z.mjs → cli-0.1.13-e58n0k16.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-t8712dbc.mjs → cli-0.1.13-eh7dqeqt.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-2v18rdhk.mjs → cli-0.1.13-f6gfa426.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-9pq0gse0.mjs → cli-0.1.13-fabrrwqa.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-242der7s.mjs → cli-0.1.13-fh5dndvp.mjs} +1021 -1014
- package/dist/chunks/{cli-0.1.12-bmtahtv7.mjs → cli-0.1.13-ft5k86va.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-rwhrpb6w.mjs → cli-0.1.13-fwd5b6q8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-sgtpyf6y.mjs → cli-0.1.13-fz5dm31h.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-h0d833vg.mjs → cli-0.1.13-fzb4yx18.mjs} +3 -3
- package/dist/chunks/{cli-0.1.12-5b3j1c9c.mjs → cli-0.1.13-g2v4avcv.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-tyt09z73.mjs → cli-0.1.13-g654740k.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-qrx9nssg.mjs → cli-0.1.13-ga4mmwbc.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-bhxgr018.mjs → cli-0.1.13-gd3nndc7.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-gtgqh4bn.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-1x06khjr.mjs → cli-0.1.13-gvz2qezh.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-h3vb5402.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-jqrk975g.mjs → cli-0.1.13-h7a36dnk.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-hgkwnhwv.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-bddm1g1s.mjs → cli-0.1.13-hjqn3n5a.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-j6hwb68p.mjs → cli-0.1.13-hyvpn2ht.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-q8k1zvhb.mjs → cli-0.1.13-hzdj03rn.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-37ga9zc2.mjs → cli-0.1.13-j7796v8f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-nfvtmt75.mjs → cli-0.1.13-jakv6e7b.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-g2s9mjr6.mjs → cli-0.1.13-jeyjdb2m.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-j6gjfwh5.mjs → cli-0.1.13-jz57znb6.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-2zqgfhrb.mjs → cli-0.1.13-ks4x4cct.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-ky4z1s1h.mjs +20 -0
- package/dist/chunks/{cli-0.1.12-7ehqw1dk.mjs → cli-0.1.13-kzn9sspk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-nnyca8nb.mjs → cli-0.1.13-m5aaczvd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-zs5rpqmb.mjs → cli-0.1.13-m61dhxfs.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-xekep4qg.mjs → cli-0.1.13-mahtf0ay.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-5exp787z.mjs → cli-0.1.13-mezw1vk8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-6ddq5n4e.mjs → cli-0.1.13-mkw72mxc.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-352pjhkh.mjs → cli-0.1.13-myd004mr.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-mywk7e49.mjs +134 -0
- package/dist/chunks/cli-0.1.13-n1tj5bdc.mjs +2 -0
- package/dist/chunks/cli-0.1.13-n31sw1c8.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-s0cwq66w.mjs → cli-0.1.13-nc3ce357.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-817sd5bc.mjs → cli-0.1.13-nc8ww3rn.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-2fajd44n.mjs → cli-0.1.13-njvp7vtc.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-a2frnpdd.mjs → cli-0.1.13-nsbk0w3b.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-4sh0f4y1.mjs → cli-0.1.13-nwt2jc8b.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-p00rtvrc.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-04v3yab2.mjs → cli-0.1.13-p2wyk6z7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-v0510w04.mjs → cli-0.1.13-p4nz8zmd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-9gs0g8yb.mjs → cli-0.1.13-p625yxtg.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-b01yrner.mjs → cli-0.1.13-p84ry3q5.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-7mjpbm22.mjs → cli-0.1.13-pqk4c7m7.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-4wwhk7dc.mjs → cli-0.1.13-pw5dks39.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-bnss4rxn.mjs → cli-0.1.13-q93vqpjh.mjs} +28 -28
- package/dist/chunks/{cli-0.1.12-v8j9zstg.mjs → cli-0.1.13-qdtwrf9z.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-5k9mfnz0.mjs → cli-0.1.13-qxtrzerx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-e4zeaahk.mjs → cli-0.1.13-r09724ac.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-bh7jp3zk.mjs → cli-0.1.13-rftgy1b8.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-rjjyq9ej.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-024a8zz7.mjs → cli-0.1.13-rkaxch5j.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-awb2yac7.mjs → cli-0.1.13-s6w3ej6f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-zk49aaxv.mjs → cli-0.1.13-s90a26ca.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-a2qh6gjr.mjs → cli-0.1.13-s928gjab.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-w0qbr98a.mjs → cli-0.1.13-s9fgd2dx.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-d0es0fxd.mjs → cli-0.1.13-saz6qetz.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-kea0zcje.mjs → cli-0.1.13-sgxk7d0h.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-5p9g1vcm.mjs → cli-0.1.13-sr9axhrw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-e262snmb.mjs → cli-0.1.13-ss1k5gqk.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-ssgwnxc5.mjs +4 -0
- package/dist/chunks/cli-0.1.13-t1zx7s60.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-mevh0dza.mjs → cli-0.1.13-t34z5r3c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-xj3mv67x.mjs → cli-0.1.13-t5w452fj.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-tknwgkgp.mjs +17 -0
- package/dist/chunks/{cli-0.1.12-fqpxr3qb.mjs → cli-0.1.13-tq3dqmem.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-6zryzryc.mjs → cli-0.1.13-v1b9yhsy.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-r6f9sy54.mjs → cli-0.1.13-v32xwe08.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-bjzb0sjt.mjs → cli-0.1.13-v467fj8c.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-3d2xpvk2.mjs → cli-0.1.13-v56n2wqm.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-m6jeef2z.mjs → cli-0.1.13-v6z41645.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-vdz792pb.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-wcdh3m4s.mjs → cli-0.1.13-vj532g9m.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-c47ape20.mjs → cli-0.1.13-vn7ckv16.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-5pw10pf8.mjs → cli-0.1.13-vwt4hc0t.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-8qm558mj.mjs → cli-0.1.13-w08qr05m.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-mwp84gtr.mjs → cli-0.1.13-w8h6wdez.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-rwzav5h1.mjs → cli-0.1.13-wh68ve92.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-baxk5jyy.mjs → cli-0.1.13-wpsqhe6v.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-52dbx2x6.mjs → cli-0.1.13-wr0c9hyh.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-g3ycbjxk.mjs → cli-0.1.13-wwnez3j0.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-5ye0t0xd.mjs → cli-0.1.13-wxdmc1dd.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ktpqrbjc.mjs → cli-0.1.13-wz7v1tqx.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-m3q5r7wd.mjs → cli-0.1.13-x3zt8q8r.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-actnmgw5.mjs → cli-0.1.13-x461rxn2.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ryycx3v6.mjs → cli-0.1.13-x4n4my99.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-v000x470.mjs → cli-0.1.13-xde08pkt.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-yk12dgnx.mjs → cli-0.1.13-xkdwvsg9.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-vgbc3g9x.mjs → cli-0.1.13-xv6wh44y.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-kys514qx.mjs → cli-0.1.13-xvvtja1h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-sd72y750.mjs → cli-0.1.13-xwkys72y.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-y3aj3amr.mjs +4 -0
- package/dist/chunks/{cli-0.1.12-strz382t.mjs → cli-0.1.13-y3e5jkh7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-9v01t95v.mjs → cli-0.1.13-y7aqqca1.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-73k5qd97.mjs → cli-0.1.13-yd536yw4.mjs} +7 -10
- package/dist/chunks/{cli-0.1.12-g4sdgt8h.mjs → cli-0.1.13-yeb03vme.mjs} +2 -2
- package/dist/chunks/cli-0.1.13-yhe2a0cx.mjs +2 -0
- package/dist/chunks/cli-0.1.13-yrvakyyp.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-zwyec6tj.mjs → cli-0.1.13-z0jm6xd0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-jjza3gz9.mjs → cli-0.1.13-z387wpj9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-4syxz3pe.mjs → cli-0.1.13-zgnanj3x.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-kzd4y6yq.mjs → cli-0.1.13-zm2zgw7m.mjs} +1 -1
- package/dist/chunks/cli-0.1.13-zmft0mps.mjs +2 -0
- package/dist/chunks/client-0.1.13-mbp3h3fc.mjs +1 -0
- package/dist/chunks/color-0.1.13-p7kzn9d4.mjs +1 -0
- package/dist/chunks/compact-0.1.13-603r2t03.mjs +3 -0
- package/dist/chunks/config-0.1.13-fn4hrgp2.mjs +1 -0
- package/dist/chunks/{config-0.1.12-ryxz4stj.mjs → config-0.1.13-q8fcew9w.mjs} +1 -1
- package/dist/chunks/context-0.1.13-5fz212w3.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.13-fjn2461g.mjs +1 -0
- package/dist/chunks/conversation-0.1.13-zjqxzcfr.mjs +1 -0
- package/dist/chunks/{copy-0.1.12-w6tabpy0.mjs → copy-0.1.13-03jy5tfn.mjs} +1 -1
- package/dist/chunks/cost-0.1.13-zch21h6x.mjs +1 -0
- package/dist/chunks/createSession-0.1.13-mh3jt0b0.mjs +1 -0
- package/dist/chunks/desktop-0.1.13-w51djw8z.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.13-5tt2922a.mjs +1 -0
- package/dist/chunks/detection-0.1.13-k001d88v.mjs +1 -0
- package/dist/chunks/diff-0.1.13-vz7x7nm3.mjs +1 -0
- package/dist/chunks/doctor-0.1.13-egkgh28s.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.13-tpq0qmw0.mjs +1 -0
- package/dist/chunks/effort-0.1.13-11mfjfnb.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.13-8fagqvgw.mjs +1 -0
- package/dist/chunks/environments-0.1.13-x1xw45es.mjs +1 -0
- package/dist/chunks/exit-0.1.13-3m34eg2x.mjs +1 -0
- package/dist/chunks/export-0.1.13-sq3jk66f.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.13-dh2sxr12.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.13-7yfmamd2.mjs +1 -0
- package/dist/chunks/fast-0.1.13-w1sk95j2.mjs +1 -0
- package/dist/chunks/feedback-0.1.13-ewxaenqk.mjs +14 -0
- package/dist/chunks/{firstPartyEventLogger-0.1.12-95kzm3md.mjs → firstPartyEventLogger-0.1.13-6m3fvkcj.mjs} +1 -1
- package/dist/chunks/git-0.1.13-2rp45xgd.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.13-e9c7cay9.mjs +1 -0
- package/dist/chunks/{growthbook-0.1.12-4phnr6b3.mjs → growthbook-0.1.13-sramqmzv.mjs} +1 -1
- package/dist/chunks/{heapdump-0.1.12-m49qs4r7.mjs → heapdump-0.1.13-3n7hv372.mjs} +1 -1
- package/dist/chunks/help-0.1.13-knrgw1dq.mjs +1 -0
- package/dist/chunks/{hookChains-0.1.12-brq8x7f7.mjs → hookChains-0.1.13-te9q466p.mjs} +2 -2
- package/dist/chunks/hooks-0.1.13-1cp6zhk0.mjs +1 -0
- package/dist/chunks/hooks-0.1.13-g6kx1mk3.mjs +79 -0
- package/dist/chunks/{ide-0.1.12-553mazfs.mjs → ide-0.1.13-ke3v5mb7.mjs} +1 -1
- package/dist/chunks/{mcpb-0.1.12-mcbd7ywh.mjs → image-processor-napi-0.1.13-h7fg935p.mjs} +1 -1
- package/dist/chunks/{index-0.1.12-rhj8dsvk.mjs → index-0.1.13-018yhz6j.mjs} +1 -1
- package/dist/chunks/index-0.1.13-0z5ns7r2.mjs +1 -0
- package/dist/chunks/index-0.1.13-1y9cm2x6.mjs +1 -0
- package/dist/chunks/{index-0.1.12-3nbh75ta.mjs → index-0.1.13-3zjrdjrv.mjs} +1 -1
- package/dist/chunks/index-0.1.13-4cjfx282.mjs +1 -0
- package/dist/chunks/index-0.1.13-5g9shrc4.mjs +9 -0
- package/dist/chunks/index-0.1.13-7c5y7cbf.mjs +2 -0
- package/dist/chunks/index-0.1.13-7fm7tk25.mjs +1 -0
- package/dist/chunks/index-0.1.13-98j8cxkv.mjs +1 -0
- package/dist/chunks/index-0.1.13-9meb2pab.mjs +1 -0
- package/dist/chunks/index-0.1.13-a06q9ad9.mjs +2 -0
- package/dist/chunks/index-0.1.13-bc4sh2m1.mjs +1 -0
- package/dist/chunks/index-0.1.13-c29wq5dx.mjs +5 -0
- package/dist/chunks/index-0.1.13-h2mpm4c0.mjs +1 -0
- package/dist/chunks/index-0.1.13-h4wytk4z.mjs +1 -0
- package/dist/chunks/index-0.1.13-j9c4bjzh.mjs +1 -0
- package/dist/chunks/index-0.1.13-m9m61529.mjs +1 -0
- package/dist/chunks/index-0.1.13-mc5ag4wj.mjs +1 -0
- package/dist/chunks/index-0.1.13-nm8pkj0f.mjs +9 -0
- package/dist/chunks/index-0.1.13-psynrf7p.mjs +10 -0
- package/dist/chunks/index-0.1.13-qjt3h799.mjs +1 -0
- package/dist/chunks/index-0.1.13-tvt8fxrq.mjs +1 -0
- package/dist/chunks/initReplBridge-0.1.13-cd8avwfa.mjs +1 -0
- package/dist/chunks/ink-0.1.13-8ga6a1ny.mjs +1 -0
- package/dist/chunks/{insights-0.1.12-93mz1f1d.mjs → insights-0.1.13-t81417ej.mjs} +3 -3
- package/dist/chunks/install-0.1.13-1bq7fwkd.mjs +1 -0
- package/dist/chunks/{install-github-app-0.1.12-qd8g81v4.mjs → install-github-app-0.1.13-yvnx16za.mjs} +1 -1
- package/dist/chunks/install-slack-app-0.1.13-2a6ydfjg.mjs +1 -0
- package/dist/chunks/instrumentation-0.1.13-bvt39wrk.mjs +12 -0
- package/dist/chunks/interactiveHelpers-0.1.13-p29payqv.mjs +1 -0
- package/dist/chunks/keybindings-0.1.13-nr2he9m8.mjs +2 -0
- package/dist/chunks/{knowledge-0.1.12-1zq0qj6h.mjs → knowledge-0.1.13-9a2md3fm.mjs} +1 -1
- package/dist/chunks/loadAgentsDir-0.1.13-jmqfw7w4.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.13-qagn7gmw.mjs +1 -0
- package/dist/chunks/logout-0.1.13-d6ghx6h9.mjs +1 -0
- package/dist/chunks/lsp-0.1.13-q6xr2am5.mjs +1 -0
- package/dist/chunks/main-0.1.13-e5tbkphz.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.13-n073hj5h.mjs +1 -0
- package/dist/chunks/mcp-0.1.13-0bw6qtwy.mjs +4 -0
- package/dist/chunks/mcp-0.1.13-1kaxfeey.mjs +1 -0
- package/dist/chunks/{mcp-0.1.12-vm3tpth6.mjs → mcp-0.1.13-x9twbpqk.mjs} +3 -3
- package/dist/chunks/{mcpServer-0.1.12-zwsas6ss.mjs → mcpServer-0.1.13-jf5dhyys.mjs} +1 -1
- package/dist/chunks/{plist-0.1.12-65r770yt.mjs → mcpb-0.1.13-e55321kr.mjs} +1 -1
- package/dist/chunks/memory-0.1.13-qwtbe97v.mjs +3 -0
- package/dist/chunks/{mobile-0.1.12-qdtxwz76.mjs → mobile-0.1.13-pzekbte3.mjs} +1 -1
- package/dist/chunks/model-0.1.13-a42465ep.mjs +1 -0
- package/dist/chunks/model-0.1.13-mqqrpy8m.mjs +2 -0
- package/dist/chunks/{oauth-0.1.12-3aky0v8n.mjs → oauth-0.1.13-bk91rvfd.mjs} +1 -1
- package/dist/chunks/{openaiShim-0.1.12-p458t1q6.mjs → openaiShim-0.1.13-c9z5r4zj.mjs} +2 -2
- package/dist/chunks/{output-style-0.1.12-cahkbh9x.mjs → output-style-0.1.13-c4ah6hc0.mjs} +1 -1
- package/dist/chunks/package-WSP46L7M-0.1.13-sme2jxpt.mjs +1 -0
- package/dist/chunks/parser-0.1.13-mm8j9rwt.mjs +1 -0
- package/dist/chunks/{passes-0.1.12-7vmawmvq.mjs → passes-0.1.13-bcbvjdzs.mjs} +1 -1
- package/dist/chunks/permissions-0.1.13-c03934ka.mjs +3 -0
- package/dist/chunks/plan-0.1.13-fgs4vbwk.mjs +1 -0
- package/dist/chunks/{image-processor-napi-0.1.12-3mrm0vts.mjs → plist-0.1.13-f3bfg2tf.mjs} +1 -1
- package/dist/chunks/plugin-0.1.13-p5aqty2y.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.13-f8tcmc9s.mjs +1 -0
- package/dist/chunks/{plugins-0.1.12-sm87b8fm.mjs → plugins-0.1.13-1nvjxkbc.mjs} +2 -2
- package/dist/chunks/{print-0.1.12-8mgqmx4k.mjs → print-0.1.13-g2dmfpmq.mjs} +10 -10
- package/dist/chunks/privacy-settings-0.1.13-xkaezd0n.mjs +1 -0
- package/dist/chunks/{process-0.1.12-t401v84c.mjs → process-0.1.13-ycxbd26n.mjs} +1 -1
- package/dist/chunks/processBashCommand-0.1.13-x4ggp1t8.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.1.13-16gwwvqz.mjs +9 -0
- package/dist/chunks/prompt-0.1.13-j0tnske2.mjs +1 -0
- package/dist/chunks/prompt-0.1.13-mdxfbbqp.mjs +1 -0
- package/dist/chunks/prompts-0.1.13-gtp7vnge.mjs +1 -0
- package/dist/chunks/{provider-0.1.12-wrfpbx8a.mjs → provider-0.1.13-e9ayet7n.mjs} +1 -1
- package/dist/chunks/providerProfiles-0.1.13-y9gs55qq.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.13-va0322ws.mjs +1 -0
- package/dist/chunks/registry-0.1.13-e33aasxk.mjs +1 -0
- package/dist/chunks/release-notes-0.1.13-jmkp5g6h.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.13-0p5x4cr9.mjs +2 -0
- package/dist/chunks/remote-env-0.1.13-d7evw9tc.mjs +1 -0
- package/dist/chunks/{remoteBridgeCore-0.1.12-c0y46zw8.mjs → remoteBridgeCore-0.1.13-sq5rr5x0.mjs} +1 -1
- package/dist/chunks/remoteSession-0.1.13-zjhajyna.mjs +1 -0
- package/dist/chunks/rename-0.1.13-t30c4tx9.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.13-38jvakp0.mjs +1 -0
- package/dist/chunks/resume-0.1.13-ta7t0vbz.mjs +2 -0
- package/dist/chunks/{rewind-0.1.12-707se5pz.mjs → rewind-0.1.13-zxcfrje2.mjs} +1 -1
- package/dist/chunks/sandbox-adapter-0.1.13-x04v4bxn.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.13-w0p8r4ta.mjs +1 -0
- package/dist/chunks/session-0.1.13-cjn060z1.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.13-mr3y5jpc.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.13-8gahjm86.mjs +1 -0
- package/dist/chunks/setup-0.1.13-ap9dpanw.mjs +5 -0
- package/dist/chunks/sinks-0.1.13-r13nv1fw.mjs +1 -0
- package/dist/chunks/skills-0.1.13-jd5g0cex.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.13-d4g7sykt.mjs +1 -0
- package/dist/chunks/{state-0.1.12-e374v6h8.mjs → state-0.1.13-cv8jd04r.mjs} +1 -1
- package/dist/chunks/{stats-0.1.12-5pj1c6sr.mjs → stats-0.1.13-yrtt99gr.mjs} +1 -1
- package/dist/chunks/status-0.1.13-4x7h3dec.mjs +1 -0
- package/dist/chunks/stickers-0.1.13-8szx17mh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.13-9asfa8pp.mjs +1 -0
- package/dist/chunks/tasks-0.1.13-dsy415kp.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.13-z4fpbggy.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.13-cc6scthx.mjs +1 -0
- package/dist/chunks/teleport-0.1.13-gx6zbjr3.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.13-wmg8wa4f.mjs +1 -0
- package/dist/chunks/theme-0.1.13-m8mdm37k.mjs +1 -0
- package/dist/chunks/thinkback-0.1.13-4jwhbbcv.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.13-0vz0yjza.mjs +1 -0
- package/dist/chunks/toolPool-0.1.13-z741g6f2.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.13-jaadtdmb.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.13-w279yc46.mjs +1 -0
- package/dist/chunks/{turndown.cjs-0.1.12-9525v010.mjs → turndown.cjs-0.1.13-2wbn8j6y.mjs} +1 -1
- package/dist/chunks/{ultrareviewCommand-0.1.12-d5c4096k.mjs → ultrareviewCommand-0.1.13-sj6asgpk.mjs} +1 -1
- package/dist/chunks/{update-0.1.12-hwx0e6fq.mjs → update-0.1.13-sx7hc0kj.mjs} +11 -11
- package/dist/chunks/upgrade-0.1.13-dce1xd29.mjs +1 -0
- package/dist/chunks/{upstreamproxy-0.1.12-yhnqfcyb.mjs → upstreamproxy-0.1.13-pwxv6kww.mjs} +1 -1
- package/dist/chunks/usage-0.1.13-mr2bn5g6.mjs +1 -0
- package/dist/chunks/util-0.1.13-ef9r7w41.mjs +1 -0
- package/dist/chunks/utils-0.1.13-03dvz81t.mjs +1 -0
- package/dist/chunks/vim-0.1.13-3x0ehdme.mjs +1 -0
- package/dist/chunks/watcher-0.1.13-yzxxvgz3.mjs +1 -0
- package/dist/chunks/{wiki-0.1.12-vecp82xq.mjs → wiki-0.1.13-regg8ff2.mjs} +1 -1
- package/dist/chunks/worktree-0.1.13-kdhzfvjx.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.13-d4t06wcm.mjs +1 -0
- package/dist/chunks/{wrapper-0.1.12-bpewypaz.mjs → wrapper-0.1.13-8nsef109.mjs} +1 -1
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +3 -3
- package/package.json +2 -19
- package/dist/chunks/AgentTool-0.1.12-kgypyeny.mjs +0 -1
- package/dist/chunks/App-0.1.12-t1g68ag4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.12-zpw36mzg.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.12-fgvj28kh.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.12-y1vnt631.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.12-j7w4pe1r.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.12-57crf0yg.mjs +0 -1
- package/dist/chunks/Doctor-0.1.12-52dk0t0z.mjs +0 -1
- package/dist/chunks/Grove-0.1.12-m9r696vw.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.12-85zqw000.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.12-9w4z4d73.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.12-j1jmd6jg.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.12-n5zwn0kh.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.12-01epdnc3.mjs +0 -1
- package/dist/chunks/REPL-0.1.12-4750qvss.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.12-sn3hxnfq.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.12-p5spc4b6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.12-562cbm4h.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.12-w2rds1kj.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.12-02kj3wef.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.12-qesye0kj.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.12-gr62n6f8.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.12-dnn18th9.mjs +0 -1
- package/dist/chunks/add-dir-0.1.12-he4qjfr7.mjs +0 -1
- package/dist/chunks/agents-0.1.12-1dz073e3.mjs +0 -3
- package/dist/chunks/api-0.1.12-e314x4g9.mjs +0 -1
- package/dist/chunks/assistant-0.1.12-x4e2qcyw.mjs +0 -1
- package/dist/chunks/auth-0.1.12-9xrz11cs.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.1.12-z7jhyx9z.mjs +0 -1
- package/dist/chunks/branch-0.1.12-e2jz4k8j.mjs +0 -4
- package/dist/chunks/btw-0.1.12-k5gxnrq8.mjs +0 -1
- package/dist/chunks/caches-0.1.12-jvzzcs09.mjs +0 -1
- package/dist/chunks/chrome-0.1.12-6qypq8nj.mjs +0 -1
- package/dist/chunks/claudemd-0.1.12-dnz21tgs.mjs +0 -1
- package/dist/chunks/clear-0.1.12-cq6vnm92.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.12-pzt74jz3.mjs +0 -1
- package/dist/chunks/cli-0.1.12-1cn8b1tj.mjs +0 -2
- package/dist/chunks/cli-0.1.12-2f2v27e3.mjs +0 -2
- package/dist/chunks/cli-0.1.12-4gj8p030.mjs +0 -22
- package/dist/chunks/cli-0.1.12-4tanq0qc.mjs +0 -2
- package/dist/chunks/cli-0.1.12-4ys47rex.mjs +0 -2
- package/dist/chunks/cli-0.1.12-6e4e36bv.mjs +0 -16
- package/dist/chunks/cli-0.1.12-6x2mnahn.mjs +0 -2
- package/dist/chunks/cli-0.1.12-74tt2500.mjs +0 -2
- package/dist/chunks/cli-0.1.12-7v8dtyx8.mjs +0 -2
- package/dist/chunks/cli-0.1.12-8tdckdxp.mjs +0 -2
- package/dist/chunks/cli-0.1.12-9dvxchv3.mjs +0 -2
- package/dist/chunks/cli-0.1.12-bnn1nrwd.mjs +0 -2
- package/dist/chunks/cli-0.1.12-c8d9vr4b.mjs +0 -2
- package/dist/chunks/cli-0.1.12-dc4e6688.mjs +0 -2
- package/dist/chunks/cli-0.1.12-dqynn0at.mjs +0 -2
- package/dist/chunks/cli-0.1.12-dtba3gm9.mjs +0 -8
- package/dist/chunks/cli-0.1.12-fx0zg3d9.mjs +0 -2
- package/dist/chunks/cli-0.1.12-g604mknq.mjs +0 -2
- package/dist/chunks/cli-0.1.12-g8mny195.mjs +0 -2
- package/dist/chunks/cli-0.1.12-hfmv72b6.mjs +0 -2
- package/dist/chunks/cli-0.1.12-kwc7ew38.mjs +0 -2
- package/dist/chunks/cli-0.1.12-p5w2kms9.mjs +0 -4
- package/dist/chunks/cli-0.1.12-q1nn9teh.mjs +0 -3
- package/dist/chunks/cli-0.1.12-qf1kw5cr.mjs +0 -2
- package/dist/chunks/cli-0.1.12-rtft4mrx.mjs +0 -4
- package/dist/chunks/cli-0.1.12-tadj1p4y.mjs +0 -2
- package/dist/chunks/cli-0.1.12-tae7cd7e.mjs +0 -2
- package/dist/chunks/cli-0.1.12-taqfqnag.mjs +0 -4
- package/dist/chunks/cli-0.1.12-v79j5ced.mjs +0 -2
- package/dist/chunks/cli-0.1.12-wfbfq2mm.mjs +0 -3
- package/dist/chunks/cli-0.1.12-wwnkrzck.mjs +0 -134
- package/dist/chunks/cli-0.1.12-xanhpra7.mjs +0 -2
- package/dist/chunks/cli-0.1.12-xcxjv6qd.mjs +0 -2
- package/dist/chunks/cli-0.1.12-y0fb5j7x.mjs +0 -2
- package/dist/chunks/cli-0.1.12-y9598sy3.mjs +0 -16
- package/dist/chunks/client-0.1.12-f54egbjx.mjs +0 -1
- package/dist/chunks/color-0.1.12-jss6svg8.mjs +0 -1
- package/dist/chunks/compact-0.1.12-9b9fsqs5.mjs +0 -3
- package/dist/chunks/config-0.1.12-1pyte6wv.mjs +0 -1
- package/dist/chunks/context-0.1.12-mnwn2xss.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.12-qhe1aprp.mjs +0 -1
- package/dist/chunks/conversation-0.1.12-7pvwtwdn.mjs +0 -1
- package/dist/chunks/cost-0.1.12-3ca0tbv9.mjs +0 -1
- package/dist/chunks/createSession-0.1.12-117q0efg.mjs +0 -1
- package/dist/chunks/desktop-0.1.12-3t2jc3mt.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.12-sd9276rx.mjs +0 -1
- package/dist/chunks/detection-0.1.12-c0tecfvg.mjs +0 -1
- package/dist/chunks/diff-0.1.12-2ck0qzp6.mjs +0 -1
- package/dist/chunks/doctor-0.1.12-rb6t847g.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.12-b94g75cb.mjs +0 -1
- package/dist/chunks/effort-0.1.12-jxkp3wwf.mjs +0 -8
- package/dist/chunks/environmentSelection-0.1.12-z9knjbv1.mjs +0 -1
- package/dist/chunks/environments-0.1.12-m9v7hag6.mjs +0 -1
- package/dist/chunks/exit-0.1.12-0fzdjpbr.mjs +0 -1
- package/dist/chunks/export-0.1.12-s6ag6jke.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.12-x8gd0q32.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.12-pfgq5r6b.mjs +0 -1
- package/dist/chunks/fast-0.1.12-9x69m50c.mjs +0 -1
- package/dist/chunks/feedback-0.1.12-d1j49tb4.mjs +0 -14
- package/dist/chunks/git-0.1.12-7fyh5fhk.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.12-6em81h7g.mjs +0 -1
- package/dist/chunks/help-0.1.12-f02ce11x.mjs +0 -1
- package/dist/chunks/hooks-0.1.12-n1f9dp3r.mjs +0 -1
- package/dist/chunks/hooks-0.1.12-swtq74gm.mjs +0 -79
- package/dist/chunks/index-0.1.12-218arkqe.mjs +0 -9
- package/dist/chunks/index-0.1.12-2ykt90tn.mjs +0 -1
- package/dist/chunks/index-0.1.12-34ew4zjx.mjs +0 -1
- package/dist/chunks/index-0.1.12-41g5mvtk.mjs +0 -7
- package/dist/chunks/index-0.1.12-77szwkm6.mjs +0 -1
- package/dist/chunks/index-0.1.12-aeeh5zvp.mjs +0 -1
- package/dist/chunks/index-0.1.12-cpv0hf3f.mjs +0 -1
- package/dist/chunks/index-0.1.12-d5w1w05d.mjs +0 -1
- package/dist/chunks/index-0.1.12-d7j83tkh.mjs +0 -1
- package/dist/chunks/index-0.1.12-hvf65cbr.mjs +0 -1
- package/dist/chunks/index-0.1.12-m0e193t8.mjs +0 -1
- package/dist/chunks/index-0.1.12-nc3z95ph.mjs +0 -5
- package/dist/chunks/index-0.1.12-r92p75vh.mjs +0 -1
- package/dist/chunks/index-0.1.12-sxh3dwcy.mjs +0 -1
- package/dist/chunks/index-0.1.12-sy5zw7vk.mjs +0 -1
- package/dist/chunks/index-0.1.12-v53nbtdb.mjs +0 -2
- package/dist/chunks/index-0.1.12-vbv1ac2q.mjs +0 -1
- package/dist/chunks/index-0.1.12-z0brwe1k.mjs +0 -2
- package/dist/chunks/index-0.1.12-zc2ayczg.mjs +0 -1
- package/dist/chunks/index-0.1.12-zqrp5tve.mjs +0 -9
- package/dist/chunks/initReplBridge-0.1.12-yyn8mbyh.mjs +0 -1
- package/dist/chunks/ink-0.1.12-qdefs6hn.mjs +0 -1
- package/dist/chunks/install-0.1.12-11xkk6vf.mjs +0 -1
- package/dist/chunks/install-slack-app-0.1.12-a44xy1pr.mjs +0 -1
- package/dist/chunks/instrumentation-0.1.12-nqv5x6q8.mjs +0 -12
- package/dist/chunks/interactiveHelpers-0.1.12-c4xec7dn.mjs +0 -1
- package/dist/chunks/keybindings-0.1.12-21jbfvfp.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.12-1ckjzc8p.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.12-85daax4j.mjs +0 -1
- package/dist/chunks/logout-0.1.12-n2tbfcz8.mjs +0 -1
- package/dist/chunks/lsp-0.1.12-ks84es3y.mjs +0 -1
- package/dist/chunks/main-0.1.12-47ck3kj2.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.12-vt155n3n.mjs +0 -1
- package/dist/chunks/mcp-0.1.12-93a71b1q.mjs +0 -1
- package/dist/chunks/mcp-0.1.12-rwfrrttw.mjs +0 -4
- package/dist/chunks/memory-0.1.12-7x2msczw.mjs +0 -3
- package/dist/chunks/model-0.1.12-15e9c8j0.mjs +0 -2
- package/dist/chunks/model-0.1.12-z2qjscwh.mjs +0 -1
- package/dist/chunks/package-HMBVQOZ4-0.1.12-3njzvqd2.mjs +0 -1
- package/dist/chunks/parser-0.1.12-jz2xz2kd.mjs +0 -1
- package/dist/chunks/permissions-0.1.12-dmp58kwy.mjs +0 -3
- package/dist/chunks/plan-0.1.12-waed49m8.mjs +0 -1
- package/dist/chunks/plugin-0.1.12-j30rqvv5.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.12-5bp08b06.mjs +0 -1
- package/dist/chunks/privacy-settings-0.1.12-9drzsgkz.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.12-3s8a2x65.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.1.12-m9sh3sjt.mjs +0 -9
- package/dist/chunks/prompt-0.1.12-786vk11a.mjs +0 -1
- package/dist/chunks/prompt-0.1.12-fg4npvax.mjs +0 -1
- package/dist/chunks/prompts-0.1.12-h3xd9wvy.mjs +0 -1
- package/dist/chunks/providerProfiles-0.1.12-3fp9n85w.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.12-dx2886b6.mjs +0 -1
- package/dist/chunks/registry-0.1.12-btwd6z61.mjs +0 -1
- package/dist/chunks/release-notes-0.1.12-dwzs8z2c.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.12-ec88j31s.mjs +0 -2
- package/dist/chunks/remote-env-0.1.12-w15618dm.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.12-npxn0mje.mjs +0 -1
- package/dist/chunks/rename-0.1.12-sbes9wm3.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.12-2jqj7bby.mjs +0 -1
- package/dist/chunks/resume-0.1.12-9vpmw2hg.mjs +0 -2
- package/dist/chunks/sandbox-adapter-0.1.12-htfmfp9m.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.1.12-qq2yf1ta.mjs +0 -1
- package/dist/chunks/session-0.1.12-2xgt0x74.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.12-xpxt6bqs.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.12-7s6eezdt.mjs +0 -1
- package/dist/chunks/setup-0.1.12-2kjx6mnf.mjs +0 -5
- package/dist/chunks/sinks-0.1.12-qvx26vtt.mjs +0 -1
- package/dist/chunks/skills-0.1.12-sh637gsv.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.12-n3fce9wg.mjs +0 -1
- package/dist/chunks/status-0.1.12-qphx08h4.mjs +0 -1
- package/dist/chunks/stickers-0.1.12-dksexsqf.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.12-sbpfvs29.mjs +0 -1
- package/dist/chunks/tasks-0.1.12-268nn2c6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.12-3trvxmmz.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.12-28s4rsx4.mjs +0 -1
- package/dist/chunks/teleport-0.1.12-zz9z0w99.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.12-xf61sxh6.mjs +0 -1
- package/dist/chunks/theme-0.1.12-3rgm5yr1.mjs +0 -1
- package/dist/chunks/thinkback-0.1.12-sf0y9d2d.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.12-vyyv42tm.mjs +0 -1
- package/dist/chunks/toolPool-0.1.12-tyqns5jv.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.12-k91edc7b.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.12-w1scr51x.mjs +0 -1
- package/dist/chunks/upgrade-0.1.12-zhqgygsd.mjs +0 -1
- package/dist/chunks/usage-0.1.12-g40wd0mq.mjs +0 -1
- package/dist/chunks/util-0.1.12-qdejkkj5.mjs +0 -1
- package/dist/chunks/utils-0.1.12-3f08ztd2.mjs +0 -1
- package/dist/chunks/vim-0.1.12-z78k9k65.mjs +0 -1
- package/dist/chunks/watcher-0.1.12-pkwq5a2d.mjs +0 -1
- package/dist/chunks/worktree-0.1.12-a1mh6hjt.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.12-amrewbka.mjs +0 -1
- /package/dist/chunks/{cli-0.1.12-41zq3gv6.mjs → cli-0.1.13-fdmvysv0.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.12-tvawkeks.mjs → cli-0.1.13-gs7rcvne.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.12-ng34ay3g.mjs → cli-0.1.13-m5c2efjx.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pna as u,Sna as k}from"./cli-0.1.13-tknwgkgp.mjs";import{Xna as f,Yna as y}from"./cli-0.1.13-bj67mp7n.mjs";function j(z){return new Promise((G,U)=>{let K=g.request({method:"GET",...z,hostname:z.hostname?.replace(/^\[(.+)\]$/,"$1")});K.on("error",(Q)=>{U(Object.assign(new X.ProviderError("Unable to connect to instance metadata service"),Q)),K.destroy()}),K.on("timeout",()=>{U(new X.ProviderError("TimeoutError from instance metadata service")),K.destroy()}),K.on("response",(Q)=>{let{statusCode:Z=400}=Q;if(Z<200||300<=Z)U(Object.assign(new X.ProviderError("Error response received from instance metadata service"),{statusCode:Z})),K.destroy();let w=[];Q.on("data",($)=>{w.push($)}),Q.on("end",()=>{G(Buffer.concat(w)),K.destroy()})}),K.end()})}var m,X,g,c,C=(z)=>Boolean(z)&&typeof z==="object"&&typeof z.AccessKeyId==="string"&&typeof z.SecretAccessKey==="string"&&typeof z.Token==="string"&&typeof z.Expiration==="string",T=(z)=>({accessKeyId:z.AccessKeyId,secretAccessKey:z.SecretAccessKey,sessionToken:z.Token,expiration:new Date(z.Expiration),...z.AccountId&&{accountId:z.AccountId}}),b=1000,F=0,M=({maxRetries:z=F,timeout:G=b})=>({maxRetries:z,timeout:G}),N=(z,G)=>{let U=z();for(let K=0;K<G;K++)U=U.catch(z);return U},L="AWS_CONTAINER_CREDENTIALS_FULL_URI",_="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",P="AWS_CONTAINER_AUTHORIZATION_TOKEN",p=(z={})=>{let{timeout:G,maxRetries:U}=M(z);return()=>N(async()=>{let K=await n({logger:z.logger}),Q=JSON.parse(await d(G,K));if(!C(Q))throw new X.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:z.logger});return T(Q)},U)},d=async(z,G)=>{if(process.env[P])G.headers={...G.headers,Authorization:process.env[P]};return(await j({...G,timeout:z})).toString()},l="169.254.170.2",a,s,n=async({logger:z})=>{if(process.env[_])return{hostname:l,path:process.env[_]};if(process.env[L]){let G=m.parse(process.env[L]);if(!G.hostname||!(G.hostname in a))throw new X.CredentialsProviderError(`${G.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:z});if(!G.protocol||!(G.protocol in s))throw new X.CredentialsProviderError(`${G.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:z});return{...G,port:G.port?parseInt(G.port,10):void 0}}throw new X.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${_} or ${L} environment variable is set`,{tryNextLink:!1,logger:z})},V,S=void 0,o="AWS_EC2_METADATA_SERVICE_ENDPOINT",t="ec2_metadata_service_endpoint",i,A,r="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",e="ec2_metadata_service_endpoint_mode",zz,v=async()=>c.parseUrl(await Gz()||await Kz()),Gz=async()=>X.loadConfig(i)(),Kz=async()=>{let z=await X.loadConfig(zz)();switch(z){case A.IPv4:return S.IPv4;case A.IPv6:return S.IPv6;default:throw Error(`Unsupported endpoint mode: ${z}. Select from ${Object.values(A)}`)}},Qz=300,Uz=300,Xz="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",h=(z,G)=>{let U=Qz+Math.floor(Math.random()*Uz),K=new Date(Date.now()+U*1000);G.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(K)}.
|
|
2
|
+
For more information, please visit: `+Xz);let Q=z.originalExpiration??z.expiration;return{...z,...Q?{originalExpiration:Q}:{},expiration:K}},Zz=(z,G={})=>{let U=G?.logger||console,K;return async()=>{let Q;try{if(Q=await z(),Q.expiration&&Q.expiration.getTime()<Date.now())Q=h(Q,U)}catch(Z){if(K)U.warn("Credential renew failed: ",Z),Q=h(K,U);else throw Z}return K=Q,Q}},x="/latest/meta-data/iam/security-credentials/",$z="/latest/api/token",B="AWS_EC2_METADATA_V1_DISABLED",q="ec2_metadata_v1_disabled",I="x-aws-ec2-metadata-token",Hz=(z={})=>Zz(Jz(z),{logger:z.logger}),Jz=(z={})=>{let G=!1,{logger:U,profile:K}=z,{timeout:Q,maxRetries:Z}=M(z),w=async($,D)=>{if(G||D.headers?.[I]==null){let H=!1,J=!1,R=await X.loadConfig({environmentVariableSelector:(Y)=>{let W=Y[B];if(J=!!W&&W!=="false",W===void 0)throw new X.CredentialsProviderError(`${B} not set in env, checking config file next.`,{logger:z.logger});return J},configFileSelector:(Y)=>{let W=Y[q];return H=!!W&&W!=="false",H},default:!1},{profile:K})();if(z.ec2MetadataV1Disabled||R){let Y=[];if(z.ec2MetadataV1Disabled)Y.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(H)Y.push(`config file profile (${q})`);if(J)Y.push(`process environment variable (${B})`);throw new V(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${Y.join(", ")}].`)}}let E=(await N(async()=>{let H;try{H=await wz(D)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)).trim();return N(async()=>{let H;try{H=await Dz(E,D,z)}catch(J){if(J.statusCode===401)G=!1;throw J}return H},$)};return async()=>{let $=await v();if(G)return U?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),w(Z,{...$,timeout:Q});else{let D;try{D=(await Yz({...$,timeout:Q})).toString()}catch(O){if(O?.statusCode===400)throw Object.assign(O,{message:"EC2 Metadata token request returned error"});else if(O.message==="TimeoutError"||[403,404,405].includes(O.statusCode))G=!0;return U?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),w(Z,{...$,timeout:Q})}return w(Z,{...$,headers:{[I]:D},timeout:Q})}}},Yz=async(z)=>j({...z,path:$z,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),wz=async(z)=>(await j({...z,path:x})).toString(),Dz=async(z,G,U)=>{let K=JSON.parse((await j({...G,path:x+z})).toString());if(!C(K))throw new X.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:U.logger});return T(K)},Wz,Az,Oz,Sz,jz,Lz,_z,Bz,Nz,Pz;var Mz=f(()=>{m=y("node:url"),X=u(),g=y("node:http"),c=k();a={localhost:!0,"127.0.0.1":!0},s={"http:":!0,"https:":!0};V=class V extends X.CredentialsProviderError{tryNextLink;name="InstanceMetadataV1FallbackError";constructor(z,G=!0){super(z,G);this.tryNextLink=G,Object.setPrototypeOf(this,V.prototype)}};(function(z){z.IPv4="http://169.254.169.254",z.IPv6="http://[fd00:ec2::254]"})(S||(S={}));i={environmentVariableSelector:(z)=>z[o],configFileSelector:(z)=>z[t],default:void 0};(function(z){z.IPv4="IPv4",z.IPv6="IPv6"})(A||(A={}));zz={environmentVariableSelector:(z)=>z[r],configFileSelector:(z)=>z[e],default:A.IPv4};Wz=F,Az=b,Oz=P,Sz=L,jz=_,Lz=p,_z=Hz,Bz=v,Nz=j,Pz=M});Mz();export{Pz as providerConfigFromInit,Nz as httpRequest,Bz as getInstanceMetadataEndpoint,_z as fromInstanceMetadata,Lz as fromContainerMetadata,S as Endpoint,jz as ENV_CMDS_RELATIVE_URI,Sz as ENV_CMDS_FULL_URI,Oz as ENV_CMDS_AUTH_TOKEN,Az as DEFAULT_TIMEOUT,Wz as DEFAULT_MAX_RETRIES};export default {get providerConfigFromInit(){return Pz},get httpRequest(){return Nz},get getInstanceMetadataEndpoint(){return Bz},get fromInstanceMetadata(){return _z},get fromContainerMetadata(){return Lz},get Endpoint(){return S},get ENV_CMDS_RELATIVE_URI(){return jz},get ENV_CMDS_FULL_URI(){return Sz},get ENV_CMDS_AUTH_TOKEN(){return Oz},get DEFAULT_TIMEOUT(){return Az},get DEFAULT_MAX_RETRIES(){return Wz}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{q6 as a}from"./cli-0.1.13-84tbx1nf.mjs";import"./cli-0.1.13-tknwgkgp.mjs";import"./cli-0.1.13-bj67mp7n.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{MQ as a,NQ as b,OQ as c,PQ as d,QQ as e}from"./cli-0.1.13-ct9m5223.mjs";import"./cli-0.1.13-bj67mp7n.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Rna as ls}from"./cli-0.1.13-tknwgkgp.mjs";import{Vna as z,Xna as hs,Yna as Xn}from"./cli-0.1.13-bj67mp7n.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}};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$5 as Fr,R5 as F,S5 as Nr,T5 as Dr,U5 as br,V5 as Ge,W5 as Zt,X5 as Et,Y5 as $r,Z5 as Is,_5 as Ar,a6 as hs,b6 as G,c6 as tt,d6 as pr,e6 as _r,g6 as Er,h6 as Sr,i6 as Rr,j6 as xr,k6 as vr,l6 as Kt,m6 as kt,n6 as er,o6 as Ur,p6 as Mr}from"./cli-0.1.13-ky4z1s1h.mjs";import{q6 as ps}from"./cli-0.1.13-84tbx1nf.mjs";import{r6 as we}from"./cli-0.1.13-b24n1wvw.mjs";import{Ina as dr,Jna as Z,Kna as Ce}from"./cli-0.1.13-0hyneh5t.mjs";import{Lna as ir}from"./cli-0.1.13-579v6j6d.mjs";import{Nna as Xe}from"./cli-0.1.13-tknwgkgp.mjs";import{Tna as ge,Vna as S,Xna as no,Yna as X}from"./cli-0.1.13-bj67mp7n.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.13-mc5ag4wj.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.13-mc5ag4wj.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}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r6 as P}from"./cli-0.1.13-b24n1wvw.mjs";import{Jna as p,Kna as w}from"./cli-0.1.13-0hyneh5t.mjs";import"./cli-0.1.13-tknwgkgp.mjs";import{Xna as u,Yna as a}from"./cli-0.1.13-bj67mp7n.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}};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{Jna as ve,Kna as L}from"./cli-0.1.13-0hyneh5t.mjs";import{Lna as _e}from"./cli-0.1.13-579v6j6d.mjs";import{Ona as Ke,Rna as he,Sna as Se}from"./cli-0.1.13-tknwgkgp.mjs";import{Vna as H,Yna as xe}from"./cli-0.1.13-bj67mp7n.mjs";var le=H((yt,V)=>{var J,$,G,Q,X,Y,Z,z,s,p,k,x,_,U,q,v,ee,te,I,ne,re,ue,ce,fe,be,ie,ae,me,W,Pe,ge,Oe;(function(f){var j=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(g){f(d(j,d(g)))});else if(typeof V==="object"&&typeof yt==="object")f(d(j,d(yt)));else f(d(j));function d(g,O){if(g!==j)if(typeof Object.create==="function")Object.defineProperty(g,"__esModule",{value:!0});else g.__esModule=!0;return function(e,t){return g[e]=O?O(e,t):t}}})(function(f){var j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};J=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");j(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)},$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u))e[u]=t[u]}return e},G=function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var u=0,r=Object.getOwnPropertySymbols(e);u<r.length;u++)if(t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u]))n[r[u]]=e[r[u]]}return n},Q=function(e,t,n,r){var u=arguments.length,c=u<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,i;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")c=Reflect.decorate(e,t,n,r);else for(var P=e.length-1;P>=0;P--)if(i=e[P])c=(u<3?i(c):u>3?i(t,n,c):i(t,n))||c;return u>3&&c&&Object.defineProperty(t,n,c),c},X=function(e,t){return function(n,r){t(n,r,e)}},Y=function(e,t,n,r,u,c){function i(N){if(N!==void 0&&typeof N!=="function")throw TypeError("Function expected");return N}var P=r.kind,h=P==="getter"?"get":P==="setter"?"set":"value",a=!t&&e?r.static?e:e.prototype:null,S=t||(a?Object.getOwnPropertyDescriptor(a,r.name):{}),C,M=!1;for(var l=n.length-1;l>=0;l--){var T={};for(var E in r)T[E]=E==="access"?{}:r[E];for(var E in r.access)T.access[E]=r.access[E];T.addInitializer=function(N){if(M)throw TypeError("Cannot add initializers after decoration has completed");c.push(i(N||null))};var D=(0,n[l])(P==="accessor"?{get:S.get,set:S.set}:S[h],T);if(P==="accessor"){if(D===void 0)continue;if(D===null||typeof D!=="object")throw TypeError("Object expected");if(C=i(D.get))S.get=C;if(C=i(D.set))S.set=C;if(C=i(D.init))u.unshift(C)}else if(C=i(D))if(P==="field")u.unshift(C);else S[h]=C}if(a)Object.defineProperty(a,r.name,S);M=!0},Z=function(e,t,n){var r=arguments.length>2;for(var u=0;u<t.length;u++)n=r?t[u].call(e,n):t[u].call(e);return r?n:void 0},z=function(e){return typeof e==="symbol"?e:"".concat(e)},s=function(e,t,n){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},p=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},k=function(e,t,n,r){function u(c){return c instanceof n?c:new n(function(i){i(c)})}return new(n||(n=Promise))(function(c,i){function P(S){try{a(r.next(S))}catch(C){i(C)}}function h(S){try{a(r.throw(S))}catch(C){i(C)}}function a(S){S.done?c(S.value):u(S.value).then(P,h)}a((r=r.apply(e,t||[])).next())})},x=function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,u,c,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=P(0),i.throw=P(1),i.return=P(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function P(a){return function(S){return h([a,S])}}function h(a){if(r)throw TypeError("Generator is already executing.");while(i&&(i=0,a[0]&&(n=0)),n)try{if(r=1,u&&(c=a[0]&2?u.return:a[0]?u.throw||((c=u.return)&&c.call(u),0):u.next)&&!(c=c.call(u,a[1])).done)return c;if(u=0,c)a=[a[0]&2,c.value];switch(a[0]){case 0:case 1:c=a;break;case 4:return n.label++,{value:a[1],done:!1};case 5:n.label++,u=a[1],a=[0];continue;case 7:a=n.ops.pop(),n.trys.pop();continue;default:if((c=n.trys,!(c=c.length>0&&c[c.length-1]))&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!c||a[1]>c[0]&&a[1]<c[3])){n.label=a[1];break}if(a[0]===6&&n.label<c[1]){n.label=c[1],c=a;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(a);break}if(c[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(S){a=[6,S],u=0}finally{r=c=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_=function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))W(t,e,n)},W=Object.create?function(e,t,n,r){if(r===void 0)r=n;var u=Object.getOwnPropertyDescriptor(t,n);if(!u||("get"in u?!t.__esModule:u.writable||u.configurable))u={enumerable:!0,get:function(){return t[n]}};Object.defineProperty(e,r,u)}:function(e,t,n,r){if(r===void 0)r=n;e[r]=t[n]},U=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&r>=e.length)e=void 0;return{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),u,c=[],i;try{while((t===void 0||t-- >0)&&!(u=r.next()).done)c.push(u.value)}catch(P){i={error:P}}finally{try{if(u&&!u.done&&(n=r.return))n.call(r)}finally{if(i)throw i.error}}return c},v=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(q(arguments[t]));return e},ee=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),u=0,t=0;t<n;t++)for(var c=arguments[t],i=0,P=c.length;i<P;i++,u++)r[u]=c[i];return r},te=function(e,t,n){if(n||arguments.length===2){for(var r=0,u=t.length,c;r<u;r++)if(c||!(r in t)){if(!c)c=Array.prototype.slice.call(t,0,r);c[r]=t[r]}}return e.concat(c||Array.prototype.slice.call(t))},I=function(e){return this instanceof I?(this.v=e,this):new I(e)},ne=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),u,c=[];return u=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),P("next"),P("throw"),P("return",i),u[Symbol.asyncIterator]=function(){return this},u;function i(l){return function(T){return Promise.resolve(T).then(l,C)}}function P(l,T){if(r[l]){if(u[l]=function(E){return new Promise(function(D,N){c.push([l,E,D,N])>1||h(l,E)})},T)u[l]=T(u[l])}}function h(l,T){try{a(r[l](T))}catch(E){M(c[0][3],E)}}function a(l){l.value instanceof I?Promise.resolve(l.value.v).then(S,C):M(c[0][2],l)}function S(l){h("next",l)}function C(l){h("throw",l)}function M(l,T){if(l(T),c.shift(),c.length)h(c[0][0],c[0][1])}},re=function(e){var t,n;return t={},r("next"),r("throw",function(u){throw u}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(u,c){t[u]=e[u]?function(i){return(n=!n)?{value:I(e[u](i)),done:!1}:c?c(i):i}:c}},ue=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof U==="function"?U(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(c){n[c]=e[c]&&function(i){return new Promise(function(P,h){i=e[c](i),u(P,h,i.done,i.value)})}}function u(c,i,P,h){Promise.resolve(h).then(function(a){c({value:a,done:P})},i)}},ce=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var d=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},g=function(e){return g=Object.getOwnPropertyNames||function(t){var n=[];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))n[n.length]=r;return n},g(e)};fe=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n=g(e),r=0;r<n.length;r++)if(n[r]!=="default")W(t,e,n[r])}return d(t,e),t},be=function(e){return e&&e.__esModule?e:{default:e}},ie=function(e,t,n,r){if(n==="a"&&!r)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},ae=function(e,t,n,r,u){if(r==="m")throw TypeError("Private method is not writable");if(r==="a"&&!u)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!u:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?u.call(e,n):u?u.value=n:t.set(e,n),n},me=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)},Pe=function(e,t,n){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var r,u;if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(r=t[Symbol.dispose],n)u=r}if(typeof r!=="function")throw TypeError("Object not disposable.");if(u)r=function(){try{u.call(this)}catch(c){return Promise.reject(c)}};e.stack.push({value:t,dispose:r,async:n})}else if(n)e.stack.push({async:!0});return t};var O=typeof SuppressedError==="function"?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};ge=function(e){function t(c){e.error=e.hasError?new O(c,e.error,"An error was suppressed during disposal."):c,e.hasError=!0}var n,r=0;function u(){while(n=e.stack.pop())try{if(!n.async&&r===1)return r=0,e.stack.push(n),Promise.resolve().then(u);if(n.dispose){var c=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(c).then(u,function(i){return t(i),u()})}else r|=1}catch(i){t(i)}if(r===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return u()},Oe=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(n,r,u,c,i){return r?t?".jsx":".js":u&&(!c||!i)?n:u+c+"."+i.toLowerCase()+"js"});return e},f("__extends",J),f("__assign",$),f("__rest",G),f("__decorate",Q),f("__param",X),f("__esDecorate",Y),f("__runInitializers",Z),f("__propKey",z),f("__setFunctionName",s),f("__metadata",p),f("__awaiter",k),f("__generator",x),f("__exportStar",_),f("__createBinding",W),f("__values",U),f("__read",q),f("__spread",v),f("__spreadArrays",ee),f("__spreadArray",te),f("__await",I),f("__asyncGenerator",ne),f("__asyncDelegator",re),f("__asyncValues",ue),f("__makeTemplateObject",ce),f("__importStar",fe),f("__importDefault",be),f("__classPrivateFieldGet",ie),f("__classPrivateFieldSet",ae),f("__classPrivateFieldIn",me),f("__addDisposableResource",Pe),f("__disposeResources",ge),f("__rewriteRelativeImportExtension",Oe)})});var je=H((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.checkUrl=void 0;var We=L(),Ve="169.254.170.2",qe="169.254.170.23",Le="[fd00:ec2::23]",Ae=(f,j)=>{if(f.protocol==="https:")return;if(f.hostname===Ve||f.hostname===qe||f.hostname===Le)return;if(f.hostname.includes("[")){if(f.hostname==="[::1]"||f.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]")return}else{if(f.hostname==="localhost")return;let d=f.hostname.split("."),g=(O)=>{let e=parseInt(O,10);return 0<=e&&e<=255};if(d[0]==="127"&&g(d[1])&&g(d[2])&&g(d[3])&&d.length===4)return}throw new We.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
|
|
2
|
+
- loopback CIDR 127.0.0.0/8 or [::1/128]
|
|
3
|
+
- ECS container host 169.254.170.2
|
|
4
|
+
- EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:j})};ye.checkUrl=Ae});var Ce=H((B)=>{Object.defineProperty(B,"__esModule",{value:!0});B.resolveHttpHandlerRuntimeConfig=B.getHttpHandlerExtensionConfiguration=B.isValidHostname=B.HttpResponse=B.HttpRequest=B.Fields=B.Field=void 0;var F=Se();Object.defineProperty(B,"Field",{enumerable:!0,get:function(){return F.Field}});Object.defineProperty(B,"Fields",{enumerable:!0,get:function(){return F.Fields}});Object.defineProperty(B,"HttpRequest",{enumerable:!0,get:function(){return F.HttpRequest}});Object.defineProperty(B,"HttpResponse",{enumerable:!0,get:function(){return F.HttpResponse}});Object.defineProperty(B,"isValidHostname",{enumerable:!0,get:function(){return F.isValidHostname}});Object.defineProperty(B,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return F.getHttpHandlerExtensionConfiguration}});Object.defineProperty(B,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return F.resolveHttpHandlerRuntimeConfig}})});var Te=H((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.createAggregatedClient=b.convertMap=b._json=b.ServiceException=b.SENSITIVE_STRING=b.NoOpLogger=b.Command=b.Client=b.strictParseShort=b.strictParseLong=b.strictParseInt32=b.strictParseInt=b.strictParseFloat32=b.strictParseFloat=b.strictParseDouble=b.strictParseByte=b.splitHeader=b.splitEvery=b.quoteHeader=b.parseRfc7231DateTime=b.parseRfc3339DateTimeWithOffset=b.parseRfc3339DateTime=b.parseEpochTimestamp=b.parseBoolean=b.nv=b.logger=b.limitedParseFloat32=b.limitedParseFloat=b.limitedParseDouble=b.handleFloat=b.generateIdempotencyToken=b.expectUnion=b.expectString=b.expectShort=b.expectObject=b.expectNumber=b.expectNonNull=b.expectLong=b.expectInt32=b.expectInt=b.expectFloat32=b.expectByte=b.expectBoolean=b.dateToUtcString=b.copyDocumentWithTransform=b._parseRfc7231DateTime=b._parseRfc3339DateTimeWithOffset=b._parseEpochTimestamp=b.NumericValue=b.LazyJsonString=void 0;b.resolvedPath=b.extendedEncodeURIComponent=b.collectBody=b.withBaseException=b.throwDefaultError=b.take=b.serializeFloat=b.serializeDateTime=b.resolveDefaultRuntimeConfig=b.map=b.loadConfigsForDefaultMode=b.isSerializableHeaderValue=b.getValueFromTextNode=b.getDefaultExtensionConfiguration=b.getDefaultClientConfiguration=b.getArrayIfSingleItem=b.emitWarningIfUnsupportedVersion=b.decorateServiceException=void 0;var m=he();Object.defineProperty(b,"LazyJsonString",{enumerable:!0,get:function(){return m.LazyJsonString}});Object.defineProperty(b,"NumericValue",{enumerable:!0,get:function(){return m.NumericValue}});Object.defineProperty(b,"_parseEpochTimestamp",{enumerable:!0,get:function(){return m._parseEpochTimestamp}});Object.defineProperty(b,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return m._parseRfc3339DateTimeWithOffset}});Object.defineProperty(b,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return m._parseRfc7231DateTime}});Object.defineProperty(b,"copyDocumentWithTransform",{enumerable:!0,get:function(){return m.copyDocumentWithTransform}});Object.defineProperty(b,"dateToUtcString",{enumerable:!0,get:function(){return m.dateToUtcString}});Object.defineProperty(b,"expectBoolean",{enumerable:!0,get:function(){return m.expectBoolean}});Object.defineProperty(b,"expectByte",{enumerable:!0,get:function(){return m.expectByte}});Object.defineProperty(b,"expectFloat32",{enumerable:!0,get:function(){return m.expectFloat32}});Object.defineProperty(b,"expectInt",{enumerable:!0,get:function(){return m.expectInt}});Object.defineProperty(b,"expectInt32",{enumerable:!0,get:function(){return m.expectInt32}});Object.defineProperty(b,"expectLong",{enumerable:!0,get:function(){return m.expectLong}});Object.defineProperty(b,"expectNonNull",{enumerable:!0,get:function(){return m.expectNonNull}});Object.defineProperty(b,"expectNumber",{enumerable:!0,get:function(){return m.expectNumber}});Object.defineProperty(b,"expectObject",{enumerable:!0,get:function(){return m.expectObject}});Object.defineProperty(b,"expectShort",{enumerable:!0,get:function(){return m.expectShort}});Object.defineProperty(b,"expectString",{enumerable:!0,get:function(){return m.expectString}});Object.defineProperty(b,"expectUnion",{enumerable:!0,get:function(){return m.expectUnion}});Object.defineProperty(b,"generateIdempotencyToken",{enumerable:!0,get:function(){return m.generateIdempotencyToken}});Object.defineProperty(b,"handleFloat",{enumerable:!0,get:function(){return m.handleFloat}});Object.defineProperty(b,"limitedParseDouble",{enumerable:!0,get:function(){return m.limitedParseDouble}});Object.defineProperty(b,"limitedParseFloat",{enumerable:!0,get:function(){return m.limitedParseFloat}});Object.defineProperty(b,"limitedParseFloat32",{enumerable:!0,get:function(){return m.limitedParseFloat32}});Object.defineProperty(b,"logger",{enumerable:!0,get:function(){return m.logger}});Object.defineProperty(b,"nv",{enumerable:!0,get:function(){return m.nv}});Object.defineProperty(b,"parseBoolean",{enumerable:!0,get:function(){return m.parseBoolean}});Object.defineProperty(b,"parseEpochTimestamp",{enumerable:!0,get:function(){return m.parseEpochTimestamp}});Object.defineProperty(b,"parseRfc3339DateTime",{enumerable:!0,get:function(){return m.parseRfc3339DateTime}});Object.defineProperty(b,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return m.parseRfc3339DateTimeWithOffset}});Object.defineProperty(b,"parseRfc7231DateTime",{enumerable:!0,get:function(){return m.parseRfc7231DateTime}});Object.defineProperty(b,"quoteHeader",{enumerable:!0,get:function(){return m.quoteHeader}});Object.defineProperty(b,"splitEvery",{enumerable:!0,get:function(){return m.splitEvery}});Object.defineProperty(b,"splitHeader",{enumerable:!0,get:function(){return m.splitHeader}});Object.defineProperty(b,"strictParseByte",{enumerable:!0,get:function(){return m.strictParseByte}});Object.defineProperty(b,"strictParseDouble",{enumerable:!0,get:function(){return m.strictParseDouble}});Object.defineProperty(b,"strictParseFloat",{enumerable:!0,get:function(){return m.strictParseFloat}});Object.defineProperty(b,"strictParseFloat32",{enumerable:!0,get:function(){return m.strictParseFloat32}});Object.defineProperty(b,"strictParseInt",{enumerable:!0,get:function(){return m.strictParseInt}});Object.defineProperty(b,"strictParseInt32",{enumerable:!0,get:function(){return m.strictParseInt32}});Object.defineProperty(b,"strictParseLong",{enumerable:!0,get:function(){return m.strictParseLong}});Object.defineProperty(b,"strictParseShort",{enumerable:!0,get:function(){return m.strictParseShort}});var y=Ke();Object.defineProperty(b,"Client",{enumerable:!0,get:function(){return y.Client}});Object.defineProperty(b,"Command",{enumerable:!0,get:function(){return y.Command}});Object.defineProperty(b,"NoOpLogger",{enumerable:!0,get:function(){return y.NoOpLogger}});Object.defineProperty(b,"SENSITIVE_STRING",{enumerable:!0,get:function(){return y.SENSITIVE_STRING}});Object.defineProperty(b,"ServiceException",{enumerable:!0,get:function(){return y.ServiceException}});Object.defineProperty(b,"_json",{enumerable:!0,get:function(){return y._json}});Object.defineProperty(b,"convertMap",{enumerable:!0,get:function(){return y.convertMap}});Object.defineProperty(b,"createAggregatedClient",{enumerable:!0,get:function(){return y.createAggregatedClient}});Object.defineProperty(b,"decorateServiceException",{enumerable:!0,get:function(){return y.decorateServiceException}});Object.defineProperty(b,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return y.emitWarningIfUnsupportedVersion}});Object.defineProperty(b,"getArrayIfSingleItem",{enumerable:!0,get:function(){return y.getArrayIfSingleItem}});Object.defineProperty(b,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return y.getDefaultClientConfiguration}});Object.defineProperty(b,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return y.getDefaultExtensionConfiguration}});Object.defineProperty(b,"getValueFromTextNode",{enumerable:!0,get:function(){return y.getValueFromTextNode}});Object.defineProperty(b,"isSerializableHeaderValue",{enumerable:!0,get:function(){return y.isSerializableHeaderValue}});Object.defineProperty(b,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return y.loadConfigsForDefaultMode}});Object.defineProperty(b,"map",{enumerable:!0,get:function(){return y.map}});Object.defineProperty(b,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return y.resolveDefaultRuntimeConfig}});Object.defineProperty(b,"serializeDateTime",{enumerable:!0,get:function(){return y.serializeDateTime}});Object.defineProperty(b,"serializeFloat",{enumerable:!0,get:function(){return y.serializeFloat}});Object.defineProperty(b,"take",{enumerable:!0,get:function(){return y.take}});Object.defineProperty(b,"throwDefaultError",{enumerable:!0,get:function(){return y.throwDefaultError}});Object.defineProperty(b,"withBaseException",{enumerable:!0,get:function(){return y.withBaseException}});var A=Se();Object.defineProperty(b,"collectBody",{enumerable:!0,get:function(){return A.collectBody}});Object.defineProperty(b,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return A.extendedEncodeURIComponent}});Object.defineProperty(b,"resolvedPath",{enumerable:!0,get:function(){return A.resolvedPath}})});var oe=H((o)=>{Object.defineProperty(o,"__esModule",{value:!0});o.isBlob=o.isReadableStream=o.splitStream=o.sdkStreamMixin=o.headStream=o.getAwsChunkedEncodingStream=o.createBufferedReadable=o.createChecksumStream=o.ChecksumStream=o.Uint8ArrayBlobAdapter=void 0;var R=he();Object.defineProperty(o,"Uint8ArrayBlobAdapter",{enumerable:!0,get:function(){return R.Uint8ArrayBlobAdapter}});Object.defineProperty(o,"ChecksumStream",{enumerable:!0,get:function(){return R.ChecksumStream}});Object.defineProperty(o,"createChecksumStream",{enumerable:!0,get:function(){return R.createChecksumStream}});Object.defineProperty(o,"createBufferedReadable",{enumerable:!0,get:function(){return R.createBufferedReadable}});Object.defineProperty(o,"getAwsChunkedEncodingStream",{enumerable:!0,get:function(){return R.getAwsChunkedEncodingStream}});Object.defineProperty(o,"headStream",{enumerable:!0,get:function(){return R.headStream}});Object.defineProperty(o,"sdkStreamMixin",{enumerable:!0,get:function(){return R.sdkStreamMixin}});Object.defineProperty(o,"splitStream",{enumerable:!0,get:function(){return R.splitStream}});Object.defineProperty(o,"isReadableStream",{enumerable:!0,get:function(){return R.isReadableStream}});Object.defineProperty(o,"isBlob",{enumerable:!0,get:function(){return R.isBlob}})});var Re=H((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.createGetRequest=Ze;Ee.getCredentials=ze;var w=L(),Qe=Ce(),Xe=Te(),Ye=oe();function Ze(f){return new Qe.HttpRequest({protocol:f.protocol,hostname:f.hostname,port:Number(f.port),path:f.pathname,query:Array.from(f.searchParams.entries()).reduce((j,[d,g])=>{return j[d]=g,j},{}),fragment:f.hash})}async function ze(f,j){let g=await(0,Ye.sdkStreamMixin)(f.body).transformToString();if(f.statusCode===200){let O=JSON.parse(g);if(typeof O.AccessKeyId!=="string"||typeof O.SecretAccessKey!=="string"||typeof O.Token!=="string"||typeof O.Expiration!=="string")throw new w.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: { AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:j});return{accessKeyId:O.AccessKeyId,secretAccessKey:O.SecretAccessKey,sessionToken:O.Token,expiration:(0,Xe.parseRfc3339DateTime)(O.Expiration)}}if(f.statusCode>=400&&f.statusCode<500){let O={};try{O=JSON.parse(g)}catch(e){}throw Object.assign(new w.CredentialsProviderError(`Server responded with status: ${f.statusCode}`,{logger:j}),{Code:O.Code,Message:O.Message})}throw new w.CredentialsProviderError(`Server responded with status: ${f.statusCode}`,{logger:j})}});var Be=H((De)=>{Object.defineProperty(De,"__esModule",{value:!0});De.retryWrapper=void 0;var ke=(f,j,d)=>{return async()=>{for(let g=0;g<j;++g)try{return await f()}catch(O){await new Promise((e)=>setTimeout(e,d))}return await f()}};De.retryWrapper=ke});var Ue=H((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.fromHttp=void 0;var et=le(),tt=ve(),nt=_e(),Ne=L(),rt=et.__importDefault(xe("node:fs/promises")),ut=je(),Fe=Re(),ct=Be(),ft="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",bt="http://169.254.170.2",it="AWS_CONTAINER_CREDENTIALS_FULL_URI",at="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",mt="AWS_CONTAINER_AUTHORIZATION_TOKEN",Pt=(f={})=>{f.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let j,d=f.awsContainerCredentialsRelativeUri??process.env[ft],g=f.awsContainerCredentialsFullUri??process.env[it],O=f.awsContainerAuthorizationToken??process.env[mt],e=f.awsContainerAuthorizationTokenFile??process.env[at],t=f.logger?.constructor?.name==="NoOpLogger"||!f.logger?.warn?console.warn:f.logger.warn.bind(f.logger);if(d&&g)t("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."),t("awsContainerCredentialsFullUri will take precedence.");if(O&&e)t("@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."),t("awsContainerAuthorizationToken will take precedence.");if(g)j=g;else if(d)j=`${bt}${d}`;else throw new Ne.CredentialsProviderError(`No HTTP credential provider host provided.
|
|
5
|
+
Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:f.logger});let n=new URL(j);(0,ut.checkUrl)(n,f.logger);let r=nt.NodeHttpHandler.create({requestTimeout:f.timeout??1000,connectionTimeout:f.timeout??1000});return(0,ct.retryWrapper)(async()=>{let u=(0,Fe.createGetRequest)(n);if(O)u.headers.Authorization=O;else if(e)u.headers.Authorization=(await rt.default.readFile(e)).toString();try{let c=await r.handle(u);return(0,Fe.getCredentials)(c.response).then((i)=>(0,tt.setCredentialFeature)(i,"CREDENTIALS_HTTP","z"))}catch(c){throw new Ne.CredentialsProviderError(String(c),{logger:f.logger})}},f.maxRetries??3,f.timeout??1000)};Ie.fromHttp=Pt});var lt=H((K)=>{Object.defineProperty(K,"__esModule",{value:!0});K.fromHttp=void 0;var gt=Ue();Object.defineProperty(K,"fromHttp",{enumerable:!0,get:function(){return gt.fromHttp}})});export default lt();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C6 as a,D6 as b,E6 as c,F6 as d,G6 as e,H6 as f,I6 as g,J6 as h,K6 as i,L6 as j,M6 as k,N6 as l,O6 as m,P6 as n,Q6 as o,R6 as p,S6 as q,T6 as r}from"./cli-0.1.13-wh68ve92.mjs";import"./cli-0.1.13-2cdtdhek.mjs";import"./cli-0.1.13-cyj5snev.mjs";import"./cli-0.1.13-bj67mp7n.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{O5 as a}from"./cli-0.1.13-v467fj8c.mjs";import"./cli-0.1.13-bj67mp7n.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Q5 as S}from"./cli-0.1.13-d8wkcw90.mjs";import"./cli-0.1.13-ky4z1s1h.mjs";import"./cli-0.1.13-84tbx1nf.mjs";import{r6 as A}from"./cli-0.1.13-b24n1wvw.mjs";import{Jna as I,Kna as h}from"./cli-0.1.13-0hyneh5t.mjs";import"./cli-0.1.13-579v6j6d.mjs";import"./cli-0.1.13-tknwgkgp.mjs";import{Vna as p,Yna as F}from"./cli-0.1.13-bj67mp7n.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();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Q5 as a}from"./cli-0.1.13-d8wkcw90.mjs";import"./cli-0.1.13-ky4z1s1h.mjs";import"./cli-0.1.13-84tbx1nf.mjs";import"./cli-0.1.13-0hyneh5t.mjs";import"./cli-0.1.13-579v6j6d.mjs";import"./cli-0.1.13-tknwgkgp.mjs";import"./cli-0.1.13-bj67mp7n.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$5 as lo,R5 as w,S5 as so,T5 as no,U5 as co,V5 as ce,W5 as Rt,X5 as Rr,Y5 as ao,Z5 as _e,_5 as po,a6 as ge,b6 as h,c6 as vr,d6 as Vt,e6 as Wt,g6 as Yt,h6 as Jt,i6 as Kt,j6 as Xt,k6 as Ct,l6 as ft,m6 as Ft,n6 as $t,o6 as uo,p6 as Oo}from"./cli-0.1.13-ky4z1s1h.mjs";import{q6 as Ye}from"./cli-0.1.13-84tbx1nf.mjs";import{Ina as Tt,Jna as Bt}from"./cli-0.1.13-0hyneh5t.mjs";import{Lna as Lt}from"./cli-0.1.13-579v6j6d.mjs";import{Nna as xe}from"./cli-0.1.13-tknwgkgp.mjs";import{Vna as v}from"./cli-0.1.13-bj67mp7n.mjs";var U=v((re)=>{Object.defineProperty(re,"__esModule",{value:!0});re.resolveHttpAuthSchemeConfig=re.defaultSSOOIDCHttpAuthSchemeProvider=re.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;var Er=w(),j=vr(),Sr=async(e,r,i)=>{return{operation:(0,j.getSmithyContext)(r).operation,region:await(0,j.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};re.defaultSSOOIDCHttpAuthSchemeParametersProvider=Sr;function Ir(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(r,i)=>({signingProperties:{config:r,context:i}})}}function Pr(e){return{schemeId:"smithy.api#noAuth"}}var xr=(e)=>{let r=[];switch(e.operation){case"CreateToken":{r.push(Pr(e));break}default:r.push(Ir(e))}return r};re.defaultSSOOIDCHttpAuthSchemeProvider=xr;var Dr=(e)=>{let r=(0,Er.resolveAwsSdkSigV4Config)(e);return Object.assign(r,{authSchemePreference:(0,j.normalizeProvider)(e.authSchemePreference??[])})};re.resolveHttpAuthSchemeConfig=Dr});var le=v((ae)=>{Object.defineProperty(ae,"__esModule",{value:!0});ae.bdd=void 0;var yr=ce(),D="ref",S=-1,y=!0,oe="isSet",de="PartitionResult",N="booleanEquals",M="getAttr",ie={[D]:"Endpoint"},A={[D]:de},x={},se=[{[D]:"Region"}],ne={conditions:[[oe,[ie]],[oe,se],["aws.partition",se,de],[N,[{[D]:"UseFIPS"},y]],[N,[{[D]:"UseDualStack"},y]],[N,[{fn:M,argv:[A,"supportsDualStack"]},y]],[N,[{fn:M,argv:[A,"supportsFIPS"]},y]],["stringEquals",[{fn:M,argv:[A,"name"]},"aws-us-gov"]]],results:[[S],[S,"Invalid Configuration: FIPS and custom endpoint are not supported"],[S,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ie,x],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[S,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",x],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",x],[S,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",x],[S,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",x],[S,"Invalid Configuration: Missing Region"]]},Nr=2,n=1e8,hr=new Int32Array([-1,1,-1,0,13,3,1,4,n+12,2,5,n+12,3,8,6,4,7,n+11,5,n+9,n+10,4,11,9,6,10,n+8,7,n+6,n+7,5,12,n+5,6,n+4,n+5,3,n+1,14,4,n+2,n+3]);ae.bdd=yr.BinaryDecisionDiagram.from(hr,Nr,ne.conditions,ne.results)});var ve=v((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var fr=Rr(),G=ce(),Fr=le(),$r=new G.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),jr=(e,r={})=>{return $r.get(e,()=>(0,G.decideEndpoint)(Fr.bdd,{endpointParams:e,logger:r.logger}))};ue.defaultEndpointResolver=jr;G.customEndpointFunctions.aws=fr.awsEndpointFunctions});var R=v((z)=>{Object.defineProperty(z,"__esModule",{value:!0});z.SSOOIDCServiceException=z.__ServiceException=void 0;var Ee=h();Object.defineProperty(z,"__ServiceException",{enumerable:!0,get:function(){return Ee.ServiceException}});class m extends Ee.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,m.prototype)}}z.SSOOIDCServiceException=m});var Q=v((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.UnsupportedGrantTypeException=Ie.UnauthorizedClientException=Ie.SlowDownException=Ie.InvalidScopeException=Ie.InvalidRequestException=Ie.InvalidGrantException=Ie.InvalidClientException=Ie.InternalServerException=Ie.ExpiredTokenException=Ie.AuthorizationPendingException=Ie.AccessDeniedException=void 0;var a=R();class H extends a.SSOOIDCServiceException{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,H.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}Ie.AccessDeniedException=H;class L extends a.SSOOIDCServiceException{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,L.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.AuthorizationPendingException=L;class T extends a.SSOOIDCServiceException{name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.ExpiredTokenException=T;class B extends a.SSOOIDCServiceException{name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InternalServerException=B;class V extends a.SSOOIDCServiceException{name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidClientException=V;class W extends a.SSOOIDCServiceException{name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidGrantException=W;class Y extends a.SSOOIDCServiceException{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}Ie.InvalidRequestException=Y;class J extends a.SSOOIDCServiceException{name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.InvalidScopeException=J;class K extends a.SSOOIDCServiceException{name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.SlowDownException=K;class X extends a.SSOOIDCServiceException{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,X.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.UnauthorizedClientException=X;class C extends a.SSOOIDCServiceException{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}Ie.UnsupportedGrantTypeException=C});var Z=v((Re)=>{Object.defineProperty(Re,"__esModule",{value:!0});Re.CreateToken$=Re.CreateTokenResponse$=Re.CreateTokenRequest$=Re.errorTypeRegistries=Re.UnsupportedGrantTypeException$=Re.UnauthorizedClientException$=Re.SlowDownException$=Re.InvalidScopeException$=Re.InvalidRequestException$=Re.InvalidGrantException$=Re.InvalidClientException$=Re.InternalServerException$=Re.ExpiredTokenException$=Re.AuthorizationPendingException$=Re.AccessDeniedException$=Re.SSOOIDCServiceException$=void 0;var Br="AccessDeniedException",Vr="AuthorizationPendingException",Wr="AccessToken",Yr="ClientSecret",Jr="CreateToken",Kr="CreateTokenRequest",Xr="CreateTokenResponse",Cr="CodeVerifier",Qr="ExpiredTokenException",Zr="InvalidClientException",kr="InvalidGrantException",_r="InvalidRequestException",gr="InternalServerException",et="InvalidScopeException",rt="IdToken",tt="RefreshToken",ot="SlowDownException",it="UnauthorizedClientException",st="UnsupportedGrantTypeException",nt="accessToken",O="client",ct="clientId",dt="clientSecret",at="codeVerifier",pt="code",lt="deviceCode",t="error",ut="expiresIn",p="error_description",Ot="grantType",vt="http",l="httpError",Et="idToken",De="reason",be="refreshToken",St="redirectUri",qe="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",It="scope",Pt="server",xt="tokenType",o="com.amazonaws.ssooidc",ye=xe(),u=Q(),Dt=R(),Ne=ye.TypeRegistry.for(qe);Re.SSOOIDCServiceException$=[-3,qe,"SSOOIDCServiceException",0,[],[]];Ne.registerError(Re.SSOOIDCServiceException$,Dt.SSOOIDCServiceException);var c=ye.TypeRegistry.for(o);Re.AccessDeniedException$=[-3,o,Br,{[t]:O,[l]:400},[t,De,p],[0,0,0]];c.registerError(Re.AccessDeniedException$,u.AccessDeniedException);Re.AuthorizationPendingException$=[-3,o,Vr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.AuthorizationPendingException$,u.AuthorizationPendingException);Re.ExpiredTokenException$=[-3,o,Qr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.ExpiredTokenException$,u.ExpiredTokenException);Re.InternalServerException$=[-3,o,gr,{[t]:Pt,[l]:500},[t,p],[0,0]];c.registerError(Re.InternalServerException$,u.InternalServerException);Re.InvalidClientException$=[-3,o,Zr,{[t]:O,[l]:401},[t,p],[0,0]];c.registerError(Re.InvalidClientException$,u.InvalidClientException);Re.InvalidGrantException$=[-3,o,kr,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.InvalidGrantException$,u.InvalidGrantException);Re.InvalidRequestException$=[-3,o,_r,{[t]:O,[l]:400},[t,De,p],[0,0,0]];c.registerError(Re.InvalidRequestException$,u.InvalidRequestException);Re.InvalidScopeException$=[-3,o,et,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.InvalidScopeException$,u.InvalidScopeException);Re.SlowDownException$=[-3,o,ot,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.SlowDownException$,u.SlowDownException);Re.UnauthorizedClientException$=[-3,o,it,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.UnauthorizedClientException$,u.UnauthorizedClientException);Re.UnsupportedGrantTypeException$=[-3,o,st,{[t]:O,[l]:400},[t,p],[0,0]];c.registerError(Re.UnsupportedGrantTypeException$,u.UnsupportedGrantTypeException);Re.errorTypeRegistries=[Ne,c];var bt=[0,o,Wr,8,0],qt=[0,o,Yr,8,0],yt=[0,o,Cr,8,0],Nt=[0,o,rt,8,0],he=[0,o,tt,8,0];Re.CreateTokenRequest$=[3,o,Kr,0,[ct,dt,Ot,lt,pt,be,It,St,at],[0,[()=>qt,0],0,0,0,[()=>he,0],64,0,[()=>yt,0]],3];Re.CreateTokenResponse$=[3,o,Xr,0,[nt,xt,ut,be,Et],[[()=>bt,0],0,1,[()=>he,0],[()=>Nt,0]]];Re.CreateToken$=[9,o,Jr,{[vt]:["POST","/token",200]},()=>Re.CreateTokenRequest$,()=>Re.CreateTokenResponse$]});var Xe=v((Je)=>{Object.defineProperty(Je,"__esModule",{value:!0});Je.getRuntimeConfig=void 0;var jt=w(),wt=Ft(),Ut=Ye(),Mt=h(),At=Rt(),Ve=$t(),We=ft(),Gt=U(),mt=ve(),zt=Z(),Ht=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Ve.fromBase64,base64Encoder:e?.base64Encoder??Ve.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??mt.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Gt.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(r)=>r.getIdentityProvider("aws.auth#sigv4"),signer:new jt.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(r)=>r.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Ut.NoAuthSigner}],logger:e?.logger??new Mt.NoOpLogger,protocol:e?.protocol??wt.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:zt.errorTypeRegistries,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??At.parseUrl,utf8Decoder:e?.utf8Decoder??We.fromUtf8,utf8Encoder:e?.utf8Encoder??We.toUtf8}};Je.getRuntimeConfig=Ht});var tr=v((er)=>{Object.defineProperty(er,"__esModule",{value:!0});er.getRuntimeConfig=void 0;var Qt=Vt(),Zt=Qt.__importDefault(Wt()),kt=Bt(),_t=w(),Ce=Yt(),f=_e(),gt=Jt(),Qe=ge(),I=Kt(),Ze=Lt(),ke=h(),eo=Xt(),ro=Ct(),to=Tt(),oo=Xe(),io=(e)=>{(0,ke.emitWarningIfUnsupportedVersion)(process.version);let r=(0,ro.resolveDefaultsModeConfig)(e),i=()=>r().then(ke.loadConfigsForDefaultMode),d=(0,oo.getRuntimeConfig)(e);(0,kt.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:r,authSchemePreference:e?.authSchemePreference??(0,I.loadConfig)(_t.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??eo.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Ce.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Zt.default.version}),maxAttempts:e?.maxAttempts??(0,I.loadConfig)(Qe.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,I.loadConfig)(f.NODE_REGION_CONFIG_OPTIONS,{...f.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:Ze.NodeHttpHandler.create(e?.requestHandler??i),retryMode:e?.retryMode??(0,I.loadConfig)({...Qe.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await i()).retryMode||to.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??gt.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??Ze.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,I.loadConfig)(f.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,I.loadConfig)(f.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,I.loadConfig)(Ce.NODE_APP_ID_CONFIG_OPTIONS,s)}};er.getRuntimeConfig=io});var zo=v((E)=>{var or=so(),vo=no(),Eo=co(),ir=ao(),So=_e(),k=Ye(),Io=xe(),Po=po(),ar=lo(),sr=ge(),P=h(),nr=U(),xo=tr(),cr=uo(),dr=Oo(),b=Z(),F=Q(),Do=R(),bo=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},qo={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},yo=(e)=>{let{httpAuthSchemes:r,httpAuthSchemeProvider:i,credentials:d}=e;return{setHttpAuthScheme(s){let q=r.findIndex(($)=>$.schemeId===s.schemeId);if(q===-1)r.push(s);else r.splice(q,1,s)},httpAuthSchemes(){return r},setHttpAuthSchemeProvider(s){i=s},httpAuthSchemeProvider(){return i},setCredentials(s){d=s},credentials(){return d}}},No=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},ho=(e,r)=>{let i=Object.assign(cr.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),dr.getHttpHandlerExtensionConfiguration(e),yo(e));return r.forEach((d)=>d.configure(i)),Object.assign(e,cr.resolveAwsRegionExtensionConfiguration(i),P.resolveDefaultRuntimeConfig(i),dr.resolveHttpHandlerRuntimeConfig(i),No(i))};class _ extends P.Client{config;constructor(...[e]){let r=xo.getRuntimeConfig(e||{});super(r);this.initConfig=r;let i=bo(r),d=ir.resolveUserAgentConfig(i),s=sr.resolveRetryConfig(d),q=So.resolveRegionConfig(s),$=or.resolveHostHeaderConfig(q),pr=ar.resolveEndpointConfig($),lr=nr.resolveHttpAuthSchemeConfig(pr),ur=ho(lr,e?.extensions||[]);this.config=ur,this.middlewareStack.use(Io.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(ir.getUserAgentPlugin(this.config)),this.middlewareStack.use(sr.getRetryPlugin(this.config)),this.middlewareStack.use(Po.getContentLengthPlugin(this.config)),this.middlewareStack.use(or.getHostHeaderPlugin(this.config)),this.middlewareStack.use(vo.getLoggerPlugin(this.config)),this.middlewareStack.use(Eo.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(k.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:nr.defaultSSOOIDCHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Or)=>new k.DefaultIdentityProviderConfig({"aws.auth#sigv4":Or.credentials})})),this.middlewareStack.use(k.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends P.Command.classBuilder().ep(qo).m(function(e,r,i,d){return[ar.getEndpointPlugin(i,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(b.CreateToken$).build(){}var Ro={CreateTokenCommand:g};class ee extends _{}P.createAggregatedClient(Ro,ee);var fo={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},Fo={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};E.$Command=P.Command;E.__Client=P.Client;E.SSOOIDCServiceException=Do.SSOOIDCServiceException;E.AccessDeniedExceptionReason=fo;E.CreateTokenCommand=g;E.InvalidRequestExceptionReason=Fo;E.SSOOIDC=ee;E.SSOOIDCClient=_;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(E,"__proto__")&&Object.defineProperty(E,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e))E[e]=b[e]});Object.prototype.hasOwnProperty.call(F,"__proto__")&&!Object.prototype.hasOwnProperty.call(E,"__proto__")&&Object.defineProperty(E,"__proto__",{enumerable:!0,value:F.__proto__});Object.keys(F).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e))E[e]=F[e]})});export default zo();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{P5 as V}from"./cli-0.1.13-6p0jxfnp.mjs";import{r6 as W}from"./cli-0.1.13-b24n1wvw.mjs";import{Kna as g}from"./cli-0.1.13-0hyneh5t.mjs";import"./cli-0.1.13-tknwgkgp.mjs";import{Tna as H,Xna as F,Yna as O}from"./cli-0.1.13-bj67mp7n.mjs";function M(b,q){let j=N(b),B,G,z,Q=async(J)=>{if(J?.forceRefresh)return await j(J);if(z?.expiration){if(z?.expiration?.getTime()<Date.now())z=void 0}if(B)await B;else if(!z||q?.(z))if(z){if(!G)G=j(J).then((X)=>{z=X}).finally(()=>{G=void 0})}else return B=j(J).then((X)=>{z=X}).finally(()=>{B=void 0}),Q(J);return z};return Q}var Y,K,h,Z="AWS_EC2_METADATA_DISABLED",x=async(b)=>{let{ENV_CMDS_FULL_URI:q,ENV_CMDS_RELATIVE_URI:j,fromContainerMetadata:B,fromInstanceMetadata:G}=await import("./index-0.1.13-7c5y7cbf.mjs");if(process.env[j]||process.env[q]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:z}=await import("./index-0.1.13-c29wq5dx.mjs").then((m)=>H(m.default,1));return K.chain(z(b),B(b))}if(process.env[Z]&&process.env[Z]!=="false")return async()=>{throw new K.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),G(b)},N=(b)=>async(q)=>{let j;for(let B of b)try{return await B(q)}catch(G){if(j=G,G?.tryNextLink)continue;throw G}throw j},$=!1,T=(b={})=>M([async()=>{if(b.profile??process.env[h.ENV_PROFILE]){if(process.env[Y.ENV_KEY]&&process.env[Y.ENV_SECRET]){if(!$)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn.bind(b.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
2
|
+
Multiple credential sources detected:
|
|
3
|
+
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
4
|
+
This SDK will proceed with the AWS_PROFILE value.
|
|
5
|
+
|
|
6
|
+
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
7
|
+
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
8
|
+
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
9
|
+
`),$=!0}throw new K.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),Y.fromEnv(b)()},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:j,ssoAccountId:B,ssoRegion:G,ssoRoleName:z,ssoSession:Q}=b;if(!j&&!B&&!G&&!z&&!Q)throw new K.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});let{fromSSO:J}=await import("./index-0.1.13-a06q9ad9.mjs");return J(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:j}=await import("./index-0.1.13-4cjfx282.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:j}=await import("./index-0.1.13-bc4sh2m1.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:j}=await import("./index-0.1.13-j9c4bjzh.mjs").then((m)=>H(m.default,1));return j(b)(q)},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await x(b))()},async()=>{throw new K.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}],D),U=(b)=>b?.expiration!==void 0,D=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000,C,u,A;var R=F(()=>{Y=V(),K=g(),h=W();C=D,u=U,A=T});R();export{A as defaultProvider,u as credentialsWillNeedRefresh,C as credentialsTreatedAsExpired};export default {get defaultProvider(){return A},get credentialsWillNeedRefresh(){return u},get credentialsTreatedAsExpired(){return C}};
|