@claudiolabs/claudin 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.17-c0szwp8n.mjs +1 -0
- package/dist/chunks/App-1.1.17-02e9gv69.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.17-jxfbym1r.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.17-6yp2beyh.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.17-w9xsetq9.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.17-84z0pr68.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.17-q46af0nw.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.17-ew4a8tt8.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.17-rmqcdxg8.mjs +6 -0
- package/dist/chunks/Doctor-1.1.17-hg2xast7.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.17-9bpc3q6s.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.17-k5e62crs.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.17-dsnkhped.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.17-kvhxeef5.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.17-a4rrxzp6.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.17-4rfmem0t.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.17-e9mp9qde.mjs +1 -0
- package/dist/chunks/REPL-1.1.17-4wy9nbxj.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.17-yqrt4v79.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.17-3sr5b9tz.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.17-dkwbndzq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.17-f8qa4fjm.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.17-21kb50xj.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.17-0kmr0pvg.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.17-8beq3avk.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.17-z786dzeg.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.17-x2aq5sx0.mjs +1 -0
- package/dist/chunks/add-dir-1.1.17-2s13eqzw.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.17-ct1sy6xb.mjs +1 -0
- package/dist/chunks/agents-1.1.17-550b7p8x.mjs +110 -0
- package/dist/chunks/agents-1.1.17-r5c8tpkr.mjs +3 -0
- package/dist/chunks/api-1.1.17-75x5tmes.mjs +1 -0
- package/dist/chunks/asciicast-1.1.17-79trcjfv.mjs +1 -0
- package/dist/chunks/assistant-1.1.17-dbbtqfan.mjs +1 -0
- package/dist/chunks/auth-1.1.17-8f3fach8.mjs +1 -0
- package/dist/chunks/auth-1.1.17-m8h26316.mjs +1 -0
- package/dist/chunks/autoMode-1.1.17-qc59qrkd.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.17-eget172p.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.17-hn3tt3zt.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.17-v11kpga8.mjs +1 -0
- package/dist/chunks/branch-1.1.17-w3zktkvs.mjs +4 -0
- package/dist/chunks/bridge-1.1.17-x5r3w789.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.17-kce97mnv.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.17-75j54src.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.17-4mqk6cqv.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.17-tnq9hpp2.mjs +1 -0
- package/dist/chunks/btw-1.1.17-45g5jhjr.mjs +1 -0
- package/dist/chunks/buddy-1.1.17-axejc0a1.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.17-x0n3bj9h.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.17-54ab6ndm.mjs +4 -0
- package/dist/chunks/caches-1.1.17-tqxvw7fb.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.17-rrzswj35.mjs +1 -0
- package/dist/chunks/claudemd-1.1.17-y5mkq5gq.mjs +1 -0
- package/dist/chunks/clear-1.1.17-6eyrsqrw.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.17-22ezdweq.mjs +1 -0
- package/dist/chunks/cli-1.1.17-0511dy9y.mjs +2 -0
- package/dist/chunks/cli-1.1.17-06mdd80y.mjs +2 -0
- package/dist/chunks/cli-1.1.17-09c1vkqx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-0d7fthp5.mjs +58 -0
- package/dist/chunks/cli-1.1.17-0p0ak3zs.mjs +2 -0
- package/dist/chunks/cli-1.1.17-18k7783y.mjs +20 -0
- package/dist/chunks/cli-1.1.17-1fvh83yv.mjs +7 -0
- package/dist/chunks/cli-1.1.17-1nxc4dk2.mjs +12 -0
- package/dist/chunks/cli-1.1.17-1v8knfbw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-1w1dgmsf.mjs +5 -0
- package/dist/chunks/cli-1.1.17-2b4keqra.mjs +4 -0
- package/dist/chunks/cli-1.1.17-2bc3gqw5.mjs +6 -0
- package/dist/chunks/cli-1.1.17-2jv9761d.mjs +2 -0
- package/dist/chunks/cli-1.1.17-2pvpn49s.mjs +3 -0
- package/dist/chunks/cli-1.1.17-2spbpwrx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-2szs1chw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-2z1g2hjb.mjs +4 -0
- package/dist/chunks/cli-1.1.17-3bkjnp3z.mjs +25 -0
- package/dist/chunks/cli-1.1.17-3jqe0rga.mjs +3 -0
- package/dist/chunks/cli-1.1.17-3mtgr9ch.mjs +3 -0
- package/dist/chunks/cli-1.1.17-3r1p3ddm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-3sy6b0hb.mjs +4 -0
- package/dist/chunks/cli-1.1.17-3v5m3zqf.mjs +2 -0
- package/dist/chunks/cli-1.1.17-3z8hnad1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-40gj2tc0.mjs +2 -0
- package/dist/chunks/cli-1.1.17-40w0wha0.mjs +2 -0
- package/dist/chunks/cli-1.1.17-44fk8h9v.mjs +6 -0
- package/dist/chunks/cli-1.1.17-4cxy3tsf.mjs +2 -0
- package/dist/chunks/cli-1.1.17-4egkrc4y.mjs +2 -0
- package/dist/chunks/cli-1.1.17-4yvz970v.mjs +2 -0
- package/dist/chunks/cli-1.1.17-545688c0.mjs +2 -0
- package/dist/chunks/cli-1.1.17-5bbnw0z1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-5ckk64dj.mjs +3 -0
- package/dist/chunks/cli-1.1.17-5eapymd7.mjs +25 -0
- package/dist/chunks/cli-1.1.17-5h6k67gj.mjs +39 -0
- package/dist/chunks/cli-1.1.17-5rfxkg0q.mjs +2 -0
- package/dist/chunks/cli-1.1.17-5ytk3hr5.mjs +2 -0
- package/dist/chunks/cli-1.1.17-60mezybh.mjs +2 -0
- package/dist/chunks/cli-1.1.17-62yjss1h.mjs +2 -0
- package/dist/chunks/cli-1.1.17-66c4sw6g.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6e7rvf1a.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6ee0nqae.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6gfvdt7y.mjs +8 -0
- package/dist/chunks/cli-1.1.17-6jzph4h7.mjs +3 -0
- package/dist/chunks/cli-1.1.17-6rx20w90.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6wdwjtdj.mjs +7 -0
- package/dist/chunks/cli-1.1.17-6xnsg3vj.mjs +2 -0
- package/dist/chunks/cli-1.1.17-6yqbrqsj.mjs +4 -0
- package/dist/chunks/cli-1.1.17-787fk73v.mjs +3 -0
- package/dist/chunks/cli-1.1.17-7n4s8n50.mjs +6 -0
- package/dist/chunks/cli-1.1.17-83bggr64.mjs +3 -0
- package/dist/chunks/cli-1.1.17-848t1b19.mjs +2 -0
- package/dist/chunks/cli-1.1.17-85fga8dq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-85mcc9n7.mjs +2 -0
- package/dist/chunks/cli-1.1.17-86a50dqm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-8ae45qsd.mjs +6 -0
- package/dist/chunks/cli-1.1.17-8pkspqzx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-8yryp8zt.mjs +2 -0
- package/dist/chunks/cli-1.1.17-91shm790.mjs +2 -0
- package/dist/chunks/cli-1.1.17-937ws80k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-95kegjhq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9bq6vj3x.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9dv8cb2e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9nvn8chy.mjs +21 -0
- package/dist/chunks/cli-1.1.17-9pb21bzq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9pv5wym1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9q30wadt.mjs +17 -0
- package/dist/chunks/cli-1.1.17-9rtpxyk6.mjs +2 -0
- package/dist/chunks/cli-1.1.17-9wgw338h.mjs +2 -0
- package/dist/chunks/cli-1.1.17-adz6qec3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-amta49a1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-amvnbvkb.mjs +66 -0
- package/dist/chunks/cli-1.1.17-arwr4e36.mjs +2 -0
- package/dist/chunks/cli-1.1.17-av45k1a0.mjs +15 -0
- package/dist/chunks/cli-1.1.17-avc9ck1v.mjs +2 -0
- package/dist/chunks/cli-1.1.17-b1g8n716.mjs +2 -0
- package/dist/chunks/cli-1.1.17-b5btm8nn.mjs +5 -0
- package/dist/chunks/cli-1.1.17-b6178p3e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bg6qdrwm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bj81ampw.mjs +3 -0
- package/dist/chunks/cli-1.1.17-brvf3613.mjs +3 -0
- package/dist/chunks/cli-1.1.17-bw27qnmm.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bw4gf7se.mjs +2 -0
- package/dist/chunks/cli-1.1.17-bzw849yw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-c4wdrmzx.mjs +3 -0
- package/dist/chunks/cli-1.1.17-c858dzpc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cddbmrdk.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cek6be4z.mjs +15 -0
- package/dist/chunks/cli-1.1.17-chsbt03k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cnp784zh.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ct0r352g.mjs +2 -0
- package/dist/chunks/cli-1.1.17-cvtpmgr1.mjs +16 -0
- package/dist/chunks/cli-1.1.17-d24yw7cv.mjs +50 -0
- package/dist/chunks/cli-1.1.17-d8zh7smn.mjs +3 -0
- package/dist/chunks/cli-1.1.17-d9y6k8vc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-db7epgkw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-dhbj7k9k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-dp5q3hgg.mjs +2 -0
- package/dist/chunks/cli-1.1.17-e8bd5mhc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-egp0jwn1.mjs +6 -0
- package/dist/chunks/cli-1.1.17-ete62cd3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-evytxpaj.mjs +4 -0
- package/dist/chunks/cli-1.1.17-f0f3ww1e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-f29ngxbd.mjs +2 -0
- package/dist/chunks/cli-1.1.17-f4eghwer.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fc8raa73.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fc9ah2rx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fn3aawry.mjs +2 -0
- package/dist/chunks/cli-1.1.17-fpt9fhj3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-frwjbpkz.mjs +12 -0
- package/dist/chunks/cli-1.1.17-fzsavwtg.mjs +133 -0
- package/dist/chunks/cli-1.1.17-g02c88z9.mjs +2 -0
- package/dist/chunks/cli-1.1.17-g0r7knn3.mjs +9 -0
- package/dist/chunks/cli-1.1.17-g8x1ae0n.mjs +2 -0
- package/dist/chunks/cli-1.1.17-gbx2evhw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-gjjv9pf2.mjs +2 -0
- package/dist/chunks/cli-1.1.17-grwds6h6.mjs +2 -0
- package/dist/chunks/cli-1.1.17-gy86radb.mjs +6 -0
- package/dist/chunks/cli-1.1.17-gz7gazer.mjs +2 -0
- package/dist/chunks/cli-1.1.17-h68j8yr4.mjs +2 -0
- package/dist/chunks/cli-1.1.17-h899gx3g.mjs +59 -0
- package/dist/chunks/cli-1.1.17-hk50rvfx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-hv7vtr92.mjs +2 -0
- package/dist/chunks/cli-1.1.17-j0rsgbr3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-j7w7vk9q.mjs +4 -0
- package/dist/chunks/cli-1.1.17-ja7d18ym.mjs +2 -0
- package/dist/chunks/cli-1.1.17-jbg9ze8v.mjs +26 -0
- package/dist/chunks/cli-1.1.17-jbmze4s1.mjs +3 -0
- package/dist/chunks/cli-1.1.17-jd6hwz1t.mjs +18 -0
- package/dist/chunks/cli-1.1.17-jfrmnvzh.mjs +42 -0
- package/dist/chunks/cli-1.1.17-jmhry9pe.mjs +2 -0
- package/dist/chunks/cli-1.1.17-jyzpxwq4.mjs +2 -0
- package/dist/chunks/cli-1.1.17-k2ygh79g.mjs +24 -0
- package/dist/chunks/cli-1.1.17-k4cv7tcx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-k6xg5a3t.mjs +2 -0
- package/dist/chunks/cli-1.1.17-kasvn1wv.mjs +2 -0
- package/dist/chunks/cli-1.1.17-kdycyp8n.mjs +4 -0
- package/dist/chunks/cli-1.1.17-kjk1ddpc.mjs +2 -0
- package/dist/chunks/cli-1.1.17-kk19mmhc.mjs +17 -0
- package/dist/chunks/cli-1.1.17-krb62aen.mjs +2 -0
- package/dist/chunks/cli-1.1.17-mc6hgzsa.mjs +4 -0
- package/dist/chunks/cli-1.1.17-mvgrc9gx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-n2dct122.mjs +2 -0
- package/dist/chunks/cli-1.1.17-n4xn5c5m.mjs +34 -0
- package/dist/chunks/cli-1.1.17-nes161na.mjs +2 -0
- package/dist/chunks/cli-1.1.17-nhn5qa9g.mjs +45 -0
- package/dist/chunks/cli-1.1.17-nr1fn5ws.mjs +2 -0
- package/dist/chunks/cli-1.1.17-p7mq618q.mjs +2 -0
- package/dist/chunks/cli-1.1.17-phaqkjy5.mjs +3 -0
- package/dist/chunks/cli-1.1.17-pmner0m4.mjs +206 -0
- package/dist/chunks/cli-1.1.17-q6fve29k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-q7f9amqd.mjs +2 -0
- package/dist/chunks/cli-1.1.17-qr727b7j.mjs +18 -0
- package/dist/chunks/cli-1.1.17-qwkbwe37.mjs +2 -0
- package/dist/chunks/cli-1.1.17-r47egjp3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-rak849bn.mjs +3 -0
- package/dist/chunks/cli-1.1.17-rgzfxape.mjs +2 -0
- package/dist/chunks/cli-1.1.17-rpac3qey.mjs +2 -0
- package/dist/chunks/cli-1.1.17-rv9n4f0j.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ry9v8zr7.mjs +2 -0
- package/dist/chunks/cli-1.1.17-s0w3hc9t.mjs +4 -0
- package/dist/chunks/cli-1.1.17-s6rzrasx.mjs +2 -0
- package/dist/chunks/cli-1.1.17-s9617g9k.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sa6xwtgz.mjs +1 -0
- package/dist/chunks/cli-1.1.17-sekbxc10.mjs +24 -0
- package/dist/chunks/cli-1.1.17-sf4te5vd.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sh93pnws.mjs +2 -0
- package/dist/chunks/cli-1.1.17-spygywkr.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sqnbm5cb.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ss5f6ezq.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ssjqqbnv.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sx4yg7br.mjs +2 -0
- package/dist/chunks/cli-1.1.17-sxvjn3ne.mjs +2 -0
- package/dist/chunks/cli-1.1.17-t059h154.mjs +2 -0
- package/dist/chunks/cli-1.1.17-tcxq0ah8.mjs +2 -0
- package/dist/chunks/cli-1.1.17-tjtarhk9.mjs +5408 -0
- package/dist/chunks/cli-1.1.17-tkz7x0rj.mjs +2 -0
- package/dist/chunks/cli-1.1.17-v5nv0awt.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vecw37vp.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vewrwcsz.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vj9h10jw.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vpgxna04.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vya6g1gj.mjs +2 -0
- package/dist/chunks/cli-1.1.17-vzhs0tcz.mjs +2 -0
- package/dist/chunks/cli-1.1.17-w70hp8av.mjs +2 -0
- package/dist/chunks/cli-1.1.17-w8ycz611.mjs +4 -0
- package/dist/chunks/cli-1.1.17-w9jr2baa.mjs +2 -0
- package/dist/chunks/cli-1.1.17-wmy7x7p1.mjs +3 -0
- package/dist/chunks/cli-1.1.17-wpw25vs3.mjs +2 -0
- package/dist/chunks/cli-1.1.17-wraax29e.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xmwmqrg5.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xpxk1a24.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xqsq5e1g.mjs +2 -0
- package/dist/chunks/cli-1.1.17-xr6d85ak.mjs +24 -0
- package/dist/chunks/cli-1.1.17-xyvhfz5c.mjs +133 -0
- package/dist/chunks/cli-1.1.17-y590316j.mjs +2 -0
- package/dist/chunks/cli-1.1.17-y9v9t43m.mjs +2 -0
- package/dist/chunks/cli-1.1.17-yc5h2t8c.mjs +2 -0
- package/dist/chunks/cli-1.1.17-yexr9jg1.mjs +2 -0
- package/dist/chunks/cli-1.1.17-ymeaeqf8.mjs +15 -0
- package/dist/chunks/cli-1.1.17-ys4xrvjv.mjs +2 -0
- package/dist/chunks/cli-1.1.17-yzm3tm0n.mjs +2 -0
- package/dist/chunks/cli-1.1.17-z3nzbxwq.mjs +24 -0
- package/dist/chunks/cli-1.1.17-z8hph2r6.mjs +2 -0
- package/dist/chunks/cli-1.1.17-zeqbjpg8.mjs +2 -0
- package/dist/chunks/cli-1.1.17-zhbqhsnh.mjs +2 -0
- package/dist/chunks/cli-1.1.17-znjf3r1w.mjs +2 -0
- package/dist/chunks/cli-1.1.17-zs8ffrtz.mjs +9 -0
- package/dist/chunks/cli-1.1.17-zsygz35e.mjs +2 -0
- package/dist/chunks/client-1.1.17-nagqj7bf.mjs +1 -0
- package/dist/chunks/color-1.1.17-p6y05fhc.mjs +1 -0
- package/dist/chunks/compact-1.1.17-pzzrynbb.mjs +3 -0
- package/dist/chunks/config-1.1.17-m2ajzt0e.mjs +1 -0
- package/dist/chunks/config-1.1.17-wmdy8158.mjs +1 -0
- package/dist/chunks/constants-1.1.17-v8sj602z.mjs +1 -0
- package/dist/chunks/context-1.1.17-7e2bk0as.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.17-e84cts6x.mjs +1 -0
- package/dist/chunks/conversation-1.1.17-9xvxk3r2.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.17-fqvd03w0.mjs +1 -0
- package/dist/chunks/copy-1.1.17-easn9kr0.mjs +9 -0
- package/dist/chunks/cost-1.1.17-nxtewzxf.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.17-6ewgn22a.mjs +1 -0
- package/dist/chunks/createSession-1.1.17-86r1zzgv.mjs +1 -0
- package/dist/chunks/debug-1.1.17-z47bgb2r.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.17-jf0axhv5.mjs +1534 -0
- package/dist/chunks/desktop-1.1.17-a995qrj4.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.17-a8w7dp77.mjs +1 -0
- package/dist/chunks/detection-1.1.17-rm57w2ve.mjs +1 -0
- package/dist/chunks/diff-1.1.17-nhrc58mf.mjs +1 -0
- package/dist/chunks/doctor-1.1.17-fbcrp14n.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.17-e8d49da2.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.17-tb2wa4gd.mjs +1 -0
- package/dist/chunks/effort-1.1.17-exyt2hn8.mjs +13 -0
- package/dist/chunks/engine-1.1.17-amrae3h8.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.17-cxcxqyr2.mjs +1 -0
- package/dist/chunks/envUtils-1.1.17-74s3e3r7.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.17-r6fm53e4.mjs +1 -0
- package/dist/chunks/environments-1.1.17-eefk71xc.mjs +1 -0
- package/dist/chunks/errors-1.1.17-f3hxdv36.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.17-fq7g2dra.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.17-b5j6ewkj.mjs +1 -0
- package/dist/chunks/exit-1.1.17-69eys61s.mjs +1 -0
- package/dist/chunks/explorer-1.1.17-9rnyanfh.mjs +1 -0
- package/dist/chunks/export-1.1.17-ftdkrgt6.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.17-4d5r749p.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.17-pfnqg70z.mjs +1 -0
- package/dist/chunks/fast-1.1.17-6fhr21cx.mjs +1 -0
- package/dist/chunks/feedback-1.1.17-xsv4a0hk.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.17-ysw58c2m.mjs +1 -0
- package/dist/chunks/git-1.1.17-1t4mvmwy.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.17-em3pctn6.mjs +1 -0
- package/dist/chunks/goal-1.1.17-b6r6rv34.mjs +4 -0
- package/dist/chunks/growthbook-1.1.17-d41p6v8e.mjs +1 -0
- package/dist/chunks/headless-1.1.17-3gds2arn.mjs +2 -0
- package/dist/chunks/heapdump-1.1.17-42928w6t.mjs +6 -0
- package/dist/chunks/help-1.1.17-1ex6d9m1.mjs +1 -0
- package/dist/chunks/hookChains-1.1.17-4trtr6n3.mjs +3 -0
- package/dist/chunks/hooks-1.1.17-brmzj93f.mjs +1 -0
- package/dist/chunks/hooks-1.1.17-tmmp968z.mjs +79 -0
- package/dist/chunks/ide-1.1.17-7bswgmqh.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.17-f4q4ze0f.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.17-bqseg6s7.mjs +1 -0
- package/dist/chunks/index-1.1.17-1cxekw2k.mjs +2 -0
- package/dist/chunks/index-1.1.17-3bhv85t6.mjs +2 -0
- package/dist/chunks/index-1.1.17-3kw30gq5.mjs +1 -0
- package/dist/chunks/index-1.1.17-41dwzfym.mjs +1 -0
- package/dist/chunks/index-1.1.17-58sa6nbn.mjs +1 -0
- package/dist/chunks/index-1.1.17-5vmgm515.mjs +9 -0
- package/dist/chunks/index-1.1.17-72ghmm5v.mjs +1 -0
- package/dist/chunks/index-1.1.17-9zas5tn3.mjs +23 -0
- package/dist/chunks/index-1.1.17-c7n4hj5n.mjs +1 -0
- package/dist/chunks/index-1.1.17-dg0mbe1h.mjs +1 -0
- package/dist/chunks/index-1.1.17-dzt8xwy0.mjs +1 -0
- package/dist/chunks/index-1.1.17-gwp2t0ev.mjs +5 -0
- package/dist/chunks/index-1.1.17-j516ern1.mjs +1 -0
- package/dist/chunks/index-1.1.17-j5qnmjd0.mjs +30 -0
- package/dist/chunks/index-1.1.17-m909k4gz.mjs +1 -0
- package/dist/chunks/index-1.1.17-mvtaa82m.mjs +1 -0
- package/dist/chunks/index-1.1.17-nntqe0vr.mjs +1 -0
- package/dist/chunks/index-1.1.17-nq9tejwj.mjs +1 -0
- package/dist/chunks/index-1.1.17-pfzch1bc.mjs +1 -0
- package/dist/chunks/index-1.1.17-q2g4m637.mjs +9 -0
- package/dist/chunks/index-1.1.17-s5nfh7xr.mjs +1 -0
- package/dist/chunks/index-1.1.17-tq1x9mdy.mjs +1 -0
- package/dist/chunks/index-1.1.17-vjbktr0m.mjs +1 -0
- package/dist/chunks/init-1.1.17-ezhe261a.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.17-bsr4ggsa.mjs +1 -0
- package/dist/chunks/ink-1.1.17-hnhzzxr4.mjs +1 -0
- package/dist/chunks/insights-1.1.17-8rkjk3qx.mjs +870 -0
- package/dist/chunks/install-1.1.17-bveeekwq.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.17-s7qpq92h.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.17-6p1tq8es.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.17-2n85eb8r.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.17-2qdgnemg.mjs +1 -0
- package/dist/chunks/keybindings-1.1.17-e93j288w.mjs +2 -0
- package/dist/chunks/knowledge-1.1.17-wzqw3mat.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.17-kpebzzy5.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.17-rwrehzjk.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.17-z6xentgs.mjs +1 -0
- package/dist/chunks/log-1.1.17-teh0b8bj.mjs +1 -0
- package/dist/chunks/main-1.1.17-4drs7spn.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.17-01msjcq4.mjs +1 -0
- package/dist/chunks/mcp-1.1.17-c212g273.mjs +17 -0
- package/dist/chunks/mcp-1.1.17-fmad2143.mjs +4 -0
- package/dist/chunks/mcp-1.1.17-vkg3yyj4.mjs +1 -0
- package/dist/chunks/mcpb-1.1.17-2qj85kf9.mjs +1 -0
- package/dist/chunks/memory-1.1.17-xxzfp6m3.mjs +72 -0
- package/dist/chunks/model-1.1.17-6wangfaf.mjs +1 -0
- package/dist/chunks/model-1.1.17-phx3mpre.mjs +2 -0
- package/dist/chunks/node-1.1.17-vwaj3hha.mjs +12 -0
- package/dist/chunks/oauth-1.1.17-2h7zc57g.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.17-x7d7rtnw.mjs +14 -0
- package/dist/chunks/output-style-1.1.17-4dwyxd9d.mjs +1 -0
- package/dist/chunks/package-KQCMZM5L-1.1.17-hz04t8ab.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.17-47ed65x0.mjs +1 -0
- package/dist/chunks/parser-1.1.17-tsm4t6zj.mjs +1 -0
- package/dist/chunks/passes-1.1.17-kvh566r0.mjs +1 -0
- package/dist/chunks/permissions-1.1.17-2s1jj12g.mjs +1 -0
- package/dist/chunks/permissions-1.1.17-b96tjxsb.mjs +3 -0
- package/dist/chunks/plan-1.1.17-fphg1taz.mjs +1 -0
- package/dist/chunks/plist-1.1.17-be3b59s7.mjs +1 -0
- package/dist/chunks/plugin-1.1.17-wjwcjxt0.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.17-y7rehbdx.mjs +1 -0
- package/dist/chunks/plugins-1.1.17-pvbs8x2d.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.17-sz5peb61.mjs +2 -0
- package/dist/chunks/print-1.1.17-2tqpqffd.mjs +57 -0
- package/dist/chunks/process-1.1.17-edae57bn.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.17-8x8av07q.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.17-p2hph3mq.mjs +9 -0
- package/dist/chunks/prompt-1.1.17-33ecsyvx.mjs +1 -0
- package/dist/chunks/prompt-1.1.17-pcxqswhq.mjs +1 -0
- package/dist/chunks/prompts-1.1.17-9s5a4vj5.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.17-eypg73tv.mjs +13 -0
- package/dist/chunks/provider-1.1.17-cq38y5y0.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.17-3mapa580.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.17-v4be9pkn.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.17-7akz78zn.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.17-d8515h81.mjs +26 -0
- package/dist/chunks/registry-1.1.17-vmxj31fp.mjs +1 -0
- package/dist/chunks/release-notes-1.1.17-qfx2ydx0.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.17-bxmeccet.mjs +2 -0
- package/dist/chunks/remote-env-1.1.17-5zk7dhta.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.17-dyyd9gpp.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.17-2w7c374e.mjs +1 -0
- package/dist/chunks/rename-1.1.17-m9npwq9e.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.17-f73jbyc4.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.17-89bw7egj.mjs +1 -0
- package/dist/chunks/resume-1.1.17-zcepac5h.mjs +2 -0
- package/dist/chunks/rewind-1.1.17-sz9gnvjb.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.17-cz7wggw6.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.17-mv4m2dgh.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.17-mzhxrhy6.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.17-0055tx31.mjs +1 -0
- package/dist/chunks/session-1.1.17-58155tdb.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.17-jesa43e4.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.17-v63nh4eq.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.17-db6eb6a0.mjs +1 -0
- package/dist/chunks/settings-1.1.17-r420yrj6.mjs +1 -0
- package/dist/chunks/setup-1.1.17-2c169kta.mjs +12 -0
- package/dist/chunks/sinks-1.1.17-qy1xy52h.mjs +1 -0
- package/dist/chunks/skills-1.1.17-179vy7j6.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.17-2jre48fe.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.17-18vwb94e.mjs +1 -0
- package/dist/chunks/state-1.1.17-jj648yt9.mjs +1 -0
- package/dist/chunks/stats-1.1.17-87688vm6.mjs +6 -0
- package/dist/chunks/status-1.1.17-qfgx5stw.mjs +1 -0
- package/dist/chunks/stickers-1.1.17-6qwzrjbk.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.17-agk55s1k.mjs +1 -0
- package/dist/chunks/tasks-1.1.17-kbw9ds53.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.17-4adaqsmb.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.17-9ts2pfkc.mjs +1 -0
- package/dist/chunks/teleport-1.1.17-bzmdxawh.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.17-dqhqjty9.mjs +1 -0
- package/dist/chunks/theme-1.1.17-85pv1732.mjs +1 -0
- package/dist/chunks/thinkback-1.1.17-hepbvmjv.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.17-v9aftsq7.mjs +1 -0
- package/dist/chunks/toolPool-1.1.17-9czwnxh0.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.17-16zef2se.mjs +1 -0
- package/dist/chunks/tools-1.1.17-k9mnpc70.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.17-jh3tsws1.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.17-nccrmbyj.mjs +69 -0
- package/dist/chunks/types-1.1.17-h1a2dqs3.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.17-qcn2523f.mjs +4 -0
- package/dist/chunks/update-1.1.17-qrbvhrw3.mjs +72 -0
- package/dist/chunks/upgrade-1.1.17-5r2kvcht.mjs +1 -0
- package/dist/chunks/upload-1.1.17-9wg0zeh8.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.17-g55vw948.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.17-3z57zpg6.mjs +1 -0
- package/dist/chunks/usage-1.1.17-fpqbestm.mjs +1 -0
- package/dist/chunks/util-1.1.17-afkkcjd2.mjs +1 -0
- package/dist/chunks/utils-1.1.17-pmry0sgf.mjs +1 -0
- package/dist/chunks/vim-1.1.17-favcd60m.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.17-8xwhaj6s.mjs +13 -0
- package/dist/chunks/watcher-1.1.17-1jrrt63m.mjs +1 -0
- package/dist/chunks/wiki-1.1.17-gsgtzkbe.mjs +132 -0
- package/dist/chunks/workflows-1.1.17-d88y5b3p.mjs +1 -0
- package/dist/chunks/worktree-1.1.17-aym2veht.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.17-e80q0zp5.mjs +1 -0
- package/dist/chunks/wrapper-1.1.17-mqzzgw84.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.16-d8xg1846.mjs +0 -1
- package/dist/chunks/App-1.1.16-1qyat349.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.16-gphm4kr9.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.16-ae0771hz.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.16-ntf57kwj.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.16-z8km64vb.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.16-9c1nen0b.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.16-e52dm35b.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.16-frav7jtc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.16-rnr2zeqm.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.16-32sa07f8.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.16-wcn0wvqj.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.16-ptpv0yby.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.16-2c80150t.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.16-xf5ytnvw.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.16-mq6axxmv.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.16-df81g99v.mjs +0 -1
- package/dist/chunks/REPL-1.1.16-67e78vej.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.16-nfz9vfxh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.16-nmypjs9s.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.16-8xp4cat6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.16-b873egjf.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.16-p12j7gbz.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.16-wfj4hbxa.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.16-t59p4sqb.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.16-6gnr1pgn.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.16-pz7hzyed.mjs +0 -1
- package/dist/chunks/add-dir-1.1.16-whsjbedt.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.16-7fxyjypa.mjs +0 -1
- package/dist/chunks/agents-1.1.16-1d6y0xda.mjs +0 -3
- package/dist/chunks/agents-1.1.16-s5e41ewr.mjs +0 -110
- package/dist/chunks/api-1.1.16-k1mytgsx.mjs +0 -1
- package/dist/chunks/asciicast-1.1.16-bxvyntn8.mjs +0 -1
- package/dist/chunks/assistant-1.1.16-acqmddet.mjs +0 -1
- package/dist/chunks/auth-1.1.16-7nwthv6n.mjs +0 -1
- package/dist/chunks/auth-1.1.16-c46k0chb.mjs +0 -1
- package/dist/chunks/autoMode-1.1.16-t7thnrw0.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.16-5k3bxrjz.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.16-nhb6p8p3.mjs +0 -1
- package/dist/chunks/branch-1.1.16-72eesr6a.mjs +0 -4
- package/dist/chunks/bridge-1.1.16-8n6h1b8c.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.16-jmz78ab3.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.16-nwrn0y9j.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.16-04vqwa21.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.16-krkxjxkj.mjs +0 -1
- package/dist/chunks/btw-1.1.16-h0jqrzph.mjs +0 -1
- package/dist/chunks/buddy-1.1.16-k6dwkrbz.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.16-rk6d7v9j.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.16-f3tggvs4.mjs +0 -4
- package/dist/chunks/caches-1.1.16-kxkg6hxt.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.16-jggzvahb.mjs +0 -1
- package/dist/chunks/claudemd-1.1.16-7dtnkedr.mjs +0 -1
- package/dist/chunks/clear-1.1.16-qrpawrqq.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.16-hcv9w964.mjs +0 -1
- package/dist/chunks/cli-1.1.16-00hws7wd.mjs +0 -15
- package/dist/chunks/cli-1.1.16-02ynr76s.mjs +0 -2
- package/dist/chunks/cli-1.1.16-06f5zq2n.mjs +0 -3
- package/dist/chunks/cli-1.1.16-07smcaht.mjs +0 -2
- package/dist/chunks/cli-1.1.16-08mt7pd3.mjs +0 -26
- package/dist/chunks/cli-1.1.16-0chc168e.mjs +0 -2
- package/dist/chunks/cli-1.1.16-0w56n0k6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-11vm4ckb.mjs +0 -3
- package/dist/chunks/cli-1.1.16-14fn34eq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-14qj3fgz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-16cpmrsq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-1p0006m7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-1rw7f88z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-21rqtmb8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2c672gb7.mjs +0 -12
- package/dist/chunks/cli-1.1.16-2mzk1cmm.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2ssqta47.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2v8aceee.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2xgcx2pv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-3ha615b6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-3k3hzdbv.mjs +0 -9
- package/dist/chunks/cli-1.1.16-3wey4s8m.mjs +0 -2
- package/dist/chunks/cli-1.1.16-48pfhgz1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-49bqpfq6.mjs +0 -16
- package/dist/chunks/cli-1.1.16-4azerbgs.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4eszpnge.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4kbzs997.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4pr1991p.mjs +0 -8
- package/dist/chunks/cli-1.1.16-4qysqchs.mjs +0 -24
- package/dist/chunks/cli-1.1.16-4v9hjjtt.mjs +0 -3
- package/dist/chunks/cli-1.1.16-50vqanyq.mjs +0 -4
- package/dist/chunks/cli-1.1.16-54087k9r.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5a4a2nqs.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5bx6tpmw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5dtt0nsq.mjs +0 -15
- package/dist/chunks/cli-1.1.16-5hfex73v.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5vc6gf8n.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5wsywzcq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-65skb0g1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-67hp7vy9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-67yh08z2.mjs +0 -2
- package/dist/chunks/cli-1.1.16-69ma6qdv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-6fekr49f.mjs +0 -2
- package/dist/chunks/cli-1.1.16-6ptafg83.mjs +0 -59
- package/dist/chunks/cli-1.1.16-72wxrwg0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7aatqp3z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7c9cj19v.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7j9fntrz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7k62y2m1.mjs +0 -45
- package/dist/chunks/cli-1.1.16-7k7w1py7.mjs +0 -39
- package/dist/chunks/cli-1.1.16-7xaxs3ra.mjs +0 -18
- package/dist/chunks/cli-1.1.16-7z989ymx.mjs +0 -24
- package/dist/chunks/cli-1.1.16-892pqd2m.mjs +0 -3
- package/dist/chunks/cli-1.1.16-8azzqa5w.mjs +0 -2
- package/dist/chunks/cli-1.1.16-8brzp1nw.mjs +0 -6
- package/dist/chunks/cli-1.1.16-8efk3qjx.mjs +0 -2
- package/dist/chunks/cli-1.1.16-8pms22dq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-90p1j6wj.mjs +0 -3
- package/dist/chunks/cli-1.1.16-9bvj95e0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9gc3v32k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9mjvq93j.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9vaffwrt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9wfv4nx7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9zybbj79.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a09ca16c.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a2heems6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a6z5s072.mjs +0 -58
- package/dist/chunks/cli-1.1.16-aae4w645.mjs +0 -42
- package/dist/chunks/cli-1.1.16-acbajet0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-amvj9fsw.mjs +0 -3
- package/dist/chunks/cli-1.1.16-b06spwrg.mjs +0 -21
- package/dist/chunks/cli-1.1.16-b7t8n05k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-b80x5mp6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c6ydw1c8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c839tmen.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c9b05x0s.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cc5chgna.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cddsh2r4.mjs +0 -25
- package/dist/chunks/cli-1.1.16-cmfztzmq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cmw3ar20.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cnwnk7gb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cs3aeka5.mjs +0 -12
- package/dist/chunks/cli-1.1.16-d6tf8dzn.mjs +0 -20
- package/dist/chunks/cli-1.1.16-df44y8yq.mjs +0 -3
- package/dist/chunks/cli-1.1.16-dfr9axye.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dh0eqfrb.mjs +0 -25
- package/dist/chunks/cli-1.1.16-dn98cknd.mjs +0 -6
- package/dist/chunks/cli-1.1.16-dqwre8s7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dqxwanh1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dtwt84pe.mjs +0 -6
- package/dist/chunks/cli-1.1.16-dtyn1qwz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dxyq8q3t.mjs +0 -18
- package/dist/chunks/cli-1.1.16-e0fmjnmt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-e15bgq0q.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eabt3s19.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eatavqvn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eg2wh4gb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-egxjzfe2.mjs +0 -34
- package/dist/chunks/cli-1.1.16-ejy0gvv1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-f3tex0kv.mjs +0 -24
- package/dist/chunks/cli-1.1.16-f6arq2qw.mjs +0 -3
- package/dist/chunks/cli-1.1.16-f9d79a6c.mjs +0 -2
- package/dist/chunks/cli-1.1.16-fd7yx131.mjs +0 -2
- package/dist/chunks/cli-1.1.16-g0z56bnb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-g2m8cf2k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gqgat9ps.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gtw5ckd8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gyw71nnw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gze584gt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-h1rfrt5t.mjs +0 -1
- package/dist/chunks/cli-1.1.16-haqxs2zy.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hbzd5k64.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hd541yqt.mjs +0 -5
- package/dist/chunks/cli-1.1.16-hf9kpgyk.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hq7j37g9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-htk59n0r.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hwr77b8n.mjs +0 -5469
- package/dist/chunks/cli-1.1.16-hyxvna5x.mjs +0 -2
- package/dist/chunks/cli-1.1.16-j1hg5tkr.mjs +0 -3
- package/dist/chunks/cli-1.1.16-jcye29qq.mjs +0 -202
- package/dist/chunks/cli-1.1.16-k7hg3739.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kf5fv5t0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kndxajhc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kpxhnxpz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kxckvss5.mjs +0 -4
- package/dist/chunks/cli-1.1.16-kz0jkcdc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-m0b6tw88.mjs +0 -3
- package/dist/chunks/cli-1.1.16-m68wgnx0.mjs +0 -50
- package/dist/chunks/cli-1.1.16-manqzza5.mjs +0 -2
- package/dist/chunks/cli-1.1.16-mbr5p7h4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-n37yee4e.mjs +0 -5
- package/dist/chunks/cli-1.1.16-n9r7jwvf.mjs +0 -4
- package/dist/chunks/cli-1.1.16-nbxzev2y.mjs +0 -3
- package/dist/chunks/cli-1.1.16-nh0pt7e0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-njacmwr1.mjs +0 -4
- package/dist/chunks/cli-1.1.16-p0fj6fyd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-pdga6t1k.mjs +0 -133
- package/dist/chunks/cli-1.1.16-pj3sbyjh.mjs +0 -2
- package/dist/chunks/cli-1.1.16-pzq1a8yw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-q827fp1q.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qh481y6y.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qwgc24yv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qy3897dn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qyhfqd1t.mjs +0 -4
- package/dist/chunks/cli-1.1.16-r0tgqw2k.mjs +0 -4
- package/dist/chunks/cli-1.1.16-r102pkgg.mjs +0 -3
- package/dist/chunks/cli-1.1.16-r2q5qzd6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-r3n44d17.mjs +0 -2
- package/dist/chunks/cli-1.1.16-r41v96xz.mjs +0 -6
- package/dist/chunks/cli-1.1.16-rb7paxmn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-rmn7pfkz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-rvyqa9q1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-s404wy1x.mjs +0 -6
- package/dist/chunks/cli-1.1.16-s73aeg9m.mjs +0 -3
- package/dist/chunks/cli-1.1.16-sbck6gp1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-sk0nvcb8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-sk5cfvaa.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t0vza3m9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t3hq60ht.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t52j6pb6.mjs +0 -6
- package/dist/chunks/cli-1.1.16-t7jxtkz8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-the4daty.mjs +0 -17
- package/dist/chunks/cli-1.1.16-tjqwb7e1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-tjzxdkkt.mjs +0 -17
- package/dist/chunks/cli-1.1.16-tpxwx276.mjs +0 -2
- package/dist/chunks/cli-1.1.16-tv4kjnwq.mjs +0 -24
- package/dist/chunks/cli-1.1.16-tv97myza.mjs +0 -7
- package/dist/chunks/cli-1.1.16-v2e4pd3g.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vchwnr3f.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vf5x3nc4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vhwypfn6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vkc2wbwd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vngrsrs8.mjs +0 -3
- package/dist/chunks/cli-1.1.16-vq6g4ncg.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vra6hr5d.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vzv60xz8.mjs +0 -4
- package/dist/chunks/cli-1.1.16-w4zy236d.mjs +0 -2
- package/dist/chunks/cli-1.1.16-w5ns6t4b.mjs +0 -2
- package/dist/chunks/cli-1.1.16-way1d0g7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wbzh2wm5.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wpgdph2x.mjs +0 -7
- package/dist/chunks/cli-1.1.16-wv6e57r1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wxyxm2zp.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wysnfmek.mjs +0 -4
- package/dist/chunks/cli-1.1.16-wzzrc1xq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x0gywt7y.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x1r7521q.mjs +0 -133
- package/dist/chunks/cli-1.1.16-x4k8bzvc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x9m0y8t1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xaye0g9z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xe8wmqtk.mjs +0 -15
- package/dist/chunks/cli-1.1.16-xfke0ngj.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xqk1znpb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-y11gejtr.mjs +0 -9
- package/dist/chunks/cli-1.1.16-y1vrwcq4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-y4qp7bb2.mjs +0 -2
- package/dist/chunks/cli-1.1.16-ynvgphfk.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yqaq6eek.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yv8wazsp.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yymrc4dd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yzrxqdz1.mjs +0 -4
- package/dist/chunks/cli-1.1.16-z56ew2eh.mjs +0 -66
- package/dist/chunks/cli-1.1.16-z93174n6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zedxs5mz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zgwt3v22.mjs +0 -2
- package/dist/chunks/cli-1.1.16-ztv6fvbq.mjs +0 -4
- package/dist/chunks/cli-1.1.16-zx2pqyak.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zy1hy3m7.mjs +0 -3
- package/dist/chunks/cli-1.1.16-zzc307e7.mjs +0 -2
- package/dist/chunks/client-1.1.16-mxfnn25v.mjs +0 -1
- package/dist/chunks/color-1.1.16-kxb5k02m.mjs +0 -1
- package/dist/chunks/compact-1.1.16-zn3r524w.mjs +0 -3
- package/dist/chunks/config-1.1.16-866900pg.mjs +0 -1
- package/dist/chunks/config-1.1.16-pnqk3e4x.mjs +0 -1
- package/dist/chunks/constants-1.1.16-y8q2q4nx.mjs +0 -1
- package/dist/chunks/context-1.1.16-g23rxjdc.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.16-cccdk7gt.mjs +0 -1
- package/dist/chunks/conversation-1.1.16-b3c8ysvx.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.16-n2gqvrz3.mjs +0 -1
- package/dist/chunks/copy-1.1.16-evtbz4pr.mjs +0 -9
- package/dist/chunks/cost-1.1.16-je2dhky8.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.16-7bjctayt.mjs +0 -1
- package/dist/chunks/createSession-1.1.16-q7ezgde2.mjs +0 -1
- package/dist/chunks/debug-1.1.16-rwekwqaz.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.16-drefjcq7.mjs +0 -1534
- package/dist/chunks/desktop-1.1.16-s5p2s8z1.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.16-0mj2v70d.mjs +0 -1
- package/dist/chunks/detection-1.1.16-a6g1ea8w.mjs +0 -1
- package/dist/chunks/diff-1.1.16-5c3cx6ex.mjs +0 -1
- package/dist/chunks/doctor-1.1.16-41p56y0f.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.16-w0td1z7t.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.16-fb3qxbjk.mjs +0 -1
- package/dist/chunks/effort-1.1.16-9gw3x1mz.mjs +0 -13
- package/dist/chunks/engine-1.1.16-35cg9rmx.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.16-1d34y7k2.mjs +0 -1
- package/dist/chunks/envUtils-1.1.16-4t6p0jjh.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.16-63yqca4b.mjs +0 -1
- package/dist/chunks/environments-1.1.16-zg1cebes.mjs +0 -1
- package/dist/chunks/errors-1.1.16-5ry90xtn.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.16-gctdwyey.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.16-ja5wfnqk.mjs +0 -1
- package/dist/chunks/exit-1.1.16-gp3attw5.mjs +0 -1
- package/dist/chunks/explorer-1.1.16-ksz2kh3r.mjs +0 -1
- package/dist/chunks/export-1.1.16-4q6eppsd.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.16-gtvkswnt.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.16-y936p9yp.mjs +0 -1
- package/dist/chunks/fast-1.1.16-9d3xqrpf.mjs +0 -1
- package/dist/chunks/feedback-1.1.16-3va6ar52.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.16-rzm5ms2c.mjs +0 -1
- package/dist/chunks/git-1.1.16-wxjpazsv.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.16-8db65cwz.mjs +0 -1
- package/dist/chunks/goal-1.1.16-n6zn5hv0.mjs +0 -4
- package/dist/chunks/growthbook-1.1.16-595crq4b.mjs +0 -1
- package/dist/chunks/headless-1.1.16-ngrfttd2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.16-xeq6wdmt.mjs +0 -6
- package/dist/chunks/help-1.1.16-cr6p1e9d.mjs +0 -1
- package/dist/chunks/hookChains-1.1.16-9h14zpb6.mjs +0 -3
- package/dist/chunks/hooks-1.1.16-1g8bmj2c.mjs +0 -79
- package/dist/chunks/hooks-1.1.16-n1gmh33c.mjs +0 -1
- package/dist/chunks/ide-1.1.16-9vtwyzje.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.16-xs3s51me.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.16-c6drgpf3.mjs +0 -1
- package/dist/chunks/index-1.1.16-18yhpv52.mjs +0 -23
- package/dist/chunks/index-1.1.16-2rsmxhr2.mjs +0 -30
- package/dist/chunks/index-1.1.16-2xc5zjwe.mjs +0 -5
- package/dist/chunks/index-1.1.16-3cscsx0v.mjs +0 -1
- package/dist/chunks/index-1.1.16-3vpat7c1.mjs +0 -9
- package/dist/chunks/index-1.1.16-3zhbr1qd.mjs +0 -1
- package/dist/chunks/index-1.1.16-54nbfa3c.mjs +0 -1
- package/dist/chunks/index-1.1.16-6f495kq6.mjs +0 -1
- package/dist/chunks/index-1.1.16-82gx3ah5.mjs +0 -1
- package/dist/chunks/index-1.1.16-ap17zed0.mjs +0 -1
- package/dist/chunks/index-1.1.16-b07w4tdb.mjs +0 -1
- package/dist/chunks/index-1.1.16-cca87zba.mjs +0 -9
- package/dist/chunks/index-1.1.16-dxjx9gq8.mjs +0 -1
- package/dist/chunks/index-1.1.16-ehk0dpk3.mjs +0 -1
- package/dist/chunks/index-1.1.16-g6p5h9x8.mjs +0 -1
- package/dist/chunks/index-1.1.16-hsmqsx4f.mjs +0 -2
- package/dist/chunks/index-1.1.16-n1gyvm02.mjs +0 -1
- package/dist/chunks/index-1.1.16-ppkq03k8.mjs +0 -1
- package/dist/chunks/index-1.1.16-qpdm2q81.mjs +0 -1
- package/dist/chunks/index-1.1.16-qww85f6n.mjs +0 -1
- package/dist/chunks/index-1.1.16-s5e31nps.mjs +0 -1
- package/dist/chunks/index-1.1.16-v1zrqah7.mjs +0 -2
- package/dist/chunks/index-1.1.16-vbj2a5jp.mjs +0 -1
- package/dist/chunks/init-1.1.16-6wdrdz2r.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.16-6bhkywe8.mjs +0 -1
- package/dist/chunks/ink-1.1.16-e7whmjxf.mjs +0 -1
- package/dist/chunks/insights-1.1.16-s2czmsxt.mjs +0 -870
- package/dist/chunks/install-1.1.16-hm3j0jqe.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.16-xmkdh35y.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.16-1a8z176x.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.16-5tqqjvsb.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.16-49sn5m39.mjs +0 -1
- package/dist/chunks/keybindings-1.1.16-c6n8k84r.mjs +0 -2
- package/dist/chunks/knowledge-1.1.16-08yzaswd.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.16-a0dks1p1.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.16-jbfc3ync.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.16-0pym4ad2.mjs +0 -1
- package/dist/chunks/log-1.1.16-yahqz556.mjs +0 -1
- package/dist/chunks/main-1.1.16-2egj6bns.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.16-tgd635vq.mjs +0 -1
- package/dist/chunks/mcp-1.1.16-fkx2awnj.mjs +0 -17
- package/dist/chunks/mcp-1.1.16-n7sgsh7q.mjs +0 -1
- package/dist/chunks/mcp-1.1.16-ry6g2t33.mjs +0 -4
- package/dist/chunks/mcpb-1.1.16-74c05aj3.mjs +0 -1
- package/dist/chunks/memory-1.1.16-6jbqggnn.mjs +0 -72
- package/dist/chunks/model-1.1.16-3bvzfbem.mjs +0 -2
- package/dist/chunks/model-1.1.16-sjpwhja7.mjs +0 -1
- package/dist/chunks/node-1.1.16-gsj0fpm7.mjs +0 -12
- package/dist/chunks/oauth-1.1.16-bt9x98w7.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.16-8gems3mz.mjs +0 -14
- package/dist/chunks/output-style-1.1.16-embrry9v.mjs +0 -1
- package/dist/chunks/package-KQCMZM5L-1.1.16-d3m1d21p.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.16-zffe39j3.mjs +0 -1
- package/dist/chunks/parser-1.1.16-3ps9dtdr.mjs +0 -1
- package/dist/chunks/passes-1.1.16-n0a3pvdf.mjs +0 -1
- package/dist/chunks/permissions-1.1.16-jk4pmrmf.mjs +0 -3
- package/dist/chunks/permissions-1.1.16-wnz2vr3h.mjs +0 -1
- package/dist/chunks/plan-1.1.16-rtkh7eh3.mjs +0 -1
- package/dist/chunks/plist-1.1.16-t71wt7sc.mjs +0 -1
- package/dist/chunks/plugin-1.1.16-t9jaj1gv.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.16-c6cf7tmk.mjs +0 -1
- package/dist/chunks/plugins-1.1.16-73hwgvfk.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.16-nthzxbp9.mjs +0 -2
- package/dist/chunks/print-1.1.16-armgf1aq.mjs +0 -57
- package/dist/chunks/process-1.1.16-3ct2vh70.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.16-89y7gsbx.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.16-1kjtbhx2.mjs +0 -9
- package/dist/chunks/prompt-1.1.16-0386v4at.mjs +0 -1
- package/dist/chunks/prompt-1.1.16-k5y0dpf7.mjs +0 -1
- package/dist/chunks/prompts-1.1.16-xsnbw92m.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.16-yx039y6v.mjs +0 -13
- package/dist/chunks/provider-1.1.16-m0kk3yhs.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.16-2v2pwv6d.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.16-282tqjjx.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.16-avgds6pk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.16-mzwjj9v6.mjs +0 -26
- package/dist/chunks/registry-1.1.16-n34j5qfk.mjs +0 -1
- package/dist/chunks/release-notes-1.1.16-8q4sx928.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.16-7znfn6r1.mjs +0 -2
- package/dist/chunks/remote-env-1.1.16-pv7edzf2.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.16-jv7q72cp.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.16-mmf3btpt.mjs +0 -1
- package/dist/chunks/rename-1.1.16-m3xv2hvc.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.16-0vph2kjs.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.16-g5z9jade.mjs +0 -1
- package/dist/chunks/resume-1.1.16-40c9ahqr.mjs +0 -2
- package/dist/chunks/rewind-1.1.16-tpy93a43.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.16-3apcbhbp.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.16-ejyeyghc.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.16-xb7gb62s.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.16-pm4wkyc5.mjs +0 -1
- package/dist/chunks/session-1.1.16-vrf7bvfv.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.16-e919fb36.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.16-6sbxmck5.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.16-1pd52qxc.mjs +0 -1
- package/dist/chunks/settings-1.1.16-0twvg2yc.mjs +0 -1
- package/dist/chunks/setup-1.1.16-mhj053ej.mjs +0 -12
- package/dist/chunks/sinks-1.1.16-10wxx1a3.mjs +0 -1
- package/dist/chunks/skills-1.1.16-r7v633j2.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.16-mmrhkw7p.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.16-8tj1n7gt.mjs +0 -1
- package/dist/chunks/state-1.1.16-8zy52d2r.mjs +0 -1
- package/dist/chunks/stats-1.1.16-mrmhzc8j.mjs +0 -6
- package/dist/chunks/status-1.1.16-qpanvb67.mjs +0 -1
- package/dist/chunks/stickers-1.1.16-0d4zm7x4.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.16-3pz224am.mjs +0 -1
- package/dist/chunks/tasks-1.1.16-cv8bsqt6.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.16-yrkqrc58.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.16-xgaxxh5q.mjs +0 -1
- package/dist/chunks/teleport-1.1.16-rhtckzvp.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.16-fptwmgph.mjs +0 -1
- package/dist/chunks/theme-1.1.16-4tskjw6p.mjs +0 -1
- package/dist/chunks/thinkback-1.1.16-d1x5jsx0.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.16-54xyd092.mjs +0 -1
- package/dist/chunks/toolPool-1.1.16-ga5s9f1k.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.16-xw1xa379.mjs +0 -1
- package/dist/chunks/tools-1.1.16-h2yhp23r.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.16-nrdjhk2z.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.16-4yvp9q16.mjs +0 -69
- package/dist/chunks/types-1.1.16-47y90s0f.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.16-ej1e8hkt.mjs +0 -4
- package/dist/chunks/update-1.1.16-rtkcq95j.mjs +0 -72
- package/dist/chunks/upgrade-1.1.16-52bm5sf9.mjs +0 -1
- package/dist/chunks/upload-1.1.16-m2wyhzek.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.16-vwczyqak.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.16-qa109pxx.mjs +0 -1
- package/dist/chunks/usage-1.1.16-yqk04de2.mjs +0 -1
- package/dist/chunks/util-1.1.16-5f2kcd2a.mjs +0 -1
- package/dist/chunks/utils-1.1.16-pgvxvt37.mjs +0 -1
- package/dist/chunks/vim-1.1.16-9pd3j7qj.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.16-wdxk66eb.mjs +0 -13
- package/dist/chunks/watcher-1.1.16-cd9fad12.mjs +0 -1
- package/dist/chunks/wiki-1.1.16-8290ftnh.mjs +0 -132
- package/dist/chunks/workflows-1.1.16-f4k926bs.mjs +0 -1
- package/dist/chunks/worktree-1.1.16-4s4hp83q.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.16-je59whhd.mjs +0 -1
- package/dist/chunks/wrapper-1.1.16-dfsehczs.mjs +0 -7
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$9 as el,G9 as nt,H9 as hl,I9 as bl,J9 as ml,K9 as fn,L9 as $c,M9 as fu,N9 as Al,O9 as ys,P9 as El,Q9 as st,R9 as hs,S9 as k,T9 as ur,U9 as Qc,V9 as Bc,W9 as ra,X9 as Xc,Y9 as Yc,Z9 as Zc,_9 as Jc,a_ as Hc,b_ as cr,c_ as Cc,d_ as Ts,e_ as gl}from"./cli-1.1.17-18k7783y.mjs";import{f_ as ie}from"./cli-1.1.17-phaqkjy5.mjs";import{Wsa as kc,Xsa as Le}from"./cli-1.1.17-zs8ffrtz.mjs";import{Zsa as Vc}from"./cli-1.1.17-2b4keqra.mjs";import{$sa as Fe,ata as ve,dta as De,eta as ee}from"./cli-1.1.17-9q30wadt.mjs";import{hta as E,kta as Bs}from"./cli-1.1.17-6ee0nqae.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 F9};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{ZU as O,_U as S}from"./cli-1.1.17-6e7rvf1a.mjs";import{Hba as R,Jba as _,L$ as I,O_ as D,P_ as x,Vga as G,bha as y,gfa as z,hfa as A,n$ as B,o$ as M,vfa as k}from"./cli-1.1.17-pmner0m4.mjs";import{ija as q,kja as v}from"./cli-1.1.17-gbx2evhw.mjs";import{Wra as K,Xra as W}from"./cli-1.1.17-fpt9fhj3.mjs";W();v();k();_();x();I();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(R.platform==="win32")return[];if(!await M())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
|
|
2
|
+
`)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(B(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
|
|
3
|
+
export{P as Ha,d as Ia,p as Ja};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Gc as v,Hc as m,Ic as Vk}from"./cli-1.1.17-sqnbm5cb.mjs";import{BF as Gk,HS as r,IS as kk,JO as o,LG as n,LO as t,MG as w,MS as Dk,NG as i,OO as Tk,QG as Lk,SO as e,TO as Ck,Xn as p,YA as s,Yn as jk,ZA as zk,sF as g,tF as a,xz as l,yz as wk}from"./cli-1.1.17-tjtarhk9.mjs";import{Y4 as L,c5 as Jk,w5 as f,y5 as Ok}from"./cli-1.1.17-cvtpmgr1.mjs";import{V8 as u,W8 as Ik,e9 as d,h9 as Mk}from"./cli-1.1.17-1nxc4dk2.mjs";import{i_ as S,n_ as _k}from"./cli-1.1.17-qwkbwe37.mjs";import{Gga as _,I_ as K,Jga as Hk,K_ as Zk,P$ as P,T$ as $k,Tda as D,afa as U,efa as b,jea as Kk,nfa as c,vfa as $}from"./cli-1.1.17-pmner0m4.mjs";import{Dha as J,Hha as Yk}from"./cli-1.1.17-6yqbrqsj.mjs";import{Wja as G,Xja as Bk}from"./cli-1.1.17-zeqbjpg8.mjs";import{$ka as B,cka as O,cla as C,eka as Rk}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as Xk,tla as h,zla as Y}from"./cli-1.1.17-w8ycz611.mjs";import{Mla as E,Ula as Wk}from"./cli-1.1.17-db7epgkw.mjs";import{Xoa as F,Zoa as y,npa as V,xra as j}from"./cli-1.1.17-d9y6k8vc.mjs";import{Wra as A,Xra as Qk}from"./cli-1.1.17-fpt9fhj3.mjs";import{kta as W}from"./cli-1.1.17-6ee0nqae.mjs";Yk();j();$();Qk();j();j();wk();Ok();Gk();Lk();Bk();Hk();Jk();var z=!1;function T(){if(z)return;if(z=!0,L()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDIN_CLIENT_CERT||process.env.CLAUDIN_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||G().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();C();Kk();function x(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=U()?.env,Q=D("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();C();_k();Zk();jk();Wk();Xk();Dk();Vk();Ik();Tk();Mk();Ck();zk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(v(),x(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-1.1.17-ysw58c2m.mjs"),import("./growthbook-1.1.17-d41p6v8e.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),f(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),w())n();if(a())g();J("init_after_remote_settings_check"),c();let Q=Date.now();B("[init] configureGlobalMTLS starting"),u(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),d(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),T(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.1.17-g55vw948.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.1.17-agk55s1k.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-1.1.17-4adaqsmb.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(V()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
+
`),kk(1);return}return import("./InvalidConfigDialog-1.1.17-dsnkhped.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(w()){if(V()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),m(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await Uk()}catch(k){throw I=!1,k}}async function Uk(){let{initializeTelemetry:k}=await import("./instrumentation-1.1.17-2n85eb8r.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
|
|
3
|
+
export{Yq as _,Zq as $};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_x as C,by as X}from"./cli-1.1.17-tjtarhk9.mjs";import{f4 as W}from"./cli-1.1.17-40gj2tc0.mjs";import{M6 as I,Z6 as J,e7 as V}from"./cli-1.1.17-cvtpmgr1.mjs";import{Sha as H,lia as T}from"./cli-1.1.17-gz7gazer.mjs";import{fta as P,jta as Q}from"./cli-1.1.17-6ee0nqae.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
+
export{v as dd,Y as ed};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Od as j,Pd as w,Qd as _,Rd as D,Sd as L,Td as A,Ud as O}from"./cli-1.1.17-mc6hgzsa.mjs";import{Cp as b,KS as h,LB as W,MS as y,OB as V,QB as C,wM as X,xM as I,zp as R}from"./cli-1.1.17-tjtarhk9.mjs";import{Vga as U,bha as S,w_ as Q,x_ as N}from"./cli-1.1.17-pmner0m4.mjs";import{$ja as v,Yja as K}from"./cli-1.1.17-h68j8yr4.mjs";import{ela as x,ila as M}from"./cli-1.1.17-f0f3ww1e.mjs";import{Gla as F,zla as B}from"./cli-1.1.17-w8ycz611.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
|
|
2
|
+
`);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
|
|
3
|
+
`),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
|
|
4
|
+
export{g as h,a as i,i as j,u as k,n as l,r as m};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A5 as _,B5 as Y,C5 as y,z5 as H}from"./cli-1.1.17-cvtpmgr1.mjs";import{I_ as M,K_ as f}from"./cli-1.1.17-pmner0m4.mjs";import{$ka as x,Nka as P,Rka as p,cka as F,cla as S,eka as b}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as R,zla as V}from"./cli-1.1.17-w8ycz611.mjs";import{Mla as U,Ula as g}from"./cli-1.1.17-db7epgkw.mjs";import{Jpa as D,Kpa as W,xra as A}from"./cli-1.1.17-d9y6k8vc.mjs";import{jta as L}from"./cli-1.1.17-6ee0nqae.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function o(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function s(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{b();f();g();Z=new Map});var $q;var h=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
|
|
2
|
+
export{k as HW,o as IW,s as JW,u as KW,e as LW,qq as MW,Gq as NW,Jq as OW,Kq as PW,Qq as QW,m as RW,$q as SW,h as TW};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hta as j}from"./cli-1.1.17-6ee0nqae.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.8"});
|
|
2
|
+
export{Lt as f4};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jta as B}from"./cli-1.1.17-6ee0nqae.mjs";function D(g,q){switch(q.type){case"set_local_jsx":{if(q.generation<g.generation)return g;return{state:{...q.payload,isLocalJSXCommand:!0},generation:g.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:g.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(g.hasLocalJSXActive)return g;return{...g,state:q.payload}}case"set_null":{if(g.hasLocalJSXActive)return g;if(g.state===null)return g;return{...g,state:null}}}}var C;var F=B(()=>{C={state:null,generation:0,hasLocalJSXActive:!1}});function K(g){return z=g,()=>{if(z===g)z=null}}function L(g){let q=D(w,g);if(q===w)return;w=q,z?.(q.state)}function M(){return w.generation}var w,z=null;var G=B(()=>{F();w=C});
|
|
2
|
+
export{K as Ei,L as Fi,M as Gi,G as Hi};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{jta as I}from"./cli-1.1.17-6ee0nqae.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
|
|
2
|
+
`:`
|
|
3
|
+
`)+H,K=J+1,J=$.indexOf(`
|
|
4
|
+
`,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
|
|
5
|
+
`);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
|
|
6
|
+
export{q1 as i9,Y1 as j9,X1 as k9};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ud as Y,vd as Z,wd as _,zd as b}from"./cli-1.1.17-rpac3qey.mjs";import{Pd as X,Ud as V}from"./cli-1.1.17-mc6hgzsa.mjs";import{aM as T,fM as U,kM as O,lM as W,vM as S}from"./cli-1.1.17-tjtarhk9.mjs";import{$ka as Q,cla as K}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as C,zla as L}from"./cli-1.1.17-w8ycz611.mjs";V();K();C();S();O();b();function j(E,H,J){let G=new Set(H.plugins.map((v)=>v.name)),z=`@${J}`,q=[];for(let v of Object.keys(E.plugins)){if(!v.endsWith(z))continue;let h=v.slice(0,-z.length);if(!G.has(h))q.push(v)}return q}async function F(){await Y();let E=W(),H=Z(),J=await T(),G=[];for(let z of Object.keys(J))try{let q=await U(z);if(!q.forceRemoveDeletedPlugins)continue;let v=j(E,q,z);for(let h of v){if(h in H)continue;let R=E.plugins[h]??[];if(!R.some((A)=>A.scope==="user"||A.scope==="project"||A.scope==="local"))continue;for(let A of R){let{scope:B}=A;if(B!=="user"&&B!=="project"&&B!=="local")continue;try{await X(h,B)}catch($){Q(`Failed to auto-uninstall delisted plugin ${h} from ${B}: ${L($)}`,{level:"error"})}}await _(h),G.push(h)}}catch(q){Q(`Failed to check for delisted plugins in "${z}": ${L(q)}`,{level:"warn"})}return G}
|
|
2
|
+
export{F as Xa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{O8 as v,P8 as C}from"./cli-1.1.17-cvtpmgr1.mjs";import{Wfa as x,Xfa as Y,vea as Z,wea as V}from"./cli-1.1.17-pmner0m4.mjs";import{$ha as R,dia as W,lia as O}from"./cli-1.1.17-gz7gazer.mjs";import{Wja as Q,Xja as M}from"./cli-1.1.17-zeqbjpg8.mjs";import{$ka as f,Eka as P,Jka as I,cla as L}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as H,zla as w}from"./cli-1.1.17-w8ycz611.mjs";import{Wra as N,Xra as F}from"./cli-1.1.17-fpt9fhj3.mjs";import{Jsa as U,rsa as X}from"./cli-1.1.17-sekbxc10.mjs";import{gta as h,jta as B}from"./cli-1.1.17-6ee0nqae.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
+
export{u as UW,n as VW,o as WW,t as XW,d as YW};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{gX as H,iX as M}from"./cli-1.1.17-9wgw338h.mjs";import{Tda as B,Yda as D,aba as y,jba as K,jea as L}from"./cli-1.1.17-pmner0m4.mjs";import{jta as J}from"./cli-1.1.17-6ee0nqae.mjs";async function Z(){let b=await H();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let x=D()?.remote?.defaultEnvironmentId,z=b.find((q)=>q.kind!=="bridge")??b[0],A=null;if(x){let q=b.find((k)=>k.environment_id===x);if(q){z=q;for(let k=y.length-1;k>=0;k--){let w=y[k];if(!w||w==="flagSettings")continue;if(B(w)?.remote?.defaultEnvironmentId===x){A=w;break}}}}return{availableEnvironments:b,selectedEnvironment:z,selectedEnvironmentSource:A}}var P=J(()=>{K();L();M()});
|
|
2
|
+
export{Z as Zb,P as _b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jta as l}from"./cli-1.1.17-6ee0nqae.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
|
|
2
|
+
export{u as b4,E as c4,a as d4,c as e4};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Hb as j,Ib as x}from"./cli-1.1.17-6wdwjtdj.mjs";import{Nb as R}from"./cli-1.1.17-y9v9t43m.mjs";import{JW as M,KW as A}from"./cli-1.1.17-3z8hnad1.mjs";import{J7 as S,K7 as U}from"./cli-1.1.17-cvtpmgr1.mjs";import{$ka as Q,cla as H}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as T,zla as P}from"./cli-1.1.17-w8ycz611.mjs";H();T();A();function y(G){return{write:(J)=>G.write(J),writeBatch:(J)=>G.writeBatch(J),close:()=>G.close(),isConnectedStatus:()=>G.isConnectedStatus(),getStateLabel:()=>G.getStateLabel(),setOnData:(J)=>G.setOnData(J),setOnClose:(J)=>G.setOnClose(J),setOnConnect:(J)=>G.setOnConnect(J),connect:()=>void G.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return G.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function m(G){let{sessionUrl:J,ingressToken:X,sessionId:V,initialSequenceNum:_,getAuthToken:O}=G,Y;if(O)Y=()=>{let B=O();if(!B)return{};return{Authorization:`Bearer ${B}`}};else M(X);let Z=G.epoch??await R(J,X);Q(`[bridge:repl] CCR v2: worker sessionId=${V} epoch=${Z}${G.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let N=new URL(J);N.pathname=N.pathname.replace(/\/$/,"")+"/worker/events/stream";let L=new x(N,{},V,void 0,_,Y),q,K=new j(L,new URL(J),{getAuthHeaders:Y,heartbeatIntervalMs:G.heartbeatIntervalMs,heartbeatJitterFraction:G.heartbeatJitterFraction,onEpochMismatch:()=>{Q("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{K.close(),L.close(),q?.(4090)}catch(B){Q(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${P(B)}`,{level:"error"})}throw Error("epoch superseded")}});L.setOnEvent((B)=>{K.reportDelivery(B.event_id,"received"),K.reportDelivery(B.event_id,"processed")});let W,E=!1,z=!1;return{write(B){return K.writeEvent(B)},async writeBatch(B){for(let $ of B){if(z)break;await K.writeEvent($)}},close(){z=!0,K.close(),L.close()},isConnectedStatus(){return E},getStateLabel(){if(L.isClosedStatus())return"closed";if(L.isConnectedStatus())return E?"connected":"init";return"connecting"},setOnData(B){L.setOnData(B)},setOnClose(B){q=B,L.setOnClose(($)=>{K.close(),B($??4092)})},setOnConnect(B){W=B},getLastSequenceNum(){return L.getLastSequenceNum()},droppedBatchCount:0,reportState(B){K.reportState(B)},reportMetadata(B){K.reportMetadata(B)},reportDelivery(B,$){K.reportDelivery(B,$)},flush(){return K.flush()},connect(){if(!G.outboundOnly)L.connect();K.initialize(Z).then(()=>{E=!0,Q(`[bridge:repl] v2 transport ready for writes (epoch=${Z}, sse=${L.isConnectedStatus()?"open":"opening"})`),W?.()},(B)=>{Q(`[bridge:repl] CCR v2 initialize failed: ${P(B)}`,{level:"error"}),K.close(),L.close(),q?.(4091)})}}}class F{_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(...G){if(!this._active)return!1;return this._pending.push(...G),!0}drop(){this._active=!1;let G=this._pending.length;return this._pending.length=0,G}deactivate(){this._active=!1}}H();U();var g={maxAttempts:5,baseDelayMs:500,jitterFraction:0.25,maxDelayMs:4000};function D(G,J,X=Math.random){let V=J.baseDelayMs*2**(G-1),_=V*J.jitterFraction*(2*X()-1);return Math.min(V+_,J.maxDelayMs)}async function b(G,J){let{label:X,logPrefix:V="[bridge]",signal:_}=J;for(let O=1;O<=J.maxAttempts;O++){let Y=await G();if(Y!==null)return Y;if(_?.aborted)return Q(`${V} ${X} aborted after attempt ${O}/${J.maxAttempts}`),null;if(O<J.maxAttempts){let Z=D(O,J);Q(`${V} ${X} failed (attempt ${O}/${J.maxAttempts}), retrying in ${Math.round(Z)}ms`),await S(Z)}}return null}
|
|
2
|
+
export{y as Ab,m as Bb,F as Cb,g as Db,b as Eb};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Kha as N,Oha as T}from"./cli-1.1.17-g8x1ae0n.mjs";import{jta as Q}from"./cli-1.1.17-6ee0nqae.mjs";function X(){if(!process.stdin.isTTY||F||process.argv.includes("-p")||process.argv.includes("--print"))return;F=!0,A="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),J=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")U(q);q=process.stdin.read()}},process.stdin.on("readable",J)}catch{F=!1}}function U(q){let v=0;while(v<q.length){let M=q[v],z=M.charCodeAt(0);if(z===3){K(),process.exit(130);return}if(z===4){K();return}if(z===127||z===8){if(A.length>0){let O=N(A);A=A.slice(0,-(O.length||1))}v++;continue}if(z===27){v++;while(v<q.length&&!(q.charCodeAt(v)>=64&&q.charCodeAt(v)<=126))v++;if(v<q.length)v++;continue}if(z<32&&z!==9&&z!==10&&z!==13){v++;continue}if(z===13){A+=`
|
|
2
|
+
`,v++;continue}A+=M,v++}}function K(){if(!F)return;if(F=!1,J)process.stdin.removeListener("readable",J),J=null}function Y(){K();let q=A.trim();return A="",q}function Z(q){A=q}var A="",F=!1,J=null;var V=Q(()=>{T()});
|
|
3
|
+
export{X as H1,K as I1,Y as J1,Z as K1,V as L1};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$J as Bq,AR as yq,HK as Pq,OK as Yq,Px as e,QK as Uq,Qx as Hq,TJ as S,UB as qq,UJ as R,Up as a,VB as Nq,VJ as Xq,Wp as Kq,YJ as p,ZJ as k,_J as zq,aK as I,av as s,bK as b,dl as r,fl as vq,gv as t,iK as Gq,jK as Jq,mv as Wq,nK as hq,qK as Qq,rK as Oq,tK as Vq,uR as Zq}from"./cli-1.1.17-tjtarhk9.mjs";import{Vga as w,bha as Fq}from"./cli-1.1.17-pmner0m4.mjs";import{ija as o,kja as Lq}from"./cli-1.1.17-gbx2evhw.mjs";import{Gla as jq,sla as y}from"./cli-1.1.17-w8ycz611.mjs";import{jta as M}from"./cli-1.1.17-6ee0nqae.mjs";function x(B,z){let G=m[z]??1,Y=B!==void 0?m[B]:void 0;if(Y===void 0)return z;return Y<=G?B:z}var m;var g=M(()=>{m={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
|
|
2
|
+
…[truncated ${B.length-z} chars]`}function u(B,z,G,Y){let V=[];if(V.push(`You are a worker agent in the "${B.name}" workflow, phase "${Y.name}".`),B.instructions.trim())V.push(`Workflow instructions:
|
|
3
|
+
${B.instructions.trim()}`);if(V.push(`Task:
|
|
4
|
+
${z}`),G.trim())V.push(`Work so far (accumulated artifact from earlier phases):
|
|
5
|
+
${C(G.trim(),$q)}`);return V.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),V.join(`
|
|
6
|
+
|
|
7
|
+
`)}function c(B,z){let G=[];if(G.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())G.push(`Workflow instructions:
|
|
8
|
+
${z.instructions.trim()}`);G.push(`Task:
|
|
9
|
+
${B.task}`);let Y=z.steps.findIndex((Q)=>Q.name===B.currentStep),V=z.steps.map((Q,J)=>{let j=J<Y?"[done]":J===Y?"[current]":"[pending]",W=I(Q)?" (terminal)":"";return` ${J+1}. ${Q.name} ${j}${W}`}).join(`
|
|
10
|
+
`);if(G.push(`Phases:
|
|
11
|
+
${V}`),B.history.length>0){let Q=B.history.map((J)=>{let j=J.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
|
|
12
|
+
${C(q.output,f).split(`
|
|
13
|
+
`).map((H)=>` ${H}`).join(`
|
|
14
|
+
`)}`}).join(`
|
|
15
|
+
`),W=J.decision?` decision: ${J.decision.decision}${J.decision.target?` → ${J.decision.target}`:""} — ${J.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${J.step}":
|
|
16
|
+
${j}
|
|
17
|
+
${J.synthesis?` synthesis: ${C(J.synthesis,f)}
|
|
18
|
+
`:""}${W}`}).join(`
|
|
19
|
+
|
|
20
|
+
`);G.push(`History (all phases so far):
|
|
21
|
+
${Q}`)}let $=z.steps[Y]?.handbackTo??[];return G.push($.length>0?`From the current phase you may hand back to: ${$.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),G.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),G.join(`
|
|
22
|
+
|
|
23
|
+
`)}var f=4000,$q=6000;var l=M(()=>{b()});function d(B,z,G){let Y=G.steps,V=Y.findIndex((j)=>j.name===B.currentStep),Z={...B.refineCounts},$=B.transitions+1,Q=B.currentStep,J="running";if(z.decision==="advance"){let j=Y[V+1];if(I(j)){if(J="done",j)Q=j.name}else Q=j.name}else if(z.decision==="refine"){if(Z[Q]=(Z[Q]??0)+1,Z[Q]>k)J="stalled"}else{let j=Y[V]?.handbackTo??[];if(!z.target||!j.includes(z.target))J="stalled";else if(Z[z.target]=(Z[z.target]??0)+1,Z[z.target]>k)J="stalled";else Q=z.target}if(J==="running"&&$>=p)J="stalled";return{...B,currentStep:Q,status:J,refineCounts:Z,transitions:$,updatedAt:Date.now()}}var i=M(()=>{b()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function wq(B){let z="",G=0;for(let V=B.length-1;V>=0;V--){let Z=B[V];if(Z.type!=="assistant"||!Z.message)continue;if(!z){let $=(Z.message.content??[]).filter((Q)=>Q.type==="text"&&Q.text);if($.length>0)z=$.map((Q)=>Q.text??"").join(`
|
|
24
|
+
`)}if(G===0&&Z.message.usage)G=Zq(Z.message.usage);if(z&&G)break}let Y=e(B);return{text:z,tokens:G,tools:Y}}async function n(B){let{label:z,agentDef:G,promptText:Y,toolUseContext:V,canUseTool:Z,extraTools:$,runId:Q}=B,J=Date.now(),j=V.getAppState(),W=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(G.permissionMode,W)},L=Yq(q,j.mcp.tools);if($&&$.length>0)L=[...L,...$];let H=G.model??String(V.options.mainLoopModel??""),F=[],N,P=!1;try{let K=qq({agentDefinition:G,promptMessages:[Vq({content:Y})],toolUseContext:V,canUseTool:Z,isAsync:!1,querySource:a(G.agentType,s(G)),availableTools:L,transcriptSubdir:`workflows/${Q}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let h of K)if(F.push(h),h.type==="attachment"&&h.attachment?.type==="structured_output")N=h.attachment.data}catch(K){if(y(K))throw K;w(K),P=!0}let{text:E,tokens:_,tools:X}=wq(F);return{run:{label:z,model:H,tokens:_,tools:X,ms:Date.now()-J,output:P?"":E,failed:P},structuredOutput:N}}async function tq(B){let{def:z,task:G,toolUseContext:Y,canUseTool:V,onProgress:Z,signal:$}=B,{allAgents:Q}=await t(o()),J=new Map(Q.map((H)=>[H.agentType,H]));J.set(S,R);let j=J.get(z.main??S)??R,W=new AbortController;if($)if($.aborted)W.abort();else $.addEventListener("abort",()=>W.abort(),{once:!0});let q=await Gq({workflow:z.name,description:z.description,task:G,firstStep:z.steps[0].name});Z?.(q);let L=async()=>{await Jq(q),Z?.(q)};while(q.status==="running"){if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let H=z.steps.findIndex((v)=>v.name===q.currentStep),F=z.steps[H];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let N;try{N=(await Qq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=J.get(O);A=D?await n({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,G,q.artifact,F),toolUseContext:Y,canUseTool:V,runId:q.runId,abortController:W}):T}catch(D){if(y(D))throw D;w(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let P={step:F.name,stepIndex:H,agents:N,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+N.reduce((v,O)=>v+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&N.every((v)=>v.failed)){w(Error(`workflow phase "${F.name}": all ${N.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){w(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],X;try{X=await n({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Y,canUseTool:V,extraTools:_,runId:q.runId,abortController:W})}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let K=zq.safeParse(X.structuredOutput),h=[...q.history];if(h[h.length-1]={...P,synthesis:X.run.output,decision:K.success?K.data:null,agents:[...N,X.run]},q={...q,history:h,artifact:X.run.output.trim()?X.run.output:q.artifact,totalTokens:q.totalTokens+X.run.tokens,updatedAt:Date.now()},!K.success){w(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Wq();Hq();Nq();vq();Lq();jq();Fq();Pq();Kq();yq();Xq();g();l();hq();i();b()});
|
|
25
|
+
export{tq as Ci,Eq as Di};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{$w as B,RR as N,aR as L,bR as w,bx as U,dS as M}from"./cli-1.1.17-tjtarhk9.mjs";import{cba as z,jba as F,wda as P}from"./cli-1.1.17-pmner0m4.mjs";import{sha as I,yha as v}from"./cli-1.1.17-6yqbrqsj.mjs";import{jta as j}from"./cli-1.1.17-6ee0nqae.mjs";async function V(W){let{messages:J,getAppState:Q,options:{mainLoopModel:K,tools:Z,agentDefinitions:_,customSystemPrompt:X,appendSystemPrompt:Y}}=W,R=N(J),{messages:O}=await B(R),q=Q();return L(O,K,async()=>q.toolPermissionContext,Z,_,void 0,{options:{customSystemPrompt:X,appendSystemPrompt:Y}},void 0,R)}async function g(W,J){let Q=await V(J);return{type:"text",value:b(Q)}}function b(W){let{categories:J,totalTokens:Q,rawMaxTokens:K,percentage:Z,model:_,memoryFiles:X,mcpTools:Y,agents:R,skills:O}=W,q=`## Context Usage
|
|
2
|
+
|
|
3
|
+
`;q+=`**Model:** ${_}
|
|
4
|
+
`,q+=`**Tokens:** ${I(Q)} / ${I(K)} (${Z}%)
|
|
5
|
+
`,q+=`
|
|
6
|
+
`;let $=J.filter((E)=>E.tokens>0&&E.name!=="Free space"&&E.name!=="Autocompact buffer");if($.length>0){q+=`### Estimated usage by category
|
|
7
|
+
|
|
8
|
+
`,q+=`| Category | Tokens | Percentage |
|
|
9
|
+
`,q+=`|----------|--------|------------|
|
|
10
|
+
`;for(let H of $){let h=(H.tokens/K*100).toFixed(1);q+=`| ${H.name} | ${I(H.tokens)} | ${h}% |
|
|
11
|
+
`}let E=J.find((H)=>H.name==="Free space");if(E&&E.tokens>0){let H=(E.tokens/K*100).toFixed(1);q+=`| Free space | ${I(E.tokens)} | ${H}% |
|
|
12
|
+
`}let G=J.find((H)=>H.name==="Autocompact buffer");if(G&&G.tokens>0){let H=(G.tokens/K*100).toFixed(1);q+=`| Autocompact buffer | ${I(G.tokens)} | ${H}% |
|
|
13
|
+
`}q+=`
|
|
14
|
+
`}if(Y.length>0){q+=`### MCP Tools
|
|
15
|
+
|
|
16
|
+
`,q+=`| Tool | Server | Tokens |
|
|
17
|
+
`,q+=`|------|--------|--------|
|
|
18
|
+
`;for(let E of Y)q+=`| ${E.name} | ${E.serverName} | ${I(E.tokens)} |
|
|
19
|
+
`;q+=`
|
|
20
|
+
`}if(R.length>0){q+=`### Custom Agents
|
|
21
|
+
|
|
22
|
+
`,q+=`| Agent Type | Source | Tokens |
|
|
23
|
+
`,q+=`|------------|--------|--------|
|
|
24
|
+
`;for(let E of R){let G;switch(E.source){case"projectSettings":G="Project";break;case"userSettings":G="User";break;case"localSettings":G="Local";break;case"flagSettings":G="Flag";break;case"policySettings":G="Policy";break;case"plugin":G="Plugin";break;case"built-in":G="Built-in";break;default:G=String(E.source)}q+=`| ${E.agentType} | ${G} | ${I(E.tokens)} |
|
|
25
|
+
`}q+=`
|
|
26
|
+
`}if(X.length>0){q+=`### Memory Files
|
|
27
|
+
|
|
28
|
+
`,q+=`| Type | Path | Tokens |
|
|
29
|
+
`,q+=`|------|------|--------|
|
|
30
|
+
`;for(let E of X)q+=`| ${E.type} | ${E.path} | ${I(E.tokens)} |
|
|
31
|
+
`;q+=`
|
|
32
|
+
`}if(O&&O.tokens>0&&O.skillFrontmatter.length>0){q+=`### Skills
|
|
33
|
+
|
|
34
|
+
`,q+=`| Skill | Source | Tokens |
|
|
35
|
+
`,q+=`|-------|--------|--------|
|
|
36
|
+
`;for(let E of O.skillFrontmatter)q+=`| ${E.name} | ${z(E.source)} | ${I(E.tokens)} |
|
|
37
|
+
`;q+=`
|
|
38
|
+
`}return q}var A=j(()=>{U();w();v();M();F();P()});
|
|
39
|
+
export{V as Dh,g as Eh,A as Fh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jta as o}from"./cli-1.1.17-6ee0nqae.mjs";var t=3,n=1,i=32,_="generativelanguage.googleapis.com",s,c="api.kimi.com",p,r,a,E;var e=o(()=>{s=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),r=new Set(["api.deepseek.com"]),a={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
+
export{t as t9,n as u9,i as v9,_ as w9,s as x9,c as y9,p as z9,r as A9,a as B9,E as C9,e as D9};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{bd as Q,cd as Y}from"./cli-1.1.17-0511dy9y.mjs";import{Bl as H,Cl as B,Gl as U,Hl as V,Qp as J,Rp as W,oN as K,wN as X}from"./cli-1.1.17-tjtarhk9.mjs";import{gta as q,jta as v}from"./cli-1.1.17-6ee0nqae.mjs";function P(k){return x.some((h)=>k.endsWith(h))}function C(k){return k.filter((h)=>H.has(h.name)||P(h.name))}function A(k,h,E){let[Z,$]=Q(J([...k,...h],"name"),K),w=(g,j)=>g.name.localeCompare(j.name),z=[...$.sort(w),...Z.sort(w)];if(G){if(G.isCoordinatorMode())return C(z)}return z}var x,G;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];G=(V(),q(U))});
|
|
2
|
+
export{P as Zc,C as _c,A as $c,D as ad};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Xsa as p,Ysa as a}from"./cli-1.1.17-zs8ffrtz.mjs";import{hta as i}from"./cli-1.1.17-6ee0nqae.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
|
|
2
|
+
export{u as E9};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ita as x,jta as z}from"./cli-1.1.17-6ee0nqae.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
|
|
2
|
+
export{A as C2,F as D2,G as E2,H as F2,J as G2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A8 as T,G8 as f,P8 as WB,x8 as Z}from"./cli-1.1.17-cvtpmgr1.mjs";import{A_ as O,B_ as BB,Iba as _,Jba as KB,afa as A,mfa as v,vfa as QB}from"./cli-1.1.17-pmner0m4.mjs";import{ija as w,kja as JB}from"./cli-1.1.17-gbx2evhw.mjs";import{Mla as F,Ula as e}from"./cli-1.1.17-db7epgkw.mjs";import{Lma as I,Mma as i,Xma as M,Yma as m,fma as S,gma as s,xra as a,yna as R}from"./cli-1.1.17-d9y6k8vc.mjs";import{Wra as q,Xra as t}from"./cli-1.1.17-fpt9fhj3.mjs";import{jta as K}from"./cli-1.1.17-6ee0nqae.mjs";function u(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=u});function p(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=p});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function c(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();i();U=c});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,g.cache.clear?.()}function TB(){W=null,Q=null,g.cache.clear?.(),j.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return j()}var W=null,Q=null,g,j;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();g=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),d=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:d,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});j=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
|
|
2
|
+
export{kB as VU,r as WU,vB as XU,TB as YU,j as ZU,ZB as _U};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
|
|
2
|
+
export{z as fta,A as gta,B as hta,C as ita,D as jta,F as kta,G as lta,H as mta};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{ab as h}from"./cli-1.1.17-wraax29e.mjs";import{df as KK,if as cK}from"./cli-1.1.17-6jzph4h7.mjs";import{CQ as MK,Cv as TK,MM as zK,NB as sz,OM as dK,PB as tz,QB as SK,an as rz,cn as hK,dL as Fz,dp as R,ep as vK,gp as oz,hU as b,jU as gK,kp as fK,lL as RK,rJ as mK,sJ as uK,tQ as bz,vv as Ez,wM as ez,xM as pK}from"./cli-1.1.17-tjtarhk9.mjs";import{kZ as Kz,pZ as DK,qZ as Qz,rZ as AK}from"./cli-1.1.17-h899gx3g.mjs";import{$6 as _z,B8 as Tz,D8 as Mz,E6 as yz,F8 as G,I6 as Oz,M6 as Dz,N6 as iz,P8 as jz,U6 as Az,Y4 as N,Z6 as A,c5 as x,e7 as F,r7 as nz,v7 as bK}from"./cli-1.1.17-cvtpmgr1.mjs";import{j9 as D,k9 as _K}from"./cli-1.1.17-44fk8h9v.mjs";import{$aa as NK,$da as Jz,A_ as Zz,B_ as GK,Cba as OK,E$ as cz,I_ as w,K_ as CK,L$ as EK,Tda as H,Tea as lz,Vda as $,Vga as V,Waa as t,Xda as gz,Yda as I,Zea as q,afa as W,bha as O,f$ as $z,fba as e,gfa as Wz,h$ as wK,hfa as Bz,ifa as az,jba as yK,jea as B,o$ as dz,vfa as _,zba as zz}from"./cli-1.1.17-pmner0m4.mjs";import{Dha as E,Hha as FK}from"./cli-1.1.17-6yqbrqsj.mjs";import{ija as pz,kja as PK}from"./cli-1.1.17-gbx2evhw.mjs";import{$ja as U,Yja as Z}from"./cli-1.1.17-h68j8yr4.mjs";import{Hka as n,Jka as BK,Kka as r,Nka as o,Rka as LK}from"./cli-1.1.17-2bc3gqw5.mjs";import{hla as s,ila as UK}from"./cli-1.1.17-f0f3ww1e.mjs";import{Bla as i,Gla as WK,zla as k}from"./cli-1.1.17-w8ycz611.mjs";import{Lla as C,Mla as v,Ola as uz,Ula as kK}from"./cli-1.1.17-db7epgkw.mjs";import{Gpa as l,Loa as Gz,Moa as vz,Noa as wz,Poa as fz,Zpa as a,npa as Sz,pna as M,tna as VK,xra as j,zpa as mz}from"./cli-1.1.17-d9y6k8vc.mjs";import{gta as jK}from"./cli-1.1.17-6ee0nqae.mjs";_K();DK();j();OK();WK();LK();NK();O();UK();yK();VK();BK();AK();import{readFileSync as IK}from"node:fs";var xK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function $Q(){let z=zz()?xK: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 qQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function HQ(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(D.red(`Error: Invalid JSON provided to --settings
|
|
2
|
+
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),n(X,z,"utf8")}else{let{resolvedPath:Y}=r(o(),K);try{IK(Y,"utf8")}catch(J){if(i(J))process.stderr.write(D.red(`Error: Settings file not found: ${Y}
|
|
3
|
+
`)),process.exit(1);throw J}X=Y}l(X),M()}catch(z){if(z instanceof Error)V(z);process.stderr.write(D.red(`Error processing settings: ${k(z)}
|
|
4
|
+
`)),process.exit(1)}}function Yz(K){try{let z=e(K);a(z),M()}catch(z){if(z instanceof Error)V(z);process.stderr.write(D.red(`Error processing --setting-sources: ${k(z)}
|
|
5
|
+
`)),process.exit(1)}}async function JQ(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}FK();gK();U();hK();_();bK();CK();kK();EK();GK();wK();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"}O();F();pK();fK();dK();U();_();O();B();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=H("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("",{has_error:!0})}}U();_();O();B();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("",{}),q((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}`))}}U();_();O();B();function Lz(){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=H("localSettings")||{},J={},L=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,L.push("enableAllProjectMcpServers");else if(z)L.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let y=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...y,...K.enabledMcpjsonServers])],L.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let y=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...y,...K.disabledMcpjsonServers])],L.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)$("localSettings",J);if(L.includes("enableAllProjectMcpServers")||L.includes("enabledMcpjsonServers")||L.includes("disabledMcpjsonServers"))Bz((y)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:S,disabledMcpjsonServers:m,...T}=y;return T});Z("",{migratedCount:L.length})}catch(Y){V(Y),Z("",{})}}B();function Uz(){let z=H("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}U();_();F();x();B();function Nz(){if(N()!=="firstParty")return;if(!_z())return;let K=H("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;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("",{from_model:K})}U();F();B();function Iz(){if(!Az())return;if(H("userSettings")?.model!=="opus")return;if(yz(Oz()))return;let z="opus[1m]",Q=A(z)===A(Dz())?void 0:z;$("userSettings",{model:Q}),Z("",{})}_();function xz(){q((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})}j();_();x();B();function Rz(){if(N()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Gz()==="sonnet[1m]")wz("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}U();jz();_();x();B();function kz(){if(N()!=="firstParty")return;if(!G()&&!Tz()&&!Mz())return;let K=H("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($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("",{from_model:K,has_1m:z})}U();_();O();RK();B();function Pz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(Fz()!=="enabled")return;try{let z=H("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}U();jz();_();x();B();function Cz(){if(W().opusProMigrationComplete)return;if(N()!=="firstParty"||!G()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!0});return}if(I()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!1,had_custom_model:!0})}cK();vK();j();PK();B();MK();U();TK();async function hz(K,z){let Q=await bz(K),X=Ez(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}SK();function sX(){try{let K=H("policySettings");if(K){let z=gz(K);Z("",{keyCount:z.length,keys:z.join(",")})}}catch{}}function tX(){let K=A(vz()??iz());hz(pz(),nz(K,fz())),zK().then(({enabled:z,errors:Q})=>{let X=ez();sz(z,X,oz()),tz(Q,X)}).catch((z)=>V(z))}function lK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDIN_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 eX(){if(rz())return;let[K,z,Q]=await Promise.all([dz(),cz(),qz()]);Z("",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:R.isSandboxingEnabled(),are_unsandboxed_commands_allowed:R.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:R.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:I().prefersReducedMotion??!1,...lK()})}var P=12;function zY(){if(W().migrationVersion!==P)Hz(),Vz(),Lz(),Cz(),Rz(),Nz(),kz(),Uz(),Iz(),xz(),Pz(),q((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});KK().catch(()=>{})}function KY(){if(Sz()){w("info","prefetch_system_context_non_interactive"),b();return}if(lz())w("info","prefetch_system_context_has_trust"),b();else w("info","prefetch_system_context_skipped_no_trust")}function QY(){E("eagerLoadSettings_start");let K=h("--settings");if(K)Xz(K);let z=h("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function XY(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 YY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:L,inputFormat:y,numAllowedTools:f,numDisallowedTools:S,mcpClientCount:m,worktreeEnabled:T,skipWebFetchPreflight:QK,githubActionInputs:u,dangerouslySkipPermissionsPassed:XK,permissionMode:YK,modeIsBypass:ZK,allowDangerouslySkipPermissionsPassed:$K,systemPromptFlag:p,appendSystemPromptFlag:d,thinkingConfig:qK,assistantActivationPath:c,isCoordinator:HK}){try{Z("",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:L,inputFormat:y,numAllowedTools:f,numDisallowedTools:S,mcpClientCount:m,worktree:T,skipWebFetchPreflight:QK,...u&&{githubActionInputs:u},dangerouslySkipPermissionsPassed:XK,permissionMode:YK,modeIsBypass:ZK,allowDangerouslySkipPermissionsPassed:$K,thinkingType:qK.type,...p&&{systemPromptFlag:p},...d&&{appendSystemPromptFlag:d},is_simple:uz()||void 0,is_coordinator:HK||void 0,...c&&{assistantActivationPath:c},autoUpdatesChannel:I().autoUpdatesChannel??"latest"})}catch(JK){V(JK)}}function ZY(K){}function $Y(K){return}
|
|
8
|
+
export{$Q as M,qQ as N,HQ as O,JQ as P,sX as Q,tX as R,eX as S,zY as T,KY as U,QY as V,XY as W,YY as X,ZY as Y,$Y as Z};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{B2 as N,w2 as S,x2 as D}from"./cli-1.1.17-tcxq0ah8.mjs";import{Vga as X,Zea as B,afa as O,bha as E,vea as H,vfa as d,wea as P}from"./cli-1.1.17-pmner0m4.mjs";import{Gla as f,yla as U}from"./cli-1.1.17-w8ycz611.mjs";import{Jla as W,Ula as b}from"./cli-1.1.17-db7epgkw.mjs";import{npa as T,xra as M}from"./cli-1.1.17-d9y6k8vc.mjs";import{Jsa as y,rsa as j}from"./cli-1.1.17-sekbxc10.mjs";import{fta as R,jta as p}from"./cli-1.1.17-6ee0nqae.mjs";import{mkdir as G,readFile as m,writeFile as _}from"fs/promises";import{dirname as F,join as u}from"path";function I(){return u(W(),"cache","changelog.md")}async function Jq(){let J=O();if(!J.cachedChangelog)return;let q=I();try{await G(F(q),{recursive:!0}),await _(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(H())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(F(Y),{recursive:!0}),await _(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await m(J,"utf-8");return $=q,q}catch{return $="",""}}function A(){return $??""}function L(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
|
|
2
|
+
`);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=A()){try{let z=L(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=A()){try{let q=L(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();d();b();f();E();P();N();w=R(S(),1)});
|
|
3
|
+
export{zq as cf,Jq as df,C as ef,h as ff,Kq as gf,Qq as hf,c as if};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jta as j}from"./cli-1.1.17-6ee0nqae.mjs";function G(){return`claude-swarm-${process.pid}`}var q="team-lead",A="claude-swarm",B="swarm-view",D="tmux",F="claude-hidden",H="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
|
|
2
|
+
export{q as r3,A as s3,B as t3,D as u3,F as v3,G as w3,H as x3,k as y3};
|