@claudiolabs/claudin 0.7.2 → 0.7.5
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/LICENSE +23 -200
- package/README.md +27 -90
- package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +1 -0
- package/dist/chunks/App-0.7.5-acjfhz7f.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +1 -0
- package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +7 -0
- package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +6 -0
- package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +1 -0
- package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +1 -0
- package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +1 -0
- package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +1 -0
- package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +1 -0
- package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +1 -0
- package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +1 -0
- package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +1 -0
- package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +1 -0
- package/dist/chunks/agents-0.7.5-4qcppggm.mjs +110 -0
- package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +3 -0
- package/dist/chunks/api-0.7.5-fcbv21bw.mjs +1 -0
- package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +1 -0
- package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +1 -0
- package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +1 -0
- package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +1 -0
- package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +48 -0
- package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +1 -0
- package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +4 -0
- package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +1 -0
- package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +88 -0
- package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +1 -0
- package/dist/chunks/btw-0.7.5-yawwzr37.mjs +1 -0
- package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +3 -0
- package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +1 -0
- package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +21 -0
- package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +4 -0
- package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +1 -0
- package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +1 -0
- package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +1 -0
- package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +1 -0
- package/dist/chunks/cli-0.7.5-012a6zfk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-10stvena.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1130jhj6.mjs +5469 -0
- package/dist/chunks/cli-0.7.5-137tt9mn.mjs +42 -0
- package/dist/chunks/cli-0.7.5-1raty5m9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +17 -0
- package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +2 -0
- package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2czfx8da.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +3 -0
- package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-40m9mj91.mjs +133 -0
- package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-49f39qnb.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +59 -0
- package/dist/chunks/cli-0.7.5-4pc187my.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4pekv38x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +2 -0
- package/dist/chunks/cli-0.7.5-510b39kd.mjs +3 -0
- package/dist/chunks/cli-0.7.5-529cdx0d.mjs +2 -0
- package/dist/chunks/cli-0.7.5-56navtps.mjs +3 -0
- package/dist/chunks/cli-0.7.5-57cepgzg.mjs +4 -0
- package/dist/chunks/cli-0.7.5-5a315ky8.mjs +17 -0
- package/dist/chunks/cli-0.7.5-5nkj9199.mjs +2 -0
- package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +15 -0
- package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +3 -0
- package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +3 -0
- package/dist/chunks/cli-0.7.5-5z67f2be.mjs +18 -0
- package/dist/chunks/cli-0.7.5-60age1v3.mjs +3 -0
- package/dist/chunks/cli-0.7.5-614rpqd6.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +34 -0
- package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +6 -0
- package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +45 -0
- package/dist/chunks/cli-0.7.5-80je81v4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-81aasr9m.mjs +2 -0
- package/dist/chunks/cli-0.7.5-84ksc40j.mjs +25 -0
- package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +15 -0
- package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-92scwwjf.mjs +24 -0
- package/dist/chunks/cli-0.7.5-975by9n8.mjs +3 -0
- package/dist/chunks/cli-0.7.5-987zbyps.mjs +2 -0
- package/dist/chunks/cli-0.7.5-99wdc670.mjs +24 -0
- package/dist/chunks/cli-0.7.5-9na53kvh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +5 -0
- package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +133 -0
- package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +2 -0
- package/dist/chunks/cli-0.7.5-a36ctp71.mjs +6 -0
- package/dist/chunks/cli-0.7.5-acfkszsn.mjs +8 -0
- package/dist/chunks/cli-0.7.5-akxpdesn.mjs +2 -0
- package/dist/chunks/cli-0.7.5-aphrc23w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-apycan2y.mjs +2 -0
- package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-atzfkz67.mjs +2 -0
- package/dist/chunks/cli-0.7.5-az0dwafe.mjs +2 -0
- package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +2 -0
- package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +2 -0
- package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +2 -0
- package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-c3w496ap.mjs +3 -0
- package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ca0xearm.mjs +2 -0
- package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +2 -0
- package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +20 -0
- package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dc34hzge.mjs +12 -0
- package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dp4tresm.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dzyyype0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +10 -0
- package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +2 -0
- package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +5 -0
- package/dist/chunks/cli-0.7.5-f9v35634.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +12 -0
- package/dist/chunks/cli-0.7.5-ftngeevg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fzamc565.mjs +3 -0
- package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +4 -0
- package/dist/chunks/cli-0.7.5-fzqampqh.mjs +4 -0
- package/dist/chunks/cli-0.7.5-g3ejs520.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gbz8thht.mjs +50 -0
- package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +3 -0
- package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gfq85y17.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gh00zb08.mjs +18 -0
- package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +194 -0
- package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +9 -0
- package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +2 -0
- package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jc93grn1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +39 -0
- package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +4 -0
- package/dist/chunks/cli-0.7.5-krbmx93g.mjs +2 -0
- package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +7 -0
- package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +2 -0
- package/dist/chunks/cli-0.7.5-medd7tha.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mkypasee.mjs +3 -0
- package/dist/chunks/cli-0.7.5-mtaq950q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-myvw92ta.mjs +2 -0
- package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +4 -0
- package/dist/chunks/cli-0.7.5-p72rah24.mjs +2 -0
- package/dist/chunks/cli-0.7.5-paykwdd9.mjs +26 -0
- package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +67 -0
- package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +2 -0
- package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +2 -0
- package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +4 -0
- package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +3 -0
- package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +5 -0
- package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rahmqve7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rbv538zg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +16 -0
- package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +58 -0
- package/dist/chunks/cli-0.7.5-sq0v922e.mjs +6 -0
- package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +4 -0
- package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-v8apq7df.mjs +15 -0
- package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-vktpnz25.mjs +2 -0
- package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +6 -0
- package/dist/chunks/cli-0.7.5-vzssapx0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +18 -0
- package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wj3w13az.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wjfmb762.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +4 -0
- package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-x2z686xj.mjs +25 -0
- package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +12 -0
- package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +24 -0
- package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +3 -0
- package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +12 -0
- package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +1 -0
- package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +21 -0
- package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +2 -0
- package/dist/chunks/cli-0.7.5-yr70t57x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +4 -0
- package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +4 -0
- package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zftjc44p.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +2 -0
- package/dist/chunks/client-0.7.5-w36k0xa4.mjs +1 -0
- package/dist/chunks/color-0.7.5-6q028b6j.mjs +1 -0
- package/dist/chunks/compact-0.7.5-brw7r66h.mjs +3 -0
- package/dist/chunks/config-0.7.5-23y0vmxv.mjs +1 -0
- package/dist/chunks/config-0.7.5-scfm2ghv.mjs +1 -0
- package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +1 -0
- package/dist/chunks/context-0.7.5-5sr5p20h.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +1 -0
- package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +1 -0
- package/dist/chunks/copy-0.7.5-1j6r3503.mjs +9 -0
- package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +1 -0
- package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +1 -0
- package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +1 -0
- package/dist/chunks/debug-0.7.5-f7ay5633.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +1446 -0
- package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +1 -0
- package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +1 -0
- package/dist/chunks/detection-0.7.5-g5p116dy.mjs +1 -0
- package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +1 -0
- package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +1 -0
- package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +1 -0
- package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +10 -0
- package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +1 -0
- package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +1 -0
- package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +1 -0
- package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +1 -0
- package/dist/chunks/errors-0.7.5-39sxdk37.mjs +1 -0
- package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +1 -0
- package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +1 -0
- package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +1 -0
- package/dist/chunks/export-0.7.5-34j4n9kh.mjs +2 -0
- package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +1 -0
- package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +1 -0
- package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +1 -0
- package/dist/chunks/git-0.7.5-e2235c1t.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +1 -0
- package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +4 -0
- package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +1 -0
- package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +1 -0
- package/dist/chunks/headless-0.7.5-wbtxesec.mjs +2 -0
- package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +6 -0
- package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +1 -0
- package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +3 -0
- package/dist/chunks/hooks-0.7.5-167mv9th.mjs +1 -0
- package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +79 -0
- package/dist/chunks/ide-0.7.5-n6hvszan.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +1 -0
- package/dist/chunks/index-0.7.5-5j4305xq.mjs +1 -0
- package/dist/chunks/index-0.7.5-63xhx5j4.mjs +1 -0
- package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +9 -0
- package/dist/chunks/index-0.7.5-a12krakj.mjs +2 -0
- package/dist/chunks/index-0.7.5-bsq6e16w.mjs +1 -0
- package/dist/chunks/index-0.7.5-caethvnv.mjs +1 -0
- package/dist/chunks/index-0.7.5-cx1vr981.mjs +17 -0
- package/dist/chunks/index-0.7.5-dcd3w04q.mjs +1 -0
- package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +9 -0
- package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +2 -0
- package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +5 -0
- package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +1 -0
- package/dist/chunks/index-0.7.5-kzhpap3n.mjs +1 -0
- package/dist/chunks/index-0.7.5-njd4yt57.mjs +1 -0
- package/dist/chunks/index-0.7.5-r1ny63xd.mjs +1 -0
- package/dist/chunks/index-0.7.5-ry24w7t2.mjs +1 -0
- package/dist/chunks/index-0.7.5-syzp921n.mjs +30 -0
- package/dist/chunks/index-0.7.5-t7jx62n3.mjs +1 -0
- package/dist/chunks/index-0.7.5-wj36e6k0.mjs +1 -0
- package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +1 -0
- package/dist/chunks/index-0.7.5-yzrfjy23.mjs +1 -0
- package/dist/chunks/index-0.7.5-zfker4t5.mjs +1 -0
- package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +1 -0
- package/dist/chunks/init-0.7.5-hh6v113j.mjs +1 -0
- package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +1 -0
- package/dist/chunks/ink-0.7.5-56yev9n3.mjs +1 -0
- package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +870 -0
- package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +1 -0
- package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +149 -0
- package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +1 -0
- package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +1 -0
- package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +2 -0
- package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +1 -0
- package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +1 -0
- package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +1 -0
- package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +1 -0
- package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +1 -0
- package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +4 -0
- package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +17 -0
- package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +1 -0
- package/dist/chunks/memory-0.7.5-fvpt844c.mjs +3 -0
- package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +2 -0
- package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +1 -0
- package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +12 -0
- package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +1 -0
- package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +14 -0
- package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +1 -0
- package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +1 -0
- package/dist/chunks/passes-0.7.5-4axt111x.mjs +1 -0
- package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +3 -0
- package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +1 -0
- package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +1 -0
- package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +1 -0
- package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +1 -0
- package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +9 -0
- package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +2 -0
- package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +57 -0
- package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +1 -0
- package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +1 -0
- package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +9 -0
- package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +1 -0
- package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +1 -0
- package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +1 -0
- package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +13 -0
- package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +2 -0
- package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +1 -0
- package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +34 -0
- package/dist/chunks/registry-0.7.5-whsh7x53.mjs +1 -0
- package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +5 -0
- package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +2 -0
- package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +1 -0
- package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +1 -0
- package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +1 -0
- package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +1 -0
- package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +2 -0
- package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +1 -0
- package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +1 -0
- package/dist/chunks/session-0.7.5-hkxz3wye.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +1 -0
- package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +1 -0
- package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +1 -0
- package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +5 -0
- package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +1 -0
- package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +1 -0
- package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +1 -0
- package/dist/chunks/state-0.7.5-ak36peq3.mjs +1 -0
- package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +6 -0
- package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +1 -0
- package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +1 -0
- package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +1 -0
- package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +1 -0
- package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +1 -0
- package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +1 -0
- package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +1 -0
- package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +1 -0
- package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +1 -0
- package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +1 -0
- package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +1 -0
- package/dist/chunks/tools-0.7.5-a8e705rj.mjs +1 -0
- package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +69 -0
- package/dist/chunks/types-0.7.5-63qbfwst.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +4 -0
- package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +86 -0
- package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +1 -0
- package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +1 -0
- package/dist/chunks/usage-0.7.5-36hanm9f.mjs +1 -0
- package/dist/chunks/util-0.7.5-90a4jn87.mjs +1 -0
- package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +1 -0
- package/dist/chunks/vim-0.7.5-nptszgna.mjs +1 -0
- package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +1 -0
- package/dist/chunks/wiki-0.7.5-zngdktge.mjs +132 -0
- package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +1 -0
- package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +1 -0
- package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +12 -4
- package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +0 -1
- package/dist/chunks/App-0.7.2-1yazneaj.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +0 -1
- package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +0 -7
- package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +0 -6
- package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +0 -1
- package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +0 -1
- package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +0 -1
- package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +0 -1
- package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +0 -1
- package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +0 -1
- package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +0 -1
- package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +0 -1
- package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +0 -3
- package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +0 -110
- package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +0 -1
- package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +0 -1
- package/dist/chunks/assistant-0.7.2-txvf934b.mjs +0 -1
- package/dist/chunks/auth-0.7.2-02q30rsb.mjs +0 -1
- package/dist/chunks/auth-0.7.2-x29x49yh.mjs +0 -1
- package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +0 -48
- package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +0 -1
- package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +0 -4
- package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +0 -1
- package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +0 -88
- package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +0 -1
- package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +0 -1
- package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +0 -3
- package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +0 -1
- package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +0 -21
- package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +0 -4
- package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +0 -1
- package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +0 -1
- package/dist/chunks/clear-0.7.2-v59pskrm.mjs +0 -1
- package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +0 -1
- package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +0 -2
- package/dist/chunks/cli-0.7.2-0mj25tns.mjs +0 -2
- package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +0 -2
- package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-21mtjks8.mjs +0 -15
- package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-26rzbaez.mjs +0 -2
- package/dist/chunks/cli-0.7.2-29hh46ve.mjs +0 -3
- package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-2rj33835.mjs +0 -6
- package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-358vh55m.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3frg7csa.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3s2zd715.mjs +0 -3
- package/dist/chunks/cli-0.7.2-3synxf81.mjs +0 -2
- package/dist/chunks/cli-0.7.2-40f37y02.mjs +0 -2
- package/dist/chunks/cli-0.7.2-40xymk1q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-437jawbh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +0 -2
- package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-4g4d682x.mjs +0 -3
- package/dist/chunks/cli-0.7.2-520tgkhw.mjs +0 -5438
- package/dist/chunks/cli-0.7.2-53qayxqk.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5415yrkc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-55ye29jy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5750g5et.mjs +0 -2
- package/dist/chunks/cli-0.7.2-59wm2srd.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5aka4emf.mjs +0 -133
- package/dist/chunks/cli-0.7.2-5c89p68w.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +0 -4
- package/dist/chunks/cli-0.7.2-5e72m61f.mjs +0 -25
- package/dist/chunks/cli-0.7.2-5ff63f31.mjs +0 -4
- package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +0 -193
- package/dist/chunks/cli-0.7.2-5tacs42k.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5y498dyr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +0 -15
- package/dist/chunks/cli-0.7.2-5yrman6f.mjs +0 -2
- package/dist/chunks/cli-0.7.2-60exfzc0.mjs +0 -2
- package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +0 -2
- package/dist/chunks/cli-0.7.2-68dn8am7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +0 -12
- package/dist/chunks/cli-0.7.2-796x24s1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-81s45w7r.mjs +0 -2
- package/dist/chunks/cli-0.7.2-828f420c.mjs +0 -7
- package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +0 -2
- package/dist/chunks/cli-0.7.2-88h70xrj.mjs +0 -50
- package/dist/chunks/cli-0.7.2-894093rv.mjs +0 -2
- package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-8pfcc363.mjs +0 -12
- package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +0 -16
- package/dist/chunks/cli-0.7.2-9156j3vm.mjs +0 -6
- package/dist/chunks/cli-0.7.2-9328ezjz.mjs +0 -3
- package/dist/chunks/cli-0.7.2-9953mwyy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-99am4r15.mjs +0 -4
- package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +0 -4
- package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a6q1amed.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a9324x4q.mjs +0 -8
- package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +0 -2
- package/dist/chunks/cli-0.7.2-atsd6734.mjs +0 -2
- package/dist/chunks/cli-0.7.2-avk3azcp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +0 -2
- package/dist/chunks/cli-0.7.2-b9pdb0nv.mjs +0 -26
- package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +0 -2
- package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +0 -21
- package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +0 -18
- package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +0 -6
- package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +0 -2
- package/dist/chunks/cli-0.7.2-d5fbych4.mjs +0 -2
- package/dist/chunks/cli-0.7.2-dggndd24.mjs +0 -2
- package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-dxm2c139.mjs +0 -24
- package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +0 -2
- package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-edf740pd.mjs +0 -5
- package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +0 -2
- package/dist/chunks/cli-0.7.2-f4nt233k.mjs +0 -3
- package/dist/chunks/cli-0.7.2-fcadqwem.mjs +0 -1
- package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +0 -12
- package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gar34ch2.mjs +0 -4
- package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gssxkynf.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gysw8esj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h248q4gt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h7m849rt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h903zfjz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-hbmczrch.mjs +0 -9
- package/dist/chunks/cli-0.7.2-he1hdn59.mjs +0 -18
- package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-hv1z3had.mjs +0 -3
- package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-j029dkan.mjs +0 -3
- package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +0 -2
- package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jn2497vh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +0 -2
- package/dist/chunks/cli-0.7.2-k40k933y.mjs +0 -24
- package/dist/chunks/cli-0.7.2-k6jnr159.mjs +0 -2
- package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +0 -2
- package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +0 -12
- package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +0 -15
- package/dist/chunks/cli-0.7.2-mqv265gk.mjs +0 -42
- package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +0 -3
- package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ndt224p1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-nf346apq.mjs +0 -18
- package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-nkafymh4.mjs +0 -3
- package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +0 -45
- package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +0 -3
- package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +0 -67
- package/dist/chunks/cli-0.7.2-pjavf176.mjs +0 -2
- package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q85af7gm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q88h44qv.mjs +0 -17
- package/dist/chunks/cli-0.7.2-q9twb2tn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qf8435qy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +0 -5
- package/dist/chunks/cli-0.7.2-qr706n52.mjs +0 -10
- package/dist/chunks/cli-0.7.2-qsx52bst.mjs +0 -2
- package/dist/chunks/cli-0.7.2-r1502pen.mjs +0 -2
- package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +0 -5
- package/dist/chunks/cli-0.7.2-r7x165sf.mjs +0 -17
- package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +0 -133
- package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tds456xt.mjs +0 -34
- package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +0 -4
- package/dist/chunks/cli-0.7.2-twx01hwg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +0 -3
- package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tz5zv753.mjs +0 -6
- package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +0 -3
- package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +0 -4
- package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vx10940a.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-w07ksegr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-waas8a1p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wahbzckp.mjs +0 -58
- package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xced0m7v.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +0 -39
- package/dist/chunks/cli-0.7.2-xpw13d73.mjs +0 -59
- package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +0 -20
- package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ygx94a70.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-yppcb6em.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +0 -3
- package/dist/chunks/cli-0.7.2-zva1j44t.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +0 -2
- package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +0 -1
- package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +0 -1
- package/dist/chunks/compact-0.7.2-1htfptdq.mjs +0 -3
- package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +0 -1
- package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +0 -1
- package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +0 -1
- package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +0 -1
- package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +0 -1
- package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +0 -9
- package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +0 -1
- package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +0 -1
- package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +0 -1
- package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +0 -1446
- package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +0 -1
- package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +0 -1
- package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +0 -1
- package/dist/chunks/diff-0.7.2-7np6da8n.mjs +0 -1
- package/dist/chunks/doctor-0.7.2-spqx634t.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +0 -1
- package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +0 -1
- package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +0 -1
- package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +0 -1
- package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +0 -1
- package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +0 -1
- package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +0 -1
- package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +0 -1
- package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +0 -1
- package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +0 -1
- package/dist/chunks/export-0.7.2-j6tnta5r.mjs +0 -2
- package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +0 -1
- package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +0 -1
- package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +0 -1
- package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +0 -1
- package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +0 -4
- package/dist/chunks/grove-0.7.2-9sxczf29.mjs +0 -1
- package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +0 -1
- package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +0 -2
- package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +0 -6
- package/dist/chunks/help-0.7.2-mkkkzv97.mjs +0 -1
- package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +0 -3
- package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +0 -1
- package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +0 -79
- package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +0 -1
- package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +0 -1
- package/dist/chunks/index-0.7.2-5mfmhd35.mjs +0 -1
- package/dist/chunks/index-0.7.2-62g62r4p.mjs +0 -1
- package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +0 -9
- package/dist/chunks/index-0.7.2-87jrdmn3.mjs +0 -2
- package/dist/chunks/index-0.7.2-9h4tsef1.mjs +0 -1
- package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +0 -1
- package/dist/chunks/index-0.7.2-a3w6at2z.mjs +0 -1
- package/dist/chunks/index-0.7.2-b296et1z.mjs +0 -1
- package/dist/chunks/index-0.7.2-c22bn4q9.mjs +0 -1
- package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +0 -9
- package/dist/chunks/index-0.7.2-f8swc4mv.mjs +0 -30
- package/dist/chunks/index-0.7.2-fdsptfbt.mjs +0 -17
- package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +0 -1
- package/dist/chunks/index-0.7.2-hjcptpaz.mjs +0 -1
- package/dist/chunks/index-0.7.2-hts44hhf.mjs +0 -2
- package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +0 -1
- package/dist/chunks/index-0.7.2-nhtpksxs.mjs +0 -5
- package/dist/chunks/index-0.7.2-p5a52s17.mjs +0 -1
- package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +0 -1
- package/dist/chunks/index-0.7.2-vfyvycvc.mjs +0 -1
- package/dist/chunks/index-0.7.2-vw5e1spt.mjs +0 -1
- package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +0 -1
- package/dist/chunks/init-0.7.2-mdhax55g.mjs +0 -1
- package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +0 -1
- package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +0 -1
- package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +0 -870
- package/dist/chunks/install-0.7.2-f33pbxz0.mjs +0 -1
- package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +0 -149
- package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +0 -1
- package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +0 -1
- package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +0 -2
- package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +0 -1
- package/dist/chunks/log-0.7.2-n28x7jf3.mjs +0 -1
- package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +0 -1
- package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +0 -1
- package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +0 -1
- package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +0 -17
- package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +0 -4
- package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +0 -1
- package/dist/chunks/memory-0.7.2-1hfh6410.mjs +0 -3
- package/dist/chunks/model-0.7.2-c8esc658.mjs +0 -1
- package/dist/chunks/model-0.7.2-sjw6chpt.mjs +0 -2
- package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +0 -12
- package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +0 -1
- package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +0 -14
- package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +0 -1
- package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +0 -1
- package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +0 -1
- package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +0 -1
- package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +0 -3
- package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +0 -1
- package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +0 -1
- package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +0 -1
- package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +0 -1
- package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +0 -9
- package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +0 -2
- package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +0 -57
- package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +0 -1
- package/dist/chunks/process-0.7.2-bydxzc10.mjs +0 -1
- package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +0 -9
- package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +0 -1
- package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +0 -1
- package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +0 -1
- package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +0 -13
- package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +0 -2
- package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +0 -1
- package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +0 -34
- package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +0 -1
- package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +0 -5
- package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +0 -2
- package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +0 -1
- package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +0 -1
- package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +0 -1
- package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +0 -1
- package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +0 -2
- package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +0 -1
- package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +0 -1
- package/dist/chunks/session-0.7.2-c8me3g3x.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +0 -1
- package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +0 -1
- package/dist/chunks/settings-0.7.2-xc200363.mjs +0 -1
- package/dist/chunks/setup-0.7.2-c982wyvz.mjs +0 -5
- package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +0 -1
- package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +0 -1
- package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +0 -1
- package/dist/chunks/state-0.7.2-p9tevca2.mjs +0 -1
- package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +0 -6
- package/dist/chunks/status-0.7.2-fh89jm1g.mjs +0 -1
- package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +0 -1
- package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +0 -1
- package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +0 -1
- package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +0 -1
- package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +0 -1
- package/dist/chunks/theme-0.7.2-1zmsca02.mjs +0 -1
- package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +0 -1
- package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +0 -1
- package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +0 -1
- package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +0 -1
- package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +0 -1
- package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +0 -69
- package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +0 -4
- package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +0 -86
- package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +0 -1
- package/dist/chunks/upload-0.7.2-p6je053d.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +0 -1
- package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +0 -1
- package/dist/chunks/util-0.7.2-n4vdasdr.mjs +0 -1
- package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +0 -1
- package/dist/chunks/vim-0.7.2-bd15xeza.mjs +0 -1
- package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +0 -1
- package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +0 -132
- package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +0 -1
- package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +0 -7
- /package/dist/chunks/{cli-0.7.2-1xbehmgb.mjs → cli-0.7.5-jk7d368h.mjs} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{rqa as r$,sqa as N6,tqa as XQ,uqa as M1,vqa as KQ}from"./cli-0.7.5-y3yqkc5p.mjs";import{Lqa as n4,Nqa as J4,Oqa as Z8,Pqa as T,Qqa as K4}from"./cli-0.7.5-012a6zfk.mjs";function t0($,Q){return function(){return $.apply(Q,arguments)}}var c4=()=>{};function f0($){return $!==null&&!m0($)&&$.constructor!==null&&!m0($.constructor)&&o($.constructor.isBuffer)&&$.constructor.isBuffer($)}function r6($){let Q;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Q=ArrayBuffer.isView($);else Q=$&&$.buffer&&h1($.buffer);return Q}function K$(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function e0($,Q,{allOwnKeys:Y=!1}={}){if($===null||typeof $>"u")return;let W,G;if(typeof $!=="object")$=[$];if(P0($))for(W=0,G=$.length;W<G;W++)Q.call(null,$[W],W,$);else{if(f0($))return;let J=Y?Object.getOwnPropertyNames($):Object.keys($),Z=J.length,z;for(W=0;W<Z;W++)z=J[W],Q.call(null,$[z],z,$)}}function u1($,Q){if(f0($))return null;Q=Q.toLowerCase();let Y=Object.keys($),W=Y.length,G;while(W-- >0)if(G=Y[W],Q===G.toLowerCase())return G;return null}function d4(...$){let{caseless:Q,skipUndefined:Y}=c1(this)&&this||{},W={},G=(J,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let z=Q&&typeof Z==="string"&&u1(W,Z)||Z,K=T4(W,z)?W[z]:void 0;if(_4(K)&&_4(J))W[z]=d4(K,J);else if(_4(J))W[z]=d4({},J);else if(P0(J))W[z]=J.slice();else if(!Y||!m0(J))W[z]=J};for(let J=0,Z=$.length;J<Z;J++){let z=$[J];if(!z||f0(z))continue;if(e0(z,G),typeof z!=="object"||P0(z))continue;let K=Object.getOwnPropertySymbols(z);for(let N=0;N<K.length;N++){let M=K[N];if(O$.call(z,M))G(z[M],M)}}return W}function b$($){return!!($&&o($.append)&&$[f1]==="FormData"&&$[o0])}var s6,y0,o0,f1,T4,r0=($,Q)=>{let Y=$,W=[];while(Y!=null&&Y!==Object.prototype){if(W.indexOf(Y)!==-1)return!1;if(W.push(Y),T4(Y,Q))return!0;Y=y0(Y)}return!1},t6=($,Q)=>$!=null&&r0($,Q)?$[Q]:void 0,l4,W0=($)=>{return $=$.toLowerCase(),(Q)=>l4(Q)===$},R4=($)=>(Q)=>typeof Q===$,P0,m0,h1,o6,o,g1,h0=($)=>$!==null&&typeof $==="object",e6=($)=>$===!0||$===!1,_4=($)=>{if(!h0($))return!1;let Q=y0($);return(Q===null||Q===Object.prototype||y0(Q)===null)&&!r0($,f1)&&!r0($,o0)},$$=($)=>{if(!h0($)||f0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Q){return!1}},Q$,Y$,W$=($)=>{return!!($&&typeof $.uri<"u")},G$=($)=>$&&typeof $.getParts<"u",Z$,J$,X$=($)=>h0($)&&o($.pipe),y1,m1,z$=($)=>{if(!$)return!1;if(m1&&$ instanceof m1)return!0;let Q=y0($);if(!Q||Q===Object.prototype)return!1;if(!o($.append))return!1;let Y=l4($);return Y==="formdata"||Y==="object"&&o($.toString)&&$.toString()==="[object FormData]"},N$,M$,B$,V$,I$,F$=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},q0,c1=($)=>!m0($)&&$!==q0,U$=($,Q,Y,{allOwnKeys:W}={})=>{return e0(Q,(G,J)=>{if(Y&&o(G))Object.defineProperty($,J,{__proto__:null,value:t0(G,Y),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,J,{__proto__:null,value:G,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:W}),$},L$=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},w$=($,Q,Y,W)=>{$.prototype=Object.create(Q.prototype,W),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Q.prototype}),Y&&Object.assign($.prototype,Y)},S$=($,Q,Y,W)=>{let G,J,Z,z={};if(Q=Q||{},$==null)return Q;do{G=Object.getOwnPropertyNames($),J=G.length;while(J-- >0)if(Z=G[J],(!W||W(Z,$,Q))&&!z[Z])Q[Z]=$[Z],z[Z]=!0;$=Y!==!1&&y0($)}while($&&(!Y||Y($,Q))&&$!==Object.prototype);return Q},D$=($,Q,Y)=>{if($=String($),Y===void 0||Y>$.length)Y=$.length;Y-=Q.length;let W=$.indexOf(Q,Y);return W!==-1&&W===Y},_$=($)=>{if(!$)return null;if(P0($))return $;let Q=$.length;if(!g1(Q))return null;let Y=Array(Q);while(Q-- >0)Y[Q]=$[Q];return Y},T$,R$=($,Q)=>{let W=($&&$[o0]).call($),G;while((G=W.next())&&!G.done){let J=G.value;Q.call($,J[0],J[1])}},q$=($,Q)=>{let Y,W=[];while((Y=$.exec(Q))!==null)W.push(Y);return W},P$,C$=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Y,W,G){return W.toUpperCase()+G})},O$,H$,d1=($,Q)=>{let Y=Object.getOwnPropertyDescriptors($),W={};e0(Y,(G,J)=>{let Z;if((Z=Q(G,J,$))!==!1)W[J]=Z||G}),Object.defineProperties($,W)},E$=($)=>{d1($,(Q,Y)=>{if(o($)&&["arguments","caller","callee"].includes(Y))return!1;let W=$[Y];if(!o(W))return;if(Q.enumerable=!1,"writable"in Q){Q.writable=!1;return}if(!Q.set)Q.set=()=>{throw Error("Can not rewrite read-only method '"+Y+"'")}})},A$=($,Q)=>{let Y={},W=(G)=>{G.forEach((J)=>{Y[J]=!0})};return P0($)?W($):W(String($).split(Q)),Y},j$=()=>{},k$=($,Q)=>{return $!=null&&Number.isFinite($=+$)?$:Q},x$=($)=>{let Q=new WeakSet,Y=(W)=>{if(h0(W)){if(Q.has(W))return;if(f0(W))return W;if(!("toJSON"in W)){Q.add(W);let G=P0(W)?[]:{};return e0(W,(J,Z)=>{let z=Y(J);!m0(z)&&(G[Z]=z)}),Q.delete(W),G}}return W};return Y($)},v$,y$=($)=>$&&(h0($)||o($))&&o($.then)&&o($.catch),l1,m$,p1=($)=>$!=null&&o($[o0]),f$=($)=>$!=null&&r0($,o0)&&p1($),X;var x=T(()=>{c4();({toString:s6}=Object.prototype),{getPrototypeOf:y0}=Object,{iterator:o0,toStringTag:f1}=Symbol,T4=(({hasOwnProperty:$})=>(Q,Y)=>$.call(Q,Y))(Object.prototype),l4=(($)=>(Q)=>{let Y=s6.call(Q);return $[Y]||($[Y]=Y.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:P0}=Array,m0=R4("undefined");h1=W0("ArrayBuffer");o6=R4("string"),o=R4("function"),g1=R4("number"),Q$=W0("Date"),Y$=W0("File"),Z$=W0("Blob"),J$=W0("FileList");y1=K$(),m1=typeof y1.FormData<"u"?y1.FormData:void 0,N$=W0("URLSearchParams"),[M$,B$,V$,I$]=["ReadableStream","Request","Response","Headers"].map(W0);q0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();T$=(($)=>{return(Q)=>{return $&&Q instanceof $}})(typeof Uint8Array<"u"&&y0(Uint8Array)),P$=W0("HTMLFormElement"),{propertyIsEnumerable:O$}=Object.prototype,H$=W0("RegExp");v$=W0("AsyncFunction"),l1=(($,Q)=>{if($)return setImmediate;return Q?((Y,W)=>{return q0.addEventListener("message",({source:G,data:J})=>{if(G===q0&&J===Y)W.length&&W.shift()()},!1),(G)=>{W.push(G),q0.postMessage(Y,"*")}})(`axios@${Math.random()}`,[]):(Y)=>setTimeout(Y)})(typeof setImmediate==="function",o(q0.postMessage)),m$=typeof queueMicrotask<"u"?queueMicrotask.bind(q0):typeof process<"u"&&process.nextTick||l1,X={isArray:P0,isArrayBuffer:h1,isBuffer:f0,isFormData:z$,isArrayBufferView:r6,isString:o6,isNumber:g1,isBoolean:e6,isObject:h0,isPlainObject:_4,isEmptyObject:$$,isReadableStream:M$,isRequest:B$,isResponse:V$,isHeaders:I$,isUndefined:m0,isDate:Q$,isFile:Y$,isReactNativeBlob:W$,isReactNative:G$,isBlob:Z$,isRegExp:H$,isFunction:o,isStream:X$,isURLSearchParams:N$,isTypedArray:T$,isFileList:J$,forEach:e0,merge:d4,extend:U$,trim:F$,stripBOM:L$,inherits:w$,toFlatObject:S$,kindOf:l4,kindOfTest:W0,endsWith:D$,toArray:_$,forEachEntry:R$,matchAll:q$,isHTMLForm:P$,hasOwnProperty:T4,hasOwnProp:T4,hasOwnInPrototypeChain:r0,getSafeProp:t6,reduceDescriptors:d1,freezeMethods:E$,toObjectSet:A$,toCamelCase:C$,noop:j$,toFiniteNumber:k$,findKey:u1,global:q0,isContextDefined:c1,isSpecCompliantForm:b$,toJSONObject:x$,isAsyncFn:v$,isThenable:y$,setImmediate:l1,asap:m$,isIterable:p1,isSafeIterable:f$}});var h$,i1=($)=>{let Q={},Y,W,G;return $&&$.split(`
|
|
2
|
+
`).forEach(function(Z){if(G=Z.indexOf(":"),Y=Z.substring(0,G).trim().toLowerCase(),W=Z.substring(G+1).trim(),!Y||Q[Y]&&h$[Y])return;if(Y==="set-cookie")if(Q[Y])Q[Y].push(W);else Q[Y]=[W];else Q[Y]=Q[Y]?Q[Y]+", "+W:W}),Q};var n1=T(()=>{x();h$=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function g$($){let Q=0,Y=$.length;while(Q<Y){let W=$.charCodeAt(Q);if(W!==9&&W!==32)break;Q+=1}while(Y>Q){let W=$.charCodeAt(Y-1);if(W!==9&&W!==32)break;Y-=1}return Q===0&&Y===$.length?$:$.slice(Q,Y)}function p4($,Q){if(X.isArray($))return $.map((Y)=>p4(Y,Q));return g$(String($).replace(Q,""))}function g0($){let Q=Object.create(null);return X.forEach($.toJSON(),(Y,W)=>{Q[W]=d$(Y)}),Q}var u$,c$,a1=($)=>p4($,u$),d$=($)=>p4($,c$);var $4=T(()=>{x();u$=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),c$=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function Q4($){return $&&String($).trim().toLowerCase()}function q4($){if($===!1||$==null)return $;return X.isArray($)?$.map(q4):a1(String($))}function l$($){let Q=Object.create(null),Y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,W;while(W=Y.exec($))Q[W[1]]=W[2];return Q}function i4($,Q,Y,W,G){if(X.isFunction(W))return W.call(this,Q,Y);if(G)Q=Y;if(!X.isString(Q))return;if(X.isString(W))return Q.indexOf(W)!==-1;if(X.isRegExp(W))return W.test(Q)}function i$($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Q,Y,W)=>{return Y.toUpperCase()+W})}function n$($,Q){let Y=X.toCamelCase(" "+Q);["get","set","has"].forEach((W)=>{Object.defineProperty($,W+Y,{__proto__:null,value:function(G,J,Z){return this[W].call(this,Q,G,J,Z)},configurable:!0})})}var s1,p$=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),Y4,y;var G0=T(()=>{x();n1();$4();s1=Symbol("internals");Y4=class Y4{constructor($){$&&this.set($)}set($,Q,Y){let W=this;function G(Z,z,K){let N=Q4(z);if(!N)return;let M=X.findKey(W,N);if(!M||W[M]===void 0||K===!0||K===void 0&&W[M]!==!1)W[M||z]=q4(Z)}let J=(Z,z)=>X.forEach(Z,(K,N)=>G(K,N,z));if(X.isPlainObject($)||$ instanceof this.constructor)J($,Q);else if(X.isString($)&&($=$.trim())&&!p$($))J(i1($),Q);else if(X.isObject($)&&X.isSafeIterable($)){let Z=Object.create(null),z,K;for(let N of $){if(!X.isArray(N))throw TypeError("Object iterator must return a key-value pair");if(K=N[0],X.hasOwnProp(Z,K))z=Z[K],Z[K]=X.isArray(z)?[...z,N[1]]:[z,N[1]];else Z[K]=N[1]}J(Z,Q)}else $!=null&&G(Q,$,Y);return this}get($,Q){if($=Q4($),$){let Y=X.findKey(this,$);if(Y){let W=this[Y];if(!Q)return W;if(Q===!0)return l$(W);if(X.isFunction(Q))return Q.call(this,W,Y);if(X.isRegExp(Q))return Q.exec(W);throw TypeError("parser must be boolean|regexp|function")}}}has($,Q){if($=Q4($),$){let Y=X.findKey(this,$);return!!(Y&&this[Y]!==void 0&&(!Q||i4(this,this[Y],Y,Q)))}return!1}delete($,Q){let Y=this,W=!1;function G(J){if(J=Q4(J),J){let Z=X.findKey(Y,J);if(Z&&(!Q||i4(Y,Y[Z],Z,Q)))delete Y[Z],W=!0}}if(X.isArray($))$.forEach(G);else G($);return W}clear($){let Q=Object.keys(this),Y=Q.length,W=!1;while(Y--){let G=Q[Y];if(!$||i4(this,this[G],G,$,!0))delete this[G],W=!0}return W}normalize($){let Q=this,Y={};return X.forEach(this,(W,G)=>{let J=X.findKey(Y,G);if(J){Q[J]=q4(W),delete Q[G];return}let Z=$?i$(G):String(G).trim();if(Z!==G)delete Q[G];Q[Z]=q4(W),Y[Z]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Q=Object.create(null);return X.forEach(this,(Y,W)=>{Y!=null&&Y!==!1&&(Q[W]=$&&X.isArray(Y)?Y.join(", "):Y)}),Q}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Q])=>$+": "+Q).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Q){let Y=new this($);return Q.forEach((W)=>Y.set(W)),Y}static accessor($){let Y=(this[s1]=this[s1]={accessors:{}}).accessors,W=this.prototype;function G(J){let Z=Q4(J);if(!Y[Z])n$(W,J),Y[Z]=!0}return X.isArray($)?$.forEach(G):G($),this}};Y4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(Y4.prototype,({value:$},Q)=>{let Y=Q[0].toUpperCase()+Q.slice(1);return{get:()=>$,set(W){this[Y]=W}}});X.freezeMethods(Y4);y=Y4});function s$($){if(X.hasOwnProp($,"toJSON"))return!0;let Q=Object.getPrototypeOf($);while(Q&&Q!==Object.prototype){if(X.hasOwnProp(Q,"toJSON"))return!0;Q=Object.getPrototypeOf(Q)}return!1}function t$($,Q){let Y=new Set(Q.map((J)=>String(J).toLowerCase())),W=[],G=(J)=>{if(J===null||typeof J!=="object")return J;if(X.isBuffer(J))return J;if(W.indexOf(J)!==-1)return;if(J instanceof y)J=J.toJSON();W.push(J);let Z;if(X.isArray(J))Z=[],J.forEach((z,K)=>{let N=G(z);if(!X.isUndefined(N))Z[K]=N});else{if(!X.isPlainObject(J)&&s$(J))return W.pop(),J;Z=Object.create(null);for(let[z,K]of Object.entries(J)){let N=Y.has(z.toLowerCase())?a$:G(K);if(!X.isUndefined(N))Z[z]=N}}return W.pop(),Z};return G($)}var a$="[REDACTED ****]",a,V;var t=T(()=>{x();G0();a=class a extends Error{static from($,Q,Y,W,G,J){let Z=new a($.message,Q||$.code,Y,W,G);if(Object.defineProperty(Z,"cause",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Z.name=$.name,$.status!=null&&Z.status==null)Z.status=$.status;return J&&Object.assign(Z,J),Z}constructor($,Q,Y,W,G){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Q&&(this.code=Q),Y&&(this.config=Y),W&&(this.request=W),G)this.response=G,this.status=G.status}toJSON(){let $=this.config,Q=$&&X.hasOwnProp($,"redact")?$.redact:void 0,Y=X.isArray(Q)&&Q.length>0?t$($,Q):X.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y,code:this.code,status:this.status}}};a.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";a.ERR_BAD_OPTION="ERR_BAD_OPTION";a.ECONNABORTED="ECONNABORTED";a.ETIMEDOUT="ETIMEDOUT";a.ECONNREFUSED="ECONNREFUSED";a.ERR_NETWORK="ERR_NETWORK";a.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";a.ERR_DEPRECATED="ERR_DEPRECATED";a.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";a.ERR_BAD_REQUEST="ERR_BAD_REQUEST";a.ERR_CANCELED="ERR_CANCELED";a.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";a.ERR_INVALID_URL="ERR_INVALID_URL";a.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=a});var t1,P4;var a4=T(()=>{t1=n4(r$(),1),P4=t1.default});function t4($){return X.isPlainObject($)||X.isArray($)}function r1($){return X.endsWith($,"[]")?$.slice(0,-2):$}function s4($,Q,Y){if(!$)return Q;return $.concat(Q).map(function(G,J){return G=r1(G),!Y&&J?"["+G+"]":G}).join(Y?".":"")}function o$($){return X.isArray($)&&!$.some(t4)}function $8($,Q,Y){if(!X.isObject($))throw TypeError("target must be an object");Q=Q||new(P4||FormData),Y=X.toFlatObject(Y,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,R){return!X.isUndefined(R[_])});let W=Y.metaTokens,G=Y.visitor||S,J=Y.dots,Z=Y.indexes,z=Y.Blob||typeof Blob<"u"&&Blob,K=Y.maxDepth===void 0?r4:Y.maxDepth,N=z&&X.isSpecCompliantForm(Q),M=[];if(!X.isFunction(G))throw TypeError("visitor must be a function");function B(F){if(F===null)return"";if(X.isDate(F))return F.toISOString();if(X.isBoolean(F))return F.toString();if(!N&&X.isBlob(F))throw new V("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(F)||X.isTypedArray(F)){if(N&&typeof z==="function")return new z([F]);if(typeof Buffer<"u")return Buffer.from(F);throw new V("Blob is not supported. Use a Buffer instead.",V.ERR_NOT_SUPPORT)}return F}function I(F){if(F>K)throw new V("Object is too deeply nested ("+F+" levels). Max depth: "+K,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function U(F,_){if(K===1/0)return JSON.stringify(F);let R=[];return JSON.stringify(F,function(v,k){if(!X.isObject(k))return k;while(R.length&&R[R.length-1]!==this)R.pop();return R.push(k),I(_+R.length-1),k})}function S(F,_,R){let O=F;if(X.isReactNative(Q)&&X.isReactNativeBlob(F))return Q.append(s4(R,_,J),B(F)),!1;if(F&&!R&&typeof F==="object"){if(X.endsWith(_,"{}"))_=W?_:_.slice(0,-2),F=U(F,1);else if(X.isArray(F)&&o$(F)||(X.isFileList(F)||X.endsWith(_,"[]"))&&(O=X.toArray(F)))return _=r1(_),O.forEach(function(k,K0){!(X.isUndefined(k)||k===null)&&Q.append(Z===!0?s4([_],K0,J):Z===null?_:_+"[]",B(k))}),!1}if(t4(F))return!0;return Q.append(s4(R,_,J),B(F)),!1}let q=Object.assign(e$,{defaultVisitor:S,convertValue:B,isVisitable:t4});function L(F,_,R=0){if(X.isUndefined(F))return;if(I(R),M.indexOf(F)!==-1)throw Error("Circular reference detected in "+_.join("."));M.push(F),X.forEach(F,function(v,k){if((!(X.isUndefined(v)||v===null)&&G.call(Q,v,X.isString(k)?k.trim():k,_,q))===!0)L(v,_?_.concat(k):[k],R+1)}),M.pop()}if(!X.isObject($))throw TypeError("data must be an object");return L($),Q}var r4=100,e$,S0;var u0=T(()=>{x();t();a4();e$=X.toFlatObject(X,{},null,function(Q){return/^is[A-Z]/.test(Q)});S0=$8});function o1($){let Q={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(W){return Q[W]})}function e1($,Q){this._pairs=[],$&&S0($,this,Q)}var $5,Q5;var Y5=T(()=>{u0();$5=e1.prototype;$5.append=function(Q,Y){this._pairs.push([Q,Y])};$5.toString=function(Q){let Y=Q?(W)=>Q.call(this,W,o1):o1;return this._pairs.map(function(G){return Y(G[0])+"="+Y(G[1])},"").join("&")};Q5=e1});function Q8($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function C0($,Q,Y){if(!Q)return $;$=$||"";let W=X.isFunction(Y)?{serialize:Y}:Y,G=X.getSafeProp(W,"encode")||Q8,J=X.getSafeProp(W,"serialize"),Z;if(J)Z=J(Q,W);else Z=X.isURLSearchParams(Q)?Q.toString():new Q5(Q,W).toString(G);if(Z){let z=$.indexOf("#");if(z!==-1)$=$.slice(0,z);$+=($.indexOf("?")===-1?"?":"&")+Z}return $}var C4=T(()=>{x();Y5()});class W5{constructor(){this.handlers=[]}use($,Q,Y){return this.handlers.push({fulfilled:$,rejected:Q,synchronous:Y?Y.synchronous:!1,runWhen:Y?Y.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(Y){if(Y!==null)$(Y)})}}var o4;var G5=T(()=>{x();o4=W5});var D0;var W4=T(()=>{D0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}});import Y8 from"url";var Z5;var J5=T(()=>{Z5=Y8.URLSearchParams});import W8 from"crypto";var e4="abcdefghijklmnopqrstuvwxyz",X5="0123456789",K5,G8=($=16,Q=K5.ALPHA_DIGIT)=>{let Y="",{length:W}=Q,G=new Uint32Array($);W8.randomFillSync(G);for(let J=0;J<$;J++)Y+=Q[G[J]%W];return Y},z5;var N5=T(()=>{J5();a4();K5={DIGIT:X5,ALPHA:e4,ALPHA_DIGIT:e4+e4.toUpperCase()+X5},z5={isNode:!0,classes:{URLSearchParams:Z5,FormData:P4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K5,generateString:G8,protocols:["http","https","file","data"]}});var Y1={};Z8(Y1,{origin:()=>K8,navigator:()=>$1,hasStandardBrowserWebWorkerEnv:()=>X8,hasStandardBrowserEnv:()=>J8,hasBrowserEnv:()=>Q1});var Q1,$1,J8,X8,K8;var M5=T(()=>{Q1=typeof window<"u"&&typeof document<"u",$1=typeof navigator==="object"&&navigator||void 0,J8=Q1&&(!$1||["ReactNative","NativeScript","NS"].indexOf($1.product)<0),X8=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),K8=Q1&&window.location.href||"http://localhost"});var j;var Z0=T(()=>{N5();M5();j={...Y1,...z5}});function W1($,Q){return S0($,new j.classes.URLSearchParams,{visitor:function(Y,W,G,J){if(j.isNode&&X.isBuffer(Y))return this.append(W,Y.toString("base64")),!1;return J.defaultVisitor.apply(this,arguments)},...Q})}var B5=T(()=>{x();u0();Z0()});function I5($){if($>V5)throw new V("FormData field is too deeply nested ("+$+" levels). Max depth: "+V5,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function z8($){let Q=[],Y=/\w+|\[(\w*)]/g,W;while((W=Y.exec($))!==null)I5(Q.length),Q.push(W[0]==="[]"?"":W[1]||W[0]);return Q}function N8($){let Q={},Y=Object.keys($),W,G=Y.length,J;for(W=0;W<G;W++)J=Y[W],Q[J]=$[J];return Q}function M8($){function Q(Y,W,G,J){I5(J);let Z=Y[J++];if(Z==="__proto__")return!0;let z=Number.isFinite(+Z),K=J>=Y.length;if(Z=!Z&&X.isArray(G)?G.length:Z,K){if(X.hasOwnProp(G,Z))G[Z]=X.isArray(G[Z])?G[Z].concat(W):[G[Z],W];else G[Z]=W;return!z}if(!X.hasOwnProp(G,Z)||!X.isObject(G[Z]))G[Z]=[];if(Q(Y,W,G[Z],J)&&X.isArray(G[Z]))G[Z]=N8(G[Z]);return!z}if(X.isFormData($)&&X.isFunction($.entries)){let Y={};return X.forEachEntry($,(W,G)=>{Q(z8(W),G,Y,0)}),Y}return null}var V5,O4;var G1=T(()=>{x();t();u0();V5=r4;O4=M8});function B8($,Q,Y){if(X.isString($))try{return(Q||JSON.parse)($),X.trim($)}catch(W){if(W.name!=="SyntaxError")throw W}return(Y||JSON.stringify)($)}var c0=($,Q)=>$!=null&&X.hasOwnProp($,Q)?$[Q]:void 0,Z1,d0;var H4=T(()=>{x();t();W4();u0();B5();Z0();G1();Z1={transitional:D0,adapter:["xhr","http","fetch"],transformRequest:[function(Q,Y){let W=Y.getContentType()||"",G=W.indexOf("application/json")>-1,J=X.isObject(Q);if(J&&X.isHTMLForm(Q))Q=new FormData(Q);if(X.isFormData(Q))return G?JSON.stringify(O4(Q)):Q;if(X.isArrayBuffer(Q)||X.isBuffer(Q)||X.isStream(Q)||X.isFile(Q)||X.isBlob(Q)||X.isReadableStream(Q))return Q;if(X.isArrayBufferView(Q))return Q.buffer;if(X.isURLSearchParams(Q))return Y.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Q.toString();let z;if(J){let K=c0(this,"formSerializer");if(W.indexOf("application/x-www-form-urlencoded")>-1)return W1(Q,K).toString();if((z=X.isFileList(Q))||W.indexOf("multipart/form-data")>-1){let N=c0(this,"env"),M=N&&N.FormData;return S0(z?{"files[]":Q}:Q,M&&new M,K)}}if(J||G)return Y.setContentType("application/json",!1),B8(Q);return Q}],transformResponse:[function(Q){let Y=c0(this,"transitional")||Z1.transitional,W=Y&&Y.forcedJSONParsing,G=c0(this,"responseType"),J=G==="json";if(X.isResponse(Q)||X.isReadableStream(Q))return Q;if(Q&&X.isString(Q)&&(W&&!G||J)){let z=!(Y&&Y.silentJSONParsing)&&J;try{return JSON.parse(Q,c0(this,"parseReviver"))}catch(K){if(z){if(K.name==="SyntaxError")throw V.from(K,V.ERR_BAD_RESPONSE,this,null,c0(this,"response"));throw K}}}return Q}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.classes.Blob},validateStatus:function(Q){return Q>=200&&Q<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch","query"],($)=>{Z1.headers[$]={}});d0=Z1});function G4($,Q){let Y=this||d0,W=Q||Y,G=y.from(W.headers),J=W.data;return X.forEach($,function(z){J=z.call(Y,J,G.normalize(),Q?Q.status:void 0)}),G.normalize(),J}var F5=T(()=>{x();H4();G0()});function Z4($){return!!($&&$.__CANCEL__)}var J1=()=>{};var U5,$0;var O0=T(()=>{t();U5=class U5 extends V{constructor($,Q,Y){super($==null?"canceled":$,V.ERR_CANCELED,Q,Y);this.name="CanceledError",this.__CANCEL__=!0}};$0=U5});function M0($,Q,Y){let W=Y.config.validateStatus;if(!Y.status||!W||W(Y.status))$(Y);else Q(new V("Request failed with status code "+Y.status,Y.status>=400&&Y.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Y.config,Y.request,Y))}var E4=T(()=>{t()});function X1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var L5=()=>{};function K1($,Q){return Q?$.replace(/\/?\/$/,"")+"/"+Q.replace(/^\/+/,""):$}var w5=()=>{};function F8($){let Q=0;while(Q<$.length&&$.charCodeAt(Q)<=32)Q++;return $.slice(Q)}function U8($){return F8($).replace(I8,"")}function S5($,Q){if(typeof $==="string"&&V8.test(U8($)))throw new V('Invalid URL: missing "//" after protocol',V.ERR_INVALID_URL,Q)}function H0($,Q,Y,W){S5(Q,W);let G=!X1(Q);if($&&(G||Y===!1))return S5($,W),K1($,Q);return Q}var V8,I8;var A4=T(()=>{t();L5();w5();V8=/^https?:(?!\/\/)/i,I8=/[\t\n\r]/g});var _5=J4((D5)=>{Object.defineProperty(D5,"__esModule",{value:!0});function L8($){return function(Q,Y){return new Promise((W,G)=>{$.call(this,Q,Y,(J,Z)=>{if(J)G(J);else W(Z)})})}}D5.default=L8});var q5=J4((N1,R5)=>{var T5=N1&&N1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},S8=K4("events"),D8=T5(M1()),_8=T5(_5()),X4=D8.default("agent-base");function T8($){return Boolean($)&&typeof $.addRequest==="function"}function z1(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
|
|
4
|
+
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}function j4($,Q){return new j4.Agent($,Q)}(function($){class Q extends S8.EventEmitter{constructor(Y,W){super();let G=W;if(typeof Y==="function")this.callback=Y;else if(Y)G=Y;if(this.timeout=null,G&&typeof G.timeout==="number")this.timeout=G.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return z1()?443:80}set defaultPort(Y){this.explicitDefaultPort=Y}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return z1()?"https:":"http:"}set protocol(Y){this.explicitProtocol=Y}callback(Y,W,G){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Y,W){let G=Object.assign({},W);if(typeof G.secureEndpoint!=="boolean")G.secureEndpoint=z1();if(G.host==null)G.host="localhost";if(G.port==null)G.port=G.secureEndpoint?443:80;if(G.protocol==null)G.protocol=G.secureEndpoint?"https:":"http:";if(G.host&&G.path)delete G.path;delete G.agent,delete G.hostname,delete G._defaultAgent,delete G.defaultPort,delete G.createConnection,Y._last=!0,Y.shouldKeepAlive=!1;let J=!1,Z=null,z=G.timeout||this.timeout,K=(I)=>{if(Y._hadError)return;Y.emit("error",I),Y._hadError=!0},N=()=>{Z=null,J=!0;let I=Error(`A "socket" was not created for HTTP request before ${z}ms`);I.code="ETIMEOUT",K(I)},M=(I)=>{if(J)return;if(Z!==null)clearTimeout(Z),Z=null;K(I)},B=(I)=>{if(J)return;if(Z!=null)clearTimeout(Z),Z=null;if(T8(I)){X4("Callback returned another Agent instance %o",I.constructor.name),I.addRequest(Y,G);return}if(I){I.once("free",()=>{this.freeSocket(I,G)}),Y.onSocket(I);return}let U=Error(`no Duplex stream was returned to agent-base for \`${Y.method} ${Y.path}\``);K(U)};if(typeof this.callback!=="function"){K(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)X4("Converting legacy callback function to promise"),this.promisifiedCallback=_8.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof z==="number"&&z>0)Z=setTimeout(N,z);if("port"in G&&typeof G.port!=="number")G.port=Number(G.port);try{X4("Resolving socket for %o request: %o",G.protocol,`${Y.method} ${Y.path}`),Promise.resolve(this.promisifiedCallback(Y,G)).then(B,M)}catch(I){Promise.reject(I).catch(M)}}freeSocket(Y,W){X4("Freeing socket %o %o",Y.constructor.name,W),Y.destroy()}destroy(){X4("Destroying agent %o",this.constructor.name)}}$.Agent=Q,$.prototype=$.Agent.prototype})(j4||(j4={}));R5.exports=j4});var P5=J4((N4)=>{var R8=N4&&N4.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(N4,"__esModule",{value:!0});var q8=R8(M1()),z4=q8.default("https-proxy-agent:parse-proxy-response");function P8($){return new Promise((Q,Y)=>{let W=0,G=[];function J(){let B=$.read();if(B)M(B);else $.once("readable",J)}function Z(){$.removeListener("end",K),$.removeListener("error",N),$.removeListener("close",z),$.removeListener("readable",J)}function z(B){z4("onclose had error %o",B)}function K(){z4("onend")}function N(B){Z(),z4("onerror %o",B),Y(B)}function M(B){G.push(B),W+=B.length;let I=Buffer.concat(G,W);if(I.indexOf(`\r
|
|
5
|
+
\r
|
|
6
|
+
`)===-1){z4("have not received end of HTTP headers yet..."),J();return}let S=I.toString("ascii",0,I.indexOf(`\r
|
|
7
|
+
`)),q=+S.split(" ")[1];z4("got proxy server response: %o",S),Q({statusCode:q,buffered:I})}$.on("error",N),$.on("close",z),$.on("end",K),J()})}N4.default=P8});var E5=J4((E0)=>{var C8=E0&&E0.__awaiter||function($,Q,Y,W){function G(J){return J instanceof Y?J:new Y(function(Z){Z(J)})}return new(Y||(Y=Promise))(function(J,Z){function z(M){try{N(W.next(M))}catch(B){Z(B)}}function K(M){try{N(W.throw(M))}catch(B){Z(B)}}function N(M){M.done?J(M.value):G(M.value).then(z,K)}N((W=W.apply($,Q||[])).next())})},l0=E0&&E0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(E0,"__esModule",{value:!0});var C5=l0(K4("net")),O5=l0(K4("tls")),O8=l0(K4("url")),H8=l0(K4("assert")),E8=l0(M1()),A8=q5(),j8=l0(P5()),M4=E8.default("https-proxy-agent:agent");class H5 extends A8.Agent{constructor($){let Q;if(typeof $==="string")Q=O8.default.parse($);else Q=$;if(!Q)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");M4("creating new HttpsProxyAgent instance: %o",Q);super(Q);let Y=Object.assign({},Q);if(this.secureProxy=Q.secureProxy||x8(Y.protocol),Y.host=Y.hostname||Y.host,typeof Y.port==="string")Y.port=parseInt(Y.port,10);if(!Y.port&&Y.host)Y.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Y))Y.ALPNProtocols=["http 1.1"];if(Y.host&&Y.path)delete Y.path,delete Y.pathname;this.proxy=Y}callback($,Q){return C8(this,void 0,void 0,function*(){let{proxy:Y,secureProxy:W}=this,G;if(W)M4("Creating `tls.Socket`: %o",Y),G=O5.default.connect(Y);else M4("Creating `net.Socket`: %o",Y),G=C5.default.connect(Y);let J=Object.assign({},Y.headers),z=`CONNECT ${`${Q.host}:${Q.port}`} HTTP/1.1\r
|
|
8
|
+
`;if(Y.auth)J["Proxy-Authorization"]=`Basic ${Buffer.from(Y.auth).toString("base64")}`;let{host:K,port:N,secureEndpoint:M}=Q;if(!b8(N,M))K+=`:${N}`;J.Host=K,J.Connection="close";for(let q of Object.keys(J))z+=`${q}: ${J[q]}\r
|
|
9
|
+
`;let B=j8.default(G);G.write(`${z}\r
|
|
10
|
+
`);let{statusCode:I,buffered:U}=yield B;if(I===200){if($.once("socket",k8),Q.secureEndpoint){M4("Upgrading socket connection to TLS");let q=Q.servername||Q.host;return O5.default.connect(Object.assign(Object.assign({},v8(Q,"host","hostname","path","port")),{socket:G,servername:q}))}return G}G.destroy();let S=new C5.default.Socket({writable:!1});return S.readable=!0,$.once("socket",(q)=>{M4("replaying proxy buffer for failed request"),H8.default(q.listenerCount("data")>0),q.push(U),q.push(null)}),S})}}E0.default=H5;function k8($){$.resume()}function b8($,Q){return Boolean(!Q&&$===80||Q&&$===443)}function x8($){return typeof $==="string"?/^https:?$/i.test($):!1}function v8($,...Q){let Y={},W;for(W in $)if(!Q.includes(W))Y[W]=$[W];return Y}});var j5=J4((I1,A5)=>{var y8=I1&&I1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},B1=y8(E5());function V1($){return new B1.default($)}(function($){$.HttpsProxyAgent=B1.default,$.prototype=B1.default.prototype})(V1||(V1={}));A5.exports=V1});var I0="1.18.1";var B4=()=>{};function V4($){let Q=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Q&&Q[1]||""}var F1=()=>{};function U1($,Q,Y){let W=Y&&Y.Blob||j.classes.Blob,G=V4($);if(Q===void 0&&W)Q=!0;if(G==="data"){$=G.length?$.slice(G.length+1):$;let J=m8.exec($);if(!J)throw new V("Invalid URL",V.ERR_INVALID_URL);let Z=J[1],z=J[2],K=J[3]?"base64":"utf8",N=J[4],M="";if(Z)M=z?Z+z:Z;else if(z)M="text/plain"+z;let B=K==="base64"?Buffer.from(N,"base64"):Buffer.from(decodeURIComponent(N),K);if(Q){if(!W)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new W([B],{type:M})}return B}throw new V("Unsupported protocol "+G,V.ERR_NOT_SUPPORT)}var m8;var k5=T(()=>{t();F1();Z0();m8=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import f8 from"stream";var L1,b5,w1;var x5=T(()=>{x();L1=Symbol("internals");b5=class b5 extends f8.Transform{constructor($){$=X.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Y,W)=>{return!X.isUndefined(W[Y])});super({readableHighWaterMark:$.chunkSize});let Q=this[L1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Y)=>{if(Y==="progress"){if(!Q.isCaptured)Q.isCaptured=!0}})}_read($){let Q=this[L1];if(Q.onReadCallback)Q.onReadCallback();return super._read($)}_transform($,Q,Y){let W=this[L1],G=W.maxRate,J=this.readableHighWaterMark,Z=W.timeWindow,z=1000/Z,K=G/z,N=W.minChunkSize!==!1?Math.max(W.minChunkSize,K*0.01):0,M=(I,U)=>{let S=Buffer.byteLength(I);if(W.bytesSeen+=S,W.bytes+=S,W.isCaptured&&this.emit("progress",W.bytesSeen),this.push(I))process.nextTick(U);else W.onReadCallback=()=>{W.onReadCallback=null,process.nextTick(U)}},B=(I,U)=>{let S=Buffer.byteLength(I),q=null,L=J,F,_=0;if(G){let R=Date.now();if(!W.ts||(_=R-W.ts)>=Z)W.ts=R,F=K-W.bytes,W.bytes=F<0?-F:0,_=0;F=K-W.bytes}if(G){if(F<=0)return setTimeout(()=>{U(null,I)},Z-_);if(F<L)L=F}if(L&&S>L&&S-L>N)q=I.subarray(L),I=I.subarray(0,L);M(I,q?()=>{process.nextTick(U,null,q)}:U)};B($,function I(U,S){if(U)return Y(U);if(S)B(S,I);else Y(null)})}};w1=b5});var v5,h8=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[v5])yield*$[v5]();else yield $},k4;var S1=T(()=>{({asyncIterator:v5}=Symbol),k4=h8});import g8 from"util";import{Readable as u8}from"stream";class y5{constructor($,Q){let{escapeName:Y}=this.constructor,W=X.isString(Q),G=`Content-Disposition: form-data; name="${Y($)}"${!W&&Q.name?`; filename="${Y(Q.name)}"`:""}${A0}`;if(W)Q=I4.encode(String(Q).replace(/\r?\n|\r\n?/g,A0));else{let J=String(Q.type||"application/octet-stream").replace(/[\r\n]/g,"");G+=`Content-Type: ${J}${A0}`}this.headers=I4.encode(G+A0),this.contentLength=W?Q.byteLength:Q.size,this.size=this.headers.byteLength+this.contentLength+l8,this.name=$,this.value=Q}async*encode(){yield this.headers;let{value:$}=this;if(X.isTypedArray($))yield $;else yield*k4($);yield d8}static escapeName($){return String($).replace(/[\r\n"]/g,(Q)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Q])}}var c8,I4,A0=`\r
|
|
11
|
+
`,d8,l8=2,p8=($,Q,Y)=>{let{tag:W="form-data-boundary",size:G=25,boundary:J=W+"-"+j.generateString(G,c8)}=Y||{};if(!X.isFormData($))throw TypeError("FormData instance required");if(J.length<1||J.length>70)throw Error("boundary must be 1-70 characters long");let Z=I4.encode("--"+J+A0),z=I4.encode("--"+J+"--"+A0),K=z.byteLength,N=Array.from($.entries()).map(([B,I])=>{let U=new y5(B,I);return K+=U.size,U});K+=Z.byteLength*N.length,K=X.toFiniteNumber(K);let M={"Content-Type":`multipart/form-data; boundary=${J}`};if(Number.isFinite(K))M["Content-Length"]=K;return Q&&Q(M),u8.from(async function*(){for(let B of N)yield Z,yield*B.encode();yield z}())},m5;var f5=T(()=>{x();S1();Z0();c8=j.ALPHABET.ALPHA_DIGIT+"-_",I4=typeof TextEncoder==="function"?new TextEncoder:new g8.TextEncoder,d8=I4.encode(A0);m5=p8});import i8 from"stream";var h5,g5;var u5=T(()=>{h5=class h5 extends i8.Transform{__transform($,Q,Y){this.push($),Y()}_transform($,Q,Y){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let W=Buffer.alloc(2);W[0]=120,W[1]=156,this.push(W,Q)}}this.__transform($,Q,Y)}};g5=h5});import n8 from"http2";import a8 from"util";class c5{constructor(){this.sessions=Object.create(null)}getSession($,Q){Q=Object.assign({sessionTimeout:1000},Q);let Y=this.sessions[$];if(Y){let M=Y.length;for(let B=0;B<M;B++){let[I,U]=Y[B];if(!I.destroyed&&!I.closed&&a8.isDeepStrictEqual(U,Q))return I}}let W=n8.connect($,Q),G,J,Z=()=>{if(G)return;if(G=!0,J)clearTimeout(J),J=null;let M=Y,B=M.length,I=B;while(I--)if(M[I][0]===W){if(B===1)delete this.sessions[$];else M.splice(I,1);if(!W.closed)W.close();return}},z=W.request,{sessionTimeout:K}=Q;if(K!=null){let M=0;W.request=function(){let B=z.apply(this,arguments);if(M++,J)clearTimeout(J),J=null;return B.once("close",()=>{if(!--M)J=setTimeout(()=>{J=null,Z()},K)}),B}}W.once("close",Z);let N=[W,Q];return Y?Y.push(N):Y=this.sessions[$]=[N],W}}var d5;var l5=T(()=>{d5=c5});var s8=($,Q)=>{return X.isAsyncFn($)?function(...Y){let W=Y.pop();$.apply(this,Y).then((G)=>{try{Q?W(null,...Q(G)):W(null,G)}catch(J){W(J)}},W)}:$},p5;var i5=T(()=>{x();p5=s8});function _1($){let Q;try{Q=new URL($)}catch(J){return!1}let Y=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Y)return!1;if(Y==="*")return!0;let W=Number.parseInt(Q.port,10)||e8[Q.protocol.split(":",1)[0]]||0,G=a5(Q.hostname.toLowerCase());return Y.split(/[\s,]+/).some((J)=>{if(!J)return!1;let[Z,z]=$Q(J);if(Z=a5(Z),!Z)return!1;if(z&&z!==W)return!1;if(Z.charAt(0)==="*")Z=Z.slice(1);if(Z.charAt(0)===".")return G.endsWith(Z);return G===Z||n5(G)&&n5(Z)})}var t8,s5=($)=>{let Q=$.split(".");if(Q.length!==4)return!1;if(Q[0]!=="127")return!1;return Q.every((Y)=>/^\d+$/.test(Y)&&Number(Y)>=0&&Number(Y)<=255)},D1=($)=>/^0{1,4}$/.test($),r8=($)=>{if($==="::")return!0;let Q=$.indexOf("::");if(Q!==-1){if(Q!==$.lastIndexOf("::"))return!1;let W=$.slice(0,Q),G=$.slice(Q+2),J=W?W.split(":"):[],Z=G?G.split(":"):[];return J.length+Z.length<8&&J.every(D1)&&Z.every(D1)}let Y=$.split(":");return Y.length===8&&Y.every(D1)},o8=($)=>{if($==="::1")return!0;let Q=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Q)return s5(Q[1]);let Y=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Y){let G=parseInt(Y[1],16);return G>=32512&&G<=32767}let W=$.split(":");if(W.length===8){for(let G=0;G<7;G++)if(!/^0+$/.test(W[G]))return!1;return/^0*1$/.test(W[7])}return!1},n5=($)=>{if(!$)return!1;if(t8.has($))return!0;if(s5($))return!0;if(r8($))return!0;return o8($)},e8,$Q=($)=>{let Q=$,Y=0;if(Q.charAt(0)==="["){let J=Q.indexOf("]");if(J!==-1){let Z=Q.slice(1,J),z=Q.slice(J+1);if(z.charAt(0)===":"&&/^\d+$/.test(z.slice(1)))Y=Number.parseInt(z.slice(1),10);return[Z,Y]}}let W=Q.indexOf(":"),G=Q.lastIndexOf(":");if(W!==-1&&W===G&&/^\d+$/.test(Q.slice(G+1)))Y=Number.parseInt(Q.slice(G+1),10),Q=Q.slice(0,G);return[Q,Y]},QQ,YQ,WQ=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Q=$.match(QQ);if(Q)return Q[1];let Y=$.match(YQ);if(Y){let W=parseInt(Y[1],16),G=parseInt(Y[2],16);return`${W>>8}.${W&255}.${G>>8}.${G&255}`}return $},a5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return WQ($.replace(/\.+$/,""))};var t5=T(()=>{t8=new Set(["localhost","0.0.0.0"]),e8={http:80,https:443,ws:80,wss:443,ftp:21},QQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,YQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function GQ($,Q){$=$||10;let Y=Array($),W=Array($),G=0,J=0,Z;return Q=Q!==void 0?Q:1000,function(K){let N=Date.now(),M=W[J];if(!Z)Z=N;Y[G]=K,W[G]=N;let B=J,I=0;while(B!==G)I+=Y[B++],B=B%$;if(G=(G+1)%$,G===J)J=(J+1)%$;if(N-Z<Q)return;let U=M&&N-M;return U?Math.round(I*1000/U):void 0}}var r5;var o5=T(()=>{r5=GQ});function ZQ($,Q){let Y=0,W=1000/Q,G,J,Z=(N,M=Date.now())=>{if(Y=M,G=null,J)clearTimeout(J),J=null;$(...N)};return[(...N)=>{let M=Date.now(),B=M-Y;if(B>=W)Z(N,M);else if(G=N,!J)J=setTimeout(()=>{J=null,Z(G)},W-B)},()=>G&&Z(G)]}var e5;var $6=T(()=>{e5=ZQ});var F0=($,Q,Y=3)=>{let W=0,G=r5(50,250);return e5((J)=>{if(!J||typeof J.loaded!=="number")return;let Z=J.loaded,z=J.lengthComputable?J.total:void 0,K=z!=null?Math.min(Z,z):Z,N=Math.max(0,K-W),M=G(N);W=Math.max(W,K);let B={loaded:K,total:z,progress:z?K/z:void 0,bytes:N,rate:M?M:void 0,estimated:M&&z?(z-K)/M:void 0,event:J,lengthComputable:z!=null,[Q?"download":"upload"]:!0};$(B)},Y)},p0=($,Q)=>{let Y=$!=null;return[(W)=>Q[0]({lengthComputable:Y,total:$,loaded:W}),Q[1]]},i0=($)=>(...Q)=>X.asap(()=>$(...Q));var b4=T(()=>{o5();$6();x()});function F4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Q=$.indexOf(",");if(Q<0)return 0;let Y=$.slice(5,Q),W=$.slice(Q+1);if(/;base64/i.test(Y)){let{length:Z,length:z}=W;for(let U=0;U<z;U++)if(W.charCodeAt(U)===37&&U+2<z){let S=W.charCodeAt(U+1),q=W.charCodeAt(U+2);if(x4(S)&&x4(q))Z-=2,U+=2}let K=0,N=z-1,M=(U)=>U>=2&&W.charCodeAt(U-2)===37&&W.charCodeAt(U-1)===51&&(W.charCodeAt(U)===68||W.charCodeAt(U)===100);if(N>=0){if(W.charCodeAt(N)===61)K++,N--;else if(M(N))K++,N-=3}if(K===1&&N>=0){if(W.charCodeAt(N)===61)K++;else if(M(N))K++}let I=Math.floor(Z/4)*3-(K||0);return I>0?I:0}let J=0;for(let Z=0,z=W.length;Z<z;Z++){let K=W.charCodeAt(Z);if(K===37&&JQ(W,Z,z))J+=1,Z+=2;else if(K<128)J+=1;else if(K<2048)J+=2;else if(K>=55296&&K<=56319&&Z+1<z){let N=W.charCodeAt(Z+1);if(N>=56320&&N<=57343)J+=4,Z++;else J+=3}else J+=3}return J}var x4=($)=>$>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102,JQ=($,Q,Y)=>Q+2<Y&&x4($.charCodeAt(Q+1))&&x4($.charCodeAt(Q+2));var T1=()=>{};import M6 from"http";import B6 from"https";import zQ from"http2";import NQ from"util";import{resolve as Q6}from"path";import Y0 from"zlib";import J0 from"stream";import{EventEmitter as MQ}from"events";function wQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q).forEach(([W,G])=>{if(LQ.includes(W.toLowerCase()))$.set(W,G)})}function DQ($=process.versions&&process.versions.node){if(!$)return!1;let[Q,Y]=$.split(".").map((W)=>Number(W));if(!Number.isInteger(Q)||!Number.isInteger(Y))return!1;if(Q>24)return!0;return Z6[Q]!=null&&Y>=Z6[Q]}function _Q($,Q=process.versions&&process.versions.node){if(!DQ(Q))return!1;let Y=$&&$.options;return Boolean(Y&&X.hasOwnProp(Y,"proxyEnv")&&Y.proxyEnv!=null)}function TQ($,Q,Y){return q1.test($.protocol)?Y||B6.globalAgent:Q||M6.globalAgent}function RQ($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),W=Q?G6.get(Q)||G6.set(Q,new Map).get(Q):SQ,G=W.get(Y);if(G)return G;let J=Q&&Q.options?{...Q.options,...$}:$;if(G=new R1.default(J),Q&&Q.options){let Z={...Q.options},z=G.callback;G.callback=function(N,M){return z.call(this,N,{...Z,...M})}}return G[L6]=!0,W.set(Y,G),G}function PQ($,Q,Y){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.sensitiveHeaders)$.beforeRedirects.sensitiveHeaders($,Y);if($.beforeRedirects.config)$.beforeRedirects.config($,Q,Y)}function CQ($,Q){if(!$)return;Object.keys($).forEach((Y)=>{if(Q.has(Y.toLowerCase()))delete $[Y]})}function OQ($,Q){if(!Q)return!1;try{return new URL(Q.url).origin===new URL($.href).origin}catch(Y){return!1}}function w6($,Q,Y,W,G,J){let Z=Q,z=TQ($,J,G);if(!Z&&Z!==!1&&!_Q(z)){let K=N6(Y);if(K){if(!_1(Y))Z=new URL(K)}}if(W&&$.headers){for(let K of Object.keys($.headers))if(K.toLowerCase()==="proxy-authorization")delete $.headers[K]}if(W&&$.agent&&$.agent[L6])$.agent=void 0;if(Z){let K=Z instanceof URL,N=(S)=>K||X.hasOwnProp(Z,S)?Z[S]:void 0,M=N("username"),B=N("password"),I=X.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)I=(M||"")+":"+(B||"");if(I){let S=typeof I==="object",q=S&&X.hasOwnProp(I,"username")?I.username:void 0,L=S&&X.hasOwnProp(I,"password")?I.password:void 0;if(Boolean(q||L))I=(q||"")+":"+(L||"");else if(S)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(q1.test($.protocol)){if(!(G instanceof R1.default)){let S=N("hostname")||N("host"),q=N("port"),L=N("protocol"),F=L?L.includes(":")?L:`${L}:`:"http:",_=S&&S.includes(":")&&!S.startsWith("[")?`[${S}]`:S,R=new URL(`${F}//${_}${q?":"+q:""}`),O={protocol:R.protocol,hostname:R.hostname.replace(/^\[|\]$/g,""),port:R.port,auth:I&&typeof I==="string"?I:void 0};if(R.protocol==="https:")O.ALPNProtocols=["http/1.1"];let v=RQ(O,G);if($.agent=v,$.agents)$.agents.https=v}}else{if(I){let F=Buffer.from(I,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+F}let S=!1;for(let F of Object.keys($.headers))if(F.toLowerCase()==="host"){S=!0;break}if(!S)$.headers.host=$.hostname+($.port?":"+$.port:"");let q=N("hostname")||N("host");$.hostname=q,$.host=q,$.port=N("port"),$.path=Y;let L=N("protocol");if(L)$.protocol=L.includes(":")?L:`${L}:`}}$.beforeRedirects.proxy=function(N){w6(N,Q,N.href,!0,G,J)}}var R1,V6,Y6,BQ,VQ,I6,F6,U6,IQ,FQ,UQ,q1,LQ,W6,v4,L6,SQ,G6,Z6,J6,X6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},K6=($,[Q,Y])=>{return $.on("end",Y).on("error",Y),Q},qQ,HQ,EQ=($)=>{return new Promise((Q,Y)=>{let W,G,J=(K,N)=>{if(G)return;G=!0,W&&W(K,N)},Z=(K)=>{J(K),Q(K)},z=(K)=>{J(K,!0),Y(K)};$(Z,z,(K)=>W=K).catch(z)})},AQ=({address:$,family:Q})=>{if(!X.isString($))throw TypeError("address must be a string");return{address:$,family:Q||($.indexOf(".")<0?6:4)}},z6=($,Q)=>AQ(X.isObject($)?$:{address:$,family:Q}),jQ,S6;var D6=T(()=>{x();E4();A4();C4();XQ();B4();W4();t();O0();Z0();k5();G0();x5();f5();S1();u5();l5();i5();t5();$4();b4();T1();R1=n4(j5(),1),V6=n4(KQ(),1),Y6={flush:Y0.constants.Z_SYNC_FLUSH,finishFlush:Y0.constants.Z_SYNC_FLUSH},BQ={flush:Y0.constants.BROTLI_OPERATION_FLUSH,finishFlush:Y0.constants.BROTLI_OPERATION_FLUSH},VQ={flush:Y0.constants.ZSTD_e_flush,finishFlush:Y0.constants.ZSTD_e_flush},I6=X.isFunction(Y0.createBrotliDecompress),F6=X.isFunction(Y0.createZstdDecompress),U6="gzip, compress, deflate"+(I6?", br":""),IQ=U6+(F6?", zstd":""),{http:FQ,https:UQ}=V6.default,q1=/https:?/,LQ=["content-type","content-length"];W6=Symbol("axios.http.socketListener"),v4=Symbol("axios.http.currentReq"),L6=Symbol("axios.http.installedTunnel"),SQ=new Map,G6=new WeakMap,Z6={22:21,24:5};J6=j.protocols.map(($)=>{return $+":"}),qQ=new d5;HQ=typeof process<"u"&&X.kindOf(process)==="process",jQ={request($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:W,headers:G}=$,J=qQ.getSession(Y,W),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:z,HTTP2_HEADER_PATH:K,HTTP2_HEADER_STATUS:N}=zQ.constants,M={[Z]:$.protocol.replace(":",""),[z]:$.method,[K]:$.path};X.forEach(G,(I,U)=>{U.charAt(0)!==":"&&(M[U]=I)});let B=J.request(M);return B.once("response",(I)=>{let U=B;I=Object.assign({},I);let S=I[N];delete I[N],U.headers=I,U.statusCode=+S,Q(U)}),B}},S6=HQ&&function(Q){return EQ(async function(W,G,J){let Z=(D)=>X.getSafeProp(Q,D),z=Z("transitional")||D0,K=Z("data"),N=Z("lookup"),M=Z("family"),B=Z("httpVersion");if(B===void 0)B=1;let I=Z("http2Options"),U=Z("httpAgent"),S=Z("httpsAgent"),q=Z("proxy"),L=Z("responseType"),F=Z("responseEncoding"),_=Z("socketPath"),R=Z("method").toUpperCase(),O=Z("maxRedirects"),v=Z("maxBodyLength"),k=Z("maxContentLength"),K0=Z("decompress"),j0,U0=!1,E,e;if(B=+B,Number.isNaN(B))throw TypeError(`Invalid protocol version: '${Q.httpVersion}' is not a number`);if(B!==1&&B!==2)throw TypeError(`Unsupported protocol version '${B}'`);let k0=B===2;if(N){let D=p5(N,(w)=>X.isArray(w)?w:[w]);N=(w,H,h)=>{D(w,H,(C,l,s)=>{if(C)return h(C);let u=X.isArray(l)?l.map((v0)=>z6(v0)):[z6(l,s)];H.all?h(C,u):h(C,u[0].address,u[0].family)})}}let L0=new MQ;function c(D){try{L0.emit("abort",!D||D.type?new $0(null,Q,E):D)}catch(w){}}function B0(){if(e)clearTimeout(e),e=null}function _0(){let D=Z("timeout"),w=D?"timeout of "+D+"ms exceeded":"timeout exceeded",H=Z("timeoutErrorMessage");if(H)w=H;return new V(w,z.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Q,E)}L0.once("abort",G);let T0=()=>{if(B0(),Q.cancelToken)Q.cancelToken.unsubscribe(c);if(Q.signal)Q.signal.removeEventListener("abort",c);L0.removeAllListeners()};if(Q.cancelToken||Q.signal){if(Q.cancelToken&&Q.cancelToken.subscribe(c),Q.signal)Q.signal.aborted?c():Q.signal.addEventListener("abort",c)}J((D,w)=>{if(j0=!0,B0(),w){U0=!0,T0();return}let{data:H}=D;if(H instanceof J0.Readable||H instanceof J0.Duplex){let h=J0.finished(H,()=>{h(),T0()})}else T0()});let S4=H0(Z("baseURL"),Z("url"),Z("allowAbsoluteUrls"),Q),D4=_?"http://localhost":j.hasBrowserEnv?j.origin:void 0,m=new URL(S4,D4),f=m.protocol||J6[0];if(f==="data:"){if(k>-1){let w=String(Z("url")||S4||"");if(F4(w)>k)return G(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q))}let D;if(R!=="GET")return M0(W,G,{status:405,statusText:"method not allowed",headers:{},config:Q});try{D=U1(Z("url"),L==="blob",{Blob:Q.env&&Q.env.Blob})}catch(w){throw V.from(w,V.ERR_BAD_REQUEST,Q)}if(L==="text"){if(D=D.toString(F),!F||F==="utf8")D=X.stripBOM(D)}else if(L==="stream")D=J0.Readable.from(D);return M0(W,G,{data:D,status:200,statusText:"OK",headers:new y,config:Q})}if(J6.indexOf(f)===-1)return G(new V("Unsupported protocol "+f,V.ERR_BAD_REQUEST,Q));let g=y.from(Q.headers).normalize();g.set("User-Agent","axios/"+I0,!1);let{onUploadProgress:z0,onDownloadProgress:V0}=Q,R0=Q.maxRate,A=void 0,i=void 0;if(X.isSpecCompliantForm(K)){let D=g.getContentType(/boundary=([-_\w\d]{10,70})/i);K=m5(K,(w)=>{g.set(w)},{tag:`axios-${I0}-boundary`,boundary:D&&D[1]||void 0})}else if(X.isFormData(K)&&X.isFunction(K.getHeaders)&&K.getHeaders!==Object.prototype.getHeaders){if(wQ(g,K.getHeaders(),Z("formDataHeaderPolicy")),!g.hasContentLength())try{let D=await NQ.promisify(K.getLength).call(K);Number.isFinite(D)&&D>=0&&g.setContentLength(D)}catch(D){}}else if(X.isBlob(K)||X.isFile(K))K.size&&g.setContentType(K.type||"application/octet-stream"),g.setContentLength(K.size||0),K=J0.Readable.from(k4(K));else if(K&&!X.isStream(K)){if(Buffer.isBuffer(K));else if(X.isArrayBuffer(K))K=Buffer.from(new Uint8Array(K));else if(X.isString(K))K=Buffer.from(K,"utf-8");else return G(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Q));if(g.setContentLength(K.length,!1),v>-1&&K.length>v)return G(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q))}let b0=X.toFiniteNumber(g.getContentLength());if(X.isArray(R0))A=R0[0],i=R0[1];else A=i=R0;if(K&&(z0||A)){if(!X.isStream(K))K=J0.Readable.from(K,{objectMode:!1});K=J0.pipeline([K,new w1({maxRate:X.toFiniteNumber(A)})],X.noop),z0&&K.on("progress",K6(K,p0(b0,F0(i0(z0),!1,3))))}let N0=void 0,n0=Z("auth");if(n0){let D=X.getSafeProp(n0,"username")||"",w=X.getSafeProp(n0,"password")||"";N0=D+":"+w}if(!N0&&(m.username||m.password)){let D=X6(m.username),w=X6(m.password);N0=D+":"+w}N0&&g.delete("authorization");let a0;try{a0=C0(m.pathname+m.search,Z("params"),Z("paramsSerializer")).replace(/^\?/,"")}catch(D){return G(V.from(D,V.ERR_BAD_REQUEST,Q,null,null,{url:Z("url"),exists:!0}))}g.set("Accept-Encoding",X.hasOwnProp(z,"advertiseZstdAcceptEncoding")&&z.advertiseZstdAcceptEncoding===!0?IQ:U6,!1);let b=Object.assign(Object.create(null),{path:a0,method:R,headers:g0(g),agents:{http:U,https:S},auth:N0,protocol:f,family:M,beforeRedirect:PQ,beforeRedirects:Object.create(null),http2Options:I});if(!X.isUndefined(N)&&(b.lookup=N),_){if(typeof _!=="string")return G(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Q));let D=Z("allowedSocketPaths");if(D!=null){let w=Array.isArray(D)?D:[D],H=Q6(_);if(!w.some((C)=>typeof C==="string"&&Q6(C)===H))return G(new V(`socketPath "${_}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Q))}b.socketPath=_}else b.hostname=m.hostname.startsWith("[")?m.hostname.slice(1,-1):m.hostname,b.port=m.port,w6(b,q,f+"//"+m.hostname+(m.port?":"+m.port:"")+b.path,!1,S,U);let w0,x0=!1,Q0=!1,P=q1.test(b.protocol);if(b.agent==null)b.agent=P?S:U;if(k0)w0=jQ;else{let D=Z("transport");if(D)w0=D;else if(O===0)w0=P?B6:M6,x0=!0;else{if(Q0=!0,b.sensitiveHeaders=[],O)b.maxRedirects=O;let w=Z("beforeRedirect");if(w)b.beforeRedirects.config=w;if(N0){let h=m.origin,C=N0;b.beforeRedirects.auth=function(s){try{if(new URL(s.href).origin===h)s.auth=C}catch(u){}}}let H=Z("sensitiveHeaders");if(H!=null){if(!X.isArray(H))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));let h=new Set;for(let C of H){if(!X.isString(C))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));h.add(C.toLowerCase())}if(h.size)b.sensitiveHeaders=Array.from(h),b.beforeRedirects.sensitiveHeaders=function(l,s){if(!OQ(l,s))CQ(l.headers,h)}}w0=P?UQ:FQ}}if(v>-1)b.maxBodyLength=v;else b.maxBodyLength=1/0;b.insecureHTTPParser=Boolean(Z("insecureHTTPParser")),E=w0.request(b,function(w){if(B0(),E.destroyed)return;let H=[w],h=X.toFiniteNumber(w.headers["content-length"]);if(V0||i){let u=new w1({maxRate:X.toFiniteNumber(i)});V0&&u.on("progress",K6(u,p0(h,F0(i0(V0),!0,3)))),H.push(u)}let C=w,l=w.req||E;if(K0!==!1&&w.headers["content-encoding"]){if(R==="HEAD"||w.statusCode===204)delete w.headers["content-encoding"];switch((w.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"deflate":H.push(new g5),H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"br":if(I6)H.push(Y0.createBrotliDecompress(BQ)),delete w.headers["content-encoding"];break;case"zstd":if(F6)H.push(Y0.createZstdDecompress(VQ)),delete w.headers["content-encoding"];break}}C=H.length>1?J0.pipeline(H,X.noop):H[0];let s={status:w.statusCode,statusText:w.statusMessage,headers:new y(w.headers),config:Q,request:l};if(L==="stream"){if(k>-1){let u=k,v0=C;async function*s0(){let p=0;for await(let v1 of v0){if(p+=v1.length,p>u)throw new V("maxContentLength size of "+u+" exceeded",V.ERR_BAD_RESPONSE,Q,l);yield v1}}C=J0.Readable.from(s0(),{objectMode:!1})}s.data=C,M0(W,G,s)}else{let u=[],v0=0;C.on("data",function(p){if(u.push(p),v0+=p.length,k>-1&&v0>k)U0=!0,C.destroy(),c(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q,l))}),C.on("aborted",function(){if(U0)return;let p=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Q,l,s);C.destroy(p),G(p)}),C.on("error",function(p){if(U0)return;G(V.from(p,null,Q,l,s))}),C.on("end",function(){try{let p=u.length===1?u[0]:Buffer.concat(u);if(L!=="arraybuffer"){if(p=p.toString(F),!F||F==="utf8")p=X.stripBOM(p)}s.data=p}catch(p){return G(V.from(p,null,Q,s.request,s))}M0(W,G,s)})}L0.once("abort",(u)=>{if(!C.destroyed)C.emit("error",u),C.destroy()})}),L0.once("abort",(D)=>{if(E.close)E.close();else E.destroy(D)}),E.on("error",function(w){G(V.from(w,null,Q,E))});let n=new Set;if(E.on("socket",function(w){if(typeof w.setKeepAlive==="function")w.setKeepAlive(!0,60000);if(!w[W6])w.on("error",function(h){let C=w[v4];if(C&&!C.destroyed)C.destroy(h)}),w[W6]=!0;w[v4]=E,n.add(w)}),E.once("close",function(){B0();for(let w of n)if(w[v4]===E)w[v4]=null;n.clear()}),Z("timeout")){let D=parseInt(Z("timeout"),10);if(Number.isNaN(D)){c(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Q,E));return}let w=function(){if(j0)return;c(_0())};if(x0&&D>0)e=setTimeout(w,D);E.setTimeout(D,w)}else E.setTimeout(0);if(X.isStream(K)){let D=!1,w=!1;K.on("end",()=>{D=!0}),K.once("error",(h)=>{w=!0,E.destroy(h)}),K.on("close",()=>{if(!D&&!w)c(new $0("Request stream has been aborted",Q,E))});let H=K;if(v>-1&&!Q0){let h=v,C=0;H=J0.pipeline([K,new J0.Transform({transform(l,s,u){if(C+=l.length,C>h)return u(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q,E));u(null,l)}})],X.noop),H.on("error",(l)=>{if(!E.destroyed)E.destroy(l)})}H.pipe(E)}else K&&E.write(K),E.end()})}});var _6;var T6=T(()=>{Z0();_6=j.hasStandardBrowserEnv?(($,Q)=>(Y)=>{return Y=new URL(Y,j.origin),$.protocol===Y.protocol&&$.host===Y.host&&(Q||$.port===Y.port)})(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0});var R6;var q6=T(()=>{x();Z0();R6=j.hasStandardBrowserEnv?{write($,Q,Y,W,G,J,Z){if(typeof document>"u")return;let z=[`${$}=${encodeURIComponent(Q)}`];if(X.isNumber(Y))z.push(`expires=${new Date(Y).toUTCString()}`);if(X.isString(W))z.push(`path=${W}`);if(X.isString(G))z.push(`domain=${G}`);if(J===!0)z.push("secure");if(X.isString(Z))z.push(`SameSite=${Z}`);document.cookie=z.join("; ")},read($){if(typeof document>"u")return null;let Q=document.cookie.split(";");for(let Y=0;Y<Q.length;Y++){let W=Q[Y].replace(/^\s+/,""),G=W.indexOf("=");if(G!==-1&&W.slice(0,G)===$)try{return decodeURIComponent(W.slice(G+1))}catch(J){return W.slice(G+1)}}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Q){$=$||{},Q=Q||{};let Y=Object.create(null);Object.defineProperty(Y,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function W(M,B,I,U){if(X.isPlainObject(M)&&X.isPlainObject(B))return X.merge.call({caseless:U},M,B);else if(X.isPlainObject(B))return X.merge({},B);else if(X.isArray(B))return B.slice();return B}function G(M,B,I,U){if(!X.isUndefined(B))return W(M,B,I,U);else if(!X.isUndefined(M))return W(void 0,M,I,U)}function J(M,B){if(!X.isUndefined(B))return W(void 0,B)}function Z(M,B){if(!X.isUndefined(B))return W(void 0,B);else if(!X.isUndefined(M))return W(void 0,M)}function z(M){let B=X.hasOwnProp(Q,"transitional")?Q.transitional:void 0;if(!X.isUndefined(B))if(X.isPlainObject(B)){if(X.hasOwnProp(B,M))return B[M]}else return;let I=X.hasOwnProp($,"transitional")?$.transitional:void 0;if(X.isPlainObject(I)&&X.hasOwnProp(I,M))return I[M];return}function K(M,B,I){if(X.hasOwnProp(Q,I))return W(M,B);else if(X.hasOwnProp($,I))return W(void 0,M)}let N={url:J,method:J,data:J,baseURL:Z,transformRequest:Z,transformResponse:Z,paramsSerializer:Z,timeout:Z,timeoutMessage:Z,withCredentials:Z,withXSRFToken:Z,adapter:Z,responseType:Z,xsrfCookieName:Z,xsrfHeaderName:Z,onUploadProgress:Z,onDownloadProgress:Z,decompress:Z,maxContentLength:Z,maxBodyLength:Z,beforeRedirect:Z,transport:Z,httpAgent:Z,httpsAgent:Z,cancelToken:Z,socketPath:Z,allowedSocketPaths:Z,responseEncoding:Z,validateStatus:K,headers:(M,B,I)=>G(P6(M),P6(B),I,!0)};if(X.forEach(Object.keys({...$,...Q}),function(B){if(B==="__proto__"||B==="constructor"||B==="prototype")return;let I=X.hasOwnProp(N,B)?N[B]:G,U=X.hasOwnProp($,B)?$[B]:void 0,S=X.hasOwnProp(Q,B)?Q[B]:void 0,q=I(U,S,B);X.isUndefined(q)&&I!==K||(Y[B]=q)}),X.hasOwnProp(Q,"validateStatus")&&X.isUndefined(Q.validateStatus)&&z("validateStatusUndefinedResolves")===!1)if(X.hasOwnProp($,"validateStatus"))Y.validateStatus=W(void 0,$.validateStatus);else delete Y.validateStatus;return Y}var P6=($)=>$ instanceof y?{...$}:$;var y4=T(()=>{x();G0()});function bQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q||{}).forEach(([W,G])=>{if(kQ.includes(W.toLowerCase()))$.set(W,G)})}function vQ($){let Q=X0({},$),Y=(I)=>X.hasOwnProp(Q,I)?Q[I]:void 0,W=Y("data"),G=Y("withXSRFToken"),J=Y("xsrfHeaderName"),Z=Y("xsrfCookieName"),z=Y("headers"),K=Y("auth"),N=Y("baseURL"),M=Y("allowAbsoluteUrls"),B=Y("url");if(Q.headers=z=y.from(z),Q.url=C0(H0(N,B,M,Q),Y("params"),Y("paramsSerializer")),K){let I=X.getSafeProp(K,"username")||"",U=X.getSafeProp(K,"password")||"";try{z.set("Authorization","Basic "+btoa(I+":"+(U?xQ(U):"")))}catch(S){throw V.from(S,V.ERR_BAD_OPTION_VALUE,$)}}if(X.isFormData(W)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv||X.isReactNative(W))z.setContentType(void 0);else if(X.isFunction(W.getHeaders))bQ(z,W.getHeaders(),Y("formDataHeaderPolicy"))}if(j.hasStandardBrowserEnv){if(X.isFunction(G))G=G(Q);if(G===!0||G==null&&_6(Q.url)){let U=J&&Z&&R6.read(Z);if(U)z.set(J,U)}}return Q}var kQ,xQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),m4;var P1=T(()=>{Z0();x();t();T6();q6();A4();y4();G0();C4();kQ=["content-type","content-length"];m4=vQ});var yQ,C6;var O6=T(()=>{x();E4();W4();t();O0();F1();Z0();G0();b4();P1();$4();yQ=typeof XMLHttpRequest<"u",C6=yQ&&function($){return new Promise(function(Y,W){let G=m4($),J=G.data,Z=y.from(G.headers).normalize(),{responseType:z,onUploadProgress:K,onDownloadProgress:N}=G,M,B,I,U,S;function q(){U&&U(),S&&S(),G.cancelToken&&G.cancelToken.unsubscribe(M),G.signal&&G.signal.removeEventListener("abort",M)}let L=new XMLHttpRequest;L.open(G.method.toUpperCase(),G.url,!0),L.timeout=G.timeout;function F(){if(!L)return;let R=y.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),v={data:!z||z==="text"||z==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};M0(function(K0){Y(K0),q()},function(K0){W(K0),q()},v),L=null}if("onloadend"in L)L.onloadend=F;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(F)};if(L.onabort=function(){if(!L)return;W(new V("Request aborted",V.ECONNABORTED,$,L)),q(),L=null},L.onerror=function(O){let v=O&&O.message?O.message:"Network Error",k=new V(v,V.ERR_NETWORK,$,L);k.event=O||null,W(k),q(),L=null},L.ontimeout=function(){let O=G.timeout?"timeout of "+G.timeout+"ms exceeded":"timeout exceeded",v=G.transitional||D0;if(G.timeoutErrorMessage)O=G.timeoutErrorMessage;W(new V(O,v.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),q(),L=null},J===void 0&&Z.setContentType(null),"setRequestHeader"in L)X.forEach(g0(Z),function(O,v){L.setRequestHeader(v,O)});if(!X.isUndefined(G.withCredentials))L.withCredentials=!!G.withCredentials;if(z&&z!=="json")L.responseType=G.responseType;if(N)[I,S]=F0(N,!0),L.addEventListener("progress",I);if(K&&L.upload)[B,U]=F0(K),L.upload.addEventListener("progress",B),L.upload.addEventListener("loadend",U);if(G.cancelToken||G.signal){if(M=(R)=>{if(!L)return;W(!R||R.type?new $0(null,$,L):R),L.abort(),q(),L=null},G.cancelToken&&G.cancelToken.subscribe(M),G.signal)G.signal.aborted?M():G.signal.addEventListener("abort",M)}let _=V4(G.url);if(_&&!j.protocols.includes(_)){W(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$)),q();return}L.send(J||null)})}});var mQ=($,Q)=>{if($=$?$.filter(Boolean):[],!Q&&!$.length)return;let Y=new AbortController,W=!1,G=function(K){if(!W){W=!0,Z();let N=K instanceof Error?K:this.reason;Y.abort(N instanceof V?N:new $0(N instanceof Error?N.message:N))}},J=Q&&setTimeout(()=>{J=null,G(new V(`timeout of ${Q}ms exceeded`,V.ETIMEDOUT))},Q),Z=()=>{if(!$)return;J&&clearTimeout(J),J=null,$.forEach((K)=>{K.unsubscribe?K.unsubscribe(G):K.removeEventListener("abort",G)}),$=null};$.forEach((K)=>K.addEventListener("abort",G,{once:!0}));let{signal:z}=Y;return z.unsubscribe=()=>X.asap(Z),z},H6;var E6=T(()=>{O0();t();x();H6=mQ});var fQ=function*($,Q){let Y=$.byteLength;if(!Q||Y<Q){yield $;return}let W=0,G;while(W<Y)G=W+Q,yield $.slice(W,G),W=G},hQ=async function*($,Q){for await(let Y of gQ($))yield*fQ(Y,Q)},gQ=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Q=$.getReader();try{for(;;){let{done:Y,value:W}=await Q.read();if(Y)break;yield W}}finally{await Q.cancel()}},C1=($,Q,Y,W)=>{let G=hQ($,Q),J=0,Z,z=(K)=>{if(!Z)Z=!0,W&&W(K)};return new ReadableStream({async pull(K){try{let{done:N,value:M}=await G.next();if(N){z(),K.close();return}let B=M.byteLength;if(Y){let I=J+=B;Y(I)}K.enqueue(new Uint8Array(M))}catch(N){throw z(N),N}},cancel(K){return z(K),G.return()}},{highWaterMark:2})};var A6=()=>{};var j6=65536,f4,uQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),k6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},b6=($,...Q)=>{try{return!!$(...Q)}catch(Y){return!1}},cQ=($)=>{let Q=$.indexOf("://"),Y=$;if(Q!==-1)Y=Y.slice(Q+3);return Y.includes("@")||Y.includes(":")},dQ=($)=>{let Q=X.global!==void 0&&X.global!==null?X.global:globalThis,{ReadableStream:Y,TextEncoder:W}=Q;$=X.merge.call({skipUndefined:!0},{Request:Q.Request,Response:Q.Response},$);let{fetch:G,Request:J,Response:Z}=$,z=G?f4(G):typeof fetch==="function",K=f4(J),N=f4(Z);if(!z)return!1;let M=z&&f4(Y),B=z&&(typeof W==="function"?((F)=>(_)=>F.encode(_))(new W):async(F)=>new Uint8Array(await new J(F).arrayBuffer())),I=K&&M&&b6(()=>{let F=!1,_=new J(j.origin,{body:new Y,method:"POST",get duplex(){return F=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return F&&!R}),U=N&&M&&b6(()=>X.isReadableStream(new Z("").body)),S={stream:U&&((F)=>F.body)};z&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((F)=>{!S[F]&&(S[F]=(_,R)=>{let O=_&&_[F];if(O)return O.call(_);throw new V(`Response type '${F}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let q=async(F)=>{if(F==null)return 0;if(X.isBlob(F))return F.size;if(X.isSpecCompliantForm(F))return(await new J(j.origin,{method:"POST",body:F}).arrayBuffer()).byteLength;if(X.isArrayBufferView(F)||X.isArrayBuffer(F))return F.byteLength;if(X.isURLSearchParams(F))F=F+"";if(X.isString(F))return(await B(F)).byteLength},L=async(F,_)=>{let R=X.toFiniteNumber(F.getContentLength());return R==null?q(_):R};return async(F)=>{let{url:_,method:R,data:O,signal:v,cancelToken:k,timeout:K0,onDownloadProgress:j0,onUploadProgress:U0,responseType:E,headers:e,withCredentials:k0="same-origin",fetchOptions:L0,maxContentLength:c,maxBodyLength:B0}=m4(F),_0=X.isNumber(c)&&c>-1,T0=X.isNumber(B0)&&B0>-1,S4=(A)=>X.hasOwnProp(F,A)?F[A]:void 0,D4=G||fetch;E=E?(E+"").toLowerCase():"text";let m=H6([v,k&&k.toAbortSignal()],K0),f=null,g=m&&m.unsubscribe&&(()=>{m.unsubscribe()}),z0,V0=null,R0=()=>new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,F,f);try{let A=void 0,i=S4("auth");if(i){let P=X.getSafeProp(i,"username")||"",n=X.getSafeProp(i,"password")||"";A={username:P,password:n}}if(cQ(_)){let P=new URL(_,j.origin);if(!A&&(P.username||P.password)){let n=k6(P.username),D=k6(P.password);A={username:n,password:D}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(A)e.delete("authorization"),e.set("Authorization","Basic "+btoa(uQ((A.username||"")+":"+(A.password||""))));if(_0&&typeof _==="string"&&_.startsWith("data:")){if(F4(_)>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}if(T0&&R!=="get"&&R!=="head"){let P=await q(O);if(typeof P==="number"&&isFinite(P)){if(z0=P,P>B0)throw R0()}}let b0=T0&&(X.isReadableStream(O)||X.isStream(O)),N0=(P,n,D)=>C1(P,j6,(w)=>{if(T0&&w>B0)throw V0=R0();n&&n(w)},D);if(I&&R!=="get"&&R!=="head"&&(U0||b0)){if(z0=z0==null?await L(e,O):z0,z0!==0||b0){let P=new J(_,{method:"POST",body:O,duplex:"half"}),n;if(X.isFormData(O)&&(n=P.headers.get("content-type")))e.setContentType(n);if(P.body){let[D,w]=U0&&p0(z0,F0(i0(U0)))||[];O=N0(P.body,D,w)}}}else if(b0&&!K&&M&&R!=="get"&&R!=="head")O=N0(O);else if(b0&&K&&!I&&R!=="get"&&R!=="head")throw new V("Stream request bodies are not supported by the current fetch implementation",V.ERR_NOT_SUPPORT,F,f);if(!X.isString(k0))k0=k0?"include":"omit";let n0=K&&"credentials"in J.prototype;if(X.isFormData(O)){let P=e.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))e.delete("content-type")}e.set("User-Agent","axios/"+I0,!1);let a0={...L0,signal:m,method:R.toUpperCase(),headers:g0(e.normalize()),body:O,duplex:"half",credentials:n0?k0:void 0};f=K&&new J(_,a0);let b=await(K?D4(f,L0):D4(_,a0)),w0=y.from(b.headers);if(_0){let P=X.toFiniteNumber(w0.getContentLength());if(P!=null&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}let x0=U&&(E==="stream"||E==="response");if(U&&b.body&&(j0||_0||x0&&g)){let P={};["status","statusText","headers"].forEach((C)=>{P[C]=b[C]});let n=X.toFiniteNumber(w0.getContentLength()),[D,w]=j0&&p0(n,F0(i0(j0),!0))||[],H=0,h=(C)=>{if(_0){if(H=C,H>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}D&&D(C)};b=new Z(C1(b.body,j6,h,()=>{w&&w(),g&&g()}),P)}E=E||"text";let Q0=await S[X.findKey(S,E)||"text"](b,F);if(_0&&!U&&!x0){let P;if(Q0!=null){if(typeof Q0.byteLength==="number")P=Q0.byteLength;else if(typeof Q0.size==="number")P=Q0.size;else if(typeof Q0==="string")P=typeof W==="function"?new W().encode(Q0).byteLength:Q0.length}if(typeof P==="number"&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}return!x0&&g&&g(),await new Promise((P,n)=>{M0(P,n,{data:Q0,headers:y.from(b.headers),status:b.status,statusText:b.statusText,config:F,request:f})})}catch(A){if(g&&g(),m&&m.aborted&&m.reason instanceof V){let i=m.reason;if(i.config=F,f&&(i.request=f),A!==i)Object.defineProperty(i,"cause",{__proto__:null,value:A,writable:!0,enumerable:!1,configurable:!0});throw i}if(V0)throw f&&!V0.request&&(V0.request=f),V0;if(A instanceof V)throw f&&!A.request&&(A.request=f),A;if(A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)){let i=new V("Network Error",V.ERR_NETWORK,F,f,A&&A.response);throw Object.defineProperty(i,"cause",{__proto__:null,value:A.cause||A,writable:!0,enumerable:!1,configurable:!0}),i}throw V.from(A,A&&A.code,F,f,A&&A.response)}}},lQ,O1=($)=>{let Q=$&&$.env||{},{fetch:Y,Request:W,Response:G}=Q,J=[W,G,Y],Z=J.length,z=Z,K,N,M=lQ;while(z--)K=J[z],N=M.get(K),N===void 0&&M.set(K,N=z?new Map:dQ(Q)),M=N;return N},B9;var x6=T(()=>{Z0();x();t();E6();A6();G0();b4();P1();E4();T1();B4();$4();({isFunction:f4}=X),lQ=new Map,B9=O1()});function nQ($,Q){$=X.isArray($)?$:[$];let{length:Y}=$,W,G,J={};for(let Z=0;Z<Y;Z++){W=$[Z];let z;if(G=W,!iQ(W)){if(G=H1[(z=String(W)).toLowerCase()],G===void 0)throw new V(`Unknown adapter '${z}'`)}if(G&&(X.isFunction(G)||(G=G.get(Q))))break;J[z||"#"+Z]=G}if(!G){let Z=Object.entries(J).map(([K,N])=>`adapter ${K} `+(N===!1?"is not supported by the environment":"is not available in the build")),z=Y?Z.length>1?`since :
|
|
12
|
+
`+Z.map(v6).join(`
|
|
13
|
+
`):" "+v6(Z[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+z,V.ERR_NOT_SUPPORT)}return G}var H1,v6=($)=>`- ${$}`,iQ=($)=>X.isFunction($)||$===null||$===!1,h4;var E1=T(()=>{x();D6();O6();x6();t();H1={http:S6,xhr:C6,fetch:{get:O1}};X.forEach(H1,($,Q)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Q})}catch(Y){}Object.defineProperty($,"adapterName",{__proto__:null,value:Q})}});h4={getAdapter:nQ,adapters:H1}});function A1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new $0(null,$)}function g4($){if(A1($),$.headers=y.from($.headers),$.data=G4.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return h4.getAdapter($.adapter||d0.adapter,$)($).then(function(W){A1($),$.response=W;try{W.data=G4.call($,$.transformResponse,W)}finally{delete $.response}return W.headers=y.from(W.headers),W},function(W){if(!Z4(W)){if(A1($),W&&W.response){$.response=W.response;try{W.response.data=G4.call($,$.transformResponse,W.response)}finally{delete $.response}W.response.headers=y.from(W.response.headers)}}return Promise.reject(W)})}var y6=T(()=>{F5();J1();H4();O0();G0();E1()});function aQ($,Q,Y){if(typeof $!=="object"||$===null)throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let W=Object.keys($),G=W.length;while(G-- >0){let J=W[G],Z=Object.prototype.hasOwnProperty.call(Q,J)?Q[J]:void 0;if(Z){let z=$[J],K=z===void 0||Z(z,J,$);if(K!==!0)throw new V("option "+J+" must be "+K,V.ERR_BAD_OPTION_VALUE);continue}if(Y!==!0)throw new V("Unknown option "+J,V.ERR_BAD_OPTION)}}var u4,m6,U4;var f6=T(()=>{B4();t();u4={};["object","boolean","number","function","string","symbol"].forEach(($,Q)=>{u4[$]=function(W){return typeof W===$||"a"+(Q<1?"n ":" ")+$}});m6={};u4.transitional=function(Q,Y,W){function G(J,Z){return"[Axios v"+I0+"] Transitional option '"+J+"'"+Z+(W?". "+W:"")}return(J,Z,z)=>{if(Q===!1)throw new V(G(Z," has been removed"+(Y?" in "+Y:"")),V.ERR_DEPRECATED);if(Y&&!m6[Z])m6[Z]=!0,console.warn(G(Z," has been deprecated since v"+Y+" and will be removed in the near future"));return Q?Q(J,Z,z):!0}};u4.spelling=function(Q){return(Y,W)=>{return console.warn(`${W} is likely a misspelling of ${Q}`),!0}};U4={assertOptions:aQ,validators:u4}});class L4{constructor($){this.defaults=$||{},this.interceptors={request:new o4,response:new o4}}async request($,Q){try{return await this._request($,Q)}catch(Y){if(Y instanceof Error){let W={};Error.captureStackTrace?Error.captureStackTrace(W):W=Error();let G=(()=>{if(!W.stack)return"";let J=W.stack.indexOf(`
|
|
14
|
+
`);return J===-1?"":W.stack.slice(J+1)})();try{if(!Y.stack)Y.stack=G;else if(G){let J=G.indexOf(`
|
|
15
|
+
`),Z=J===-1?-1:G.indexOf(`
|
|
16
|
+
`,J+1),z=Z===-1?"":G.slice(Z+1);if(!String(Y.stack).endsWith(z))Y.stack+=`
|
|
17
|
+
`+G}}catch(J){}}throw Y}}_request($,Q){if(typeof $==="string")Q=Q||{},Q.url=$;else Q=$||{};Q=X0(this.defaults,Q);let{transitional:Y,paramsSerializer:W,headers:G}=Q;if(Y!==void 0)U4.assertOptions(Y,{silentJSONParsing:r.transitional(r.boolean),forcedJSONParsing:r.transitional(r.boolean),clarifyTimeoutError:r.transitional(r.boolean),legacyInterceptorReqResOrdering:r.transitional(r.boolean),advertiseZstdAcceptEncoding:r.transitional(r.boolean),validateStatusUndefinedResolves:r.transitional(r.boolean)},!1);if(W!=null)if(X.isFunction(W))Q.paramsSerializer={serialize:W};else U4.assertOptions(W,{encode:r.function,serialize:r.function},!0);if(Q.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Q.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Q.allowAbsoluteUrls=!0;U4.assertOptions(Q,{baseUrl:r.spelling("baseURL"),withXsrfToken:r.spelling("withXSRFToken")},!0),Q.method=(Q.method||this.defaults.method||"get").toLowerCase();let J=G&&X.merge(G.common,G[Q.method]);G&&X.forEach(["delete","get","head","post","put","patch","query","common"],(U)=>{delete G[U]}),Q.headers=y.concat(J,G);let Z=[],z=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen==="function"&&S.runWhen(Q)===!1)return;z=z&&S.synchronous;let q=Q.transitional||D0;if(q&&q.legacyInterceptorReqResOrdering)Z.unshift(S.fulfilled,S.rejected);else Z.push(S.fulfilled,S.rejected)});let K=[];this.interceptors.response.forEach(function(S){K.push(S.fulfilled,S.rejected)});let N,M=0,B;if(!z){let U=[g4.bind(this),void 0];U.unshift(...Z),U.push(...K),B=U.length,N=Promise.resolve(Q);while(M<B)N=N.then(U[M++],U[M++]);return N}B=Z.length;let I=Q;while(M<B){let U=Z[M++],S=Z[M++];try{I=U(I)}catch(q){S.call(this,q);break}}try{N=g4.call(this,I)}catch(U){return Promise.reject(U)}M=0,B=K.length;while(M<B)N=N.then(K[M++],K[M++]);return N}getUri($){$=X0(this.defaults,$);let Q=H0($.baseURL,$.url,$.allowAbsoluteUrls,$);return C0(Q,$.params,$.paramsSerializer)}}var r,w4;var h6=T(()=>{x();C4();G5();y6();y4();A4();f6();G0();W4();r=U4.validators;X.forEach(["delete","get","head","options"],function(Q){L4.prototype[Q]=function(Y,W){return this.request(X0(W||{},{method:Q,url:Y,data:W&&X.hasOwnProp(W,"data")?W.data:void 0}))}});X.forEach(["post","put","patch","query"],function(Q){function Y(W){return function(J,Z,z){return this.request(X0(z||{},{method:Q,headers:W?{"Content-Type":"multipart/form-data"}:{},url:J,data:Z}))}}if(L4.prototype[Q]=Y(),Q!=="query")L4.prototype[Q+"Form"]=Y(!0)});w4=L4});class j1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Q;this.promise=new Promise(function(G){Q=G});let Y=this;this.promise.then((W)=>{if(!Y._listeners)return;let G=Y._listeners.length;while(G-- >0)Y._listeners[G](W);Y._listeners=null}),this.promise.then=(W)=>{let G,J=new Promise((Z)=>{Y.subscribe(Z),G=Z}).then(W);return J.cancel=function(){Y.unsubscribe(G)},J},$(function(G,J,Z){if(Y.reason)return;Y.reason=new $0(G,J,Z),Q(Y.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Q=this._listeners.indexOf($);if(Q!==-1)this._listeners.splice(Q,1)}toAbortSignal(){let $=new AbortController,Q=(Y)=>{$.abort(Y)};return this.subscribe(Q),$.signal.unsubscribe=()=>this.unsubscribe(Q),$.signal}static source(){let $;return{token:new j1(function(W){$=W}),cancel:$}}}var g6;var u6=T(()=>{O0();g6=j1});function k1($){return function(Y){return $.apply(null,Y)}}var c6=()=>{};function b1($){return X.isObject($)&&$.isAxiosError===!0}var d6=T(()=>{x()});var x1,l6;var p6=T(()=>{x1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(x1).forEach(([$,Q])=>{x1[Q]=$});l6=x1});function i6($){let Q=new w4($),Y=t0(w4.prototype.request,Q);return X.extend(Y,w4.prototype,Q,{allOwnKeys:!0}),X.extend(Y,Q,null,{allOwnKeys:!0}),Y.create=function(G){return i6(X0($,G))},Y}var d,n6;var a6=T(()=>{x();c4();h6();y4();H4();G1();O0();u6();J1();B4();u0();t();c6();d6();G0();E1();p6();d=i6(d0);d.Axios=w4;d.CanceledError=$0;d.CancelToken=g6;d.isCancel=Z4;d.VERSION=I0;d.toFormData=S0;d.AxiosError=V;d.Cancel=d.CanceledError;d.all=function(Q){return Promise.all(Q)};d.spread=k1;d.isAxiosError=b1;d.mergeConfig=X0;d.AxiosHeaders=y;d.formToJSON=($)=>O4(X.isHTMLForm($)?new FormData($):$);d.getAdapter=h4.getAdapter;d.HttpStatusCode=l6;d.default=d;n6=d});var z2,N2,M2,B2,V2,I2,F2,U2,L2,w2,S2,D2,_2,T2,R2,q2,P2;var sQ=T(()=>{a6();({Axios:z2,AxiosError:N2,CanceledError:M2,isCancel:B2,CancelToken:V2,VERSION:I2,all:F2,Cancel:U2,isAxiosError:L2,spread:w2,toFormData:S2,AxiosHeaders:D2,HttpStatusCode:_2,formToJSON:T2,getAdapter:R2,mergeConfig:q2,create:P2}=n6)});
|
|
18
|
+
export{n6 as _pa,z2 as $pa,N2 as aqa,M2 as bqa,B2 as cqa,V2 as dqa,I2 as eqa,F2 as fqa,U2 as gqa,L2 as hqa,w2 as iqa,S2 as jqa,D2 as kqa,_2 as lqa,T2 as mqa,R2 as nqa,q2 as oqa,P2 as pqa,sQ as qqa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lia as E,mia as F,qia as M}from"./cli-0.7.5-7h3tq3wc.mjs";import{_pa as H,qqa as N}from"./cli-0.7.5-w2vyrb4j.mjs";N();M();function V(z){let C=Buffer.from(z,"base64url").toString("utf-8"),q=F(C);if(!q||typeof q!=="object"||!("version"in q)||q.version!==1)throw Error(`Unsupported work secret version: ${q&&typeof q==="object"&&"version"in q?q.version:"unknown"}`);let A=q;if(typeof A.session_ingress_token!=="string"||A.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof A.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return q}function W(z,C){let q=new URL(z).hostname,A=q==="localhost"||q==="127.0.0.1",D=A?"ws":"wss",J=A?"v2":"v1",K=z.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${D}://${K}/${J}/session_ingress/ws/${C}`}function X(z,C){if(z===C)return!0;let q=z.slice(z.lastIndexOf("_")+1),A=C.slice(C.lastIndexOf("_")+1);return q.length>=4&&q===A}function Y(z,C){return`${z.replace(/\/+$/,"")}/v1/code/sessions/${C}`}async function Z(z,C){let q=await H.post(`${z}/worker/register`,{},{headers:{Authorization:`Bearer ${C}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),A=q.data?.worker_epoch,D=typeof A==="string"?Number(A):A;if(typeof D!=="number"||!Number.isFinite(D)||!Number.isSafeInteger(D))throw Error(`registerWorker: invalid worker_epoch in response: ${E(q.data)}`);return D}
|
|
2
|
+
export{V as Eb,W as Fb,X as Gb,Y as Hb,Z as Ib};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I9 as Y,c_ as x,m9 as X,q9 as k}from"./cli-0.7.5-ghq2axmf.mjs";import{Cfa as $}from"./cli-0.7.5-kj54k6vh.mjs";import{Pqa as Z}from"./cli-0.7.5-012a6zfk.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
|
|
2
|
+
export{H as Ya,M as Za};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Xd as c,be as Eq}from"./cli-0.7.5-6s7zhdt4.mjs";import{AL as Lq,DL as Hq,EL as Jq,GK as v,GL as vq,HK as m,HL as y,IL as Qq,JK as Oq,JL as Xq,Js as l,KL as Yq,Ks as wq,LL as $q,ML as d,Oo as s,PL as Dq,Po as Tq,So as t,Uo as Mq,Yo as i,_o as Rq,aL as n,cp as A,ep as D,fp as Aq,gL as e,gp as h,hL as P,hp as S,ip as Fq,lL as jq,mL as O,nL as qq,pL as I,qL as Gq,wL as Cq,zL as b}from"./cli-0.7.5-1130jhj6.mjs";import{Fba as Kq,Zea as a,aca as F,cca as L,ffa as Bq,pca as _q,xba as V}from"./cli-0.7.5-ghq2axmf.mjs";import{uia as p,yia as Wq}from"./cli-0.7.5-7h3tq3wc.mjs";import{fja as o,ija as N,nja as Uq}from"./cli-0.7.5-fzqampqh.mjs";import{epa as xq,nla as f}from"./cli-0.7.5-987zbyps.mjs";import{Pqa as Zq}from"./cli-0.7.5-012a6zfk.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
|
|
2
|
+
${G.join(`
|
|
3
|
+
`)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
|
|
4
|
+
export{k as Kd,HG as Ld,JG as Md,QG as Nd,kq as Od,XG as Pd,YG as Qd,$G as Rd,zG as Sd,ZG as Td,xG as Ud,hq as Vd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bda as y,gda as P}from"./cli-0.7.5-ghq2axmf.mjs";import{Pqa as U}from"./cli-0.7.5-012a6zfk.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
+
export{G as NW,M as OW,N as PW,Y as QW,C as RW,_ as SW,R as TW,f as UW,E as VW,I as WW,k as XW,A as YW,b as ZW,h as _W,m as $W,p as aX,u as bX,T as cX,e as dX,W as eX,a as fX,s as gX,r as hX,g as iX};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$7 as bl,Z7 as nt,_7 as hl,a8 as ml,b8 as fn,c8 as $c,d8 as fu,e8 as Al,f8 as ys,g8 as El,h8 as st,i8 as hs,j8 as k,k8 as ur,l8 as Qc,m8 as Bc,n8 as ra,o8 as Xc,p8 as Yc,q8 as Zc,r8 as Jc,s8 as el,t8 as Hc,u8 as cr,v8 as Cc,w8 as Ts,x8 as gl}from"./cli-0.7.5-crbzqw8b.mjs";import{y8 as ie}from"./cli-0.7.5-mkypasee.mjs";import{Aqa as kc,Bqa as Le}from"./cli-0.7.5-hbgzm4wt.mjs";import{Dqa as Vc}from"./cli-0.7.5-n8nsc1fy.mjs";import{Fqa as Fe,Gqa as ve,Jqa as De,Kqa as ee}from"./cli-0.7.5-5a315ky8.mjs";import{Nqa as E,Qqa as Bs}from"./cli-0.7.5-012a6zfk.mjs";var _t=E((S)=>{Object.defineProperty(S,"__esModule",{value:!0});S.resolveHttpHandlerRuntimeConfig=S.getHttpHandlerExtensionConfiguration=S.isValidHostname=S.HttpResponse=S.HttpRequest=S.Fields=S.Field=void 0;var N=ee();Object.defineProperty(S,"Field",{enumerable:!0,get:function(){return N.Field}});Object.defineProperty(S,"Fields",{enumerable:!0,get:function(){return N.Fields}});Object.defineProperty(S,"HttpRequest",{enumerable:!0,get:function(){return N.HttpRequest}});Object.defineProperty(S,"HttpResponse",{enumerable:!0,get:function(){return N.HttpResponse}});Object.defineProperty(S,"isValidHostname",{enumerable:!0,get:function(){return N.isValidHostname}});Object.defineProperty(S,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return N.getHttpHandlerExtensionConfiguration}});Object.defineProperty(S,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return N.resolveHttpHandlerRuntimeConfig}})});var Ot=E((c)=>{Object.defineProperty(c,"__esModule",{value:!0});c.createAggregatedClient=c.convertMap=c._json=c.ServiceException=c.SENSITIVE_STRING=c.NoOpLogger=c.Command=c.Client=c.strictParseShort=c.strictParseLong=c.strictParseInt32=c.strictParseInt=c.strictParseFloat32=c.strictParseFloat=c.strictParseDouble=c.strictParseByte=c.splitHeader=c.splitEvery=c.quoteHeader=c.parseRfc7231DateTime=c.parseRfc3339DateTimeWithOffset=c.parseRfc3339DateTime=c.parseEpochTimestamp=c.parseBoolean=c.nv=c.logger=c.limitedParseFloat32=c.limitedParseFloat=c.limitedParseDouble=c.handleFloat=c.generateIdempotencyToken=c.expectUnion=c.expectString=c.expectShort=c.expectObject=c.expectNumber=c.expectNonNull=c.expectLong=c.expectInt32=c.expectInt=c.expectFloat32=c.expectByte=c.expectBoolean=c.dateToUtcString=c.copyDocumentWithTransform=c._parseRfc7231DateTime=c._parseRfc3339DateTimeWithOffset=c._parseEpochTimestamp=c.NumericValue=c.LazyJsonString=void 0;c.resolvedPath=c.extendedEncodeURIComponent=c.collectBody=c.withBaseException=c.throwDefaultError=c.take=c.serializeFloat=c.serializeDateTime=c.resolveDefaultRuntimeConfig=c.map=c.loadConfigsForDefaultMode=c.isSerializableHeaderValue=c.getValueFromTextNode=c.getDefaultExtensionConfiguration=c.getDefaultClientConfiguration=c.getArrayIfSingleItem=c.emitWarningIfUnsupportedVersion=c.decorateServiceException=void 0;var p=De();Object.defineProperty(c,"LazyJsonString",{enumerable:!0,get:function(){return p.LazyJsonString}});Object.defineProperty(c,"NumericValue",{enumerable:!0,get:function(){return p.NumericValue}});Object.defineProperty(c,"_parseEpochTimestamp",{enumerable:!0,get:function(){return p._parseEpochTimestamp}});Object.defineProperty(c,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p._parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return p._parseRfc7231DateTime}});Object.defineProperty(c,"copyDocumentWithTransform",{enumerable:!0,get:function(){return p.copyDocumentWithTransform}});Object.defineProperty(c,"dateToUtcString",{enumerable:!0,get:function(){return p.dateToUtcString}});Object.defineProperty(c,"expectBoolean",{enumerable:!0,get:function(){return p.expectBoolean}});Object.defineProperty(c,"expectByte",{enumerable:!0,get:function(){return p.expectByte}});Object.defineProperty(c,"expectFloat32",{enumerable:!0,get:function(){return p.expectFloat32}});Object.defineProperty(c,"expectInt",{enumerable:!0,get:function(){return p.expectInt}});Object.defineProperty(c,"expectInt32",{enumerable:!0,get:function(){return p.expectInt32}});Object.defineProperty(c,"expectLong",{enumerable:!0,get:function(){return p.expectLong}});Object.defineProperty(c,"expectNonNull",{enumerable:!0,get:function(){return p.expectNonNull}});Object.defineProperty(c,"expectNumber",{enumerable:!0,get:function(){return p.expectNumber}});Object.defineProperty(c,"expectObject",{enumerable:!0,get:function(){return p.expectObject}});Object.defineProperty(c,"expectShort",{enumerable:!0,get:function(){return p.expectShort}});Object.defineProperty(c,"expectString",{enumerable:!0,get:function(){return p.expectString}});Object.defineProperty(c,"expectUnion",{enumerable:!0,get:function(){return p.expectUnion}});Object.defineProperty(c,"generateIdempotencyToken",{enumerable:!0,get:function(){return p.generateIdempotencyToken}});Object.defineProperty(c,"handleFloat",{enumerable:!0,get:function(){return p.handleFloat}});Object.defineProperty(c,"limitedParseDouble",{enumerable:!0,get:function(){return p.limitedParseDouble}});Object.defineProperty(c,"limitedParseFloat",{enumerable:!0,get:function(){return p.limitedParseFloat}});Object.defineProperty(c,"limitedParseFloat32",{enumerable:!0,get:function(){return p.limitedParseFloat32}});Object.defineProperty(c,"logger",{enumerable:!0,get:function(){return p.logger}});Object.defineProperty(c,"nv",{enumerable:!0,get:function(){return p.nv}});Object.defineProperty(c,"parseBoolean",{enumerable:!0,get:function(){return p.parseBoolean}});Object.defineProperty(c,"parseEpochTimestamp",{enumerable:!0,get:function(){return p.parseEpochTimestamp}});Object.defineProperty(c,"parseRfc3339DateTime",{enumerable:!0,get:function(){return p.parseRfc3339DateTime}});Object.defineProperty(c,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return p.parseRfc3339DateTimeWithOffset}});Object.defineProperty(c,"parseRfc7231DateTime",{enumerable:!0,get:function(){return p.parseRfc7231DateTime}});Object.defineProperty(c,"quoteHeader",{enumerable:!0,get:function(){return p.quoteHeader}});Object.defineProperty(c,"splitEvery",{enumerable:!0,get:function(){return p.splitEvery}});Object.defineProperty(c,"splitHeader",{enumerable:!0,get:function(){return p.splitHeader}});Object.defineProperty(c,"strictParseByte",{enumerable:!0,get:function(){return p.strictParseByte}});Object.defineProperty(c,"strictParseDouble",{enumerable:!0,get:function(){return p.strictParseDouble}});Object.defineProperty(c,"strictParseFloat",{enumerable:!0,get:function(){return p.strictParseFloat}});Object.defineProperty(c,"strictParseFloat32",{enumerable:!0,get:function(){return p.strictParseFloat32}});Object.defineProperty(c,"strictParseInt",{enumerable:!0,get:function(){return p.strictParseInt}});Object.defineProperty(c,"strictParseInt32",{enumerable:!0,get:function(){return p.strictParseInt32}});Object.defineProperty(c,"strictParseLong",{enumerable:!0,get:function(){return p.strictParseLong}});Object.defineProperty(c,"strictParseShort",{enumerable:!0,get:function(){return p.strictParseShort}});var A=ve();Object.defineProperty(c,"Client",{enumerable:!0,get:function(){return A.Client}});Object.defineProperty(c,"Command",{enumerable:!0,get:function(){return A.Command}});Object.defineProperty(c,"NoOpLogger",{enumerable:!0,get:function(){return A.NoOpLogger}});Object.defineProperty(c,"SENSITIVE_STRING",{enumerable:!0,get:function(){return A.SENSITIVE_STRING}});Object.defineProperty(c,"ServiceException",{enumerable:!0,get:function(){return A.ServiceException}});Object.defineProperty(c,"_json",{enumerable:!0,get:function(){return A._json}});Object.defineProperty(c,"convertMap",{enumerable:!0,get:function(){return A.convertMap}});Object.defineProperty(c,"createAggregatedClient",{enumerable:!0,get:function(){return A.createAggregatedClient}});Object.defineProperty(c,"decorateServiceException",{enumerable:!0,get:function(){return A.decorateServiceException}});Object.defineProperty(c,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return A.emitWarningIfUnsupportedVersion}});Object.defineProperty(c,"getArrayIfSingleItem",{enumerable:!0,get:function(){return A.getArrayIfSingleItem}});Object.defineProperty(c,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return A.getDefaultClientConfiguration}});Object.defineProperty(c,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return A.getDefaultExtensionConfiguration}});Object.defineProperty(c,"getValueFromTextNode",{enumerable:!0,get:function(){return A.getValueFromTextNode}});Object.defineProperty(c,"isSerializableHeaderValue",{enumerable:!0,get:function(){return A.isSerializableHeaderValue}});Object.defineProperty(c,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return A.loadConfigsForDefaultMode}});Object.defineProperty(c,"map",{enumerable:!0,get:function(){return A.map}});Object.defineProperty(c,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return A.resolveDefaultRuntimeConfig}});Object.defineProperty(c,"serializeDateTime",{enumerable:!0,get:function(){return A.serializeDateTime}});Object.defineProperty(c,"serializeFloat",{enumerable:!0,get:function(){return A.serializeFloat}});Object.defineProperty(c,"take",{enumerable:!0,get:function(){return A.take}});Object.defineProperty(c,"throwDefaultError",{enumerable:!0,get:function(){return A.throwDefaultError}});Object.defineProperty(c,"withBaseException",{enumerable:!0,get:function(){return A.withBaseException}});var Ie=ee();Object.defineProperty(c,"collectBody",{enumerable:!0,get:function(){return Ie.collectBody}});Object.defineProperty(c,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return Ie.extendedEncodeURIComponent}});Object.defineProperty(c,"resolvedPath",{enumerable:!0,get:function(){return Ie.resolvedPath}})});var xt=E((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});Nt.toStream=Ys;var Xs=Bs("node:stream");function Ys(e){return Xs.Readable.from(Buffer.from(e))}});var jt=E((ro)=>{var Js=(e)=>typeof e==="string"&&e.indexOf("arn:")===0&&e.split(":").length>=6,eo=(e)=>{let t=e.split(":");if(t.length<6||t[0]!=="arn")throw Error("Malformed ARN");let[,r,n,s,o,...a]=t;return{partition:r,service:n,region:s,accountId:o,resource:a.join(":")}},to=(e)=>{let{partition:t="aws",service:r,region:n,accountId:s,resource:o}=e;if([r,n,s,o].some((a)=>typeof a!=="string"))throw Error("Input ARN object is invalid");return`arn:${t}:${r}:${n}:${s}:${o}`};ro.build=to;ro.parse=eo;ro.validate=Js});var or=E((ho)=>{var v=De(),$t=ve(),W=ee();class Mt{format(e){let t=[];for(let s of Object.keys(e)){let o=v.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=v.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(_e.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!ao.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(v.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Ht;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Ht||(Ht={}));var ao=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)Ct(t);return new _e(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Ct(e);return parseInt(v.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Ct(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Ft="X-Amz-Algorithm",Lt="X-Amz-Credential",Oe="X-Amz-Date",Gt="X-Amz-SignedHeaders",Wt="X-Amz-Expires",Ne="X-Amz-Signature",xe="X-Amz-Security-Token",io="X-Amz-Region-Set",je="authorization",$e=Oe.toLowerCase(),Kt="date",zt=[je,$e,Kt],qt=Ne.toLowerCase(),oe="x-amz-content-sha256",Vt=xe.toLowerCase(),uo="host",kt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Qt=/^proxy-/,Bt=/^sec-/,co=[/^proxy-/i,/^sec-/i],te="AWS4-HMAC-SHA256",lo="AWS4-ECDSA-P256-SHA256",Xt="AWS4-HMAC-SHA256-PAYLOAD",Yt="UNSIGNED-PAYLOAD",Zt=50,He="aws4_request",Jt=604800,er=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===qt)continue;let s=W.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${W.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${W.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},po=(e)=>fo(e).toISOString().replace(/\.\d{3}Z$/,"Z"),fo=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ce{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=$t.normalizeProvider(r),this.credentialProvider=$t.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
2
|
+
${this.getCanonicalPath(e)}
|
|
3
|
+
${er(e)}
|
|
4
|
+
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
5
|
+
`)}
|
|
6
|
+
|
|
7
|
+
${n.join(";")}
|
|
8
|
+
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(v.toUint8Array(r));let o=await s.digest();return`${n}
|
|
9
|
+
${e}
|
|
10
|
+
${t}
|
|
11
|
+
${v.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return W.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=po(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var G={},re=[],ne=(e,t,r)=>`${e}/${t}/${r}/${He}`,tr=async(e,t,r,n,s)=>{let o=await Ut(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${v.toHex(o)}:${t.sessionToken}`;if(a in G)return G[a];re.push(a);while(re.length>Zt)delete G[re.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,He])u=await Ut(e,u,i);return G[a]=u},go=()=>{re.length=0,Object.keys(G).forEach((e)=>{delete G[e]})},Ut=(e,t,r)=>{let n=new e(t);return n.update(v.toUint8Array(r)),n.digest()},Te=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in kt||t?.has(o)||Qt.test(o)||Bt.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},se=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===oe)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||v.isArrayBuffer(t)){let n=new r;return n.update(v.toUint8Array(t)),v.toHex(await n.digest())}return Yt},rr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},nr=(e,t={})=>{let{headers:r,query:n={}}=W.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},Se=(e)=>{e=W.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(zt.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class sr extends Ce{headerFormatter=new Mt;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Jt)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=ne(h,b,d??this.service),g=nr(Se(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[xe]=l.sessionToken;g.query[Ft]=te,g.query[Lt]=`${l.accessKeyId}/${R}`,g.query[Oe]=y,g.query[Wt]=n.toString(10);let T=Te(g,s,a);return g.query[Gt]=this.getCanonicalHeaderList(T),g.query[Ne]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await se(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=ne(i,u,o??this.service),b=await se({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=v.toHex(await y.digest()),R=[Xt,d,l,n,h,b].join(`
|
|
12
|
+
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(v.toUint8Array(e)),v.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=Se(e),{longDate:d,shortDate:l}=this.formatDate(t),b=ne(l,u,o??this.service);if(i.headers[$e]=d,a.sessionToken)i.headers[Vt]=a.sessionToken;let y=await se(i,this.sha256);if(!rr(oe,i.headers)&&this.applyChecksum)i.headers[oe]=y;let h=Te(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[je]=`${te} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,te),o=new this.sha256(await r);return o.update(v.toUint8Array(s)),v.toHex(await o.digest())}getSigningKey(e,t,r,n){return tr(this.sha256,e,r,t,n||this.service)}}var yo={SignatureV4a:null};ho.ALGORITHM_IDENTIFIER=te;ho.ALGORITHM_IDENTIFIER_V4A=lo;ho.ALGORITHM_QUERY_PARAM=Ft;ho.ALWAYS_UNSIGNABLE_HEADERS=kt;ho.AMZ_DATE_HEADER=$e;ho.AMZ_DATE_QUERY_PARAM=Oe;ho.AUTH_HEADER=je;ho.CREDENTIAL_QUERY_PARAM=Lt;ho.DATE_HEADER=Kt;ho.EVENT_ALGORITHM_IDENTIFIER=Xt;ho.EXPIRES_QUERY_PARAM=Wt;ho.GENERATED_HEADERS=zt;ho.HOST_HEADER=uo;ho.KEY_TYPE_IDENTIFIER=He;ho.MAX_CACHE_SIZE=Zt;ho.MAX_PRESIGNED_TTL=Jt;ho.PROXY_HEADER_PATTERN=Qt;ho.REGION_SET_PARAM=io;ho.SEC_HEADER_PATTERN=Bt;ho.SHA256_HEADER=oe;ho.SIGNATURE_HEADER=qt;ho.SIGNATURE_QUERY_PARAM=Ne;ho.SIGNED_HEADERS_QUERY_PARAM=Gt;ho.SignatureV4=sr;ho.SignatureV4Base=Ce;ho.TOKEN_HEADER=Vt;ho.TOKEN_QUERY_PARAM=xe;ho.UNSIGNABLE_PATTERNS=co;ho.UNSIGNED_PAYLOAD=Yt;ho.clearCredentialCache=go;ho.createScope=ne;ho.getCanonicalHeaders=Te;ho.getCanonicalQuery=er;ho.getPayloadHash=se;ho.getSigningKey=tr;ho.hasHeader=rr;ho.moveHeadersToQuery=nr;ho.prepareRequest=Se;ho.signatureV4aContainer=yo});var _r=E(($a)=>{var X=_t(),lr=Ot(),na=xt(),sa=jt(),oa=cr(),aa=Fe(),ia=or(),ae=ra(),ua=Le(),dr=ie(),ca=ur(),la="content-length",da="x-amz-decoded-content-length";function pr(){return(e,t)=>async(r)=>{let{request:n}=r;if(X.HttpRequest.isInstance(n)){if(!(la in n.headers)&&!(da in n.headers))if(typeof t?.logger?.warn==="function"&&!(t.logger instanceof lr.NoOpLogger))t.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return e({...r})}}var fr={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(pr(),fr)}}),gr=(e)=>{return(t,r)=>async(n)=>{let s=await e.region(),o=e.region,a=()=>{};if(r.__s3RegionRedirect)Object.defineProperty(e,"region",{writable:!1,value:async()=>{return r.__s3RegionRedirect}}),a=()=>Object.defineProperty(e,"region",{writable:!0,value:o});try{let u=await t(n);if(r.__s3RegionRedirect){a();let i=await e.region();if(s!==i)throw Error("Region was not restored following S3 region redirect.")}return u}catch(u){throw a(),u}}},yr={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function hr(e){return(t,r)=>async(n)=>{try{return await t(n)}catch(s){if(e.followRegionRedirects){let o=s?.$metadata?.httpStatusCode,a=r.commandName==="HeadBucketCommand",u=s?.$response?.headers?.["x-amz-bucket-region"];if(u){if(o===301||o===400&&(s?.name==="IllegalLocationConstraintException"||a)){try{let i=u;r.logger?.debug(`Redirecting from ${await e.region()} to ${i}`),r.__s3RegionRedirect=i}catch(i){throw Error("Region redirect failed: "+i)}return t(n)}}}throw s}}}var br={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},fa=(e)=>({applyToStack:(t)=>{t.add(hr(e),br),t.addRelativeTo(gr(e),yr)}}),mr=(e)=>{return(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(X.HttpResponse.isInstance(o)){if(o.headers.expires){o.headers.expiresstring=o.headers.expires;try{lr.parseRfc7231DateTime(o.headers.expires)}catch(a){r.logger?.warn(`AWS SDK Warning for ${r.clientName}::${r.commandName} response parsing (${o.headers.expires}): ${a}`),delete o.headers.expires}}}return s}},Ar={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},ga=(e)=>({applyToStack:(t)=>{t.addRelativeTo(mr(),Ar)}});class ue{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(!t)return;return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(this.lastPurgeTime+ue.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e)return;for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;if(n.expiration){if(n.expiration.getTime()<e)delete this.data[t]}}}}}class B{_identity;isRefreshing;accessed;constructor(e,t=!1,r=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}}class ce{createSessionFn;cache;static REFRESH_WINDOW_MS=60000;constructor(e,t=new ue){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let r=t.Bucket,{cache:n}=this,s=n.get(r);if(s)return s.identity.then((o)=>{if((o.expiration?.getTime()??0)<Date.now())return n.set(r,new B(this.getIdentity(r))).identity;if((o.expiration?.getTime()??0)<Date.now()+ce.REFRESH_WINDOW_MS&&!s.isRefreshing)s.isRefreshing=!0,this.getIdentity(r).then((i)=>{n.set(r,new B(Promise.resolve(i)))});return o});return n.set(r,new B(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch((n)=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
|
13
|
+
`+n)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}var ya="Directory",ha="S3Express",ba="sigv4-s3express",Ue="X-Amz-S3session-Token",Me=Ue.toLowerCase(),ma="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",Aa="s3_disable_express_session_auth",Ea={environmentVariableSelector:(e)=>ae.booleanSelector(e,ma,ae.SelectorType.ENV),configFileSelector:(e)=>ae.booleanSelector(e,Aa,ae.SelectorType.CONFIG),default:!1};class Er extends ia.SignatureV4{async signWithCredentials(e,t,r){let n=ar(t);e.headers[Me]=t.sessionToken;let s=this;return ir(s,n),s.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=ar(t);return delete e.headers[Me],e.headers[Ue]=t.sessionToken,e.query=e.query??{},e.query[Ue]=t.sessionToken,ir(this,n),this.presign(e,r)}}function ar(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function ir(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider,s=()=>{return clearTimeout(r),e.credentialProvider=n,Promise.resolve(t)};e.credentialProvider=s}var Rr=(e)=>{return(t,r)=>async(n)=>{if(r.endpointV2){let s=r.endpointV2,o=s.properties?.authSchemes?.[0]?.name===ba;if(s.properties?.backend===ha||s.properties?.bucketType===ya)ua.setFeature(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0;if(o){let u=n.input.Bucket;if(u){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:u});if(r.s3ExpressIdentity=i,X.HttpRequest.isInstance(n.request)&&i.sessionToken)n.request.headers[Me]=i.sessionToken}}}return t(n)}},wr={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ra=(e)=>({applyToStack:(t)=>{t.add(Rr(e),wr)}}),wa=async(e,t,r,n)=>{let s=await n.signWithCredentials(r,e,{});if(s.headers["X-Amz-Security-Token"]||s.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return s},Pa=(e)=>(t)=>{throw t},va=(e,t)=>{},Da=dr.httpSigningMiddlewareOptions,Pr=(e)=>(t,r)=>async(n)=>{if(!X.HttpRequest.isInstance(n.request))return t(n);let o=ca.getSmithyContext(r).selectedHttpAuthScheme;if(!o)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:a={}},identity:u,signer:i}=o,d;if(r.s3ExpressIdentity)d=await wa(r.s3ExpressIdentity,a,n.request,await e.signer());else d=await i.sign(n.request,u,a);let l=await t({...n,request:d}).catch((i.errorHandler||Pa)(a));return(i.successHandler||va)(l.response,a),l},Ia=(e)=>({applyToStack:(t)=>{t.addRelativeTo(Pr(e),dr.httpSigningMiddlewareOptions)}}),Ta=(e,{session:t})=>{let[r,n]=t,{forcePathStyle:s,useAccelerateEndpoint:o,disableMultiregionAccessPoints:a,followRegionRedirects:u,s3ExpressIdentityProvider:i,bucketEndpoint:d,expectContinueHeader:l}=e;return Object.assign(e,{forcePathStyle:s??!1,useAccelerateEndpoint:o??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:u??!1,s3ExpressIdentityProvider:i??new ce(async(b)=>r().send(new n({Bucket:b}))),bucketEndpoint:d??!1,expectContinueHeader:l??2097152})},Sa={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},vr=(e)=>(t,r)=>async(n)=>{let s=await t(n),{response:o}=s;if(!X.HttpResponse.isInstance(o))return s;let{statusCode:a,body:u}=o;if(a<200||a>=300)return s;let i=await _a(u,e);if(o.body=na.toStream(i),i.length===0&&Sa[r.commandName]){let l=Error("S3 aborted request");throw l.$metadata={httpStatusCode:503},l.name="InternalError",l}let d=e.utf8Encoder(i.subarray(i.length-16));if(d&&d.endsWith("</Error>"))o.statusCode=503;return s},_a=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Promise.resolve(e);return t.streamCollector(e)||Promise.resolve(new Uint8Array)},Dr={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Oa=(e)=>({applyToStack:(t)=>{t.addRelativeTo(vr(e),Dr)}});function Na(e){return(t,r)=>async(n)=>{if(e.bucketEndpoint){let s=r.endpointV2;if(s){let o=n.input.Bucket;if(typeof o==="string")try{let a=new URL(o);r.endpointV2={...s,url:a}}catch(a){let u=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${o} could not be parsed as URL.`;if(r.logger?.constructor?.name==="NoOpLogger")console.warn(u);else r.logger?.warn?.(u);throw a}}}return t(n)}}var xa={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Ir({bucketEndpoint:e}){return(t)=>async(r)=>{let{input:{Bucket:n}}=r;if(!e&&typeof n==="string"&&!sa.validate(n)&&n.indexOf("/")>=0){let s=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw s.name="InvalidBucketName",s}return t({...r})}}var Tr={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},ja=(e)=>({applyToStack:(t)=>{t.add(Ir(e),Tr),t.addRelativeTo(Na(e),xa)}});class Sr extends oa.AwsRestXmlProtocol{async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r),s=aa.NormalizedSchema.of(e.input),o=s.getSchema(),a=0,u=o[6]??0;if(t&&typeof t==="object")for(let[i,d]of s.structIterator()){if(++a>u)break;if(i==="Bucket"){if(!t.Bucket&&d.getMergedTraits().httpLabel)throw Error("No value provided for input HTTP label: Bucket.");break}}return n}}$a.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS=Ea;$a.S3ExpressIdentityCache=ue;$a.S3ExpressIdentityCacheEntry=B;$a.S3ExpressIdentityProviderImpl=ce;$a.S3RestXmlProtocol=Sr;$a.SignatureV4S3Express=Er;$a.checkContentLengthHeader=pr;$a.checkContentLengthHeaderMiddlewareOptions=fr;$a.getCheckContentLengthHeaderPlugin=pa;$a.getRegionRedirectMiddlewarePlugin=fa;$a.getS3ExpiresMiddlewarePlugin=ga;$a.getS3ExpressHttpSigningPlugin=Ia;$a.getS3ExpressPlugin=Ra;$a.getThrow200ExceptionsPlugin=Oa;$a.getValidateBucketNamePlugin=ja;$a.regionRedirectEndpointMiddleware=gr;$a.regionRedirectEndpointMiddlewareOptions=yr;$a.regionRedirectMiddleware=hr;$a.regionRedirectMiddlewareOptions=br;$a.resolveS3Config=Ta;$a.s3ExpiresMiddleware=mr;$a.s3ExpiresMiddlewareOptions=Ar;$a.s3ExpressHttpSigningMiddleware=Pr;$a.s3ExpressHttpSigningMiddlewareOptions=Da;$a.s3ExpressMiddleware=Rr;$a.s3ExpressMiddlewareOptions=wr;$a.throw200ExceptionsMiddleware=vr;$a.throw200ExceptionsMiddlewareOptions=Dr;$a.validateBucketNameMiddleware=Ir;$a.validateBucketNameMiddlewareOptions=Tr});var tn=E((Ei)=>{var D=De(),Or=ve(),z=ee();class $r{format(e){let t=[];for(let s of Object.keys(e)){let o=D.fromUtf8(s);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[s]))}let r=new Uint8Array(t.reduce((s,o)=>s+o.byteLength,0)),n=0;for(let s of t)r.set(s,n),n+=s.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(s.buffer);return o.set(e.value,3),o;case"string":let a=D.fromUtf8(e.value),u=new DataView(new ArrayBuffer(3+a.byteLength));u.setUint8(0,7),u.setUint16(1,a.byteLength,!1);let i=new Uint8Array(u.buffer);return i.set(a,3),i;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(Ke.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!di.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(D.fromHex(e.value.replace(/\-/g,"")),1),l}}}var Nr;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(Nr||(Nr={}));var di=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ke{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;if(e<0)xr(t);return new Ke(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)xr(e);return parseInt(D.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function xr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var Hr="X-Amz-Algorithm",Cr="X-Amz-Credential",ze="X-Amz-Date",Ur="X-Amz-SignedHeaders",Mr="X-Amz-Expires",qe="X-Amz-Signature",Ve="X-Amz-Security-Token",pi="X-Amz-Region-Set",ke="authorization",Qe=ze.toLowerCase(),Fr="date",Lr=[ke,Qe,Fr],Gr=qe.toLowerCase(),ge="x-amz-content-sha256",Wr=Ve.toLowerCase(),fi="host",Kr={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},zr=/^proxy-/,qr=/^sec-/,gi=[/^proxy-/i,/^sec-/i],le="AWS4-HMAC-SHA256",yi="AWS4-ECDSA-P256-SHA256",Vr="AWS4-HMAC-SHA256-PAYLOAD",kr="UNSIGNED-PAYLOAD",Qr=50,Be="aws4_request",Br=604800,Xr=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===Gr)continue;let s=z.escapeUri(n);t.push(s);let o=e[n];if(typeof o==="string")r[s]=`${s}=${z.escapeUri(o)}`;else if(Array.isArray(o))r[s]=o.slice(0).reduce((a,u)=>a.concat([`${s}=${z.escapeUri(u)}`]),[]).sort().join("&")}return t.sort().map((n)=>r[n]).filter((n)=>n).join("&")},hi=(e)=>bi(e).toISOString().replace(/\.\d{3}Z$/,"Z"),bi=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Xe{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){this.service=n,this.sha256=s,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=Or.normalizeProvider(r),this.credentialProvider=Or.normalizeProvider(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
|
|
14
|
+
${this.getCanonicalPath(e)}
|
|
15
|
+
${Xr(e)}
|
|
16
|
+
${n.map((s)=>`${s}:${t[s]}`).join(`
|
|
17
|
+
`)}
|
|
18
|
+
|
|
19
|
+
${n.join(";")}
|
|
20
|
+
${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(D.toUint8Array(r));let o=await s.digest();return`${n}
|
|
21
|
+
${e}
|
|
22
|
+
${t}
|
|
23
|
+
${D.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let s of e.split("/")){if(s?.length===0)continue;if(s===".")continue;if(s==="..")t.pop();else t.push(s)}let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return z.escapeUri(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(e){let t=hi(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}var K={},de=[],pe=(e,t,r)=>`${e}/${t}/${r}/${Be}`,Yr=async(e,t,r,n,s)=>{let o=await jr(e,t.secretAccessKey,t.accessKeyId),a=`${r}:${n}:${s}:${D.toHex(o)}:${t.sessionToken}`;if(a in K)return K[a];de.push(a);while(de.length>Qr)delete K[de.shift()];let u=`AWS4${t.secretAccessKey}`;for(let i of[r,n,s,Be])u=await jr(e,u,i);return K[a]=u},mi=()=>{de.length=0,Object.keys(K).forEach((e)=>{delete K[e]})},jr=(e,t,r)=>{let n=new e(t);return n.update(D.toUint8Array(r)),n.digest()},Ge=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(e[s]==null)continue;let o=s.toLowerCase();if(o in Kr||t?.has(o)||zr.test(o)||qr.test(o)){if(!r||r&&!r.has(o))continue}n[o]=e[s].trim().replace(/\s+/g," ")}return n},fe=async({headers:e,body:t},r)=>{for(let n of Object.keys(e))if(n.toLowerCase()===ge)return e[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||D.isArrayBuffer(t)){let n=new r;return n.update(D.toUint8Array(t)),D.toHex(await n.digest())}return kr},Zr=(e,t)=>{e=e.toLowerCase();for(let r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1},Jr=(e,t={})=>{let{headers:r,query:n={}}=z.HttpRequest.clone(e);for(let s of Object.keys(r)){let o=s.toLowerCase();if(o.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(o)||t.hoistableHeaders?.has(o))n[s]=r[s],delete r[s]}return{...e,headers:r,query:n}},We=(e)=>{e=z.HttpRequest.clone(e);for(let t of Object.keys(e.headers))if(Lr.indexOf(t.toLowerCase())>-1)delete e.headers[t];return e};class en extends Xe{headerFormatter=new $r;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:o})}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:u,signingRegion:i,signingService:d}=t,l=await this.credentialProvider();this.validateResolvedCredentials(l);let b=i??await this.regionProvider(),{longDate:y,shortDate:h}=this.formatDate(r);if(n>Br)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let R=pe(h,b,d??this.service),g=Jr(We(e),{unhoistableHeaders:o,hoistableHeaders:u});if(l.sessionToken)g.query[Ve]=l.sessionToken;g.query[Hr]=le,g.query[Cr]=`${l.accessKeyId}/${R}`,g.query[ze]=y,g.query[Mr]=n.toString(10);let T=Ge(g,s,a);return g.query[Ur]=this.getCanonicalHeaderList(T),g.query[qe]=await this.getSignature(y,R,this.getSigningKey(l,b,h,d),this.createCanonicalRequest(g,T,await fe(e,this.sha256))),g}async sign(e,t){if(typeof e==="string")return this.signString(e,t);else if(e.headers&&e.payload)return this.signEvent(e,t);else if(e.message)return this.signMessage(e,t);else return this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:o,eventStreamCredentials:a}){let u=s??await this.regionProvider(),{shortDate:i,longDate:d}=this.formatDate(r),l=pe(i,u,o??this.service),b=await fe({headers:{},body:t},this.sha256),y=new this.sha256;y.update(e);let h=D.toHex(await y.digest()),R=[Vr,d,l,n,h,b].join(`
|
|
24
|
+
`);return this.signString(R,{signingDate:r,signingRegion:u,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:s}).then((a)=>{return{message:e.message,signature:a}})}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:s}={}){let o=s??await this.credentialProvider();this.validateResolvedCredentials(o);let a=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),i=new this.sha256(await this.getSigningKey(o,a,u,n));return i.update(D.toUint8Array(e)),D.toHex(await i.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:o}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let u=s??await this.regionProvider(),i=We(e),{longDate:d,shortDate:l}=this.formatDate(t),b=pe(l,u,o??this.service);if(i.headers[Qe]=d,a.sessionToken)i.headers[Wr]=a.sessionToken;let y=await fe(i,this.sha256);if(!Zr(ge,i.headers)&&this.applyChecksum)i.headers[ge]=y;let h=Ge(i,n,r),R=await this.getSignature(d,b,this.getSigningKey(a,u,l,o),this.createCanonicalRequest(i,h,y));return i.headers[ke]=`${le} Credential=${a.accessKeyId}/${b}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${R}`,i}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,le),o=new this.sha256(await r);return o.update(D.toUint8Array(s)),D.toHex(await o.digest())}getSigningKey(e,t,r,n){return Yr(this.sha256,e,r,t,n||this.service)}}var Ai={SignatureV4a:null};Ei.ALGORITHM_IDENTIFIER=le;Ei.ALGORITHM_IDENTIFIER_V4A=yi;Ei.ALGORITHM_QUERY_PARAM=Hr;Ei.ALWAYS_UNSIGNABLE_HEADERS=Kr;Ei.AMZ_DATE_HEADER=Qe;Ei.AMZ_DATE_QUERY_PARAM=ze;Ei.AUTH_HEADER=ke;Ei.CREDENTIAL_QUERY_PARAM=Cr;Ei.DATE_HEADER=Fr;Ei.EVENT_ALGORITHM_IDENTIFIER=Vr;Ei.EXPIRES_QUERY_PARAM=Mr;Ei.GENERATED_HEADERS=Lr;Ei.HOST_HEADER=fi;Ei.KEY_TYPE_IDENTIFIER=Be;Ei.MAX_CACHE_SIZE=Qr;Ei.MAX_PRESIGNED_TTL=Br;Ei.PROXY_HEADER_PATTERN=zr;Ei.REGION_SET_PARAM=pi;Ei.SEC_HEADER_PATTERN=qr;Ei.SHA256_HEADER=ge;Ei.SIGNATURE_HEADER=Gr;Ei.SIGNATURE_QUERY_PARAM=qe;Ei.SIGNED_HEADERS_QUERY_PARAM=Ur;Ei.SignatureV4=en;Ei.SignatureV4Base=Xe;Ei.TOKEN_HEADER=Wr;Ei.TOKEN_QUERY_PARAM=Ve;Ei.UNSIGNABLE_PATTERNS=gi;Ei.UNSIGNED_PAYLOAD=kr;Ei.clearCredentialCache=mi;Ei.createScope=pe;Ei.getCanonicalHeaders=Ge;Ei.getCanonicalQuery=Xr;Ei.getPayloadHash=fe;Ei.getSigningKey=Yr;Ei.hasHeader=Zr;Ei.moveHeadersToQuery=Jr;Ei.prepareRequest=We;Ei.signatureV4aContainer=Ai});var Ye=E((iu)=>{var au=_r(),rn=tn(),Y={CrtSignerV4:null};class nn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof Y.CrtSignerV4==="function")return"crt";else if(typeof rn.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new au.SignatureV4S3Express(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if(r.signingRegion==="*"){let n=this.getSigv4aSigner(),s=Y.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if(t.signingRegion==="*"){let r=this.getSigv4aSigner(),n=Y.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if(r.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Y.CrtSignerV4,t=rn.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}iu.SignatureV4MultiRegion=nn;iu.signatureV4CrtContainer=Y});var bn=E((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});yn.bdd=void 0;var lu=fn(),V="ref",x=-1,Z=!0,sn="isSet",gn="PartitionResult",J="booleanEquals",w="stringEquals",Ze="getAttr",on="us-east-1",an="sigv4",un="sts",cn="https://sts.{Region}.{PartitionResult#dnsSuffix}",ln={[V]:"Endpoint"},P={[V]:"Region"},Je={[V]:gn},q={},dn=[P],pn={conditions:[[sn,[ln]],[sn,dn],["aws.partition",dn,gn],[J,[{[V]:"UseFIPS"},Z]],[J,[{[V]:"UseDualStack"},Z]],[w,[P,"aws-global"]],[J,[{[V]:"UseGlobalEndpoint"},Z]],[w,[P,"eu-central-1"]],[J,[{fn:Ze,argv:[Je,"supportsDualStack"]},Z]],[J,[{fn:Ze,argv:[Je,"supportsFIPS"]},Z]],[w,[P,"ap-south-1"]],[w,[P,"eu-north-1"]],[w,[P,"eu-west-1"]],[w,[P,"eu-west-2"]],[w,[P,"eu-west-3"]],[w,[P,"sa-east-1"]],[w,[P,on]],[w,[P,"us-east-2"]],[w,[P,"us-west-2"]],[w,[P,"us-west-1"]],[w,[P,"ca-central-1"]],[w,[P,"ap-southeast-1"]],[w,[P,"ap-northeast-1"]],[w,[P,"ap-southeast-2"]],[w,[{fn:Ze,argv:[Je,"name"]},"aws-us-gov"]]],results:[[x],["https://sts.amazonaws.com",{authSchemes:[{name:an,signingName:un,signingRegion:on}]}],[cn,{authSchemes:[{name:an,signingName:un,signingRegion:"{Region}"}]}],[x,"Invalid Configuration: FIPS and custom endpoint are not supported"],[x,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[ln,q],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",q],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",q],[x,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",q],[x,"DualStack is enabled but this partition does not support DualStack"],[cn,q],[x,"Invalid Configuration: Missing Region"]]},du=2,f=1e8,pu=new Int32Array([-1,1,-1,0,30,3,1,4,f+14,2,5,f+14,3,25,6,4,24,7,5,f+1,8,6,9,f+13,7,f+1,10,10,f+1,11,11,f+1,12,12,f+1,13,13,f+1,14,14,f+1,15,15,f+1,16,16,f+1,17,17,f+1,18,18,f+1,19,19,f+1,20,20,f+1,21,21,f+1,22,22,f+1,23,23,f+1,f+2,8,f+11,f+12,4,28,26,9,27,f+10,24,f+8,f+9,8,29,f+7,9,f+6,f+7,3,f+3,31,4,f+4,f+5]);yn.bdd=lu.BinaryDecisionDiagram.from(pu,du,pn.conditions,pn.results)});var tt=E((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.defaultEndpointResolver=void 0;var gu=fu(),et=fn(),yu=bn(),hu=new et.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),bu=(e,t={})=>{return hu.get(e,()=>(0,et.decideEndpoint)(yu.bdd,{endpointParams:e,logger:t.logger}))};mn.defaultEndpointResolver=bu;et.customEndpointFunctions.aws=gu.awsEndpointFunctions});var ot=E((Pn)=>{Object.defineProperty(Pn,"__esModule",{value:!0});Pn.resolveHttpAuthSchemeConfig=Pn.resolveStsAuthConfig=Pn.defaultSTSHttpAuthSchemeProvider=Pn.defaultSTSHttpAuthSchemeParametersProvider=void 0;var En=nt(),mu=Ye(),Au=st(),ye=ur(),Eu=tt(),Ru=at(),wu=(e)=>async(t,r,n)=>{if(!n)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let s=await e(t,r,n),o=(0,ye.getSmithyContext)(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!o)throw Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let a=await(0,Au.resolveParams)(n,{getEndpointParameterInstructions:o},t);return Object.assign(s,a)},Pu=async(e,t,r)=>{return{operation:(0,ye.getSmithyContext)(t).operation,region:await(0,ye.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Pn.defaultSTSHttpAuthSchemeParametersProvider=wu(Pu);function Rn(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function rt(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function wn(e){return{schemeId:"smithy.api#noAuth"}}var vu=(e,t,r)=>{return(s)=>{let a=e(s).properties?.authSchemes;if(!a)return t(s);let u=[];for(let i of a){let{name:d,properties:l={},...b}=i,y=d.toLowerCase();if(d!==y)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${d}' to '${y}'`);let h;if(y==="sigv4a"){h="aws.auth#sigv4a";let T=a.find((Pe)=>{let St=Pe.name.toLowerCase();return St!=="sigv4a"&&St.startsWith("sigv4")});if(mu.SignatureV4MultiRegion.sigv4aDependency()==="none"&&T)continue}else if(y.startsWith("sigv4"))h="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${y}'`);let R=r[h];if(!R)throw Error(`Could not find HttpAuthOption create function for '${h}'`);let g=R(s);g.schemeId=h,g.signingProperties={...g.signingProperties||{},...b,...l},u.push(g)}return u}},Du=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(wn(e)),t.push(rt(e));break}default:t.push(Rn(e)),t.push(rt(e))}return t};Pn.defaultSTSHttpAuthSchemeProvider=vu(Eu.defaultEndpointResolver,Du,{"aws.auth#sigv4":Rn,"aws.auth#sigv4a":rt,"smithy.api#noAuth":wn});var Iu=(e)=>Object.assign(e,{stsClientCtor:Ru.STSClient});Pn.resolveStsAuthConfig=Iu;var Tu=(e)=>{let t=Pn.resolveStsAuthConfig(e),r=(0,En.resolveAwsSdkSigV4Config)(t),n=(0,En.resolveAwsSdkSigV4AConfig)(r);return Object.assign(n,{authSchemePreference:(0,ye.normalizeProvider)(e.authSchemePreference??[])})};Pn.resolveHttpAuthSchemeConfig=Tu});var it=E((In)=>{Object.defineProperty(In,"__esModule",{value:!0});In.commonParams=In.resolveClientEndpointParameters=void 0;var Ou=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"})};In.resolveClientEndpointParameters=Ou;In.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}});var he=E((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.STSServiceException=ct.__ServiceException=void 0;var Sn=k();Object.defineProperty(ct,"__ServiceException",{enumerable:!0,get:function(){return Sn.ServiceException}});class ut extends Sn.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ut.prototype)}}ct.STSServiceException=ut});var bt=E((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.IDPCommunicationErrorException=On.InvalidIdentityTokenException=On.IDPRejectedClaimException=On.RegionDisabledException=On.PackedPolicyTooLargeException=On.MalformedPolicyDocumentException=On.ExpiredTokenException=void 0;var j=he();class lt extends j.STSServiceException{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,lt.prototype)}}On.ExpiredTokenException=lt;class dt extends j.STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,dt.prototype)}}On.MalformedPolicyDocumentException=dt;class pt extends j.STSServiceException{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,pt.prototype)}}On.PackedPolicyTooLargeException=pt;class ft extends j.STSServiceException{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,ft.prototype)}}On.RegionDisabledException=ft;class gt extends j.STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,gt.prototype)}}On.IDPRejectedClaimException=gt;class yt extends j.STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,yt.prototype)}}On.InvalidIdentityTokenException=yt;class ht extends j.STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,ht.prototype)}}On.IDPCommunicationErrorException=ht});var Pt=E((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.AssumeRoleWithWebIdentity$=Wn.AssumeRole$=Wn.Tag$=Wn.ProvidedContext$=Wn.PolicyDescriptorType$=Wn.Credentials$=Wn.AssumeRoleWithWebIdentityResponse$=Wn.AssumeRoleWithWebIdentityRequest$=Wn.AssumeRoleResponse$=Wn.AssumeRoleRequest$=Wn.AssumedRoleUser$=Wn.errorTypeRegistries=Wn.RegionDisabledException$=Wn.PackedPolicyTooLargeException$=Wn.MalformedPolicyDocumentException$=Wn.InvalidIdentityTokenException$=Wn.IDPRejectedClaimException$=Wn.IDPCommunicationErrorException$=Wn.ExpiredTokenException$=Wn.STSServiceException$=void 0;var Mu="Arn",Fu="AccessKeyId",Lu="AssumeRole",Gu="AssumedRoleId",Wu="AssumeRoleRequest",Ku="AssumeRoleResponse",mt="AssumedRoleUser",zu="AssumeRoleWithWebIdentity",qu="AssumeRoleWithWebIdentityRequest",Vu="AssumeRoleWithWebIdentityResponse",ku="Audience",At="Credentials",Qu="ContextAssertion",xn="DurationSeconds",Bu="Expiration",Xu="ExternalId",Yu="ExpiredTokenException",Zu="IDPCommunicationErrorException",Ju="IDPRejectedClaimException",ec="InvalidIdentityTokenException",tc="Key",rc="MalformedPolicyDocumentException",jn="Policy",$n="PolicyArns",nc="ProviderArn",sc="ProvidedContexts",oc="ProvidedContextsListType",ac="ProvidedContext",ic="PolicyDescriptorType",uc="ProviderId",Hn="PackedPolicySize",cc="PackedPolicyTooLargeException",lc="Provider",Cn="RoleArn",dc="RegionDisabledException",Un="RoleSessionName",pc="SecretAccessKey",fc="SubjectFromWebIdentityToken",Et="SourceIdentity",gc="SerialNumber",yc="SessionToken",hc="Tags",bc="TokenCode",mc="TransitiveTagKeys",Ac="Tag",Ec="Value",Rc="WebIdentityToken",wc="arn",Pc="accessKeySecretType",$="awsQueryError",H="client",vc="clientTokenType",C="error",U="httpError",M="message",Dc="policyDescriptorListType",Mn="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ic="tagListType",m="com.amazonaws.sts",Fn=Fe(),F=bt(),Tc=he(),Ln=Fn.TypeRegistry.for(Mn);Wn.STSServiceException$=[-3,Mn,"STSServiceException",0,[],[]];Ln.registerError(Wn.STSServiceException$,Tc.STSServiceException);var _=Fn.TypeRegistry.for(m);Wn.ExpiredTokenException$=[-3,m,Yu,{[$]:["ExpiredTokenException",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.ExpiredTokenException$,F.ExpiredTokenException);Wn.IDPCommunicationErrorException$=[-3,m,Zu,{[$]:["IDPCommunicationError",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.IDPCommunicationErrorException$,F.IDPCommunicationErrorException);Wn.IDPRejectedClaimException$=[-3,m,Ju,{[$]:["IDPRejectedClaim",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.IDPRejectedClaimException$,F.IDPRejectedClaimException);Wn.InvalidIdentityTokenException$=[-3,m,ec,{[$]:["InvalidIdentityToken",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.InvalidIdentityTokenException$,F.InvalidIdentityTokenException);Wn.MalformedPolicyDocumentException$=[-3,m,rc,{[$]:["MalformedPolicyDocument",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.MalformedPolicyDocumentException$,F.MalformedPolicyDocumentException);Wn.PackedPolicyTooLargeException$=[-3,m,cc,{[$]:["PackedPolicyTooLarge",400],[C]:H,[U]:400},[M],[0]];_.registerError(Wn.PackedPolicyTooLargeException$,F.PackedPolicyTooLargeException);Wn.RegionDisabledException$=[-3,m,dc,{[$]:["RegionDisabledException",403],[C]:H,[U]:403},[M],[0]];_.registerError(Wn.RegionDisabledException$,F.RegionDisabledException);Wn.errorTypeRegistries=[Ln,_];var Sc=[0,m,Pc,8,0],_c=[0,m,vc,8,0];Wn.AssumedRoleUser$=[3,m,mt,0,[Gu,Mu],[0,0],2];Wn.AssumeRoleRequest$=[3,m,Wu,0,[Cn,Un,$n,jn,xn,hc,mc,Xu,gc,bc,Et,sc],[0,0,()=>Gn,0,1,()=>Nc,64,0,0,0,0,()=>Oc],2];Wn.AssumeRoleResponse$=[3,m,Ku,0,[At,mt,Hn,Et],[[()=>Wn.Credentials$,0],()=>Wn.AssumedRoleUser$,1,0]];Wn.AssumeRoleWithWebIdentityRequest$=[3,m,qu,0,[Cn,Un,Rc,uc,$n,jn,xn],[0,0,[()=>_c,0],0,()=>Gn,0,1],3];Wn.AssumeRoleWithWebIdentityResponse$=[3,m,Vu,0,[At,fc,mt,Hn,lc,ku,Et],[[()=>Wn.Credentials$,0],0,()=>Wn.AssumedRoleUser$,1,0,0,0]];Wn.Credentials$=[3,m,At,0,[Fu,pc,yc,Bu],[0,[()=>Sc,0],0,4],4];Wn.PolicyDescriptorType$=[3,m,ic,0,[wc],[0]];Wn.ProvidedContext$=[3,m,ac,0,[nc,Qu],[0,0]];Wn.Tag$=[3,m,Ac,0,[tc,Ec],[0,0],2];var Gn=[1,m,Dc,0,()=>Wn.PolicyDescriptorType$],Oc=[1,m,oc,0,()=>Wn.ProvidedContext$],Nc=[1,m,Ic,0,()=>Wn.Tag$];Wn.AssumeRole$=[9,m,Lu,0,()=>Wn.AssumeRoleRequest$,()=>Wn.AssumeRoleResponse$];Wn.AssumeRoleWithWebIdentity$=[9,m,zu,0,()=>Wn.AssumeRoleWithWebIdentityRequest$,()=>Wn.AssumeRoleWithWebIdentityResponse$]});var ls=E((us)=>{Object.defineProperty(us,"__esModule",{value:!0});us.getRuntimeConfig=void 0;var os=nt(),Uc=cr(),Mc=Ye(),Fc=ie(),Lc=k(),Gc=$c(),as=Cc(),is=Hc(),Wc=ot(),Kc=tt(),zc=Pt(),qc=(e)=>{return{apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??as.fromBase64,base64Encoder:e?.base64Encoder??as.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Kc.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Wc.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new os.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new os.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fc.NoAuthSigner}],logger:e?.logger??new Lc.NoOpLogger,protocol:e?.protocol??Uc.AwsQueryProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:zc.errorTypeRegistries,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",signerConstructor:e?.signerConstructor??Mc.SignatureV4MultiRegion,urlParser:e?.urlParser??Gc.parseUrl,utf8Decoder:e?.utf8Decoder??is.fromUtf8,utf8Encoder:e?.utf8Encoder??is.toUtf8}};us.getRuntimeConfig=qc});var As=E((bs)=>{Object.defineProperty(bs,"__esModule",{value:!0});bs.getRuntimeConfig=void 0;var tl=Qc(),rl=tl.__importDefault(Bc()),nl=Le(),be=nt(),ds=Xc(),me=ys(),sl=ie(),ol=Yc(),ps=hs(),O=Zc(),fs=Vc(),gs=k(),al=Jc(),il=el(),ul=kc(),cl=ls(),ll=(e)=>{(0,gs.emitWarningIfUnsupportedVersion)(process.version);let t=(0,il.resolveDefaultsModeConfig)(e),r=()=>t().then(gs.loadConfigsForDefaultMode),n=(0,cl.getRuntimeConfig)(e);(0,nl.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,O.loadConfig)(be.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??al.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ds.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:rl.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new be.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(o)=>o.getIdentityProvider("aws.auth#sigv4a"),signer:new be.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(o)=>o.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new sl.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,O.loadConfig)(ps.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,O.loadConfig)(me.NODE_REGION_CONFIG_OPTIONS,{...me.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:fs.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,O.loadConfig)({...ps.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||ul.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??ol.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??(0,O.loadConfig)(be.NODE_SIGV4A_CONFIG_OPTIONS,s),streamCollector:e?.streamCollector??fs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,O.loadConfig)(me.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,O.loadConfig)(me.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,O.loadConfig)(ds.NODE_APP_ID_CONFIG_OPTIONS,s)}};bs.getRuntimeConfig=ll});var ws=E((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.resolveHttpAuthRuntimeConfig=Es.getHttpAuthExtensionConfiguration=void 0;var dl=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:n}=e;return{setHttpAuthScheme(s){let o=t.findIndex((a)=>a.schemeId===s.schemeId);if(o===-1)t.push(s);else t.splice(o,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){n=s},credentials(){return n}}};Es.getHttpAuthExtensionConfiguration=dl;var pl=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};Es.resolveHttpAuthRuntimeConfig=pl});var Os=E((Ss)=>{Object.defineProperty(Ss,"__esModule",{value:!0});Ss.resolveRuntimeExtensions=void 0;var Ps=Ts(),vs=gl(),Ds=k(),Is=ws(),yl=(e,t)=>{let r=Object.assign((0,Ps.getAwsRegionExtensionConfiguration)(e),(0,Ds.getDefaultExtensionConfiguration)(e),(0,vs.getHttpHandlerExtensionConfiguration)(e),(0,Is.getHttpAuthExtensionConfiguration)(e));return t.forEach((n)=>n.configure(r)),Object.assign(e,(0,Ps.resolveAwsRegionExtensionConfiguration)(r),(0,Ds.resolveDefaultRuntimeConfig)(r),(0,vs.resolveHttpHandlerRuntimeConfig)(r),(0,Is.resolveHttpAuthRuntimeConfig)(r))};Ss.resolveRuntimeExtensions=yl});var at=E((Dt)=>{Object.defineProperty(Dt,"__esModule",{value:!0});Dt.STSClient=Dt.__Client=void 0;var Ns=hl(),Rl=bl(),wl=ml(),xs=Al(),Pl=ys(),vt=ie(),vl=Fe(),Dl=El(),Il=st(),js=hs(),Hs=k();Object.defineProperty(Dt,"__Client",{enumerable:!0,get:function(){return Hs.Client}});var $s=ot(),Tl=it(),Sl=As(),_l=Os();class Cs extends Hs.Client{config;constructor(...[e]){let t=(0,Sl.getRuntimeConfig)(e||{});super(t);this.initConfig=t;let r=(0,Tl.resolveClientEndpointParameters)(t),n=(0,xs.resolveUserAgentConfig)(r),s=(0,js.resolveRetryConfig)(n),o=(0,Pl.resolveRegionConfig)(s),a=(0,Ns.resolveHostHeaderConfig)(o),u=(0,Il.resolveEndpointConfig)(a),i=(0,$s.resolveHttpAuthSchemeConfig)(u),d=(0,_l.resolveRuntimeExtensions)(i,e?.extensions||[]);this.config=d,this.middlewareStack.use((0,vl.getSchemaSerdePlugin)(this.config)),this.middlewareStack.use((0,xs.getUserAgentPlugin)(this.config)),this.middlewareStack.use((0,js.getRetryPlugin)(this.config)),this.middlewareStack.use((0,Dl.getContentLengthPlugin)(this.config)),this.middlewareStack.use((0,Ns.getHostHeaderPlugin)(this.config)),this.middlewareStack.use((0,Rl.getLoggerPlugin)(this.config)),this.middlewareStack.use((0,wl.getRecursionDetectionPlugin)(this.config)),this.middlewareStack.use((0,vt.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:$s.defaultSTSHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(l)=>new vt.DefaultIdentityProviderConfig({"aws.auth#sigv4":l.credentials,"aws.auth#sigv4a":l.credentials})})),this.middlewareStack.use((0,vt.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}}Dt.STSClient=Cs});var zl=E((I)=>{var L=at(),Ee=k(),Ms=st(),Fs=it(),Q=Pt(),Ae=bt(),It=Le(),Ol=Ts(),Nl=he();class Re extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Q.AssumeRole$).build(){}class we extends Ee.Command.classBuilder().ep(Fs.commonParams).m(function(e,t,r,n){return[Ms.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Q.AssumeRoleWithWebIdentity$).build(){}var xl={AssumeRoleCommand:Re,AssumeRoleWithWebIdentityCommand:we};class Tt extends L.STSClient{}Ee.createAggregatedClient(xl,Tt);var Ls=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Gs=async(e,t,r,n={})=>{let s=typeof e==="function"?await e():e,o=typeof t==="function"?await t():t,a="",u=s??o??(a=await Ol.stsRegionDefaultResolver(n)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${s} (credential provider clientConfig)`,`${o} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),u},jl=(e,t)=>{let r,n;return async(s,o)=>{if(n=s,!r){let{logger:l=e?.parentClientConfig?.logger,profile:b=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:R,userAgentAppId:g=e?.parentClientConfig?.userAgentAppId}=e,T=await Gs(y,e?.parentClientConfig?.region,R,{logger:l,profile:b}),Pe=!Ws(h);r=new t({...e,userAgentAppId:g,profile:b,credentialDefaultProvider:()=>async()=>n,region:T,requestHandler:Pe?h:void 0,logger:l})}let{Credentials:a,AssumedRoleUser:u}=await r.send(new Re(o));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${o.RoleArn}`);let i=Ls(u),d={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...i&&{accountId:i}};return It.setCredentialFeature(d,"CREDENTIALS_STS_ASSUME_ROLE","i"),d}},$l=(e,t)=>{let r;return async(n)=>{if(!r){let{logger:i=e?.parentClientConfig?.logger,profile:d=e?.parentClientConfig?.profile,region:l,requestHandler:b=e?.parentClientConfig?.requestHandler,credentialProviderLogger:y,userAgentAppId:h=e?.parentClientConfig?.userAgentAppId}=e,R=await Gs(l,e?.parentClientConfig?.region,y,{logger:i,profile:d}),g=!Ws(b);r=new t({...e,userAgentAppId:h,profile:d,region:R,requestHandler:g?b:void 0,logger:i})}let{Credentials:s,AssumedRoleUser:o}=await r.send(new we(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`);let a=Ls(o),u={accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration,...s.CredentialScope&&{credentialScope:s.CredentialScope},...a&&{accountId:a}};if(a)It.setCredentialFeature(u,"RESOLVED_ACCOUNT_ID","T");return It.setCredentialFeature(u,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),u}},Ws=(e)=>{return e?.metadata?.handlerProtocol==="h2"},Ks=(e,t)=>{if(!t)return e;else return class extends e{constructor(n){super(n);for(let s of t)this.middlewareStack.use(s)}}},zs=(e={},t)=>jl(e,Ks(L.STSClient,t)),qs=(e={},t)=>$l(e,Ks(L.STSClient,t)),Hl=(e)=>(t)=>e({roleAssumer:zs(t),roleAssumerWithWebIdentity:qs(t),...t});I.$Command=Ee.Command;I.STSServiceException=Nl.STSServiceException;I.AssumeRoleCommand=Re;I.AssumeRoleWithWebIdentityCommand=we;I.STS=Tt;I.decorateDefaultCredentialProvider=Hl;I.getDefaultRoleAssumer=zs;I.getDefaultRoleAssumerWithWebIdentity=qs;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:L.__proto__});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=L[e]});Object.prototype.hasOwnProperty.call(Q,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Q.__proto__});Object.keys(Q).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Q[e]});Object.prototype.hasOwnProperty.call(Ae,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:Ae.__proto__});Object.keys(Ae).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=Ae[e]})});
|
|
25
|
+
export{zl as Y7};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function t(s){if(s===null||typeof s!=="object")return s;let e=s;if("requestId"in e&&!("request_id"in e))e.request_id=e.requestId,delete e.requestId;if("response"in e&&e.response!==null&&typeof e.response==="object"){let n=e.response;if("requestId"in n&&!("request_id"in n))n.request_id=n.requestId,delete n.requestId}return s}
|
|
2
|
+
export{t as Rb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pqa as l}from"./cli-0.7.5-012a6zfk.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
|
|
2
|
+
export{u as E2,E as F2,a as G2,c as H2};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{K7 as D}from"./cli-0.7.5-9v3pjabj.mjs";import{Iia as W,Lia as a,uia as L,yia as JG}from"./cli-0.7.5-7h3tq3wc.mjs";import{Dja as GG,sja as c,tja as jG}from"./cli-0.7.5-cd6cs7q9.mjs";import{Dpa as U,Epa as g}from"./cli-0.7.5-rbv538zg.mjs";import{_pa as H,qqa as RG}from"./cli-0.7.5-w2vyrb4j.mjs";import{uqa as wG}from"./cli-0.7.5-y3yqkc5p.mjs";import{Lqa as WG,Pqa as j,Qqa as e}from"./cli-0.7.5-012a6zfk.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
+
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
+
\r
|
|
4
|
+
`);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
+
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
+
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
|
|
7
|
+
`;let $=n(K);K.write(`${w}\r
|
|
8
|
+
`);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
|
|
9
|
+
`;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
|
|
10
|
+
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
+
`);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.7.5-zfker4t5.mjs"),import("./index-0.7.5-ekrwk3jz.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
+
export{hG as n7,p as o7,F as p7,gG as q7,aG as r7,pG as s7,KG as t7,MJ as u7,HJ as v7,OG as w7,I as x7,h as y7,qJ as z7,jJ as A7,UJ as B7,_J as C7,FJ as D7,NJ as E7,TJ as F7,vG as G7};
|