@claudiolabs/claudin 1.1.20 → 1.1.22
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/dist/chunks/AgentTool-1.1.22-4ba6sbn1.mjs +1 -0
- package/dist/chunks/App-1.1.22-2m11r40p.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.22-zp1y1218.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.22-s95rx0gk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.22-5qa3134t.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.22-m5fc6nej.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.22-bnv9d1h5.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.22-g92az35d.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.22-9ccdds3r.mjs +6 -0
- package/dist/chunks/Doctor-1.1.22-1gc86nqw.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.22-z6sndn27.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.22-gb09bshz.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.22-52wjx92m.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.22-q6j91dba.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.22-z6x86qa5.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.22-05vxshwk.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.22-zh99bzde.mjs +1 -0
- package/dist/chunks/REPL-1.1.22-2c229abh.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.22-jp1q8573.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.22-s20kx6cz.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.22-036phq5k.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.22-2fpx0v36.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.22-q9xh6c1x.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.22-shtyh6x1.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.22-hwnb32mw.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.22-tx9d7tzw.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.22-qd5cmwvf.mjs +1 -0
- package/dist/chunks/add-dir-1.1.22-be3sb4ed.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.22-rm5akk7n.mjs +1 -0
- package/dist/chunks/agents-1.1.22-ad8hknzy.mjs +3 -0
- package/dist/chunks/agents-1.1.22-c8hb8sst.mjs +110 -0
- package/dist/chunks/api-1.1.22-b74pv1bc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.22-qz35a5k4.mjs +1 -0
- package/dist/chunks/assistant-1.1.22-mqc1g16y.mjs +1 -0
- package/dist/chunks/auth-1.1.22-hwjcqvy4.mjs +1 -0
- package/dist/chunks/auth-1.1.22-pwa369jw.mjs +1 -0
- package/dist/chunks/autoMode-1.1.22-3by2zax3.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.22-e4mn7cas.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.22-ng881g40.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.22-hxy5jpcq.mjs +1 -0
- package/dist/chunks/branch-1.1.22-akcs4dk5.mjs +4 -0
- package/dist/chunks/bridge-1.1.22-rttgyvkn.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.22-gtqyk17c.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.22-tfhha37q.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.22-mt52dzzq.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.22-bqaet342.mjs +1 -0
- package/dist/chunks/btw-1.1.22-y44fbm0x.mjs +1 -0
- package/dist/chunks/buddy-1.1.22-1jzcjwyr.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.22-wmckr2fj.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.22-rzg950xm.mjs +4 -0
- package/dist/chunks/caches-1.1.22-kabyzmmd.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.22-7mafzt35.mjs +1 -0
- package/dist/chunks/claudemd-1.1.22-genp8cn4.mjs +1 -0
- package/dist/chunks/clear-1.1.22-ta3shrbf.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.22-hvkervt4.mjs +1 -0
- package/dist/chunks/cli-1.1.22-00s47593.mjs +4 -0
- package/dist/chunks/cli-1.1.22-01xfy12n.mjs +18 -0
- package/dist/chunks/cli-1.1.22-01yb5we4.mjs +2 -0
- package/dist/chunks/cli-1.1.22-0553cn3c.mjs +3 -0
- package/dist/chunks/cli-1.1.22-073y3gd5.mjs +2 -0
- package/dist/chunks/cli-1.1.22-07prh801.mjs +2 -0
- package/dist/chunks/cli-1.1.22-09eb3077.mjs +2 -0
- package/dist/chunks/cli-1.1.22-0h7jejsr.mjs +3 -0
- package/dist/chunks/cli-1.1.22-0n0cxg2p.mjs +4 -0
- package/dist/chunks/cli-1.1.22-0x96ahhc.mjs +4 -0
- package/dist/chunks/cli-1.1.22-1099x9x2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-12vfd6j1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-1npmfnxb.mjs +50 -0
- package/dist/chunks/cli-1.1.22-1tqdha8j.mjs +2 -0
- package/dist/chunks/cli-1.1.22-1vrzwj7y.mjs +2 -0
- package/dist/chunks/cli-1.1.22-22735g9w.mjs +2 -0
- package/dist/chunks/cli-1.1.22-261r450y.mjs +60 -0
- package/dist/chunks/cli-1.1.22-265a4qpa.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2bdf1etb.mjs +4 -0
- package/dist/chunks/cli-1.1.22-2getjsf5.mjs +6 -0
- package/dist/chunks/cli-1.1.22-2mahjtgk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2nwmyakz.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2rqykpy1.mjs +18 -0
- package/dist/chunks/cli-1.1.22-2t3fhfjv.mjs +133 -0
- package/dist/chunks/cli-1.1.22-2tctx2yg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2wh33kpx.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2y82t3pd.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2yxd7hfb.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2zhxvvkx.mjs +2 -0
- package/dist/chunks/cli-1.1.22-33jc9czg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-35fe0h6z.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3ehpcpz4.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3h20fb9d.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3jyydg5h.mjs +206 -0
- package/dist/chunks/cli-1.1.22-3nmtk1bh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3r3tadt1.mjs +4 -0
- package/dist/chunks/cli-1.1.22-3thczx3s.mjs +133 -0
- package/dist/chunks/cli-1.1.22-3xjx3y13.mjs +2 -0
- package/dist/chunks/cli-1.1.22-41aseceq.mjs +3 -0
- package/dist/chunks/cli-1.1.22-4227vtcf.mjs +24 -0
- package/dist/chunks/cli-1.1.22-48gjx3j7.mjs +2 -0
- package/dist/chunks/cli-1.1.22-4g11fbx3.mjs +2 -0
- package/dist/chunks/cli-1.1.22-4ph3xqne.mjs +2 -0
- package/dist/chunks/cli-1.1.22-4pmfh5v2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-5afprdre.mjs +2 -0
- package/dist/chunks/cli-1.1.22-5dcmb4h9.mjs +2 -0
- package/dist/chunks/cli-1.1.22-5mzq5mc4.mjs +24 -0
- package/dist/chunks/cli-1.1.22-5vkvwgh1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-619cwdw8.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6bxa25n5.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6gd42s2a.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6k5nt5wc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6khex7bz.mjs +34 -0
- package/dist/chunks/cli-1.1.22-6vtb75g8.mjs +2 -0
- package/dist/chunks/cli-1.1.22-73mzmb6a.mjs +3 -0
- package/dist/chunks/cli-1.1.22-796yez98.mjs +2 -0
- package/dist/chunks/cli-1.1.22-7dha9j2p.mjs +3 -0
- package/dist/chunks/cli-1.1.22-7rm6jw0h.mjs +17 -0
- package/dist/chunks/cli-1.1.22-7rv96st9.mjs +4 -0
- package/dist/chunks/cli-1.1.22-7xwf9v6n.mjs +2 -0
- package/dist/chunks/cli-1.1.22-7zv5k6p0.mjs +2 -0
- package/dist/chunks/cli-1.1.22-87m0b80d.mjs +8 -0
- package/dist/chunks/cli-1.1.22-8cxdckv7.mjs +39 -0
- package/dist/chunks/cli-1.1.22-8fwvxw5t.mjs +2 -0
- package/dist/chunks/cli-1.1.22-8zvpve6x.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9283mpm5.mjs +4 -0
- package/dist/chunks/cli-1.1.22-9affzgn1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9b6k45hn.mjs +3 -0
- package/dist/chunks/cli-1.1.22-9dr01ge1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9jjvp1h1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9t3wxp9c.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9xhwr18a.mjs +2 -0
- package/dist/chunks/cli-1.1.22-a4bc88qq.mjs +2 -0
- package/dist/chunks/cli-1.1.22-an1qn05v.mjs +3 -0
- package/dist/chunks/cli-1.1.22-as4a7add.mjs +5 -0
- package/dist/chunks/cli-1.1.22-b3bpnsqk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-b7axxc6j.mjs +2 -0
- package/dist/chunks/cli-1.1.22-b81ce6x4.mjs +15 -0
- package/dist/chunks/cli-1.1.22-bfc0nw13.mjs +3 -0
- package/dist/chunks/cli-1.1.22-bj4bsta6.mjs +2 -0
- package/dist/chunks/cli-1.1.22-bnse4r9s.mjs +2 -0
- package/dist/chunks/cli-1.1.22-bv3a0vaa.mjs +2 -0
- package/dist/chunks/cli-1.1.22-bxfemtrx.mjs +2 -0
- package/dist/chunks/cli-1.1.22-byxwkfrj.mjs +3 -0
- package/dist/chunks/cli-1.1.22-c07z4d74.mjs +2 -0
- package/dist/chunks/cli-1.1.22-c1h1wfjn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ca6d1erw.mjs +6 -0
- package/dist/chunks/cli-1.1.22-ccp7e8qv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ckvf3pt3.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ctbmc0bv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-cvfsmaqt.mjs +2 -0
- package/dist/chunks/cli-1.1.22-d1w2ky89.mjs +6 -0
- package/dist/chunks/cli-1.1.22-d7cmcmfd.mjs +2 -0
- package/dist/chunks/cli-1.1.22-d990gcrg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-d9y8qqg3.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ddq8axpw.mjs +12 -0
- package/dist/chunks/cli-1.1.22-df129qms.mjs +5 -0
- package/dist/chunks/cli-1.1.22-df9q1a85.mjs +2 -0
- package/dist/chunks/cli-1.1.22-djkeg65n.mjs +2 -0
- package/dist/chunks/cli-1.1.22-dpqknw7z.mjs +2 -0
- package/dist/chunks/cli-1.1.22-e25bz2ew.mjs +9 -0
- package/dist/chunks/cli-1.1.22-e5sxpgah.mjs +2 -0
- package/dist/chunks/cli-1.1.22-e5wx36qr.mjs +2 -0
- package/dist/chunks/cli-1.1.22-eagkxr30.mjs +9 -0
- package/dist/chunks/cli-1.1.22-eddrkydn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-emmr10wb.mjs +21 -0
- package/dist/chunks/cli-1.1.22-eqtbpc0r.mjs +2 -0
- package/dist/chunks/cli-1.1.22-erbhk4p7.mjs +4 -0
- package/dist/chunks/cli-1.1.22-f0wja05z.mjs +2 -0
- package/dist/chunks/cli-1.1.22-f9ntxarz.mjs +2 -0
- package/dist/chunks/cli-1.1.22-fetzhxhh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-fwhfqwwn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-gkryz2d0.mjs +2 -0
- package/dist/chunks/cli-1.1.22-gpt102mm.mjs +2 -0
- package/dist/chunks/cli-1.1.22-grjw9tnm.mjs +2 -0
- package/dist/chunks/cli-1.1.22-gwhdvfge.mjs +24 -0
- package/dist/chunks/cli-1.1.22-gyhxg2db.mjs +2 -0
- package/dist/chunks/cli-1.1.22-h3m1whqm.mjs +6 -0
- package/dist/chunks/cli-1.1.22-hgwxyksg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-hhmq1rbn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-hjxaqntc.mjs +45 -0
- package/dist/chunks/cli-1.1.22-hqbf8xt0.mjs +3 -0
- package/dist/chunks/cli-1.1.22-hv3m9qnv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-j6xg80k8.mjs +2 -0
- package/dist/chunks/cli-1.1.22-j7qc1g0f.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jdz4rqbp.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jech3kdr.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jrhx2z2p.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jvrjpdd1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jz426kr2.mjs +66 -0
- package/dist/chunks/cli-1.1.22-jzvqt2pv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-k3xv38bj.mjs +2 -0
- package/dist/chunks/cli-1.1.22-kphdet4j.mjs +58 -0
- package/dist/chunks/cli-1.1.22-m41t95z0.mjs +2 -0
- package/dist/chunks/cli-1.1.22-mdapyzp3.mjs +6 -0
- package/dist/chunks/cli-1.1.22-mdttpxs6.mjs +24 -0
- package/dist/chunks/cli-1.1.22-mw0jpevk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-mxqz88pc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-n0px7a23.mjs +3 -0
- package/dist/chunks/cli-1.1.22-n2jecp35.mjs +2 -0
- package/dist/chunks/cli-1.1.22-nstgtysk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-nsydz2bd.mjs +2 -0
- package/dist/chunks/cli-1.1.22-nxv6yayj.mjs +2 -0
- package/dist/chunks/cli-1.1.22-pgrcj1gs.mjs +12 -0
- package/dist/chunks/cli-1.1.22-q622p3vr.mjs +16 -0
- package/dist/chunks/cli-1.1.22-q76mjgec.mjs +2 -0
- package/dist/chunks/cli-1.1.22-qmk7mm5m.mjs +2 -0
- package/dist/chunks/cli-1.1.22-qq7q7v3n.mjs +2 -0
- package/dist/chunks/cli-1.1.22-qzc4h0w2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-r0v2mak7.mjs +2 -0
- package/dist/chunks/cli-1.1.22-r7dnq81v.mjs +2 -0
- package/dist/chunks/cli-1.1.22-r9n3fz01.mjs +2 -0
- package/dist/chunks/cli-1.1.22-rd5zdpvh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-rma08k7m.mjs +3 -0
- package/dist/chunks/cli-1.1.22-rsp3340r.mjs +2 -0
- package/dist/chunks/cli-1.1.22-rtn7nhkb.mjs +1 -0
- package/dist/chunks/cli-1.1.22-s2n02sky.mjs +2 -0
- package/dist/chunks/cli-1.1.22-s5qhs3ds.mjs +2 -0
- package/dist/chunks/cli-1.1.22-s6e60cqc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-sema6yh6.mjs +2 -0
- package/dist/chunks/cli-1.1.22-skpsy2jm.mjs +17 -0
- package/dist/chunks/cli-1.1.22-ss970cxc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-swvmx131.mjs +2 -0
- package/dist/chunks/cli-1.1.22-sy41x518.mjs +2 -0
- package/dist/chunks/cli-1.1.22-tag23y0b.mjs +25 -0
- package/dist/chunks/cli-1.1.22-tkg7zwpn.mjs +20 -0
- package/dist/chunks/cli-1.1.22-tt24grn6.mjs +2 -0
- package/dist/chunks/cli-1.1.22-v260dy3k.mjs +2 -0
- package/dist/chunks/cli-1.1.22-v2q2pts1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-v8pzx6jk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vdsszncw.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vesjdg08.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vnmyjmjg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vp1eed3p.mjs +7 -0
- package/dist/chunks/cli-1.1.22-vwdxbs23.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vwv40zm1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-waqb850v.mjs +15 -0
- package/dist/chunks/cli-1.1.22-wbpdne8j.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xm1rhe1d.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xmb0wn88.mjs +42 -0
- package/dist/chunks/cli-1.1.22-xmy1w9q2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xpvyrpxz.mjs +7 -0
- package/dist/chunks/cli-1.1.22-xxwfawkh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xygngqfs.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xzrnmekb.mjs +3 -0
- package/dist/chunks/cli-1.1.22-y0t8rezv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-y3te45vg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-y4rj8ced.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ya408d88.mjs +4 -0
- package/dist/chunks/cli-1.1.22-yegp0d0j.mjs +6 -0
- package/dist/chunks/cli-1.1.22-yhgxca73.mjs +2 -0
- package/dist/chunks/cli-1.1.22-yjv63n10.mjs +2 -0
- package/dist/chunks/cli-1.1.22-yqbnqsen.mjs +3 -0
- package/dist/chunks/cli-1.1.22-yr5y8074.mjs +4 -0
- package/dist/chunks/cli-1.1.22-yy4d5xbz.mjs +2 -0
- package/dist/chunks/cli-1.1.22-yzk40k6c.mjs +2 -0
- package/dist/chunks/cli-1.1.22-z5g00tpb.mjs +25 -0
- package/dist/chunks/cli-1.1.22-zcrvxkff.mjs +15 -0
- package/dist/chunks/cli-1.1.22-zfg31zpg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-zmt5pksy.mjs +5426 -0
- package/dist/chunks/cli-1.1.22-znq4fk8a.mjs +2 -0
- package/dist/chunks/cli-1.1.22-zsc0cmye.mjs +2 -0
- package/dist/chunks/client-1.1.22-wq8vw6a1.mjs +1 -0
- package/dist/chunks/color-1.1.22-qk5z13ac.mjs +1 -0
- package/dist/chunks/compact-1.1.22-rb84pjhg.mjs +3 -0
- package/dist/chunks/config-1.1.22-0p9ep18d.mjs +1 -0
- package/dist/chunks/config-1.1.22-5mngav76.mjs +1 -0
- package/dist/chunks/constants-1.1.22-kjrh13hv.mjs +1 -0
- package/dist/chunks/context-1.1.22-dw2er614.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.22-znhpxryw.mjs +1 -0
- package/dist/chunks/conversation-1.1.22-awv74gk2.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.22-m6ccr26v.mjs +1 -0
- package/dist/chunks/copy-1.1.22-7b5mhaaj.mjs +9 -0
- package/dist/chunks/cost-1.1.22-dt2gz43e.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.22-a42r8ywe.mjs +1 -0
- package/dist/chunks/createSession-1.1.22-ddd5ddkv.mjs +1 -0
- package/dist/chunks/debug-1.1.22-qraa5by9.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.22-ctnqgj01.mjs +1534 -0
- package/dist/chunks/desktop-1.1.22-wg1hxyyk.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.22-pn2g27hr.mjs +1 -0
- package/dist/chunks/detection-1.1.22-s8r50ft4.mjs +1 -0
- package/dist/chunks/diff-1.1.22-6sdsv83f.mjs +1 -0
- package/dist/chunks/doctor-1.1.22-cj56pasy.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.22-ezjhg329.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.22-k4tqtjbb.mjs +1 -0
- package/dist/chunks/effort-1.1.22-eztddah9.mjs +13 -0
- package/dist/chunks/engine-1.1.22-6wrga0yh.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.22-9jm3xgge.mjs +1 -0
- package/dist/chunks/envUtils-1.1.22-7qb9fr3c.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.22-4xy91rp5.mjs +1 -0
- package/dist/chunks/environments-1.1.22-ke6dvmrb.mjs +1 -0
- package/dist/chunks/errors-1.1.22-rgsmtg01.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.22-xv4kj009.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.22-m7ndjwpq.mjs +1 -0
- package/dist/chunks/exit-1.1.22-m0bm4f9d.mjs +1 -0
- package/dist/chunks/explorer-1.1.22-jsrgxmw0.mjs +1 -0
- package/dist/chunks/export-1.1.22-s0m4af77.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.22-9sdr6tyh.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.22-9k857j7m.mjs +1 -0
- package/dist/chunks/fast-1.1.22-3w3eg6gc.mjs +1 -0
- package/dist/chunks/feedback-1.1.22-7jr2gbzj.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.22-08zb6ajr.mjs +1 -0
- package/dist/chunks/git-1.1.22-m66s3f9x.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.22-2r1deqm3.mjs +1 -0
- package/dist/chunks/goal-1.1.22-60jn1knb.mjs +4 -0
- package/dist/chunks/growthbook-1.1.22-jnddje2q.mjs +1 -0
- package/dist/chunks/headless-1.1.22-jc8xk2dj.mjs +2 -0
- package/dist/chunks/heapdump-1.1.22-h87tv4ay.mjs +6 -0
- package/dist/chunks/help-1.1.22-hkgcwycs.mjs +1 -0
- package/dist/chunks/hookChains-1.1.22-hjjsdtfz.mjs +3 -0
- package/dist/chunks/hooks-1.1.22-d51y91pz.mjs +79 -0
- package/dist/chunks/hooks-1.1.22-knpyhzjq.mjs +1 -0
- package/dist/chunks/ide-1.1.22-0tqwa732.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.22-6qd4v6hf.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.22-gvb5zry4.mjs +1 -0
- package/dist/chunks/index-1.1.22-19x2126b.mjs +30 -0
- package/dist/chunks/index-1.1.22-28fcrc19.mjs +9 -0
- package/dist/chunks/index-1.1.22-2ea02rg7.mjs +1 -0
- package/dist/chunks/index-1.1.22-2rc4s1ea.mjs +1 -0
- package/dist/chunks/index-1.1.22-33ka1vh2.mjs +1 -0
- package/dist/chunks/index-1.1.22-3sbe52mk.mjs +1 -0
- package/dist/chunks/index-1.1.22-3ze6s7jh.mjs +1 -0
- package/dist/chunks/index-1.1.22-45fydkr4.mjs +1 -0
- package/dist/chunks/index-1.1.22-4jyb49wh.mjs +5 -0
- package/dist/chunks/index-1.1.22-53bbsdht.mjs +23 -0
- package/dist/chunks/index-1.1.22-6dbeceeq.mjs +1 -0
- package/dist/chunks/index-1.1.22-8dntbh7a.mjs +1 -0
- package/dist/chunks/index-1.1.22-8kjk15ba.mjs +1 -0
- package/dist/chunks/index-1.1.22-an0gp01d.mjs +1 -0
- package/dist/chunks/index-1.1.22-cnbxnqdc.mjs +1 -0
- package/dist/chunks/index-1.1.22-fpsntg6z.mjs +1 -0
- package/dist/chunks/index-1.1.22-fv3cwfqb.mjs +1 -0
- package/dist/chunks/index-1.1.22-hjp106ay.mjs +1 -0
- package/dist/chunks/index-1.1.22-njczpq0j.mjs +9 -0
- package/dist/chunks/index-1.1.22-zeprwv8d.mjs +2 -0
- package/dist/chunks/index-1.1.22-zmmyfbe7.mjs +1 -0
- package/dist/chunks/index-1.1.22-zssja3p2.mjs +2 -0
- package/dist/chunks/index-1.1.22-zw38mh26.mjs +1 -0
- package/dist/chunks/init-1.1.22-xnq27h0g.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.22-y1d60qz3.mjs +1 -0
- package/dist/chunks/ink-1.1.22-k48q879m.mjs +1 -0
- package/dist/chunks/insights-1.1.22-a1cvbm3p.mjs +870 -0
- package/dist/chunks/install-1.1.22-jbzmqsdp.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.22-8a3hpgxj.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.22-rt6z32mx.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.22-z450bn0g.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.22-6ks3mty3.mjs +1 -0
- package/dist/chunks/keybindings-1.1.22-g9y42jd0.mjs +2 -0
- package/dist/chunks/knowledge-1.1.22-9pnvwgtc.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.22-qt6jab06.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.22-sq4k9pva.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.22-vshz13qp.mjs +1 -0
- package/dist/chunks/log-1.1.22-e7ksty3v.mjs +1 -0
- package/dist/chunks/main-1.1.22-6td1g6n1.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.22-htj06t2x.mjs +1 -0
- package/dist/chunks/mcp-1.1.22-18h7drd2.mjs +17 -0
- package/dist/chunks/mcp-1.1.22-ezfae103.mjs +1 -0
- package/dist/chunks/mcp-1.1.22-s120rv95.mjs +4 -0
- package/dist/chunks/mcpb-1.1.22-vm6h475e.mjs +1 -0
- package/dist/chunks/memory-1.1.22-e0tx5g0m.mjs +72 -0
- package/dist/chunks/model-1.1.22-jpnba4j9.mjs +2 -0
- package/dist/chunks/model-1.1.22-ptaehfsq.mjs +1 -0
- package/dist/chunks/node-1.1.22-n2j0h224.mjs +14 -0
- package/dist/chunks/oauth-1.1.22-xryjmqvy.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.22-5g2mvrb0.mjs +14 -0
- package/dist/chunks/output-style-1.1.22-15avrxe6.mjs +1 -0
- package/dist/chunks/package-ZOVFJE7Z-1.1.22-74v22202.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.22-th9g7k2v.mjs +1 -0
- package/dist/chunks/parser-1.1.22-f76s0696.mjs +1 -0
- package/dist/chunks/passes-1.1.22-5067sbnv.mjs +1 -0
- package/dist/chunks/permissions-1.1.22-jq3s11rr.mjs +3 -0
- package/dist/chunks/permissions-1.1.22-yjbnyvja.mjs +1 -0
- package/dist/chunks/plan-1.1.22-a0v77tas.mjs +1 -0
- package/dist/chunks/plist-1.1.22-stjt7ne7.mjs +1 -0
- package/dist/chunks/plugin-1.1.22-ccc18w6d.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.22-6w6xqk0q.mjs +1 -0
- package/dist/chunks/plugins-1.1.22-14tg96p5.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.22-w8y973hr.mjs +2 -0
- package/dist/chunks/print-1.1.22-fj5my0gp.mjs +57 -0
- package/dist/chunks/process-1.1.22-5ehjyzp9.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.22-rfx8p83z.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.22-zz4rg3b9.mjs +9 -0
- package/dist/chunks/prompt-1.1.22-1k2zk0wc.mjs +1 -0
- package/dist/chunks/prompt-1.1.22-dnwycjh5.mjs +1 -0
- package/dist/chunks/prompts-1.1.22-4p4a5se6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.22-cs8w65fv.mjs +13 -0
- package/dist/chunks/provider-1.1.22-bn5s7tah.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.22-pymtgbvs.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.22-c7c5hbxa.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.22-w2qffppm.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.22-ab4qb34w.mjs +26 -0
- package/dist/chunks/registry-1.1.22-nsm8d8eb.mjs +1 -0
- package/dist/chunks/release-notes-1.1.22-8x23myzn.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.22-ak7jhwx7.mjs +2 -0
- package/dist/chunks/remote-env-1.1.22-x7trmcqx.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.22-hbz0g8ya.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.22-f6jb57v7.mjs +1 -0
- package/dist/chunks/rename-1.1.22-xe35q0k0.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.22-fhwjkdxg.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.22-vv0a8mm6.mjs +1 -0
- package/dist/chunks/resume-1.1.22-2sa8hbck.mjs +2 -0
- package/dist/chunks/rewind-1.1.22-9p74phfv.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.22-d6srkssk.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.22-g8m5b1gg.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.22-xfg2fsw2.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.22-dtc44mq5.mjs +1 -0
- package/dist/chunks/session-1.1.22-3tjyetra.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.22-33mn13e8.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.22-d3bejz9v.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.22-j74sh7m1.mjs +1 -0
- package/dist/chunks/settings-1.1.22-nkarfvpa.mjs +1 -0
- package/dist/chunks/setup-1.1.22-qcehqed4.mjs +12 -0
- package/dist/chunks/sinks-1.1.22-cq9rny33.mjs +1 -0
- package/dist/chunks/skills-1.1.22-ekjpttza.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.22-9fngk9y1.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.22-d1k95rad.mjs +1 -0
- package/dist/chunks/state-1.1.22-jwyx08g8.mjs +1 -0
- package/dist/chunks/stats-1.1.22-gbms572d.mjs +6 -0
- package/dist/chunks/status-1.1.22-k6tz1204.mjs +1 -0
- package/dist/chunks/stickers-1.1.22-0p5wcv91.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.22-8nw03e6a.mjs +1 -0
- package/dist/chunks/tasks-1.1.22-j3tvhmzv.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.22-9h9wz2vt.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.22-az279j20.mjs +1 -0
- package/dist/chunks/teleport-1.1.22-x65tzb7k.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.22-mgtn4k1h.mjs +1 -0
- package/dist/chunks/theme-1.1.22-ytcpmqf6.mjs +1 -0
- package/dist/chunks/thinkback-1.1.22-r3tqf574.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.22-gy5pmk8r.mjs +1 -0
- package/dist/chunks/toolPool-1.1.22-enzkj5fj.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.22-nks2rxm6.mjs +1 -0
- package/dist/chunks/tools-1.1.22-vngj7bpe.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.22-521tzk05.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.22-thexftmp.mjs +69 -0
- package/dist/chunks/types-1.1.22-jp8m10f1.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.22-tjrn8agz.mjs +4 -0
- package/dist/chunks/update-1.1.22-n10ztshv.mjs +72 -0
- package/dist/chunks/upgrade-1.1.22-e0pjbtcd.mjs +1 -0
- package/dist/chunks/upload-1.1.22-e00jdttg.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.22-1qmxkbg7.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.22-jj7mv0bn.mjs +1 -0
- package/dist/chunks/usage-1.1.22-s54ykz8x.mjs +1 -0
- package/dist/chunks/util-1.1.22-wntx1394.mjs +1 -0
- package/dist/chunks/utils-1.1.22-wmew7b5j.mjs +1 -0
- package/dist/chunks/vim-1.1.22-qddsv4he.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.22-1z60qm0a.mjs +13 -0
- package/dist/chunks/watcher-1.1.22-100q2zbm.mjs +1 -0
- package/dist/chunks/wiki-1.1.22-akk70ycq.mjs +132 -0
- package/dist/chunks/workflows-1.1.22-ed33rwny.mjs +1 -0
- package/dist/chunks/worktree-1.1.22-f3b1rr0f.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.22-taeyewr8.mjs +1 -0
- package/dist/chunks/wrapper-1.1.22-hayqq9zr.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.20-gy68hszg.mjs +0 -1
- package/dist/chunks/App-1.1.20-10ggpxf4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.20-6y0zcy4y.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.20-yebtqpwm.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.20-4t2txe84.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.20-6w697wvx.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.20-c3kyqfq3.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.20-87nay89d.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.20-wcg0gh1k.mjs +0 -6
- package/dist/chunks/Doctor-1.1.20-gq08p6c4.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.20-njwmt292.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.20-86szt9a8.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.20-yw03wzhm.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.20-b8bpx0av.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.20-xc1ete3w.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.20-ytp8f67t.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.20-qvj570ty.mjs +0 -1
- package/dist/chunks/REPL-1.1.20-1wqc3hyp.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.20-78gpsm6z.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.20-qzvapr16.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.20-tjphzty6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.20-d63k8snr.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.20-k1pa6f9a.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.20-8mc5wrxb.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.20-xkwtgqwd.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.20-7p5t0a25.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.20-n88f7vxe.mjs +0 -1
- package/dist/chunks/add-dir-1.1.20-mkjy6mne.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.20-mf4dz2fp.mjs +0 -1
- package/dist/chunks/agents-1.1.20-eb13erze.mjs +0 -110
- package/dist/chunks/agents-1.1.20-ps3c6vj2.mjs +0 -3
- package/dist/chunks/api-1.1.20-11grpy2c.mjs +0 -1
- package/dist/chunks/asciicast-1.1.20-bqm28655.mjs +0 -1
- package/dist/chunks/assistant-1.1.20-xny4y49f.mjs +0 -1
- package/dist/chunks/auth-1.1.20-kyscffqe.mjs +0 -1
- package/dist/chunks/auth-1.1.20-ygabh4dg.mjs +0 -1
- package/dist/chunks/autoMode-1.1.20-6ehbhthd.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.20-skjmdzhq.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.20-n7vch4bv.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.20-a3snmx4e.mjs +0 -1
- package/dist/chunks/branch-1.1.20-849br2fw.mjs +0 -4
- package/dist/chunks/bridge-1.1.20-ec0z61jb.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.20-wks1jhmc.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.20-1nza3j0t.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.20-6dks41qc.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.20-tecp8fmk.mjs +0 -1
- package/dist/chunks/btw-1.1.20-mdw6bncw.mjs +0 -1
- package/dist/chunks/buddy-1.1.20-cmmgv2nf.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.20-62xx6y5w.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.20-j7kbrtbn.mjs +0 -4
- package/dist/chunks/caches-1.1.20-ykvsw24v.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.20-dhcfye38.mjs +0 -1
- package/dist/chunks/claudemd-1.1.20-0km3pc8d.mjs +0 -1
- package/dist/chunks/clear-1.1.20-rkzhan9n.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.20-h9nb94gb.mjs +0 -1
- package/dist/chunks/cli-1.1.20-003ssrqs.mjs +0 -2
- package/dist/chunks/cli-1.1.20-08kdg42c.mjs +0 -2
- package/dist/chunks/cli-1.1.20-0a8jwwrh.mjs +0 -2
- package/dist/chunks/cli-1.1.20-0cxx0azc.mjs +0 -2
- package/dist/chunks/cli-1.1.20-0hr449k2.mjs +0 -6
- package/dist/chunks/cli-1.1.20-0yjr70td.mjs +0 -2
- package/dist/chunks/cli-1.1.20-11yx2x29.mjs +0 -2
- package/dist/chunks/cli-1.1.20-14z9f90d.mjs +0 -4
- package/dist/chunks/cli-1.1.20-16js342k.mjs +0 -3
- package/dist/chunks/cli-1.1.20-1804zgnt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-1axwpgex.mjs +0 -3
- package/dist/chunks/cli-1.1.20-1jzypzba.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2189wy4p.mjs +0 -2
- package/dist/chunks/cli-1.1.20-25hfpkfc.mjs +0 -34
- package/dist/chunks/cli-1.1.20-28njwehy.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2c8v6etd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2c9529sa.mjs +0 -4
- package/dist/chunks/cli-1.1.20-2epx2qhj.mjs +0 -4
- package/dist/chunks/cli-1.1.20-2kmxyr07.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2tzzh4zx.mjs +0 -3
- package/dist/chunks/cli-1.1.20-2xfbht26.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3awkxvmy.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3d1z8rpz.mjs +0 -58
- package/dist/chunks/cli-1.1.20-3xgnb054.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3xt27qam.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3ya9b3gp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-41jpan4m.mjs +0 -2
- package/dist/chunks/cli-1.1.20-44e5kpwx.mjs +0 -8
- package/dist/chunks/cli-1.1.20-456jkny0.mjs +0 -2
- package/dist/chunks/cli-1.1.20-45ymf6ss.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4dnyt1jx.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4fckza8j.mjs +0 -133
- package/dist/chunks/cli-1.1.20-4ns5w1w9.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4rera9rk.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4rzj958h.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4t5sspt7.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4wm04f49.mjs +0 -2
- package/dist/chunks/cli-1.1.20-50162v14.mjs +0 -2
- package/dist/chunks/cli-1.1.20-62a99cp9.mjs +0 -2
- package/dist/chunks/cli-1.1.20-6ev0yp0d.mjs +0 -6
- package/dist/chunks/cli-1.1.20-6jbvby2b.mjs +0 -20
- package/dist/chunks/cli-1.1.20-6xmv43xj.mjs +0 -3
- package/dist/chunks/cli-1.1.20-6yk3v95f.mjs +0 -39
- package/dist/chunks/cli-1.1.20-70wc36rc.mjs +0 -2
- package/dist/chunks/cli-1.1.20-751bmsqk.mjs +0 -2
- package/dist/chunks/cli-1.1.20-7732c5qg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-7c1w166r.mjs +0 -2
- package/dist/chunks/cli-1.1.20-7rxmh5n8.mjs +0 -3
- package/dist/chunks/cli-1.1.20-7v6hhn2t.mjs +0 -2
- package/dist/chunks/cli-1.1.20-80v7e5s8.mjs +0 -2
- package/dist/chunks/cli-1.1.20-83btfm1z.mjs +0 -2
- package/dist/chunks/cli-1.1.20-83vhyp8j.mjs +0 -2
- package/dist/chunks/cli-1.1.20-8kjhy0wv.mjs +0 -2
- package/dist/chunks/cli-1.1.20-8s1w9hdq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-93dztzcq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9c4avkb0.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9g552760.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9h5643kr.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9nj6n1xg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9p9rns5w.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9sv4xcek.mjs +0 -2
- package/dist/chunks/cli-1.1.20-a9fgbqdg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-admbe52d.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ahqsg433.mjs +0 -2
- package/dist/chunks/cli-1.1.20-atv9jh9v.mjs +0 -2
- package/dist/chunks/cli-1.1.20-azb7xdf4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-b09qhwrn.mjs +0 -2
- package/dist/chunks/cli-1.1.20-b0ehcdrw.mjs +0 -18
- package/dist/chunks/cli-1.1.20-bbb9fqyn.mjs +0 -2
- package/dist/chunks/cli-1.1.20-bgbsr3de.mjs +0 -3
- package/dist/chunks/cli-1.1.20-bk95x5hv.mjs +0 -25
- package/dist/chunks/cli-1.1.20-bs9520ht.mjs +0 -2
- package/dist/chunks/cli-1.1.20-c2g9cejz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-cbehaby4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-cfbterne.mjs +0 -2
- package/dist/chunks/cli-1.1.20-cgqjf8mh.mjs +0 -6
- package/dist/chunks/cli-1.1.20-chzjjxkj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ckdgd8ze.mjs +0 -45
- package/dist/chunks/cli-1.1.20-csmgax19.mjs +0 -21
- package/dist/chunks/cli-1.1.20-d3ep1y0e.mjs +0 -3
- package/dist/chunks/cli-1.1.20-d5yrsevx.mjs +0 -2
- package/dist/chunks/cli-1.1.20-d6ghx4vg.mjs +0 -15
- package/dist/chunks/cli-1.1.20-d7jg0nb4.mjs +0 -24
- package/dist/chunks/cli-1.1.20-dhn7hn4q.mjs +0 -12
- package/dist/chunks/cli-1.1.20-dhqn7976.mjs +0 -2
- package/dist/chunks/cli-1.1.20-dws48g78.mjs +0 -2
- package/dist/chunks/cli-1.1.20-e49ygqc9.mjs +0 -2
- package/dist/chunks/cli-1.1.20-edmcts0d.mjs +0 -15
- package/dist/chunks/cli-1.1.20-ef6rjnnr.mjs +0 -2
- package/dist/chunks/cli-1.1.20-emfhskxb.mjs +0 -7
- package/dist/chunks/cli-1.1.20-emjnkdmv.mjs +0 -1
- package/dist/chunks/cli-1.1.20-eza9aynd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ezsprsc5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-f55khzsq.mjs +0 -25
- package/dist/chunks/cli-1.1.20-far01hg1.mjs +0 -42
- package/dist/chunks/cli-1.1.20-ffffyhx3.mjs +0 -3
- package/dist/chunks/cli-1.1.20-fwfjvfmd.mjs +0 -12
- package/dist/chunks/cli-1.1.20-g0w1ksxt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-g41hgcbn.mjs +0 -2
- package/dist/chunks/cli-1.1.20-g68fwrp1.mjs +0 -2
- package/dist/chunks/cli-1.1.20-gd4g9gr0.mjs +0 -3
- package/dist/chunks/cli-1.1.20-geey2q0s.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ghdeh455.mjs +0 -2
- package/dist/chunks/cli-1.1.20-gkc4ptt0.mjs +0 -6
- package/dist/chunks/cli-1.1.20-gmw9jarz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-gtk0ea9e.mjs +0 -2
- package/dist/chunks/cli-1.1.20-h5qtp5v0.mjs +0 -4
- package/dist/chunks/cli-1.1.20-hnvxzngf.mjs +0 -24
- package/dist/chunks/cli-1.1.20-hrw31bb0.mjs +0 -206
- package/dist/chunks/cli-1.1.20-hw1raza2.mjs +0 -2
- package/dist/chunks/cli-1.1.20-j1r8r4kb.mjs +0 -2
- package/dist/chunks/cli-1.1.20-j4a7q58c.mjs +0 -2
- package/dist/chunks/cli-1.1.20-jerx0cvb.mjs +0 -9
- package/dist/chunks/cli-1.1.20-jm6p2cdx.mjs +0 -2
- package/dist/chunks/cli-1.1.20-jsasy45b.mjs +0 -2
- package/dist/chunks/cli-1.1.20-jwgjrhwv.mjs +0 -17
- package/dist/chunks/cli-1.1.20-jy9v0t3f.mjs +0 -5
- package/dist/chunks/cli-1.1.20-k31p3ab5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ka6crh5z.mjs +0 -2
- package/dist/chunks/cli-1.1.20-kbw4j273.mjs +0 -3
- package/dist/chunks/cli-1.1.20-kdcqs5pc.mjs +0 -2
- package/dist/chunks/cli-1.1.20-keawhead.mjs +0 -5
- package/dist/chunks/cli-1.1.20-kmjn4pys.mjs +0 -2
- package/dist/chunks/cli-1.1.20-kqncmabm.mjs +0 -4
- package/dist/chunks/cli-1.1.20-m1j9gb5j.mjs +0 -2
- package/dist/chunks/cli-1.1.20-m1rmtfx0.mjs +0 -2
- package/dist/chunks/cli-1.1.20-m90d7k90.mjs +0 -133
- package/dist/chunks/cli-1.1.20-m9x20s8d.mjs +0 -2
- package/dist/chunks/cli-1.1.20-mg71dz16.mjs +0 -2
- package/dist/chunks/cli-1.1.20-mmvz3csm.mjs +0 -2
- package/dist/chunks/cli-1.1.20-mtdrx7xp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-n0e2f4pd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-n23sb1sw.mjs +0 -2
- package/dist/chunks/cli-1.1.20-n9ja4mee.mjs +0 -66
- package/dist/chunks/cli-1.1.20-nbpvejz7.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nk2jvm1z.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nkrcdd4b.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nmnzdvrw.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nqwt6n3q.mjs +0 -2
- package/dist/chunks/cli-1.1.20-p0jj07wv.mjs +0 -2
- package/dist/chunks/cli-1.1.20-pfqkbt31.mjs +0 -2
- package/dist/chunks/cli-1.1.20-pg7cfgsa.mjs +0 -2
- package/dist/chunks/cli-1.1.20-psbfz74f.mjs +0 -2
- package/dist/chunks/cli-1.1.20-py0s55wt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-q4bfnf9w.mjs +0 -2
- package/dist/chunks/cli-1.1.20-qbmhpfn5.mjs +0 -15
- package/dist/chunks/cli-1.1.20-qkdde9ck.mjs +0 -2
- package/dist/chunks/cli-1.1.20-r4xfymtx.mjs +0 -60
- package/dist/chunks/cli-1.1.20-r55gwcq5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-r7y2pq10.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rdjbzkh4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rmvq7swt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rsrj8q6n.mjs +0 -3
- package/dist/chunks/cli-1.1.20-rvch3wwj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rvn2axad.mjs +0 -16
- package/dist/chunks/cli-1.1.20-ry7grtff.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ryb6r2jj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-se0125ky.mjs +0 -2
- package/dist/chunks/cli-1.1.20-snwfck2n.mjs +0 -2
- package/dist/chunks/cli-1.1.20-swewj6d5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-sx7811qs.mjs +0 -5419
- package/dist/chunks/cli-1.1.20-sykpdv9k.mjs +0 -4
- package/dist/chunks/cli-1.1.20-t4zen7fz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-t9y64aq1.mjs +0 -2
- package/dist/chunks/cli-1.1.20-tbtnrzgn.mjs +0 -6
- package/dist/chunks/cli-1.1.20-tgpt56rj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-thtv1xqb.mjs +0 -2
- package/dist/chunks/cli-1.1.20-twysxm6j.mjs +0 -2
- package/dist/chunks/cli-1.1.20-txm7z2xq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ty0gqe2q.mjs +0 -2
- package/dist/chunks/cli-1.1.20-v6kdm8qp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-vf1ea98p.mjs +0 -2
- package/dist/chunks/cli-1.1.20-vxrv3y7w.mjs +0 -9
- package/dist/chunks/cli-1.1.20-w24tmpq4.mjs +0 -7
- package/dist/chunks/cli-1.1.20-w6gv2drs.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wadq5w8t.mjs +0 -2
- package/dist/chunks/cli-1.1.20-we3ekctq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wn9t9syd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wr994817.mjs +0 -18
- package/dist/chunks/cli-1.1.20-wrat5rtg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wszdp4dg.mjs +0 -3
- package/dist/chunks/cli-1.1.20-wt0ygwrd.mjs +0 -6
- package/dist/chunks/cli-1.1.20-wtxwvcad.mjs +0 -4
- package/dist/chunks/cli-1.1.20-wx90y3jb.mjs +0 -24
- package/dist/chunks/cli-1.1.20-wxxphhy4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wz4h58mp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-x2y5vr9b.mjs +0 -3
- package/dist/chunks/cli-1.1.20-x3cdhjtp.mjs +0 -24
- package/dist/chunks/cli-1.1.20-x3sn0d4f.mjs +0 -2
- package/dist/chunks/cli-1.1.20-x4ezs1pz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-xk4edb6r.mjs +0 -3
- package/dist/chunks/cli-1.1.20-xkatp3rd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-xmkwnf9c.mjs +0 -2
- package/dist/chunks/cli-1.1.20-xvytevdy.mjs +0 -4
- package/dist/chunks/cli-1.1.20-y4b0v8se.mjs +0 -50
- package/dist/chunks/cli-1.1.20-y9jwxk0y.mjs +0 -17
- package/dist/chunks/cli-1.1.20-yh2kxsxg.mjs +0 -4
- package/dist/chunks/cli-1.1.20-yq2kjrr2.mjs +0 -2
- package/dist/chunks/cli-1.1.20-z4ndf118.mjs +0 -2
- package/dist/chunks/cli-1.1.20-zgg887a7.mjs +0 -4
- package/dist/chunks/cli-1.1.20-zhn44mv6.mjs +0 -2
- package/dist/chunks/cli-1.1.20-zvce3e9x.mjs +0 -2
- package/dist/chunks/client-1.1.20-yzk4md3m.mjs +0 -1
- package/dist/chunks/color-1.1.20-nvfrt651.mjs +0 -1
- package/dist/chunks/compact-1.1.20-t1p5wzzx.mjs +0 -3
- package/dist/chunks/config-1.1.20-f5vnf3mj.mjs +0 -1
- package/dist/chunks/config-1.1.20-fyrs9k0m.mjs +0 -1
- package/dist/chunks/constants-1.1.20-2p88w4e8.mjs +0 -1
- package/dist/chunks/context-1.1.20-q5c07f98.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.20-m97bd3hc.mjs +0 -1
- package/dist/chunks/conversation-1.1.20-2tdp5wat.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.20-6bf1fkfp.mjs +0 -1
- package/dist/chunks/copy-1.1.20-jx18zafs.mjs +0 -9
- package/dist/chunks/cost-1.1.20-cvh7ag89.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.20-yrms9nqw.mjs +0 -1
- package/dist/chunks/createSession-1.1.20-c72cffnc.mjs +0 -1
- package/dist/chunks/debug-1.1.20-2fqdvvvc.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.20-hwtzy20f.mjs +0 -1534
- package/dist/chunks/desktop-1.1.20-mgz7c45r.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.20-d5fezv23.mjs +0 -1
- package/dist/chunks/detection-1.1.20-b17bg403.mjs +0 -1
- package/dist/chunks/diff-1.1.20-rgydsj6p.mjs +0 -1
- package/dist/chunks/doctor-1.1.20-jk5ar7pz.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.20-0q5qfybh.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.20-w47zy9sy.mjs +0 -1
- package/dist/chunks/effort-1.1.20-hy8t94kh.mjs +0 -13
- package/dist/chunks/engine-1.1.20-4etdjq40.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.20-1c7pmf1x.mjs +0 -1
- package/dist/chunks/envUtils-1.1.20-8687estk.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.20-vtn95gpz.mjs +0 -1
- package/dist/chunks/environments-1.1.20-n27s3sfh.mjs +0 -1
- package/dist/chunks/errors-1.1.20-a30dbhvw.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.20-97zbp5r8.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.20-zvnsd219.mjs +0 -1
- package/dist/chunks/exit-1.1.20-g7dar7aa.mjs +0 -1
- package/dist/chunks/explorer-1.1.20-m606rm48.mjs +0 -1
- package/dist/chunks/export-1.1.20-mgwvg841.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.20-baf3f8zp.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.20-60c2b66b.mjs +0 -1
- package/dist/chunks/fast-1.1.20-0cv5rvjb.mjs +0 -1
- package/dist/chunks/feedback-1.1.20-cn6v1mdj.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.20-26b3hvex.mjs +0 -1
- package/dist/chunks/git-1.1.20-16amvfft.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.20-g1tq2ecq.mjs +0 -1
- package/dist/chunks/goal-1.1.20-k5akp14a.mjs +0 -4
- package/dist/chunks/growthbook-1.1.20-yrs6qd7c.mjs +0 -1
- package/dist/chunks/headless-1.1.20-ab6xrkks.mjs +0 -2
- package/dist/chunks/heapdump-1.1.20-7ty4e4da.mjs +0 -6
- package/dist/chunks/help-1.1.20-drmq3b45.mjs +0 -1
- package/dist/chunks/hookChains-1.1.20-9xe50nmq.mjs +0 -3
- package/dist/chunks/hooks-1.1.20-ea0rjbyd.mjs +0 -1
- package/dist/chunks/hooks-1.1.20-h3ac1ems.mjs +0 -79
- package/dist/chunks/ide-1.1.20-e5k4xqrh.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.20-yxmq33b1.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.20-2e8y4p87.mjs +0 -1
- package/dist/chunks/index-1.1.20-2gxqgc08.mjs +0 -1
- package/dist/chunks/index-1.1.20-3vkfmzw3.mjs +0 -30
- package/dist/chunks/index-1.1.20-7esm5m4s.mjs +0 -23
- package/dist/chunks/index-1.1.20-bszeeg1q.mjs +0 -1
- package/dist/chunks/index-1.1.20-cv1fhrne.mjs +0 -1
- package/dist/chunks/index-1.1.20-e27z5gwd.mjs +0 -1
- package/dist/chunks/index-1.1.20-hzw72qk9.mjs +0 -1
- package/dist/chunks/index-1.1.20-mmt768hj.mjs +0 -5
- package/dist/chunks/index-1.1.20-ms7qs4m6.mjs +0 -1
- package/dist/chunks/index-1.1.20-nkjdz68f.mjs +0 -1
- package/dist/chunks/index-1.1.20-ptjvr4qj.mjs +0 -1
- package/dist/chunks/index-1.1.20-qa9tjj42.mjs +0 -2
- package/dist/chunks/index-1.1.20-r3h0dypg.mjs +0 -1
- package/dist/chunks/index-1.1.20-rcx2fneb.mjs +0 -1
- package/dist/chunks/index-1.1.20-rdm3n4y9.mjs +0 -2
- package/dist/chunks/index-1.1.20-rm6ekqj7.mjs +0 -9
- package/dist/chunks/index-1.1.20-s7fb4knz.mjs +0 -1
- package/dist/chunks/index-1.1.20-s7x9dsyr.mjs +0 -1
- package/dist/chunks/index-1.1.20-t9j801bt.mjs +0 -9
- package/dist/chunks/index-1.1.20-vvmarmb0.mjs +0 -1
- package/dist/chunks/index-1.1.20-w3efr5jj.mjs +0 -1
- package/dist/chunks/index-1.1.20-y78x64xh.mjs +0 -1
- package/dist/chunks/index-1.1.20-z42w2g06.mjs +0 -1
- package/dist/chunks/init-1.1.20-1md8nn1q.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.20-5zfa29sw.mjs +0 -1
- package/dist/chunks/ink-1.1.20-4rp0112s.mjs +0 -1
- package/dist/chunks/insights-1.1.20-fs1yxv8w.mjs +0 -870
- package/dist/chunks/install-1.1.20-g8hq9z8r.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.20-t1etxwvv.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.20-x4r2g8jm.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.20-8axp9w08.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.20-w1c5qa1c.mjs +0 -1
- package/dist/chunks/keybindings-1.1.20-t46j6vqd.mjs +0 -2
- package/dist/chunks/knowledge-1.1.20-fay2dby4.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.20-18wdnnqq.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.20-ja86yn75.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.20-rpwz8enf.mjs +0 -1
- package/dist/chunks/log-1.1.20-jab23qgp.mjs +0 -1
- package/dist/chunks/main-1.1.20-1tszrrj3.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.20-jhwtkzzq.mjs +0 -1
- package/dist/chunks/mcp-1.1.20-b3j31d37.mjs +0 -17
- package/dist/chunks/mcp-1.1.20-ggtdpb22.mjs +0 -4
- package/dist/chunks/mcp-1.1.20-r35rcax5.mjs +0 -1
- package/dist/chunks/mcpb-1.1.20-nmxsjrst.mjs +0 -1
- package/dist/chunks/memory-1.1.20-2fbhrnrk.mjs +0 -72
- package/dist/chunks/model-1.1.20-2nstg3gs.mjs +0 -2
- package/dist/chunks/model-1.1.20-ag4na6w9.mjs +0 -1
- package/dist/chunks/node-1.1.20-7meq917d.mjs +0 -14
- package/dist/chunks/oauth-1.1.20-xkcs3s0v.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.20-1jxfjf9e.mjs +0 -14
- package/dist/chunks/output-style-1.1.20-m38djt42.mjs +0 -1
- package/dist/chunks/package-ZOVFJE7Z-1.1.20-83n7wkxr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.20-372zdrpd.mjs +0 -1
- package/dist/chunks/parser-1.1.20-gxyz7x28.mjs +0 -1
- package/dist/chunks/passes-1.1.20-ytgbf2dw.mjs +0 -1
- package/dist/chunks/permissions-1.1.20-s9ae41qy.mjs +0 -3
- package/dist/chunks/permissions-1.1.20-y9c9w35s.mjs +0 -1
- package/dist/chunks/plan-1.1.20-wbg3rbe5.mjs +0 -1
- package/dist/chunks/plist-1.1.20-ammve61n.mjs +0 -1
- package/dist/chunks/plugin-1.1.20-kprz45ck.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.20-0s19k556.mjs +0 -1
- package/dist/chunks/plugins-1.1.20-zcnf29dz.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.20-q1vqezxz.mjs +0 -2
- package/dist/chunks/print-1.1.20-jtj5dvm1.mjs +0 -57
- package/dist/chunks/process-1.1.20-gvna1rw4.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.20-4gf4hf9q.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.20-x7cpvyb1.mjs +0 -9
- package/dist/chunks/prompt-1.1.20-44tt0aay.mjs +0 -1
- package/dist/chunks/prompt-1.1.20-kd8b5z70.mjs +0 -1
- package/dist/chunks/prompts-1.1.20-p30n6333.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.20-k4c3bckj.mjs +0 -13
- package/dist/chunks/provider-1.1.20-x6r7w9y0.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.20-qr1eh5g1.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.20-whqrd8y7.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.20-hjftrz50.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.20-rspt0fgv.mjs +0 -26
- package/dist/chunks/registry-1.1.20-0mggqvzs.mjs +0 -1
- package/dist/chunks/release-notes-1.1.20-vb0mr5sj.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.20-vh7daesv.mjs +0 -2
- package/dist/chunks/remote-env-1.1.20-sarjwtd8.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.20-wn384wtw.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.20-v6xk4jcm.mjs +0 -1
- package/dist/chunks/rename-1.1.20-f8mjn6dk.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.20-rgnef71a.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.20-gtmq90n0.mjs +0 -1
- package/dist/chunks/resume-1.1.20-6azc4a6d.mjs +0 -2
- package/dist/chunks/rewind-1.1.20-y79g5sa8.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.20-j01mdex3.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.20-rjt6cc5k.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.20-2fy5bxtc.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.20-3fhx4jz1.mjs +0 -1
- package/dist/chunks/session-1.1.20-56bsxwcm.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.20-5awvar7p.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.20-p0m1trtr.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.20-kzwv0rca.mjs +0 -1
- package/dist/chunks/settings-1.1.20-qq5nh010.mjs +0 -1
- package/dist/chunks/setup-1.1.20-rxx0xk5h.mjs +0 -12
- package/dist/chunks/sinks-1.1.20-r3j94336.mjs +0 -1
- package/dist/chunks/skills-1.1.20-rj3k67vs.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.20-28r68j3h.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.20-na2gc2z0.mjs +0 -1
- package/dist/chunks/state-1.1.20-87k38gkf.mjs +0 -1
- package/dist/chunks/stats-1.1.20-4f0k42ck.mjs +0 -6
- package/dist/chunks/status-1.1.20-4q8drpbw.mjs +0 -1
- package/dist/chunks/stickers-1.1.20-6zrpy168.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.20-ay4xqbmj.mjs +0 -1
- package/dist/chunks/tasks-1.1.20-94bxr0pm.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.20-2wx4ycs3.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.20-84jswprz.mjs +0 -1
- package/dist/chunks/teleport-1.1.20-szer4192.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.20-6c6rr077.mjs +0 -1
- package/dist/chunks/theme-1.1.20-h0j5bxzv.mjs +0 -1
- package/dist/chunks/thinkback-1.1.20-xx7byjz0.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.20-y7e52jdn.mjs +0 -1
- package/dist/chunks/toolPool-1.1.20-3z7k5za6.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.20-60qd9jdb.mjs +0 -1
- package/dist/chunks/tools-1.1.20-x11zs4y1.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.20-2xcp041p.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.20-cvck081c.mjs +0 -69
- package/dist/chunks/types-1.1.20-143w1akg.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.20-0ahamh6w.mjs +0 -4
- package/dist/chunks/update-1.1.20-yy0y40m9.mjs +0 -72
- package/dist/chunks/upgrade-1.1.20-wk6398hc.mjs +0 -1
- package/dist/chunks/upload-1.1.20-x7890nxj.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.20-9fag2s50.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.20-98f7t8ex.mjs +0 -1
- package/dist/chunks/usage-1.1.20-x3t5jqtp.mjs +0 -1
- package/dist/chunks/util-1.1.20-6yg0jab0.mjs +0 -1
- package/dist/chunks/utils-1.1.20-eextgt51.mjs +0 -1
- package/dist/chunks/vim-1.1.20-45mkg766.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.20-m6zydt8m.mjs +0 -13
- package/dist/chunks/watcher-1.1.20-qtj8t09d.mjs +0 -1
- package/dist/chunks/wiki-1.1.20-3mvcvdfe.mjs +0 -132
- package/dist/chunks/workflows-1.1.20-19kpvc6v.mjs +0 -1
- package/dist/chunks/worktree-1.1.20-mj9bm0pg.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.20-gyvs55qh.mjs +0 -1
- package/dist/chunks/wrapper-1.1.20-8rckzejb.mjs +0 -7
- /package/dist/chunks/{cli-1.1.20-cypawma9.mjs → cli-1.1.22-08c4ym21.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-sfrzvte7.mjs → cli-1.1.22-as944wt5.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-nr5scd4y.mjs → cli-1.1.22-ccg6dy3s.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-c0p4wjw7.mjs → cli-1.1.22-kqk323ja.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-c4ktmkk3.mjs → cli-1.1.22-nv9q4jrr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-0sgvc4nn.mjs → cli-1.1.22-w09pyst3.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-e4h3mrxr.mjs → cli-1.1.22-ws6y62na.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h_ as P}from"./cli-1.1.22-rd5zdpvh.mjs";import{fta as p,gta as w}from"./cli-1.1.22-e25bz2ew.mjs";import"./cli-1.1.22-skpsy2jm.mjs";import{tta as u,uta as a}from"./cli-1.1.22-w09pyst3.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 @@
|
|
|
1
|
+
import{kW as a,lW as b,mW as c,nW as d,oW as e}from"./cli-1.1.22-b7axxc6j.mjs";import"./cli-1.1.22-w09pyst3.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ti as a}from"./cli-1.1.22-eagkxr30.mjs";import"./cli-1.1.22-mdapyzp3.mjs";import"./cli-1.1.22-w09pyst3.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g_ as a}from"./cli-1.1.22-rma08k7m.mjs";import"./cli-1.1.22-skpsy2jm.mjs";import"./cli-1.1.22-w09pyst3.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G9 as a}from"./cli-1.1.22-z5g00tpb.mjs";import"./cli-1.1.22-tkg7zwpn.mjs";import"./cli-1.1.22-rma08k7m.mjs";import"./cli-1.1.22-e25bz2ew.mjs";import"./cli-1.1.22-0n0cxg2p.mjs";import"./cli-1.1.22-skpsy2jm.mjs";import"./cli-1.1.22-w09pyst3.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F9 as a}from"./cli-1.1.22-znq4fk8a.mjs";import"./cli-1.1.22-e25bz2ew.mjs";import"./cli-1.1.22-skpsy2jm.mjs";import"./cli-1.1.22-w09pyst3.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$9 as Xt,H9 as w,I9 as so,J9 as no,K9 as co,L9 as ce,M9 as Rt,N9 as Rr,O9 as ao,P9 as _e,Q9 as po,R9 as lo,S9 as ge,T9 as h,U9 as vr,V9 as Vt,W9 as Wt,Y9 as Yt,Z9 as Jt,_9 as Kt,a_ as Ct,b_ as ft,c_ as Ft,d_ as $t,e_ as uo,f_ as Oo}from"./cli-1.1.22-tkg7zwpn.mjs";import{g_ as Ye}from"./cli-1.1.22-rma08k7m.mjs";import{eta as Tt,fta as Bt}from"./cli-1.1.22-e25bz2ew.mjs";import{hta as Lt}from"./cli-1.1.22-0n0cxg2p.mjs";import{jta as xe}from"./cli-1.1.22-skpsy2jm.mjs";import{rta as v}from"./cli-1.1.22-w09pyst3.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 @@
|
|
|
1
|
+
import{AF as i,BF as j,CF as k,sF as a,tF as b,uF as c,vF as d,wF as e,xF as f,yF as g,zF as h}from"./cli-1.1.22-zmt5pksy.mjs";import"./cli-1.1.22-09eb3077.mjs";import"./cli-1.1.22-y0t8rezv.mjs";import"./cli-1.1.22-waqb850v.mjs";import"./cli-1.1.22-xygngqfs.mjs";import"./cli-1.1.22-7rm6jw0h.mjs";import"./cli-1.1.22-djkeg65n.mjs";import"./cli-1.1.22-2nwmyakz.mjs";import"./cli-1.1.22-v8pzx6jk.mjs";import"./cli-1.1.22-b7axxc6j.mjs";import"./cli-1.1.22-jvrjpdd1.mjs";import"./cli-1.1.22-d9y8qqg3.mjs";import"./cli-1.1.22-0h7jejsr.mjs";import"./cli-1.1.22-fetzhxhh.mjs";import"./cli-1.1.22-ccp7e8qv.mjs";import"./cli-1.1.22-41aseceq.mjs";import"./cli-1.1.22-7xwf9v6n.mjs";import"./cli-1.1.22-jzvqt2pv.mjs";import"./cli-1.1.22-4227vtcf.mjs";import"./cli-1.1.22-vnmyjmjg.mjs";import"./cli-1.1.22-bv3a0vaa.mjs";import"./cli-1.1.22-6khex7bz.mjs";import"./cli-1.1.22-261r450y.mjs";import"./cli-1.1.22-yqbnqsen.mjs";import"./cli-1.1.22-e5wx36qr.mjs";import"./cli-1.1.22-vdsszncw.mjs";import"./cli-1.1.22-4ph3xqne.mjs";import"./cli-1.1.22-s6e60cqc.mjs";import"./cli-1.1.22-fwhfqwwn.mjs";import"./cli-1.1.22-2getjsf5.mjs";import"./cli-1.1.22-s2n02sky.mjs";import"./cli-1.1.22-mxqz88pc.mjs";import"./cli-1.1.22-mdapyzp3.mjs";import"./cli-1.1.22-vwdxbs23.mjs";import"./cli-1.1.22-c07z4d74.mjs";import"./cli-1.1.22-ss970cxc.mjs";import"./cli-1.1.22-4pmfh5v2.mjs";import"./cli-1.1.22-mw0jpevk.mjs";import"./cli-1.1.22-0553cn3c.mjs";import"./cli-1.1.22-q622p3vr.mjs";import"./cli-1.1.22-ddq8axpw.mjs";import"./cli-1.1.22-yegp0d0j.mjs";import"./cli-1.1.22-3thczx3s.mjs";import"./cli-1.1.22-2wh33kpx.mjs";import"./cli-1.1.22-6bxa25n5.mjs";import"./cli-1.1.22-5dcmb4h9.mjs";import"./cli-1.1.22-3jyydg5h.mjs";import"./cli-1.1.22-erbhk4p7.mjs";import"./cli-1.1.22-m41t95z0.mjs";import"./cli-1.1.22-8zvpve6x.mjs";import"./cli-1.1.22-dpqknw7z.mjs";import"./cli-1.1.22-jz426kr2.mjs";import"./cli-1.1.22-j6xg80k8.mjs";import"./cli-1.1.22-y4rj8ced.mjs";import"./cli-1.1.22-s5qhs3ds.mjs";import"./cli-1.1.22-ca6d1erw.mjs";import"./cli-1.1.22-cvfsmaqt.mjs";import"./cli-1.1.22-3r3tadt1.mjs";import"./cli-1.1.22-265a4qpa.mjs";import"./cli-1.1.22-v260dy3k.mjs";import"./cli-1.1.22-j7qc1g0f.mjs";import"./cli-1.1.22-xmb0wn88.mjs";import"./cli-1.1.22-gwhdvfge.mjs";import"./cli-1.1.22-d1w2ky89.mjs";import"./cli-1.1.22-33jc9czg.mjs";import"./cli-1.1.22-w09pyst3.mjs";k();export{d as waitForPolicyLimitsToLoad,j as stopBackgroundPolling,i as startBackgroundPolling,g as refreshPolicyLimits,f as loadPolicyLimits,c as isPolicyLimitsEligible,e as isPolicyAllowed,b as initializePolicyLimitsLoadingPromise,h as clearPolicyLimitsCache,a as _resetPolicyLimitsForTesting};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{F9 as V}from"./cli-1.1.22-znq4fk8a.mjs";import{h_ as W}from"./cli-1.1.22-rd5zdpvh.mjs";import{gta as g}from"./cli-1.1.22-e25bz2ew.mjs";import"./cli-1.1.22-skpsy2jm.mjs";import{pta as H,tta as F,uta as O}from"./cli-1.1.22-w09pyst3.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-1.1.22-zeprwv8d.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-1.1.22-4jyb49wh.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-1.1.22-zssja3p2.mjs");return J(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:j}=await import("./index-1.1.22-3sbe52mk.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:j}=await import("./index-1.1.22-6dbeceeq.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:j}=await import("./index-1.1.22-zw38mh26.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}};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lta as u,ota as k}from"./cli-1.1.22-skpsy2jm.mjs";import{tta as f,uta as y}from"./cli-1.1.22-w09pyst3.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{tta as cH}from"./cli-1.1.22-w09pyst3.mjs";import{createRequire as lH}from"module";function NC(H,C){if(typeof H=="function")C=H,H={};return this.ondata=C,H}function HJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC],function(K){return YC(cC(K.data[0],K.data[1]))},0,J)}function cC(H,C){return RC(H,C||{},0,0)}function rH(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC],function(K){return YC(vC(K.data[0],YH(K.data[1])))},1,J)}function vC(H,C){return zC(H,{i:2},C&&C.out,C&&C.dictionary)}function EJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,vH,function(){return[LH]}],function(K){return YC(LH(K.data[0],K.data[1]))},2,J)}function LH(H,C){if(!C)C={};var J=TC(),K=H.length;J.p(H);var Q=RC(H,C,NH(C),8),V=Q.length;return $H(Q,C),g(Q,V-8,J.d()),g(Q,V-4,K),Q}function KJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,kH,function(){return[JH]}],function(K){return YC(JH(K.data[0],K.data[1]))},3,J)}function JH(H,C){var J=RH(H);if(J+8>H.length)B(6,"invalid gzip data");return zC(H.subarray(J,-8),{i:2},C&&C.out||new Z(mH(H)),C&&C.dictionary)}function BJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,hH,function(){return[PH]}],function(K){return YC(PH(K.data[0],K.data[1]))},4,J)}function PH(H,C){if(!C)C={};var J=aC();J.p(H);var K=RC(H,C,C.dictionary?6:2,4);return EH(K,C),g(K,K.length-4,J.d()),K}function VJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,_H,function(){return[QH]}],function(K){return YC(QH(K.data[0],YH(K.data[1])))},5,J)}function QH(H,C){return zC(H.subarray(WH(H,C&&C.dictionary),-4),{i:2},C&&C.out,C&&C.dictionary)}function qJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return H[0]==31&&H[1]==139&&H[2]==8?KJ(H,C,J):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?rH(H,C,J):VJ(H,C,J)}function OJ(H,C){return H[0]==31&&H[1]==139&&H[2]==8?JH(H,C):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?vC(H,C):QH(H,C)}function $C(H,C){if(C){var J=new Z(H.length);for(var K=0;K<H.length;++K)J[K]=H.charCodeAt(K);return J}if(GH)return GH.encode(H);var Q=H.length,V=new Z(H.length+(H.length>>1)),X=0,Y=function(R){V[X++]=R};for(var K=0;K<Q;++K){if(X+5>V.length){var E=new Z(X+8+(Q-K<<1));E.set(V),V=E}var $=H.charCodeAt(K);if($<128||C)Y($);else if($<2048)Y(192|$>>6),Y(128|$&63);else if($>55295&&$<57344)$=65536+($&1047552)|H.charCodeAt(++K)&1023,Y(240|$>>18),Y(128|$>>12&63),Y(128|$>>6&63),Y(128|$&63);else Y(224|$>>12),Y(128|$>>6&63),Y(128|$&63)}return d(V,0,X)}function nH(H,C){if(C){var J="";for(var K=0;K<H.length;K+=16384)J+=String.fromCharCode.apply(null,H.subarray(K,K+16384));return J}else if(VH)return VH.decode(H);else{var Q=oH(H),V=Q.s,J=Q.r;if(J.length)B(8);return V}}function TJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K={};BH(H,"",K,C);var Q=Object.keys(K),V=Q.length,X=0,Y=0,E=V,$=Array(V),R=[],N=function(){for(var F=0;F<R.length;++F)R[F]()},W=function(F,P){eC(function(){J(F,P)})};eC(function(){W=J});var T=function(){var F=new Z(Y+22),P=X,U=Y-X;Y=0;for(var j=0;j<E;++j){var O=$[j];try{var x=O.c.length;MC(F,Y,O,O.f,O.u,x);var z=30+O.f.length+XC(O.extra),A=Y+z;F.set(O.c,A),MC(F,X,O,O.f,O.u,x,Y,O.m),X+=16+z+(O.m?O.m.length:0),Y=A+x}catch(L){return W(L,null)}}FH(F,X,$.length,U,P),W(null,F)};if(!V)T();var M=function(F){var P=Q[F],U=K[P],j=U[0],O=U[1],x=TC(),z=j.length;x.p(j);var A=$C(P),L=A.length,q=O.comment,y=q&&$C(q),S=y&&y.length,v=XC(O.extra),r=O.level==0?0:8,h=function(m,w){if(m)N(),W(m,null);else{var D=w.length;if($[F]=yC(O,{size:z,crc:x.d(),c:w,f:A,m:y,u:L!=P.length||y&&q.length!=S,compression:r}),X+=30+L+v+D,Y+=76+2*(L+v)+(S||0)+D,!--V)T()}};if(L>65535)h(B(11,0,1),null);if(!r)h(null,j);else if(z<160000)try{h(null,cC(j,O))}catch(m){h(m,null)}else R.push(HJ(j,O,h))};for(var G=0;G<E;++G)M(G);return N}function ZJ(H,C){if(!C)C={};var J={},K=[];BH(H,"",J,C);var Q=0,V=0;for(var X in J){var Y=J[X],E=Y[0],$=Y[1],R=$.level==0?0:8,N=$C(X),W=N.length,T=$.comment,M=T&&$C(T),G=M&&M.length,F=XC($.extra);if(W>65535)B(11);var P=R?cC(E,$):E,U=P.length,j=TC();j.p(E),K.push(yC($,{size:E.length,crc:j.d(),c:P,f:N,m:M,u:W!=X.length||M&&T.length!=G,o:Q,compression:R})),Q+=30+W+F+U,V+=76+2*(W+F)+(G||0)+U}var O=new Z(V+22),x=Q,z=V-Q;for(var A=0;A<K.length;++A){var N=K[A];MC(O,N.o,N,N.f,N.u,N.c.length);var L=30+N.f.length+XC(N.extra);O.set(N.c,N.o+L),MC(O,Q,N,N.f,N.u,N.c.length,N.o,N.m),Q+=16+L+(N.m?N.m.length:0)}return FH(O,Q,K.length,z,x),O}function DJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K=[],Q=function(){for(var F=0;F<K.length;++F)K[F]()},V={},X=function(F,P){eC(function(){J(F,P)})};eC(function(){X=J});var Y=H.length-22;for(;k(H,Y)!=101010256;--Y)if(!Y||H.length-Y>65558)return X(B(13,0,1),null),Q;var E=b(H,Y+8);if(E){var $=E,R=k(H,Y+16),N=k(H,Y-20)==117853008;if(N){var W=k(H,Y-12);if(N=k(H,W)==101075792,N)$=E=k(H,W+32),R=k(H,W+48)}var T=C&&C.filter,M=function(F){var P=fH(H,R,N),U=P[0],j=P[1],O=P[2],x=P[3],z=P[4],A=P[5],L=eH(H,A);R=z;var q=function(S,v){if(S)Q(),X(S,null);else{if(v)V[x]=v;if(!--E)X(null,V)}};if(!T||T({name:x,size:j,originalSize:O,compression:U}))if(!U)q(null,d(H,L,L+j));else if(U==8){var y=H.subarray(L,L+j);if(O<524288||j>0.8*O)try{q(null,vC(y,{out:new Z(O)}))}catch(S){q(S,null)}else K.push(rH(y,{size:O},q))}else q(B(14,"unknown compression type "+U,1),null);else q(null,null)};for(var G=0;G<$;++G)M(G)}else X(null,{});return Q}function SJ(H,C){var J={},K=H.length-22;for(;k(H,K)!=101010256;--K)if(!K||H.length-K>65558)B(13);var Q=b(H,K+8);if(!Q)return{};var V=k(H,K+16),X=k(H,K-20)==117853008;if(X){var Y=k(H,K-12);if(X=k(H,Y)==101075792,X)Q=k(H,Y+32),V=k(H,Y+48)}var E=C&&C.filter;for(var $=0;$<Q;++$){var R=fH(H,V,X),N=R[0],W=R[1],T=R[2],M=R[3],G=R[4],F=R[5],P=eH(H,F);if(V=G,!E||E({name:M,size:W,originalSize:T,compression:N}))if(!N)J[M]=d(H,P,P+W);else if(N==8)J[M]=vC(H.subarray(P,P+W),{out:new Z(T)});else B(14,"unknown compression type "+N)}return J}var dH,OC,mC,iC,iH=";var __w=require('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global",sH,Z,e,wC,PC,jC,gC,TH=function(H,C){var J=new e(31);for(var K=0;K<31;++K)J[K]=C+=1<<H[K-1];var Q=new wC(J[30]);for(var K=1;K<30;++K)for(var V=J[K];V<J[K+1];++V)Q[V]=V-J[K]<<5|K;return{b:J,r:Q}},OC,XH,oC,ZH,IH,sC,xC,HC,I,l=function(H,C,J){var K=H.length,Q=0,V=new e(C);for(;Q<K;++Q)if(H[Q])++V[H[Q]-1];var X=new e(C);for(Q=1;Q<C;++Q)X[Q]=X[Q-1]+V[Q-1]<<1;var Y;if(J){Y=new e(1<<C);var E=15-C;for(Q=0;Q<K;++Q)if(H[Q]){var $=Q<<4|H[Q],R=C-H[Q],N=X[H[Q]-1]++<<R;for(var W=N|(1<<R)-1;N<=W;++N)Y[xC[N]>>E]=$}}else{Y=new e(K);for(Q=0;Q<K;++Q)if(H[Q])Y[Q]=xC[X[H[Q]-1]++]>>15-H[Q]}return Y},QC,I,I,I,I,LC,I,UH,AH,DH,SH,uC=function(H){var C=H[0];for(var J=1;J<H.length;++J)if(H[J]>C)C=H[J];return C},c=function(H,C,J){var K=C/8|0;return(H[K]|H[K+1]<<8)>>(C&7)&J},rC=function(H,C){var J=C/8|0;return(H[J]|H[J+1]<<8|H[J+2]<<16)>>(C&7)},GC=function(H){return(H+7)/8|0},d=function(H,C,J){if(C==null||C<0)C=0;if(J==null||J>H.length)J=H.length;return new Z(H.subarray(C,J))},RJ,gH,B=function(H,C,J){var K=Error(C||gH[H]);if(K.code=H,Error.captureStackTrace)Error.captureStackTrace(K,B);if(!J)throw K;return K},zC=function(H,C,J,K){var Q=H.length,V=K?K.length:0;if(!Q||C.f&&!C.l)return J||new Z(0);var X=!J,Y=X||C.i!=2,E=C.i;if(X)J=new Z(Q*3);var $=function(DC){var SC=J.length;if(DC>SC){var BC=new Z(Math.max(SC*2,DC));BC.set(J),J=BC}},R=C.f||0,N=C.p||0,W=C.b||0,T=C.l,M=C.d,G=C.m,F=C.n,P=Q*8;do{if(!T){R=c(H,N,1);var U=c(H,N+1,3);if(N+=3,!U){var j=GC(N)+4,O=H[j-4]|H[j-3]<<8,x=j+O;if(x>Q){if(E)B(0);break}if(Y)$(W+O);J.set(H.subarray(j,x),W),C.b=W+=O,C.p=N=x*8,C.f=R;continue}else if(U==1)T=AH,M=SH,G=9,F=5;else if(U==2){var z=c(H,N,31)+257,A=c(H,N+10,15)+4,L=z+c(H,N+5,31)+1;N+=14;var q=new Z(L),y=new Z(19);for(var S=0;S<A;++S)y[gC[S]]=c(H,N+S*3,7);N+=A*3;var v=uC(y),r=(1<<v)-1,h=l(y,v,1);for(var S=0;S<L;){var m=h[c(H,N,r)];N+=m&15;var j=m>>4;if(j<16)q[S++]=j;else{var w=0,D=0;if(j==16)D=3+c(H,N,3),N+=2,w=q[S-1];else if(j==17)D=3+c(H,N,7),N+=3;else if(j==18)D=11+c(H,N,127),N+=7;while(D--)q[S++]=w}}var p=q.subarray(0,z),u=q.subarray(z);G=uC(p),F=uC(u),T=l(p,G,1),M=l(u,F,1)}else B(1);if(N>P){if(E)B(0);break}}if(Y)$(W+131072);var VC=(1<<G)-1,f=(1<<F)-1,s=N;for(;;s=N){var w=T[rC(H,N)&VC],o=w>>4;if(N+=w&15,N>P){if(E)B(0);break}if(!w)B(2);if(o<256)J[W++]=o;else if(o==256){s=N,T=null;break}else{var n=o-254;if(o>264){var S=o-257,_=PC[S];n=c(H,N,(1<<_)-1)+XH[S],N+=_}var CC=M[rC(H,N)&f],EC=CC>>4;if(!CC)B(3);N+=CC&15;var u=IH[EC];if(EC>3){var _=jC[EC];u+=rC(H,N)&(1<<_)-1,N+=_}if(N>P){if(E)B(0);break}if(Y)$(W+131072);var WC=W+n;if(W<u){var kC=V-u,hC=Math.min(u,WC);if(kC+W<0)B(3);for(;W<hC;++W)J[W]=K[kC+W]}for(;W<WC;++W)J[W]=J[W-u]}}if(C.l=T,C.p=s,C.b=W,C.f=R,T)R=1,C.m=G,C.d=M,C.n=F}while(!R);return W!=J.length&&X?d(J,0,W):J.subarray(0,W)},JC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8},FC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8,H[K+2]|=J>>16},pC=function(H,C){var J=[];for(var K=0;K<H.length;++K)if(H[K])J.push({s:K,f:H[K]});var Q=J.length,V=J.slice();if(!Q)return{t:KC,l:0};if(Q==1){var X=new Z(J[0].s+1);return X[J[0].s]=1,{t:X,l:1}}J.sort(function(x,z){return x.f-z.f}),J.push({s:-1,f:25001});var Y=J[0],E=J[1],$=0,R=1,N=2;J[0]={s:-1,f:Y.f+E.f,l:Y,r:E};while(R!=Q-1)Y=J[J[$].f<J[N].f?$++:N++],E=J[$!=R&&J[$].f<J[N].f?$++:N++],J[R++]={s:-1,f:Y.f+E.f,l:Y,r:E};var W=V[0].s;for(var K=1;K<Q;++K)if(V[K].s>W)W=V[K].s;var T=new e(W+1),M=nC(J[R-1],T,0);if(M>C){var K=0,G=0,F=M-C,P=1<<F;V.sort(function(z,A){return T[A.s]-T[z.s]||z.f-A.f});for(;K<Q;++K){var U=V[K].s;if(T[U]>C)G+=P-(1<<M-T[U]),T[U]=C;else break}G>>=F;while(G>0){var j=V[K].s;if(T[j]<C)G-=1<<C-T[j]++-1;else++K}for(;K>=0&&G;--K){var O=V[K].s;if(T[O]==C)--T[O],++G}M=C}return{t:new Z(T),l:M}},nC=function(H,C,J){return H.s==-1?Math.max(nC(H.l,C,J+1),nC(H.r,C,J+1)):C[H.s]=J},tC=function(H){var C=H.length;while(C&&!H[--C]);var J=new e(++C),K=0,Q=H[0],V=1,X=function(E){J[K++]=E};for(var Y=1;Y<=C;++Y)if(H[Y]==Q&&Y!=C)++V;else{if(!Q&&V>2){for(;V>138;V-=138)X(32754);if(V>2)X(V>10?V-11<<5|28690:V-3<<5|12305),V=0}else if(V>3){X(Q),--V;for(;V>6;V-=6)X(8304);if(V>2)X(V-3<<5|8208),V=0}while(V--)X(Q);V=1,Q=H[Y]}return{c:J.subarray(0,K),n:C}},qC=function(H,C){var J=0;for(var K=0;K<C.length;++K)J+=H[K]*C[K];return J},fC=function(H,C,J){var K=J.length,Q=GC(C+2);H[Q]=K&255,H[Q+1]=K>>8,H[Q+2]=H[Q]^255,H[Q+3]=H[Q+1]^255;for(var V=0;V<K;++V)H[Q+V+4]=J[V];return(Q+4+K)*8},CH=function(H,C,J,K,Q,V,X,Y,E,$,R){JC(C,R++,J),++Q[256];var N=pC(Q,15),W=N.t,T=N.l,M=pC(V,15),G=M.t,F=M.l,P=tC(W),U=P.c,j=P.n,O=tC(G),x=O.c,z=O.n,A=new e(19);for(var L=0;L<U.length;++L)++A[U[L]&31];for(var L=0;L<x.length;++L)++A[x[L]&31];var q=pC(A,7),y=q.t,S=q.l,v=19;for(;v>4&&!y[gC[v-1]];--v);var r=$+5<<3,h=qC(Q,QC)+qC(V,LC)+X,m=qC(Q,W)+qC(V,G)+X+14+3*v+qC(A,y)+2*A[16]+3*A[17]+7*A[18];if(E>=0&&r<=h&&r<=m)return fC(C,R,H.subarray(E,E+$));var w,D,p,u;if(JC(C,R,1+(m<h)),R+=2,m<h){w=l(W,T,0),D=W,p=l(G,F,0),u=G;var VC=l(y,S,0);JC(C,R,j-257),JC(C,R+5,z-1),JC(C,R+10,v-4),R+=14;for(var L=0;L<v;++L)JC(C,R+3*L,y[gC[L]]);R+=3*v;var f=[U,x];for(var s=0;s<2;++s){var o=f[s];for(var L=0;L<o.length;++L){var n=o[L]&31;if(JC(C,R,VC[n]),R+=y[n],n>15)JC(C,R,o[L]>>5&127),R+=o[L]>>12}}}else w=UH,D=QC,p=DH,u=LC;for(var L=0;L<Y;++L){var _=K[L];if(_>255){var n=_>>18&31;if(FC(C,R,w[n+257]),R+=D[n+257],n>7)JC(C,R,_>>23&31),R+=PC[n];var CC=_&31;if(FC(C,R,p[CC]),R+=u[CC],CC>3)FC(C,R,_>>5&8191),R+=jC[CC]}else FC(C,R,w[_]),R+=D[_]}return FC(C,R,w[256]),R+D[256]},xH,KC,wH=function(H,C,J,K,Q,V){var X=V.z||H.length,Y=new Z(K+X+5*(1+Math.ceil(X/7000))+Q),E=Y.subarray(K,Y.length-Q),$=V.l,R=(V.r||0)&7;if(C){if(R)E[0]=V.r>>3;var N=xH[C-1],W=N>>13,T=N&8191,M=(1<<J)-1,G=V.p||new e(32768),F=V.h||new e(M+1),P=Math.ceil(J/3),U=2*P,j=function(lC){return(H[lC]^H[lC+1]<<P^H[lC+2]<<U)&M},O=new wC(25000),x=new e(288),z=new e(32),A=0,L=0,q=V.i||0,y=0,S=V.w||0,v=0;for(;q+2<X;++q){var r=j(q),h=q&32767,m=F[r];if(G[h]=m,F[r]=h,S<=q){var w=X-q;if((A>7000||y>24576)&&(w>423||!$)){R=CH(H,E,0,O,x,z,L,y,v,q-v,R),y=A=L=0,v=q;for(var D=0;D<286;++D)x[D]=0;for(var D=0;D<30;++D)z[D]=0}var p=2,u=0,VC=T,f=h-m&32767;if(w>2&&r==j(q-f)){var s=Math.min(W,w)-1,o=Math.min(32767,q),n=Math.min(258,w);while(f<=o&&--VC&&h!=m){if(H[q+p]==H[q+p-f]){var _=0;for(;_<n&&H[q+_]==H[q+_-f];++_);if(_>p){if(p=_,u=f,_>s)break;var CC=Math.min(f,_-2),EC=0;for(var D=0;D<CC;++D){var WC=q-f+D&32767,kC=G[WC],hC=WC-kC&32767;if(hC>EC)EC=hC,m=WC}}}h=m,m=G[h],f+=h-m&32767}}if(u){O[y++]=268435456|oC[p]<<18|sC[u];var DC=oC[p]&31,SC=sC[u]&31;L+=PC[DC]+jC[SC],++x[257+DC],++z[SC],S=q+p,++A}else O[y++]=H[q],++x[H[q]]}}for(q=Math.max(q,S);q<X;++q)O[y++]=H[q],++x[H[q]];if(R=CH(H,E,$,O,x,z,L,y,v,q-v,R),!$)V.r=R&7|E[R/8|0]<<3,R-=7,V.h=F,V.p=G,V.i=q,V.w=S}else{for(var q=V.w||0;q<X+$;q+=65535){var BC=q+65535;if(BC>=X)E[R/8|0]=$,BC=X;R=fC(E,R+1,H.subarray(q,BC))}V.i=X}return d(Y,0,K+GC(R)+Q)},zH,TC=function(){var H=-1;return{p:function(C){var J=H;for(var K=0;K<C.length;++K)J=zH[J&255^C[K]]^J>>>8;H=J},d:function(){return~H}}},aC=function(){var H=1,C=0;return{p:function(J){var K=H,Q=C,V=J.length|0;for(var X=0;X!=V;){var Y=Math.min(X+2655,V);for(;X<Y;++X)Q+=K+=J[X];K=(K&65535)+15*(K>>16),Q=(Q&65535)+15*(Q>>16)}H=K,C=Q},d:function(){return H%=65521,C%=65521,(H&255)<<24|(H&65280)<<8|(C&255)<<8|C>>8}}},RC=function(H,C,J,K,Q){if(!Q){if(Q={l:1},C.dictionary){var V=C.dictionary.subarray(-32768),X=new Z(V.length+H.length);X.set(V),X.set(H,V.length),H=X,Q.w=V.length}}return wH(H,C.level==null?6:C.level,C.mem==null?Q.l?Math.ceil(Math.max(8,Math.min(13,Math.log(H.length)))*1.5):20:12+C.mem,J,K,Q)},yC=function(H,C){var J={};for(var K in H)J[K]=H[K];for(var K in C)J[K]=C[K];return J},qH=function(H,C,J){var K=H(),Q=H.toString(),V=Q.slice(Q.indexOf("[")+1,Q.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var X=0;X<K.length;++X){var Y=K[X],E=V[X];if(typeof Y=="function"){C+=";"+E+"=";var $=Y.toString();if(Y.prototype)if($.indexOf("[native code]")!=-1){var R=$.indexOf(" ",8)+1;C+=$.slice(R,$.indexOf("(",R))}else{C+=$;for(var N in Y.prototype)C+=";"+E+".prototype."+N+"="+Y.prototype[N].toString()}else C+=$}else J[E]=Y}return C},_C,tH=function(H){var C=[];for(var J in H)if(H[J].buffer)C.push((H[J]=new H[J].constructor(H[J])).buffer);return C},yH=function(H,C,J,K){if(!_C[J]){var Q="",V={},X=H.length-1;for(var Y=0;Y<X;++Y)Q=qH(H[Y],Q,V);_C[J]={c:qH(H[X],Q,V),e:V}}var E=yC({},_C[J].e);return sH(_C[J].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+C.toString()+"}",J,E,tH(E),K)},ZC=function(){return[Z,e,wC,PC,jC,gC,XH,IH,AH,SH,xC,gH,l,uC,c,rC,GC,d,B,zC,vC,YC,YH]},IC=function(){return[Z,e,wC,PC,jC,gC,oC,sC,UH,QC,DH,LC,xC,xH,KC,l,JC,FC,pC,nC,tC,qC,fC,CH,GC,d,wH,RC,cC,YC]},vH=function(){return[$H,NH,g,TC,zH]},kH=function(){return[RH,mH]},hH=function(){return[EH,g,aC]},_H=function(){return[WH]},YC=function(H){return postMessage(H,[H.buffer])},YH=function(H){return H&&{out:H.size&&new Z(H.size),dictionary:H.dictionary}},UC=function(H,C,J,K,Q,V){var X=yH(J,K,Q,function(Y,E){X.terminate(),V(Y,E)});return X.postMessage([H,C],C.consume?[H.buffer]:[]),function(){X.terminate()}},i=function(H){return H.ondata=function(C,J){return postMessage([C,J],[C.buffer])},function(C){if(C.data[0])H.push(C.data[0],C.data[1]),postMessage([C.data[0].length]);else H.flush(C.data[1])}},AC=function(H,C,J,K,Q,V,X){var Y,E=yH(H,K,Q,function($,R){if($)E.terminate(),C.ondata.call(C,$);else if(!Array.isArray(R))X(R);else if(R.length==1){if(C.queuedSize-=R[0],C.ondrain)C.ondrain(R[0])}else{if(R[1])E.terminate();C.ondata.call(C,$,R[0],R[1])}});if(E.postMessage(J),C.queuedSize=0,C.push=function($,R){if(!C.ondata)B(5);if(Y)C.ondata(B(4,0,1),null,!!R);C.queuedSize+=$.length,E.postMessage([$,Y=R],$.buffer instanceof ArrayBuffer?[$.buffer]:[])},C.terminate=function(){E.terminate()},V)C.flush=function($){E.postMessage([0,$])}},b=function(H,C){return H[C]|H[C+1]<<8},k=function(H,C){return(H[C]|H[C+1]<<8|H[C+2]<<16|H[C+3]<<24)>>>0},dC=function(H,C){return k(H,C)+k(H,C+4)*4294967296},g=function(H,C,J){for(;J;++C)H[C]=J,J>>>=8},$H=function(H,C){var J=C.filename;if(H[0]=31,H[1]=139,H[2]=8,H[8]=C.level<2?4:C.level==9?2:0,H[9]=3,C.mtime!=0)g(H,4,Math.floor(new Date(C.mtime||Date.now())/1000));if(J){H[3]=8;for(var K=0;K<=J.length;++K)H[K+10]=J.charCodeAt(K)}},RH=function(H){if(H[0]!=31||H[1]!=139||H[2]!=8)B(6,"invalid gzip data");var C=H[3],J=10;if(C&4)J+=(H[10]|H[11]<<8)+2;for(var K=(C>>3&1)+(C>>4&1);K>0;K-=!H[J++]);return J+(C&2)},mH=function(H){var C=H.length;return(H[C-4]|H[C-3]<<8|H[C-2]<<16|H[C-1]<<24)>>>0},NH=function(H){return 10+(H.filename?H.filename.length+1:0)},EH=function(H,C){var J=C.level,K=J==0?0:J<6?1:J==9?3:2;if(H[0]=120,H[1]=K<<6|(C.dictionary&&32),H[1]|=31-(H[0]<<8|H[1])%31,C.dictionary){var Q=aC();Q.p(C.dictionary),g(H,2,Q.d())}},WH=function(H,C){if((H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31)B(6,"invalid zlib data");if((H[1]>>5&1)==+!C)B(6,"invalid zlib data: "+(H[1]&32?"need":"unexpected")+" dictionary");return(H[1]>>3&4)+2},t,CJ,a,uH,OH,NJ,HH,JJ,MH,WJ,KH,QJ,jH,FJ,BH=function(H,C,J,K){for(var Q in H){var V=H[Q],X=C+Q,Y=K;if(Array.isArray(V))Y=yC(K,V[1]),V=V[0];if(ArrayBuffer.isView(V))J[X]=[V,Y];else J[X+="/"]=[new Z(0),Y],BH(V,X,J,K)}},GH,VH,pH=0,oH=function(H){for(var C="",J=0;;){var K=H[J++],Q=(K>127)+(K>223)+(K>239);if(J+Q>H.length)return{s:C,r:d(H,J-1)};if(!Q)C+=String.fromCharCode(K);else if(Q==3)K=((K&15)<<18|(H[J++]&63)<<12|(H[J++]&63)<<6|H[J++]&63)-65536,C+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Q&1)C+=String.fromCharCode((K&31)<<6|H[J++]&63);else C+=String.fromCharCode((K&15)<<12|(H[J++]&63)<<6|H[J++]&63)}},LJ,MJ,bH=function(H){return H==1?3:H<6?2:H==9?1:0},eH=function(H,C){return C+30+b(H,C+26)+b(H,C+28)},fH=function(H,C,J){var K=b(H,C+28),Q=b(H,C+30),V=nH(H.subarray(C+46,C+46+K),!(b(H,C+8)&2048)),X=C+46+K,Y=aH(H,X,Q,J,k(H,C+20),k(H,C+24),k(H,C+42)),E=Y[0],$=Y[1],R=Y[2];return[b(H,C+10),E,$,V,X+Q+b(H,C+32),R]},aH=function(H,C,J,K,Q,V,X){var Y=Q==4294967295,E=V==4294967295,$=X==4294967295,R=C+J,N=Y+E+$;if(K&&N){for(;C+4<R;C+=4+b(H,C+2))if(b(H,C)==1)return[Y?dC(H,C+4+8*E):Q,E?dC(H,C+4):V,$?dC(H,C+4+8*(E+Y)):X,1];if(K<2)B(13)}return[Q,V,X,0]},XC=function(H){var C=0;if(H)for(var J in H){var K=H[J].length;if(K>65535)B(9);C+=K+4}return C},MC=function(H,C,J,K,Q,V,X,Y){var E=K.length,$=J.extra,R=Y&&Y.length,N=XC($);if(g(H,C,X!=null?33639248:67324752),C+=4,X!=null)H[C++]=20,H[C++]=J.os;H[C]=20,C+=2,H[C++]=J.flag<<1|(V<0&&8),H[C++]=Q&&8,H[C++]=J.compression&255,H[C++]=J.compression>>8;var W=new Date(J.mtime==null?Date.now():J.mtime),T=W.getFullYear()-1980;if(T<0||T>119)B(10);if(g(H,C,T<<25|W.getMonth()+1<<21|W.getDate()<<16|W.getHours()<<11|W.getMinutes()<<5|W.getSeconds()>>1),C+=4,V!=-1)g(H,C,J.crc),g(H,C+4,V<0?-V-2:V),g(H,C+8,J.size);if(g(H,C+12,E),g(H,C+14,N),C+=16,X!=null)g(H,C,R),g(H,C+6,J.attrs),g(H,C+10,X),C+=14;if(H.set(K,C),C+=E,N)for(var M in $){var G=$[M],F=G.length;g(H,C,+M),g(H,C+2,F),H.set(G,C+4),C+=4+F}if(R)H.set(Y,C),C+=R;return C},FH=function(H,C,J,K,Q){g(H,C,101010256),g(H,C+8,J),g(H,C+10,J),g(H,C+12,K),g(H,C+16,Q)},bC,PJ,jJ,GJ,XJ,IJ,UJ,AJ,eC;var YJ=cH(()=>{dH=lH("/");try{OC=dH("worker_threads"),mC=OC.Worker,iC=OC.isMarkedAsUntransferable}catch(H){}sH=mC?function(H,C,J,K,Q){var V=!1,X=new mC(H+iH,{eval:!0}).on("error",function(Y){return Q(Y,null)}).on("message",function(Y){return Q(null,Y)}).on("exit",function(Y){if(Y&&!V)Q(Error("exited with code "+Y),null)});if(iC)K=K.filter(function(Y){return!iC(Y)});return X.postMessage(J,K),X.terminate=function(){return V=!0,mC.prototype.terminate.call(X)},X}:function(H,C,J,K,Q){setImmediate(function(){return Q(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)});var V=function(){};return{terminate:V,postMessage:V}},Z=Uint8Array,e=Uint16Array,wC=Int32Array,PC=new Z([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),jC=new Z([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),gC=new Z([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),OC=TH(PC,2),XH=OC.b,oC=OC.r;XH[28]=258,oC[258]=28;ZH=TH(jC,0),IH=ZH.b,sC=ZH.r,xC=new e(32768);for(I=0;I<32768;++I)HC=(I&43690)>>1|(I&21845)<<1,HC=(HC&52428)>>2|(HC&13107)<<2,HC=(HC&61680)>>4|(HC&3855)<<4,xC[I]=((HC&65280)>>8|(HC&255)<<8)>>1;QC=new Z(288);for(I=0;I<144;++I)QC[I]=8;for(I=144;I<256;++I)QC[I]=9;for(I=256;I<280;++I)QC[I]=7;for(I=280;I<288;++I)QC[I]=8;LC=new Z(32);for(I=0;I<32;++I)LC[I]=5;UH=l(QC,9,0),AH=l(QC,9,1),DH=l(LC,5,0),SH=l(LC,5,1),RJ={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},gH=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],xH=new wC([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),KC=new Z(0),zH=function(){var H=new Int32Array(256);for(var C=0;C<256;++C){var J=C,K=9;while(--K)J=(J&1&&-306674912)^J>>>1;H[C]=J}return H}(),_C=[];t=function(){function H(C,J){if(typeof C=="function")J=C,C={};if(this.ondata=J,this.o=C||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Z(98304),this.o.dictionary){var K=this.o.dictionary.subarray(-32768);this.b.set(K,32768-K.length),this.s.i=32768-K.length}}return H.prototype.p=function(C,J){this.ondata(RC(C,this.o,0,0,this.s),J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.s.l)B(4);var K=C.length+this.s.z;if(K>this.b.length){if(K>2*this.b.length-32768){var Q=new Z(K&-32768);Q.set(this.b.subarray(0,this.s.z)),this.b=Q}var V=this.b.length-this.s.z;this.b.set(C.subarray(0,V),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(C.subarray(V),32768),this.s.z=C.length-V+32768,this.s.i=32766,this.s.w=32768}else this.b.set(C,this.s.z),this.s.z+=C.length;if(this.s.l=J&1,this.s.z>this.s.w+8191||J)this.p(this.b,J||!1),this.s.w=this.s.i,this.s.i-=2;if(J)this.s=this.o={},this.b=KC},H.prototype.flush=function(C){if(!this.ondata)B(5);if(this.s.l)B(4);if(this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2,C){var J=new Z(6);J[0]=this.s.r>>3;var K=fC(J,this.s.r,KC);this.s.r=0,this.ondata(J.subarray(0,K>>3),!1)}},H}(),CJ=function(){function H(C,J){AC([IC,function(){return[i,t]}],this,NC.call(this,C,J),function(K){var Q=new t(K.data);onmessage=i(Q)},6,1)}return H}();a=function(){function H(C,J){if(typeof C=="function")J=C,C={};this.ondata=J;var K=C&&C.dictionary&&C.dictionary.subarray(-32768);if(this.s={i:0,b:K?K.length:0},this.o=new Z(32768),this.p=new Z(0),K)this.o.set(K)}return H.prototype.e=function(C){if(!this.ondata)B(5);if(this.d)B(4);if(!this.p.length)this.p=C;else if(C.length){var J=new Z(this.p.length+C.length);J.set(this.p),J.set(C,this.p.length),this.p=J}},H.prototype.c=function(C){this.s.i=+(this.d=C||!1);var J=this.s.b,K=zC(this.p,this.s,this.o);this.ondata(d(K,J,this.s.b),this.d),this.o=d(K,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},H.prototype.push=function(C,J){this.e(C),this.c(J)},H}(),uH=function(){function H(C,J){AC([ZC,function(){return[i,a]}],this,NC.call(this,C,J),function(K){var Q=new a(K.data);onmessage=i(Q)},7,0)}return H}();OH=function(){function H(C,J){this.c=TC(),this.l=0,this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),this.l+=C.length,t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&NH(this.o),J&&8,this.s);if(this.v)$H(K,this.o),this.v=0;if(J)g(K,K.length-8,this.c.d()),g(K,K.length-4,this.l);this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),NJ=function(){function H(C,J){AC([IC,vH,function(){return[i,t,OH]}],this,NC.call(this,C,J),function(K){var Q=new OH(K.data);onmessage=i(Q)},8,1)}return H}();HH=function(){function H(C,J){this.v=1,this.r=0,a.call(this,C,J)}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.r+=C.length,this.v){var K=this.p.subarray(this.v-1),Q=K.length>3?RH(K):4;if(Q>K.length){if(!J)return}else if(this.v>1&&this.onmember)this.onmember(this.r-K.length);this.p=K.subarray(Q),this.v=0}if(a.prototype.c.call(this,0),this.s.f&&!this.s.l)this.v=GC(this.s.p)+9,this.s={i:0},this.o=new Z(0),this.push(new Z(0),J);else if(J)a.prototype.c.call(this,J)},H}(),JJ=function(){function H(C,J){var K=this;AC([ZC,kH,function(){return[i,a,HH]}],this,NC.call(this,C,J),function(Q){var V=new HH(Q.data);V.onmember=function(X){return postMessage(X)},onmessage=i(V)},9,0,function(Q){return K.onmember&&K.onmember(Q)})}return H}();MH=function(){function H(C,J){this.c=aC(),this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&(this.o.dictionary?6:2),J&&4,this.s);if(this.v)EH(K,this.o),this.v=0;if(J)g(K,K.length-4,this.c.d());this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),WJ=function(){function H(C,J){AC([IC,hH,function(){return[i,t,MH]}],this,NC.call(this,C,J),function(K){var Q=new MH(K.data);onmessage=i(Q)},10,1)}return H}();KH=function(){function H(C,J){a.call(this,C,J),this.v=C&&C.dictionary?2:1}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.v){if(this.p.length<6&&!J)return;this.p=this.p.subarray(WH(this.p,this.v-1)),this.v=0}if(J){if(this.p.length<4)B(6,"invalid zlib data");this.p=this.p.subarray(0,-4)}a.prototype.c.call(this,J)},H}(),QJ=function(){function H(C,J){AC([ZC,_H,function(){return[i,a,KH]}],this,NC.call(this,C,J),function(K){var Q=new KH(K.data);onmessage=i(Q)},11,0)}return H}();jH=function(){function H(C,J){this.o=NC.call(this,C,J)||{},this.G=HH,this.I=a,this.Z=KH}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K){C.ondata(J,K)}},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(!this.s){if(this.p&&this.p.length){var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length)}else this.p=C;if(this.p.length>2)this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,J),this.p=null}else this.s.push(C,J)},H}(),FJ=function(){function H(C,J){jH.call(this,C,J),this.queuedSize=0,this.G=JJ,this.I=uH,this.Z=QJ}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K,Q){C.ondata(J,K,Q)},this.s.ondrain=function(J){if(C.queuedSize-=J,C.ondrain)C.ondrain(J)}},H.prototype.push=function(C,J){this.queuedSize+=C.length,jH.prototype.push.call(this,C,J)},H}();GH=typeof TextEncoder<"u"&&new TextEncoder,VH=typeof TextDecoder<"u"&&new TextDecoder;try{VH.decode(KC,{stream:!0}),pH=1}catch(H){}LJ=function(){function H(C){if(this.ondata=C,pH)this.t=new TextDecoder;else this.p=KC}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(J=!!J,this.t){if(this.ondata(this.t.decode(C,{stream:!0}),J),J){if(this.t.decode().length)B(8);this.t=null}return}if(!this.p)B(4);var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length);var Q=oH(K),V=Q.s,X=Q.r;if(J){if(X.length)B(8);this.p=null}else this.p=X;this.ondata(V,J)},H}(),MJ=function(){function H(C){this.ondata=C}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.d)B(4);this.ondata($C(C),this.d=J||!1)},H}();bC=function(){function H(C){this.filename=C,this.c=TC(),this.size=0,this.compression=0}return H.prototype.process=function(C,J){this.ondata(null,C,J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.c.p(C),this.size+=C.length,J)this.crc=this.c.d();this.process(C,J||!1)},H}(),PJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new t(J,function(Q,V){K.ondata(null,Q,V)}),this.compression=8,this.flag=bH(J.level)}return H.prototype.process=function(C,J){try{this.d.push(C,J)}catch(K){this.ondata(K,null,J)}},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),jJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new CJ(J,function(Q,V,X){K.ondata(Q,V,X)}),this.compression=8,this.flag=bH(J.level),this.terminate=this.d.terminate}return H.prototype.process=function(C,J){this.d.push(C,J)},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),GJ=function(){function H(C){this.ondata=C,this.u=[],this.d=1}return H.prototype.add=function(C){var J=this;if(!this.ondata)B(5);if(this.d&2)this.ondata(B(4+(this.d&1)*8,0,1),null,!1);else{var K=$C(C.filename),Q=K.length,V=C.comment,X=V&&$C(V),Y=Q!=C.filename.length||X&&V.length!=X.length,E=Q+XC(C.extra)+30;if(Q>65535)this.ondata(B(11,0,1),null,!1);var $=new Z(E);MC($,0,C,K,Y,-1);var R=[$],N=function(){for(var F=0,P=R;F<P.length;F++){var U=P[F];J.ondata(null,U,!1)}R=[]},W=this.d;this.d=0;var T=this.u.length,M=yC(C,{f:K,u:Y,o:X,t:function(){if(C.terminate)C.terminate()},r:function(){if(N(),W){var F=J.u[T+1];if(F)F.r();else J.d=1}W=1}}),G=0;C.ondata=function(F,P,U){if(F)J.ondata(F,P,U),J.terminate();else if(G+=P.length,R.push(P),U){var j=new Z(16);if(g(j,0,134695760),g(j,4,C.crc),g(j,8,G),g(j,12,C.size),R.push(j),M.c=G,M.b=E+G+16,M.crc=C.crc,M.size=C.size,W)M.r();W=1}else if(W)N()},this.u.push(M)}},H.prototype.end=function(){var C=this;if(this.d&2){this.ondata(B(4+(this.d&1)*8,0,1),null,!0);return}if(this.d)this.e();else this.u.push({r:function(){if(!(C.d&1))return;C.u.splice(-1,1),C.e()},t:function(){}});this.d=3},H.prototype.e=function(){var C=0,J=0,K=0;for(var Q=0,V=this.u;Q<V.length;Q++){var X=V[Q];K+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0)}var Y=new Z(K+22);for(var E=0,$=this.u;E<$.length;E++){var X=$[E];MC(Y,C,X,X.f,X.u,-X.c-2,J,X.o),C+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0),J+=X.b}FH(Y,C,this.u.length,K,J),this.ondata(null,Y,!0),this.d=2},H.prototype.terminate=function(){for(var C=0,J=this.u;C<J.length;C++){var K=J[C];K.t()}this.d=2},H}();XJ=function(){function H(){}return H.prototype.push=function(C,J){this.ondata(null,C,J)},H.compression=0,H}(),IJ=function(){function H(){var C=this;this.i=new a(function(J,K){C.ondata(null,J,K)})}return H.prototype.push=function(C,J){try{this.i.push(C,J)}catch(K){this.ondata(K,null,J)}},H.compression=8,H}(),UJ=function(){function H(C,J){var K=this;if(J<320000)this.i=new a(function(Q,V){K.ondata(null,Q,V)});else this.i=new uH(function(Q,V,X){K.ondata(Q,V,X)}),this.terminate=this.i.terminate}return H.prototype.push=function(C,J){if(this.i.terminate)C=d(C,0);this.i.push(C,J)},H.compression=8,H}(),AJ=function(){function H(C){this.onfile=C,this.k=[],this.o={0:XJ},this.p=KC}return H.prototype.push=function(C,J){var K=this;if(!this.onfile)B(5);if(!this.p)B(4);if(this.c>0){var Q=Math.min(this.c,C.length),V=C.subarray(0,Q);if(this.c-=Q,this.d)this.d.push(V,!this.c);else this.k[0].push(V);if(C=C.subarray(Q),C.length)return this.push(C,J)}else{var X=0,Y=0,E=void 0,$=void 0;if(!this.p.length)$=C;else if(!C.length)$=this.p;else $=new Z(this.p.length+C.length),$.set(this.p),$.set(C,this.p.length);var R=$.length,N=this.c,W=N&&this.d,T=function(){var P=k($,Y);if(P==67324752){X=1,E=Y,M.d=null,M.c=0;var U=b($,Y+6),j=b($,Y+8),O=U&2048,x=U&8,z=b($,Y+26),A=b($,Y+28);if(R>Y+30+z+A){var L=[];M.k.unshift(L),X=2;var q=k($,Y+18),y=k($,Y+22),S=nH($.subarray(Y+30,Y+=30+z),!O),v=aH($,Y,A,2,q,y,0),r=v[0],h=v[1],m=v[3];if(x)r=-1-m;Y+=A,M.c=r;var w,D={name:S,compression:j,start:function(){if(!D.ondata)B(5);if(!r)D.ondata(null,KC,!0);else{var p=K.o[j];if(!p)D.ondata(B(14,"unknown compression type "+j,1),null,!1);w=r<0?new p(S):new p(S,r,h),w.ondata=function(s,o,n){D.ondata(s,o,n)};for(var u=0,VC=L;u<VC.length;u++){var f=VC[u];w.push(f,!1)}if(K.k[0]==L&&K.c)K.d=w;else w.push(KC,!0)}},terminate:function(){if(w&&w.terminate)w.terminate()}};if(r>=0)D.size=r,D.originalSize=h;M.onfile(D)}return"break"}else if(N){if(P==134695760)return E=Y+=12+(N==-2&&8),X=3,M.c=0,"break";else if(P==33639248)return E=Y-=4,X=3,M.c=0,"break"}},M=this;for(;Y<R-4;++Y){var G=T();if(G==="break")break}if(this.p=KC,N<0){var F=X?$.subarray(0,E-12-(N==-2&&8)-(k($,E-16)==134695760&&4)):$.subarray(0,Y);if(W)W.push(F,!!X);else this.k[+(X==2)].push(F)}if(X&2)return this.push($.subarray(Y),J);this.p=$.subarray(Y)}if(J){if(this.c)B(13);this.p=null}},H.prototype.register=function(C){this.o[C.compression]=C},H}(),eC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(H){H()}});YJ();export{PH as zlibSync,BJ as zlib,ZJ as zipSync,TJ as zip,QH as unzlibSync,VJ as unzlib,SJ as unzipSync,DJ as unzip,$C as strToU8,nH as strFromU8,vC as inflateSync,rH as inflate,LH as gzipSync,EJ as gzip,JH as gunzipSync,KJ as gunzip,cC as deflateSync,HJ as deflate,OJ as decompressSync,qJ as decompress,LH as compressSync,EJ as compress,MH as Zlib,bC as ZipPassThrough,PJ as ZipDeflate,GJ as Zip,KH as Unzlib,XJ as UnzipPassThrough,IJ as UnzipInflate,AJ as Unzip,a as Inflate,OH as Gzip,HH as Gunzip,RJ as FlateErrorCode,MJ as EncodeUTF8,t as Deflate,jH as Decompress,LJ as DecodeUTF8,OH as Compress,WJ as AsyncZlib,jJ as AsyncZipDeflate,QJ as AsyncUnzlib,UJ as AsyncUnzipInflate,uH as AsyncInflate,NJ as AsyncGzip,JJ as AsyncGunzip,CJ as AsyncDeflate,FJ as AsyncDecompress,NJ as AsyncCompress};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$9 as xr,H9 as F,I9 as Nr,J9 as Dr,K9 as br,L9 as Ge,M9 as Zt,N9 as Et,O9 as $r,P9 as Is,Q9 as Ar,R9 as Fr,S9 as hs,T9 as G,U9 as tt,V9 as pr,W9 as _r,Y9 as Er,Z9 as Sr,_9 as Rr,a_ as vr,b_ as Kt,c_ as kt,d_ as er,e_ as Ur,f_ as Mr}from"./cli-1.1.22-tkg7zwpn.mjs";import{g_ as ps}from"./cli-1.1.22-rma08k7m.mjs";import{h_ as we}from"./cli-1.1.22-rd5zdpvh.mjs";import{eta as dr,fta as Z,gta as Ce}from"./cli-1.1.22-e25bz2ew.mjs";import{hta as ir}from"./cli-1.1.22-0n0cxg2p.mjs";import{jta as Xe}from"./cli-1.1.22-skpsy2jm.mjs";import{pta as ge,rta as S,tta as no,uta as X}from"./cli-1.1.22-w09pyst3.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-1.1.22-fv3cwfqb.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-1.1.22-fv3cwfqb.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{G9 as S}from"./cli-1.1.22-z5g00tpb.mjs";import"./cli-1.1.22-tkg7zwpn.mjs";import"./cli-1.1.22-rma08k7m.mjs";import{h_ as A}from"./cli-1.1.22-rd5zdpvh.mjs";import{fta as I,gta as h}from"./cli-1.1.22-e25bz2ew.mjs";import"./cli-1.1.22-0n0cxg2p.mjs";import"./cli-1.1.22-skpsy2jm.mjs";import{rta as p,uta as F}from"./cli-1.1.22-w09pyst3.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{$ as b,_ as a}from"./cli-1.1.22-9b6k45hn.mjs";import"./cli-1.1.22-zsc0cmye.mjs";import"./cli-1.1.22-zmt5pksy.mjs";import"./cli-1.1.22-09eb3077.mjs";import"./cli-1.1.22-y0t8rezv.mjs";import"./cli-1.1.22-waqb850v.mjs";import"./cli-1.1.22-xygngqfs.mjs";import"./cli-1.1.22-7rm6jw0h.mjs";import"./cli-1.1.22-djkeg65n.mjs";import"./cli-1.1.22-2nwmyakz.mjs";import"./cli-1.1.22-v8pzx6jk.mjs";import"./cli-1.1.22-b7axxc6j.mjs";import"./cli-1.1.22-jvrjpdd1.mjs";import"./cli-1.1.22-d9y8qqg3.mjs";import"./cli-1.1.22-0h7jejsr.mjs";import"./cli-1.1.22-fetzhxhh.mjs";import"./cli-1.1.22-ccp7e8qv.mjs";import"./cli-1.1.22-41aseceq.mjs";import"./cli-1.1.22-7xwf9v6n.mjs";import"./cli-1.1.22-jzvqt2pv.mjs";import"./cli-1.1.22-4227vtcf.mjs";import"./cli-1.1.22-vnmyjmjg.mjs";import"./cli-1.1.22-bv3a0vaa.mjs";import"./cli-1.1.22-6khex7bz.mjs";import"./cli-1.1.22-261r450y.mjs";import"./cli-1.1.22-yqbnqsen.mjs";import"./cli-1.1.22-e5wx36qr.mjs";import"./cli-1.1.22-vdsszncw.mjs";import"./cli-1.1.22-4ph3xqne.mjs";import"./cli-1.1.22-s6e60cqc.mjs";import"./cli-1.1.22-fwhfqwwn.mjs";import"./cli-1.1.22-2getjsf5.mjs";import"./cli-1.1.22-s2n02sky.mjs";import"./cli-1.1.22-mxqz88pc.mjs";import"./cli-1.1.22-mdapyzp3.mjs";import"./cli-1.1.22-vwdxbs23.mjs";import"./cli-1.1.22-c07z4d74.mjs";import"./cli-1.1.22-ss970cxc.mjs";import"./cli-1.1.22-4pmfh5v2.mjs";import"./cli-1.1.22-mw0jpevk.mjs";import"./cli-1.1.22-0553cn3c.mjs";import"./cli-1.1.22-q622p3vr.mjs";import"./cli-1.1.22-ddq8axpw.mjs";import"./cli-1.1.22-yegp0d0j.mjs";import"./cli-1.1.22-3thczx3s.mjs";import"./cli-1.1.22-2wh33kpx.mjs";import"./cli-1.1.22-6bxa25n5.mjs";import"./cli-1.1.22-5dcmb4h9.mjs";import"./cli-1.1.22-3jyydg5h.mjs";import"./cli-1.1.22-erbhk4p7.mjs";import"./cli-1.1.22-m41t95z0.mjs";import"./cli-1.1.22-8zvpve6x.mjs";import"./cli-1.1.22-dpqknw7z.mjs";import"./cli-1.1.22-jz426kr2.mjs";import"./cli-1.1.22-j6xg80k8.mjs";import"./cli-1.1.22-y4rj8ced.mjs";import"./cli-1.1.22-s5qhs3ds.mjs";import"./cli-1.1.22-ca6d1erw.mjs";import"./cli-1.1.22-cvfsmaqt.mjs";import"./cli-1.1.22-3r3tadt1.mjs";import"./cli-1.1.22-265a4qpa.mjs";import"./cli-1.1.22-v260dy3k.mjs";import"./cli-1.1.22-j7qc1g0f.mjs";import"./cli-1.1.22-xmb0wn88.mjs";import"./cli-1.1.22-gwhdvfge.mjs";import"./cli-1.1.22-d1w2ky89.mjs";import"./cli-1.1.22-33jc9czg.mjs";import"./cli-1.1.22-w09pyst3.mjs";export{b as initializeTelemetryAfterTrust,a as init};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{rb as UQ}from"./cli-1.1.22-as4a7add.mjs";import{sb as NQ,tb as AJ,ub as OQ,vb as qQ,wb as LQ,xb as MQ}from"./cli-1.1.22-hv3m9qnv.mjs";import{yb as IJ,zb as YZ}from"./cli-1.1.22-gyhxg2db.mjs";import{Ab as fQ,Bb as wQ,Cb as EQ,Db as vJ,Eb as SJ}from"./cli-1.1.22-yjv63n10.mjs";import"./cli-1.1.22-vp1eed3p.mjs";import{Jb as AQ,Kb as RQ,Lb as bJ,Mb as PQ}from"./cli-1.1.22-n2jecp35.mjs";import"./cli-1.1.22-48gjx3j7.mjs";import{Qb as TJ,Rb as _Q,Sb as yQ,Tb as BQ,Ub as CJ,Vb as mJ}from"./cli-1.1.22-vesjdg08.mjs";import"./cli-1.1.22-08c4ym21.mjs";import{gc as $Z,ic as SZ}from"./cli-1.1.22-byxwkfrj.mjs";import{me as rQ,ne as eQ,oe as mZ}from"./cli-1.1.22-b81ce6x4.mjs";import{Ve as uJ,Ye as vZ}from"./cli-1.1.22-d7cmcmfd.mjs";import"./cli-1.1.22-2zhxvvkx.mjs";import{kf as JZ,mf as QZ,nf as ZZ,of as bZ}from"./cli-1.1.22-bxfemtrx.mjs";import{rf as xQ,sf as GQ,uf as i,vf as WQ}from"./cli-1.1.22-7zv5k6p0.mjs";import{Ai as zJ,Bi as iQ,Ci as TZ,yi as gQ}from"./cli-1.1.22-c1h1wfjn.mjs";import{CF as DZ,JT as pZ,LR as jZ,SR as zZ,eS as IZ,mT as LJ,pm as uQ,qm as kZ,sk as cQ,vF as lQ,wF as aQ}from"./cli-1.1.22-zmt5pksy.mjs";import"./cli-1.1.22-09eb3077.mjs";import"./cli-1.1.22-y0t8rezv.mjs";import"./cli-1.1.22-waqb850v.mjs";import"./cli-1.1.22-xygngqfs.mjs";import"./cli-1.1.22-7rm6jw0h.mjs";import"./cli-1.1.22-djkeg65n.mjs";import"./cli-1.1.22-2nwmyakz.mjs";import"./cli-1.1.22-v8pzx6jk.mjs";import"./cli-1.1.22-b7axxc6j.mjs";import"./cli-1.1.22-jvrjpdd1.mjs";import"./cli-1.1.22-d9y8qqg3.mjs";import"./cli-1.1.22-0h7jejsr.mjs";import{KW as DJ,LW as _Z}from"./cli-1.1.22-fetzhxhh.mjs";import{VW as HQ,ZW as yZ}from"./cli-1.1.22-ccp7e8qv.mjs";import{$W as tQ,bX as sQ,cX as oQ,dX as nQ,gX as CZ}from"./cli-1.1.22-41aseceq.mjs";import"./cli-1.1.22-7xwf9v6n.mjs";import"./cli-1.1.22-jzvqt2pv.mjs";import{PX as VQ,RX as BZ}from"./cli-1.1.22-4227vtcf.mjs";import"./cli-1.1.22-vnmyjmjg.mjs";import"./cli-1.1.22-bv3a0vaa.mjs";import"./cli-1.1.22-6khex7bz.mjs";import"./cli-1.1.22-261r450y.mjs";import"./cli-1.1.22-yqbnqsen.mjs";import"./cli-1.1.22-e5wx36qr.mjs";import"./cli-1.1.22-vdsszncw.mjs";import{D2 as dQ,E2 as YQ,F2 as KQ,H2 as XQ}from"./cli-1.1.22-4ph3xqne.mjs";import"./cli-1.1.22-s6e60cqc.mjs";import"./cli-1.1.22-fwhfqwwn.mjs";import"./cli-1.1.22-2getjsf5.mjs";import"./cli-1.1.22-s2n02sky.mjs";import"./cli-1.1.22-mxqz88pc.mjs";import"./cli-1.1.22-mdapyzp3.mjs";import"./cli-1.1.22-vwdxbs23.mjs";import"./cli-1.1.22-c07z4d74.mjs";import"./cli-1.1.22-ss970cxc.mjs";import"./cli-1.1.22-4pmfh5v2.mjs";import"./cli-1.1.22-mw0jpevk.mjs";import"./cli-1.1.22-0553cn3c.mjs";import{K7 as OJ,L7 as LZ,Q8 as FZ,q8 as pJ,s8 as cJ,u8 as pQ,w5 as IQ,z5 as hZ}from"./cli-1.1.22-q622p3vr.mjs";import"./cli-1.1.22-ddq8axpw.mjs";import"./cli-1.1.22-yegp0d0j.mjs";import"./cli-1.1.22-3thczx3s.mjs";import"./cli-1.1.22-2wh33kpx.mjs";import"./cli-1.1.22-6bxa25n5.mjs";import"./cli-1.1.22-5dcmb4h9.mjs";import{J_ as GJ,L_ as qZ,M$ as wZ,Qga as SQ,Sga as EZ,_ea as bQ,bfa as vQ,u$ as CQ,w$ as mQ,wfa as MZ}from"./cli-1.1.22-3jyydg5h.mjs";import"./cli-1.1.22-erbhk4p7.mjs";import"./cli-1.1.22-m41t95z0.mjs";import"./cli-1.1.22-8zvpve6x.mjs";import{bia as TQ,mia as fZ}from"./cli-1.1.22-dpqknw7z.mjs";import"./cli-1.1.22-jz426kr2.mjs";import"./cli-1.1.22-j6xg80k8.mjs";import"./cli-1.1.22-y4rj8ced.mjs";import{Zja as _,aka as WZ}from"./cli-1.1.22-s5qhs3ds.mjs";import{ala as J,dka as ZQ,dla as zQ,fka as NZ}from"./cli-1.1.22-ca6d1erw.mjs";import"./cli-1.1.22-cvfsmaqt.mjs";import{Ala as D,Hla as jQ}from"./cli-1.1.22-3r3tadt1.mjs";import{Nla as $Q,Vla as OZ}from"./cli-1.1.22-265a4qpa.mjs";import{Fna as DQ,yra as UZ,zna as qJ}from"./cli-1.1.22-v260dy3k.mjs";import"./cli-1.1.22-j7qc1g0f.mjs";import"./cli-1.1.22-xmb0wn88.mjs";import"./cli-1.1.22-gwhdvfge.mjs";import"./cli-1.1.22-d1w2ky89.mjs";import"./cli-1.1.22-33jc9czg.mjs";import{uta as QQ}from"./cli-1.1.22-w09pyst3.mjs";UZ();fZ();hZ();DZ();FZ();MZ();zQ();EZ();jQ();wZ();vZ();IZ();pZ();mZ();kZ();TZ();CZ();bZ();WQ();SZ();import{hostname as cZ}from"os";import{randomUUID as nJ}from"crypto";zQ();qZ();WZ();NZ();XQ();BZ();yZ();_Z();OZ();WQ();jQ();LZ();var AZ=2000,rJ=60000,eJ=900000,RZ=0;function JQ(b){return b?.detail??"Session creation failed"}async function hQ(b){let{dir:y,machineName:T,branch:B,gitRepoUrl:t,title:s,baseUrl:o,sessionIngressUrl:P,workerType:I,getAccessToken:n,createSession:r,archiveSession:a,getCurrentTitle:ZJ=()=>s,toSDKMessages:YJ=()=>{throw Error("BridgeCoreParams.toSDKMessages not provided. Pass it if you use writeMessages() or initialMessages — daemon callers that only use writeSdkMessages() never hit this path.")},onAuth401:U,getPollIntervalConfig:f=()=>IJ,initialHistoryCap:M=200,initialMessages:G,previouslyFlushedUUIDs:m,onInboundMessage:C,onPermissionResponse:e,onInterrupt:c,onSetModel:H,onSetMaxThinkingTokens:E,onSetPermissionMode:A,onStateChange:N,onUserMessage:v,perpetual:h,initialSSESequenceNum:u=0}=b,q=++RZ,{writeBridgePointer:F,clearBridgePointer:JJ,readBridgePointer:K}=await import("./bridgePointer-1.1.22-bqaet342.mjs"),V=h?await K(y):null,z=V?.source==="repl"?V:null;J(`[bridge:repl] initBridgeCore #${q} starting (initialMessages=${G?.length??0}${z?` perpetual prior=env:${z.environmentId}`:""})`);let R=OQ({baseUrl:o,getAccessToken:n,runnerVersion:"99.0.0",onDebug:J,onAuth401:U,getTrustedDeviceToken:HQ}),QJ={dir:y,machineName:T,branch:B,gitRepoUrl:t,maxSessions:1,spawnMode:"single-session",verbose:!1,sandbox:!1,bridgeId:nJ(),workerType:I,environmentId:nJ(),reuseEnvironmentId:z?.environmentId,apiBaseUrl:o,sessionIngressUrl:P},Y,_J;try{let Q=await R.registerBridgeEnvironment(QJ);Y=Q.environment_id,_J=Q.environment_secret}catch(Q){if(i("registration_failed",`[bridge:repl] Environment registration failed: ${D(Q)}`),z)await JJ(y);return N?.("failed",D(Q)),null}J(`[bridge:repl] Environment registered: ${Y}`),GJ("info","bridge_repl_env_registered"),_("",{});async function dJ(Q,$){if(Y!==Q)return J(`[bridge:repl] Env mismatch (requested ${Q}, got ${Y}) — cannot reconnect in place`),!1;let W=KQ($),x=W===$?[$]:[$,W];for(let X of x)try{return await R.reconnectSession(Y,X),J(`[bridge:repl] Reconnected session ${X} in place on env ${Y}`),!0}catch(l){J(`[bridge:repl] reconnectSession(${X}) failed: ${D(l)}`)}return J("[bridge:repl] reconnectSession exhausted — falling through to fresh session"),!1}let RJ=z?await dJ(z.environmentId,z.sessionId):!1;if(z&&!RJ)await JJ(y);let j;if(RJ&&z){if(j=z.sessionId,J(`[bridge:repl] Perpetual session reused: ${j}`),G&&m)for(let Q of G)m.add(Q.uuid)}else{let Q,$=await SJ(()=>r({environmentId:Y,title:s,gitRepoUrl:t,branch:B,signal:AbortSignal.timeout(15000),onFailure:(W)=>{Q=W}}),{...vJ,label:"createSession",logPrefix:"[bridge:repl]",isRetryable:()=>Q?.retryable!==!1});if(!$)return J("[bridge:repl] Session creation failed, deregistering environment"),_("",{}),await R.deregisterEnvironment(Y).catch(()=>{}),N?.("failed",JQ(Q)),null;j=$,J(`[bridge:repl] Session created: ${j}`)}await F(y,{sessionId:j,environmentId:Y,source:"repl"}),GJ("info","bridge_repl_session_created"),_("",{has_initial_messages:!!(G&&G.length>0)});let PJ=new Set;if(G)for(let Q of G)PJ.add(Q.uuid);let $J=new mJ(2000);for(let Q of PJ)$J.add(Q);let lJ=new mJ(2000),d=new AbortController,Z=null,KJ=0,S=RJ?u:0,k=null,XJ=null,aJ=MQ(d.signal),WJ=aJ.wake,KZ=aJ.signal,g=new EQ,UJ=!v,fJ=3,jJ=0,HJ=null;async function gJ(){if(HJ)return HJ;HJ=XZ();try{return await HJ}finally{HJ=null}}async function XZ(){if(jJ++,KJ++,J(`[bridge:repl] Reconnecting after env lost (attempt ${jJ}/${fJ})`),jJ>fJ)return J(`[bridge:repl] Environment reconnect limit reached (${fJ}), giving up`),!1;if(Z){let X=Z.getLastSequenceNum();if(X>S)S=X;Z.close(),Z=null}if(WJ(),g.drop(),k){let X=k;if(await R.stopWork(Y,X,!1).catch(()=>{}),k!==X)return J("[bridge:repl] Poll loop recovered during stopWork await — deferring to it"),jJ=0,!0;k=null,XJ=null}if(d.signal.aborted)return J("[bridge:repl] Reconnect aborted by teardown"),!1;let Q=Y;QJ.reuseEnvironmentId=Q;try{let X=await R.registerBridgeEnvironment(QJ);Y=X.environment_id,_J=X.environment_secret}catch(X){return QJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Environment re-registration failed: ${D(X)}`),!1}if(QJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Re-registered: requested=${Q} got=${Y}`),d.signal.aborted)return J("[bridge:repl] Reconnect aborted after env registration, cleaning up"),await R.deregisterEnvironment(Y).catch(()=>{}),!1;if(Z!==null)return J("[bridge:repl] Poll loop recovered during registerBridgeEnvironment await — deferring to it"),jJ=0,!0;if(await dJ(Q,j))return _("",{}),jJ=0,!0;if(Y!==Q)_("",{});if(await a(j),d.signal.aborted)return J("[bridge:repl] Reconnect aborted after archive, cleaning up"),await R.deregisterEnvironment(Y).catch(()=>{}),!1;let $=ZJ(),W,x=await SJ(()=>r({environmentId:Y,title:$,gitRepoUrl:t,branch:B,signal:AbortSignal.timeout(15000),onFailure:(X)=>{W=X}}),{...vJ,label:"createSession (reconnect)",logPrefix:"[bridge:repl]",signal:d.signal,isRetryable:()=>W?.retryable!==!1});if(!x)return J(`[bridge:repl] Session creation failed during reconnection: ${JQ(W)}`),!1;if(d.signal.aborted)return J("[bridge:repl] Reconnect aborted after session creation, cleaning up"),await a(x),!1;return j=x,VQ(YQ(x)).catch(()=>{}),S=0,lJ.clear(),UJ=!v,J(`[bridge:repl] Re-created session: ${j}`),await F(y,{sessionId:j,environmentId:Y,source:"repl"}),m?.clear(),jJ=0,!0}function wJ(){return n()}function iJ(){let Q=g.end();if(Q.length===0)return;if(!Z){J(`[bridge:repl] Cannot drain ${Q.length} pending message(s): no transport`);return}for(let x of Q)$J.add(x.uuid);let W=YJ(Q).map((x)=>({...x,session_id:j}));J(`[bridge:repl] Drained ${Q.length} pending message(s) after flush`),Z.writeBatch(W)}let yJ=null;function MJ(){yJ?.()}function HZ(Q){if(J(`[bridge:repl] Transport permanently closed: code=${Q}`),_("",{code:Q}),Z){let W=Z.getLastSequenceNum();if(W>S)S=W;Z=null}WJ();let $=g.drop();if($>0)J(`[bridge:repl] Dropping ${$} pending message(s) on transport close (code=${Q})`,{level:"warn"});if(Q===1000){N?.("failed","session ended"),d.abort(),MJ();return}N?.("reconnecting",`Remote Control connection lost (code ${Q})`),J(`[bridge:repl] Transport reconnect budget exhausted (code=${Q}), attempting env reconnect`),gJ().then((W)=>{if(W)return;if(d.signal.aborted)return;J("[bridge:repl] reconnectEnvironmentWithSession resolved false — tearing down"),_("",{close_code:Q}),N?.("failed","reconnection failed"),MJ()})}let VZ={api:R,getCredentials:()=>({environmentId:Y,environmentSecret:_J}),signal:d.signal,getPollIntervalConfig:f,onStateChange:N,getWsState:()=>Z?.getStateLabel()??"null",isAtCapacity:()=>Z!==null,capacitySignal:KZ,onFatalError:MJ,getHeartbeatInfo:()=>{if(!k||!XJ)return null;return{environmentId:Y,workId:k,sessionToken:XJ}},onHeartbeatFatal:(Q)=>{if(J(`[bridge:repl] heartbeatWork fatal (status=${Q.status}) — tearing down work item for fast re-dispatch`),Z){let $=Z.getLastSequenceNum();if($>S)S=$;Z.close(),Z=null}if(g.drop(),k)R.stopWork(Y,k,!1).catch(($)=>{J(`[bridge:repl] stopWork after heartbeat fatal: ${D($)}`)});k=null,XJ=null,WJ(),N?.("reconnecting","Work item lease expired, fetching fresh token")},async onEnvironmentLost(){if(!await gJ())return null;return{environmentId:Y,environmentSecret:_J}},onWorkReceived:(Q,$,W,x)=>{if(Z?.isConnectedStatus())J(`[bridge:repl] Work received while transport connected, replacing with fresh token (workId=${W})`);if(J(`[bridge:repl] Work received: workId=${W} workSessionId=${Q} currentSessionId=${j} match=${bJ(Q,j)}`),F(y,{sessionId:j,environmentId:Y,source:"repl"}),!bJ(Q,j)){J(`[bridge:repl] Rejecting foreign session: expected=${j} got=${Q}`);return}k=W,XJ=$;let X=x||$Q(process.env.CLAUDE_BRIDGE_USE_CCR_V2),l;if(!X){if(l=wJ(),!l){J("[bridge:repl] No OAuth token available for session ingress, skipping work");return}DJ(l)}if(_("",{}),Z){let O=Z;Z=null;let L=O.getLastSequenceNum();if(L>S)S=L;O.close()}g.deactivate();let GZ=(O)=>BQ(O,{transport:Z,sessionId:j,onInterrupt:c,onSetModel:H,onSetMaxThinkingTokens:E,onSetPermissionMode:A}),kJ=!1,sJ=(O)=>{if(Z=O,O.setOnConnect(()=>{if(Z!==O)return;if(J("[bridge:repl] Ingress transport connected"),_("",{}),!X){let L=wJ();if(L)DJ(L)}if(FJ=!1,!kJ&&G&&G.length>0){kJ=!0;let L=M,p=G.filter((BJ)=>TJ(BJ)&&!m?.has(BJ.uuid)),VJ=L>0&&p.length>L?p.slice(-L):p;if(VJ.length<p.length)J(`[bridge:repl] Capped initial flush: ${p.length} -> ${VJ.length} (cap=${L})`),_("",{eligible_count:p.length,capped_count:VJ.length});let NJ=YJ(VJ);if(NJ.length>0){J(`[bridge:repl] Flushing ${NJ.length} initial message(s) via transport`);let BJ=NJ.map((xJ)=>({...xJ,session_id:j})),oJ=O.droppedBatchCount;O.writeBatch(BJ).then(()=>{if(O.droppedBatchCount>oJ){J(`[bridge:repl] Initial flush dropped ${O.droppedBatchCount-oJ} batch(es) — not marking ${NJ.length} UUID(s) as flushed`);return}if(m){for(let xJ of NJ)if(xJ.uuid)m.add(xJ.uuid)}}).catch((xJ)=>J(`[bridge:repl] Initial flush failed: ${xJ}`)).finally(()=>{if(Z!==O)return;iJ(),N?.("connected")})}else iJ(),N?.("connected")}else if(!g.active)N?.("connected")}),O.setOnData((L)=>{yQ(L,$J,lJ,C,e,GZ)}),O.setOnClose((L)=>{if(Z!==O)return;HZ(L)}),!kJ&&G&&G.length>0)g.start();O.connect()};if(KJ++,X){let O=PQ(o,Q),L=KJ;J(`[bridge:repl] CCR v2: sessionUrl=${O} session=${Q} gen=${L}`),wQ({sessionUrl:O,ingressToken:$,sessionId:Q,initialSequenceNum:S}).then((p)=>{if(d.signal.aborted){p.close();return}if(L!==KJ){J(`[bridge:repl] CCR v2: discarding stale handshake gen=${L} current=${KJ}`),p.close();return}sJ(p)},(p)=>{if(J(`[bridge:repl] CCR v2: createV2ReplTransport failed: ${D(p)}`,{level:"error"}),_("",{}),L!==KJ)return;if(k)R.stopWork(Y,k,!1).catch((VJ)=>{J(`[bridge:repl] stopWork after v2 init failure: ${D(VJ)}`)}),k=null,XJ=null;WJ()})}else{let O=RQ(P,Q);J(`[bridge:repl] Ingress URL: ${O}`),J(`[bridge:repl] Creating HybridTransport: session=${Q}`);let L=l??"";sJ(fQ(new UQ(new URL(O),{Authorization:`Bearer ${L}`,"anthropic-version":"2023-06-01"},Q,()=>({Authorization:`Bearer ${wJ()??L}`,"anthropic-version":"2023-06-01"}),{maxConsecutiveFailures:50,isBridge:!0,onBatchDropped:()=>{N?.("reconnecting","Lost sync with Remote Control — events could not be delivered"),WJ()}})))}}};PZ(VZ);let EJ=h?setInterval(()=>{if(HJ)return;F(y,{sessionId:j,environmentId:Y,source:"repl"})},3600000):null;EJ?.unref?.();let tJ=f().session_keepalive_interval_v2_ms,hJ=tJ>0?setInterval(()=>{if(!Z)return;J("[bridge:repl] keep_alive sent"),Z.write({type:"keep_alive"}).catch((Q)=>{J(`[bridge:repl] keep_alive write failed: ${D(Q)}`)})},tJ):null;hJ?.unref?.();let FJ=!1;yJ=async()=>{if(FJ){J(`[bridge:repl] Teardown already in progress, skipping duplicate call env=${Y} session=${j}`);return}FJ=!0;let Q=Date.now();if(J(`[bridge:repl] Teardown starting: env=${Y} session=${j} workId=${k??"none"} transportState=${Z?.getStateLabel()??"null"}`),EJ!==null)clearInterval(EJ);if(hJ!==null)clearInterval(hJ);if(d.abort(),J("[bridge:repl] Teardown: poll loop aborted"),Z){let x=Z.getLastSequenceNum();if(x>S)S=x}if(h){Z=null,g.drop(),await F(y,{sessionId:j,environmentId:Y,source:"repl"}),J(`[bridge:repl] Teardown (perpetual): leaving env=${Y} session=${j} alive on server, duration=${Date.now()-Q}ms`);return}let $=Z;if(Z=null,g.drop(),$)$.write(CJ(j));let W=k?R.stopWork(Y,k,!0).then(()=>{J("[bridge:repl] Teardown: stopWork completed")}).catch((x)=>{J(`[bridge:repl] Teardown stopWork failed: ${D(x)}`)}):Promise.resolve();await Promise.all([W,a(j)]),$?.close(),J("[bridge:repl] Teardown: transport closed"),await R.deregisterEnvironment(Y).catch((x)=>{J(`[bridge:repl] Teardown deregister failed: ${D(x)}`)}),await JJ(y),J(`[bridge:repl] Teardown complete: env=${Y} duration=${Date.now()-Q}ms`)};let xZ=ZQ(()=>yJ?.());return J(`[bridge:repl] Ready: env=${Y} session=${j}`),N?.("ready"),{get bridgeSessionId(){return j},get environmentId(){return Y},getSSESequenceNum(){let Q=Z?.getLastSequenceNum()??0;return Math.max(S,Q)},sessionIngressUrl:P,writeMessages(Q){let $=Q.filter((X)=>TJ(X)&&!PJ.has(X.uuid)&&!$J.has(X.uuid));if($.length===0)return;if(!UJ)for(let X of $){let l=_Q(X);if(l!==void 0&&v?.(l,j)){UJ=!0;break}}if(g.enqueue(...$)){J(`[bridge:repl] Queued ${$.length} message(s) during initial flush`);return}if(!Z){let X=$.map((l)=>l.type).join(",");J(`[bridge:repl] Transport not configured, dropping ${$.length} message(s) [${X}] for session=${j}`,{level:"warn"});return}for(let X of $)$J.add(X.uuid);J(`[bridge:repl] Sending ${$.length} message(s) via transport`);let x=YJ($).map((X)=>({...X,session_id:j}));Z.writeBatch(x)},writeSdkMessages(Q){let $=Q.filter((x)=>!x.uuid||!$J.has(x.uuid));if($.length===0)return;if(!Z){J(`[bridge:repl] Transport not configured, dropping ${$.length} SDK message(s) for session=${j}`,{level:"warn"});return}for(let x of $)if(x.uuid)$J.add(x.uuid);let W=$.map((x)=>({...x,session_id:j}));Z.writeBatch(W)},sendControlRequest(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_request");return}let $={...Q,session_id:j};Z.write($),J(`[bridge:repl] Sent control_request request_id=${Q.request_id}`)},sendControlResponse(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_response");return}let $={...Q,session_id:j};Z.write($),J("[bridge:repl] Sent control_response")},sendControlCancelRequest(Q){if(!Z){J("[bridge:repl] Transport not configured, skipping control_cancel_request");return}let $={type:"control_cancel_request",request_id:Q,session_id:j};Z.write($),J(`[bridge:repl] Sent control_cancel_request request_id=${Q}`)},sendResult(){if(!Z){J(`[bridge:repl] sendResult: skipping, transport not configured session=${j}`);return}Z.write(CJ(j)),J(`[bridge:repl] Sent result for session=${j}`)},async teardown(){xZ(),await yJ?.(),J("[bridge:repl] Torn down"),_("",{})}}}async function PZ({api:b,getCredentials:y,signal:T,onStateChange:B,onWorkReceived:t,onEnvironmentLost:s,getWsState:o,isAtCapacity:P,capacitySignal:I,onFatalError:n,getPollIntervalConfig:r=()=>IJ,getHeartbeatInfo:a,onHeartbeatFatal:ZJ}){J(`[bridge:repl] Starting work poll loop for env=${y().environmentId}`);let U=0,f=null,M=null,G=0,m=!1;while(!T.aborted){let{environmentId:C,environmentSecret:e}=y(),c=r();try{let H=await b.pollForWork(C,e,T,c.reclaim_older_than_ms);if(G=0,U>0)J(`[bridge:repl] Poll recovered after ${U} consecutive error(s)`),U=0,f=null,M=null,B?.("ready");if(!H){let A=m;if(m=!1,P?.()&&I&&!A){let N=c.poll_interval_ms_at_capacity;if(c.non_exclusive_heartbeat_interval_ms>0&&a){_("",{heartbeat_interval_ms:c.non_exclusive_heartbeat_interval_ms});let h=N>0?Date.now()+N:null,u=!1,q=0;while(!T.aborted&&P()&&(h===null||Date.now()<h)){let JJ=r();if(JJ.non_exclusive_heartbeat_interval_ms<=0)break;let K=a();if(!K)break;let V=I();try{await b.heartbeatWork(K.environmentId,K.workId,K.sessionToken)}catch(z){if(J(`[bridge:repl:heartbeat] Failed: ${D(z)}`),z instanceof AJ){if(V.cleanup(),_("",{status:z.status,error_type:z.status===401||z.status===403?"auth_failed":"fatal"}),ZJ)ZJ(z),J(`[bridge:repl:heartbeat] Fatal (status=${z.status}), work state cleared — fast-polling for re-dispatch`);else u=!0;break}}q++,await OJ(JJ.non_exclusive_heartbeat_interval_ms,V.signal),V.cleanup()}let F=u?"error":T.aborted?"shutdown":!P()?"capacity_changed":h!==null&&Date.now()>=h?"poll_due":"config_disabled";if(_("",{reason:F,heartbeat_cycles:q}),!u){if(F==="poll_due")J(`[bridge:repl] Heartbeat poll_due after ${q} cycles — falling through to pollForWork`);continue}}let v=N>0?N:c.non_exclusive_heartbeat_interval_ms;if(v>0){let h=I(),u=Date.now();await OJ(v,h.signal),h.cleanup();let q=Date.now()-u-v;if(q>60000)J(`[bridge:repl] At-capacity sleep overran by ${Math.round(q/1000)}s — process suspension detected, forcing one fast-poll cycle`),_("",{overrun_ms:q}),m=!0}}else await OJ(c.poll_interval_ms_not_at_capacity,T);continue}let E;try{E=AQ(H.secret)}catch(A){J(`[bridge:repl] Failed to decode work secret: ${D(A)}`),_("",{}),await b.stopWork(C,H.id,!1).catch(()=>{});continue}J(`[bridge:repl] Acknowledging workId=${H.id}`);try{await b.acknowledgeWork(C,H.id,E.session_ingress_token)}catch(A){J(`[bridge:repl] Acknowledge failed workId=${H.id}: ${D(A)}`)}if(H.data.type==="healthcheck"){J("[bridge:repl] Healthcheck received");continue}if(H.data.type==="session"){let A=H.data.id;try{NQ(A,"session_id")}catch{J(`[bridge:repl] Invalid session_id in work: ${A}`);continue}t(A,E.session_ingress_token,H.id,E.use_code_sessions===!0),J("[bridge:repl] Work accepted, continuing poll loop")}}catch(H){if(T.aborted)break;if(H instanceof AJ&&H.status===404&&s){let q=y().environmentId;if(C!==q){J(`[bridge:repl] Stale poll error for old env=${C}, current env=${q} — skipping onEnvironmentLost`),U=0,f=null;continue}if(G++,J(`[bridge:repl] Environment deleted, attempting re-registration (attempt ${G}/3)`),_("",{attempt:G}),G>3){J("[bridge:repl] Environment re-registration limit reached (3), giving up"),B?.("failed","Environment deleted and re-registration limit reached"),n?.();break}B?.("reconnecting","environment lost, recreating session");let F=await s();if(T.aborted)break;if(F){U=0,f=null,B?.("ready"),J(`[bridge:repl] Re-registered environment: ${F.environmentId}`);continue}B?.("failed","Environment deleted and re-registration failed"),n?.();break}if(H instanceof AJ){let q=qQ(H.errorType),F=LQ(H);if(J(`[bridge:repl] Fatal poll error: ${H.message} (status=${H.status}, type=${H.errorType??"unknown"})${F?" (suppressed)":""}`),_("",{status:H.status,error_type:H.errorType}),GJ(q?"info":"error","bridge_repl_fatal_error",{status:H.status,error_type:H.errorType}),!F)B?.("failed",q?"session expired · /remote-control to reconnect":H.message);n?.();break}let E=Date.now();if(M!==null&&E-M>rJ*2)J(`[bridge:repl] Detected system sleep (${Math.round((E-M)/1000)}s gap), resetting poll error budget`),GJ("info","bridge_repl_poll_sleep_detected",{gapMs:E-M}),U=0,f=null;if(M=E,U++,f===null)f=E;let A=E-f,N=GQ(H),v=xQ(H),h=o?.()??"unknown";if(J(`[bridge:repl] Poll error (attempt ${U}, elapsed ${Math.round(A/1000)}s, ws=${h}): ${v}`),_("",{status:N,consecutiveErrors:U,elapsedMs:A}),U===1)B?.("reconnecting",v);if(A>=eJ){J(`[bridge:repl] Poll failures exceeded ${eJ/1000}s (${U} errors), giving up`),GJ("info","bridge_repl_poll_give_up"),_("",{consecutiveErrors:U,elapsedMs:A,lastStatus:N}),B?.("failed","connection to server lost");break}let u=Math.min(AZ*2**(U-1),rJ);if(r().non_exclusive_heartbeat_interval_ms>0){let q=a?.();if(q)try{await b.heartbeatWork(q.environmentId,q.workId,q.sessionToken)}catch{}}await OJ(u,T)}}J(`[bridge:repl] Work poll loop ended (aborted=${T.aborted}) env=${y().environmentId}`)}XQ();async function b0(b){let{onInboundMessage:y,onPermissionResponse:T,onInterrupt:B,onSetModel:t,onSetMaxThinkingTokens:s,onSetPermissionMode:o,onStateChange:P,initialMessages:I,getMessages:n,previouslyFlushedUUIDs:r,initialName:a,perpetual:ZJ,outboundOnly:YJ,tags:U}=b??{};if(dQ(oQ),!await tQ())return i("not_enabled","[bridge:repl] Skipping: bridge not enabled"),null;if(!zJ())return i("no_oauth","[bridge:repl] Skipping: no OAuth tokens"),P?.("failed","/login"),null;if(await lQ(),!aQ("allow_remote_control"))return i("policy_denied","[bridge:repl] Skipping: allow_remote_control policy not allowed"),P?.("failed","disabled by your organization's policy"),null;if(!gQ()){let K=vQ();if(K.bridgeOauthDeadExpiresAt!=null&&(K.bridgeOauthDeadFailCount??0)>=3&&pJ()?.expiresAt===K.bridgeOauthDeadExpiresAt)return J(`[bridge:repl] Skipping: cross-process backoff (dead token seen ${K.bridgeOauthDeadFailCount} times)`),P?.("failed","sign-in expired — run /login"),null;await pQ();let V=pJ();if(V&&V.expiresAt!==null&&V.expiresAt<=Date.now()){i("oauth_expired_unrefreshable","[bridge:repl] Skipping: OAuth token expired and refresh failed (re-login required)"),P?.("failed","/login");let z=V.expiresAt;return bQ((w)=>({...w,bridgeOauthDeadExpiresAt:z,bridgeOauthDeadFailCount:w.bridgeOauthDeadExpiresAt===z?(w.bridgeOauthDeadFailCount??0)+1:1})),null}}let f=iQ(),M=`remote-control-${uQ()}`,G=!1,m=!1;if(a)M=a,G=!0,m=!0;else{let K=qJ(),V=K?LJ(K):void 0;if(V)M=V,G=!0,m=!0;else if(I&&I.length>0)for(let z=I.length-1;z>=0;z--){let w=I[z];if(w.type!=="user"||w.isMeta||w.toolUseResult||w.isCompactSummary||w.origin&&w.origin.kind!=="human"||jZ(w))continue;let R=cQ(w.message.content);if(!R)continue;let QJ=kQ(R);if(!QJ)continue;M=QJ,G=!0;break}}let C=0,e,c=0,H=(K,V,z)=>{G=!0,M=K,J(`[bridge:repl] derived title from message ${z}: ${K}`),ZZ(V,K,{baseUrl:f,getAccessToken:zJ}).catch(()=>{})},E=(K,V)=>{let z=++c,w=C;eQ(K,AbortSignal.timeout(15000)).then((R)=>{if(R&&z===c&&e===V&&!LJ(qJ()))H(R,V,w)})},A=(K,V)=>{if(m||LJ(qJ()))return!0;if(e!==void 0&&e!==V)C=0;if(e=V,C++,C===1&&!G){let z=kQ(K);if(z)H(z,V,C);E(K,V)}else if(C===3){let z=n?.(),w=z?rQ(zZ(z)):K;E(w,V)}return C>=3},N=TQ("tengu_bridge_initial_history_cap",200,300000),v=await IQ();if(!v)return i("no_org_uuid","[bridge:repl] Skipping: no org UUID"),P?.("failed","/login"),null;if(sQ()&&!ZJ){let K=await $Z();if(K)return i("version_too_old",`[bridge:repl] Skipping: ${K}`,!0),P?.("failed","run `claude update` to upgrade"),null;J("[bridge:repl] Using env-less bridge path (tengu_bridge_repl_v2)");let{initEnvLessBridgeCore:V}=await import("./remoteBridgeCore-1.1.22-hbz0g8ya.mjs");return V({baseUrl:f,orgUUID:v,title:M,getAccessToken:zJ,onAuth401:cJ,toSDKMessages:uJ,initialHistoryCap:N,initialMessages:I,onInboundMessage:y,onUserMessage:A,onPermissionResponse:T,onInterrupt:B,onSetModel:t,onSetMaxThinkingTokens:s,onSetPermissionMode:o,onStateChange:P,outboundOnly:YJ,tags:U})}let h=nQ();if(h)return i("version_too_old",`[bridge:repl] Skipping: ${h}`),P?.("failed","run `claude update` to upgrade"),null;let u=await CQ(),q=await mQ(),F=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||f,JJ="claude_code";return hQ({dir:DQ(),machineName:cZ(),branch:u,gitRepoUrl:q,title:M,baseUrl:f,sessionIngressUrl:F,workerType:JJ,getAccessToken:zJ,createSession:(K)=>JZ({...K,events:[],baseUrl:f,getAccessToken:zJ}),archiveSession:(K)=>QZ(K,{baseUrl:f,getAccessToken:zJ,timeoutMs:1500}).catch((V)=>{J(`[bridge:repl] archiveBridgeSession threw: ${D(V)}`,{level:"error"})}),getCurrentTitle:()=>LJ(qJ())??M,onUserMessage:A,toSDKMessages:uJ,onAuth401:cJ,getPollIntervalConfig:YZ,initialHistoryCap:N,initialMessages:I,previouslyFlushedUUIDs:r,onInboundMessage:y,onPermissionResponse:T,onInterrupt:B,onSetModel:t,onSetMaxThinkingTokens:s,onSetPermissionMode:o,onStateChange:P,perpetual:ZJ})}var FQ=50;function kQ(b){let y=SQ(b),B=(/^(.*?[.!?])\s/.exec(y)?.[1]??y).replace(/\s+/g," ").trim();if(!B)return;return B.length>FQ?B.slice(0,FQ-1)+"…":B}export{b0 as initReplBridge};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BZ as a,C1 as H,D1 as I,E1 as J,EZ as b,F1 as K,FZ as c,G0 as m,G1 as L,H1 as M,IZ as d,L0 as n,LZ as e,MZ as f,N0 as o,NZ as g,OZ as h,T0 as p,_0 as q,a1 as r,c1 as s,f0 as i,g0 as j,g1 as t,i1 as u,j1 as v,k1 as w,l1 as x,m1 as y,n1 as z,o1 as A,q0 as k,q1 as B,r1 as C,u0 as l,w1 as D,x1 as E,y1 as F,z1 as G}from"./cli-1.1.22-261r450y.mjs";import"./cli-1.1.22-yqbnqsen.mjs";import"./cli-1.1.22-e5wx36qr.mjs";import"./cli-1.1.22-vdsszncw.mjs";import"./cli-1.1.22-vwdxbs23.mjs";import"./cli-1.1.22-c07z4d74.mjs";import"./cli-1.1.22-yegp0d0j.mjs";import"./cli-1.1.22-3jyydg5h.mjs";import"./cli-1.1.22-erbhk4p7.mjs";import"./cli-1.1.22-m41t95z0.mjs";import"./cli-1.1.22-8zvpve6x.mjs";import"./cli-1.1.22-dpqknw7z.mjs";import"./cli-1.1.22-jz426kr2.mjs";import"./cli-1.1.22-j6xg80k8.mjs";import"./cli-1.1.22-y4rj8ced.mjs";import"./cli-1.1.22-s5qhs3ds.mjs";import"./cli-1.1.22-ca6d1erw.mjs";import"./cli-1.1.22-cvfsmaqt.mjs";import"./cli-1.1.22-3r3tadt1.mjs";import"./cli-1.1.22-265a4qpa.mjs";import"./cli-1.1.22-v260dy3k.mjs";import"./cli-1.1.22-j7qc1g0f.mjs";import"./cli-1.1.22-xmb0wn88.mjs";import"./cli-1.1.22-33jc9czg.mjs";import"./cli-1.1.22-w09pyst3.mjs";M();export{k as wrapText,g as useThemeSetting,f as useTheme,A as useTerminalViewport,I as useTerminalTitle,m as useTerminalFocus,H as useTabStatus,d as useStdin,G as useSelection,h as usePreviewTheme,F as useInterval,D as useInput,C as useApp,E as useAnimationTimer,B as useAnimationFrame,a as supportsTabStatus,K as render,J as measureElement,L as createRoot,q as color,e as ThemeProvider,s as Text,j as TerminalFocusEvent,z as Spacer,y as RawAnsi,x as NoSelect,w as Newline,t as Link,i as InputEvent,l as FocusManager,c as EventEmitter,b as Event,p as ClickEvent,v as Button,r as Box,o as BaseText,n as BaseBox,u as Ansi};
|