@claudiolabs/claudin 0.6.3 → 0.6.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/dist/chunks/AgentTool-0.6.5-9pre88qb.mjs +1 -0
- package/dist/chunks/App-0.6.5-syfacmqb.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.5-2rrtj277.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.5-8deawh7z.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.5-8e3v3cgx.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.5-3pjygvs2.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.5-s2js1wag.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.5-36z08571.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.5-g256mdz0.mjs +3 -0
- package/dist/chunks/Doctor-0.6.5-vty8ec8n.mjs +1 -0
- package/dist/chunks/Grove-0.6.5-p00f24rh.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.5-53j2wh9w.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.5-gtpj7hn7.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.5-3d3v9kn1.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.5-mnbsk1bz.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.5-9r9rkgj0.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.5-yb8w75gs.mjs +1 -0
- package/dist/chunks/REPL-0.6.5-wqyg8nfv.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.5-0d1tkqfd.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.5-n5pa0d9r.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.5-t863eyfb.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.5-11ykz8de.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.5-dn6dvzvv.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.5-yd46t6dv.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.5-6kssfnkp.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.5-mdbqw8dc.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.5-wpe1bnhr.mjs +1 -0
- package/dist/chunks/add-dir-0.6.5-zphaxr62.mjs +1 -0
- package/dist/chunks/agents-0.6.5-9rhdp3vp.mjs +110 -0
- package/dist/chunks/agents-0.6.5-krnahvn4.mjs +3 -0
- package/dist/chunks/api-0.6.5-vfnxfssn.mjs +1 -0
- package/dist/chunks/asciicast-0.6.5-hr205c81.mjs +1 -0
- package/dist/chunks/assistant-0.6.5-nfbsgssx.mjs +1 -0
- package/dist/chunks/auth-0.6.5-9baxvtxg.mjs +1 -0
- package/dist/chunks/auth-0.6.5-cq4yrhn2.mjs +1 -0
- package/dist/chunks/autoMode-0.6.5-kzhwpmfg.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.5-bkzpv0pd.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.5-2mkev4qh.mjs +1 -0
- package/dist/chunks/branch-0.6.5-8vtt7esr.mjs +4 -0
- package/dist/chunks/bridge-0.6.5-9c1v2e52.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.6.5-w77y3p5n.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.6.5-k6hvamvf.mjs +1 -0
- package/dist/chunks/bridgeMain-0.6.5-pea2hztr.mjs +88 -0
- package/dist/chunks/bridgePointer-0.6.5-87t92nmh.mjs +1 -0
- package/dist/chunks/btw-0.6.5-xhyyarh0.mjs +1 -0
- package/dist/chunks/buddy-0.6.5-g9csmkdw.mjs +3 -0
- package/dist/chunks/cacache-0.6.5-kzjmbjve.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.5-c2br8x9m.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.5-kbdcab9q.mjs +4 -0
- package/dist/chunks/caches-0.6.5-nwzvsny2.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.5-51tkmdr1.mjs +1 -0
- package/dist/chunks/claudemd-0.6.5-212twher.mjs +1 -0
- package/dist/chunks/clear-0.6.5-yg0wcbw4.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.5-0c24f1yy.mjs +1 -0
- package/dist/chunks/cli-0.6.5-00kbsd9f.mjs +2 -0
- package/dist/chunks/cli-0.6.5-0356tc6y.mjs +2 -0
- package/dist/chunks/cli-0.6.5-06d8zge2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-0j7fzwkx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-0pt0eq6a.mjs +3 -0
- package/dist/chunks/cli-0.6.5-13g3042y.mjs +12 -0
- package/dist/chunks/cli-0.6.5-192npvx3.mjs +2 -0
- package/dist/chunks/cli-0.6.5-19mg5dfx.mjs +6 -0
- package/dist/chunks/cli-0.6.5-1bz46ywp.mjs +2 -0
- package/dist/chunks/cli-0.6.5-1fqhk4mv.mjs +9 -0
- package/dist/chunks/cli-0.6.5-1k5wyv3x.mjs +2 -0
- package/dist/chunks/cli-0.6.5-1m46f13z.mjs +2 -0
- package/dist/chunks/cli-0.6.5-1r4j3nda.mjs +58 -0
- package/dist/chunks/cli-0.6.5-2dq7pa8p.mjs +34 -0
- package/dist/chunks/cli-0.6.5-2s673b9m.mjs +2 -0
- package/dist/chunks/cli-0.6.5-38gqwg2m.mjs +2 -0
- package/dist/chunks/cli-0.6.5-3hemanw8.mjs +15 -0
- package/dist/chunks/cli-0.6.5-3p5vg2yx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-3ybp7ww7.mjs +6 -0
- package/dist/chunks/cli-0.6.5-406dcpxw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-41tc50h9.mjs +2 -0
- package/dist/chunks/cli-0.6.5-477kp2fg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-47s6s6ew.mjs +2 -0
- package/dist/chunks/cli-0.6.5-4k3kk3pr.mjs +17 -0
- package/dist/chunks/cli-0.6.5-4whh4m3h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-54w728vm.mjs +2 -0
- package/dist/chunks/cli-0.6.5-57jmtd2z.mjs +2 -0
- package/dist/chunks/cli-0.6.5-58ck75qn.mjs +2 -0
- package/dist/chunks/cli-0.6.5-5py2stcw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-5rpfanmw.mjs +3 -0
- package/dist/chunks/cli-0.6.5-5t6d3asz.mjs +5347 -0
- package/dist/chunks/cli-0.6.5-5wr197ms.mjs +25 -0
- package/dist/chunks/cli-0.6.5-5ymbb1v4.mjs +2 -0
- package/dist/chunks/cli-0.6.5-60hfev34.mjs +2 -0
- package/dist/chunks/cli-0.6.5-61tnv5c7.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6829jyhh.mjs +9 -0
- package/dist/chunks/cli-0.6.5-69f24h9w.mjs +8 -0
- package/dist/chunks/cli-0.6.5-6ab8b50h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6e6pv00e.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6ev1k0qv.mjs +133 -0
- package/dist/chunks/cli-0.6.5-6q2d7p49.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6qvtcs5y.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6wpz6mks.mjs +2 -0
- package/dist/chunks/cli-0.6.5-6x91apzw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-72v6gjqf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-7am1hb1v.mjs +2 -0
- package/dist/chunks/cli-0.6.5-7tzhpeyn.mjs +2 -0
- package/dist/chunks/cli-0.6.5-7vnp5x55.mjs +15 -0
- package/dist/chunks/cli-0.6.5-81fzcvec.mjs +4 -0
- package/dist/chunks/cli-0.6.5-87qz97g2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-8hsxq1p3.mjs +2 -0
- package/dist/chunks/cli-0.6.5-8zsy7h21.mjs +2 -0
- package/dist/chunks/cli-0.6.5-95a4872h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-983fq4aj.mjs +7 -0
- package/dist/chunks/cli-0.6.5-987r1x1q.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9cs6r2j7.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9d9gmzev.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9g1pn7jy.mjs +2 -0
- package/dist/chunks/cli-0.6.5-9g7p6wdj.mjs +5 -0
- package/dist/chunks/cli-0.6.5-9hp0d08c.mjs +2 -0
- package/dist/chunks/cli-0.6.5-a0ke5n08.mjs +2 -0
- package/dist/chunks/cli-0.6.5-a1csk51d.mjs +3 -0
- package/dist/chunks/cli-0.6.5-a23zsgke.mjs +3 -0
- package/dist/chunks/cli-0.6.5-a8za8sjg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-akw85jbw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-amtt1tbm.mjs +39 -0
- package/dist/chunks/cli-0.6.5-awhfeefv.mjs +5 -0
- package/dist/chunks/cli-0.6.5-azwzatpd.mjs +20 -0
- package/dist/chunks/cli-0.6.5-b7x38zg8.mjs +2 -0
- package/dist/chunks/cli-0.6.5-bm7v9qp0.mjs +2 -0
- package/dist/chunks/cli-0.6.5-brk2sfdw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-bzz83kdv.mjs +2 -0
- package/dist/chunks/cli-0.6.5-c0nyamvd.mjs +17 -0
- package/dist/chunks/cli-0.6.5-c4v4vgw4.mjs +2 -0
- package/dist/chunks/cli-0.6.5-c7yx03g7.mjs +16 -0
- package/dist/chunks/cli-0.6.5-ce51qb6k.mjs +4 -0
- package/dist/chunks/cli-0.6.5-ckc9hr8m.mjs +2 -0
- package/dist/chunks/cli-0.6.5-cwaewkgb.mjs +2 -0
- package/dist/chunks/cli-0.6.5-czc9nvxh.mjs +133 -0
- package/dist/chunks/cli-0.6.5-d7nvtk63.mjs +2 -0
- package/dist/chunks/cli-0.6.5-dcr7rpqe.mjs +2 -0
- package/dist/chunks/cli-0.6.5-dm2rwpsb.mjs +2 -0
- package/dist/chunks/cli-0.6.5-dy5v4gms.mjs +3 -0
- package/dist/chunks/cli-0.6.5-e47bwdgy.mjs +2 -0
- package/dist/chunks/cli-0.6.5-e5pzxdbx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-e7k35s7j.mjs +2 -0
- package/dist/chunks/cli-0.6.5-e9t7harq.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ef17hb7w.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ef6b5qvc.mjs +193 -0
- package/dist/chunks/cli-0.6.5-efh1xzne.mjs +24 -0
- package/dist/chunks/cli-0.6.5-efsxkpxr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ej3jf59h.mjs +2 -0
- package/dist/chunks/cli-0.6.5-env00jtm.mjs +1 -0
- package/dist/chunks/cli-0.6.5-eq4cscgw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-eqk6q7pf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ev41fmky.mjs +2 -0
- package/dist/chunks/cli-0.6.5-f34ttkbg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-f4x1fb90.mjs +4 -0
- package/dist/chunks/cli-0.6.5-f71ncwzk.mjs +59 -0
- package/dist/chunks/cli-0.6.5-fg2a16s4.mjs +2 -0
- package/dist/chunks/cli-0.6.5-g43wnabd.mjs +2 -0
- package/dist/chunks/cli-0.6.5-g7d8vsb2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-g8qt9gm7.mjs +2 -0
- package/dist/chunks/cli-0.6.5-gjzdpmdx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-gk89f6jk.mjs +4 -0
- package/dist/chunks/cli-0.6.5-gw6ygdnq.mjs +3 -0
- package/dist/chunks/cli-0.6.5-h08jc3cj.mjs +18 -0
- package/dist/chunks/cli-0.6.5-h0xnjwg1.mjs +2 -0
- package/dist/chunks/cli-0.6.5-h3cch37f.mjs +2 -0
- package/dist/chunks/cli-0.6.5-h5x9r5ap.mjs +50 -0
- package/dist/chunks/cli-0.6.5-j45setk1.mjs +2 -0
- package/dist/chunks/cli-0.6.5-j5v5jpq8.mjs +2 -0
- package/dist/chunks/cli-0.6.5-je97ssab.mjs +2 -0
- package/dist/chunks/cli-0.6.5-jqbkgjhs.mjs +2 -0
- package/dist/chunks/cli-0.6.5-jrnx4znh.mjs +2 -0
- package/dist/chunks/cli-0.6.5-jygg6ynx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k15yzap9.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k74repdw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k8vb0qqx.mjs +2 -0
- package/dist/chunks/cli-0.6.5-k8vgyecf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kac7d6qe.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kd1sw5qm.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ke48d24y.mjs +2 -0
- package/dist/chunks/cli-0.6.5-khsn0wkk.mjs +21 -0
- package/dist/chunks/cli-0.6.5-kjntnfas.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kqhpzqdw.mjs +67 -0
- package/dist/chunks/cli-0.6.5-kr0q8v74.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kxwg80ye.mjs +42 -0
- package/dist/chunks/cli-0.6.5-kyp268ew.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kzr5p1mv.mjs +2 -0
- package/dist/chunks/cli-0.6.5-kztnt6aq.mjs +2 -0
- package/dist/chunks/cli-0.6.5-m2619f84.mjs +2 -0
- package/dist/chunks/cli-0.6.5-mgv2cvps.mjs +45 -0
- package/dist/chunks/cli-0.6.5-mpdvzrnw.mjs +2 -0
- package/dist/chunks/cli-0.6.5-mtx91sgr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-n4hnag3x.mjs +2 -0
- package/dist/chunks/cli-0.6.5-n64fe6ey.mjs +2 -0
- package/dist/chunks/cli-0.6.5-nd6kqcck.mjs +2 -0
- package/dist/chunks/cli-0.6.5-nngqh0bh.mjs +2 -0
- package/dist/chunks/cli-0.6.5-p6n42hmh.mjs +4 -0
- package/dist/chunks/cli-0.6.5-pa3ap7rs.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pbahk0n4.mjs +12 -0
- package/dist/chunks/cli-0.6.5-pbyhms5s.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pev4540w.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pgs0eeqg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pky7r4pf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pv1b8wyy.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pw1077hd.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pynms6t8.mjs +2 -0
- package/dist/chunks/cli-0.6.5-pz5add8h.mjs +4 -0
- package/dist/chunks/cli-0.6.5-q027r0rf.mjs +2 -0
- package/dist/chunks/cli-0.6.5-q1qpax7b.mjs +2 -0
- package/dist/chunks/cli-0.6.5-q2z0n0me.mjs +2 -0
- package/dist/chunks/cli-0.6.5-q4gh8d4w.mjs +6 -0
- package/dist/chunks/cli-0.6.5-q67zwknt.mjs +4 -0
- package/dist/chunks/cli-0.6.5-qhq9tmd4.mjs +24 -0
- package/dist/chunks/cli-0.6.5-qx67z0cv.mjs +2 -0
- package/dist/chunks/cli-0.6.5-r06ahe39.mjs +3 -0
- package/dist/chunks/cli-0.6.5-r2khv6re.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ras9cma3.mjs +2 -0
- package/dist/chunks/cli-0.6.5-rkjw25m5.mjs +2 -0
- package/dist/chunks/cli-0.6.5-rrteyxna.mjs +5 -0
- package/dist/chunks/cli-0.6.5-rsve86mh.mjs +12 -0
- package/dist/chunks/cli-0.6.5-rvnz8f4b.mjs +3 -0
- package/dist/chunks/cli-0.6.5-ry2zfh45.mjs +2 -0
- package/dist/chunks/cli-0.6.5-s1ahtmc1.mjs +2 -0
- package/dist/chunks/cli-0.6.5-s42kf4d5.mjs +2 -0
- package/dist/chunks/cli-0.6.5-s580r0vs.mjs +2 -0
- package/dist/chunks/cli-0.6.5-sph3w6xt.mjs +2 -0
- package/dist/chunks/cli-0.6.5-svr5tx29.mjs +2 -0
- package/dist/chunks/cli-0.6.5-sz8mbg6v.mjs +2 -0
- package/dist/chunks/cli-0.6.5-t0x65qv4.mjs +26 -0
- package/dist/chunks/cli-0.6.5-t4tz7xht.mjs +18 -0
- package/dist/chunks/cli-0.6.5-th48yhz2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-thfwpyjp.mjs +2 -0
- package/dist/chunks/cli-0.6.5-tj3hcx9x.mjs +2 -0
- package/dist/chunks/cli-0.6.5-tqwbfn5c.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ts0kvt5k.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vbw9z7ya.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vj647gqr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vjydf7v2.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vn8pa80z.mjs +3 -0
- package/dist/chunks/cli-0.6.5-vpebat6v.mjs +4 -0
- package/dist/chunks/cli-0.6.5-vqb4jtcr.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vsmwyh7p.mjs +2 -0
- package/dist/chunks/cli-0.6.5-vywqm5j0.mjs +2 -0
- package/dist/chunks/cli-0.6.5-w2qf3sbz.mjs +2 -0
- package/dist/chunks/cli-0.6.5-wa6b2ksg.mjs +2 -0
- package/dist/chunks/cli-0.6.5-wgdp3ytt.mjs +15 -0
- package/dist/chunks/cli-0.6.5-xbz59an6.mjs +2 -0
- package/dist/chunks/cli-0.6.5-xngsek99.mjs +3 -0
- package/dist/chunks/cli-0.6.5-xwvfjaga.mjs +2 -0
- package/dist/chunks/cli-0.6.5-xxnhfq1f.mjs +3 -0
- package/dist/chunks/cli-0.6.5-xxtrec34.mjs +2 -0
- package/dist/chunks/cli-0.6.5-y4kbaj8m.mjs +3 -0
- package/dist/chunks/cli-0.6.5-ybxktrwn.mjs +4 -0
- package/dist/chunks/cli-0.6.5-ynxewk0a.mjs +18 -0
- package/dist/chunks/cli-0.6.5-yv4805v6.mjs +2 -0
- package/dist/chunks/cli-0.6.5-ywh9eaz9.mjs +3 -0
- package/dist/chunks/cli-0.6.5-yy3mtt7p.mjs +4 -0
- package/dist/chunks/cli-0.6.5-z5qqy4bb.mjs +10 -0
- package/dist/chunks/cli-0.6.5-z64827fd.mjs +2 -0
- package/dist/chunks/cli-0.6.5-zxppzj42.mjs +3 -0
- package/dist/chunks/client-0.6.5-kcsx56gb.mjs +1 -0
- package/dist/chunks/color-0.6.5-m4adc5zy.mjs +1 -0
- package/dist/chunks/compact-0.6.5-pp3jftxy.mjs +3 -0
- package/dist/chunks/config-0.6.5-4t1bbgpf.mjs +1 -0
- package/dist/chunks/config-0.6.5-8j3ajra5.mjs +1 -0
- package/dist/chunks/constants-0.6.5-z1rfnbw0.mjs +1 -0
- package/dist/chunks/context-0.6.5-k4dkxskt.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.5-t2s33qfv.mjs +1 -0
- package/dist/chunks/conversation-0.6.5-wtjv42fh.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.5-t5d64yyd.mjs +1 -0
- package/dist/chunks/copy-0.6.5-r2cah677.mjs +9 -0
- package/dist/chunks/cost-0.6.5-8bs4d6y0.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.5-7p69k83d.mjs +1 -0
- package/dist/chunks/createSession-0.6.5-fwtmdngf.mjs +1 -0
- package/dist/chunks/debug-0.6.5-xmxftwgk.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.5-z6w9jmje.mjs +1367 -0
- package/dist/chunks/desktop-0.6.5-fargeve3.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.5-ymk4cd49.mjs +1 -0
- package/dist/chunks/detection-0.6.5-9v4p8jdz.mjs +1 -0
- package/dist/chunks/diff-0.6.5-8ja76cbj.mjs +1 -0
- package/dist/chunks/doctor-0.6.5-j9ztya6c.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.5-4rk9v7gn.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.5-jnt6pqdj.mjs +1 -0
- package/dist/chunks/effort-0.6.5-wn6gayah.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.6.5-eptez4tg.mjs +1 -0
- package/dist/chunks/envUtils-0.6.5-62qkktte.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.5-zdqp06ex.mjs +1 -0
- package/dist/chunks/environments-0.6.5-4cxm9f2v.mjs +1 -0
- package/dist/chunks/errors-0.6.5-zrzdygzb.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.5-c4p6gs14.mjs +1 -0
- package/dist/chunks/exit-0.6.5-491d2dm3.mjs +1 -0
- package/dist/chunks/export-0.6.5-ydgbaqvw.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.5-qc1chr9f.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.5-g2ratb24.mjs +1 -0
- package/dist/chunks/fast-0.6.5-19egbvsn.mjs +1 -0
- package/dist/chunks/feedback-0.6.5-r15hzy5x.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.5-h0wam92d.mjs +1 -0
- package/dist/chunks/git-0.6.5-kd4a5hgs.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.5-ahxqf63c.mjs +1 -0
- package/dist/chunks/goal-0.6.5-kyahd6wn.mjs +4 -0
- package/dist/chunks/grove-0.6.5-qjgh7ss3.mjs +1 -0
- package/dist/chunks/growthbook-0.6.5-ax1nfvk4.mjs +1 -0
- package/dist/chunks/headless-0.6.5-4pg9fsvq.mjs +2 -0
- package/dist/chunks/heapdump-0.6.5-9k0vppqs.mjs +6 -0
- package/dist/chunks/help-0.6.5-tfhm2beq.mjs +1 -0
- package/dist/chunks/hookChains-0.6.5-6szjehhz.mjs +3 -0
- package/dist/chunks/hooks-0.6.5-dgpkkjn0.mjs +79 -0
- package/dist/chunks/hooks-0.6.5-w5dctm3q.mjs +1 -0
- package/dist/chunks/ide-0.6.5-13et7be7.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.5-hnw96fqh.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.6.5-qc951hng.mjs +1 -0
- package/dist/chunks/index-0.6.5-01x1ejhn.mjs +1 -0
- package/dist/chunks/index-0.6.5-0abf9jmk.mjs +1 -0
- package/dist/chunks/index-0.6.5-1mp331dd.mjs +1 -0
- package/dist/chunks/index-0.6.5-1sg6s6z6.mjs +1 -0
- package/dist/chunks/index-0.6.5-4q6jjbs7.mjs +1 -0
- package/dist/chunks/index-0.6.5-6sk15ws5.mjs +2 -0
- package/dist/chunks/index-0.6.5-6t864t2c.mjs +1 -0
- package/dist/chunks/index-0.6.5-6xqpvv54.mjs +30 -0
- package/dist/chunks/index-0.6.5-7zhnqzn2.mjs +1 -0
- package/dist/chunks/index-0.6.5-89hxhv95.mjs +1 -0
- package/dist/chunks/index-0.6.5-aty810n8.mjs +1 -0
- package/dist/chunks/index-0.6.5-c2hwywv3.mjs +1 -0
- package/dist/chunks/index-0.6.5-e2wq7gh6.mjs +2 -0
- package/dist/chunks/index-0.6.5-g0kwgaqr.mjs +17 -0
- package/dist/chunks/index-0.6.5-gtcspa71.mjs +1 -0
- package/dist/chunks/index-0.6.5-h3efeppv.mjs +1 -0
- package/dist/chunks/index-0.6.5-m5ejvtqa.mjs +1 -0
- package/dist/chunks/index-0.6.5-mh7r1b3g.mjs +1 -0
- package/dist/chunks/index-0.6.5-pvve2ng4.mjs +5 -0
- package/dist/chunks/index-0.6.5-snpzxxv3.mjs +9 -0
- package/dist/chunks/index-0.6.5-tfw7v414.mjs +9 -0
- package/dist/chunks/index-0.6.5-wjkwk8e7.mjs +1 -0
- package/dist/chunks/index-0.6.5-z62wqvcx.mjs +1 -0
- package/dist/chunks/init-0.6.5-zhc6fyd5.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.5-7r1y5662.mjs +1 -0
- package/dist/chunks/ink-0.6.5-tndp68zg.mjs +1 -0
- package/dist/chunks/insights-0.6.5-vqzkktqr.mjs +870 -0
- package/dist/chunks/install-0.6.5-5gr23h3m.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.5-tng076rr.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.5-gsz9yrym.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.5-nqsng4g6.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.5-k1pvqxme.mjs +1 -0
- package/dist/chunks/keybindings-0.6.5-xerpw7ac.mjs +2 -0
- package/dist/chunks/knowledge-0.6.5-3cqswtp3.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.5-mvrgq9dd.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.5-h16ggtfs.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.5-35e6kcw6.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.5-qm874zd2.mjs +1 -0
- package/dist/chunks/log-0.6.5-xge4vs13.mjs +1 -0
- package/dist/chunks/main-0.6.5-4pf8xcyc.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.5-qbgyznrt.mjs +1 -0
- package/dist/chunks/mcp-0.6.5-293k7n7h.mjs +4 -0
- package/dist/chunks/mcp-0.6.5-45d2qxwd.mjs +17 -0
- package/dist/chunks/mcp-0.6.5-b5jvd286.mjs +1 -0
- package/dist/chunks/mcpb-0.6.5-e68tqw35.mjs +1 -0
- package/dist/chunks/memory-0.6.5-9htftc81.mjs +3 -0
- package/dist/chunks/model-0.6.5-rpyjsh6m.mjs +1 -0
- package/dist/chunks/model-0.6.5-zsk9vwg7.mjs +2 -0
- package/dist/chunks/node-0.6.5-j42ec4dm.mjs +12 -0
- package/dist/chunks/oauth-0.6.5-d8r75abq.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.5-deev7qr4.mjs +14 -0
- package/dist/chunks/output-style-0.6.5-t4my27zb.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.5-a34phgmb.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.5-3rw1krw2.mjs +1 -0
- package/dist/chunks/parser-0.6.5-hnbj9e8f.mjs +1 -0
- package/dist/chunks/passes-0.6.5-9x43pms7.mjs +1 -0
- package/dist/chunks/permissions-0.6.5-aymv501j.mjs +1 -0
- package/dist/chunks/permissions-0.6.5-y4jnw514.mjs +3 -0
- package/dist/chunks/plan-0.6.5-kct7xqkt.mjs +1 -0
- package/dist/chunks/plist-0.6.5-gp660say.mjs +1 -0
- package/dist/chunks/plugin-0.6.5-5vnph48t.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.5-y74n8rfx.mjs +1 -0
- package/dist/chunks/plugins-0.6.5-y0xna858.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.5-gd8pge33.mjs +2 -0
- package/dist/chunks/print-0.6.5-zr884wv0.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.5-gm8tkeqk.mjs +1 -0
- package/dist/chunks/process-0.6.5-ha5587zb.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.5-qpanbrjt.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.5-0zzej132.mjs +9 -0
- package/dist/chunks/prompt-0.6.5-n2e16857.mjs +1 -0
- package/dist/chunks/prompt-0.6.5-yd9wwvye.mjs +1 -0
- package/dist/chunks/prompts-0.6.5-4h181zjj.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.5-btkqsev6.mjs +13 -0
- package/dist/chunks/provider-0.6.5-pk6rtf1a.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.5-spn4hk2w.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.5-j9fqm33r.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.5-n0s4jxw7.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.5-s6pemg0a.mjs +34 -0
- package/dist/chunks/registry-0.6.5-q9cda2p7.mjs +1 -0
- package/dist/chunks/release-notes-0.6.5-5s8sv8ea.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.5-bqh5fz13.mjs +2 -0
- package/dist/chunks/remote-env-0.6.5-29f08tqs.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.5-gk9afz22.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.5-w7r3dh6h.mjs +1 -0
- package/dist/chunks/rename-0.6.5-es4wyt7z.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.5-66va2rkv.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.5-xzbbew8q.mjs +1 -0
- package/dist/chunks/resume-0.6.5-q2e001ra.mjs +2 -0
- package/dist/chunks/rewind-0.6.5-hhxvb1pk.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.5-smyb5d6s.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.5-6zvjjrgg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.5-ch59ryyz.mjs +1 -0
- package/dist/chunks/session-0.6.5-22r80wyd.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.5-aae5t467.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.5-a6xg367a.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.5-dqg82tdb.mjs +1 -0
- package/dist/chunks/settings-0.6.5-egjxpxrx.mjs +1 -0
- package/dist/chunks/setup-0.6.5-ks0cjhc0.mjs +5 -0
- package/dist/chunks/sinks-0.6.5-vnqdp1xs.mjs +1 -0
- package/dist/chunks/skills-0.6.5-fhq4v7kx.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.5-qg0j96r8.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.5-kgegmr3s.mjs +1 -0
- package/dist/chunks/state-0.6.5-s7hqk377.mjs +1 -0
- package/dist/chunks/stats-0.6.5-1c35kfn8.mjs +6 -0
- package/dist/chunks/status-0.6.5-wxfn3y7k.mjs +1 -0
- package/dist/chunks/stickers-0.6.5-vr2yr1fh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.5-p4nz5egm.mjs +1 -0
- package/dist/chunks/tasks-0.6.5-jq5x8fny.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.5-s5tew7t1.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.5-0yh7b47q.mjs +1 -0
- package/dist/chunks/teleport-0.6.5-hmv7mh01.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.5-k9d4e82r.mjs +1 -0
- package/dist/chunks/theme-0.6.5-24hr0s0e.mjs +1 -0
- package/dist/chunks/thinkback-0.6.5-6997cmgj.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.5-5bm6dv3e.mjs +1 -0
- package/dist/chunks/toolPool-0.6.5-599y15ba.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.5-acm72rsk.mjs +1 -0
- package/dist/chunks/tools-0.6.5-kydccz7r.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.5-44vjv9at.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.5-s2n7faa4.mjs +69 -0
- package/dist/chunks/types-0.6.5-h60ghfcx.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.6.5-vhpd8cxc.mjs +4 -0
- package/dist/chunks/update-0.6.5-j61jnpbt.mjs +86 -0
- package/dist/chunks/upgrade-0.6.5-yg323wxz.mjs +1 -0
- package/dist/chunks/upload-0.6.5-5tsm3bt7.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.6.5-0ayrwt4t.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.5-6sb73p95.mjs +1 -0
- package/dist/chunks/usage-0.6.5-0tjr5c54.mjs +1 -0
- package/dist/chunks/util-0.6.5-xcfvn255.mjs +1 -0
- package/dist/chunks/utils-0.6.5-gjqewwe3.mjs +1 -0
- package/dist/chunks/vim-0.6.5-hmp35ayy.mjs +1 -0
- package/dist/chunks/watcher-0.6.5-jra6eh4m.mjs +1 -0
- package/dist/chunks/wiki-0.6.5-0k1cftcn.mjs +132 -0
- package/dist/chunks/worktree-0.6.5-a5vvycs0.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.5-rva8222w.mjs +1 -0
- package/dist/chunks/wrapper-0.6.5-0bxnwc77.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.3-w39w1tm9.mjs +0 -1
- package/dist/chunks/App-0.6.3-bf23q7fe.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.3-kmctgnz2.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.3-0ep3n5s0.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.3-vxra859t.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.3-kk7w26bg.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.3-xvx07sv4.mjs +0 -3
- package/dist/chunks/Doctor-0.6.3-4jwxgrk8.mjs +0 -1
- package/dist/chunks/Grove-0.6.3-g8cwnttq.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.3-jdkqh9bh.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.3-0k9mawc3.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.3-j8rff6m8.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.3-car6y4n7.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.3-m7danhhz.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.3-pwe3440b.mjs +0 -1
- package/dist/chunks/REPL-0.6.3-fgapj6pt.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.3-8m1y0n85.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.3-btb0czta.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.3-0cvtw4gc.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.3-3ns6hahg.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.3-82jmwxw0.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.3-ampabjvv.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.3-8nqsgt07.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.3-vd2hj09s.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.3-b2vqxf8h.mjs +0 -1
- package/dist/chunks/add-dir-0.6.3-g1q6rzd5.mjs +0 -1
- package/dist/chunks/agents-0.6.3-q5xaz38q.mjs +0 -3
- package/dist/chunks/agents-0.6.3-x369fczx.mjs +0 -110
- package/dist/chunks/api-0.6.3-c8cpd5e4.mjs +0 -1
- package/dist/chunks/asciicast-0.6.3-ph0g3j31.mjs +0 -1
- package/dist/chunks/assistant-0.6.3-zzx692bw.mjs +0 -1
- package/dist/chunks/auth-0.6.3-4t0t2nkn.mjs +0 -1
- package/dist/chunks/auth-0.6.3-s9a1xnxb.mjs +0 -1
- package/dist/chunks/autoMode-0.6.3-aha41tt9.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.3-nknpfabv.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.3-t18m5mxn.mjs +0 -1
- package/dist/chunks/branch-0.6.3-mm6nsq5m.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.3-96b73p4h.mjs +0 -1
- package/dist/chunks/btw-0.6.3-3ad5s4cs.mjs +0 -1
- package/dist/chunks/buddy-0.6.3-fv2jmxew.mjs +0 -3
- package/dist/chunks/cacache-0.6.3-8n06prq8.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.3-vwte845g.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.3-3knz38ev.mjs +0 -4
- package/dist/chunks/caches-0.6.3-ab262f7m.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.3-sw2jgmfw.mjs +0 -1
- package/dist/chunks/claudemd-0.6.3-ppznmrv5.mjs +0 -1
- package/dist/chunks/clear-0.6.3-q5ygewg2.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.3-k13xzp29.mjs +0 -1
- package/dist/chunks/cli-0.6.3-0cpgmzyt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-0d5cxdkq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-0f2ybbnq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-0xzsm005.mjs +0 -2
- package/dist/chunks/cli-0.6.3-1h3a97cb.mjs +0 -2
- package/dist/chunks/cli-0.6.3-1hr1gfgx.mjs +0 -2
- package/dist/chunks/cli-0.6.3-20mtfrec.mjs +0 -2
- package/dist/chunks/cli-0.6.3-29t031py.mjs +0 -2
- package/dist/chunks/cli-0.6.3-2seqm104.mjs +0 -4
- package/dist/chunks/cli-0.6.3-2znr1dn6.mjs +0 -2
- package/dist/chunks/cli-0.6.3-307m09be.mjs +0 -3
- package/dist/chunks/cli-0.6.3-32ma4ryx.mjs +0 -58
- package/dist/chunks/cli-0.6.3-3k3fr10v.mjs +0 -2
- package/dist/chunks/cli-0.6.3-3sga01kt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-40mx2zxs.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4jyjt985.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4k4zf43b.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4n393st8.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4tqk3dby.mjs +0 -12
- package/dist/chunks/cli-0.6.3-4y6pfyfp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4z9781g7.mjs +0 -2
- package/dist/chunks/cli-0.6.3-4zj0d42m.mjs +0 -18
- package/dist/chunks/cli-0.6.3-5nfphar2.mjs +0 -3
- package/dist/chunks/cli-0.6.3-5pxyd9b0.mjs +0 -4
- package/dist/chunks/cli-0.6.3-5rwq19xb.mjs +0 -2
- package/dist/chunks/cli-0.6.3-5t2m3g99.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6a21y020.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6ax8m5hv.mjs +0 -6
- package/dist/chunks/cli-0.6.3-6cgyr2zy.mjs +0 -4
- package/dist/chunks/cli-0.6.3-6cvpnccg.mjs +0 -4
- package/dist/chunks/cli-0.6.3-6ee9dyyg.mjs +0 -3
- package/dist/chunks/cli-0.6.3-6h30fzt5.mjs +0 -17
- package/dist/chunks/cli-0.6.3-6n6gtkcy.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6njpepxe.mjs +0 -2
- package/dist/chunks/cli-0.6.3-6yfw5hn3.mjs +0 -2
- package/dist/chunks/cli-0.6.3-7adzjn5q.mjs +0 -34
- package/dist/chunks/cli-0.6.3-7g460zkw.mjs +0 -2
- package/dist/chunks/cli-0.6.3-7qg9g8tc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-81rrwwcp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8cn32ma4.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8dsgn7hp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8ea1a14z.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8ggghhkx.mjs +0 -2
- package/dist/chunks/cli-0.6.3-8qad2cfe.mjs +0 -3
- package/dist/chunks/cli-0.6.3-8syjpqfr.mjs +0 -4
- package/dist/chunks/cli-0.6.3-92dx7xfh.mjs +0 -2
- package/dist/chunks/cli-0.6.3-92mddczk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-94pqfzn3.mjs +0 -2
- package/dist/chunks/cli-0.6.3-97118c51.mjs +0 -2
- package/dist/chunks/cli-0.6.3-99kq55gd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-99tcx5qw.mjs +0 -2
- package/dist/chunks/cli-0.6.3-9swe2gr2.mjs +0 -45
- package/dist/chunks/cli-0.6.3-a9z41xw7.mjs +0 -2
- package/dist/chunks/cli-0.6.3-aa0b2a2r.mjs +0 -2
- package/dist/chunks/cli-0.6.3-aazxr34f.mjs +0 -2
- package/dist/chunks/cli-0.6.3-aexkp8kj.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ajqkhkc8.mjs +0 -3
- package/dist/chunks/cli-0.6.3-apnw4sqn.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ar7px1cs.mjs +0 -3
- package/dist/chunks/cli-0.6.3-aw337kkj.mjs +0 -3
- package/dist/chunks/cli-0.6.3-b773k4ts.mjs +0 -2
- package/dist/chunks/cli-0.6.3-b8vfg8at.mjs +0 -2
- package/dist/chunks/cli-0.6.3-bcqjyxwt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-be9988sa.mjs +0 -67
- package/dist/chunks/cli-0.6.3-bm4fb040.mjs +0 -2
- package/dist/chunks/cli-0.6.3-bv459f1w.mjs +0 -50
- package/dist/chunks/cli-0.6.3-cbyjhbhd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ce093xrt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-cfgaczs0.mjs +0 -9
- package/dist/chunks/cli-0.6.3-cn73stdt.mjs +0 -2
- package/dist/chunks/cli-0.6.3-cry1qz3j.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ct7rzynk.mjs +0 -25
- package/dist/chunks/cli-0.6.3-cz70v0dc.mjs +0 -193
- package/dist/chunks/cli-0.6.3-dcddpada.mjs +0 -2
- package/dist/chunks/cli-0.6.3-djx10r48.mjs +0 -2
- package/dist/chunks/cli-0.6.3-dv7ypjqm.mjs +0 -42
- package/dist/chunks/cli-0.6.3-dvsz6151.mjs +0 -26
- package/dist/chunks/cli-0.6.3-dx1n041e.mjs +0 -4
- package/dist/chunks/cli-0.6.3-e56v1kt5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ecnnpsad.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ee53b5tf.mjs +0 -2
- package/dist/chunks/cli-0.6.3-efydy6w2.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ejr47y1x.mjs +0 -2
- package/dist/chunks/cli-0.6.3-eqnnyg8r.mjs +0 -10
- package/dist/chunks/cli-0.6.3-es8pf0wd.mjs +0 -5
- package/dist/chunks/cli-0.6.3-eytmae68.mjs +0 -2
- package/dist/chunks/cli-0.6.3-f2hnrcvv.mjs +0 -2
- package/dist/chunks/cli-0.6.3-f6vwjwer.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fdr38m0k.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fdye25f4.mjs +0 -21
- package/dist/chunks/cli-0.6.3-fhets69t.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fws87r5f.mjs +0 -2
- package/dist/chunks/cli-0.6.3-fz79skca.mjs +0 -133
- package/dist/chunks/cli-0.6.3-g48fakzt.mjs +0 -4
- package/dist/chunks/cli-0.6.3-g4gt6qj9.mjs +0 -18
- package/dist/chunks/cli-0.6.3-g4y759q5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-g7nc10fr.mjs +0 -2
- package/dist/chunks/cli-0.6.3-g7yry9cm.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gcncppqh.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gm6gpvcp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gmb75jnx.mjs +0 -2
- package/dist/chunks/cli-0.6.3-grerfrmn.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gywe2011.mjs +0 -2
- package/dist/chunks/cli-0.6.3-gz3mwtfc.mjs +0 -15
- package/dist/chunks/cli-0.6.3-h1yy6vwa.mjs +0 -3
- package/dist/chunks/cli-0.6.3-h9dw5s07.mjs +0 -2
- package/dist/chunks/cli-0.6.3-h9pgh5g6.mjs +0 -3
- package/dist/chunks/cli-0.6.3-hccmsmnq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-hz8r1b9m.mjs +0 -2
- package/dist/chunks/cli-0.6.3-jc158pav.mjs +0 -3
- package/dist/chunks/cli-0.6.3-jh5sabys.mjs +0 -2
- package/dist/chunks/cli-0.6.3-jwkcjnvk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-k2n0q631.mjs +0 -39
- package/dist/chunks/cli-0.6.3-k5rdtkfr.mjs +0 -3
- package/dist/chunks/cli-0.6.3-kay5e0jz.mjs +0 -2
- package/dist/chunks/cli-0.6.3-kfn8srsd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-kwnp45kq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-kz9egvgw.mjs +0 -5323
- package/dist/chunks/cli-0.6.3-m74nx2m5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-mc6kp3j9.mjs +0 -18
- package/dist/chunks/cli-0.6.3-mcmskrq3.mjs +0 -7
- package/dist/chunks/cli-0.6.3-mwmvdr0y.mjs +0 -2
- package/dist/chunks/cli-0.6.3-mwvq805r.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n0nvqsep.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n2d97bhc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n3f5zh7x.mjs +0 -2
- package/dist/chunks/cli-0.6.3-n95caxs7.mjs +0 -6
- package/dist/chunks/cli-0.6.3-nawttnnp.mjs +0 -16
- package/dist/chunks/cli-0.6.3-ny9veqgk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-p3cb5wr9.mjs +0 -4
- package/dist/chunks/cli-0.6.3-p6tkk7cq.mjs +0 -2
- package/dist/chunks/cli-0.6.3-pj26ahpb.mjs +0 -15
- package/dist/chunks/cli-0.6.3-pqq8j8h2.mjs +0 -2
- package/dist/chunks/cli-0.6.3-przsjt5w.mjs +0 -2
- package/dist/chunks/cli-0.6.3-pt8n31ph.mjs +0 -2
- package/dist/chunks/cli-0.6.3-q35m6zsh.mjs +0 -2
- package/dist/chunks/cli-0.6.3-qh59pqrb.mjs +0 -2
- package/dist/chunks/cli-0.6.3-qj1bfrer.mjs +0 -15
- package/dist/chunks/cli-0.6.3-qse47680.mjs +0 -5
- package/dist/chunks/cli-0.6.3-qt063vx3.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r08n6yst.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r0chaj0m.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r0pavcpp.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r8snnnev.mjs +0 -2
- package/dist/chunks/cli-0.6.3-r9spk5d9.mjs +0 -2
- package/dist/chunks/cli-0.6.3-razq4hma.mjs +0 -2
- package/dist/chunks/cli-0.6.3-rbhgbyc8.mjs +0 -24
- package/dist/chunks/cli-0.6.3-rcd74wx6.mjs +0 -9
- package/dist/chunks/cli-0.6.3-rha5x3b1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-rm69szc5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-rxzhhezk.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ry8ff2h4.mjs +0 -4
- package/dist/chunks/cli-0.6.3-rz3jyy54.mjs +0 -133
- package/dist/chunks/cli-0.6.3-rzva33s6.mjs +0 -2
- package/dist/chunks/cli-0.6.3-s12drscf.mjs +0 -2
- package/dist/chunks/cli-0.6.3-sxj65pz4.mjs +0 -2
- package/dist/chunks/cli-0.6.3-syb9w8h5.mjs +0 -2
- package/dist/chunks/cli-0.6.3-sz0yt1ax.mjs +0 -59
- package/dist/chunks/cli-0.6.3-te71cc6c.mjs +0 -8
- package/dist/chunks/cli-0.6.3-tjykjtxh.mjs +0 -6
- package/dist/chunks/cli-0.6.3-v3fjzj8a.mjs +0 -12
- package/dist/chunks/cli-0.6.3-v522ej7z.mjs +0 -3
- package/dist/chunks/cli-0.6.3-vcpzn6r6.mjs +0 -2
- package/dist/chunks/cli-0.6.3-vdzjz0qm.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ve8f981m.mjs +0 -3
- package/dist/chunks/cli-0.6.3-vp1zy3b1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-vsvcyfnd.mjs +0 -17
- package/dist/chunks/cli-0.6.3-w038em13.mjs +0 -2
- package/dist/chunks/cli-0.6.3-w3rq9jx1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-wfrn6z2y.mjs +0 -24
- package/dist/chunks/cli-0.6.3-whtn6spz.mjs +0 -2
- package/dist/chunks/cli-0.6.3-wr2sys6k.mjs +0 -2
- package/dist/chunks/cli-0.6.3-wvdzc276.mjs +0 -1
- package/dist/chunks/cli-0.6.3-wwmrkyrs.mjs +0 -20
- package/dist/chunks/cli-0.6.3-wws3zqpm.mjs +0 -2
- package/dist/chunks/cli-0.6.3-x6f1pr27.mjs +0 -2
- package/dist/chunks/cli-0.6.3-x78bwn0g.mjs +0 -5
- package/dist/chunks/cli-0.6.3-xe5mxfxe.mjs +0 -2
- package/dist/chunks/cli-0.6.3-xewp168m.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y1aakb6y.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y1mm0v8x.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y30hptm0.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y61armem.mjs +0 -2
- package/dist/chunks/cli-0.6.3-y8ymw6ed.mjs +0 -2
- package/dist/chunks/cli-0.6.3-yk56wjb7.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ym6dcvjc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ymhjs7dc.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ysazbe18.mjs +0 -2
- package/dist/chunks/cli-0.6.3-ywk23cbf.mjs +0 -2
- package/dist/chunks/cli-0.6.3-z19b5v43.mjs +0 -2
- package/dist/chunks/cli-0.6.3-z6sz55zd.mjs +0 -2
- package/dist/chunks/cli-0.6.3-z8vc44s1.mjs +0 -2
- package/dist/chunks/cli-0.6.3-zd6bnvyc.mjs +0 -4
- package/dist/chunks/cli-0.6.3-zmn1fgaa.mjs +0 -2
- package/dist/chunks/cli-0.6.3-zqvgfprs.mjs +0 -2
- package/dist/chunks/cli-0.6.3-zy0jc7vm.mjs +0 -12
- package/dist/chunks/cli-0.6.3-zyrsvq59.mjs +0 -2
- package/dist/chunks/client-0.6.3-6pn9sb4n.mjs +0 -1
- package/dist/chunks/color-0.6.3-2hpfj774.mjs +0 -1
- package/dist/chunks/compact-0.6.3-dnwdmmz1.mjs +0 -3
- package/dist/chunks/config-0.6.3-tjhtvb07.mjs +0 -1
- package/dist/chunks/config-0.6.3-z2wgyz10.mjs +0 -1
- package/dist/chunks/constants-0.6.3-qha9fz15.mjs +0 -1
- package/dist/chunks/context-0.6.3-vka61j1y.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.3-eztt7zsf.mjs +0 -1
- package/dist/chunks/conversation-0.6.3-2ek3hdrq.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.3-62c0y07g.mjs +0 -1
- package/dist/chunks/copy-0.6.3-gekdww8z.mjs +0 -9
- package/dist/chunks/cost-0.6.3-a2yhjbn3.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.3-5tn04mse.mjs +0 -1
- package/dist/chunks/createSession-0.6.3-kyn5dc4w.mjs +0 -1
- package/dist/chunks/debug-0.6.3-66czfwwr.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.3-x9wk9j9m.mjs +0 -1365
- package/dist/chunks/desktop-0.6.3-p8kgbeab.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.3-8698wvb5.mjs +0 -1
- package/dist/chunks/detection-0.6.3-1y7661gd.mjs +0 -1
- package/dist/chunks/diff-0.6.3-mk0y1bzd.mjs +0 -1
- package/dist/chunks/doctor-0.6.3-xvwcr7dp.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.3-th9mec17.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.3-642zt7fp.mjs +0 -1
- package/dist/chunks/effort-0.6.3-zvkntxpn.mjs +0 -10
- package/dist/chunks/envUtils-0.6.3-yazqghf2.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.3-0bcr6rhg.mjs +0 -1
- package/dist/chunks/environments-0.6.3-2tyy264w.mjs +0 -1
- package/dist/chunks/errors-0.6.3-65brz247.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.3-ktqksq57.mjs +0 -1
- package/dist/chunks/exit-0.6.3-0ce6gh5m.mjs +0 -1
- package/dist/chunks/export-0.6.3-e2mjekav.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.3-hqp8h6yy.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.3-rfyx9kw2.mjs +0 -1
- package/dist/chunks/fast-0.6.3-1jg7ysjx.mjs +0 -1
- package/dist/chunks/feedback-0.6.3-1tb6qds2.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.3-c9kfz0k1.mjs +0 -1
- package/dist/chunks/git-0.6.3-vzgvhd0s.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.3-9qcrf80c.mjs +0 -1
- package/dist/chunks/goal-0.6.3-mf91z3fg.mjs +0 -4
- package/dist/chunks/grove-0.6.3-mmn276sp.mjs +0 -1
- package/dist/chunks/growthbook-0.6.3-4p9xew93.mjs +0 -1
- package/dist/chunks/headless-0.6.3-qgmxgj70.mjs +0 -2
- package/dist/chunks/heapdump-0.6.3-2w4fe2zs.mjs +0 -6
- package/dist/chunks/help-0.6.3-wf4xf793.mjs +0 -1
- package/dist/chunks/hookChains-0.6.3-q342m95f.mjs +0 -3
- package/dist/chunks/hooks-0.6.3-0r48akk8.mjs +0 -79
- package/dist/chunks/hooks-0.6.3-r14ya7wn.mjs +0 -1
- package/dist/chunks/ide-0.6.3-ad8afpp9.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.3-tva04ya1.mjs +0 -1
- package/dist/chunks/index-0.6.3-0hyrtrrm.mjs +0 -9
- package/dist/chunks/index-0.6.3-0vhzk5yx.mjs +0 -5
- package/dist/chunks/index-0.6.3-1ykp8wv0.mjs +0 -2
- package/dist/chunks/index-0.6.3-2bzz31fe.mjs +0 -1
- package/dist/chunks/index-0.6.3-55v75g6w.mjs +0 -1
- package/dist/chunks/index-0.6.3-6rpbscw7.mjs +0 -17
- package/dist/chunks/index-0.6.3-7mch7z3a.mjs +0 -1
- package/dist/chunks/index-0.6.3-858y11er.mjs +0 -1
- package/dist/chunks/index-0.6.3-a40sh9ap.mjs +0 -1
- package/dist/chunks/index-0.6.3-aj0c98mr.mjs +0 -1
- package/dist/chunks/index-0.6.3-b9fkqrrw.mjs +0 -1
- package/dist/chunks/index-0.6.3-f5732qxw.mjs +0 -1
- package/dist/chunks/index-0.6.3-f5w18za6.mjs +0 -1
- package/dist/chunks/index-0.6.3-f6h116cn.mjs +0 -2
- package/dist/chunks/index-0.6.3-htq5dpvs.mjs +0 -30
- package/dist/chunks/index-0.6.3-hv4mfh2n.mjs +0 -1
- package/dist/chunks/index-0.6.3-kadhv0zg.mjs +0 -9
- package/dist/chunks/index-0.6.3-tsd8ykv3.mjs +0 -1
- package/dist/chunks/index-0.6.3-w2hywyvr.mjs +0 -1
- package/dist/chunks/index-0.6.3-wk9kzbcz.mjs +0 -1
- package/dist/chunks/index-0.6.3-ygqhtfnf.mjs +0 -1
- package/dist/chunks/index-0.6.3-yvah3e6g.mjs +0 -1
- package/dist/chunks/init-0.6.3-xaeb8hxb.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.3-nmmr7v8v.mjs +0 -1
- package/dist/chunks/ink-0.6.3-6m2sw7dq.mjs +0 -1
- package/dist/chunks/insights-0.6.3-6b93b8nm.mjs +0 -870
- package/dist/chunks/install-0.6.3-y9zek66z.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.3-899pnvtd.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.3-f8saspck.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.3-defghs68.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.3-7ec0qnvv.mjs +0 -1
- package/dist/chunks/keybindings-0.6.3-eh7rjbha.mjs +0 -2
- package/dist/chunks/knowledge-0.6.3-a7pn2e1w.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.3-vf3mkz2d.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.3-ykqa9b2g.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.3-jxaehczd.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.3-mfka3vhj.mjs +0 -1
- package/dist/chunks/log-0.6.3-g789gq0t.mjs +0 -1
- package/dist/chunks/main-0.6.3-50ac806r.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.3-q5zxn368.mjs +0 -1
- package/dist/chunks/mcp-0.6.3-4x3akzq5.mjs +0 -4
- package/dist/chunks/mcp-0.6.3-e3me04x4.mjs +0 -17
- package/dist/chunks/mcp-0.6.3-z1ebxf4w.mjs +0 -1
- package/dist/chunks/mcpb-0.6.3-sh1jp60e.mjs +0 -1
- package/dist/chunks/memory-0.6.3-03636fpt.mjs +0 -3
- package/dist/chunks/mobile-0.6.3-xz0z3r1b.mjs +0 -2
- package/dist/chunks/model-0.6.3-s0ftwaqt.mjs +0 -1
- package/dist/chunks/model-0.6.3-yzwee2pm.mjs +0 -2
- package/dist/chunks/node-0.6.3-ne7h3hdm.mjs +0 -12
- package/dist/chunks/oauth-0.6.3-vxgkeqfx.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.3-4y4sanm3.mjs +0 -14
- package/dist/chunks/output-style-0.6.3-y1p13wj7.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.3-x4wa2xz2.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.3-her0fmnw.mjs +0 -1
- package/dist/chunks/parser-0.6.3-c46sjdq2.mjs +0 -1
- package/dist/chunks/passes-0.6.3-egz6jv5r.mjs +0 -1
- package/dist/chunks/permissions-0.6.3-8bgzzv8a.mjs +0 -3
- package/dist/chunks/plan-0.6.3-2fftma7h.mjs +0 -1
- package/dist/chunks/plist-0.6.3-h310zzhq.mjs +0 -1
- package/dist/chunks/plugin-0.6.3-5vjh0ct6.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.3-jqsmye9d.mjs +0 -1
- package/dist/chunks/plugins-0.6.3-feg1sfss.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.3-7zkaatsy.mjs +0 -2
- package/dist/chunks/print-0.6.3-q8j3mpqd.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.3-7td307c8.mjs +0 -1
- package/dist/chunks/process-0.6.3-xfesfn5r.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.3-jh7fc2p4.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.3-bf00222w.mjs +0 -9
- package/dist/chunks/prompt-0.6.3-2n702z0c.mjs +0 -1
- package/dist/chunks/prompt-0.6.3-61gvwdqd.mjs +0 -1
- package/dist/chunks/prompts-0.6.3-gctcm2tt.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.3-nkgq5zh2.mjs +0 -13
- package/dist/chunks/provider-0.6.3-dz35mvz8.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.3-sc68wn0p.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.3-tz2xs2w2.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.3-q18p5fyf.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.3-68qc2fq7.mjs +0 -34
- package/dist/chunks/registry-0.6.3-ftde6jbj.mjs +0 -1
- package/dist/chunks/release-notes-0.6.3-sape6p4t.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.3-1ww9raz4.mjs +0 -2
- package/dist/chunks/remote-env-0.6.3-3ck8cv8d.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.3-5s27069y.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.3-h9rgyr6h.mjs +0 -1
- package/dist/chunks/rename-0.6.3-f6d3tb9q.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.3-03kbs579.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.3-m72mhx4g.mjs +0 -1
- package/dist/chunks/resume-0.6.3-ddb3xb3e.mjs +0 -2
- package/dist/chunks/rewind-0.6.3-rr4jn9nq.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.3-z0z2w1ta.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.3-h9z3rn4v.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.3-1z9yck8k.mjs +0 -1
- package/dist/chunks/session-0.6.3-697bvb39.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.3-k3n13gqg.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.3-kgecz2s9.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.3-04ceqntr.mjs +0 -1
- package/dist/chunks/settings-0.6.3-1wnc9skg.mjs +0 -1
- package/dist/chunks/setup-0.6.3-7eq77dy4.mjs +0 -5
- package/dist/chunks/sinks-0.6.3-ph10xa21.mjs +0 -1
- package/dist/chunks/skills-0.6.3-sk53kf9f.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.3-mmnjxrje.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.3-0hwcpdc7.mjs +0 -1
- package/dist/chunks/state-0.6.3-e3zvped3.mjs +0 -1
- package/dist/chunks/stats-0.6.3-8wqbhpqy.mjs +0 -6
- package/dist/chunks/status-0.6.3-xjt0xtzy.mjs +0 -1
- package/dist/chunks/stickers-0.6.3-vs74c03z.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.3-5dg03vx3.mjs +0 -1
- package/dist/chunks/tasks-0.6.3-dxy60zkj.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.3-jqpd5tn3.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.3-fpdghs7t.mjs +0 -1
- package/dist/chunks/teleport-0.6.3-46bbcspy.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.3-ww94vcqs.mjs +0 -1
- package/dist/chunks/theme-0.6.3-kjdtgstr.mjs +0 -1
- package/dist/chunks/thinkback-0.6.3-1txnapj2.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.3-96tda7vb.mjs +0 -1
- package/dist/chunks/toolPool-0.6.3-0e12cvy1.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.3-d1pppx0c.mjs +0 -1
- package/dist/chunks/tools-0.6.3-w0rtmt3t.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.3-qap15xhb.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.3-9pgbeyf6.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.3-v4wvkr58.mjs +0 -4
- package/dist/chunks/update-0.6.3-6tah7v14.mjs +0 -86
- package/dist/chunks/upgrade-0.6.3-mtpg4ynr.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.3-fg6qwves.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.3-4zzkq08v.mjs +0 -1
- package/dist/chunks/usage-0.6.3-1b3cmsnk.mjs +0 -1
- package/dist/chunks/util-0.6.3-e72k34ck.mjs +0 -1
- package/dist/chunks/utils-0.6.3-ahkqyjmy.mjs +0 -1
- package/dist/chunks/vim-0.6.3-r0f9g732.mjs +0 -1
- package/dist/chunks/watcher-0.6.3-5xzd92av.mjs +0 -1
- package/dist/chunks/wiki-0.6.3-ytee2j21.mjs +0 -132
- package/dist/chunks/worktree-0.6.3-cmybg2s4.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.3-8k06dfjq.mjs +0 -1
- package/dist/chunks/wrapper-0.6.3-hct87zwr.mjs +0 -7
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$6 as ra,L6 as nt,M6 as hl,N6 as bl,O6 as ml,P6 as fn,Q6 as $c,R6 as fu,S6 as Al,T6 as ys,U6 as El,V6 as st,W6 as hs,X6 as k,Y6 as ur,Z6 as Qc,_6 as Bc,a7 as Xc,b7 as Yc,c7 as Zc,d7 as Jc,e7 as el,f7 as Hc,g7 as cr,h7 as Cc,i7 as Ts,j7 as gl}from"./cli-0.6.5-azwzatpd.mjs";import{k7 as ie}from"./cli-0.6.5-zxppzj42.mjs";import{apa as kc,bpa as Le}from"./cli-0.6.5-6829jyhh.mjs";import{dpa as Vc}from"./cli-0.6.5-q67zwknt.mjs";import{fpa as Fe,gpa as ve,jpa as De,kpa as ee}from"./cli-0.6.5-4k3kk3pr.mjs";import{npa as E,qpa as Bs}from"./cli-0.6.5-bm7v9qp0.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 K6};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{s as D}from"./cli-0.6.5-yv4805v6.mjs";import{C as x}from"./cli-0.6.5-69f24h9w.mjs";import{Pa as A}from"./cli-0.6.5-vpebat6v.mjs";import{Qa as L}from"./cli-0.6.5-pky7r4pf.mjs";import{Rn as k,Sn as U,TR as b,UR as u,Vn as F,Wn as p}from"./cli-0.6.5-5t6d3asz.mjs";import{ES as O,HS as c}from"./cli-0.6.5-e9t7harq.mjs";import{V5 as m,e2 as Y,j2 as I,n4 as w,o4 as M,o5 as E,p5 as G}from"./cli-0.6.5-c7yx03g7.mjs";import{iba as X,jba as B,qda as $,tda as z}from"./cli-0.6.5-ef6b5qvc.mjs";import{xfa as _,yfa as y}from"./cli-0.6.5-rkjw25m5.mjs";import{oha as K,rha as T}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as V,Pha as S}from"./cli-0.6.5-ce51qb6k.mjs";import{Vha as J,Xha as N,dia as v}from"./cli-0.6.5-s580r0vs.mjs";import{Aoa as W,Soa as j}from"./cli-0.6.5-ynxewk0a.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
+
export{Xq as q};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{oh as Vq,ph as fq}from"./cli-0.6.5-kztnt6aq.mjs";import{SV as Pq,TV as mq,fW as o,gW as pq,mW as Qq,oW as Uq,pW as Hq}from"./cli-0.6.5-6x91apzw.mjs";import{BY as M,DY as g,gX as Sq,gZ as Wq}from"./cli-0.6.5-f71ncwzk.mjs";import{m1 as Z,n1 as F,o1 as Jq}from"./cli-0.6.5-8hsxq1p3.mjs";import{p1 as _q}from"./cli-0.6.5-vqb4jtcr.mjs";import{Sda as s,Tda as jq}from"./cli-0.6.5-pz5add8h.mjs";import{lpa as Lq,ppa as wq}from"./cli-0.6.5-bm7v9qp0.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
+
export{lq as Sg,oq as Tg,sq as Ug,aq as Vg,Tq as Wg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hb as W,ib as z}from"./cli-0.6.5-983fq4aj.mjs";import{nb as R}from"./cli-0.6.5-0j7fzwkx.mjs";import{aU as M,bU as w}from"./cli-0.6.5-pw1077hd.mjs";import{oha as L,rha as j}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as Z,Pha as H}from"./cli-0.6.5-ce51qb6k.mjs";j();H();w();function I(B){return{write:(G)=>B.write(G),writeBatch:(G)=>B.writeBatch(G),close:()=>B.close(),isConnectedStatus:()=>B.isConnectedStatus(),getStateLabel:()=>B.getStateLabel(),setOnData:(G)=>B.setOnData(G),setOnClose:(G)=>B.setOnClose(G),setOnConnect:(G)=>B.setOnConnect(G),connect:()=>void B.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return B.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function k(B){let{sessionUrl:G,ingressToken:_,sessionId:$,initialSequenceNum:E,getAuthToken:N}=B,P;if(N)P=()=>{let x=N();if(!x)return{};return{Authorization:`Bearer ${x}`}};else M(_);let Q=B.epoch??await R(G,_);L(`[bridge:repl] CCR v2: worker sessionId=${$} epoch=${Q}${B.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(G);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let K=new z(V,{},$,void 0,E,P),X,J=new W(K,new URL(G),{getAuthHeaders:P,heartbeatIntervalMs:B.heartbeatIntervalMs,heartbeatJitterFraction:B.heartbeatJitterFraction,onEpochMismatch:()=>{L("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{J.close(),K.close(),X?.(4090)}catch(x){L(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${Z(x)}`,{level:"error"})}throw Error("epoch superseded")}});K.setOnEvent((x)=>{J.reportDelivery(x.event_id,"received"),J.reportDelivery(x.event_id,"processed")});let f,Y=!1,q=!1;return{write(x){return J.writeEvent(x)},async writeBatch(x){for(let O of x){if(q)break;await J.writeEvent(O)}},close(){q=!0,J.close(),K.close()},isConnectedStatus(){return Y},getStateLabel(){if(K.isClosedStatus())return"closed";if(K.isConnectedStatus())return Y?"connected":"init";return"connecting"},setOnData(x){K.setOnData(x)},setOnClose(x){X=x,K.setOnClose((O)=>{J.close(),x(O??4092)})},setOnConnect(x){f=x},getLastSequenceNum(){return K.getLastSequenceNum()},droppedBatchCount:0,reportState(x){J.reportState(x)},reportMetadata(x){J.reportMetadata(x)},reportDelivery(x,O){J.reportDelivery(x,O)},flush(){return J.flush()},connect(){if(!B.outboundOnly)K.connect();J.initialize(Q).then(()=>{Y=!0,L(`[bridge:repl] v2 transport ready for writes (epoch=${Q}, sse=${K.isConnectedStatus()?"open":"opening"})`),f?.()},(x)=>{L(`[bridge:repl] CCR v2 initialize failed: ${Z(x)}`,{level:"error"}),J.close(),K.close(),X?.(4091)})}}}class D{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...B){if(!this._active)return!1;return this._pending.push(...B),!0}drop(){this._active=!1;let B=this._pending.length;return this._pending.length=0,B}deactivate(){this._active=!1}}
|
|
2
|
+
export{I as cb,k as db,D as eb};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{gpa as V_,hpa as su,jpa as K_,kpa as f_}from"./cli-0.6.5-4k3kk3pr.mjs";import{npa as H,qpa as $_}from"./cli-0.6.5-bm7v9qp0.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
+
versions published after the first week of January 2027
|
|
3
|
+
will require node >=${E}. You are running node ${_}.
|
|
4
|
+
|
|
5
|
+
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
+
and security updates please upgrade to node >=${E}.
|
|
7
|
+
|
|
8
|
+
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
+
export{W_ as $oa,D_ as apa,yu as bpa,ou as cpa};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{Ra as b}from"./cli-0.6.5-pev4540w.mjs";import{Gf as zK,Lf as dK}from"./cli-0.6.5-r06ahe39.mjs";import{$l as bK,AN as FK,Fz as oz,HI as MK,Hz as sz,Iz as fK,JH as hK,KH as mK,Rv as Cz,SJ as tz,SR as j,TJ as pK,UR as uK,Yv as xK,Zl as rz,ao as M,bo as vK,do as iz,gK as ez,ho as SK,iK as cK,rN as Ez,zI as wz}from"./cli-0.6.5-5t6d3asz.mjs";import{QW as Kz,VW as AK,WW as Qz,XW as GK}from"./cli-0.6.5-f71ncwzk.mjs";import{B4 as jK,H5 as Tz,J5 as Mz,L5 as R,V3 as Uz,V5 as xz,W3 as lz,a4 as Dz,e2 as U,f4 as I,h4 as _z,j2 as O,m4 as k,x4 as nz}from"./cli-0.6.5-c7yx03g7.mjs";import{p6 as G,q6 as _K}from"./cli-0.6.5-3ybp7ww7.mjs";import{$9 as LK,Fba as gz,Fda as V,G7 as Zz,G8 as dz,H7 as RK,Jaa as q,Laa as H,Lba as $,N8 as EK,Naa as uz,Nda as A,O7 as T,Oaa as S,Oba as W,Paa as kz,Q7 as CK,Saa as Jz,Uba as Wz,Vba as Bz,W9 as t,Wba as az,Yaa as _,f_ as e,hca as L,j_ as UK,k8 as $z,m8 as TK,q8 as cz,q_ as zz,s_ as DK}from"./cli-0.6.5-ef6b5qvc.mjs";import{nea as E,sea as kK}from"./cli-0.6.5-pz5add8h.mjs";import{xfa as pz,yfa as PK}from"./cli-0.6.5-rkjw25m5.mjs";import{lga as Z,oga as N}from"./cli-0.6.5-6qvtcs5y.mjs";import{Wga as r,Yga as WK,Zga as i,aha as o,eha as BK}from"./cli-0.6.5-q4gh8d4w.mjs";import{wha as s,xha as NK}from"./cli-0.6.5-kd1sw5qm.mjs";import{Iha as y,Kha as n,Pha as VK}from"./cli-0.6.5-ce51qb6k.mjs";import{Uha as C,Vha as v,Xha as hz,bia as mz,dia as yK}from"./cli-0.6.5-s580r0vs.mjs";import{Aja as F,Eja as JK,Gna as w,Ila as fz,Pla as a,Uka as Iz,Vka as bz,Wka as Oz,Yka as vz,gma as l,wla as Sz}from"./cli-0.6.5-ckc9hr8m.mjs";import{mpa as wK}from"./cli-0.6.5-bm7v9qp0.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
|
|
2
|
+
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
|
|
3
|
+
`)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
|
|
4
|
+
`)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
|
|
5
|
+
`)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
+
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
+
`)}return K}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
|
|
8
|
+
export{ZQ as u,$Q as v,qQ as w,HQ as x,nX as y,rX as z,iX as A,oX as B,sX as C,tX as D,eX as E,zY as F,KY as G,QY as H};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ppa as V}from"./cli-0.6.5-bm7v9qp0.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
+
export{U0 as Hna,E0 as Ina,I0 as Jna,D0 as Kna,b as Lna,T as Mna,K as Nna,z as Ona,B as Pna,x as Qna,k as Rna,m as Sna,G as Tna,O as Una,y as Vna,l as Wna,o as Xna,i as Yna,D as Zna,R as _na,x0 as $na,O0 as aoa,M as boa,p0 as coa,j6 as doa,nq as eoa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lga as X,oga as z}from"./cli-0.6.5-6qvtcs5y.mjs";import{Tga as Z,Yga as O,oha as $,rha as P}from"./cli-0.6.5-q4gh8d4w.mjs";import{Iha as Y,Pha as H}from"./cli-0.6.5-ce51qb6k.mjs";import{ppa as x}from"./cli-0.6.5-bm7v9qp0.mjs";function h(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function R(q){let K=typeof q==="string"?q:Z(q),J=h(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function U(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function j(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
|
|
2
|
+
export{N as Ie,R as Je,U as Ke,j as Le,D as Me,L as Ne,m as Oe};
|