@claudiolabs/claudin 1.1.35 → 1.1.36
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/App-1.1.36-4ypa2ky6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.36-r5r4cwsv.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.36-v3mtkjve.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.36-m4wb4rn1.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.36-7v5ebgve.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.36-xpxzdymv.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.36-f49re5tc.mjs +6 -0
- package/dist/chunks/Doctor-1.1.36-2dspbc9p.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.36-9ajm3kh8.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.36-js7zf4na.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.36-4qp5v3qb.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.36-vesfpg6k.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.36-bg3y18da.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.36-n2rz26c0.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.36-tr7atyyg.mjs +1 -0
- package/dist/chunks/REPL-1.1.36-k3q58fha.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.36-qa0m768f.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.36-sg79pgf7.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.36-2q0d269f.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.36-rngjq7f6.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.36-mrzttk9n.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.36-ycekhs3r.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.36-awrjghme.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.36-r7zqb99r.mjs +1 -0
- package/dist/chunks/add-dir-1.1.36-mrfh3vg4.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.36-50aq6x28.mjs +1 -0
- package/dist/chunks/agents-1.1.36-p154bdnq.mjs +110 -0
- package/dist/chunks/agents-1.1.36-qvdrqv2q.mjs +3 -0
- package/dist/chunks/api-1.1.36-fw1zvw5c.mjs +1 -0
- package/dist/chunks/asciicast-1.1.36-pabx88c3.mjs +1 -0
- package/dist/chunks/auth-1.1.36-nxs2defd.mjs +1 -0
- package/dist/chunks/auth-1.1.36-vxpyyv86.mjs +1 -0
- package/dist/chunks/autoMode-1.1.36-ew03cpb1.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.36-m3aspqak.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.36-dvg6tvq8.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.36-q1ejq881.mjs +1 -0
- package/dist/chunks/branch-1.1.36-ev37nqdg.mjs +4 -0
- package/dist/chunks/bridge-1.1.36-1yp5eghy.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.36-yxs52053.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.36-ghh2yqhm.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.36-6v5c06t6.mjs +64 -0
- package/dist/chunks/bridgePointer-1.1.36-2rgfyyde.mjs +1 -0
- package/dist/chunks/btw-1.1.36-065ma89f.mjs +1 -0
- package/dist/chunks/buddy-1.1.36-a1z9gs49.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.36-bvheegzj.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.36-0bq3fz34.mjs +4 -0
- package/dist/chunks/caches-1.1.36-8swj463y.mjs +1 -0
- package/dist/chunks/cd-1.1.36-wwqk3h8r.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.36-325wbhtb.mjs +1 -0
- package/dist/chunks/claudemd-1.1.36-2vv85v0v.mjs +1 -0
- package/dist/chunks/clear-1.1.36-xnqf2tm7.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.36-g72pkm2k.mjs +1 -0
- package/dist/chunks/cli-1.1.36-02vb8r9t.mjs +2 -0
- package/dist/chunks/cli-1.1.36-0ar5v8he.mjs +2 -0
- package/dist/chunks/cli-1.1.36-0d7qj290.mjs +2 -0
- package/dist/chunks/cli-1.1.36-0qdd3hmz.mjs +2 -0
- package/dist/chunks/cli-1.1.36-0qtyffhw.mjs +2 -0
- package/dist/chunks/cli-1.1.36-0v8c69pm.mjs +2 -0
- package/dist/chunks/cli-1.1.36-0zzq8bfp.mjs +2 -0
- package/dist/chunks/cli-1.1.36-12bsh7j9.mjs +2 -0
- package/dist/chunks/cli-1.1.36-1dhxpexj.mjs +2 -0
- package/dist/chunks/cli-1.1.36-1dr6aakq.mjs +2 -0
- package/dist/chunks/cli-1.1.36-1fmfztzp.mjs +2 -0
- package/dist/chunks/cli-1.1.36-1yk5zdh0.mjs +2 -0
- package/dist/chunks/cli-1.1.36-1z1m015s.mjs +2 -0
- package/dist/chunks/cli-1.1.36-2720p0e9.mjs +2 -0
- package/dist/chunks/cli-1.1.36-2awc366j.mjs +2 -0
- package/dist/chunks/cli-1.1.36-2mqhd52j.mjs +2 -0
- package/dist/chunks/cli-1.1.36-2sbmjg5a.mjs +2 -0
- package/dist/chunks/cli-1.1.36-33pcdm87.mjs +2 -0
- package/dist/chunks/cli-1.1.36-34sqd3h3.mjs +15 -0
- package/dist/chunks/cli-1.1.36-3fe93rwy.mjs +2 -0
- package/dist/chunks/cli-1.1.36-3gx0bht8.mjs +4 -0
- package/dist/chunks/cli-1.1.36-3kd43x1y.mjs +2 -0
- package/dist/chunks/cli-1.1.36-3mmakdzj.mjs +2 -0
- package/dist/chunks/cli-1.1.36-3xkn8kcw.mjs +2 -0
- package/dist/chunks/cli-1.1.36-3z14wtaa.mjs +2 -0
- package/dist/chunks/cli-1.1.36-40x4f5k7.mjs +34 -0
- package/dist/chunks/cli-1.1.36-422dmh6w.mjs +2 -0
- package/dist/chunks/cli-1.1.36-43fkjqy9.mjs +2 -0
- package/dist/chunks/cli-1.1.36-451x9avw.mjs +2 -0
- package/dist/chunks/cli-1.1.36-4ajy0ys9.mjs +2 -0
- package/dist/chunks/cli-1.1.36-4g1wf6an.mjs +2 -0
- package/dist/chunks/cli-1.1.36-4jwgcerx.mjs +2 -0
- package/dist/chunks/cli-1.1.36-4pfza5vq.mjs +2 -0
- package/dist/chunks/cli-1.1.36-4ssz80b2.mjs +60 -0
- package/dist/chunks/cli-1.1.36-5de80y14.mjs +26 -0
- package/dist/chunks/cli-1.1.36-5few49rp.mjs +7 -0
- package/dist/chunks/cli-1.1.36-5kmv74s2.mjs +2 -0
- package/dist/chunks/cli-1.1.36-5nkhhy5f.mjs +7 -0
- package/dist/chunks/cli-1.1.36-5nkv3yj2.mjs +2 -0
- package/dist/chunks/cli-1.1.36-5zzwcyt7.mjs +2 -0
- package/dist/chunks/cli-1.1.36-659qh6fs.mjs +15 -0
- package/dist/chunks/cli-1.1.36-65fkb20j.mjs +12 -0
- package/dist/chunks/cli-1.1.36-69zmc79s.mjs +2 -0
- package/dist/chunks/cli-1.1.36-6g1w2zbr.mjs +4 -0
- package/dist/chunks/cli-1.1.36-6jv1ss2p.mjs +2 -0
- package/dist/chunks/cli-1.1.36-6q7sfj4e.mjs +4 -0
- package/dist/chunks/cli-1.1.36-6yqvdwyp.mjs +2 -0
- package/dist/chunks/cli-1.1.36-703pmf6z.mjs +135 -0
- package/dist/chunks/cli-1.1.36-72hptg9d.mjs +2 -0
- package/dist/chunks/cli-1.1.36-72p8zdsg.mjs +2 -0
- package/dist/chunks/cli-1.1.36-72sph7cp.mjs +3 -0
- package/dist/chunks/cli-1.1.36-775g6c3z.mjs +2 -0
- package/dist/chunks/cli-1.1.36-789jh18m.mjs +2 -0
- package/dist/chunks/cli-1.1.36-79jcadbx.mjs +2 -0
- package/dist/chunks/cli-1.1.36-7byzkddk.mjs +3 -0
- package/dist/chunks/cli-1.1.36-7tprmtpr.mjs +2 -0
- package/dist/chunks/cli-1.1.36-7v42aqn9.mjs +2 -0
- package/dist/chunks/cli-1.1.36-7xx3rm4x.mjs +2 -0
- package/dist/chunks/cli-1.1.36-7ywn6pq1.mjs +2 -0
- package/dist/chunks/cli-1.1.36-7z5n90ex.mjs +3 -0
- package/dist/chunks/cli-1.1.36-80gqbr44.mjs +2 -0
- package/dist/chunks/cli-1.1.36-814rb1qn.mjs +2 -0
- package/dist/chunks/cli-1.1.36-89dhnv3q.mjs +2 -0
- package/dist/chunks/cli-1.1.36-8k2z8yvv.mjs +4 -0
- package/dist/chunks/cli-1.1.36-8mc299mk.mjs +6 -0
- package/dist/chunks/cli-1.1.36-8s4n3bf2.mjs +2 -0
- package/dist/chunks/cli-1.1.36-8vncd2t8.mjs +2 -0
- package/dist/chunks/cli-1.1.36-90xk1ctt.mjs +4 -0
- package/dist/chunks/cli-1.1.36-97zq0wp5.mjs +2 -0
- package/dist/chunks/cli-1.1.36-9k371kgm.mjs +15 -0
- package/dist/chunks/cli-1.1.36-9xnre98h.mjs +2 -0
- package/dist/chunks/cli-1.1.36-a4gh459t.mjs +2 -0
- package/dist/chunks/cli-1.1.36-adsb7266.mjs +2 -0
- package/dist/chunks/cli-1.1.36-ahr5fnjy.mjs +2 -0
- package/dist/chunks/cli-1.1.36-apycha28.mjs +2 -0
- package/dist/chunks/cli-1.1.36-as3jtdj6.mjs +4 -0
- package/dist/chunks/cli-1.1.36-aypab30m.mjs +2 -0
- package/dist/chunks/cli-1.1.36-b0rge62y.mjs +133 -0
- package/dist/chunks/cli-1.1.36-b54n0msa.mjs +2 -0
- package/dist/chunks/cli-1.1.36-b77v7k9g.mjs +3 -0
- package/dist/chunks/cli-1.1.36-bsfazmtt.mjs +2 -0
- package/dist/chunks/cli-1.1.36-bxrew2k8.mjs +2 -0
- package/dist/chunks/cli-1.1.36-bywrsksg.mjs +2 -0
- package/dist/chunks/cli-1.1.36-c3rd4cfc.mjs +10 -0
- package/dist/chunks/cli-1.1.36-c4k9g1dk.mjs +2 -0
- package/dist/chunks/cli-1.1.36-c4pkjm54.mjs +2 -0
- package/dist/chunks/cli-1.1.36-cm2kys6t.mjs +2 -0
- package/dist/chunks/cli-1.1.36-cya5x9g3.mjs +2 -0
- package/dist/chunks/cli-1.1.36-d4bd8qw2.mjs +4 -0
- package/dist/chunks/cli-1.1.36-dpn3xp4e.mjs +2 -0
- package/dist/chunks/cli-1.1.36-dt9kgcr3.mjs +2 -0
- package/dist/chunks/cli-1.1.36-e5xkjjtj.mjs +21 -0
- package/dist/chunks/cli-1.1.36-ef3vjg8b.mjs +9 -0
- package/dist/chunks/cli-1.1.36-f6yxszv5.mjs +2 -0
- package/dist/chunks/cli-1.1.36-fd7xaf6g.mjs +2 -0
- package/dist/chunks/cli-1.1.36-fhnpvzaf.mjs +6 -0
- package/dist/chunks/cli-1.1.36-fj9nx7k4.mjs +10 -0
- package/dist/chunks/cli-1.1.36-fw6d7jyv.mjs +2 -0
- package/dist/chunks/cli-1.1.36-fxpd9jmz.mjs +2 -0
- package/dist/chunks/cli-1.1.36-gfn4xejp.mjs +17 -0
- package/dist/chunks/cli-1.1.36-gfx5kkq4.mjs +2 -0
- package/dist/chunks/cli-1.1.36-ggr2pkp7.mjs +2 -0
- package/dist/chunks/cli-1.1.36-gpks9z9m.mjs +2 -0
- package/dist/chunks/cli-1.1.36-h74yjk66.mjs +2 -0
- package/dist/chunks/cli-1.1.36-haxnmraq.mjs +24 -0
- package/dist/chunks/cli-1.1.36-hqmz0657.mjs +3 -0
- package/dist/chunks/cli-1.1.36-hvnr6rta.mjs +2 -0
- package/dist/chunks/cli-1.1.36-jnftcw4c.mjs +2 -0
- package/dist/chunks/cli-1.1.36-jpcwwd65.mjs +5 -0
- package/dist/chunks/cli-1.1.36-jqn2tez7.mjs +2 -0
- package/dist/chunks/cli-1.1.36-jx3e7dft.mjs +9 -0
- package/dist/chunks/cli-1.1.36-k14jc4fv.mjs +2 -0
- package/dist/chunks/cli-1.1.36-kzxdhaaz.mjs +2 -0
- package/dist/chunks/cli-1.1.36-m11p0exg.mjs +2 -0
- package/dist/chunks/cli-1.1.36-m981mqsb.mjs +39 -0
- package/dist/chunks/cli-1.1.36-mam7e8zn.mjs +11 -0
- package/dist/chunks/cli-1.1.36-mmre9943.mjs +2 -0
- package/dist/chunks/cli-1.1.36-n44emd29.mjs +2 -0
- package/dist/chunks/cli-1.1.36-n5etyd9m.mjs +2 -0
- package/dist/chunks/cli-1.1.36-n9knhbs6.mjs +6 -0
- package/dist/chunks/cli-1.1.36-nnzqwcsc.mjs +2 -0
- package/dist/chunks/cli-1.1.36-nqy7mzrt.mjs +45 -0
- package/dist/chunks/cli-1.1.36-nw3mandv.mjs +50 -0
- package/dist/chunks/cli-1.1.36-p0w1dm9g.mjs +2 -0
- package/dist/chunks/cli-1.1.36-p375v620.mjs +6 -0
- package/dist/chunks/cli-1.1.36-p7w1197h.mjs +2 -0
- package/dist/chunks/cli-1.1.36-psd41gmc.mjs +2 -0
- package/dist/chunks/cli-1.1.36-pwszcwqb.mjs +2 -0
- package/dist/chunks/cli-1.1.36-pxy9g55g.mjs +20 -0
- package/dist/chunks/cli-1.1.36-q2e0arg8.mjs +2 -0
- package/dist/chunks/cli-1.1.36-q4a30pjq.mjs +2 -0
- package/dist/chunks/cli-1.1.36-q9xgs0j5.mjs +3 -0
- package/dist/chunks/cli-1.1.36-qdefh0tg.mjs +2 -0
- package/dist/chunks/cli-1.1.36-qm9492fw.mjs +2 -0
- package/dist/chunks/cli-1.1.36-qn4td7gm.mjs +4 -0
- package/dist/chunks/cli-1.1.36-qxdw7xas.mjs +3 -0
- package/dist/chunks/cli-1.1.36-qyd8fnkc.mjs +2 -0
- package/dist/chunks/cli-1.1.36-r241fh82.mjs +5 -0
- package/dist/chunks/cli-1.1.36-r2svaxxt.mjs +25 -0
- package/dist/chunks/cli-1.1.36-rh00pabh.mjs +2 -0
- package/dist/chunks/cli-1.1.36-rkcfjk5n.mjs +8 -0
- package/dist/chunks/cli-1.1.36-rp1ck3rr.mjs +2 -0
- package/dist/chunks/cli-1.1.36-rqhp2xt1.mjs +24 -0
- package/dist/chunks/cli-1.1.36-rv222he2.mjs +2 -0
- package/dist/chunks/cli-1.1.36-rwa4g74g.mjs +3 -0
- package/dist/chunks/cli-1.1.36-rwqe4psg.mjs +2 -0
- package/dist/chunks/cli-1.1.36-s8jcsdgb.mjs +16 -0
- package/dist/chunks/cli-1.1.36-s9ar9y3g.mjs +42 -0
- package/dist/chunks/cli-1.1.36-sd51t79y.mjs +2 -0
- package/dist/chunks/cli-1.1.36-ss62b517.mjs +63 -0
- package/dist/chunks/cli-1.1.36-t0ncrwb0.mjs +2 -0
- package/dist/chunks/cli-1.1.36-t6sjxpcb.mjs +251 -0
- package/dist/chunks/cli-1.1.36-tda1q99k.mjs +2 -0
- package/dist/chunks/cli-1.1.36-tvr7rnm0.mjs +2 -0
- package/dist/chunks/cli-1.1.36-v0s0vqmm.mjs +5551 -0
- package/dist/chunks/cli-1.1.36-v5nxnkwj.mjs +2 -0
- package/dist/chunks/cli-1.1.36-vdy55pxe.mjs +2 -0
- package/dist/chunks/cli-1.1.36-vz7m93en.mjs +2 -0
- package/dist/chunks/cli-1.1.36-w1nf9wd0.mjs +10 -0
- package/dist/chunks/cli-1.1.36-w23zxn8g.mjs +2 -0
- package/dist/chunks/cli-1.1.36-wdrt641n.mjs +25 -0
- package/dist/chunks/cli-1.1.36-wdvzyaky.mjs +2 -0
- package/dist/chunks/cli-1.1.36-wfgjsqkk.mjs +2 -0
- package/dist/chunks/cli-1.1.36-wwwj09sw.mjs +2 -0
- package/dist/chunks/cli-1.1.36-x0qqxv1t.mjs +2 -0
- package/dist/chunks/cli-1.1.36-x11fzb6n.mjs +2 -0
- package/dist/chunks/cli-1.1.36-x1761kx6.mjs +2 -0
- package/dist/chunks/cli-1.1.36-xf45p3qr.mjs +2 -0
- package/dist/chunks/cli-1.1.36-xj95r55n.mjs +2 -0
- package/dist/chunks/cli-1.1.36-xs4p38vb.mjs +6 -0
- package/dist/chunks/cli-1.1.36-xvwc8bka.mjs +2 -0
- package/dist/chunks/cli-1.1.36-ya2s1rfy.mjs +18 -0
- package/dist/chunks/cli-1.1.36-yew13j62.mjs +2 -0
- package/dist/chunks/cli-1.1.36-ykz9vwbf.mjs +2 -0
- package/dist/chunks/cli-1.1.36-yrgfywq5.mjs +24 -0
- package/dist/chunks/cli-1.1.36-z5djkbwy.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zax3mr51.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zbn66hn9.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zd032ger.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zeahx79z.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zey2drb2.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zv6ffhhy.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zw8q3z61.mjs +2 -0
- package/dist/chunks/cli-1.1.36-zzpdy0k8.mjs +2 -0
- package/dist/chunks/client-1.1.36-ydq31jce.mjs +1 -0
- package/dist/chunks/color-1.1.36-9fjvayey.mjs +1 -0
- package/dist/chunks/compact-1.1.36-p42ft3yq.mjs +2 -0
- package/dist/chunks/config-1.1.36-42ab04bq.mjs +1 -0
- package/dist/chunks/config-1.1.36-x636yezt.mjs +1 -0
- package/dist/chunks/constants-1.1.36-ba1bvty5.mjs +1 -0
- package/dist/chunks/context-1.1.36-zjvkgfrr.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.36-f5rax1ah.mjs +1 -0
- package/dist/chunks/conversation-1.1.36-jd5867c5.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.36-dg9s10xt.mjs +1 -0
- package/dist/chunks/copy-1.1.36-95ds743c.mjs +9 -0
- package/dist/chunks/cost-1.1.36-vhm8f7tp.mjs +1 -0
- package/dist/chunks/createSession-1.1.36-haxa0dvw.mjs +1 -0
- package/dist/chunks/debug-1.1.36-fvyvxmx1.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.36-24ag19wj.mjs +1458 -0
- package/dist/chunks/desktop-1.1.36-n6x2epmn.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.36-ktxtd4ej.mjs +1 -0
- package/dist/chunks/detection-1.1.36-s8z7d4bm.mjs +1 -0
- package/dist/chunks/diff-1.1.36-0mrzd4kw.mjs +1 -0
- package/dist/chunks/doctor-1.1.36-tta8yrqq.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.36-1j38851d.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.36-rv44jymf.mjs +1 -0
- package/dist/chunks/effort-1.1.36-yd22tc48.mjs +13 -0
- package/dist/chunks/engine-1.1.36-cf09xwf2.mjs +1 -0
- package/dist/chunks/envUtils-1.1.36-e9dd4q6g.mjs +1 -0
- package/dist/chunks/errors-1.1.36-86veg19m.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.36-nmf2s84f.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.36-naz9kbtt.mjs +1 -0
- package/dist/chunks/exit-1.1.36-53t418pg.mjs +1 -0
- package/dist/chunks/explorer-1.1.36-pgghex3j.mjs +1 -0
- package/dist/chunks/export-1.1.36-1ynxg1wb.mjs +2 -0
- package/dist/chunks/fast-1.1.36-f64h2t2k.mjs +1 -0
- package/dist/chunks/feedback-1.1.36-vgb10qbs.mjs +16 -0
- package/dist/chunks/git-1.1.36-f934674g.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.36-f2yec5gh.mjs +1 -0
- package/dist/chunks/goal-1.1.36-yyy0jkwz.mjs +4 -0
- package/dist/chunks/headless-1.1.36-47ts4j1h.mjs +2 -0
- package/dist/chunks/heapdump-1.1.36-hhwpz3jf.mjs +6 -0
- package/dist/chunks/help-1.1.36-zr7z9tga.mjs +1 -0
- package/dist/chunks/hooks-1.1.36-and1agcb.mjs +79 -0
- package/dist/chunks/hooks-1.1.36-qgd5x79v.mjs +1 -0
- package/dist/chunks/ide-1.1.36-afc5wn8q.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.36-ycj021z0.mjs +1 -0
- package/dist/chunks/import-1.1.36-jrjb5s4n.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.36-h1yrtqms.mjs +1 -0
- package/dist/chunks/index-1.1.36-048ng2px.mjs +1 -0
- package/dist/chunks/index-1.1.36-1mbx6axa.mjs +1 -0
- package/dist/chunks/index-1.1.36-1rzdb7w0.mjs +1 -0
- package/dist/chunks/index-1.1.36-312tvs2v.mjs +2 -0
- package/dist/chunks/index-1.1.36-46vz4hm5.mjs +5 -0
- package/dist/chunks/index-1.1.36-4dth0mx8.mjs +1 -0
- package/dist/chunks/index-1.1.36-5bc8t250.mjs +9 -0
- package/dist/chunks/index-1.1.36-6mpk59p2.mjs +1 -0
- package/dist/chunks/index-1.1.36-83wpkv8f.mjs +30 -0
- package/dist/chunks/index-1.1.36-8s1fe47p.mjs +9 -0
- package/dist/chunks/index-1.1.36-95xjkxf6.mjs +1 -0
- package/dist/chunks/index-1.1.36-c90kzpg9.mjs +1 -0
- package/dist/chunks/index-1.1.36-ectpcy01.mjs +1 -0
- package/dist/chunks/index-1.1.36-f33wa99v.mjs +1 -0
- package/dist/chunks/index-1.1.36-fgj4arq3.mjs +23 -0
- package/dist/chunks/index-1.1.36-fr144w7s.mjs +1 -0
- package/dist/chunks/index-1.1.36-keejgmvt.mjs +1 -0
- package/dist/chunks/index-1.1.36-knytd0n4.mjs +1 -0
- package/dist/chunks/index-1.1.36-m21fh89b.mjs +1 -0
- package/dist/chunks/index-1.1.36-n3tpswv4.mjs +1 -0
- package/dist/chunks/index-1.1.36-q6468dg7.mjs +1 -0
- package/dist/chunks/index-1.1.36-svzjvq7t.mjs +1 -0
- package/dist/chunks/index-1.1.36-vpaaz84z.mjs +2 -0
- package/dist/chunks/init-1.1.36-16rj95sf.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.36-xganfz86.mjs +1 -0
- package/dist/chunks/ink-1.1.36-ayvk483m.mjs +1 -0
- package/dist/chunks/insights-1.1.36-0kqbkgbz.mjs +870 -0
- package/dist/chunks/install-1.1.36-3v0b55mh.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.36-6ybyxdq5.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.36-040ssrxp.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.36-2fm0smr3.mjs +1 -0
- package/dist/chunks/latestVersionCache-1.1.36-9fa4kpt8.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.36-t9mhqgv5.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.36-vf3yqk6b.mjs +1 -0
- package/dist/chunks/log-1.1.36-zazc6e80.mjs +1 -0
- package/dist/chunks/main-1.1.36-r3b0ysm4.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.36-nksy6dte.mjs +1 -0
- package/dist/chunks/mcp-1.1.36-7fbqeb90.mjs +17 -0
- package/dist/chunks/mcp-1.1.36-d2df02nr.mjs +4 -0
- package/dist/chunks/mcp-1.1.36-dj3ctzg2.mjs +1 -0
- package/dist/chunks/mcpb-1.1.36-7hcc3bm8.mjs +1 -0
- package/dist/chunks/memory-1.1.36-4h4pw21v.mjs +128 -0
- package/dist/chunks/model-1.1.36-3vvdafvs.mjs +1 -0
- package/dist/chunks/model-1.1.36-pvrxzcbd.mjs +2 -0
- package/dist/chunks/node-1.1.36-xhks7s8w.mjs +15 -0
- package/dist/chunks/node-1.1.36-z1nceabc.mjs +1 -0
- package/dist/chunks/oauth-1.1.36-w0jf6x39.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.36-m75hvh8e.mjs +14 -0
- package/dist/chunks/output-style-1.1.36-c0mgemjb.mjs +1 -0
- package/dist/chunks/package-F6O7J2XI-1.1.36-kfm7v15k.mjs +1 -0
- package/dist/chunks/permissions-1.1.36-20jz1yq3.mjs +3 -0
- package/dist/chunks/permissions-1.1.36-mtf6m3pf.mjs +1 -0
- package/dist/chunks/plan-1.1.36-r2k6ysce.mjs +1 -0
- package/dist/chunks/plist-1.1.36-8vg2xrj2.mjs +1 -0
- package/dist/chunks/plugin-1.1.36-xa4j4bj2.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.36-7bczq621.mjs +1 -0
- package/dist/chunks/plugins-1.1.36-ck8ycs01.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.36-yt9dm2yh.mjs +2 -0
- package/dist/chunks/print-1.1.36-gcmgxxx7.mjs +57 -0
- package/dist/chunks/process-1.1.36-4kdmcjeq.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.36-5tbfja2m.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.36-db99hjpc.mjs +9 -0
- package/dist/chunks/prompt-1.1.36-7qyxemw6.mjs +1 -0
- package/dist/chunks/prompt-1.1.36-tx374tzn.mjs +1 -0
- package/dist/chunks/prompts-1.1.36-gj1pggdg.mjs +1 -0
- package/dist/chunks/provider-1.1.36-d73knpnr.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.36-v0p0gdag.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.36-bzznd00d.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.36-8s9pb6g7.mjs +26 -0
- package/dist/chunks/registry-1.1.36-4bt4ac4z.mjs +1 -0
- package/dist/chunks/release-notes-1.1.36-zbexvzjp.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.36-n8nwygb8.mjs +2 -0
- package/dist/chunks/remote-env-1.1.36-fr8j8hcc.mjs +1 -0
- package/dist/chunks/rename-1.1.36-x06agpgx.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.36-2hp08v6r.mjs +1 -0
- package/dist/chunks/resume-1.1.36-1srfb0q2.mjs +2 -0
- package/dist/chunks/rewind-1.1.36-zkycjr7d.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.36-4m9s4acv.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.36-jbtcynyc.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.36-xrvrh2qp.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.36-2yw8m1jq.mjs +1 -0
- package/dist/chunks/session-1.1.36-dxen3cg6.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.36-dbt045aw.mjs +1 -0
- package/dist/chunks/settings-1.1.36-jb6t4nt2.mjs +1 -0
- package/dist/chunks/setup-1.1.36-7ady6j9j.mjs +12 -0
- package/dist/chunks/sinks-1.1.36-j124tdmn.mjs +1 -0
- package/dist/chunks/skills-1.1.36-wad885e2.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.36-0xnygcy5.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.36-6mvjw2sk.mjs +1 -0
- package/dist/chunks/state-1.1.36-mwqgyp6n.mjs +1 -0
- package/dist/chunks/stats-1.1.36-yzk5t8nc.mjs +1 -0
- package/dist/chunks/status-1.1.36-8b177p6e.mjs +1 -0
- package/dist/chunks/stickers-1.1.36-kdxt4s8f.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.36-g1a43154.mjs +1 -0
- package/dist/chunks/tasks-1.1.36-cnmsc211.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.36-1pwk4n3y.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.36-2stc51nw.mjs +1 -0
- package/dist/chunks/teleport-1.1.36-tdvpgdhd.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.36-agbzd4wd.mjs +1 -0
- package/dist/chunks/theme-1.1.36-2w481ds6.mjs +1 -0
- package/dist/chunks/toolPool-1.1.36-hdw9b8ht.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.36-ccs29nek.mjs +1 -0
- package/dist/chunks/tools-1.1.36-zqsjpqnk.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.36-pwcp7479.mjs +69 -0
- package/dist/chunks/types-1.1.36-bwfasf0g.mjs +1 -0
- package/dist/chunks/update-1.1.36-hzk0xj2g.mjs +72 -0
- package/dist/chunks/upload-1.1.36-mb3a5t01.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.36-x1y5p82n.mjs +14 -0
- package/dist/chunks/usage-1.1.36-qzytaj6z.mjs +1 -0
- package/dist/chunks/util-1.1.36-kb0yef79.mjs +1 -0
- package/dist/chunks/utils-1.1.36-fm3eywyj.mjs +1 -0
- package/dist/chunks/vim-1.1.36-x7adhmdd.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.36-4s334wzz.mjs +13 -0
- package/dist/chunks/wiki-1.1.36-dn9csm8a.mjs +132 -0
- package/dist/chunks/workflows-1.1.36-v5b9khnt.mjs +1 -0
- package/dist/chunks/worktree-1.1.36-cesdwabt.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.36-m20cdekt.mjs +1 -0
- package/dist/chunks/wrapper-1.1.36-1m0td68t.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.35-r3nj6jfs.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.35-8nvhxyw9.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.35-1ywwnh39.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.35-bvk75rww.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.35-1ct3fw8c.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.35-nt22bzb6.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.35-98xrgmtc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.35-k34y3jy9.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.35-nan1wyke.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.35-kt3ng0j6.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.35-k7wnc3v8.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.35-3dp4jb6e.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.35-6pa67bzn.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.35-4sje6bjv.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.35-99y8t1j9.mjs +0 -1
- package/dist/chunks/REPL-1.1.35-0vqh1ns0.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.35-104fszyr.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.35-xcz2dypc.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.35-nfckw5cx.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.35-6528ybrk.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.35-rqncjk99.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.35-0t2d7g7n.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.35-j9d3asbg.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.35-fkjy6sz1.mjs +0 -1
- package/dist/chunks/add-dir-1.1.35-4gh89hh4.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.35-nx5q66t5.mjs +0 -1
- package/dist/chunks/agents-1.1.35-0kyfdt7w.mjs +0 -3
- package/dist/chunks/agents-1.1.35-1vzstv4y.mjs +0 -110
- package/dist/chunks/api-1.1.35-ab0j2x7t.mjs +0 -1
- package/dist/chunks/asciicast-1.1.35-xgjp2wrs.mjs +0 -1
- package/dist/chunks/auth-1.1.35-2fpa9v9f.mjs +0 -1
- package/dist/chunks/auth-1.1.35-deksnwe8.mjs +0 -1
- package/dist/chunks/autoMode-1.1.35-8d2qr79q.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.35-hg5dxv1t.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.35-5pzsrenf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.35-2kythx4m.mjs +0 -1
- package/dist/chunks/branch-1.1.35-tmksh596.mjs +0 -4
- package/dist/chunks/bridge-1.1.35-0za41yjp.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.35-qtvayvc3.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.35-3mhemdrx.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.35-7awverkv.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.35-5gpfg6h4.mjs +0 -1
- package/dist/chunks/btw-1.1.35-6hy8wabr.mjs +0 -1
- package/dist/chunks/buddy-1.1.35-8z3tb1ne.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.35-adn6dpak.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.35-z3268gay.mjs +0 -4
- package/dist/chunks/caches-1.1.35-1qqfgvsm.mjs +0 -1
- package/dist/chunks/cd-1.1.35-vqy7n0x0.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.35-enw3hpss.mjs +0 -1
- package/dist/chunks/claudemd-1.1.35-wsav3shz.mjs +0 -1
- package/dist/chunks/clear-1.1.35-21ry6n0m.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.35-sg808cbp.mjs +0 -1
- package/dist/chunks/cli-1.1.35-02qx9a8j.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0axe3ev5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0feday40.mjs +0 -20
- package/dist/chunks/cli-1.1.35-0p69hr1j.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0qrw70p1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0tc3wmtp.mjs +0 -5
- package/dist/chunks/cli-1.1.35-0vpxr2rk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-0zkzg6at.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1618y169.mjs +0 -2
- package/dist/chunks/cli-1.1.35-18wszrez.mjs +0 -15
- package/dist/chunks/cli-1.1.35-1bzyzrvt.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1ceb2tjb.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1gae8a5m.mjs +0 -2
- package/dist/chunks/cli-1.1.35-1x2wb524.mjs +0 -2
- package/dist/chunks/cli-1.1.35-21w0bna1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-22q1jqqq.mjs +0 -2
- package/dist/chunks/cli-1.1.35-2gxxpyvc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-2sm1x5n8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-2x0m7ewe.mjs +0 -9
- package/dist/chunks/cli-1.1.35-34h7nfzz.mjs +0 -11
- package/dist/chunks/cli-1.1.35-389ej7r1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-38s8y5cf.mjs +0 -2
- package/dist/chunks/cli-1.1.35-3keqk8xr.mjs +0 -2
- package/dist/chunks/cli-1.1.35-3zrjqd93.mjs +0 -2
- package/dist/chunks/cli-1.1.35-41srzc8c.mjs +0 -2
- package/dist/chunks/cli-1.1.35-46bm9f8q.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4d0cm3mc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4d9merys.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4g77zek0.mjs +0 -24
- package/dist/chunks/cli-1.1.35-4kft2wxe.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4njf7z42.mjs +0 -2
- package/dist/chunks/cli-1.1.35-4typvdqe.mjs +0 -2
- package/dist/chunks/cli-1.1.35-589b1qht.mjs +0 -2
- package/dist/chunks/cli-1.1.35-5b39mwe0.mjs +0 -2
- package/dist/chunks/cli-1.1.35-5j12hjjm.mjs +0 -2
- package/dist/chunks/cli-1.1.35-5v115fee.mjs +0 -2
- package/dist/chunks/cli-1.1.35-61gmwbbt.mjs +0 -2
- package/dist/chunks/cli-1.1.35-688xsqg8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-6c4v5dpe.mjs +0 -15
- package/dist/chunks/cli-1.1.35-6nhv8vhv.mjs +0 -2
- package/dist/chunks/cli-1.1.35-6p10e278.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7g4yw92j.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7hfdc6xn.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7mxbj45y.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7mz6cnfb.mjs +0 -6
- package/dist/chunks/cli-1.1.35-7nsr0a6p.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7p1685r1.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7tt5b2wx.mjs +0 -2
- package/dist/chunks/cli-1.1.35-7y74em05.mjs +0 -2
- package/dist/chunks/cli-1.1.35-82ak1wpt.mjs +0 -7
- package/dist/chunks/cli-1.1.35-854kyr9a.mjs +0 -3
- package/dist/chunks/cli-1.1.35-85zb0hfp.mjs +0 -2
- package/dist/chunks/cli-1.1.35-873xb9w7.mjs +0 -2
- package/dist/chunks/cli-1.1.35-8b1qqrev.mjs +0 -135
- package/dist/chunks/cli-1.1.35-8d9f31xx.mjs +0 -2
- package/dist/chunks/cli-1.1.35-8qdvqjz3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-8ttx7y70.mjs +0 -2
- package/dist/chunks/cli-1.1.35-959df5vk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-9817kkw4.mjs +0 -3
- package/dist/chunks/cli-1.1.35-9dkpx812.mjs +0 -2
- package/dist/chunks/cli-1.1.35-9tnc0a3x.mjs +0 -2
- package/dist/chunks/cli-1.1.35-9z4kwrpr.mjs +0 -6
- package/dist/chunks/cli-1.1.35-a7ygtwdr.mjs +0 -5
- package/dist/chunks/cli-1.1.35-a8677mcz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-a9y8qxsj.mjs +0 -6
- package/dist/chunks/cli-1.1.35-an20pj6q.mjs +0 -2
- package/dist/chunks/cli-1.1.35-arj7fm1n.mjs +0 -2
- package/dist/chunks/cli-1.1.35-b0n88pf7.mjs +0 -2
- package/dist/chunks/cli-1.1.35-bbq4frhw.mjs +0 -2
- package/dist/chunks/cli-1.1.35-bhmad6rp.mjs +0 -3
- package/dist/chunks/cli-1.1.35-bka68014.mjs +0 -2
- package/dist/chunks/cli-1.1.35-bq7wadxz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-c05841mj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-c3vqfrj0.mjs +0 -45
- package/dist/chunks/cli-1.1.35-c4thx500.mjs +0 -26
- package/dist/chunks/cli-1.1.35-cj42e7aq.mjs +0 -24
- package/dist/chunks/cli-1.1.35-cjdzbmst.mjs +0 -2
- package/dist/chunks/cli-1.1.35-cjsf2kh3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-cm0anghq.mjs +0 -2
- package/dist/chunks/cli-1.1.35-cp6wwahj.mjs +0 -4
- package/dist/chunks/cli-1.1.35-d6kd2zv5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-d7n85zf2.mjs +0 -2
- package/dist/chunks/cli-1.1.35-da72zgbs.mjs +0 -50
- package/dist/chunks/cli-1.1.35-dfcj4fkz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-dk4f6kgr.mjs +0 -2
- package/dist/chunks/cli-1.1.35-dnacc640.mjs +0 -252
- package/dist/chunks/cli-1.1.35-dw3fv0g8.mjs +0 -60
- package/dist/chunks/cli-1.1.35-dwaz1jv4.mjs +0 -2
- package/dist/chunks/cli-1.1.35-e08b8j98.mjs +0 -18
- package/dist/chunks/cli-1.1.35-eqcgyqke.mjs +0 -39
- package/dist/chunks/cli-1.1.35-ewtk80cp.mjs +0 -3
- package/dist/chunks/cli-1.1.35-f6sa351s.mjs +0 -5
- package/dist/chunks/cli-1.1.35-f8jgxvev.mjs +0 -2
- package/dist/chunks/cli-1.1.35-fgkpe9g9.mjs +0 -2
- package/dist/chunks/cli-1.1.35-fjtf9x1v.mjs +0 -2
- package/dist/chunks/cli-1.1.35-fr8gap0y.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ftvtbdm6.mjs +0 -4
- package/dist/chunks/cli-1.1.35-fwyc7v71.mjs +0 -7
- package/dist/chunks/cli-1.1.35-fz50q22a.mjs +0 -2
- package/dist/chunks/cli-1.1.35-g2vg6fw2.mjs +0 -2
- package/dist/chunks/cli-1.1.35-g7086zkj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-g74y15na.mjs +0 -2
- package/dist/chunks/cli-1.1.35-gcjyc9x3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-gr966v4t.mjs +0 -2
- package/dist/chunks/cli-1.1.35-h06ng57d.mjs +0 -2
- package/dist/chunks/cli-1.1.35-h262sgvd.mjs +0 -4
- package/dist/chunks/cli-1.1.35-h71ph12s.mjs +0 -2
- package/dist/chunks/cli-1.1.35-h7qpm4z8.mjs +0 -3
- package/dist/chunks/cli-1.1.35-hm1wpf1w.mjs +0 -2
- package/dist/chunks/cli-1.1.35-htvjtg4f.mjs +0 -2
- package/dist/chunks/cli-1.1.35-hwphkmp4.mjs +0 -2
- package/dist/chunks/cli-1.1.35-hy9jtbmb.mjs +0 -5570
- package/dist/chunks/cli-1.1.35-hyqzaskn.mjs +0 -2
- package/dist/chunks/cli-1.1.35-j1ypjsz5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-j7xxkgf1.mjs +0 -133
- package/dist/chunks/cli-1.1.35-jajp8grw.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jdqn8gkp.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jfzp91gv.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jn52m495.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jq1wvnwe.mjs +0 -17
- package/dist/chunks/cli-1.1.35-jrexyjt9.mjs +0 -2
- package/dist/chunks/cli-1.1.35-jvhs6ypf.mjs +0 -10
- package/dist/chunks/cli-1.1.35-jx42cnmn.mjs +0 -15
- package/dist/chunks/cli-1.1.35-k6jh38a3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kbrngf5h.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kcgcs2dj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kdw3m4z1.mjs +0 -25
- package/dist/chunks/cli-1.1.35-kh8s6rf2.mjs +0 -4
- package/dist/chunks/cli-1.1.35-kkhrpw6q.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kp2hgrdb.mjs +0 -24
- package/dist/chunks/cli-1.1.35-ktb8z2s9.mjs +0 -3
- package/dist/chunks/cli-1.1.35-kvw88dmk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-kz5tydkv.mjs +0 -2
- package/dist/chunks/cli-1.1.35-m20xytkt.mjs +0 -2
- package/dist/chunks/cli-1.1.35-m6efjk78.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ma6czbht.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ms3xdp4c.mjs +0 -42
- package/dist/chunks/cli-1.1.35-ms5g0jwj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-nahyfraf.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ne21zedp.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ngg53c9c.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pa3rjff6.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pgcrgrc3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pms9wnd8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pr69kkhz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-prf6sjs7.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ps66nanc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-pycaqt81.mjs +0 -2
- package/dist/chunks/cli-1.1.35-q1axe4bk.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qb0eb8th.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qbahm5cg.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qgjs5ex0.mjs +0 -7
- package/dist/chunks/cli-1.1.35-qnfq8bw4.mjs +0 -4
- package/dist/chunks/cli-1.1.35-qvdpj1qb.mjs +0 -2
- package/dist/chunks/cli-1.1.35-qxj39xzd.mjs +0 -8
- package/dist/chunks/cli-1.1.35-qygaywxg.mjs +0 -34
- package/dist/chunks/cli-1.1.35-r4rm2297.mjs +0 -4
- package/dist/chunks/cli-1.1.35-r80cjbt8.mjs +0 -2
- package/dist/chunks/cli-1.1.35-rmfsk9nw.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s05wj44h.mjs +0 -3
- package/dist/chunks/cli-1.1.35-s066wwsj.mjs +0 -3
- package/dist/chunks/cli-1.1.35-s367nd6g.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s3d0nchc.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s6n3pb03.mjs +0 -2
- package/dist/chunks/cli-1.1.35-s85hd24a.mjs +0 -16
- package/dist/chunks/cli-1.1.35-sg0tga4d.mjs +0 -2
- package/dist/chunks/cli-1.1.35-swxcv3xf.mjs +0 -6
- package/dist/chunks/cli-1.1.35-szkn08rr.mjs +0 -2
- package/dist/chunks/cli-1.1.35-t2vx6b45.mjs +0 -17
- package/dist/chunks/cli-1.1.35-t5kexs8c.mjs +0 -6
- package/dist/chunks/cli-1.1.35-t8c5b3qj.mjs +0 -4
- package/dist/chunks/cli-1.1.35-ta15z2yx.mjs +0 -10
- package/dist/chunks/cli-1.1.35-tsrq3cxy.mjs +0 -2
- package/dist/chunks/cli-1.1.35-tsx8c30n.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ve889dy8.mjs +0 -3
- package/dist/chunks/cli-1.1.35-w1mzdb9s.mjs +0 -2
- package/dist/chunks/cli-1.1.35-w6kgq9n5.mjs +0 -2
- package/dist/chunks/cli-1.1.35-w73x0912.mjs +0 -2
- package/dist/chunks/cli-1.1.35-w9wzew2x.mjs +0 -4
- package/dist/chunks/cli-1.1.35-wmcp8vyj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-wpa5rfnt.mjs +0 -12
- package/dist/chunks/cli-1.1.35-wtjyzsga.mjs +0 -2
- package/dist/chunks/cli-1.1.35-ww28b5vj.mjs +0 -2
- package/dist/chunks/cli-1.1.35-x5ft52g3.mjs +0 -2
- package/dist/chunks/cli-1.1.35-xbhjhs1c.mjs +0 -3
- package/dist/chunks/cli-1.1.35-xdzsf38z.mjs +0 -2
- package/dist/chunks/cli-1.1.35-xs5mj8ee.mjs +0 -21
- package/dist/chunks/cli-1.1.35-y6bdqv7z.mjs +0 -2
- package/dist/chunks/cli-1.1.35-y6xhcehv.mjs +0 -25
- package/dist/chunks/cli-1.1.35-yns1ngnz.mjs +0 -2
- package/dist/chunks/cli-1.1.35-yta9zrj6.mjs +0 -2
- package/dist/chunks/cli-1.1.35-zbz78cha.mjs +0 -9
- package/dist/chunks/cli-1.1.35-zf7zq3kb.mjs +0 -63
- package/dist/chunks/client-1.1.35-2j9sd0sg.mjs +0 -1
- package/dist/chunks/color-1.1.35-nf9dqw3m.mjs +0 -1
- package/dist/chunks/compact-1.1.35-h8mqxxs0.mjs +0 -2
- package/dist/chunks/config-1.1.35-7t0vfbst.mjs +0 -1
- package/dist/chunks/config-1.1.35-cfhvn2fq.mjs +0 -1
- package/dist/chunks/constants-1.1.35-kst22e3x.mjs +0 -1
- package/dist/chunks/context-1.1.35-2nc26t9y.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.35-0ym77q3t.mjs +0 -1
- package/dist/chunks/conversation-1.1.35-0q4g6qt8.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.35-7a5mc98p.mjs +0 -1
- package/dist/chunks/copy-1.1.35-n37rvhzj.mjs +0 -9
- package/dist/chunks/cost-1.1.35-hjmwjk6s.mjs +0 -1
- package/dist/chunks/createSession-1.1.35-v7c15fc8.mjs +0 -1
- package/dist/chunks/debug-1.1.35-2hf8mhst.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.35-15jcbncs.mjs +0 -1480
- package/dist/chunks/desktop-1.1.35-6w6gjpff.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.35-eztj0q3f.mjs +0 -1
- package/dist/chunks/detection-1.1.35-rfkb2dxe.mjs +0 -1
- package/dist/chunks/diff-1.1.35-xb27tkcx.mjs +0 -1
- package/dist/chunks/doctor-1.1.35-ddg564v7.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.35-1gfkz0p1.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.35-5wsb4bkz.mjs +0 -1
- package/dist/chunks/effort-1.1.35-r53ttmc3.mjs +0 -13
- package/dist/chunks/engine-1.1.35-xthhbk9w.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.35-t6narn79.mjs +0 -1
- package/dist/chunks/envUtils-1.1.35-t6yq14ba.mjs +0 -1
- package/dist/chunks/errors-1.1.35-6m0kryy5.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.35-c7dhfj0z.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.35-39xh2ycx.mjs +0 -1
- package/dist/chunks/exit-1.1.35-zc8g5mnv.mjs +0 -1
- package/dist/chunks/explorer-1.1.35-784hbx9r.mjs +0 -1
- package/dist/chunks/export-1.1.35-5q6zdykx.mjs +0 -2
- package/dist/chunks/fast-1.1.35-fpsnnadp.mjs +0 -1
- package/dist/chunks/feedback-1.1.35-mdm8easg.mjs +0 -16
- package/dist/chunks/git-1.1.35-j2med41y.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.35-4xzf0z5w.mjs +0 -1
- package/dist/chunks/goal-1.1.35-yp44rshy.mjs +0 -4
- package/dist/chunks/headless-1.1.35-rxvrbe58.mjs +0 -2
- package/dist/chunks/heapdump-1.1.35-xkthm0kj.mjs +0 -6
- package/dist/chunks/help-1.1.35-6ppc7eee.mjs +0 -1
- package/dist/chunks/hooks-1.1.35-0e80c1wz.mjs +0 -79
- package/dist/chunks/hooks-1.1.35-f791gbgk.mjs +0 -1
- package/dist/chunks/ide-1.1.35-pz8m36fj.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.35-56y5k454.mjs +0 -1
- package/dist/chunks/import-1.1.35-fcn1y643.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.35-n6b7ppqk.mjs +0 -1
- package/dist/chunks/index-1.1.35-434cwyrk.mjs +0 -1
- package/dist/chunks/index-1.1.35-4ngbsgjz.mjs +0 -1
- package/dist/chunks/index-1.1.35-7nsjazx1.mjs +0 -1
- package/dist/chunks/index-1.1.35-8rnbf6ea.mjs +0 -1
- package/dist/chunks/index-1.1.35-e5amgccf.mjs +0 -1
- package/dist/chunks/index-1.1.35-eejex06g.mjs +0 -5
- package/dist/chunks/index-1.1.35-epm25vr2.mjs +0 -9
- package/dist/chunks/index-1.1.35-jxpschvm.mjs +0 -1
- package/dist/chunks/index-1.1.35-mdgw0byv.mjs +0 -9
- package/dist/chunks/index-1.1.35-n36e4pzf.mjs +0 -1
- package/dist/chunks/index-1.1.35-nnrmrgn5.mjs +0 -30
- package/dist/chunks/index-1.1.35-p1fttaxb.mjs +0 -1
- package/dist/chunks/index-1.1.35-p3ttta20.mjs +0 -1
- package/dist/chunks/index-1.1.35-pjz1v5fa.mjs +0 -1
- package/dist/chunks/index-1.1.35-pqswr512.mjs +0 -23
- package/dist/chunks/index-1.1.35-q464ks4t.mjs +0 -1
- package/dist/chunks/index-1.1.35-r5cefbke.mjs +0 -2
- package/dist/chunks/index-1.1.35-rf0z1h76.mjs +0 -1
- package/dist/chunks/index-1.1.35-wg3dwx0w.mjs +0 -2
- package/dist/chunks/index-1.1.35-xcm76j0n.mjs +0 -1
- package/dist/chunks/index-1.1.35-y7q90201.mjs +0 -1
- package/dist/chunks/index-1.1.35-y9scvznb.mjs +0 -1
- package/dist/chunks/index-1.1.35-yy5qsdz8.mjs +0 -1
- package/dist/chunks/init-1.1.35-hawgzj6s.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.35-aee08exn.mjs +0 -1
- package/dist/chunks/ink-1.1.35-9vhjhx60.mjs +0 -1
- package/dist/chunks/insights-1.1.35-2782qak6.mjs +0 -870
- package/dist/chunks/install-1.1.35-nptjkfk3.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.35-v4ahg5m0.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.35-rc6ch1k0.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.35-1755rb8a.mjs +0 -1
- package/dist/chunks/keybindings-1.1.35-9qz4bvrq.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.35-ff7kd1x3.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.35-nwtm30nv.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.35-jxqkv874.mjs +0 -1
- package/dist/chunks/log-1.1.35-h5x69tbw.mjs +0 -1
- package/dist/chunks/main-1.1.35-1e6064ax.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.35-s6143dpv.mjs +0 -1
- package/dist/chunks/mcp-1.1.35-0tswravz.mjs +0 -1
- package/dist/chunks/mcp-1.1.35-bdv2pgpj.mjs +0 -17
- package/dist/chunks/mcp-1.1.35-khngfse0.mjs +0 -4
- package/dist/chunks/mcpb-1.1.35-p4jn8q66.mjs +0 -1
- package/dist/chunks/memory-1.1.35-zvk9c80b.mjs +0 -128
- package/dist/chunks/model-1.1.35-j8hp9tcm.mjs +0 -1
- package/dist/chunks/model-1.1.35-mb41ksj1.mjs +0 -2
- package/dist/chunks/node-1.1.35-312s6waw.mjs +0 -1
- package/dist/chunks/node-1.1.35-zzk2fc7x.mjs +0 -15
- package/dist/chunks/oauth-1.1.35-2pwvpgey.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.35-6gbm01ym.mjs +0 -14
- package/dist/chunks/output-style-1.1.35-gbk18883.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.35-0z3efknf.mjs +0 -1
- package/dist/chunks/permissions-1.1.35-c11nnhp0.mjs +0 -3
- package/dist/chunks/permissions-1.1.35-vqtbrznv.mjs +0 -1
- package/dist/chunks/plan-1.1.35-5nz3m4kh.mjs +0 -1
- package/dist/chunks/plist-1.1.35-4bd0g91w.mjs +0 -1
- package/dist/chunks/plugin-1.1.35-0tg6jzxg.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.35-z1parxqs.mjs +0 -1
- package/dist/chunks/plugins-1.1.35-z14pz0dr.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.35-9dyzn96j.mjs +0 -2
- package/dist/chunks/print-1.1.35-89rm2txf.mjs +0 -57
- package/dist/chunks/process-1.1.35-7x8d7kyn.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.35-hj8xz358.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.35-egejjqfw.mjs +0 -9
- package/dist/chunks/prompt-1.1.35-aaz8q4j6.mjs +0 -1
- package/dist/chunks/prompt-1.1.35-f3fackax.mjs +0 -1
- package/dist/chunks/prompts-1.1.35-58wwfjfd.mjs +0 -1
- package/dist/chunks/provider-1.1.35-xwj158q8.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.35-6wzwgty6.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.35-z9h8ampz.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.35-7ewvmysm.mjs +0 -26
- package/dist/chunks/registry-1.1.35-y4zandg8.mjs +0 -1
- package/dist/chunks/release-notes-1.1.35-s31rkdxh.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.35-18xd3nwy.mjs +0 -2
- package/dist/chunks/remote-env-1.1.35-0v4tk5np.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.35-ev420056.mjs +0 -1
- package/dist/chunks/rename-1.1.35-m8chhebj.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.35-483j4br6.mjs +0 -1
- package/dist/chunks/resume-1.1.35-vaxxp18n.mjs +0 -2
- package/dist/chunks/rewind-1.1.35-scs8763b.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.35-9j5y8k9x.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.35-zjy5t791.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.35-qrmypwca.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.35-c2k8p98n.mjs +0 -1
- package/dist/chunks/session-1.1.35-78ew080a.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.35-0tyr8wn3.mjs +0 -1
- package/dist/chunks/settings-1.1.35-808m5j14.mjs +0 -1
- package/dist/chunks/setup-1.1.35-ebpewe9s.mjs +0 -12
- package/dist/chunks/sinks-1.1.35-nj35kk9h.mjs +0 -1
- package/dist/chunks/skills-1.1.35-zczajd48.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.35-wa5psc2j.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.35-0wac30ap.mjs +0 -1
- package/dist/chunks/state-1.1.35-gcp827qz.mjs +0 -1
- package/dist/chunks/stats-1.1.35-f1kndsge.mjs +0 -1
- package/dist/chunks/status-1.1.35-gwtdrkx2.mjs +0 -1
- package/dist/chunks/stickers-1.1.35-fa69zd3v.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.35-8wsc86ft.mjs +0 -1
- package/dist/chunks/tasks-1.1.35-0wd1t6v2.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.35-13qqfhxa.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.35-wdbfsm1h.mjs +0 -1
- package/dist/chunks/teleport-1.1.35-tmhzqx90.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.35-6xq5nt25.mjs +0 -1
- package/dist/chunks/theme-1.1.35-4b6gd2dx.mjs +0 -1
- package/dist/chunks/thinkback-1.1.35-x88djqdz.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.35-g6n14rjh.mjs +0 -1
- package/dist/chunks/toolPool-1.1.35-0qd67zrc.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.35-54dpcvf8.mjs +0 -1
- package/dist/chunks/tools-1.1.35-3hjsc7mm.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.35-szkdvqcz.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.35-4azkv4s5.mjs +0 -69
- package/dist/chunks/types-1.1.35-ncfe8wzg.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.35-d271ddpn.mjs +0 -4
- package/dist/chunks/update-1.1.35-5zabq625.mjs +0 -72
- package/dist/chunks/upload-1.1.35-gey82edy.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.35-bbztgd01.mjs +0 -14
- package/dist/chunks/usage-1.1.35-sx2ahz77.mjs +0 -1
- package/dist/chunks/util-1.1.35-aph6a5hy.mjs +0 -1
- package/dist/chunks/utils-1.1.35-avpezj08.mjs +0 -1
- package/dist/chunks/vim-1.1.35-e0jh10q6.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.35-baxd01b0.mjs +0 -13
- package/dist/chunks/wiki-1.1.35-cns1572n.mjs +0 -132
- package/dist/chunks/workflows-1.1.35-0r21887z.mjs +0 -1
- package/dist/chunks/worktree-1.1.35-0mj24by3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.35-6ej7pdyw.mjs +0 -1
- package/dist/chunks/wrapper-1.1.35-fpcy8t3v.mjs +0 -7
- /package/dist/chunks/{cli-1.1.35-hnqagxgk.mjs → cli-1.1.36-6kq395h8.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A9 as Vt,B9 as Wt,D9 as Yt,E9 as Jt,F9 as Kt,G9 as Xt,H9 as Ct,I9 as ft,J9 as Ft,K9 as $t,L9 as uo,M9 as Oo,m9 as w,n9 as so,o9 as no,p9 as co,q9 as ce,r9 as Rt,s9 as Rr,t9 as ao,u9 as _e,v9 as po,w9 as lo,x9 as ge,y9 as h,z9 as vr}from"./cli-1.1.35-0feday40.mjs";import{N9 as Ye}from"./cli-1.1.35-s05wj44h.mjs";import{Q9 as Tt,R9 as Bt}from"./cli-1.1.35-2x0m7ewe.mjs";import{Lra as Lt}from"./cli-1.1.35-h262sgvd.mjs";import{Nra as xe}from"./cli-1.1.35-t2vx6b45.mjs";import{Vra as v}from"./cli-1.1.35-c05841mj.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();
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A9 as pr,B9 as _r,D9 as Er,E9 as Sr,F9 as Rr,G9 as xr,H9 as vr,I9 as Kt,J9 as kt,K9 as er,L9 as Ur,M9 as Mr,m9 as F,n9 as Nr,o9 as Dr,p9 as br,q9 as Ge,r9 as Zt,s9 as Et,t9 as $r,u9 as Is,v9 as Ar,w9 as Fr,x9 as hs,y9 as G,z9 as tt}from"./cli-1.1.35-0feday40.mjs";import{N9 as ps}from"./cli-1.1.35-s05wj44h.mjs";import{O9 as we}from"./cli-1.1.35-yns1ngnz.mjs";import{Q9 as dr,R9 as Z,S9 as Ce}from"./cli-1.1.35-2x0m7ewe.mjs";import{Lra as ir}from"./cli-1.1.35-h262sgvd.mjs";import{Nra as Xe}from"./cli-1.1.35-t2vx6b45.mjs";import{Tra as ge,Vra as S,Xra as no,Yra as X}from"./cli-1.1.35-c05841mj.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.35-q464ks4t.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.35-q464ks4t.mjs").then((m)=>ge(m.default));return(await Bs(s,t,o)).send(new r({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))},Pe=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new p.TokenProviderError(`Token is expired. ${K}`,!1)},h=(e,s,t=!1)=>{if(typeof s>"u")throw new p.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${K}`,!1)},{writeFile:Qs}=zs.promises,Js=(e,s)=>{let t=w.getSSOTokenFilepath(e),o=JSON.stringify(s,null,2);return Qs(t,o)},ye=new Date(0),Ne=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let t=await w.parseKnownFiles(e),o=w.getProfileName({profile:e.profile??s?.profile}),r=t[o];if(!r)throw new p.TokenProviderError(`Profile '${o}' could not be found in shared credentials file.`,!1);else if(!r.sso_session)throw new p.TokenProviderError(`Profile '${o}' is missing required property 'sso_session'.`);let n=r.sso_session,_=(await w.loadSsoSessionData(e))[n];if(!_)throw new p.TokenProviderError(`Sso session '${n}' could not be found in shared credentials file.`,!1);for(let a of["sso_start_url","sso_region"])if(!_[a])throw new p.TokenProviderError(`Sso session '${n}' is missing required property '${a}'.`,!1);_.sso_start_url;let d=_.sso_region,l;try{l=await w.getSSOTokenFromFile(n)}catch(a){throw new p.TokenProviderError(`The SSO session token associated with profile=${o} was not found or is invalid. ${K}`,!1)}h("accessToken",l.accessToken),h("expiresAt",l.expiresAt);let{accessToken:u,expiresAt:C}=l,x={token:u,expiration:new Date(C)};if(x.expiration.getTime()-Date.now()>Vs)return x;if(Date.now()-ye.getTime()<30000)return Pe(x),x;h("clientId",l.clientId,!0),h("clientSecret",l.clientSecret,!0),h("refreshToken",l.refreshToken,!0);try{ye.setTime(Date.now());let a=await Ys(l,d,e,s);h("accessToken",a.accessToken),h("expiresIn",a.expiresIn);let v=new Date(Date.now()+a.expiresIn*1000);try{await Js(n,{...l,accessToken:a.accessToken,expiresAt:v.toISOString(),refreshToken:a.refreshToken})}catch(J){}return{token:a.accessToken,expiration:v}}catch(a){return Pe(x),x}},Ws=({token:e,logger:s})=>async()=>{if(s?.debug("@aws-sdk/token-providers - fromStatic"),!e||!e.token)throw new p.TokenProviderError("Please pass a valid token to fromStatic",!1);return e},Xs=(e={})=>p.memoize(p.chain(Ne(e),async()=>{throw new p.TokenProviderError("Could not load token from any providers",!1)}),(s)=>s.expiration!==void 0&&s.expiration.getTime()-Date.now()<300000,(s)=>s.expiration!==void 0);Zs.fromEnvSigningName=Hs;Zs.fromSso=Ne;Zs.fromStatic=Ws;Zs.nodeProvider=Xs});var ee=S((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveHttpAuthSchemeConfig=be.defaultSSOHttpAuthSchemeProvider=be.defaultSSOHttpAuthSchemeParametersProvider=void 0;var rt=F(),k=tt(),ot=async(e,s,t)=>{return{operation:(0,k.getSmithyContext)(s).operation,region:await(0,k.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};be.defaultSSOHttpAuthSchemeParametersProvider=ot;function nt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(s,t)=>({signingProperties:{config:s,context:t}})}}function at(e){return{schemeId:"smithy.api#noAuth"}}var ct=(e)=>{let s=[];switch(e.operation){case"GetRoleCredentials":{s.push(at(e));break}default:s.push(nt(e))}return s};be.defaultSSOHttpAuthSchemeProvider=ct;var lt=(e)=>{let s=(0,rt.resolveAwsSdkSigV4Config)(e);return Object.assign(s,{authSchemePreference:(0,k.normalizeProvider)(e.authSchemePreference??[])})};be.resolveHttpAuthSchemeConfig=lt});var Te=S((je)=>{Object.defineProperty(je,"__esModule",{value:!0});je.bdd=void 0;var dt=Ge(),N="ref",f=-1,U=!0,Ae="isSet",me="PartitionResult",M="booleanEquals",se="getAttr",Fe={[N]:"Endpoint"},te={[N]:me},g={},Ue=[{[N]:"Region"}],Me={conditions:[[Ae,[Fe]],[Ae,Ue],["aws.partition",Ue,me],[M,[{[N]:"UseFIPS"},U]],[M,[{[N]:"UseDualStack"},U]],[M,[{fn:se,argv:[te,"supportsDualStack"]},U]],[M,[{fn:se,argv:[te,"supportsFIPS"]},U]],["stringEquals",[{fn:se,argv:[te,"name"]},"aws-us-gov"]]],results:[[f],[f,"Invalid Configuration: FIPS and custom endpoint are not supported"],[f,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Fe,g],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",g],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",g],[f,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",g],[f,"Invalid Configuration: Missing Region"]]},pt=2,i=1e8,_t=new Int32Array([-1,1,-1,0,13,3,1,4,i+12,2,5,i+12,3,8,6,4,7,i+11,5,i+9,i+10,4,11,9,6,10,i+8,7,i+6,i+7,5,12,i+5,6,i+4,i+5,3,i+1,14,4,i+2,i+3]);je.bdd=dt.BinaryDecisionDiagram.from(_t,pt,Me.conditions,Me.results)});var Ve=S((ze)=>{Object.defineProperty(ze,"__esModule",{value:!0});ze.defaultEndpointResolver=void 0;var St=Et(),re=Ge(),Rt=Te(),xt=new re.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),vt=(e,s={})=>{return xt.get(e,()=>(0,re.decideEndpoint)(Rt.bdd,{endpointParams:e,logger:s.logger}))};ze.defaultEndpointResolver=vt;re.customEndpointFunctions.aws=St.awsEndpointFunctions});var m=S((ne)=>{Object.defineProperty(ne,"__esModule",{value:!0});ne.SSOServiceException=ne.__ServiceException=void 0;var Be=G();Object.defineProperty(ne,"__ServiceException",{enumerable:!0,get:function(){return Be.ServiceException}});class oe extends Be.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,oe.prototype)}}ne.SSOServiceException=oe});var ie=S((Qe)=>{Object.defineProperty(Qe,"__esModule",{value:!0});Qe.UnauthorizedException=Qe.TooManyRequestsException=Qe.ResourceNotFoundException=Qe.InvalidRequestException=void 0;var j=m();class ae extends j.SSOServiceException{name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,ae.prototype)}}Qe.InvalidRequestException=ae;class ce extends j.SSOServiceException{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ce.prototype)}}Qe.ResourceNotFoundException=ce;class le extends j.SSOServiceException{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,le.prototype)}}Qe.TooManyRequestsException=le;class ue extends j.SSOServiceException{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,ue.prototype)}}Qe.UnauthorizedException=ue});var de=S((es)=>{Object.defineProperty(es,"__esModule",{value:!0});es.GetRoleCredentials$=es.RoleCredentials$=es.GetRoleCredentialsResponse$=es.GetRoleCredentialsRequest$=es.errorTypeRegistries=es.UnauthorizedException$=es.TooManyRequestsException$=es.ResourceNotFoundException$=es.InvalidRequestException$=es.SSOServiceException$=void 0;var ft="AccessTokenType",qt="GetRoleCredentials",Pt="GetRoleCredentialsRequest",yt="GetRoleCredentialsResponse",gt="InvalidRequestException",Ct="RoleCredentials",wt="ResourceNotFoundException",Nt="SecretAccessKeyType",Dt="SessionTokenType",bt="TooManyRequestsException",$t="UnauthorizedException",At="accountId",Ft="accessKeyId",Ut="accessToken",Mt="account_id",L="client",T="error",Gt="expiration",mt="http",z="httpError",jt="httpHeader",We="httpQuery",H="message",Lt="roleCredentials",Tt="roleName",zt="role_name",Ze="smithy.ts.sdk.synthetic.com.amazonaws.sso",Ht="secretAccessKey",Vt="sessionToken",Bt="x-amz-sso_bearer_token",E="com.amazonaws.sso",Ke=Xe(),V=ie(),Yt=m(),ke=Ke.TypeRegistry.for(Ze);es.SSOServiceException$=[-3,Ze,"SSOServiceException",0,[],[]];ke.registerError(es.SSOServiceException$,Yt.SSOServiceException);var D=Ke.TypeRegistry.for(E);es.InvalidRequestException$=[-3,E,gt,{[T]:L,[z]:400},[H],[0]];D.registerError(es.InvalidRequestException$,V.InvalidRequestException);es.ResourceNotFoundException$=[-3,E,wt,{[T]:L,[z]:404},[H],[0]];D.registerError(es.ResourceNotFoundException$,V.ResourceNotFoundException);es.TooManyRequestsException$=[-3,E,bt,{[T]:L,[z]:429},[H],[0]];D.registerError(es.TooManyRequestsException$,V.TooManyRequestsException);es.UnauthorizedException$=[-3,E,$t,{[T]:L,[z]:401},[H],[0]];D.registerError(es.UnauthorizedException$,V.UnauthorizedException);es.errorTypeRegistries=[ke,D];var Qt=[0,E,ft,8,0],Jt=[0,E,Nt,8,0],Wt=[0,E,Dt,8,0];es.GetRoleCredentialsRequest$=[3,E,Pt,0,[Tt,At,Ut],[[0,{[We]:zt}],[0,{[We]:Mt}],[()=>Qt,{[jt]:Bt}]],3];es.GetRoleCredentialsResponse$=[3,E,yt,0,[Lt],[[()=>es.RoleCredentials$,0]]];es.RoleCredentials$=[3,E,Ct,0,[Ft,Ht,Vt,Gt],[0,[()=>Jt,0],[()=>Wt,0],1]];es.GetRoleCredentials$=[9,E,qt,{[mt]:["GET","/federation/credentials",200]},()=>es.GetRoleCredentialsRequest$,()=>es.GetRoleCredentialsResponse$]});var Ss=S((_s)=>{Object.defineProperty(_s,"__esModule",{value:!0});_s.getRuntimeConfig=void 0;var sr=F(),tr=kt(),rr=ps(),or=G(),nr=Zt(),is=er(),ds=Kt(),ar=ee(),cr=Ve(),lr=de(),ur=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??is.fromBase64,base64Encoder:e?.base64Encoder??is.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??cr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ar.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new sr.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new rr.NoAuthSigner}],logger:e?.logger??new or.NoOpLogger,protocol:e?.protocol??tr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:lr.errorTypeRegistries,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??nr.parseUrl,utf8Decoder:e?.utf8Decoder??ds.fromUtf8,utf8Encoder:e?.utf8Encoder??ds.toUtf8}};_s.getRuntimeConfig=ur});var Ps=S((fs)=>{Object.defineProperty(fs,"__esModule",{value:!0});fs.getRuntimeConfig=void 0;var Or=pr(),Ir=Or.__importDefault(_r()),hr=Z(),fr=F(),Rs=Er(),B=Is(),qr=Sr(),xs=hs(),q=Rr(),vs=ir(),Os=G(),Pr=xr(),yr=vr(),gr=dr(),Cr=Ss(),wr=(e)=>{(0,Os.emitWarningIfUnsupportedVersion)(process.version);let s=(0,yr.resolveDefaultsModeConfig)(e),t=()=>s().then(Os.loadConfigsForDefaultMode),o=(0,Cr.getRuntimeConfig)(e);(0,hr.emitWarningIfUnsupportedVersion)(process.version);let r={profile:e?.profile,logger:o.logger};return{...o,...e,runtime:"node",defaultsMode:s,authSchemePreference:e?.authSchemePreference??(0,q.loadConfig)(fr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,r),bodyLengthChecker:e?.bodyLengthChecker??Pr.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Rs.createDefaultUserAgentProvider)({serviceId:o.serviceId,clientVersion:Ir.default.version}),maxAttempts:e?.maxAttempts??(0,q.loadConfig)(xs.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,q.loadConfig)(B.NODE_REGION_CONFIG_OPTIONS,{...B.NODE_REGION_CONFIG_FILE_OPTIONS,...r}),requestHandler:vs.NodeHttpHandler.create(e?.requestHandler??t),retryMode:e?.retryMode??(0,q.loadConfig)({...xs.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??qr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??vs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,q.loadConfig)(B.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,r),useFipsEndpoint:e?.useFipsEndpoint??(0,q.loadConfig)(B.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,r),userAgentAppId:e?.userAgentAppId??(0,q.loadConfig)(Rs.NODE_APP_ID_CONFIG_OPTIONS,r)}};fs.getRuntimeConfig=wr});var $s=S((O)=>{var ys=Nr(),Gr=Dr(),mr=br(),gs=$r(),jr=Is(),pe=ps(),Lr=Xe(),Tr=Ar(),bs=Fr(),Cs=hs(),P=G(),ws=ee(),zr=Ps(),Ns=Ur(),Ds=Mr(),b=de(),Y=ie(),Hr=m(),Vr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Br={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Yr=(e)=>{let{httpAuthSchemes:s,httpAuthSchemeProvider:t,credentials:o}=e;return{setHttpAuthScheme(r){let n=s.findIndex((c)=>c.schemeId===r.schemeId);if(n===-1)s.push(r);else s.splice(n,1,r)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(r){t=r},httpAuthSchemeProvider(){return t},setCredentials(r){o=r},credentials(){return o}}},Qr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},Jr=(e,s)=>{let t=Object.assign(Ns.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),Ds.getHttpHandlerExtensionConfiguration(e),Yr(e));return s.forEach((o)=>o.configure(t)),Object.assign(e,Ns.resolveAwsRegionExtensionConfiguration(t),P.resolveDefaultRuntimeConfig(t),Ds.resolveHttpHandlerRuntimeConfig(t),Qr(t))};class _e extends P.Client{config;constructor(...[e]){let s=zr.getRuntimeConfig(e||{});super(s);this.initConfig=s;let t=Vr(s),o=gs.resolveUserAgentConfig(t),r=Cs.resolveRetryConfig(o),n=jr.resolveRegionConfig(r),c=ys.resolveHostHeaderConfig(n),_=bs.resolveEndpointConfig(c),d=ws.resolveHttpAuthSchemeConfig(_),l=Jr(d,e?.extensions||[]);this.config=l,this.middlewareStack.use(Lr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(gs.getUserAgentPlugin(this.config)),this.middlewareStack.use(Cs.getRetryPlugin(this.config)),this.middlewareStack.use(Tr.getContentLengthPlugin(this.config)),this.middlewareStack.use(ys.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Gr.getLoggerPlugin(this.config)),this.middlewareStack.use(mr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(pe.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ws.defaultSSOHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(u)=>new pe.DefaultIdentityProviderConfig({"aws.auth#sigv4":u.credentials})})),this.middlewareStack.use(pe.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Ee extends P.Command.classBuilder().ep(Br).m(function(e,s,t,o){return[bs.getEndpointPlugin(t,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(b.GetRoleCredentials$).build(){}var Wr={GetRoleCredentialsCommand:Ee};class Se extends _e{}P.createAggregatedClient(Wr,Se);O.$Command=P.Command;O.__Client=P.Client;O.SSOServiceException=Hr.SSOServiceException;O.GetRoleCredentialsCommand=Ee;O.SSO=Se;O.SSOClient=_e;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=b[e]});Object.prototype.hasOwnProperty.call(Y,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:Y.__proto__});Object.keys(Y).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=Y[e]})});var Fs=S((to)=>{var As=$s();to.GetRoleCredentialsCommand=As.GetRoleCredentialsCommand;to.SSOClient=As.SSOClient});var R,Q,Us,ao,Gs=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),$=!1,Ms=async({ssoStartUrl:e,ssoSession:s,ssoAccountId:t,ssoRegion:o,ssoRoleName:r,ssoClient:n,clientConfig:c,parentClientConfig:_,callerClientConfig:d,profile:l,filepath:u,configFilepath:C,ignoreCache:x,logger:a})=>{let v,J="To refresh this SSO session run aws sso login with the corresponding profile.";if(s)try{let I=await ao.fromSso({profile:l,filepath:u,configFilepath:C,ignoreCache:x})();v={accessToken:I.token,expiresAt:new Date(I.expiration).toISOString()}}catch(I){throw new R.CredentialsProviderError(I.message,{tryNextLink:$,logger:a})}else try{v=await Q.getSSOTokenFromFile(e)}catch(I){throw new R.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a})}if(new Date(v.expiresAt).getTime()-Date.now()<=0)throw new R.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a});let{accessToken:Re}=v,{SSOClient:y,GetRoleCredentialsCommand:A}=await Promise.resolve().then(function(){return Fs()}),js=n||new y(Object.assign({},c??{},{logger:c?.logger??d?.logger??_?.logger,region:c?.region??o,userAgentAppId:c?.userAgentAppId??d?.userAgentAppId??_?.userAgentAppId})),xe;try{xe=await js.send(new A({accountId:t,roleName:r,accessToken:Re}))}catch(I){throw new R.CredentialsProviderError(I,{tryNextLink:$,logger:a})}let{roleCredentials:{accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:he,credentialScope:fe,accountId:qe}={}}=xe;if(!ve||!Oe||!Ie||!he)throw new R.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:$,logger:a});let W={accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:new Date(he),...fe&&{credentialScope:fe},...qe&&{accountId:qe}};if(s)Us.setCredentialFeature(W,"CREDENTIALS_SSO","s");else Us.setCredentialFeature(W,"CREDENTIALS_SSO_LEGACY","u");return W},ms=(e,s)=>{let{sso_start_url:t,sso_account_id:o,sso_region:r,sso_role_name:n}=e;if(!t||!o||!r||!n)throw new R.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
|
|
2
|
-
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:s});return e},co=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:t,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoSession:c}=e,{ssoClient:_}=e,d=Q.getProfileName({profile:e.profile??s?.profile});if(!t&&!o&&!r&&!n&&!c){let u=(await Q.parseKnownFiles(e))[d];if(!u)throw new R.CredentialsProviderError(`Profile ${d} was not found.`,{logger:e.logger});if(!Gs(u))throw new R.CredentialsProviderError(`Profile ${d} is not configured with SSO credentials.`,{logger:e.logger});if(u?.sso_session){let y=(await Q.loadSsoSessionData(e))[u.sso_session],A=` configurations in profile ${d} and sso-session ${u.sso_session}`;if(r&&r!==y.sso_region)throw new R.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(t&&t!==y.sso_start_url)throw new R.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});u.sso_region=y.sso_region,u.sso_start_url=y.sso_start_url}let{sso_start_url:C,sso_account_id:x,sso_region:a,sso_role_name:v,sso_session:J}=ms(u,e.logger);return Ms({ssoStartUrl:C,ssoSession:J,ssoAccountId:x,ssoRegion:a,ssoRoleName:v,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!t||!o||!r||!n)throw new R.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return Ms({ssoStartUrl:t,ssoSession:c,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})},lo,uo,io;var po=no(()=>{R=Ce(),Q=we(),Us=Z(),ao=De();lo=co,uo=Gs,io=ms});po();export{io as validateSsoProfile,uo as isSsoProfile,lo as fromSSO};export default {get validateSsoProfile(){return io},get isSsoProfile(){return uo},get fromSSO(){return lo}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ME as a,NE as b,OE as c,PE as d,QE as e,RE as f,SE as g,TE as h,UE as i,VE as j,WE as k}from"./cli-1.1.35-hy9jtbmb.mjs";import"./cli-1.1.35-589b1qht.mjs";import"./cli-1.1.35-7y74em05.mjs";import"./cli-1.1.35-18wszrez.mjs";import"./cli-1.1.35-7mxbj45y.mjs";import"./cli-1.1.35-jq1wvnwe.mjs";import"./cli-1.1.35-7tt5b2wx.mjs";import"./cli-1.1.35-s6n3pb03.mjs";import"./cli-1.1.35-389ej7r1.mjs";import"./cli-1.1.35-htvjtg4f.mjs";import"./cli-1.1.35-ve889dy8.mjs";import"./cli-1.1.35-szkn08rr.mjs";import"./cli-1.1.35-s367nd6g.mjs";import"./cli-1.1.35-qygaywxg.mjs";import"./cli-1.1.35-dw3fv0g8.mjs";import"./cli-1.1.35-bhmad6rp.mjs";import"./cli-1.1.35-kbrngf5h.mjs";import"./cli-1.1.35-hyqzaskn.mjs";import"./cli-1.1.35-k6jh38a3.mjs";import"./cli-1.1.35-pycaqt81.mjs";import"./cli-1.1.35-ktb8z2s9.mjs";import"./cli-1.1.35-0vpxr2rk.mjs";import"./cli-1.1.35-q1axe4bk.mjs";import"./cli-1.1.35-wtjyzsga.mjs";import"./cli-1.1.35-8ttx7y70.mjs";import"./cli-1.1.35-b0n88pf7.mjs";import"./cli-1.1.35-bq7wadxz.mjs";import"./cli-1.1.35-9z4kwrpr.mjs";import"./cli-1.1.35-s85hd24a.mjs";import"./cli-1.1.35-wpa5rfnt.mjs";import"./cli-1.1.35-a9y8qxsj.mjs";import"./cli-1.1.35-j7xxkgf1.mjs";import"./cli-1.1.35-6nhv8vhv.mjs";import"./cli-1.1.35-34h7nfzz.mjs";import"./cli-1.1.35-85zb0hfp.mjs";import"./cli-1.1.35-4typvdqe.mjs";import"./cli-1.1.35-873xb9w7.mjs";import"./cli-1.1.35-pa3rjff6.mjs";import"./cli-1.1.35-7mz6cnfb.mjs";import"./cli-1.1.35-4g77zek0.mjs";import"./cli-1.1.35-swxcv3xf.mjs";import"./cli-1.1.35-x5ft52g3.mjs";import"./cli-1.1.35-tsrq3cxy.mjs";import"./cli-1.1.35-dnacc640.mjs";import"./cli-1.1.35-r4rm2297.mjs";import"./cli-1.1.35-02qx9a8j.mjs";import"./cli-1.1.35-41srzc8c.mjs";import"./cli-1.1.35-zf7zq3kb.mjs";import"./cli-1.1.35-h06ng57d.mjs";import"./cli-1.1.35-7p1685r1.mjs";import"./cli-1.1.35-a7ygtwdr.mjs";import"./cli-1.1.35-jdqn8gkp.mjs";import"./cli-1.1.35-w9wzew2x.mjs";import"./cli-1.1.35-g74y15na.mjs";import"./cli-1.1.35-1ceb2tjb.mjs";import"./cli-1.1.35-tsx8c30n.mjs";import"./cli-1.1.35-ms3xdp4c.mjs";import"./cli-1.1.35-c05841mj.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};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Pra as u,Sra as k}from"./cli-1.1.35-t2vx6b45.mjs";import{Xra as f,Yra as y}from"./cli-1.1.35-c05841mj.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}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Xra as cH}from"./cli-1.1.35-c05841mj.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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{fj as a}from"./cli-1.1.35-zbz78cha.mjs";import"./cli-1.1.35-7mz6cnfb.mjs";import"./cli-1.1.35-c05841mj.mjs";export default a();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O9 as P}from"./cli-1.1.35-yns1ngnz.mjs";import{R9 as p,S9 as w}from"./cli-1.1.35-2x0m7ewe.mjs";import"./cli-1.1.35-t2vx6b45.mjs";import{Xra as u,Yra as a}from"./cli-1.1.35-c05841mj.mjs";var d,t,f,E,_,v=(r,e,s)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let i=new Date;if(new Date(e.Expiration)<i)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let o=e.AccountId;if(!o&&s?.[r]?.aws_account_id)o=s[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...o&&{accountId:o}};return _.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n},x=async(r,e,s)=>{let o=e[r];if(e[r]){let n=o.credential_process;if(n!==void 0){let i=E.promisify(d.externalDataInterceptor?.getTokenRecord?.().exec??f.exec);try{let{stdout:c}=await i(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return v(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:s})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:s})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:s})},h=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let s=await d.parseKnownFiles(r);return x(d.getProfileName({profile:r.profile??e?.profile}),s,r.logger)},y;var S=u(()=>{d=P(),t=w(),f=a("node:child_process"),E=a("node:util"),_=p();y=h});S();export{y as fromProcess};export default {get fromProcess(){return y}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A9 as Sr,B9 as Or,D9 as Ir,E9 as br,F9 as qr,G9 as Dr,H9 as Rr,I9 as tr,J9 as rr,K9 as sr,L9 as Ar,M9 as Br,m9 as G,n9 as fr,o9 as Hr,p9 as Lr,q9 as oe,r9 as er,s9 as Ut,t9 as Vr,u9 as et,v9 as zr,w9 as hr,x9 as tt,y9 as D,z9 as St}from"./cli-1.1.35-0feday40.mjs";import{N9 as Qe}from"./cli-1.1.35-s05wj44h.mjs";import{Q9 as Er,R9 as Pr}from"./cli-1.1.35-2x0m7ewe.mjs";import{Lra as vr}from"./cli-1.1.35-h262sgvd.mjs";import{Nra as we}from"./cli-1.1.35-t2vx6b45.mjs";import{Vra as a}from"./cli-1.1.35-c05841mj.mjs";var $=a((_)=>{Object.defineProperty(_,"__esModule",{value:!0});_.resolveHttpAuthSchemeConfig=_.defaultSigninHttpAuthSchemeProvider=_.defaultSigninHttpAuthSchemeParametersProvider=void 0;var Ot=G(),g=St(),It=async(e,t,r)=>{return{operation:(0,g.getSmithyContext)(t).operation,region:await(0,g.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};_.defaultSigninHttpAuthSchemeParametersProvider=It;function bt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"signin",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var Dt=(e)=>{let t=[];switch(e.operation){case"CreateOAuth2Token":{t.push(qt(e));break}default:t.push(bt(e))}return t};_.defaultSigninHttpAuthSchemeProvider=Dt;var Rt=(e)=>{let t=(0,Ot.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,g.normalizeProvider)(e.authSchemePreference??[])})};_.resolveHttpAuthSchemeConfig=Rt});var ae=a((ie)=>{Object.defineProperty(ie,"__esModule",{value:!0});ie.bdd=void 0;var Nt=oe(),P="ref",c=-1,b=!0,ee="isSet",ne="PartitionResult",q="booleanEquals",L="getAttr",f="stringEquals",te={[P]:"Endpoint"},V={[P]:ne},H={fn:L,argv:[V,"name"]},l={},re=[{[P]:"Region"}],se={conditions:[[ee,[te]],[ee,re],["aws.partition",re,ne],[q,[{[P]:"UseFIPS"},b]],[q,[{[P]:"UseDualStack"},b]],[q,[{fn:L,argv:[V,"supportsDualStack"]},b]],[q,[{fn:L,argv:[V,"supportsFIPS"]},b]],[f,[H,"aws"]],[f,[H,"aws-cn"]],[f,[H,"aws-us-gov"]]],results:[[c],[c,"Invalid Configuration: FIPS and custom endpoint are not supported"],[c,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[te,l],["https://{Region}.signin.aws.amazon.com",l],["https://{Region}.signin.amazonaws.cn",l],["https://{Region}.signin.amazonaws-us-gov.com",l],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",l],[c,"FIPS is enabled but this partition does not support FIPS"],["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",l],[c,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",l],[c,"Invalid Configuration: Missing Region"]]},Mt=2,s=1e8,wt=new Int32Array([-1,1,-1,0,15,3,1,4,s+14,2,5,s+14,3,11,6,4,10,7,7,s+4,8,8,s+5,9,9,s+6,s+13,5,s+11,s+12,4,13,12,6,s+9,s+10,5,14,s+8,6,s+7,s+8,3,s+1,16,4,s+2,s+3]);ie.bdd=Nt.BinaryDecisionDiagram.from(wt,Mt,se.conditions,se.results)});var pe=a((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.defaultEndpointResolver=void 0;var xt=Ut(),z=oe(),gt=ae(),Gt=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),$t=(e,t={})=>{return Gt.get(e,()=>(0,z.decideEndpoint)(gt.bdd,{endpointParams:e,logger:t.logger}))};ue.defaultEndpointResolver=$t;z.customEndpointFunctions.aws=xt.awsEndpointFunctions});var R=a((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.SigninServiceException=A.__ServiceException=void 0;var ce=D();Object.defineProperty(A,"__ServiceException",{enumerable:!0,get:function(){return ce.ServiceException}});class h extends ce.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,h.prototype)}}A.SigninServiceException=h});var J=a((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.ValidationException=Ee.TooManyRequestsError=Ee.InternalServerException=Ee.AccessDeniedException=void 0;var y=R();class B extends y.SigninServiceException{name="AccessDeniedException";$fault="client";error;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error}}Ee.AccessDeniedException=B;class W extends y.SigninServiceException{name="InternalServerException";$fault="server";error;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error}}Ee.InternalServerException=W;class Y extends y.SigninServiceException{name="TooManyRequestsError";$fault="client";error;constructor(e){super({name:"TooManyRequestsError",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error}}Ee.TooManyRequestsError=Y;class j extends y.SigninServiceException{name="ValidationException";$fault="client";error;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,j.prototype),this.error=e.error}}Ee.ValidationException=j});var Z=a(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.CreateOAuth2Token$=$e.CreateOAuth2TokenResponseBody$=$e.CreateOAuth2TokenResponse$=$e.CreateOAuth2TokenRequestBody$=$e.CreateOAuth2TokenRequest$=$e.AccessToken$=$e.errorTypeRegistries=$e.ValidationException$=$e.TooManyRequestsError$=$e.InternalServerException$=$e.AccessDeniedException$=$e.SigninServiceException$=void 0;var Vt="AccessDeniedException",zt="AccessToken",ht="CreateOAuth2Token",At="CreateOAuth2TokenRequest",Bt="CreateOAuth2TokenRequestBody",Wt="CreateOAuth2TokenResponseBody",Yt="CreateOAuth2TokenResponse",jt="InternalServerException",Jt="RefreshToken",Xt="TooManyRequestsError",Qt="ValidationException",Se="accessKeyId",Oe="accessToken",X="client",Ie="clientId",be="codeVerifier",Zt="code",p="error",qe="expiresIn",De="grantType",Kt="http",Q="httpError",Re="idToken",n="jsonName",N="message",F="refreshToken",ye="redirectUri",Ue="smithy.ts.sdk.synthetic.com.amazonaws.signin",Fe="secretAccessKey",Ne="sessionToken",Tt="server",mt="tokenInput",kt="tokenOutput",Me="tokenType",i="com.amazonaws.signin",xe=we(),M=J(),_t=R(),ge=xe.TypeRegistry.for(Ue);$e.SigninServiceException$=[-3,Ue,"SigninServiceException",0,[],[]];ge.registerError($e.SigninServiceException$,_t.SigninServiceException);var S=xe.TypeRegistry.for(i);$e.AccessDeniedException$=[-3,i,Vt,{[p]:X},[p,N],[0,0],2];S.registerError($e.AccessDeniedException$,M.AccessDeniedException);$e.InternalServerException$=[-3,i,jt,{[p]:Tt,[Q]:500},[p,N],[0,0],2];S.registerError($e.InternalServerException$,M.InternalServerException);$e.TooManyRequestsError$=[-3,i,Xt,{[p]:X,[Q]:429},[p,N],[0,0],2];S.registerError($e.TooManyRequestsError$,M.TooManyRequestsError);$e.ValidationException$=[-3,i,Qt,{[p]:X,[Q]:400},[p,N],[0,0],2];S.registerError($e.ValidationException$,M.ValidationException);$e.errorTypeRegistries=[ge,S];var Ge=[0,i,Jt,8,0];$e.AccessToken$=[3,i,zt,8,[Se,Fe,Ne],[[0,{[n]:Se}],[0,{[n]:Fe}],[0,{[n]:Ne}]],3];$e.CreateOAuth2TokenRequest$=[3,i,At,0,[mt],[[()=>$e.CreateOAuth2TokenRequestBody$,16]],1];$e.CreateOAuth2TokenRequestBody$=[3,i,Bt,0,[Ie,De,Zt,ye,be,F],[[0,{[n]:Ie}],[0,{[n]:De}],0,[0,{[n]:ye}],[0,{[n]:be}],[()=>Ge,{[n]:F}]],2];$e.CreateOAuth2TokenResponse$=[3,i,Yt,0,[kt],[[()=>$e.CreateOAuth2TokenResponseBody$,16]],1];$e.CreateOAuth2TokenResponseBody$=[3,i,Wt,0,[Oe,Me,qe,F,Re],[[()=>$e.AccessToken$,{[n]:Oe}],[0,{[n]:Me}],[1,{[n]:qe}],[()=>Ge,{[n]:F}],[0,{[n]:Re}]],4];$e.CreateOAuth2Token$=[9,i,ht,{[Kt]:["POST","/v1/token",200]},()=>$e.CreateOAuth2TokenRequest$,()=>$e.CreateOAuth2TokenResponse$]});var Te=a((Ze)=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.getRuntimeConfig=void 0;var or=G(),nr=rr(),ir=Qe(),dr=D(),ar=er(),Je=sr(),Xe=tr(),ur=$(),lr=pe(),pr=Z(),cr=(e)=>{return{apiVersion:"2023-01-01",base64Decoder:e?.base64Decoder??Je.fromBase64,base64Encoder:e?.base64Encoder??Je.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??lr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ur.defaultSigninHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new or.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ir.NoAuthSigner}],logger:e?.logger??new dr.NoOpLogger,protocol:e?.protocol??nr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.signin",errorTypeRegistries:pr.errorTypeRegistries,version:"2023-01-01",serviceTarget:"Signin"},serviceId:e?.serviceId??"Signin",urlParser:e?.urlParser??ar.parseUrl,utf8Decoder:e?.utf8Decoder??Xe.fromUtf8,utf8Encoder:e?.utf8Encoder??Xe.toUtf8}};Ze.getRuntimeConfig=cr});var ot=a((rt)=>{Object.defineProperty(rt,"__esModule",{value:!0});rt.getRuntimeConfig=void 0;var yr=Sr(),Fr=yr.__importDefault(Or()),Nr=Pr(),Mr=G(),me=Ir(),w=et(),wr=br(),ke=tt(),v=qr(),_e=vr(),Ce=D(),Ur=Dr(),xr=Rr(),gr=Er(),Gr=Te(),$r=(e)=>{(0,Ce.emitWarningIfUnsupportedVersion)(process.version);let t=(0,xr.resolveDefaultsModeConfig)(e),r=()=>t().then(Ce.loadConfigsForDefaultMode),d=(0,Gr.getRuntimeConfig)(e);(0,Nr.emitWarningIfUnsupportedVersion)(process.version);let o={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,v.loadConfig)(Mr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??Ur.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,me.createDefaultUserAgentProvider)({serviceId:d.serviceId,clientVersion:Fr.default.version}),maxAttempts:e?.maxAttempts??(0,v.loadConfig)(ke.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,v.loadConfig)(w.NODE_REGION_CONFIG_OPTIONS,{...w.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:_e.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,v.loadConfig)({...ke.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??wr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??_e.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,v.loadConfig)(w.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??(0,v.loadConfig)(w.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??(0,v.loadConfig)(me.NODE_APP_ID_CONFIG_OPTIONS,o)}};rt.getRuntimeConfig=$r});var as=a((u)=>{var nt=fr(),Wr=Hr(),Yr=Lr(),it=Vr(),jr=et(),K=Qe(),Jr=we(),Xr=zr(),pt=hr(),dt=tt(),E=D(),at=$(),Qr=ot(),ut=Ar(),lt=Br(),O=Z(),U=J(),Zr=R(),Kr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"signin"})},Tr={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},mr=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:d}=e;return{setHttpAuthScheme(o){let I=t.findIndex((x)=>x.schemeId===o.schemeId);if(I===-1)t.push(o);else t.splice(I,1,o)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(o){r=o},httpAuthSchemeProvider(){return r},setCredentials(o){d=o},credentials(){return d}}},kr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},_r=(e,t)=>{let r=Object.assign(ut.getAwsRegionExtensionConfiguration(e),E.getDefaultExtensionConfiguration(e),lt.getHttpHandlerExtensionConfiguration(e),mr(e));return t.forEach((d)=>d.configure(r)),Object.assign(e,ut.resolveAwsRegionExtensionConfiguration(r),E.resolveDefaultRuntimeConfig(r),lt.resolveHttpHandlerRuntimeConfig(r),kr(r))};class T extends E.Client{config;constructor(...[e]){let t=Qr.getRuntimeConfig(e||{});super(t);this.initConfig=t;let r=Kr(t),d=it.resolveUserAgentConfig(r),o=dt.resolveRetryConfig(d),I=jr.resolveRegionConfig(o),x=nt.resolveHostHeaderConfig(I),ct=pt.resolveEndpointConfig(x),vt=at.resolveHttpAuthSchemeConfig(ct),Et=_r(vt,e?.extensions||[]);this.config=Et,this.middlewareStack.use(Jr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(it.getUserAgentPlugin(this.config)),this.middlewareStack.use(dt.getRetryPlugin(this.config)),this.middlewareStack.use(Xr.getContentLengthPlugin(this.config)),this.middlewareStack.use(nt.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Wr.getLoggerPlugin(this.config)),this.middlewareStack.use(Yr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(K.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:at.defaultSigninHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(Pt)=>new K.DefaultIdentityProviderConfig({"aws.auth#sigv4":Pt.credentials})})),this.middlewareStack.use(K.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class m extends E.Command.classBuilder().ep(Tr).m(function(e,t,r,d){return[pt.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("Signin","CreateOAuth2Token",{}).n("SigninClient","CreateOAuth2TokenCommand").sc(O.CreateOAuth2Token$).build(){}var Cr={CreateOAuth2TokenCommand:m};class k extends T{}E.createAggregatedClient(Cr,k);var es={AUTHCODE_EXPIRED:"AUTHCODE_EXPIRED",INSUFFICIENT_PERMISSIONS:"INSUFFICIENT_PERMISSIONS",INVALID_REQUEST:"INVALID_REQUEST",SERVER_ERROR:"server_error",TOKEN_EXPIRED:"TOKEN_EXPIRED",USER_CREDENTIALS_CHANGED:"USER_CREDENTIALS_CHANGED"};u.$Command=E.Command;u.__Client=E.Client;u.SigninServiceException=Zr.SigninServiceException;u.CreateOAuth2TokenCommand=m;u.OAuth2ErrorCode=es;u.Signin=k;u.SigninClient=T;Object.prototype.hasOwnProperty.call(O,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:O.__proto__});Object.keys(O).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=O[e]});Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(u,"__proto__")&&Object.defineProperty(u,"__proto__",{enumerable:!0,value:U.__proto__});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(u,e))u[e]=U[e]})});export default as();
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{wc as E,yc as Rk}from"./cli-1.1.35-2gxxpyvc.mjs";import{DF as v,EF as p,Gm as d,IF as $k,Im as S,Jm as Xk,NE as P,OE as c,Pj as u,Qj as h,Uj as Wk,Vv as f,WE as _k,Wv as Yk,ox as m,px as Zk}from"./cli-1.1.35-hy9jtbmb.mjs";import"./cli-1.1.35-589b1qht.mjs";import"./cli-1.1.35-7y74em05.mjs";import"./cli-1.1.35-18wszrez.mjs";import"./cli-1.1.35-7mxbj45y.mjs";import"./cli-1.1.35-jq1wvnwe.mjs";import"./cli-1.1.35-7tt5b2wx.mjs";import"./cli-1.1.35-s6n3pb03.mjs";import"./cli-1.1.35-389ej7r1.mjs";import"./cli-1.1.35-htvjtg4f.mjs";import"./cli-1.1.35-ve889dy8.mjs";import"./cli-1.1.35-szkn08rr.mjs";import"./cli-1.1.35-s367nd6g.mjs";import"./cli-1.1.35-qygaywxg.mjs";import"./cli-1.1.35-dw3fv0g8.mjs";import"./cli-1.1.35-bhmad6rp.mjs";import"./cli-1.1.35-kbrngf5h.mjs";import"./cli-1.1.35-hyqzaskn.mjs";import"./cli-1.1.35-k6jh38a3.mjs";import"./cli-1.1.35-pycaqt81.mjs";import"./cli-1.1.35-ktb8z2s9.mjs";import"./cli-1.1.35-0vpxr2rk.mjs";import"./cli-1.1.35-q1axe4bk.mjs";import"./cli-1.1.35-wtjyzsga.mjs";import"./cli-1.1.35-8ttx7y70.mjs";import"./cli-1.1.35-b0n88pf7.mjs";import"./cli-1.1.35-bq7wadxz.mjs";import"./cli-1.1.35-9z4kwrpr.mjs";import{B3 as g,R3 as b,T3 as Qk,w3 as z}from"./cli-1.1.35-s85hd24a.mjs";import{B7 as Nk,n7 as F,o7 as Kk,y7 as y}from"./cli-1.1.35-wpa5rfnt.mjs";import"./cli-1.1.35-a9y8qxsj.mjs";import"./cli-1.1.35-j7xxkgf1.mjs";import"./cli-1.1.35-6nhv8vhv.mjs";import"./cli-1.1.35-34h7nfzz.mjs";import"./cli-1.1.35-85zb0hfp.mjs";import"./cli-1.1.35-4typvdqe.mjs";import"./cli-1.1.35-873xb9w7.mjs";import"./cli-1.1.35-pa3rjff6.mjs";import"./cli-1.1.35-7mz6cnfb.mjs";import"./cli-1.1.35-4g77zek0.mjs";import"./cli-1.1.35-swxcv3xf.mjs";import"./cli-1.1.35-x5ft52g3.mjs";import{E_ as U,J_ as Jk}from"./cli-1.1.35-tsrq3cxy.mjs";import{N$ as O,U$ as K,W$ as Bk,Zfa as x,dfa as V,dga as Y,eba as D,oha as X,raa as C,rha as n,vaa as Hk,vfa as i}from"./cli-1.1.35-dnacc640.mjs";import{eia as H,iia as qk}from"./cli-1.1.35-r4rm2297.mjs";import"./cli-1.1.35-02qx9a8j.mjs";import"./cli-1.1.35-41srzc8c.mjs";import"./cli-1.1.35-zf7zq3kb.mjs";import"./cli-1.1.35-h06ng57d.mjs";import{Eja as $,Fja as s}from"./cli-1.1.35-7p1685r1.mjs";import{Fka as B,Ija as Z,Ika as M,Kja as t}from"./cli-1.1.35-a7ygtwdr.mjs";import"./cli-1.1.35-jdqn8gkp.mjs";import{Zka as L,kla as kk}from"./cli-1.1.35-w9wzew2x.mjs";import{qla as G,yla as r}from"./cli-1.1.35-g74y15na.mjs";import{Jqa as A,bpa as T}from"./cli-1.1.35-1ceb2tjb.mjs";import{gra as w,hra as e}from"./cli-1.1.35-tsx8c30n.mjs";import"./cli-1.1.35-ms3xdp4c.mjs";import{Yra as W}from"./cli-1.1.35-c05841mj.mjs";qk();A();Y();e();A();Yk();Qk();_k();$k();s();n();g();var _=!1;function I(){if(_)return;if(_=!0,z()!=="firstParty")return;let q=X()?.transport;if(q==="bedrock"||q==="vertex"||q==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDIN_CLIENT_CERT||process.env.CLAUDIN_CLIENT_KEY)return;let k=X(),N=(k?.transport==="anthropic"?k.baseUrl:void 0)||$().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}Y();M();i();function j(){if(process.env.NODE_EXTRA_CA_CERTS)return;let q=o();if(q)process.env.NODE_EXTRA_CA_CERTS=q,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${q}`)}function o(){try{let k=O()?.env,Q=V("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${k?Object.keys(k).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||k?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(q){B(`CA certs: Config fallback failed: ${q}`,{level:"error"});return}}t();Y();M();Jk();Bk();Zk();r();kk();Wk();Rk();Kk();Xk();Nk();Hk();var gk=w(async()=>{let q=Date.now();K("info","init_started"),H("init_function_start");try{let k=Date.now();D(),K("info","init_configs_enabled",{duration_ms:Date.now()-k}),H("init_configs_enabled");let N=Date.now();if(E(),j(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),H("init_safe_env_vars_applied"),u(),H("init_after_graceful_shutdown"),b(),H("init_after_oauth_populate"),m(),H("init_after_jetbrains_detection"),U(),p())v();if(c())P();H("init_after_remote_settings_check"),x();let Q=Date.now();B("[init] configureGlobalMTLS starting"),F(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),y(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),H("init_network_configured"),I(),G(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:J,getUpstreamProxyEnv:l}=await import("./upstreamproxy-1.1.35-bbztgd01.mjs"),{registerUpstreamProxyEnvFn:a}=await import("./subprocessEnv-1.1.35-8wsc86ft.mjs");a(l),await J()}catch(J){B(`[init] upstreamproxy init failed: ${J instanceof Error?J.message:String(J)}; continuing without proxy`,{level:"warn"})}if(C(),Z(f),Z(async()=>{let{cleanupSessionTeams:J}=await import("./teamHelpers-1.1.35-13qqfhxa.mjs");await J()}),d()){let J=Date.now();await S(),K("info","init_scratchpad_created",{duration_ms:Date.now()-J})}K("info","init_completed",{duration_ms:Date.now()-q}),H("init_function_end")}catch(k){if(k instanceof L){if(T()){process.stderr.write(`Configuration error in ${k.filePath}: ${k.message}
|
|
2
|
-
`),h(1);return}return import("./InvalidConfigDialog-1.1.35-k7wnc3v8.mjs").then((N)=>N.showInvalidConfigDialog({error:k}))}else throw k}});export{gk as init};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as PQ}from"./cli-1.1.35-0tc3wmtp.mjs";import{T as WQ,U as BJ,V as LQ,W as _Q,X as OQ,Y as EQ}from"./cli-1.1.35-dwaz1jv4.mjs";import{Z as SJ,_ as zZ}from"./cli-1.1.35-kkhrpw6q.mjs";import{$ as UQ,aa as fQ,ba as wQ,ca as mJ,da as bJ}from"./cli-1.1.35-ww28b5vj.mjs";import"./cli-1.1.35-fwyc7v71.mjs";import{ia as BQ,ja as AQ,ka as CJ,la as RQ}from"./cli-1.1.35-3zrjqd93.mjs";import"./cli-1.1.35-fz50q22a.mjs";import{Ab as yQ,Bb as TJ,Cb as vJ,xb as DJ,yb as NQ,zb as qQ}from"./cli-1.1.35-5v115fee.mjs";import"./cli-1.1.35-4d0cm3mc.mjs";import"./cli-1.1.35-kz5tydkv.mjs";import{Tb as ZZ,Vb as mZ}from"./cli-1.1.35-9817kkw4.mjs";import{ae as nQ,be as rQ,ce as TZ}from"./cli-1.1.35-6c4v5dpe.mjs";import{Ze as cJ,af as CZ}from"./cli-1.1.35-4d9merys.mjs";import{jf as eQ,lf as JZ,mf as QZ,nf as vZ}from"./cli-1.1.35-5b39mwe0.mjs";import{qf as HQ,rf as xQ,tf as g,uf as GQ}from"./cli-1.1.35-22q1jqqq.mjs";import{Ai as gQ,Bi as kZ,xi as aQ,zi as ZJ}from"./cli-1.1.35-hwphkmp4.mjs";import{NS as OJ,PE as dQ,QE as lQ,SR as $Z,WE as FZ,ZR as jZ,ek as pQ,hK as VQ,iT as SZ,lK as qZ,mS as bZ,vm as cQ,wm as hZ}from"./cli-1.1.35-hy9jtbmb.mjs";import"./cli-1.1.35-589b1qht.mjs";import"./cli-1.1.35-7y74em05.mjs";import"./cli-1.1.35-18wszrez.mjs";import"./cli-1.1.35-7mxbj45y.mjs";import"./cli-1.1.35-jq1wvnwe.mjs";import"./cli-1.1.35-7tt5b2wx.mjs";import"./cli-1.1.35-s6n3pb03.mjs";import{pW as kJ,qW as OZ}from"./cli-1.1.35-389ej7r1.mjs";import{DW as XQ,HW as NZ}from"./cli-1.1.35-htvjtg4f.mjs";import{JW as iQ,LW as tQ,MW as sQ,NW as oQ,OW as DZ}from"./cli-1.1.35-ve889dy8.mjs";import"./cli-1.1.35-szkn08rr.mjs";import"./cli-1.1.35-s367nd6g.mjs";import"./cli-1.1.35-qygaywxg.mjs";import"./cli-1.1.35-dw3fv0g8.mjs";import"./cli-1.1.35-bhmad6rp.mjs";import"./cli-1.1.35-kbrngf5h.mjs";import{OZ as uQ,PZ as zQ,QZ as YQ,SZ as KQ}from"./cli-1.1.35-hyqzaskn.mjs";import"./cli-1.1.35-k6jh38a3.mjs";import"./cli-1.1.35-pycaqt81.mjs";import"./cli-1.1.35-ktb8z2s9.mjs";import"./cli-1.1.35-0vpxr2rk.mjs";import"./cli-1.1.35-q1axe4bk.mjs";import"./cli-1.1.35-wtjyzsga.mjs";import"./cli-1.1.35-8ttx7y70.mjs";import"./cli-1.1.35-b0n88pf7.mjs";import"./cli-1.1.35-bq7wadxz.mjs";import"./cli-1.1.35-9z4kwrpr.mjs";import{O6 as IJ,Q3 as SQ,Q6 as pJ,S6 as IQ,T3 as wZ,h7 as MZ}from"./cli-1.1.35-s85hd24a.mjs";import"./cli-1.1.35-wpa5rfnt.mjs";import"./cli-1.1.35-a9y8qxsj.mjs";import"./cli-1.1.35-j7xxkgf1.mjs";import{G7 as LJ,H7 as _Z}from"./cli-1.1.35-6nhv8vhv.mjs";import"./cli-1.1.35-34h7nfzz.mjs";import"./cli-1.1.35-85zb0hfp.mjs";import"./cli-1.1.35-4typvdqe.mjs";import"./cli-1.1.35-873xb9w7.mjs";import"./cli-1.1.35-pa3rjff6.mjs";import"./cli-1.1.35-7mz6cnfb.mjs";import"./cli-1.1.35-4g77zek0.mjs";import"./cli-1.1.35-swxcv3xf.mjs";import"./cli-1.1.35-x5ft52g3.mjs";import"./cli-1.1.35-tsrq3cxy.mjs";import{Eba as CQ,Gba as mQ,L$ as DQ,N$ as TQ,Sba as UZ,U$ as VJ,W$ as LZ,Y$ as vQ,dga as fZ,haa as PZ,tha as bQ,vha as EZ}from"./cli-1.1.35-dnacc640.mjs";import"./cli-1.1.35-r4rm2297.mjs";import"./cli-1.1.35-02qx9a8j.mjs";import"./cli-1.1.35-41srzc8c.mjs";import"./cli-1.1.35-zf7zq3kb.mjs";import"./cli-1.1.35-h06ng57d.mjs";import"./cli-1.1.35-7p1685r1.mjs";import{Fka as J,Ija as QQ,Ika as jQ,Kja as GZ}from"./cli-1.1.35-a7ygtwdr.mjs";import"./cli-1.1.35-jdqn8gkp.mjs";import{dla as M,kla as $Q}from"./cli-1.1.35-w9wzew2x.mjs";import{qla as ZQ,yla as WZ}from"./cli-1.1.35-g74y15na.mjs";import{Jqa as RZ,ema as _J,kma as kQ}from"./cli-1.1.35-1ceb2tjb.mjs";import"./cli-1.1.35-tsx8c30n.mjs";import"./cli-1.1.35-ms3xdp4c.mjs";import{Yra as JQ}from"./cli-1.1.35-c05841mj.mjs";RZ();PZ();wZ();FZ();MZ();fZ();jQ();EZ();$Q();UZ();CZ();bZ();SZ();TZ();hZ();kZ();DZ();vZ();GQ();mZ();import{hostname as IZ}from"os";import{randomUUID as oJ}from"crypto";jQ();LZ();GZ();KQ();qZ();NZ();OZ();WZ();GQ();$Q();_Z();var yZ=2000,nJ=60000,rJ=900000,BZ=0;function eJ(C){return C?.detail??"Session creation failed"}async function MQ(C){let{dir:O,machineName:h,branch:y,gitRepoUrl:i,title:t,baseUrl:s,sessionIngressUrl:A,workerType:S,getAccessToken:o,createSession:n,archiveSession:d,getCurrentTitle:e=()=>t,toSDKMessages:$J=()=>{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:F,getPollIntervalConfig:R=()=>SJ,initialHistoryCap:U=200,initialMessages:N,previouslyFlushedUUIDs:v,onInboundMessage:k,onPermissionResponse:r,onInterrupt:l,onSetModel:V,onSetMaxThinkingTokens:f,onSetPermissionMode:P,onStateChange:q,onUserMessage:m,perpetual:E,initialSSESequenceNum:I=0}=C,B=++BZ,{writeBridgePointer:D,clearBridgePointer:X,readBridgePointer:H}=await import("./bridgePointer-1.1.35-5gpfg6h4.mjs"),W=E?await H(O):null,Y=W?.source==="repl"?W:null;J(`[bridge:repl] initBridgeCore #${B} starting (initialMessages=${N?.length??0}${Y?` perpetual prior=env:${Y.environmentId}`:""})`);let T=LQ({baseUrl:s,getAccessToken:o,runnerVersion:"99.0.0",onDebug:J,onAuth401:F,getTrustedDeviceToken:XQ}),HJ={dir:O,machineName:h,branch:y,gitRepoUrl:i,maxSessions:1,spawnMode:"single-session",verbose:!1,sandbox:!1,bridgeId:oJ(),workerType:S,environmentId:oJ(),reuseEnvironmentId:Y?.environmentId,apiBaseUrl:s,sessionIngressUrl:A},z,NJ;try{let Q=await T.registerBridgeEnvironment(HJ);z=Q.environment_id,NJ=Q.environment_secret}catch(Q){if(g("registration_failed",`[bridge:repl] Environment registration failed: ${M(Q)}`),Y)await X(O);return q?.("failed",M(Q)),null}J(`[bridge:repl] Environment registered: ${z}`),VJ("info","bridge_repl_env_registered");async function uJ(Q,$){if(z!==Q)return J(`[bridge:repl] Env mismatch (requested ${Q}, got ${z}) — cannot reconnect in place`),!1;let G=YQ($),x=G===$?[$]:[$,G];for(let K of x)try{return await T.reconnectSession(z,K),J(`[bridge:repl] Reconnected session ${K} in place on env ${z}`),!0}catch(c){J(`[bridge:repl] reconnectSession(${K}) failed: ${M(c)}`)}return J("[bridge:repl] reconnectSession exhausted — falling through to fresh session"),!1}let AJ=Y?await uJ(Y.environmentId,Y.sessionId):!1;if(Y&&!AJ)await X(O);let j;if(AJ&&Y){if(j=Y.sessionId,J(`[bridge:repl] Perpetual session reused: ${j}`),N&&v)for(let Q of N)v.add(Q.uuid)}else{let Q,$=await bJ(()=>n({environmentId:z,title:t,gitRepoUrl:i,branch:y,signal:AbortSignal.timeout(15000),onFailure:(G)=>{Q=G}}),{...mJ,label:"createSession",logPrefix:"[bridge:repl]",isRetryable:()=>Q?.retryable!==!1});if(!$)return J("[bridge:repl] Session creation failed, deregistering environment"),await T.deregisterEnvironment(z).catch(()=>{}),q?.("failed",eJ(Q)),null;j=$,J(`[bridge:repl] Session created: ${j}`)}await D(O,{sessionId:j,environmentId:z,source:"repl"}),VJ("info","bridge_repl_session_created");let RJ=new Set;if(N)for(let Q of N)RJ.add(Q.uuid);let JJ=new vJ(2000);for(let Q of RJ)JJ.add(Q);let dJ=new vJ(2000),p=new AbortController,Z=null,zJ=0,b=AJ?I:0,w=null,YJ=null,lJ=EQ(p.signal),xJ=lJ.wake,YZ=lJ.signal,a=new wQ,PJ=!m,UJ=3,QJ=0,KJ=null;async function aJ(){if(KJ)return KJ;KJ=KZ();try{return await KJ}finally{KJ=null}}async function KZ(){if(QJ++,zJ++,J(`[bridge:repl] Reconnecting after env lost (attempt ${QJ}/${UJ})`),QJ>UJ)return J(`[bridge:repl] Environment reconnect limit reached (${UJ}), giving up`),!1;if(Z){let K=Z.getLastSequenceNum();if(K>b)b=K;Z.close(),Z=null}if(xJ(),a.drop(),w){let K=w;if(await T.stopWork(z,K,!1).catch(()=>{}),w!==K)return J("[bridge:repl] Poll loop recovered during stopWork await — deferring to it"),QJ=0,!0;w=null,YJ=null}if(p.signal.aborted)return J("[bridge:repl] Reconnect aborted by teardown"),!1;let Q=z;HJ.reuseEnvironmentId=Q;try{let K=await T.registerBridgeEnvironment(HJ);z=K.environment_id,NJ=K.environment_secret}catch(K){return HJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Environment re-registration failed: ${M(K)}`),!1}if(HJ.reuseEnvironmentId=void 0,J(`[bridge:repl] Re-registered: requested=${Q} got=${z}`),p.signal.aborted)return J("[bridge:repl] Reconnect aborted after env registration, cleaning up"),await T.deregisterEnvironment(z).catch(()=>{}),!1;if(Z!==null)return J("[bridge:repl] Poll loop recovered during registerBridgeEnvironment await — deferring to it"),QJ=0,!0;if(await uJ(Q,j))return QJ=0,!0;if(await d(j),p.signal.aborted)return J("[bridge:repl] Reconnect aborted after archive, cleaning up"),await T.deregisterEnvironment(z).catch(()=>{}),!1;let $=e(),G,x=await bJ(()=>n({environmentId:z,title:$,gitRepoUrl:i,branch:y,signal:AbortSignal.timeout(15000),onFailure:(K)=>{G=K}}),{...mJ,label:"createSession (reconnect)",logPrefix:"[bridge:repl]",signal:p.signal,isRetryable:()=>G?.retryable!==!1});if(!x)return J(`[bridge:repl] Session creation failed during reconnection: ${eJ(G)}`),!1;if(p.signal.aborted)return J("[bridge:repl] Reconnect aborted after session creation, cleaning up"),await d(x),!1;return j=x,VQ(zQ(x)).catch(()=>{}),b=0,dJ.clear(),PJ=!m,J(`[bridge:repl] Re-created session: ${j}`),await D(O,{sessionId:j,environmentId:z,source:"repl"}),v?.clear(),QJ=0,!0}function fJ(){return o()}function gJ(){let Q=a.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)JJ.add(x.uuid);let G=$J(Q).map((x)=>({...x,session_id:j}));J(`[bridge:repl] Drained ${Q.length} pending message(s) after flush`),Z.writeBatch(G)}let qJ=null;function EJ(){qJ?.()}function XZ(Q){if(J(`[bridge:repl] Transport permanently closed: code=${Q}`),Z){let G=Z.getLastSequenceNum();if(G>b)b=G;Z=null}xJ();let $=a.drop();if($>0)J(`[bridge:repl] Dropping ${$} pending message(s) on transport close (code=${Q})`,{level:"warn"});if(Q===1000){q?.("failed","session ended"),p.abort(),EJ();return}q?.("reconnecting",`Remote Control connection lost (code ${Q})`),J(`[bridge:repl] Transport reconnect budget exhausted (code=${Q}), attempting env reconnect`),aJ().then((G)=>{if(G)return;if(p.signal.aborted)return;J("[bridge:repl] reconnectEnvironmentWithSession resolved false — tearing down"),q?.("failed","reconnection failed"),EJ()})}let VZ={api:T,getCredentials:()=>({environmentId:z,environmentSecret:NJ}),signal:p.signal,getPollIntervalConfig:R,onStateChange:q,getWsState:()=>Z?.getStateLabel()??"null",isAtCapacity:()=>Z!==null,capacitySignal:YZ,onFatalError:EJ,getHeartbeatInfo:()=>{if(!w||!YJ)return null;return{environmentId:z,workId:w,sessionToken:YJ}},onHeartbeatFatal:(Q)=>{if(J(`[bridge:repl] heartbeatWork fatal (status=${Q.status}) — tearing down work item for fast re-dispatch`),Z){let $=Z.getLastSequenceNum();if($>b)b=$;Z.close(),Z=null}if(a.drop(),w)T.stopWork(z,w,!1).catch(($)=>{J(`[bridge:repl] stopWork after heartbeat fatal: ${M($)}`)});w=null,YJ=null,xJ(),q?.("reconnecting","Work item lease expired, fetching fresh token")},async onEnvironmentLost(){if(!await aJ())return null;return{environmentId:z,environmentSecret:NJ}},onWorkReceived:(Q,$,G,x)=>{if(Z?.isConnectedStatus())J(`[bridge:repl] Work received while transport connected, replacing with fresh token (workId=${G})`);if(J(`[bridge:repl] Work received: workId=${G} workSessionId=${Q} currentSessionId=${j} match=${CJ(Q,j)}`),D(O,{sessionId:j,environmentId:z,source:"repl"}),!CJ(Q,j)){J(`[bridge:repl] Rejecting foreign session: expected=${j} got=${Q}`);return}w=G,YJ=$;let K=x||ZQ(process.env.CLAUDE_BRIDGE_USE_CCR_V2),c;if(!K){if(c=fJ(),!c){J("[bridge:repl] No OAuth token available for session ingress, skipping work");return}kJ(c)}if(Z){let L=Z;Z=null;let _=L.getLastSequenceNum();if(_>b)b=_;L.close()}a.deactivate();let xZ=(L)=>yQ(L,{transport:Z,sessionId:j,onInterrupt:l,onSetModel:V,onSetMaxThinkingTokens:f,onSetPermissionMode:P}),FJ=!1,tJ=(L)=>{if(Z=L,L.setOnConnect(()=>{if(Z!==L)return;if(J("[bridge:repl] Ingress transport connected"),!K){let _=fJ();if(_)kJ(_)}if(hJ=!1,!FJ&&N&&N.length>0){FJ=!0;let _=U,u=N.filter((yJ)=>DJ(yJ)&&!v?.has(yJ.uuid)),GJ=_>0&&u.length>_?u.slice(-_):u;if(GJ.length<u.length)J(`[bridge:repl] Capped initial flush: ${u.length} -> ${GJ.length} (cap=${_})`);let WJ=$J(GJ);if(WJ.length>0){J(`[bridge:repl] Flushing ${WJ.length} initial message(s) via transport`);let yJ=WJ.map((XJ)=>({...XJ,session_id:j})),sJ=L.droppedBatchCount;L.writeBatch(yJ).then(()=>{if(L.droppedBatchCount>sJ){J(`[bridge:repl] Initial flush dropped ${L.droppedBatchCount-sJ} batch(es) — not marking ${WJ.length} UUID(s) as flushed`);return}if(v){for(let XJ of WJ)if(XJ.uuid)v.add(XJ.uuid)}}).catch((XJ)=>J(`[bridge:repl] Initial flush failed: ${XJ}`)).finally(()=>{if(Z!==L)return;gJ(),q?.("connected")})}else gJ(),q?.("connected")}else if(!a.active)q?.("connected")}),L.setOnData((_)=>{qQ(_,JJ,dJ,k,r,xZ)}),L.setOnClose((_)=>{if(Z!==L)return;XZ(_)}),!FJ&&N&&N.length>0)a.start();L.connect()};if(zJ++,K){let L=RQ(s,Q),_=zJ;J(`[bridge:repl] CCR v2: sessionUrl=${L} session=${Q} gen=${_}`),fQ({sessionUrl:L,ingressToken:$,sessionId:Q,initialSequenceNum:b}).then((u)=>{if(p.signal.aborted){u.close();return}if(_!==zJ){J(`[bridge:repl] CCR v2: discarding stale handshake gen=${_} current=${zJ}`),u.close();return}tJ(u)},(u)=>{if(J(`[bridge:repl] CCR v2: createV2ReplTransport failed: ${M(u)}`,{level:"error"}),_!==zJ)return;if(w)T.stopWork(z,w,!1).catch((GJ)=>{J(`[bridge:repl] stopWork after v2 init failure: ${M(GJ)}`)}),w=null,YJ=null;xJ()})}else{let L=AQ(A,Q);J(`[bridge:repl] Ingress URL: ${L}`),J(`[bridge:repl] Creating HybridTransport: session=${Q}`);let _=c??"";tJ(UQ(new PQ(new URL(L),{Authorization:`Bearer ${_}`,"anthropic-version":"2023-06-01"},Q,()=>({Authorization:`Bearer ${fJ()??_}`,"anthropic-version":"2023-06-01"}),{maxConsecutiveFailures:50,isBridge:!0,onBatchDropped:()=>{q?.("reconnecting","Lost sync with Remote Control — events could not be delivered"),xJ()}})))}}};AZ(VZ);let wJ=E?setInterval(()=>{if(KJ)return;D(O,{sessionId:j,environmentId:z,source:"repl"})},3600000):null;wJ?.unref?.();let iJ=R().session_keepalive_interval_v2_ms,MJ=iJ>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: ${M(Q)}`)})},iJ):null;MJ?.unref?.();let hJ=!1;qJ=async()=>{if(hJ){J(`[bridge:repl] Teardown already in progress, skipping duplicate call env=${z} session=${j}`);return}hJ=!0;let Q=Date.now();if(J(`[bridge:repl] Teardown starting: env=${z} session=${j} workId=${w??"none"} transportState=${Z?.getStateLabel()??"null"}`),wJ!==null)clearInterval(wJ);if(MJ!==null)clearInterval(MJ);if(p.abort(),J("[bridge:repl] Teardown: poll loop aborted"),Z){let x=Z.getLastSequenceNum();if(x>b)b=x}if(E){Z=null,a.drop(),await D(O,{sessionId:j,environmentId:z,source:"repl"}),J(`[bridge:repl] Teardown (perpetual): leaving env=${z} session=${j} alive on server, duration=${Date.now()-Q}ms`);return}let $=Z;if(Z=null,a.drop(),$)$.write(TJ(j));let G=w?T.stopWork(z,w,!0).then(()=>{J("[bridge:repl] Teardown: stopWork completed")}).catch((x)=>{J(`[bridge:repl] Teardown stopWork failed: ${M(x)}`)}):Promise.resolve();await Promise.all([G,d(j)]),$?.close(),J("[bridge:repl] Teardown: transport closed"),await T.deregisterEnvironment(z).catch((x)=>{J(`[bridge:repl] Teardown deregister failed: ${M(x)}`)}),await X(O),J(`[bridge:repl] Teardown complete: env=${z} duration=${Date.now()-Q}ms`)};let HZ=QQ(()=>qJ?.());return J(`[bridge:repl] Ready: env=${z} session=${j}`),q?.("ready"),{get bridgeSessionId(){return j},get environmentId(){return z},getSSESequenceNum(){let Q=Z?.getLastSequenceNum()??0;return Math.max(b,Q)},sessionIngressUrl:A,writeMessages(Q){let $=Q.filter((K)=>DJ(K)&&!RJ.has(K.uuid)&&!JJ.has(K.uuid));if($.length===0)return;if(!PJ)for(let K of $){let c=NQ(K);if(c!==void 0&&m?.(c,j)){PJ=!0;break}}if(a.enqueue(...$)){J(`[bridge:repl] Queued ${$.length} message(s) during initial flush`);return}if(!Z){let K=$.map((c)=>c.type).join(",");J(`[bridge:repl] Transport not configured, dropping ${$.length} message(s) [${K}] for session=${j}`,{level:"warn"});return}for(let K of $)JJ.add(K.uuid);J(`[bridge:repl] Sending ${$.length} message(s) via transport`);let x=$J($).map((K)=>({...K,session_id:j}));Z.writeBatch(x)},writeSdkMessages(Q){let $=Q.filter((x)=>!x.uuid||!JJ.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)JJ.add(x.uuid);let G=$.map((x)=>({...x,session_id:j}));Z.writeBatch(G)},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(TJ(j)),J(`[bridge:repl] Sent result for session=${j}`)},async teardown(){HZ(),await qJ?.(),J("[bridge:repl] Torn down")}}}async function AZ({api:C,getCredentials:O,signal:h,onStateChange:y,onWorkReceived:i,onEnvironmentLost:t,getWsState:s,isAtCapacity:A,capacitySignal:S,onFatalError:o,getPollIntervalConfig:n=()=>SJ,getHeartbeatInfo:d,onHeartbeatFatal:e}){J(`[bridge:repl] Starting work poll loop for env=${O().environmentId}`);let F=0,R=null,U=null,N=0,v=!1;while(!h.aborted){let{environmentId:k,environmentSecret:r}=O(),l=n();try{let V=await C.pollForWork(k,r,h,l.reclaim_older_than_ms);if(N=0,F>0)J(`[bridge:repl] Poll recovered after ${F} consecutive error(s)`),F=0,R=null,U=null,y?.("ready");if(!V){let P=v;if(v=!1,A?.()&&S&&!P){let q=l.poll_interval_ms_at_capacity;if(l.non_exclusive_heartbeat_interval_ms>0&&d){let E=q>0?Date.now()+q:null,I=!1,B=0;while(!h.aborted&&A()&&(E===null||Date.now()<E)){let X=n();if(X.non_exclusive_heartbeat_interval_ms<=0)break;let H=d();if(!H)break;let W=S();try{await C.heartbeatWork(H.environmentId,H.workId,H.sessionToken)}catch(Y){if(J(`[bridge:repl:heartbeat] Failed: ${M(Y)}`),Y instanceof BJ){if(W.cleanup(),e)e(Y),J(`[bridge:repl:heartbeat] Fatal (status=${Y.status}), work state cleared — fast-polling for re-dispatch`);else I=!0;break}}B++,await LJ(X.non_exclusive_heartbeat_interval_ms,W.signal),W.cleanup()}let D=I?"error":h.aborted?"shutdown":!A()?"capacity_changed":E!==null&&Date.now()>=E?"poll_due":"config_disabled";if(!I){if(D==="poll_due")J(`[bridge:repl] Heartbeat poll_due after ${B} cycles — falling through to pollForWork`);continue}}let m=q>0?q:l.non_exclusive_heartbeat_interval_ms;if(m>0){let E=S(),I=Date.now();await LJ(m,E.signal),E.cleanup();let B=Date.now()-I-m;if(B>60000)J(`[bridge:repl] At-capacity sleep overran by ${Math.round(B/1000)}s — process suspension detected, forcing one fast-poll cycle`),v=!0}}else await LJ(l.poll_interval_ms_not_at_capacity,h);continue}let f;try{f=BQ(V.secret)}catch(P){J(`[bridge:repl] Failed to decode work secret: ${M(P)}`),await C.stopWork(k,V.id,!1).catch(()=>{});continue}J(`[bridge:repl] Acknowledging workId=${V.id}`);try{await C.acknowledgeWork(k,V.id,f.session_ingress_token)}catch(P){J(`[bridge:repl] Acknowledge failed workId=${V.id}: ${M(P)}`)}if(V.data.type==="healthcheck"){J("[bridge:repl] Healthcheck received");continue}if(V.data.type==="session"){let P=V.data.id;try{WQ(P,"session_id")}catch{J(`[bridge:repl] Invalid session_id in work: ${P}`);continue}i(P,f.session_ingress_token,V.id,f.use_code_sessions===!0),J("[bridge:repl] Work accepted, continuing poll loop")}}catch(V){if(h.aborted)break;if(V instanceof BJ&&V.status===404&&t){let B=O().environmentId;if(k!==B){J(`[bridge:repl] Stale poll error for old env=${k}, current env=${B} — skipping onEnvironmentLost`),F=0,R=null;continue}if(N++,J(`[bridge:repl] Environment deleted, attempting re-registration (attempt ${N}/3)`),N>3){J("[bridge:repl] Environment re-registration limit reached (3), giving up"),y?.("failed","Environment deleted and re-registration limit reached"),o?.();break}y?.("reconnecting","environment lost, recreating session");let D=await t();if(h.aborted)break;if(D){F=0,R=null,y?.("ready"),J(`[bridge:repl] Re-registered environment: ${D.environmentId}`);continue}y?.("failed","Environment deleted and re-registration failed"),o?.();break}if(V instanceof BJ){let B=_Q(V.errorType),D=OQ(V);if(J(`[bridge:repl] Fatal poll error: ${V.message} (status=${V.status}, type=${V.errorType??"unknown"})${D?" (suppressed)":""}`),VJ(B?"info":"error","bridge_repl_fatal_error",{status:V.status,error_type:V.errorType}),!D)y?.("failed",B?"session expired · /remote-control to reconnect":V.message);o?.();break}let f=Date.now();if(U!==null&&f-U>nJ*2)J(`[bridge:repl] Detected system sleep (${Math.round((f-U)/1000)}s gap), resetting poll error budget`),VJ("info","bridge_repl_poll_sleep_detected",{gapMs:f-U}),F=0,R=null;if(U=f,F++,R===null)R=f;let P=f-R,q=xQ(V),m=HQ(V),E=s?.()??"unknown";if(J(`[bridge:repl] Poll error (attempt ${F}, elapsed ${Math.round(P/1000)}s, ws=${E}): ${m}`),F===1)y?.("reconnecting",m);if(P>=rJ){J(`[bridge:repl] Poll failures exceeded ${rJ/1000}s (${F} errors), giving up`),VJ("info","bridge_repl_poll_give_up"),y?.("failed","connection to server lost");break}let I=Math.min(yZ*2**(F-1),nJ);if(n().non_exclusive_heartbeat_interval_ms>0){let B=d?.();if(B)try{await C.heartbeatWork(B.environmentId,B.workId,B.sessionToken)}catch{}}await LJ(I,h)}}J(`[bridge:repl] Work poll loop ended (aborted=${h.aborted}) env=${O().environmentId}`)}KQ();async function T0(C){let{onInboundMessage:O,onPermissionResponse:h,onInterrupt:y,onSetModel:i,onSetMaxThinkingTokens:t,onSetPermissionMode:s,onStateChange:A,initialMessages:S,getMessages:o,previouslyFlushedUUIDs:n,initialName:d,perpetual:e,outboundOnly:$J,tags:F}=C??{};if(uQ(sQ),!await iQ())return g("not_enabled","[bridge:repl] Skipping: bridge not enabled"),null;if(!ZJ())return g("no_oauth","[bridge:repl] Skipping: no OAuth tokens"),A?.("failed","/login"),null;if(await dQ(),!lQ("allow_remote_control"))return g("policy_denied","[bridge:repl] Skipping: allow_remote_control policy not allowed"),A?.("failed","disabled by your organization's policy"),null;if(!aQ()){let X=TQ();if(X.bridgeOauthDeadExpiresAt!=null&&(X.bridgeOauthDeadFailCount??0)>=3&&IJ()?.expiresAt===X.bridgeOauthDeadExpiresAt)return J(`[bridge:repl] Skipping: cross-process backoff (dead token seen ${X.bridgeOauthDeadFailCount} times)`),A?.("failed","sign-in expired — run /login"),null;await IQ();let H=IJ();if(H&&H.expiresAt!==null&&H.expiresAt<=Date.now()){g("oauth_expired_unrefreshable","[bridge:repl] Skipping: OAuth token expired and refresh failed (re-login required)"),A?.("failed","/login");let W=H.expiresAt;return DQ((Y)=>({...Y,bridgeOauthDeadExpiresAt:W,bridgeOauthDeadFailCount:Y.bridgeOauthDeadExpiresAt===W?(Y.bridgeOauthDeadFailCount??0)+1:1})),null}}let R=gQ(),U=`remote-control-${cQ()}`,N=!1,v=!1;if(d)U=d,N=!0,v=!0;else{let X=_J(),H=X?OJ(X):void 0;if(H)U=H,N=!0,v=!0;else if(S&&S.length>0)for(let W=S.length-1;W>=0;W--){let Y=S[W];if(Y.type!=="user"||Y.isMeta||Y.toolUseResult||Y.isCompactSummary||Y.origin&&Y.origin.kind!=="human"||$Z(Y))continue;let jJ=pQ(Y.message.content);if(!jJ)continue;let T=FQ(jJ);if(!T)continue;U=T,N=!0;break}}let k=0,r,l=0,V=(X,H,W)=>{N=!0,U=X,J(`[bridge:repl] derived title from message ${W}: ${X}`),QZ(H,X,{baseUrl:R,getAccessToken:ZJ}).catch(()=>{})},f=(X,H)=>{let W=++l,Y=k;rQ(X,AbortSignal.timeout(15000)).then((jJ)=>{if(jJ&&W===l&&r===H&&!OJ(_J()))V(jJ,H,Y)})},P=(X,H)=>{if(v||OJ(_J()))return!0;if(r!==void 0&&r!==H)k=0;if(r=H,k++,k===1&&!N){let W=FQ(X);if(W)V(W,H,k);f(X,H)}else if(k===3){let W=o?.(),Y=W?nQ(jZ(W)):X;f(Y,H)}return k>=3},q=vQ("tengu_bridge_initial_history_cap",200,300000),m=await SQ();if(!m)return g("no_org_uuid","[bridge:repl] Skipping: no org UUID"),A?.("failed","/login"),null;if(tQ()&&!e){let X=await ZZ();if(X)return g("version_too_old",`[bridge:repl] Skipping: ${X}`,!0),A?.("failed","run `claude update` to upgrade"),null;J("[bridge:repl] Using env-less bridge path (tengu_bridge_repl_v2)");let{initEnvLessBridgeCore:H}=await import("./remoteBridgeCore-1.1.35-ev420056.mjs");return H({baseUrl:R,orgUUID:m,title:U,getAccessToken:ZJ,onAuth401:pJ,toSDKMessages:cJ,initialHistoryCap:q,initialMessages:S,onInboundMessage:O,onUserMessage:P,onPermissionResponse:h,onInterrupt:y,onSetModel:i,onSetMaxThinkingTokens:t,onSetPermissionMode:s,onStateChange:A,outboundOnly:$J,tags:F})}let E=oQ();if(E)return g("version_too_old",`[bridge:repl] Skipping: ${E}`),A?.("failed","run `claude update` to upgrade"),null;let I=await CQ(),B=await mQ(),D=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||R;return MQ({dir:kQ(),machineName:IZ(),branch:I,gitRepoUrl:B,title:U,baseUrl:R,sessionIngressUrl:D,workerType:"claude_code",getAccessToken:ZJ,createSession:(X)=>eQ({...X,events:[],baseUrl:R,getAccessToken:ZJ}),archiveSession:(X)=>JZ(X,{baseUrl:R,getAccessToken:ZJ,timeoutMs:1500}).catch((H)=>{J(`[bridge:repl] archiveBridgeSession threw: ${M(H)}`,{level:"error"})}),getCurrentTitle:()=>OJ(_J())??U,onUserMessage:P,toSDKMessages:cJ,onAuth401:pJ,getPollIntervalConfig:zZ,initialHistoryCap:q,initialMessages:S,previouslyFlushedUUIDs:n,onInboundMessage:O,onPermissionResponse:h,onInterrupt:y,onSetModel:i,onSetMaxThinkingTokens:t,onSetPermissionMode:s,onStateChange:A,perpetual:e})}var hQ=50;function FQ(C){let O=bQ(C),y=(/^(.*?[.!?])\s/.exec(O)?.[1]??O).replace(/\s+/g," ").trim();if(!y)return;return y.length>hQ?y.slice(0,hQ-1)+"…":y}export{T0 as initReplBridge};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$Y as w,HX as b,HY as o,IX as c,JX as d,KX as e,OY as p,QY as q,RX as f,SX as g,SY as r,TX as h,UX as i,WY as s,YY as t,ZY as u,_Y as v,aZ as x,bZ as y,cY as j,cZ as z,eZ as A,fZ as B,gY as k,kZ as C,lZ as D,mZ as E,nZ as F,oZ as G,rZ as H,sY as l,sZ as I,tZ as J,uZ as K,vZ as L,wZ as M,xY as m,xZ as N,zY as n}from"./cli-1.1.35-dw3fv0g8.mjs";import"./cli-1.1.35-bhmad6rp.mjs";import{N1 as a}from"./cli-1.1.35-q1axe4bk.mjs";import"./cli-1.1.35-wtjyzsga.mjs";import"./cli-1.1.35-8ttx7y70.mjs";import"./cli-1.1.35-b0n88pf7.mjs";import"./cli-1.1.35-bq7wadxz.mjs";import"./cli-1.1.35-a9y8qxsj.mjs";import"./cli-1.1.35-x5ft52g3.mjs";import"./cli-1.1.35-dnacc640.mjs";import"./cli-1.1.35-r4rm2297.mjs";import"./cli-1.1.35-02qx9a8j.mjs";import"./cli-1.1.35-41srzc8c.mjs";import"./cli-1.1.35-zf7zq3kb.mjs";import"./cli-1.1.35-h06ng57d.mjs";import"./cli-1.1.35-7p1685r1.mjs";import"./cli-1.1.35-a7ygtwdr.mjs";import"./cli-1.1.35-jdqn8gkp.mjs";import"./cli-1.1.35-w9wzew2x.mjs";import"./cli-1.1.35-g74y15na.mjs";import"./cli-1.1.35-1ceb2tjb.mjs";import"./cli-1.1.35-tsx8c30n.mjs";import"./cli-1.1.35-ms3xdp4c.mjs";import"./cli-1.1.35-c05841mj.mjs";N();export{j as wrapText,d as useThemeSetting,c as useTheme,z as useTerminalViewport,I as useTerminalTitle,l as useTerminalFocus,H as useTabStatus,C as useStdin,G as useSelection,e as usePreviewTheme,F as useInterval,D as useInput,B as useApp,E as useAnimationTimer,A as useAnimationFrame,a as supportsTabStatus,L as render,K as measureElement,J as measureAbsoluteRect,M as createRoot,p as color,b as ThemeProvider,r as Text,i as TerminalFocusEvent,y as Spacer,x as RawAnsi,w as NoSelect,v as Newline,s as Link,h as InputEvent,k as FocusManager,g as EventEmitter,f as Event,o as ClickEvent,u as Button,q as Box,n as BaseText,m as BaseBox,t as Ansi};
|