@claudiolabs/claudin 1.0.7 → 1.0.9
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/README.md +1 -0
- package/dist/chunks/AgentTool-1.0.9-pn7bw6yv.mjs +1 -0
- package/dist/chunks/App-1.0.9-4evjz5w2.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.9-bbb6t3r9.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.9-133vee5x.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.9-1bgty08c.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.9-acyyj7ky.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.9-8d430r75.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.9-6ew6r9f6.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.9-ze7bee5g.mjs +7 -0
- package/dist/chunks/Doctor-1.0.9-xy0g4b33.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.9-3yjz2cvs.mjs +6 -0
- package/dist/chunks/Grove-1.0.9-96nwpafr.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.9-ywr7fk06.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.9-2q4w4j4t.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.9-z37xr3zw.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.9-z7j3qhg7.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.9-gtxm4j8b.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.9-1mdk6qz8.mjs +1 -0
- package/dist/chunks/REPL-1.0.9-8b6q2gzd.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.9-e0r40skb.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.9-02v56nb9.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.9-bdgqerzr.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.9-vtm223ky.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.9-bmyks5dc.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.9-ns6fj8sv.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.9-98prvmmb.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.9-br4q9mkd.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.9-5nxztxpg.mjs +1 -0
- package/dist/chunks/add-dir-1.0.9-ypva61t4.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.9-x07mx3dr.mjs +1 -0
- package/dist/chunks/agents-1.0.9-3mfx5p6a.mjs +3 -0
- package/dist/chunks/agents-1.0.9-8srfrkqw.mjs +110 -0
- package/dist/chunks/api-1.0.9-797pjvs1.mjs +1 -0
- package/dist/chunks/asciicast-1.0.9-2jnc8jtk.mjs +1 -0
- package/dist/chunks/assistant-1.0.9-1ryssrnh.mjs +1 -0
- package/dist/chunks/auth-1.0.9-9xadhd5v.mjs +1 -0
- package/dist/chunks/auth-1.0.9-q57mj8gk.mjs +1 -0
- package/dist/chunks/autoMode-1.0.9-rz4pssbt.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.9-kx1fdq56.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.9-5c1na5cn.mjs +1 -0
- package/dist/chunks/branch-1.0.9-2857desd.mjs +4 -0
- package/dist/chunks/bridge-1.0.9-a2875hps.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.9-pqqgvm77.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.9-z4rqrrb8.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.9-e08pefvd.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.9-zt50pndw.mjs +1 -0
- package/dist/chunks/btw-1.0.9-55ev3ghy.mjs +1 -0
- package/dist/chunks/buddy-1.0.9-6z68f6ex.mjs +3 -0
- package/dist/chunks/cacache-1.0.9-h1eketz5.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.9-78r0f324.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.9-4t8zwh7m.mjs +4 -0
- package/dist/chunks/caches-1.0.9-8vpcw0da.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.9-7vwfj2q3.mjs +1 -0
- package/dist/chunks/claudemd-1.0.9-cd1jnewp.mjs +1 -0
- package/dist/chunks/clear-1.0.9-881ynng5.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.9-saxb5je9.mjs +1 -0
- package/dist/chunks/cli-1.0.9-01cy14p7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-03tgqcyj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-06kd11jd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-0e6g8sye.mjs +4 -0
- package/dist/chunks/cli-1.0.9-0f3ex0vg.mjs +15 -0
- package/dist/chunks/cli-1.0.9-0xhf29zj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-0xr97fha.mjs +4 -0
- package/dist/chunks/cli-1.0.9-11j6h2p2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-11tj558a.mjs +2 -0
- package/dist/chunks/cli-1.0.9-13q9fkxq.mjs +2 -0
- package/dist/chunks/cli-1.0.9-19gz2k9q.mjs +3 -0
- package/dist/chunks/cli-1.0.9-1adzaxwy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1de7bab0.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1f0bxa2a.mjs +18 -0
- package/dist/chunks/cli-1.0.9-1hcdwdyw.mjs +133 -0
- package/dist/chunks/cli-1.0.9-1p61fppv.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1pe38ex2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-1t8pkgtd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-25kh81st.mjs +18 -0
- package/dist/chunks/cli-1.0.9-2a1jman4.mjs +3 -0
- package/dist/chunks/cli-1.0.9-2gdex17t.mjs +2 -0
- package/dist/chunks/cli-1.0.9-2hgg2mnb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-2ncvyz2r.mjs +45 -0
- package/dist/chunks/cli-1.0.9-2prerh1s.mjs +2 -0
- package/dist/chunks/cli-1.0.9-2y9fcheg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3bdkmcp9.mjs +18 -0
- package/dist/chunks/cli-1.0.9-3ccxr1d8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3espt55t.mjs +20 -0
- package/dist/chunks/cli-1.0.9-3k1w3fc0.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3mv7thfe.mjs +21 -0
- package/dist/chunks/cli-1.0.9-3n2084tg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3wmanrzv.mjs +2 -0
- package/dist/chunks/cli-1.0.9-3wn7m4cv.mjs +3 -0
- package/dist/chunks/cli-1.0.9-3ye1460y.mjs +2 -0
- package/dist/chunks/cli-1.0.9-42ww2d94.mjs +2 -0
- package/dist/chunks/cli-1.0.9-49sanx9h.mjs +2 -0
- package/dist/chunks/cli-1.0.9-4fdvygwb.mjs +25 -0
- package/dist/chunks/cli-1.0.9-4kjme82s.mjs +2 -0
- package/dist/chunks/cli-1.0.9-4vrbbav9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-4yksn92y.mjs +2 -0
- package/dist/chunks/cli-1.0.9-51rze21n.mjs +2 -0
- package/dist/chunks/cli-1.0.9-537n2cda.mjs +2 -0
- package/dist/chunks/cli-1.0.9-593a1k2m.mjs +17 -0
- package/dist/chunks/cli-1.0.9-5afn268n.mjs +34 -0
- package/dist/chunks/cli-1.0.9-601tsydg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-625zsef6.mjs +2 -0
- package/dist/chunks/cli-1.0.9-6424zmgd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-67c9vgsq.mjs +5492 -0
- package/dist/chunks/cli-1.0.9-68er5cff.mjs +3 -0
- package/dist/chunks/cli-1.0.9-6q0e7nk4.mjs +3 -0
- package/dist/chunks/cli-1.0.9-6x8m34y6.mjs +67 -0
- package/dist/chunks/cli-1.0.9-6yxsfcyh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-71jbnxs0.mjs +4 -0
- package/dist/chunks/cli-1.0.9-7exncgt2.mjs +4 -0
- package/dist/chunks/cli-1.0.9-7gewnt7b.mjs +2 -0
- package/dist/chunks/cli-1.0.9-7xt7m2q5.mjs +2 -0
- package/dist/chunks/cli-1.0.9-806xk0g7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-81zj78t2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-89yxpmpq.mjs +3 -0
- package/dist/chunks/cli-1.0.9-8f06bgf9.mjs +4 -0
- package/dist/chunks/cli-1.0.9-8g8n5ceb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-8j4fe1qz.mjs +2 -0
- package/dist/chunks/cli-1.0.9-912srhxc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-963yvtxd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-9jyyb7zx.mjs +12 -0
- package/dist/chunks/cli-1.0.9-9p6ww1a0.mjs +2 -0
- package/dist/chunks/cli-1.0.9-9yr5whta.mjs +26 -0
- package/dist/chunks/cli-1.0.9-a0zm3d1g.mjs +2 -0
- package/dist/chunks/cli-1.0.9-aasy7y47.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ajhbq50f.mjs +2 -0
- package/dist/chunks/cli-1.0.9-awxee62m.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ayjdc0qr.mjs +2 -0
- package/dist/chunks/cli-1.0.9-az9m58wa.mjs +2 -0
- package/dist/chunks/cli-1.0.9-b029w2p8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-b11n0pyq.mjs +9 -0
- package/dist/chunks/cli-1.0.9-b38km1fw.mjs +2 -0
- package/dist/chunks/cli-1.0.9-b78v72rn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bas5sqzw.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bd7743tj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bg3jgpj8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-bqcs2981.mjs +4 -0
- package/dist/chunks/cli-1.0.9-c05x7nfj.mjs +3 -0
- package/dist/chunks/cli-1.0.9-c5n2kbdv.mjs +17 -0
- package/dist/chunks/cli-1.0.9-cc6btq9c.mjs +2 -0
- package/dist/chunks/cli-1.0.9-cdc3drzy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ch1ca19q.mjs +2 -0
- package/dist/chunks/cli-1.0.9-cthzntz1.mjs +2 -0
- package/dist/chunks/cli-1.0.9-cymry1xw.mjs +2 -0
- package/dist/chunks/cli-1.0.9-d8rq80ph.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dbs656rx.mjs +133 -0
- package/dist/chunks/cli-1.0.9-dg55k2hn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dg8j07p1.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dp3xhncn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-dvbfpdtc.mjs +24 -0
- package/dist/chunks/cli-1.0.9-e2f6b83v.mjs +2 -0
- package/dist/chunks/cli-1.0.9-e2mjjvjc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-e491drav.mjs +2 -0
- package/dist/chunks/cli-1.0.9-e8n90m9g.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ea0y4mww.mjs +2 -0
- package/dist/chunks/cli-1.0.9-eb7ne7cx.mjs +2 -0
- package/dist/chunks/cli-1.0.9-eeyg3kcg.mjs +4 -0
- package/dist/chunks/cli-1.0.9-efmzhqag.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ej3ahs6j.mjs +199 -0
- package/dist/chunks/cli-1.0.9-eq3sypj3.mjs +2 -0
- package/dist/chunks/cli-1.0.9-erz57dtz.mjs +6 -0
- package/dist/chunks/cli-1.0.9-ez2pcj03.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fejr36z6.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fhj3g7hg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fkbdtr1w.mjs +3 -0
- package/dist/chunks/cli-1.0.9-fkfc8k86.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fvw201bt.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fw4bsz0q.mjs +2 -0
- package/dist/chunks/cli-1.0.9-fx0e9bkg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-g8mgmpkc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-gctz0hyw.mjs +24 -0
- package/dist/chunks/cli-1.0.9-ge04svda.mjs +2 -0
- package/dist/chunks/cli-1.0.9-gh82pj8t.mjs +50 -0
- package/dist/chunks/cli-1.0.9-gjta07sd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-gsgbywct.mjs +25 -0
- package/dist/chunks/cli-1.0.9-gvp958jh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-h5kwp1cf.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ha9fdhs8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-hf6frb0e.mjs +9 -0
- package/dist/chunks/cli-1.0.9-htsk8rvv.mjs +42 -0
- package/dist/chunks/cli-1.0.9-j02z8apf.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j2832pm5.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j297swbj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j500vd5e.mjs +2 -0
- package/dist/chunks/cli-1.0.9-j6fwd0mg.mjs +3 -0
- package/dist/chunks/cli-1.0.9-jcnmjs31.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jfgy2jk6.mjs +5 -0
- package/dist/chunks/cli-1.0.9-jktrmswp.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jmxz57bg.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jq2h9s5r.mjs +2 -0
- package/dist/chunks/cli-1.0.9-jwye26tm.mjs +2 -0
- package/dist/chunks/cli-1.0.9-k7xzs5f3.mjs +2 -0
- package/dist/chunks/cli-1.0.9-k9k4mjr2.mjs +58 -0
- package/dist/chunks/cli-1.0.9-kfge7dzc.mjs +3 -0
- package/dist/chunks/cli-1.0.9-kw7p06w2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-m6k5afpm.mjs +3 -0
- package/dist/chunks/cli-1.0.9-mx0hp5fn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-n2eds51d.mjs +2 -0
- package/dist/chunks/cli-1.0.9-nc1t91tt.mjs +15 -0
- package/dist/chunks/cli-1.0.9-nm7ds98w.mjs +2 -0
- package/dist/chunks/cli-1.0.9-nz0skfsg.mjs +6 -0
- package/dist/chunks/cli-1.0.9-p3a08x10.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ppa9xdxq.mjs +2 -0
- package/dist/chunks/cli-1.0.9-pxkbc8zc.mjs +2 -0
- package/dist/chunks/cli-1.0.9-q38wwdnj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-q3fzs7rd.mjs +59 -0
- package/dist/chunks/cli-1.0.9-q3xyfb3x.mjs +2 -0
- package/dist/chunks/cli-1.0.9-q6e8xnkz.mjs +2 -0
- package/dist/chunks/cli-1.0.9-qb618hw7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-qjey3ysx.mjs +3 -0
- package/dist/chunks/cli-1.0.9-qpvnvfac.mjs +2 -0
- package/dist/chunks/cli-1.0.9-qyfx57wb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-r4ysx5t8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rd2hz2r7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rh1x9xts.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rhvh1vdg.mjs +39 -0
- package/dist/chunks/cli-1.0.9-rjq71gw8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rm8ssvm7.mjs +2 -0
- package/dist/chunks/cli-1.0.9-rpw6qq2j.mjs +2 -0
- package/dist/chunks/cli-1.0.9-s6nk6s0k.mjs +2 -0
- package/dist/chunks/cli-1.0.9-sbbswdzj.mjs +2 -0
- package/dist/chunks/cli-1.0.9-sbm5c6f2.mjs +2 -0
- package/dist/chunks/cli-1.0.9-sjqe138z.mjs +16 -0
- package/dist/chunks/cli-1.0.9-sx5z6m5d.mjs +24 -0
- package/dist/chunks/cli-1.0.9-t4qshvc1.mjs +12 -0
- package/dist/chunks/cli-1.0.9-t80qhn8j.mjs +8 -0
- package/dist/chunks/cli-1.0.9-t8c5khak.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tbzbnv01.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tcn5dpwj.mjs +6 -0
- package/dist/chunks/cli-1.0.9-tcszykvk.mjs +2 -0
- package/dist/chunks/cli-1.0.9-th90br16.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tkk94r4t.mjs +4 -0
- package/dist/chunks/cli-1.0.9-tv64yqec.mjs +2 -0
- package/dist/chunks/cli-1.0.9-tzke31bj.mjs +12 -0
- package/dist/chunks/cli-1.0.9-v1ymh1ej.mjs +7 -0
- package/dist/chunks/cli-1.0.9-v770djrd.mjs +2 -0
- package/dist/chunks/cli-1.0.9-vcf21zvy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-vhcxraj8.mjs +2 -0
- package/dist/chunks/cli-1.0.9-vvwt9bfb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-w1yvav1x.mjs +2 -0
- package/dist/chunks/cli-1.0.9-w5dyqxqk.mjs +2 -0
- package/dist/chunks/cli-1.0.9-wcm9r8rn.mjs +2 -0
- package/dist/chunks/cli-1.0.9-wk087awy.mjs +2 -0
- package/dist/chunks/cli-1.0.9-wm0q00hf.mjs +3 -0
- package/dist/chunks/cli-1.0.9-wny75xk9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-x06kapeh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-x3vqg6qp.mjs +2 -0
- package/dist/chunks/cli-1.0.9-x4t4nqd2.mjs +4 -0
- package/dist/chunks/cli-1.0.9-x4tngp24.mjs +5 -0
- package/dist/chunks/cli-1.0.9-x8ty0z67.mjs +12 -0
- package/dist/chunks/cli-1.0.9-xd6wrh53.mjs +2 -0
- package/dist/chunks/cli-1.0.9-xe8dc6qb.mjs +2 -0
- package/dist/chunks/cli-1.0.9-xtwh19d1.mjs +1 -0
- package/dist/chunks/cli-1.0.9-xx44tx6h.mjs +2 -0
- package/dist/chunks/cli-1.0.9-xyzdk3z1.mjs +2 -0
- package/dist/chunks/cli-1.0.9-y0zax3d9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-y1db6cvh.mjs +2 -0
- package/dist/chunks/cli-1.0.9-y7sdjd9n.mjs +2 -0
- package/dist/chunks/cli-1.0.9-ymbxfv5d.mjs +6 -0
- package/dist/chunks/cli-1.0.9-ympvk0av.mjs +6 -0
- package/dist/chunks/cli-1.0.9-z8ywz3b3.mjs +3 -0
- package/dist/chunks/cli-1.0.9-z9a1abx1.mjs +15 -0
- package/dist/chunks/cli-1.0.9-zd316ka9.mjs +2 -0
- package/dist/chunks/cli-1.0.9-zqr8aygv.mjs +2 -0
- package/dist/chunks/cli-1.0.9-zrphfr1b.mjs +4 -0
- package/dist/chunks/client-1.0.9-6ytq8zpq.mjs +1 -0
- package/dist/chunks/color-1.0.9-6fzgjvkk.mjs +1 -0
- package/dist/chunks/compact-1.0.9-zezrh8xr.mjs +3 -0
- package/dist/chunks/config-1.0.9-wvjbx4ke.mjs +1 -0
- package/dist/chunks/config-1.0.9-wvne91f5.mjs +1 -0
- package/dist/chunks/constants-1.0.9-2fzrexcb.mjs +1 -0
- package/dist/chunks/context-1.0.9-ygv4e0ng.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.9-jn0d4nj0.mjs +1 -0
- package/dist/chunks/conversation-1.0.9-gg4v7nyy.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.9-eyzv69et.mjs +1 -0
- package/dist/chunks/copy-1.0.9-1spbc1fd.mjs +9 -0
- package/dist/chunks/cost-1.0.9-axf868g8.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.9-zp88fdrv.mjs +1 -0
- package/dist/chunks/createSession-1.0.9-6xv9ygwy.mjs +1 -0
- package/dist/chunks/debug-1.0.9-j00wf57e.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.9-yzqemm6t.mjs +1446 -0
- package/dist/chunks/desktop-1.0.9-zq6w2b8s.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.9-mjzbbps4.mjs +1 -0
- package/dist/chunks/detection-1.0.9-yjvmg8pn.mjs +1 -0
- package/dist/chunks/diff-1.0.9-68dbevx4.mjs +1 -0
- package/dist/chunks/doctor-1.0.9-xgwzb4yw.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.9-p8be86qt.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.9-a7f6p18j.mjs +1 -0
- package/dist/chunks/effort-1.0.9-zv46qr82.mjs +10 -0
- package/dist/chunks/engine-1.0.9-zm715gn8.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.9-pbgxdbt9.mjs +1 -0
- package/dist/chunks/envUtils-1.0.9-jvdj5nsn.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.9-32y4kxzx.mjs +1 -0
- package/dist/chunks/environments-1.0.9-rapbbhdb.mjs +1 -0
- package/dist/chunks/errors-1.0.9-mr00r6m7.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.9-d9kwjybb.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.0.9-17y7nf7n.mjs +1 -0
- package/dist/chunks/exit-1.0.9-a8dgmc5m.mjs +1 -0
- package/dist/chunks/explorer-1.0.9-rr21y6bg.mjs +1 -0
- package/dist/chunks/export-1.0.9-m63465sz.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.9-jyvmfa3x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.9-jr4xqktt.mjs +1 -0
- package/dist/chunks/fast-1.0.9-944nf8hg.mjs +1 -0
- package/dist/chunks/feedback-1.0.9-c6qydbzp.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.9-25ey9wf6.mjs +1 -0
- package/dist/chunks/git-1.0.9-se8gx0p4.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.9-14n5qqvf.mjs +1 -0
- package/dist/chunks/goal-1.0.9-v5bwyvtb.mjs +4 -0
- package/dist/chunks/grove-1.0.9-twka7z5j.mjs +1 -0
- package/dist/chunks/growthbook-1.0.9-mghtxr31.mjs +1 -0
- package/dist/chunks/headless-1.0.9-m319gz5s.mjs +2 -0
- package/dist/chunks/heapdump-1.0.9-zk05f03w.mjs +6 -0
- package/dist/chunks/help-1.0.9-fjdspdd3.mjs +1 -0
- package/dist/chunks/hookChains-1.0.9-1p47yp2s.mjs +3 -0
- package/dist/chunks/hooks-1.0.9-gsae7evr.mjs +79 -0
- package/dist/chunks/hooks-1.0.9-ryra9j7e.mjs +1 -0
- package/dist/chunks/ide-1.0.9-5xk8pvc3.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.9-m8xt10vv.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.9-tv4b8ex4.mjs +1 -0
- package/dist/chunks/index-1.0.9-0mep6p2e.mjs +1 -0
- package/dist/chunks/index-1.0.9-41fkayp7.mjs +1 -0
- package/dist/chunks/index-1.0.9-4kgb526x.mjs +1 -0
- package/dist/chunks/index-1.0.9-6yrhew13.mjs +17 -0
- package/dist/chunks/index-1.0.9-90m3hak5.mjs +1 -0
- package/dist/chunks/index-1.0.9-93jbt8ts.mjs +1 -0
- package/dist/chunks/index-1.0.9-9ryfj4pb.mjs +1 -0
- package/dist/chunks/index-1.0.9-cq06g7a0.mjs +1 -0
- package/dist/chunks/index-1.0.9-f7brqkkr.mjs +1 -0
- package/dist/chunks/index-1.0.9-hvkdhsta.mjs +1 -0
- package/dist/chunks/index-1.0.9-jk2fhj8t.mjs +9 -0
- package/dist/chunks/index-1.0.9-kcnhr8fy.mjs +2 -0
- package/dist/chunks/index-1.0.9-kgymjzxf.mjs +1 -0
- package/dist/chunks/index-1.0.9-n9ganzdc.mjs +1 -0
- package/dist/chunks/index-1.0.9-p2kz6wm8.mjs +2 -0
- package/dist/chunks/index-1.0.9-q3kvfren.mjs +1 -0
- package/dist/chunks/index-1.0.9-qvjyptep.mjs +30 -0
- package/dist/chunks/index-1.0.9-sy14c383.mjs +1 -0
- package/dist/chunks/index-1.0.9-w84j6099.mjs +9 -0
- package/dist/chunks/index-1.0.9-xfjgkms3.mjs +1 -0
- package/dist/chunks/index-1.0.9-ystczwgk.mjs +1 -0
- package/dist/chunks/index-1.0.9-ythrtswh.mjs +5 -0
- package/dist/chunks/index-1.0.9-ytvws96r.mjs +1 -0
- package/dist/chunks/init-1.0.9-dk6ce4ec.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.9-xyxharkg.mjs +1 -0
- package/dist/chunks/ink-1.0.9-sj61qpy1.mjs +1 -0
- package/dist/chunks/insights-1.0.9-kc18bxsj.mjs +870 -0
- package/dist/chunks/install-1.0.9-41n1cava.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.9-d0jrca5q.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.9-sgvf9xhe.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.9-k55h305p.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.9-edx0pwv2.mjs +1 -0
- package/dist/chunks/keybindings-1.0.9-3j7rmqad.mjs +2 -0
- package/dist/chunks/knowledge-1.0.9-a0yrjtaw.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.9-vaxbjn5a.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.9-5v5xmfae.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.9-jkz1yssz.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.9-ymdjzq3r.mjs +1 -0
- package/dist/chunks/log-1.0.9-zkpyqa3m.mjs +1 -0
- package/dist/chunks/main-1.0.9-h2389xyv.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.9-m1nbgm9w.mjs +1 -0
- package/dist/chunks/mcp-1.0.9-0pffb151.mjs +4 -0
- package/dist/chunks/mcp-1.0.9-7te57n7g.mjs +1 -0
- package/dist/chunks/mcp-1.0.9-zx01gh7r.mjs +17 -0
- package/dist/chunks/mcpb-1.0.9-01pgh57h.mjs +1 -0
- package/dist/chunks/memory-1.0.9-t9n2z13b.mjs +3 -0
- package/dist/chunks/model-1.0.9-a1hweteq.mjs +1 -0
- package/dist/chunks/model-1.0.9-jpjmt8a2.mjs +2 -0
- package/dist/chunks/node-1.0.9-p2k460a4.mjs +12 -0
- package/dist/chunks/oauth-1.0.9-zjepvezc.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.9-gapf03nh.mjs +14 -0
- package/dist/chunks/output-style-1.0.9-ssjrzh6q.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.9-z6aewhjx.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.9-7gq7343s.mjs +1 -0
- package/dist/chunks/parser-1.0.9-pke5bjkh.mjs +1 -0
- package/dist/chunks/passes-1.0.9-r3ydzpyv.mjs +1 -0
- package/dist/chunks/permissions-1.0.9-97jpkg18.mjs +1 -0
- package/dist/chunks/permissions-1.0.9-c4jx0pxn.mjs +3 -0
- package/dist/chunks/plan-1.0.9-z3j9hsww.mjs +1 -0
- package/dist/chunks/plist-1.0.9-2acqr7kv.mjs +1 -0
- package/dist/chunks/plugin-1.0.9-z1m6zzew.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.9-41sskjk2.mjs +1 -0
- package/dist/chunks/plugins-1.0.9-6tptm5qm.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.9-wecvzns1.mjs +2 -0
- package/dist/chunks/print-1.0.9-dqymva6x.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.9-zyecjx4p.mjs +1 -0
- package/dist/chunks/process-1.0.9-2w0fkryd.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.9-4s05h1bj.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.9-5tvxytqm.mjs +9 -0
- package/dist/chunks/prompt-1.0.9-nb76g2sv.mjs +1 -0
- package/dist/chunks/prompt-1.0.9-va3886b6.mjs +1 -0
- package/dist/chunks/prompts-1.0.9-m9dxdech.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.9-xnnv5p87.mjs +13 -0
- package/dist/chunks/provider-1.0.9-cvmd8h1d.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.9-9g0pwem4.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.9-3rgdk5ee.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.9-vk9xmrr9.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.9-5jz3t4qr.mjs +34 -0
- package/dist/chunks/registry-1.0.9-9mvkaffy.mjs +1 -0
- package/dist/chunks/release-notes-1.0.9-6r7p97mn.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.9-xdhvgqpn.mjs +2 -0
- package/dist/chunks/remote-env-1.0.9-9htaxz0y.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.9-xgvn82tp.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.9-7s48fkf7.mjs +1 -0
- package/dist/chunks/rename-1.0.9-j3rs23m1.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.9-f67nzh9x.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.9-gxjrsm7t.mjs +1 -0
- package/dist/chunks/resume-1.0.9-9f2xh9ad.mjs +2 -0
- package/dist/chunks/rewind-1.0.9-2tjbaa5s.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.9-s35d4dq8.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.0.9-qzevh0jq.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.0.9-7vzjdzm5.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.9-q22mn3qe.mjs +1 -0
- package/dist/chunks/session-1.0.9-hnswn4q3.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.9-ap3h87gt.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.9-266mnj7x.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.9-kdgvfddk.mjs +1 -0
- package/dist/chunks/settings-1.0.9-1avp22jd.mjs +1 -0
- package/dist/chunks/setup-1.0.9-v2ar4w15.mjs +5 -0
- package/dist/chunks/sinks-1.0.9-03y6p189.mjs +1 -0
- package/dist/chunks/skills-1.0.9-7m3bv7w4.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.9-3pbpjpsx.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.9-r287g8qr.mjs +1 -0
- package/dist/chunks/state-1.0.9-5vj2cfb7.mjs +1 -0
- package/dist/chunks/stats-1.0.9-5wpymg6m.mjs +6 -0
- package/dist/chunks/status-1.0.9-zcea5prt.mjs +1 -0
- package/dist/chunks/stickers-1.0.9-01r7j7ce.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.9-mknwnjve.mjs +1 -0
- package/dist/chunks/tasks-1.0.9-cenyj69d.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.9-7hr689j5.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.9-r6bjthhg.mjs +1 -0
- package/dist/chunks/teleport-1.0.9-3a8fh64n.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.9-dbp1dey3.mjs +1 -0
- package/dist/chunks/theme-1.0.9-he0pz8e5.mjs +1 -0
- package/dist/chunks/thinkback-1.0.9-taf9vg12.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.9-11em8wf4.mjs +1 -0
- package/dist/chunks/toolPool-1.0.9-r3vtdta9.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.9-kwvr4k8b.mjs +1 -0
- package/dist/chunks/tools-1.0.9-2tg8nvhb.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.9-0q7ygrn2.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.9-579kp1mn.mjs +69 -0
- package/dist/chunks/types-1.0.9-8q18d5tt.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.9-9ejdt7py.mjs +4 -0
- package/dist/chunks/update-1.0.9-85n1z4v4.mjs +88 -0
- package/dist/chunks/upgrade-1.0.9-7q7cawa0.mjs +1 -0
- package/dist/chunks/upload-1.0.9-51kq9qt0.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.9-59ykzeyj.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.9-x7vgzkpg.mjs +1 -0
- package/dist/chunks/usage-1.0.9-z798edp5.mjs +1 -0
- package/dist/chunks/util-1.0.9-7kephmmr.mjs +1 -0
- package/dist/chunks/utils-1.0.9-ek4v8a00.mjs +1 -0
- package/dist/chunks/vim-1.0.9-kj0qj8nh.mjs +1 -0
- package/dist/chunks/watchLoop-1.0.9-r1awam6x.mjs +13 -0
- package/dist/chunks/watcher-1.0.9-9j8zqhdf.mjs +1 -0
- package/dist/chunks/wiki-1.0.9-w9wz311p.mjs +132 -0
- package/dist/chunks/workflows-1.0.9-9bwm4jqm.mjs +1 -0
- package/dist/chunks/worktree-1.0.9-wnbd6zc9.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.9-wjt137fb.mjs +1 -0
- package/dist/chunks/wrapper-1.0.9-dykv81xe.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help-workflow.txt +12 -0
- package/dist/help.txt +1 -0
- package/install.cjs +17 -1
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.7-syk5wnkb.mjs +0 -1
- package/dist/chunks/App-1.0.7-9xht4gsa.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.7-dnv7dmn7.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.7-q24ws7x8.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.7-e3kma94j.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.7-2m1y9b7f.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.7-1gpcb873.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.7-pyrnmhtt.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.7-whkynyby.mjs +0 -7
- package/dist/chunks/Doctor-1.0.7-3yedapcw.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.7-99ytgtp8.mjs +0 -6
- package/dist/chunks/Grove-1.0.7-c6wygjxb.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.7-a8a42yx1.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.7-0e1f33ss.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.7-141f7djg.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.7-scbcqde5.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.7-9f7rpy9p.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.7-6mjnccee.mjs +0 -1
- package/dist/chunks/REPL-1.0.7-3xhews8d.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.7-qq2sfpfr.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.7-x9djv2x5.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.7-f6caprdb.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.7-b511561j.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.7-9twx384a.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.7-x3j2hxpn.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.7-1y7h6yxr.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.7-na359dm9.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.7-2vx6krky.mjs +0 -1
- package/dist/chunks/add-dir-1.0.7-r9eb0fmb.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.7-v46w2p6e.mjs +0 -1
- package/dist/chunks/agents-1.0.7-ekjscjc4.mjs +0 -3
- package/dist/chunks/agents-1.0.7-v22jz68n.mjs +0 -110
- package/dist/chunks/api-1.0.7-v520kz7p.mjs +0 -1
- package/dist/chunks/asciicast-1.0.7-r61pgxmk.mjs +0 -1
- package/dist/chunks/assistant-1.0.7-c12zzeyg.mjs +0 -1
- package/dist/chunks/auth-1.0.7-gv0th62c.mjs +0 -1
- package/dist/chunks/auth-1.0.7-y9sxvs6e.mjs +0 -1
- package/dist/chunks/autoMode-1.0.7-yq0m3sf6.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.7-6fqzjxwg.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.7-7mzhb52b.mjs +0 -1
- package/dist/chunks/branch-1.0.7-66ms82bv.mjs +0 -4
- package/dist/chunks/bridge-1.0.7-cd3w20b9.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.7-wztmwmxc.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.7-046e65f0.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.7-knt8h92j.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.7-v2crbecf.mjs +0 -1
- package/dist/chunks/btw-1.0.7-eg973xg5.mjs +0 -1
- package/dist/chunks/buddy-1.0.7-ypvr18ck.mjs +0 -3
- package/dist/chunks/cacache-1.0.7-0tzh2dcw.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.7-hhfr94gj.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.7-51t2bh05.mjs +0 -4
- package/dist/chunks/caches-1.0.7-mvqghhkx.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.7-1mrhcxq6.mjs +0 -1
- package/dist/chunks/claudemd-1.0.7-kgynnx5a.mjs +0 -1
- package/dist/chunks/clear-1.0.7-08jf28zt.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.7-z4gkskcj.mjs +0 -1
- package/dist/chunks/cli-1.0.7-01cbaw74.mjs +0 -2
- package/dist/chunks/cli-1.0.7-05enwpnp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-073ekpkk.mjs +0 -21
- package/dist/chunks/cli-1.0.7-0dmnsy4c.mjs +0 -2
- package/dist/chunks/cli-1.0.7-0qbp0ac0.mjs +0 -17
- package/dist/chunks/cli-1.0.7-15qvkn0q.mjs +0 -15
- package/dist/chunks/cli-1.0.7-16wdg8r0.mjs +0 -18
- package/dist/chunks/cli-1.0.7-1fwxyw8s.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1j68v2d8.mjs +0 -3
- package/dist/chunks/cli-1.0.7-1mkaw3aw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1r1y3a1c.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1rw3xdy0.mjs +0 -58
- package/dist/chunks/cli-1.0.7-1s12ckef.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1sgef4sw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1ty38mre.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1xe7m9s1.mjs +0 -4
- package/dist/chunks/cli-1.0.7-1y8xdp9n.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2438cvr1.mjs +0 -3
- package/dist/chunks/cli-1.0.7-2cajdt14.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2csh6jt3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2k1bt916.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2pyjzmpq.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2wm3s497.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2xw882yk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-39nnxy0p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3arv8y4s.mjs +0 -12
- package/dist/chunks/cli-1.0.7-3fx5xqzq.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3ke0fbeq.mjs +0 -6
- package/dist/chunks/cli-1.0.7-3kmf6s21.mjs +0 -67
- package/dist/chunks/cli-1.0.7-3p608q44.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3pqhf5bj.mjs +0 -4
- package/dist/chunks/cli-1.0.7-3qnpcgyc.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3s41c41h.mjs +0 -20
- package/dist/chunks/cli-1.0.7-3s4ccas2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3xrc45nn.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3z1z90gf.mjs +0 -4
- package/dist/chunks/cli-1.0.7-41jm6paw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-45px4q2q.mjs +0 -12
- package/dist/chunks/cli-1.0.7-4a67zfe7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-4qwjg996.mjs +0 -2
- package/dist/chunks/cli-1.0.7-538yatrk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5f0y2nxn.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5h2vgm7b.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5kc9g0m9.mjs +0 -3
- package/dist/chunks/cli-1.0.7-5qss5m61.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5rxjz9r1.mjs +0 -2
- package/dist/chunks/cli-1.0.7-65xw81pn.mjs +0 -7
- package/dist/chunks/cli-1.0.7-67z7m1zx.mjs +0 -15
- package/dist/chunks/cli-1.0.7-6ncp8ban.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6r3vkkzw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6rt1agkh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6wm7jzey.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6yr2e385.mjs +0 -2
- package/dist/chunks/cli-1.0.7-73e5dz55.mjs +0 -2
- package/dist/chunks/cli-1.0.7-757ex32c.mjs +0 -199
- package/dist/chunks/cli-1.0.7-7egbzjdg.mjs +0 -12
- package/dist/chunks/cli-1.0.7-7gmv86pv.mjs +0 -25
- package/dist/chunks/cli-1.0.7-7qm9503t.mjs +0 -4
- package/dist/chunks/cli-1.0.7-7xhry9cz.mjs +0 -8
- package/dist/chunks/cli-1.0.7-7yrvwwdb.mjs +0 -2
- package/dist/chunks/cli-1.0.7-84dx5y2m.mjs +0 -2
- package/dist/chunks/cli-1.0.7-8fj15s8a.mjs +0 -2
- package/dist/chunks/cli-1.0.7-8hepstgz.mjs +0 -2
- package/dist/chunks/cli-1.0.7-8pfh7aha.mjs +0 -2
- package/dist/chunks/cli-1.0.7-96mb1gmj.mjs +0 -2
- package/dist/chunks/cli-1.0.7-96qpk0ct.mjs +0 -2
- package/dist/chunks/cli-1.0.7-97fqbfff.mjs +0 -2
- package/dist/chunks/cli-1.0.7-9p7hfa00.mjs +0 -2
- package/dist/chunks/cli-1.0.7-9pc6jb5f.mjs +0 -2
- package/dist/chunks/cli-1.0.7-9ws1j17m.mjs +0 -2
- package/dist/chunks/cli-1.0.7-a32vv8nk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-a78rj0kd.mjs +0 -9
- package/dist/chunks/cli-1.0.7-a7fahcda.mjs +0 -2
- package/dist/chunks/cli-1.0.7-a808xdj3.mjs +0 -3
- package/dist/chunks/cli-1.0.7-aa7vfbxa.mjs +0 -2
- package/dist/chunks/cli-1.0.7-af1m1akw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-akbc4ch3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-an2jwvew.mjs +0 -9
- package/dist/chunks/cli-1.0.7-anrcmph3.mjs +0 -3
- package/dist/chunks/cli-1.0.7-av93xde0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-b16t7f1a.mjs +0 -2
- package/dist/chunks/cli-1.0.7-b2pf78c9.mjs +0 -2
- package/dist/chunks/cli-1.0.7-b778v1dh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-baqj15a8.mjs +0 -2
- package/dist/chunks/cli-1.0.7-bc3sxk1j.mjs +0 -26
- package/dist/chunks/cli-1.0.7-bfe6f9c6.mjs +0 -2
- package/dist/chunks/cli-1.0.7-bkm2xek7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-bn0sb2w7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-c8kxp6h0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-cb42m3ff.mjs +0 -2
- package/dist/chunks/cli-1.0.7-cf47wta1.mjs +0 -2
- package/dist/chunks/cli-1.0.7-cs7epg9a.mjs +0 -2
- package/dist/chunks/cli-1.0.7-d1zc020r.mjs +0 -133
- package/dist/chunks/cli-1.0.7-d3txxwh5.mjs +0 -2
- package/dist/chunks/cli-1.0.7-dbyr517p.mjs +0 -4
- package/dist/chunks/cli-1.0.7-ddhhvx60.mjs +0 -2
- package/dist/chunks/cli-1.0.7-df9p9tj8.mjs +0 -24
- package/dist/chunks/cli-1.0.7-dhdv7vtc.mjs +0 -50
- package/dist/chunks/cli-1.0.7-dnn18rgf.mjs +0 -2
- package/dist/chunks/cli-1.0.7-dr2dca7n.mjs +0 -2
- package/dist/chunks/cli-1.0.7-f43w1f9g.mjs +0 -42
- package/dist/chunks/cli-1.0.7-f6490vr3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fcfrsawp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fckzct0z.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ff6dfmp3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fmdws8pg.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fvr9xx0m.mjs +0 -2
- package/dist/chunks/cli-1.0.7-g1hrx2r5.mjs +0 -18
- package/dist/chunks/cli-1.0.7-g42rsvs5.mjs +0 -2
- package/dist/chunks/cli-1.0.7-g6d9snde.mjs +0 -3
- package/dist/chunks/cli-1.0.7-ga6hk3n2.mjs +0 -3
- package/dist/chunks/cli-1.0.7-ghxmw318.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gj1806bk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gk53nva2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gnwjbdch.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gp71tfwe.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gq9fp39n.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gqf40mqk.mjs +0 -24
- package/dist/chunks/cli-1.0.7-h1g9rk4g.mjs +0 -4
- package/dist/chunks/cli-1.0.7-hd6xn6rt.mjs +0 -2
- package/dist/chunks/cli-1.0.7-hfcehnx9.mjs +0 -3
- package/dist/chunks/cli-1.0.7-hw8dxgj2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-j31m0f1y.mjs +0 -2
- package/dist/chunks/cli-1.0.7-j6hxvf4r.mjs +0 -2
- package/dist/chunks/cli-1.0.7-j6ndkfy3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-jn7nay2r.mjs +0 -2
- package/dist/chunks/cli-1.0.7-jz4phmb3.mjs +0 -3
- package/dist/chunks/cli-1.0.7-k38j6sgc.mjs +0 -2
- package/dist/chunks/cli-1.0.7-k3nnbdbv.mjs +0 -2
- package/dist/chunks/cli-1.0.7-kegj01e5.mjs +0 -133
- package/dist/chunks/cli-1.0.7-kf237s65.mjs +0 -2
- package/dist/chunks/cli-1.0.7-kgbv7bt5.mjs +0 -17
- package/dist/chunks/cli-1.0.7-khd0yqhk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-m17d94h8.mjs +0 -2
- package/dist/chunks/cli-1.0.7-mcmpb4cd.mjs +0 -2
- package/dist/chunks/cli-1.0.7-mv7ptsre.mjs +0 -2
- package/dist/chunks/cli-1.0.7-mwj9f8rw.mjs +0 -59
- package/dist/chunks/cli-1.0.7-mznh91ce.mjs +0 -2
- package/dist/chunks/cli-1.0.7-n5hf2vsh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-na7ksfyj.mjs +0 -2
- package/dist/chunks/cli-1.0.7-nhg85avf.mjs +0 -2
- package/dist/chunks/cli-1.0.7-nnd4za11.mjs +0 -3
- package/dist/chunks/cli-1.0.7-p4p38dky.mjs +0 -3
- package/dist/chunks/cli-1.0.7-p5setvdk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ph9qjcjb.mjs +0 -2
- package/dist/chunks/cli-1.0.7-pscxy55m.mjs +0 -3
- package/dist/chunks/cli-1.0.7-pxmf9kyf.mjs +0 -2
- package/dist/chunks/cli-1.0.7-pyacw9kn.mjs +0 -5
- package/dist/chunks/cli-1.0.7-q3ezj6q3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-q7w0ex1x.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qdtt526e.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qjtqaam0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qknq8k3p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qmm35cv2.mjs +0 -39
- package/dist/chunks/cli-1.0.7-qxjpkptr.mjs +0 -2
- package/dist/chunks/cli-1.0.7-r4h75bn4.mjs +0 -2
- package/dist/chunks/cli-1.0.7-rbrr75z2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-rz8h7nks.mjs +0 -2
- package/dist/chunks/cli-1.0.7-s11nkveb.mjs +0 -24
- package/dist/chunks/cli-1.0.7-s27f8y4p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-s5mhxbhn.mjs +0 -5476
- package/dist/chunks/cli-1.0.7-s6jjnyxd.mjs +0 -2
- package/dist/chunks/cli-1.0.7-s8e8tq3y.mjs +0 -2
- package/dist/chunks/cli-1.0.7-sjpx2md1.mjs +0 -2
- package/dist/chunks/cli-1.0.7-skm59maw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-sv4vj25b.mjs +0 -2
- package/dist/chunks/cli-1.0.7-t8m8vafg.mjs +0 -4
- package/dist/chunks/cli-1.0.7-tf8b1vhx.mjs +0 -2
- package/dist/chunks/cli-1.0.7-tvz0kwb6.mjs +0 -25
- package/dist/chunks/cli-1.0.7-txhggtd1.mjs +0 -16
- package/dist/chunks/cli-1.0.7-tz22r50p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-vcsdnmc0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-veqj11zy.mjs +0 -3
- package/dist/chunks/cli-1.0.7-vjgedfc4.mjs +0 -2
- package/dist/chunks/cli-1.0.7-vtd2sbnq.mjs +0 -3
- package/dist/chunks/cli-1.0.7-vw4n13wr.mjs +0 -2
- package/dist/chunks/cli-1.0.7-vx0rcgfm.mjs +0 -2
- package/dist/chunks/cli-1.0.7-w3g8c9m3.mjs +0 -18
- package/dist/chunks/cli-1.0.7-wahp9jjm.mjs +0 -5
- package/dist/chunks/cli-1.0.7-wc28nq81.mjs +0 -6
- package/dist/chunks/cli-1.0.7-wc4y0k3e.mjs +0 -12
- package/dist/chunks/cli-1.0.7-wgt5ay2x.mjs +0 -6
- package/dist/chunks/cli-1.0.7-wk9hs648.mjs +0 -2
- package/dist/chunks/cli-1.0.7-wmrv4paj.mjs +0 -45
- package/dist/chunks/cli-1.0.7-wqrgw4kw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ws7404wd.mjs +0 -2
- package/dist/chunks/cli-1.0.7-wwy64zs8.mjs +0 -4
- package/dist/chunks/cli-1.0.7-xdt2g9p7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xga48xv7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xh0afj9p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xhb3g1xh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xtj9j6ha.mjs +0 -15
- package/dist/chunks/cli-1.0.7-xvhkprcw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xxa9e3we.mjs +0 -4
- package/dist/chunks/cli-1.0.7-y8sq6jh3.mjs +0 -4
- package/dist/chunks/cli-1.0.7-y94dd4yd.mjs +0 -2
- package/dist/chunks/cli-1.0.7-yatztvfp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-yb9sxq0k.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ybcht1kp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-yc90byps.mjs +0 -34
- package/dist/chunks/cli-1.0.7-yyqg2waz.mjs +0 -2
- package/dist/chunks/cli-1.0.7-z53gtmpk.mjs +0 -6
- package/dist/chunks/cli-1.0.7-z5vgrn57.mjs +0 -2
- package/dist/chunks/cli-1.0.7-z9fvy0d8.mjs +0 -2
- package/dist/chunks/cli-1.0.7-zjapdrt8.mjs +0 -6
- package/dist/chunks/cli-1.0.7-zmqm6p6t.mjs +0 -2
- package/dist/chunks/cli-1.0.7-zsbst1mq.mjs +0 -1
- package/dist/chunks/cli-1.0.7-zwr4ga8c.mjs +0 -2
- package/dist/chunks/client-1.0.7-n8414pey.mjs +0 -1
- package/dist/chunks/color-1.0.7-99fmrmyq.mjs +0 -1
- package/dist/chunks/compact-1.0.7-91sa41px.mjs +0 -3
- package/dist/chunks/config-1.0.7-bjt981nd.mjs +0 -1
- package/dist/chunks/config-1.0.7-vfbd76cq.mjs +0 -1
- package/dist/chunks/constants-1.0.7-fj97y7dq.mjs +0 -1
- package/dist/chunks/context-1.0.7-qmktq4pg.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.7-w9828p3h.mjs +0 -1
- package/dist/chunks/conversation-1.0.7-d5q8rrwx.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.7-mhsm6qwp.mjs +0 -1
- package/dist/chunks/copy-1.0.7-hznd9dqf.mjs +0 -9
- package/dist/chunks/cost-1.0.7-hbpz16jx.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.7-5s4sy0qv.mjs +0 -1
- package/dist/chunks/createSession-1.0.7-mha5sscw.mjs +0 -1
- package/dist/chunks/debug-1.0.7-6kcgjwgp.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.7-5x2a3qnr.mjs +0 -1446
- package/dist/chunks/desktop-1.0.7-37m19pef.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.7-3ffa7wfs.mjs +0 -1
- package/dist/chunks/detection-1.0.7-bcwz3kz9.mjs +0 -1
- package/dist/chunks/diff-1.0.7-60vwaapm.mjs +0 -1
- package/dist/chunks/doctor-1.0.7-bc3r1p04.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.7-qe18rzqr.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.7-51cxad4b.mjs +0 -1
- package/dist/chunks/effort-1.0.7-mckjwtdk.mjs +0 -10
- package/dist/chunks/engine-1.0.7-1kqhk6mc.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.7-hbpge4a8.mjs +0 -1
- package/dist/chunks/envUtils-1.0.7-m63cpkg3.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.7-kg2xnt7t.mjs +0 -1
- package/dist/chunks/environments-1.0.7-jcrcam7e.mjs +0 -1
- package/dist/chunks/errors-1.0.7-vhtw6kg6.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.7-f254y3tf.mjs +0 -1
- package/dist/chunks/exit-1.0.7-f5s73g22.mjs +0 -1
- package/dist/chunks/explorer-1.0.7-yjpphptq.mjs +0 -1
- package/dist/chunks/export-1.0.7-7kn40p9m.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.7-xwb7xfe4.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.7-0dpsjjh0.mjs +0 -1
- package/dist/chunks/fast-1.0.7-9eg9g1mf.mjs +0 -1
- package/dist/chunks/feedback-1.0.7-kkw4fdj8.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.7-yaekw6be.mjs +0 -1
- package/dist/chunks/git-1.0.7-t3824xkx.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.7-m79e1ga1.mjs +0 -1
- package/dist/chunks/goal-1.0.7-jkmcdmm1.mjs +0 -4
- package/dist/chunks/grove-1.0.7-th5kn0n5.mjs +0 -1
- package/dist/chunks/growthbook-1.0.7-hnr2hv9t.mjs +0 -1
- package/dist/chunks/headless-1.0.7-2w17kqac.mjs +0 -2
- package/dist/chunks/heapdump-1.0.7-1qvsds14.mjs +0 -6
- package/dist/chunks/help-1.0.7-33ennxwb.mjs +0 -1
- package/dist/chunks/hookChains-1.0.7-8gt4r1qg.mjs +0 -3
- package/dist/chunks/hooks-1.0.7-970fsrks.mjs +0 -1
- package/dist/chunks/hooks-1.0.7-xyrevnk8.mjs +0 -79
- package/dist/chunks/ide-1.0.7-knfed9xe.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.7-5c1fwxwf.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.7-5p98j8m2.mjs +0 -1
- package/dist/chunks/index-1.0.7-0ce2q3me.mjs +0 -17
- package/dist/chunks/index-1.0.7-3tbze0ns.mjs +0 -1
- package/dist/chunks/index-1.0.7-3z09rqyx.mjs +0 -1
- package/dist/chunks/index-1.0.7-4g6596jt.mjs +0 -1
- package/dist/chunks/index-1.0.7-59cvfmen.mjs +0 -1
- package/dist/chunks/index-1.0.7-63vq5fws.mjs +0 -1
- package/dist/chunks/index-1.0.7-6wcbk6ve.mjs +0 -5
- package/dist/chunks/index-1.0.7-84wm5p43.mjs +0 -1
- package/dist/chunks/index-1.0.7-c0jfw97a.mjs +0 -9
- package/dist/chunks/index-1.0.7-dds9fcry.mjs +0 -1
- package/dist/chunks/index-1.0.7-ecq1qwpq.mjs +0 -1
- package/dist/chunks/index-1.0.7-gm6exxqq.mjs +0 -30
- package/dist/chunks/index-1.0.7-jh8savg9.mjs +0 -9
- package/dist/chunks/index-1.0.7-k8k38nbt.mjs +0 -1
- package/dist/chunks/index-1.0.7-kyyfrf6j.mjs +0 -1
- package/dist/chunks/index-1.0.7-m23r2bmv.mjs +0 -1
- package/dist/chunks/index-1.0.7-mmm10tac.mjs +0 -2
- package/dist/chunks/index-1.0.7-p82yhqst.mjs +0 -1
- package/dist/chunks/index-1.0.7-vyafwe23.mjs +0 -1
- package/dist/chunks/index-1.0.7-wazwyjm7.mjs +0 -1
- package/dist/chunks/index-1.0.7-wd33rv5q.mjs +0 -1
- package/dist/chunks/index-1.0.7-yhxty6kz.mjs +0 -1
- package/dist/chunks/index-1.0.7-zp3vs07b.mjs +0 -2
- package/dist/chunks/init-1.0.7-y29e6mb3.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.7-14rmpkte.mjs +0 -1
- package/dist/chunks/ink-1.0.7-gf3qdamf.mjs +0 -1
- package/dist/chunks/insights-1.0.7-hd6460mk.mjs +0 -870
- package/dist/chunks/install-1.0.7-antesxaa.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.7-0asc4ajr.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.7-zwna6gq3.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.7-wvv85h9t.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.7-pkmbfs0b.mjs +0 -1
- package/dist/chunks/keybindings-1.0.7-emp8m2vr.mjs +0 -2
- package/dist/chunks/knowledge-1.0.7-6hv6538k.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.7-t1gtsxte.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.7-j5mq4f5x.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.7-6tbrq15z.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.7-k2zgqtye.mjs +0 -1
- package/dist/chunks/log-1.0.7-pmgzzdy7.mjs +0 -1
- package/dist/chunks/main-1.0.7-esamqda3.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.7-6mz7vwyt.mjs +0 -1
- package/dist/chunks/mcp-1.0.7-d4941tnp.mjs +0 -17
- package/dist/chunks/mcp-1.0.7-hjjdsn53.mjs +0 -4
- package/dist/chunks/mcp-1.0.7-skfyfspe.mjs +0 -1
- package/dist/chunks/mcpb-1.0.7-twwnd1ct.mjs +0 -1
- package/dist/chunks/memory-1.0.7-0r8q4re7.mjs +0 -3
- package/dist/chunks/model-1.0.7-d82p81ne.mjs +0 -2
- package/dist/chunks/model-1.0.7-xt8c58fg.mjs +0 -1
- package/dist/chunks/node-1.0.7-5h6w60zy.mjs +0 -12
- package/dist/chunks/oauth-1.0.7-gveatjqe.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.7-q8aqfz40.mjs +0 -14
- package/dist/chunks/output-style-1.0.7-xnamzpre.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.7-y8bvx3y5.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.7-we9ebc0h.mjs +0 -1
- package/dist/chunks/parser-1.0.7-20zgf2mq.mjs +0 -1
- package/dist/chunks/passes-1.0.7-gcnj20c4.mjs +0 -1
- package/dist/chunks/permissions-1.0.7-43y27rj9.mjs +0 -3
- package/dist/chunks/permissions-1.0.7-kw8fw9gd.mjs +0 -1
- package/dist/chunks/plan-1.0.7-z1k9hfr8.mjs +0 -1
- package/dist/chunks/plist-1.0.7-daxqmwqx.mjs +0 -1
- package/dist/chunks/plugin-1.0.7-66bqymg3.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.7-w5krqm0w.mjs +0 -1
- package/dist/chunks/plugins-1.0.7-8njx3c0z.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.7-a1hhphah.mjs +0 -2
- package/dist/chunks/print-1.0.7-xnncgmye.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.7-7gfaexn9.mjs +0 -1
- package/dist/chunks/process-1.0.7-9sx5xgpe.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.7-32dm20nc.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.7-am0rnn44.mjs +0 -9
- package/dist/chunks/prompt-1.0.7-0yt5k7pt.mjs +0 -1
- package/dist/chunks/prompt-1.0.7-hfv56awc.mjs +0 -1
- package/dist/chunks/prompts-1.0.7-1p5km2m0.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.7-geqttcpz.mjs +0 -13
- package/dist/chunks/provider-1.0.7-y0j7q32j.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.7-s0zs9q1r.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.7-aexhx4ft.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.7-r4b2s2hk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.7-qmvr4jj4.mjs +0 -34
- package/dist/chunks/registry-1.0.7-be1gn584.mjs +0 -1
- package/dist/chunks/release-notes-1.0.7-tcr3xzz7.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.7-psfk2m91.mjs +0 -2
- package/dist/chunks/remote-env-1.0.7-xn5b9vx7.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.7-hvnh9bv2.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.7-870w4tbq.mjs +0 -1
- package/dist/chunks/rename-1.0.7-53emj8yj.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.7-cbrh6d8b.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.7-zs2c9f7n.mjs +0 -1
- package/dist/chunks/resume-1.0.7-b5e8840g.mjs +0 -2
- package/dist/chunks/rewind-1.0.7-15a43rp5.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.7-84t0zbkm.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.7-rs0gse4a.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.7-benxjznf.mjs +0 -1
- package/dist/chunks/session-1.0.7-9kyk2x4p.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.7-3z1nttw5.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.7-wha0618t.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.7-tdsf7h6t.mjs +0 -1
- package/dist/chunks/settings-1.0.7-ew9b4r78.mjs +0 -1
- package/dist/chunks/setup-1.0.7-tnm7hbmj.mjs +0 -5
- package/dist/chunks/sinks-1.0.7-bw23nvqf.mjs +0 -1
- package/dist/chunks/skills-1.0.7-z5a8v4xg.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.7-fqfzm5cc.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.7-enpb315n.mjs +0 -1
- package/dist/chunks/state-1.0.7-anf50tyt.mjs +0 -1
- package/dist/chunks/stats-1.0.7-xgb8h40k.mjs +0 -6
- package/dist/chunks/status-1.0.7-f7s47750.mjs +0 -1
- package/dist/chunks/stickers-1.0.7-z1wec6v6.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.7-838hrdpy.mjs +0 -1
- package/dist/chunks/tasks-1.0.7-gnsbny7t.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.7-b952rdkv.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.7-kp8hzkhr.mjs +0 -1
- package/dist/chunks/teleport-1.0.7-0z0g10ms.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.7-fgc3myw4.mjs +0 -1
- package/dist/chunks/theme-1.0.7-a88j7tjj.mjs +0 -1
- package/dist/chunks/thinkback-1.0.7-yzkgrf3q.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.7-jz896tvv.mjs +0 -1
- package/dist/chunks/toolPool-1.0.7-zc6vp20v.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.7-ym8fk2b2.mjs +0 -1
- package/dist/chunks/tools-1.0.7-612s0tqy.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.7-vjbr81qz.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.7-gz5y243z.mjs +0 -69
- package/dist/chunks/types-1.0.7-16q04281.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.7-v65pd88x.mjs +0 -4
- package/dist/chunks/update-1.0.7-z4et749c.mjs +0 -88
- package/dist/chunks/upgrade-1.0.7-hbdmpet7.mjs +0 -1
- package/dist/chunks/upload-1.0.7-xgyk75yh.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.7-vb939aaw.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.7-nfw64r47.mjs +0 -1
- package/dist/chunks/usage-1.0.7-kpakcv0m.mjs +0 -1
- package/dist/chunks/util-1.0.7-52gcb8n1.mjs +0 -1
- package/dist/chunks/utils-1.0.7-ckre2ymb.mjs +0 -1
- package/dist/chunks/vim-1.0.7-10bew4qn.mjs +0 -1
- package/dist/chunks/watcher-1.0.7-85c73j65.mjs +0 -1
- package/dist/chunks/wiki-1.0.7-yw93y8cn.mjs +0 -132
- package/dist/chunks/workflows-1.0.7-yatxf71n.mjs +0 -1
- package/dist/chunks/worktree-1.0.7-dp2np4vz.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.7-m222ja7h.mjs +0 -1
- package/dist/chunks/wrapper-1.0.7-sqtjm0k7.mjs +0 -7
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bra as g}from"./cli-1.0.9-j2832pm5.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
|
|
2
|
+
export{Bq as uV,d as vV,$J as wV,DJ as xV,GJ as yV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{L as D}from"./cli-1.0.9-xyzdk3z1.mjs";import{V as x}from"./cli-1.0.9-t80qhn8j.mjs";import{eb as A}from"./cli-1.0.9-0e6g8sye.mjs";import{fb as L}from"./cli-1.0.9-11j6h2p2.mjs";import{Mo as k,No as U,Qo as F,Ro as p,vT as b,wT as u}from"./cli-1.0.9-67c9vgsq.mjs";import{hU as O,kU as c}from"./cli-1.0.9-4yksn92y.mjs";import{$7 as m,k4 as Y,p4 as I,t6 as w,u6 as M,u7 as E,v7 as G}from"./cli-1.0.9-sjqe138z.mjs";import{Afa as z,oda as X,pda as B,xfa as $}from"./cli-1.0.9-ej3ahs6j.mjs";import{Eha as _,Fha as y}from"./cli-1.0.9-e2mjjvjc.mjs";import{uja as K,xja as T}from"./cli-1.0.9-ympvk0av.mjs";import{$ja as S,Uja as V}from"./cli-1.0.9-zrphfr1b.mjs";import{fka as J,hka as N,pka as v}from"./cli-1.0.9-y7sdjd9n.mjs";import{Mqa as W,cra as j}from"./cli-1.0.9-1f0bxa2a.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
+
export{Xq as K};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Rc as m,Sc as v,Tc as wk}from"./cli-1.0.9-eq3sypj3.mjs";import{$F as V,AA as Gk,AE as a,IE as Lk,Pn as p,Qn as zk,_F as n,aG as i,dG as Tk,dz as l,ez as Vk,gO as o,iO as t,lO as Dk,mR as r,nR as kk,pO as e,qO as Uk,rR as jk,zA as s,zE as g}from"./cli-1.0.9-67c9vgsq.mjs";import{M4 as d,O4 as Ok,k4 as T,p4 as Jk}from"./cli-1.0.9-sjqe138z.mjs";import{f8 as f,g8 as Ik,q8 as c,t8 as Mk}from"./cli-1.0.9-9jyyb7zx.mjs";import{o9 as S,t9 as _k}from"./cli-1.0.9-ppa9xdxq.mjs";import{Afa as Hk,P9 as K,Pca as j,R9 as Zk,V_ as P,Vda as x,Z_ as $k,Zda as b,cda as Kk,gea as u,oea as $,xfa as _}from"./cli-1.0.9-ej3ahs6j.mjs";import{uga as J,zga as Yk}from"./cli-1.0.9-x4t4nqd2.mjs";import{pia as L,qia as Bk}from"./cli-1.0.9-az9m58wa.mjs";import{uja as B,xia as O,xja as U,zia as Rk}from"./cli-1.0.9-ympvk0av.mjs";import{$ja as Xk,Oja as h,Uja as Y}from"./cli-1.0.9-zrphfr1b.mjs";import{fka as E,pka as Wk}from"./cli-1.0.9-y7sdjd9n.mjs";import{Ina as w,Spa as z,qna as F,sna as y}from"./cli-1.0.9-3ye1460y.mjs";import{pqa as A,qqa as Qk}from"./cli-1.0.9-806xk0g7.mjs";import{Cra as W}from"./cli-1.0.9-j2832pm5.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="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.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){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=x()?.env,Q=j("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();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$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(m(),C(),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.0.9-25ey9wf6.mjs"),import("./growthbook-1.0.9-mghtxr31.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.0.9-59ykzeyj.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.0.9-mknwnjve.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.0.9-7hr689j5.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(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
+
`),kk(1);return}return import("./InvalidConfigDialog-1.0.9-2q4w4j4t.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&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"),v(),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 xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-1.0.9-k55h305p.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 aa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$pa as S,Tpa as _Q,Upa as YJ,Vpa as v,Wpa as P1,Xpa as Y5,Ypa as w8,Zpa as q,_pa as y,aqa as kQ,bqa as L,cqa as a,dqa as n5,eqa as e8,fqa as R5,gqa as _8,hqa as E,iqa as h8,jqa as P,kqa as x1,lqa as d,mqa as xQ,nqa as r,oqa as UQ,pqa as T5,qqa as UY}from"./cli-1.0.9-806xk0g7.mjs";import{Ara as aQ,Bra as X}from"./cli-1.0.9-j2832pm5.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();DQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=q.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=S?S.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function qJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=qJ});var DJ,w;var M=X(()=>{DJ=Array.isArray,w=DJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{mQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();m();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();m();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,SJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?q.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,SJ=yJ||cQ,A=SJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?mJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var mJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();m();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||D8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var q8,D8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();q8=Object.prototype,D8=q8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{_8();J1();q5=k8});function E8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var S1=X(()=>{x5();F5();D5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var m1;var O5=X(()=>{yQ();bQ();S1();m1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=m1(Q),B=U.length,K=m1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var S8,U1;var L5=X(()=>{x1();y();S8=P(q,"DataView"),U1=S8});var m8,K1;var f5=X(()=>{x1();y();m8=P(q,"Promise"),K1=m8});var A8,G1;var P5=X(()=>{x1();y();A8=P(q,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(q,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,S5;var m5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();S1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();m();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var q1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function qY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var D1;var b1=X(()=>{M();q1();s5();X$();D1=qY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-DY?"-0":J}var DY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();q1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as SY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=SY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,S$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,S$(Q)}function S$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function q9(){return $.directConnectServerUrl}function D9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){return Date.now()-$.startTime}function I9(){return $.totalAPIDurationWithoutRetries}function C9(){return $.totalToolDuration}function _9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function k9(){return $.turnHookDurationMs}function E9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function v9(){$.turnHookDurationMs=0,$.turnHookCount=0}function d9(){return $.turnHookCount}function g9(){return $.turnToolDurationMs}function p9(){$.turnToolDurationMs=0,$.turnToolCount=0}function y9(){return $.turnToolCount}function S9(){return $.turnClassifierDurationMs}function m9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function A9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function j9(){return $.turnClassifierCount}function h9(){return $.statsStore}function n9(Q){$.statsStore=Q}function b9(Q){if(Q)m$();else s1=!0}function i9(){if(s1)m$()}function m$(){$.lastInteractionTime=Date.now(),s1=!1}function u9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function l9(){return $.totalLinesAdded}function T9(){return $.totalLinesRemoved}function c9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function r9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function o9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function s9(){return b(Object.values($.modelUsage),"webSearchRequests")}function a9(){return A$()-a1}function t9(){return t1}function e9(Q){a1=A$(),t1=Q,f1=0}function QH(){return f1}function $H(){f1++}function JH(){$.hasUnknownModelCost=!0}function YH(){return $.hasUnknownModelCost}function ZH(){return $.lastMainRequestId}function XH(Q){$.lastMainRequestId=Q}function HH(){return $.lastApiCompletionTimestamp}function WH(Q){$.lastApiCompletionTimestamp=Q}function xH(){$.pendingPostCompaction=!0}function UH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function KH(){return $.lastInteractionTime}function GH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function BH(){return M1}async function NH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function wH(){return $.modelUsage}function zH(Q){return $.modelUsage[Q]}function FH(){return $.mainLoopModelOverride}function RH(){return $.initialMainLoopModel}function qH(Q){$.mainLoopModelOverride=Q}function DH(Q){$.initialMainLoopModel=Q}function OH(){return $.sdkBetas}function VH(Q){$.sdkBetas=Q}function MH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function LH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function fH(){throw Error("resetStateForTests can only be called in tests")}function PH(){return $.modelStrings}function IH(Q){$.modelStrings=Q}function CH(){$.modelStrings=null}function _H(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function kH(){return $.meter}function EH(){return $.sessionCounter}function vH(){return $.locCounter}function dH(){return $.prCounter}function gH(){return $.commitCounter}function pH(){return $.costCounter}function yH(){return $.tokenCounter}function SH(){return $.codeEditToolDecisionCounter}function mH(){return $.activeTimeCounter}function AH(){return $.loggerProvider}function jH(Q){$.loggerProvider=Q}function hH(){return $.eventLogger}function nH(Q){$.eventLogger=Q}function bH(){return $.meterProvider}function iH(Q){$.meterProvider=Q}function uH(){return $.tracerProvider}function lH(Q){$.tracerProvider=Q}function mY(){return!$.isInteractive}function TH(){return $.isInteractive}function cH(Q){$.isInteractive=Q}function rH(){return $.clientType}function oH(Q){$.clientType=Q}function sH(){return $.sdkAgentProgressSummariesEnabled}function aH(Q){$.sdkAgentProgressSummariesEnabled=Q}function tH(){return $.kairosActive}function eH(Q){$.kairosActive=Q,L1()}function Q4(){return $.strictToolResultPairing}function $4(Q){$.strictToolResultPairing=Q}function J4(){return $.userMsgOptIn}function Y4(Q){$.userMsgOptIn=Q,L1()}function Z4(){return $.sessionSource}function X4(Q){$.sessionSource=Q}function H4(){return $.questionPreviewFormat}function W4(Q){$.questionPreviewFormat=Q}function x4(){return $.agentColorMap}function U4(){return $.flagSettingsPath}function K4(Q){$.flagSettingsPath=Q}function G4(){return $.flagSettingsInline}function B4(Q){$.flagSettingsInline=Q}function N4(){return $.sessionIngressToken}function w4(Q){$.sessionIngressToken=Q}function z4(){return $.oauthTokenFromFd}function F4(Q){$.oauthTokenFromFd=Q}function R4(){return $.apiKeyFromFd}function q4(Q){$.apiKeyFromFd=Q}function D4(Q){$.lastAPIRequest=Q}function O4(){return $.lastAPIRequest}function V4(Q){$.lastAPIRequestMessages=Q}function M4(){return $.lastAPIRequestMessages}function L4(Q){$.lastClassifierRequests=Q}function f4(){return $.lastClassifierRequests}function P4(Q){$.cachedClaudeMdContent=Q}function I4(){return $.cachedClaudeMdContent}function C4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function _4(){return $.allowedSettingSources}function k4(Q){$.allowedSettingSources=Q}function E4(){return mY()&&$.clientType!=="claude-vscode"}function v4(Q){$.inlinePlugins=Q}function d4(){return $.inlinePlugins}function g4(Q){$.useCoworkPlugins=Q,E$()}function p4(){return $.useCoworkPlugins}function y4(Q){$.sessionBypassPermissionsMode=Q}function S4(){return $.sessionBypassPermissionsMode}function m4(Q){$.scheduledTasksEnabled=Q}function A4(){return $.scheduledTasksEnabled}function j4(){return $.sessionCronTasks}function h4(Q){$.sessionCronTasks.push(Q)}function n4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function b4(){return $.pendingSessionWakeup}function i4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function u4(){$.pendingSessionWakeup=null}function l4(Q){$.sessionTrustAccepted=Q}function T4(){return $.sessionTrustAccepted}function c4(Q){$.sessionPersistenceDisabled=Q}function r4(){return $.sessionPersistenceDisabled}function o4(){return $.hasExitedPlanMode}function s4(Q){$.hasExitedPlanMode=Q}function a4(){return $.needsPlanModeExitAttachment}function t4(Q){$.needsPlanModeExitAttachment=Q}function e4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function Q3(){return $.needsAutoModeExitAttachment}function $3(Q){$.needsAutoModeExitAttachment=Q}function J3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function Y3(Q){$.initJsonSchema=Q}function Z3(){return $.initJsonSchema}function X3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function H3(){return $.registeredHooks}function W3(){$.registeredHooks=null}function x3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function U3(){$.initJsonSchema=null,$.registeredHooks=null}function K3(){return $.planSlugCache}function G3(){return $.sessionCreatedTeams}function B3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function N3(){return $.teleportedSessionInfo}function w3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function z3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function F3(){return $.invokedSkills}function R3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function q3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function D3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function O3(Q,J){}function V3(){return AY}function M3(){return $.mainThreadAgentType}function L3(Q){$.mainThreadAgentType=Q}function f3(){return $.isRemoteMode}function P3(Q){$.isRemoteMode=Q}function I3(){return $.systemPromptSectionCache}function C3(Q,J){$.systemPromptSectionCache.set(Q,J)}function _3(){$.systemPromptSectionCache.clear()}function k3(){return $.lastEmittedDate}function E3(Q){$.lastEmittedDate=Q}function v3(){return $.additionalDirectoriesForClaudeMd}function d3(Q){$.additionalDirectoriesForClaudeMd=Q}function g3(){return $.allowedChannels}function p3(Q){$.allowedChannels=Q,L1()}function y3(){return $.hasDevChannels}function S3(Q){$.hasDevChannels=Q}function m3(){return $.largeSystemPromptDetected}function A3(Q){$.largeSystemPromptDetected=Q}function j3(){return $.afkModeHeaderLatched}function h3(Q){$.afkModeHeaderLatched=Q}function n3(){return $.fastModeHeaderLatched}function b3(Q){$.fastModeHeaderLatched=Q}function i3(){return $.thinkingClearLatched}function u3(Q){$.thinkingClearLatched=Q}function l3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function T3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function c3(){return $.deferredDeltaLegacySession}function r3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function o3(){return $.sessionEpochMs}function s3(){return $.promptId}function a3(Q){$.promptId=Q}function t3(){return!1}function e3(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
|
|
2
|
+
export{p as qka,I1 as rka,FQ as ska,RQ as tka,OQ as uka,VQ as vka,_1 as wka,MQ as xka,PQ as yka,IQ as zka,dQ as Aka,gQ as Bka,w as Cka,M as Dka,pQ as Eka,yQ as Fka,SQ as Gka,mQ as Hka,AQ as Ika,jQ as Jka,nQ as Kka,bQ as Lka,O as Mka,m as Nka,t as Oka,v1 as Pka,A as Qka,d1 as Rka,$1 as Ska,g1 as Tka,$5 as Uka,J5 as Vka,X1 as Wka,X5 as Xka,H1 as Yka,y1 as Zka,W5 as _ka,x5 as $ka,U5 as ala,K5 as bla,G5 as cla,B5 as dla,q5 as ela,D5 as fla,W1 as gla,S1 as hla,m1 as ila,O5 as jla,G1 as kla,P5 as lla,A1 as mla,d5 as nla,w1 as ola,j1 as pla,h as qla,R1 as rla,a5 as sla,t5 as tla,Z$ as ula,X$ as vla,D1 as wla,b1 as xla,I as yla,u as zla,O1 as Ala,i1 as Bla,F$ as Cla,R$ as Dla,f$ as Ela,P$ as Fla,nX as Gla,bX as Hla,iX as Ila,uX as Jla,lX as Kla,TX as Lla,E$ as Mla,cX as Nla,rX as Ola,oX as Pla,v$ as Qla,d$ as Rla,g$ as Sla,Z9 as Tla,X9 as Ula,H9 as Vla,W9 as Wla,x9 as Xla,U9 as Yla,K9 as Zla,G9 as _la,B9 as $la,N9 as ama,w9 as bma,z9 as cma,F9 as dma,R9 as ema,q9 as fma,D9 as gma,O9 as hma,V9 as ima,M9 as jma,L9 as kma,f9 as lma,P9 as mma,I9 as nma,C9 as oma,_9 as pma,k9 as qma,E9 as rma,v9 as sma,d9 as tma,g9 as uma,p9 as vma,y9 as wma,S9 as xma,m9 as yma,A9 as zma,j9 as Ama,h9 as Bma,n9 as Cma,b9 as Dma,i9 as Ema,u9 as Fma,l9 as Gma,T9 as Hma,c9 as Ima,A$ as Jma,r9 as Kma,o9 as Lma,s9 as Mma,a9 as Nma,t9 as Oma,e9 as Pma,QH as Qma,$H as Rma,JH as Sma,YH as Tma,ZH as Uma,XH as Vma,HH as Wma,WH as Xma,xH as Yma,UH as Zma,KH as _ma,GH as $ma,BH as ana,NH as bna,wH as cna,zH as dna,FH as ena,RH as fna,qH as gna,DH as hna,OH as ina,VH as jna,MH as kna,LH as lna,fH as mna,PH as nna,IH as ona,CH as pna,_H as qna,kH as rna,EH as sna,vH as tna,dH as una,gH as vna,pH as wna,yH as xna,SH as yna,mH as zna,AH as Ana,jH as Bna,hH as Cna,nH as Dna,bH as Ena,iH as Fna,uH as Gna,lH as Hna,mY as Ina,TH as Jna,cH as Kna,rH as Lna,oH as Mna,sH as Nna,aH as Ona,tH as Pna,eH as Qna,Q4 as Rna,$4 as Sna,J4 as Tna,Y4 as Una,Z4 as Vna,X4 as Wna,H4 as Xna,W4 as Yna,x4 as Zna,U4 as _na,K4 as $na,G4 as aoa,B4 as boa,N4 as coa,w4 as doa,z4 as eoa,F4 as foa,R4 as goa,q4 as hoa,D4 as ioa,O4 as joa,V4 as koa,M4 as loa,L4 as moa,f4 as noa,P4 as ooa,I4 as poa,C4 as qoa,_4 as roa,k4 as soa,E4 as toa,v4 as uoa,d4 as voa,g4 as woa,p4 as xoa,y4 as yoa,S4 as zoa,m4 as Aoa,A4 as Boa,j4 as Coa,h4 as Doa,n4 as Eoa,b4 as Foa,i4 as Goa,u4 as Hoa,l4 as Ioa,T4 as Joa,c4 as Koa,r4 as Loa,o4 as Moa,s4 as Noa,a4 as Ooa,t4 as Poa,e4 as Qoa,Q3 as Roa,$3 as Soa,J3 as Toa,Y3 as Uoa,Z3 as Voa,X3 as Woa,H3 as Xoa,W3 as Yoa,x3 as Zoa,U3 as _oa,K3 as $oa,G3 as apa,B3 as bpa,N3 as cpa,w3 as dpa,z3 as epa,F3 as fpa,R3 as gpa,q3 as hpa,D3 as ipa,O3 as jpa,V3 as kpa,M3 as lpa,L3 as mpa,f3 as npa,P3 as opa,I3 as ppa,C3 as qpa,_3 as rpa,k3 as spa,E3 as tpa,v3 as upa,d3 as vpa,g3 as wpa,p3 as xpa,y3 as ypa,S3 as zpa,m3 as Apa,A3 as Bpa,j3 as Cpa,h3 as Dpa,n3 as Epa,b3 as Fpa,i3 as Gpa,u3 as Hpa,l3 as Ipa,T3 as Jpa,c3 as Kpa,r3 as Lpa,jY as Mpa,o3 as Npa,s3 as Opa,a3 as Ppa,t3 as Qpa,e3 as Rpa,hY as Spa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bra as b}from"./cli-1.0.9-j2832pm5.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
|
|
2
|
+
export{j as if,k as jf,q as kf,w as lf,g as mf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bra as j}from"./cli-1.0.9-j2832pm5.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
|
|
2
|
+
export{x as H2,y as I2,z as J2,A as K2,B as L2,C as M2,D as N2,k as O2};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{$8 as Bc,M8 as nt,N8 as hl,O8 as bl,P8 as ml,Q8 as fn,R8 as $c,S8 as fu,T8 as Al,U8 as ys,V8 as El,W8 as st,X8 as hs,Y8 as k,Z8 as ur,_8 as Qc,a9 as ra,b9 as Xc,c9 as Yc,d9 as Zc,e9 as Jc,f9 as el,g9 as Hc,h9 as cr,i9 as Cc,j9 as Ts,k9 as gl}from"./cli-1.0.9-3espt55t.mjs";import{l9 as ie}from"./cli-1.0.9-m6k5afpm.mjs";import{mra as kc,nra as Le}from"./cli-1.0.9-hf6frb0e.mjs";import{pra as Vc}from"./cli-1.0.9-eeyg3kcg.mjs";import{rra as Fe,sra as ve,vra as De,wra as ee}from"./cli-1.0.9-593a1k2m.mjs";import{Cra as Bs,zra as E}from"./cli-1.0.9-j2832pm5.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 L8};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ti as M,ui as w,vi as A}from"./cli-1.0.9-efmzhqag.mjs";import{Aha as $,Bha as O,xha as X,zha as N}from"./cli-1.0.9-6x8m34y6.mjs";import{uja as R,xja as C}from"./cli-1.0.9-ympvk0av.mjs";import{cka as L,pka as _}from"./cli-1.0.9-y7sdjd9n.mjs";import{Spa as T,Vla as H}from"./cli-1.0.9-3ye1460y.mjs";import{Mqa as W,cra as y}from"./cli-1.0.9-1f0bxa2a.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
|
|
2
|
+
export{S as ca,f as da,l as ea,s as fa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{s3 as v,u3 as D}from"./cli-1.0.9-e491drav.mjs";import{Cra as B}from"./cli-1.0.9-j2832pm5.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-1.0.9-4evjz5w2.mjs"),J=z??import("./REPL-1.0.9-8b6q2gzd.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
|
|
2
|
+
export{N as hb,O as ib};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$7 as WB,J7 as Z,M7 as T,S7 as f}from"./cli-1.0.9-sjqe138z.mjs";import{Eaa as _,Faa as KB,H9 as O,I9 as BB,Vda as A,fea as v,oea as QB}from"./cli-1.0.9-ej3ahs6j.mjs";import{Eha as w,Fha as JB}from"./cli-1.0.9-e2mjjvjc.mjs";import{fka as F,pka as e}from"./cli-1.0.9-y7sdjd9n.mjs";import{Cka as S,Dka as s,Spa as a,Vla as R,gla as I,hla as c,sla as M,tla as m}from"./cli-1.0.9-3ye1460y.mjs";import{pqa as q,qqa as t}from"./cli-1.0.9-806xk0g7.mjs";import{Bra as K}from"./cli-1.0.9-j2832pm5.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});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,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.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 g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=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(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,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}}}});g=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 fU,r as gU,vB as hU,TB as iU,g as jU,ZB as kU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Bp as W,Cp as n,Pw as I,Qw as P,Uw as t}from"./cli-1.0.9-67c9vgsq.mjs";import{A3 as H,B3 as p}from"./cli-1.0.9-xe8dc6qb.mjs";import{C3 as C,E3 as i}from"./cli-1.0.9-w5dyqxqk.mjs";import{$7 as l,B7 as R,H7 as V,a7 as v,k4 as S,p4 as c}from"./cli-1.0.9-sjqe138z.mjs";import{Afa as g,Mfa as D,Sda as E,Ufa as m,Vda as X,nfa as T,oda as q,oea as O,ofa as Y,pda as u,ufa as y,xfa as k}from"./cli-1.0.9-ej3ahs6j.mjs";import{Aha as $,Bha as h,xha as G,zha as f}from"./cli-1.0.9-6x8m34y6.mjs";import{kia as Z,pia as _,qia as M}from"./cli-1.0.9-az9m58wa.mjs";import{uja as x,xja as b}from"./cli-1.0.9-ympvk0av.mjs";import{Mqa as Q,cra as A}from"./cli-1.0.9-1f0bxa2a.mjs";import{Bra as U}from"./cli-1.0.9-j2832pm5.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
+
export{Yj as vc,r as wc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Cd as Z,Dd as _,Ed as $,Hd as O}from"./cli-1.0.9-bg3jgpj8.mjs";import{Yd as Y,be as x}from"./cli-1.0.9-0xr97fha.mjs";import{HL as V,mL as U,rL as W,wL as S,xL as X}from"./cli-1.0.9-67c9vgsq.mjs";import{uja as R,xja as K}from"./cli-1.0.9-ympvk0av.mjs";import{$ja as C,Uja as Q}from"./cli-1.0.9-zrphfr1b.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
|
|
2
|
+
export{F as $a};
|