@claudiolabs/claudin 1.1.27 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +1 -0
- package/dist/chunks/App-1.1.28-rdhr58j6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +6 -0
- package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +1 -0
- package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +1 -0
- package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +1 -0
- package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +110 -0
- package/dist/chunks/agents-1.1.28-4qdh001q.mjs +3 -0
- package/dist/chunks/api-1.1.28-znpy0eyy.mjs +1 -0
- package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +1 -0
- package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +1 -0
- package/dist/chunks/auth-1.1.28-bw7dane8.mjs +1 -0
- package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +1 -0
- package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +4 -0
- package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +1 -0
- package/dist/chunks/btw-1.1.28-p1tk901s.mjs +1 -0
- package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +4 -0
- package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +1 -0
- package/dist/chunks/cd-1.1.28-84z1kqam.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +1 -0
- package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +1 -0
- package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +1 -0
- package/dist/chunks/cli-1.1.28-01g60h7m.mjs +2 -0
- package/dist/chunks/cli-1.1.28-040xb4f8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +24 -0
- package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +60 -0
- package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +24 -0
- package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +58 -0
- package/dist/chunks/cli-1.1.28-130w2y17.mjs +50 -0
- package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-14abe08r.mjs +4 -0
- package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1mscaejt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1q409efb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +5 -0
- package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +34 -0
- package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +6 -0
- package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +4 -0
- package/dist/chunks/cli-1.1.28-347ygvzg.mjs +6 -0
- package/dist/chunks/cli-1.1.28-36891pwy.mjs +2 -0
- package/dist/chunks/cli-1.1.28-36y6830c.mjs +2 -0
- package/dist/chunks/cli-1.1.28-37rkgevh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3bj091x6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3fssr567.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4kda7s33.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +9 -0
- package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +3 -0
- package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +6 -0
- package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +206 -0
- package/dist/chunks/cli-1.1.28-638dshxx.mjs +42 -0
- package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +17 -0
- package/dist/chunks/cli-1.1.28-75thpvfa.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7amn29ks.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7g65bppm.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +4 -0
- package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +25 -0
- package/dist/chunks/cli-1.1.28-7x94aewp.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +2 -0
- package/dist/chunks/cli-1.1.28-83k0knzj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +4 -0
- package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8v2vx373.mjs +2 -0
- package/dist/chunks/cli-1.1.28-943993zt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +5 -0
- package/dist/chunks/cli-1.1.28-95fs05hq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-a00k75hj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +16 -0
- package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +2 -0
- package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +15 -0
- package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +15 -0
- package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +3 -0
- package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-brh6rw23.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +2 -0
- package/dist/chunks/cli-1.1.28-by5acg3a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +7 -0
- package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +2 -0
- package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +24 -0
- package/dist/chunks/cli-1.1.28-davs3ve8.mjs +58 -0
- package/dist/chunks/cli-1.1.28-denmqz0s.mjs +2 -0
- package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +3 -0
- package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-egskcwa5.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ek683x01.mjs +2 -0
- package/dist/chunks/cli-1.1.28-epzkhgww.mjs +2 -0
- package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +6 -0
- package/dist/chunks/cli-1.1.28-es8var4t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +24 -0
- package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +12 -0
- package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +39 -0
- package/dist/chunks/cli-1.1.28-fetsedc8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +8 -0
- package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +2 -0
- package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hb02sa63.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hkfays5k.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +17 -0
- package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +3 -0
- package/dist/chunks/cli-1.1.28-j6nysca9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +3 -0
- package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +2 -0
- package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +20 -0
- package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +3 -0
- package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +2 -0
- package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +2 -0
- package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +3 -0
- package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-knfg26kb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mdexghj2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +4 -0
- package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +3 -0
- package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mx413hqd.mjs +3 -0
- package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +2 -0
- package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +2 -0
- package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +10 -0
- package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +4 -0
- package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +2 -0
- package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +25 -0
- package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-prd0t983.mjs +9 -0
- package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +4 -0
- package/dist/chunks/cli-1.1.28-q14qmewe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-q43r6snq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qb921m5a.mjs +3 -0
- package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +3 -0
- package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +45 -0
- package/dist/chunks/cli-1.1.28-qj312jgw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +4 -0
- package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-r81y1681.mjs +3 -0
- package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +4 -0
- package/dist/chunks/cli-1.1.28-rez81jab.mjs +6 -0
- package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rt0aect8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rwfwz209.mjs +2 -0
- package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +3 -0
- package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +2 -0
- package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +2 -0
- package/dist/chunks/cli-1.1.28-smb1frk6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +12 -0
- package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +2 -0
- package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-t5yawarz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-tt0c354s.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +133 -0
- package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vje1ac31.mjs +7 -0
- package/dist/chunks/cli-1.1.28-vphadsag.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +3 -0
- package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +2 -0
- package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +20 -0
- package/dist/chunks/cli-1.1.28-wew8jymx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wvj52k91.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wze93r29.mjs +2 -0
- package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +18 -0
- package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-x13sctb2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-y173v5ak.mjs +133 -0
- package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +2 -0
- package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +15 -0
- package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yyk292aq.mjs +6 -0
- package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +21 -0
- package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +2 -0
- package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +1 -0
- package/dist/chunks/cli-1.1.28-zhftjycn.mjs +5553 -0
- package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +2 -0
- package/dist/chunks/client-1.1.28-59t63af8.mjs +1 -0
- package/dist/chunks/color-1.1.28-gmbrq89g.mjs +1 -0
- package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +3 -0
- package/dist/chunks/config-1.1.28-b69ey9g1.mjs +1 -0
- package/dist/chunks/config-1.1.28-cryax439.mjs +1 -0
- package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +1 -0
- package/dist/chunks/context-1.1.28-09kfp2sa.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +1 -0
- package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +1 -0
- package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +9 -0
- package/dist/chunks/cost-1.1.28-507xt42s.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +1 -0
- package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +1 -0
- package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +1534 -0
- package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +1 -0
- package/dist/chunks/detection-1.1.28-06p2mev8.mjs +1 -0
- package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +1 -0
- package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +1 -0
- package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +13 -0
- package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +1 -0
- package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +1 -0
- package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +1 -0
- package/dist/chunks/errors-1.1.28-eysc80qa.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +1 -0
- package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +1 -0
- package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +1 -0
- package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +1 -0
- package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +1 -0
- package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +1 -0
- package/dist/chunks/git-1.1.28-ktf61jaz.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +1 -0
- package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +4 -0
- package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +1 -0
- package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +2 -0
- package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +6 -0
- package/dist/chunks/help-1.1.28-yhrv28x1.mjs +1 -0
- package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +3 -0
- package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +79 -0
- package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +1 -0
- package/dist/chunks/ide-1.1.28-27vb56tk.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +1 -0
- package/dist/chunks/import-1.1.28-bqs6ebec.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +1 -0
- package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +23 -0
- package/dist/chunks/index-1.1.28-30ges9rx.mjs +1 -0
- package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +1 -0
- package/dist/chunks/index-1.1.28-76ztpb54.mjs +1 -0
- package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +1 -0
- package/dist/chunks/index-1.1.28-ac1sbem8.mjs +9 -0
- package/dist/chunks/index-1.1.28-axnrgqkq.mjs +1 -0
- package/dist/chunks/index-1.1.28-b5b1qact.mjs +1 -0
- package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +1 -0
- package/dist/chunks/index-1.1.28-bt937784.mjs +1 -0
- package/dist/chunks/index-1.1.28-bxtzy977.mjs +2 -0
- package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +9 -0
- package/dist/chunks/index-1.1.28-dtfxav1q.mjs +1 -0
- package/dist/chunks/index-1.1.28-gk3v69b8.mjs +1 -0
- package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +1 -0
- package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +1 -0
- package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +1 -0
- package/dist/chunks/index-1.1.28-w2a4k4md.mjs +2 -0
- package/dist/chunks/index-1.1.28-wajajmmp.mjs +1 -0
- package/dist/chunks/index-1.1.28-xaw4tf13.mjs +30 -0
- package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +1 -0
- package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +5 -0
- package/dist/chunks/index-1.1.28-z85wbmey.mjs +1 -0
- package/dist/chunks/init-1.1.28-vt168swt.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +1 -0
- package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +1 -0
- package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +870 -0
- package/dist/chunks/install-1.1.28-azeaj14w.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +1 -0
- package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +2 -0
- package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +1 -0
- package/dist/chunks/log-1.1.28-744tvnnz.mjs +1 -0
- package/dist/chunks/main-1.1.28-ngd4qj24.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +1 -0
- package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +17 -0
- package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +1 -0
- package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +4 -0
- package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +1 -0
- package/dist/chunks/memory-1.1.28-437zyh3m.mjs +77 -0
- package/dist/chunks/model-1.1.28-1weg50dg.mjs +2 -0
- package/dist/chunks/model-1.1.28-qbnnaa17.mjs +1 -0
- package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +15 -0
- package/dist/chunks/node-1.1.28-q18jbvyv.mjs +1 -0
- package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +14 -0
- package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +1 -0
- package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +1 -0
- package/dist/chunks/parser-1.1.28-hahczgmc.mjs +1 -0
- package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +1 -0
- package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +1 -0
- package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +3 -0
- package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +1 -0
- package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +1 -0
- package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +1 -0
- package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +2 -0
- package/dist/chunks/print-1.1.28-g8smjzce.mjs +57 -0
- package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +9 -0
- package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +1 -0
- package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +1 -0
- package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +13 -0
- package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +26 -0
- package/dist/chunks/registry-1.1.28-a9wz892f.mjs +1 -0
- package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +2 -0
- package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +1 -0
- package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +1 -0
- package/dist/chunks/resume-1.1.28-mr6necqk.mjs +2 -0
- package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +1 -0
- package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +1 -0
- package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +1 -0
- package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +12 -0
- package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +1 -0
- package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +1 -0
- package/dist/chunks/state-1.1.28-fd27gqw0.mjs +1 -0
- package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +1 -0
- package/dist/chunks/status-1.1.28-67a4bkc3.mjs +1 -0
- package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +1 -0
- package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +1 -0
- package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +1 -0
- package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +1 -0
- package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +1 -0
- package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +1 -0
- package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +69 -0
- package/dist/chunks/types-1.1.28-51fcbp8c.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +4 -0
- package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +72 -0
- package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +1 -0
- package/dist/chunks/upload-1.1.28-whe18m8m.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +1 -0
- package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +1 -0
- package/dist/chunks/util-1.1.28-cvpx898d.mjs +1 -0
- package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +1 -0
- package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +13 -0
- package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +1 -0
- package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +132 -0
- package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +1 -0
- package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +1 -0
- package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.27-db5m9gzv.mjs +0 -1
- package/dist/chunks/App-1.1.27-jz9pzpv7.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.27-b5mwy6bs.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.27-2kwhe57h.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.27-g5rhes32.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.27-jxn4ptdz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.27-2veddc9s.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.27-mt31pcwm.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.27-ts2drs72.mjs +0 -6
- package/dist/chunks/Doctor-1.1.27-mh9ttzx4.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.27-qh4nye9z.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.27-054hfzze.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.27-gyk98cx3.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.27-agv9khdv.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.27-fhzyv0es.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.27-e7a3yzxe.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.27-zc2zrqpt.mjs +0 -1
- package/dist/chunks/REPL-1.1.27-zm25dsxc.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.27-93vdmd0g.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.27-rcmc5990.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.27-7mwc4ntd.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.27-jyjyshza.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.27-g4s9ej88.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.27-bfqad2sg.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.27-b39dysny.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.27-nerfy2hh.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.27-7akd7pzq.mjs +0 -1
- package/dist/chunks/add-dir-1.1.27-jfd8t81g.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.27-gvc8sgz1.mjs +0 -1
- package/dist/chunks/agents-1.1.27-pdcva4bt.mjs +0 -110
- package/dist/chunks/agents-1.1.27-vdvjpsev.mjs +0 -3
- package/dist/chunks/api-1.1.27-v0jrrv5d.mjs +0 -1
- package/dist/chunks/asciicast-1.1.27-a6ydv5ce.mjs +0 -1
- package/dist/chunks/assistant-1.1.27-gazcm6s7.mjs +0 -1
- package/dist/chunks/auth-1.1.27-d561ngfq.mjs +0 -1
- package/dist/chunks/auth-1.1.27-gp1b9bvj.mjs +0 -1
- package/dist/chunks/autoMode-1.1.27-187c13xb.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.27-v3ap18cy.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.27-hty6t0t8.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.27-efmykd33.mjs +0 -1
- package/dist/chunks/branch-1.1.27-d16zzy8m.mjs +0 -4
- package/dist/chunks/bridge-1.1.27-3znqrqgh.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.27-bbn4xfe7.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.27-hky0jg83.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.27-j9tfnew8.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.27-95k3w0tb.mjs +0 -1
- package/dist/chunks/btw-1.1.27-wx6yv865.mjs +0 -1
- package/dist/chunks/buddy-1.1.27-9afpekx4.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.27-f84tajyp.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.27-g9qwr4y9.mjs +0 -4
- package/dist/chunks/caches-1.1.27-fw7fsfx6.mjs +0 -1
- package/dist/chunks/cd-1.1.27-y9t4zyf7.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.27-182n35a2.mjs +0 -1
- package/dist/chunks/claudemd-1.1.27-gp9ndxg8.mjs +0 -1
- package/dist/chunks/clear-1.1.27-rrvq1asb.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.27-6esk4j27.mjs +0 -1
- package/dist/chunks/cli-1.1.27-090g18py.mjs +0 -2
- package/dist/chunks/cli-1.1.27-0h1xdjxp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-0rz9qd34.mjs +0 -4
- package/dist/chunks/cli-1.1.27-0wv0k9sb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-14xp8pk4.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1hdrfsqd.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1qrkn0zf.mjs +0 -25
- package/dist/chunks/cli-1.1.27-1rztfj2j.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1vmmkyhn.mjs +0 -3
- package/dist/chunks/cli-1.1.27-1yvzf2v8.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1yyef8w3.mjs +0 -2
- package/dist/chunks/cli-1.1.27-1ztbchyz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-22f6jd6a.mjs +0 -2
- package/dist/chunks/cli-1.1.27-2922x4n2.mjs +0 -5
- package/dist/chunks/cli-1.1.27-2e7wwbbp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-2mtc2dbf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-3cjhx8c4.mjs +0 -4
- package/dist/chunks/cli-1.1.27-3eax0jv3.mjs +0 -6
- package/dist/chunks/cli-1.1.27-3mpdw95c.mjs +0 -2
- package/dist/chunks/cli-1.1.27-3qx1npht.mjs +0 -2
- package/dist/chunks/cli-1.1.27-42wr3qtg.mjs +0 -2
- package/dist/chunks/cli-1.1.27-48ezce33.mjs +0 -206
- package/dist/chunks/cli-1.1.27-4ch8wq6c.mjs +0 -3
- package/dist/chunks/cli-1.1.27-4cjm0m5c.mjs +0 -24
- package/dist/chunks/cli-1.1.27-4pm4y79r.mjs +0 -2
- package/dist/chunks/cli-1.1.27-4xegg6js.mjs +0 -2
- package/dist/chunks/cli-1.1.27-51sqdnt6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-55evh9sy.mjs +0 -21
- package/dist/chunks/cli-1.1.27-575dbhvc.mjs +0 -2
- package/dist/chunks/cli-1.1.27-5jvkkbcy.mjs +0 -2
- package/dist/chunks/cli-1.1.27-5vejs4bz.mjs +0 -3
- package/dist/chunks/cli-1.1.27-6dm0tj1c.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6f5wmt15.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6g67vpnz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6s7e0eyt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-6spv5ha8.mjs +0 -60
- package/dist/chunks/cli-1.1.27-704q0rhh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-79504h3t.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7a101p3z.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7gnbh46g.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7hws4y92.mjs +0 -4
- package/dist/chunks/cli-1.1.27-7jakzfss.mjs +0 -24
- package/dist/chunks/cli-1.1.27-7jc0gzqt.mjs +0 -4
- package/dist/chunks/cli-1.1.27-7wrz865m.mjs +0 -2
- package/dist/chunks/cli-1.1.27-7zpnm6dn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-83exfkej.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8em170zt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8fve969w.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8gsqhqyf.mjs +0 -42
- package/dist/chunks/cli-1.1.27-8vkygf4q.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8vrv0ver.mjs +0 -2
- package/dist/chunks/cli-1.1.27-8zkr609d.mjs +0 -4
- package/dist/chunks/cli-1.1.27-91eh3cyz.mjs +0 -3
- package/dist/chunks/cli-1.1.27-9427t707.mjs +0 -2
- package/dist/chunks/cli-1.1.27-94qc7asn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-96ccvbyj.mjs +0 -2
- package/dist/chunks/cli-1.1.27-96yksxag.mjs +0 -2
- package/dist/chunks/cli-1.1.27-98bpezgc.mjs +0 -45
- package/dist/chunks/cli-1.1.27-9chfrr9e.mjs +0 -2
- package/dist/chunks/cli-1.1.27-9d0bkxf6.mjs +0 -15
- package/dist/chunks/cli-1.1.27-9m09gcqr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-9sswt66t.mjs +0 -12
- package/dist/chunks/cli-1.1.27-a454a3rb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-aahmf6wc.mjs +0 -2
- package/dist/chunks/cli-1.1.27-b0s2nhr1.mjs +0 -24
- package/dist/chunks/cli-1.1.27-b3bkjfyh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-b42yen3p.mjs +0 -2
- package/dist/chunks/cli-1.1.27-bpbp93hw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-bwc1f1yx.mjs +0 -15
- package/dist/chunks/cli-1.1.27-byba8306.mjs +0 -20
- package/dist/chunks/cli-1.1.27-byxgdj3w.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cth2wwrh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cth3rq9k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cw1p9ac2.mjs +0 -3
- package/dist/chunks/cli-1.1.27-cw9bqwta.mjs +0 -2
- package/dist/chunks/cli-1.1.27-cxy3fqs0.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d0k9rgj1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d1zgycfk.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d4km9s81.mjs +0 -2
- package/dist/chunks/cli-1.1.27-d4w9gqgs.mjs +0 -50
- package/dist/chunks/cli-1.1.27-d5q76t7c.mjs +0 -3
- package/dist/chunks/cli-1.1.27-d7r6x0ew.mjs +0 -2
- package/dist/chunks/cli-1.1.27-dfww0knt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-dhzbmaf3.mjs +0 -2
- package/dist/chunks/cli-1.1.27-e2p4abq5.mjs +0 -2
- package/dist/chunks/cli-1.1.27-e53f6at7.mjs +0 -2
- package/dist/chunks/cli-1.1.27-eag2dgb4.mjs +0 -2
- package/dist/chunks/cli-1.1.27-es2rn3j6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-eypype7d.mjs +0 -8
- package/dist/chunks/cli-1.1.27-f218cppx.mjs +0 -34
- package/dist/chunks/cli-1.1.27-f3cv6wk1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fary910g.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fc1my4zp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fdhry9qy.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fr8vw4x1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-fw9r8cwg.mjs +0 -4
- package/dist/chunks/cli-1.1.27-fxmty4t4.mjs +0 -5
- package/dist/chunks/cli-1.1.27-g8n6nr2e.mjs +0 -1
- package/dist/chunks/cli-1.1.27-gan2msv5.mjs +0 -3
- package/dist/chunks/cli-1.1.27-ge84mp6e.mjs +0 -2
- package/dist/chunks/cli-1.1.27-ggg6m9qt.mjs +0 -2
- package/dist/chunks/cli-1.1.27-gmknn4xh.mjs +0 -2
- package/dist/chunks/cli-1.1.27-gnhg7s3x.mjs +0 -2
- package/dist/chunks/cli-1.1.27-gnvm8gat.mjs +0 -2
- package/dist/chunks/cli-1.1.27-h7ytc7jg.mjs +0 -9
- package/dist/chunks/cli-1.1.27-hafa2nxa.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hcnrf84n.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hh78rvvf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hhkkts5k.mjs +0 -6
- package/dist/chunks/cli-1.1.27-hrwxg46q.mjs +0 -2
- package/dist/chunks/cli-1.1.27-hs6hv3bh.mjs +0 -20
- package/dist/chunks/cli-1.1.27-j362egg2.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jcn2gvsw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jfqvck1y.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jg3tymed.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jh817v59.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jm7jbypb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jmegwyzr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jmz9pczh.mjs +0 -3
- package/dist/chunks/cli-1.1.27-jt1gb6nf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-jvs6enw9.mjs +0 -2
- package/dist/chunks/cli-1.1.27-k115ge4q.mjs +0 -6
- package/dist/chunks/cli-1.1.27-k2fyp83y.mjs +0 -2
- package/dist/chunks/cli-1.1.27-k6dwtkrp.mjs +0 -2
- package/dist/chunks/cli-1.1.27-k9jt24bv.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kdv6nw9e.mjs +0 -12
- package/dist/chunks/cli-1.1.27-kerbk21s.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kgpk1m6k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kkt8se1z.mjs +0 -2
- package/dist/chunks/cli-1.1.27-kpqha1ce.mjs +0 -2
- package/dist/chunks/cli-1.1.27-krtd4rf3.mjs +0 -3
- package/dist/chunks/cli-1.1.27-m2n4m352.mjs +0 -2
- package/dist/chunks/cli-1.1.27-m5wtrd2b.mjs +0 -2
- package/dist/chunks/cli-1.1.27-m6ne80zc.mjs +0 -2
- package/dist/chunks/cli-1.1.27-maxx6jt7.mjs +0 -4
- package/dist/chunks/cli-1.1.27-me6jhh1k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-mqt20a61.mjs +0 -2
- package/dist/chunks/cli-1.1.27-mr1wxvzb.mjs +0 -3
- package/dist/chunks/cli-1.1.27-n09bs0db.mjs +0 -2
- package/dist/chunks/cli-1.1.27-n3fg97y6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-n6vfvfw4.mjs +0 -2
- package/dist/chunks/cli-1.1.27-nbgxr715.mjs +0 -10
- package/dist/chunks/cli-1.1.27-njcbrvnc.mjs +0 -58
- package/dist/chunks/cli-1.1.27-nmp82pea.mjs +0 -3
- package/dist/chunks/cli-1.1.27-nx2yxmg9.mjs +0 -3
- package/dist/chunks/cli-1.1.27-nxkc7nfr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-ny95570d.mjs +0 -133
- package/dist/chunks/cli-1.1.27-p1sh0ft2.mjs +0 -2
- package/dist/chunks/cli-1.1.27-p7kjkqhn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-p99q7a22.mjs +0 -133
- package/dist/chunks/cli-1.1.27-pab2avnw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-pyjha53q.mjs +0 -2
- package/dist/chunks/cli-1.1.27-q2msmggk.mjs +0 -2
- package/dist/chunks/cli-1.1.27-q830jx95.mjs +0 -2
- package/dist/chunks/cli-1.1.27-qcvp3n4v.mjs +0 -2
- package/dist/chunks/cli-1.1.27-qkzc0vzs.mjs +0 -2
- package/dist/chunks/cli-1.1.27-qnzhd86k.mjs +0 -2
- package/dist/chunks/cli-1.1.27-r32k5nw7.mjs +0 -4
- package/dist/chunks/cli-1.1.27-r335xv52.mjs +0 -6
- package/dist/chunks/cli-1.1.27-r3r36jvq.mjs +0 -25
- package/dist/chunks/cli-1.1.27-r4ck0s0j.mjs +0 -2
- package/dist/chunks/cli-1.1.27-r9jjyax0.mjs +0 -7
- package/dist/chunks/cli-1.1.27-rct7c74m.mjs +0 -2
- package/dist/chunks/cli-1.1.27-rnwaxvgf.mjs +0 -2
- package/dist/chunks/cli-1.1.27-rqdq9mhj.mjs +0 -2
- package/dist/chunks/cli-1.1.27-ryd2t3vk.mjs +0 -2
- package/dist/chunks/cli-1.1.27-s62prq89.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sbj1hdj9.mjs +0 -2
- package/dist/chunks/cli-1.1.27-scfswqdr.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sdw0p0c4.mjs +0 -58
- package/dist/chunks/cli-1.1.27-sngxwsap.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sr4a2gd6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-sw6tnehx.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t13xq38e.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t1dxp2pw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t32zh7r1.mjs +0 -2
- package/dist/chunks/cli-1.1.27-t4rm4dqf.mjs +0 -6
- package/dist/chunks/cli-1.1.27-tc4b7enb.mjs +0 -17
- package/dist/chunks/cli-1.1.27-tpefzkds.mjs +0 -4
- package/dist/chunks/cli-1.1.27-tw693ept.mjs +0 -2
- package/dist/chunks/cli-1.1.27-v24sqtag.mjs +0 -24
- package/dist/chunks/cli-1.1.27-v49qz5nz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-v9dwxgsv.mjs +0 -15
- package/dist/chunks/cli-1.1.27-vh1r16sd.mjs +0 -6
- package/dist/chunks/cli-1.1.27-vhdd7ed4.mjs +0 -39
- package/dist/chunks/cli-1.1.27-w0jz23zw.mjs +0 -2
- package/dist/chunks/cli-1.1.27-w8pwj9ef.mjs +0 -5522
- package/dist/chunks/cli-1.1.27-wbtq2bbb.mjs +0 -2
- package/dist/chunks/cli-1.1.27-wj32ftfy.mjs +0 -2
- package/dist/chunks/cli-1.1.27-wpnpp1vg.mjs +0 -2
- package/dist/chunks/cli-1.1.27-wtthtmes.mjs +0 -3
- package/dist/chunks/cli-1.1.27-wz24bwzn.mjs +0 -2
- package/dist/chunks/cli-1.1.27-x6dqasdj.mjs +0 -17
- package/dist/chunks/cli-1.1.27-xdfkhk5m.mjs +0 -16
- package/dist/chunks/cli-1.1.27-xjabxtdd.mjs +0 -7
- package/dist/chunks/cli-1.1.27-xx0q9f0f.mjs +0 -2
- package/dist/chunks/cli-1.1.27-y6pe4jk6.mjs +0 -2
- package/dist/chunks/cli-1.1.27-y712t8h2.mjs +0 -2
- package/dist/chunks/cli-1.1.27-y935z28w.mjs +0 -2
- package/dist/chunks/cli-1.1.27-yghv5btz.mjs +0 -2
- package/dist/chunks/cli-1.1.27-z32qkf2d.mjs +0 -18
- package/dist/chunks/cli-1.1.27-zbbzy1ze.mjs +0 -2
- package/dist/chunks/cli-1.1.27-zgweqxf0.mjs +0 -9
- package/dist/chunks/cli-1.1.27-zq9wak2z.mjs +0 -2
- package/dist/chunks/cli-1.1.27-zr523fbq.mjs +0 -3
- package/dist/chunks/client-1.1.27-ex7wh5hg.mjs +0 -1
- package/dist/chunks/color-1.1.27-58s1yrz1.mjs +0 -1
- package/dist/chunks/compact-1.1.27-c1wgqww4.mjs +0 -3
- package/dist/chunks/config-1.1.27-7vwe1qph.mjs +0 -1
- package/dist/chunks/config-1.1.27-ymfcbn84.mjs +0 -1
- package/dist/chunks/constants-1.1.27-3r2715sd.mjs +0 -1
- package/dist/chunks/context-1.1.27-yznf0qn9.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.27-g15en4j2.mjs +0 -1
- package/dist/chunks/conversation-1.1.27-jmmsnhbw.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.27-g0p5y9rf.mjs +0 -1
- package/dist/chunks/copy-1.1.27-pr6pzthk.mjs +0 -9
- package/dist/chunks/cost-1.1.27-q1yqmxr9.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.27-4cwnpwje.mjs +0 -1
- package/dist/chunks/createSession-1.1.27-xdq80vrv.mjs +0 -1
- package/dist/chunks/debug-1.1.27-42bn4afg.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.27-t14xxt79.mjs +0 -1534
- package/dist/chunks/desktop-1.1.27-c8h6b96d.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.27-qx3djtsx.mjs +0 -1
- package/dist/chunks/detection-1.1.27-0974kbef.mjs +0 -1
- package/dist/chunks/diff-1.1.27-1cb81w47.mjs +0 -1
- package/dist/chunks/doctor-1.1.27-5ky6nxzq.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.27-jcx2c92k.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.27-btzh8ch0.mjs +0 -1
- package/dist/chunks/effort-1.1.27-5yvfxd52.mjs +0 -13
- package/dist/chunks/engine-1.1.27-xcjbgefa.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.27-tdwb5zkz.mjs +0 -1
- package/dist/chunks/envUtils-1.1.27-r07jyd3m.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.27-dr64k9he.mjs +0 -1
- package/dist/chunks/environments-1.1.27-s1z96vy8.mjs +0 -1
- package/dist/chunks/errors-1.1.27-bm50fpjg.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.27-wnw6egjm.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.27-evt4sr84.mjs +0 -1
- package/dist/chunks/exit-1.1.27-vgdg65b7.mjs +0 -1
- package/dist/chunks/explorer-1.1.27-zkb8zkpf.mjs +0 -1
- package/dist/chunks/export-1.1.27-tda60v40.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.27-2bmjnc65.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.27-m7byqk30.mjs +0 -1
- package/dist/chunks/fast-1.1.27-8bjn4w16.mjs +0 -1
- package/dist/chunks/feedback-1.1.27-vzfx84xw.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.27-57d5r280.mjs +0 -1
- package/dist/chunks/git-1.1.27-pe9yjmar.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.27-r2w00yyn.mjs +0 -1
- package/dist/chunks/goal-1.1.27-da40b321.mjs +0 -4
- package/dist/chunks/growthbook-1.1.27-rmhw14zh.mjs +0 -1
- package/dist/chunks/headless-1.1.27-gwzekzne.mjs +0 -2
- package/dist/chunks/heapdump-1.1.27-0702z5xd.mjs +0 -6
- package/dist/chunks/help-1.1.27-gwcwagyv.mjs +0 -1
- package/dist/chunks/hookChains-1.1.27-jyc4rzjs.mjs +0 -3
- package/dist/chunks/hooks-1.1.27-8p1xt4z2.mjs +0 -1
- package/dist/chunks/hooks-1.1.27-vvzpa77q.mjs +0 -79
- package/dist/chunks/ide-1.1.27-w2am9w2t.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.27-fk490n21.mjs +0 -1
- package/dist/chunks/import-1.1.27-69zkqd7t.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.27-7whcznny.mjs +0 -1
- package/dist/chunks/index-1.1.27-03qtf3bh.mjs +0 -9
- package/dist/chunks/index-1.1.27-2w3eyz3g.mjs +0 -1
- package/dist/chunks/index-1.1.27-4td4kk2r.mjs +0 -2
- package/dist/chunks/index-1.1.27-72s4gvww.mjs +0 -1
- package/dist/chunks/index-1.1.27-7rmx1z0f.mjs +0 -9
- package/dist/chunks/index-1.1.27-949q66tk.mjs +0 -1
- package/dist/chunks/index-1.1.27-9w6rbss1.mjs +0 -1
- package/dist/chunks/index-1.1.27-9w6y0sqf.mjs +0 -5
- package/dist/chunks/index-1.1.27-9za77x22.mjs +0 -2
- package/dist/chunks/index-1.1.27-av965j5w.mjs +0 -1
- package/dist/chunks/index-1.1.27-dpf9bwn3.mjs +0 -1
- package/dist/chunks/index-1.1.27-dzzkz91c.mjs +0 -1
- package/dist/chunks/index-1.1.27-ed0cj234.mjs +0 -30
- package/dist/chunks/index-1.1.27-fz6pezpj.mjs +0 -1
- package/dist/chunks/index-1.1.27-haym7ds6.mjs +0 -1
- package/dist/chunks/index-1.1.27-k2zye2ba.mjs +0 -1
- package/dist/chunks/index-1.1.27-ktav82bw.mjs +0 -1
- package/dist/chunks/index-1.1.27-qj3j1rkb.mjs +0 -1
- package/dist/chunks/index-1.1.27-r6ypg71x.mjs +0 -1
- package/dist/chunks/index-1.1.27-r8jqe3yp.mjs +0 -1
- package/dist/chunks/index-1.1.27-rcxd3h0n.mjs +0 -23
- package/dist/chunks/index-1.1.27-spc0z43g.mjs +0 -1
- package/dist/chunks/index-1.1.27-xvd24vg3.mjs +0 -1
- package/dist/chunks/init-1.1.27-kbwzggfn.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.27-r8gnhged.mjs +0 -1
- package/dist/chunks/ink-1.1.27-btbyg6z5.mjs +0 -1
- package/dist/chunks/insights-1.1.27-r17n37gt.mjs +0 -870
- package/dist/chunks/install-1.1.27-rst7c5sr.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.27-qe83k348.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.27-9btj28ve.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.27-zs5yatff.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.27-vkw6dmnx.mjs +0 -1
- package/dist/chunks/keybindings-1.1.27-1sx34z24.mjs +0 -2
- package/dist/chunks/knowledge-1.1.27-3vda7yge.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.27-8vg474pc.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.27-ax53z9hj.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.27-34tp38m5.mjs +0 -1
- package/dist/chunks/log-1.1.27-trbh6pmv.mjs +0 -1
- package/dist/chunks/main-1.1.27-y8ep0qqz.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.27-xf362k5y.mjs +0 -1
- package/dist/chunks/mcp-1.1.27-af12t0f2.mjs +0 -1
- package/dist/chunks/mcp-1.1.27-qzntdrh6.mjs +0 -17
- package/dist/chunks/mcp-1.1.27-vsgp33q0.mjs +0 -4
- package/dist/chunks/mcpb-1.1.27-m9bw286t.mjs +0 -1
- package/dist/chunks/memory-1.1.27-tzff1b9e.mjs +0 -72
- package/dist/chunks/model-1.1.27-968y8qcm.mjs +0 -2
- package/dist/chunks/model-1.1.27-p2b82a7t.mjs +0 -1
- package/dist/chunks/node-1.1.27-bghx5g4n.mjs +0 -1
- package/dist/chunks/node-1.1.27-rjfnqhpk.mjs +0 -15
- package/dist/chunks/oauth-1.1.27-19qatx62.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.27-p50pa80m.mjs +0 -14
- package/dist/chunks/output-style-1.1.27-6h4astb5.mjs +0 -1
- package/dist/chunks/package-OS7RONXY-1.1.27-nvbtkqpn.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.27-3gy61f1e.mjs +0 -1
- package/dist/chunks/parser-1.1.27-6m7zhkr7.mjs +0 -1
- package/dist/chunks/passes-1.1.27-2n9jw11x.mjs +0 -1
- package/dist/chunks/permissions-1.1.27-ah7j2bj9.mjs +0 -3
- package/dist/chunks/permissions-1.1.27-qnhk36mh.mjs +0 -1
- package/dist/chunks/plan-1.1.27-vkhc8mq9.mjs +0 -1
- package/dist/chunks/plist-1.1.27-vg4h3pf9.mjs +0 -1
- package/dist/chunks/plugin-1.1.27-benemmgh.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.27-tyd8w4ay.mjs +0 -1
- package/dist/chunks/plugins-1.1.27-er0je2r7.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.27-8w2hxz61.mjs +0 -2
- package/dist/chunks/print-1.1.27-nf4vjdv0.mjs +0 -57
- package/dist/chunks/process-1.1.27-1en4vj8c.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.27-y2nx754j.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.27-mert7w0e.mjs +0 -9
- package/dist/chunks/prompt-1.1.27-0qqepg5j.mjs +0 -1
- package/dist/chunks/prompt-1.1.27-40pnv6x7.mjs +0 -1
- package/dist/chunks/prompts-1.1.27-kvtvsbhd.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.27-27de09ht.mjs +0 -13
- package/dist/chunks/provider-1.1.27-g4r1c84c.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.27-tp6zknw0.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.27-ntakvdzk.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.27-fvdwd7xd.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.27-5pprq81w.mjs +0 -26
- package/dist/chunks/registry-1.1.27-vccj3rtk.mjs +0 -1
- package/dist/chunks/release-notes-1.1.27-a7x9237x.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.27-7yf3667k.mjs +0 -2
- package/dist/chunks/remote-env-1.1.27-2vdhr1s9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.27-0qn70btv.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.27-21n6mx7d.mjs +0 -1
- package/dist/chunks/rename-1.1.27-x0qfjvj2.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.27-661m032k.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.27-48an8y55.mjs +0 -1
- package/dist/chunks/resume-1.1.27-0n7jaz71.mjs +0 -2
- package/dist/chunks/rewind-1.1.27-0dhz50d0.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.27-8k0jbnfk.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.27-3a15vms4.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.27-j8pr6jz7.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.27-r1nrcxaz.mjs +0 -1
- package/dist/chunks/session-1.1.27-bv5zha49.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.27-z50hzta3.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.27-vc8ajjh0.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.27-0vfss5b6.mjs +0 -1
- package/dist/chunks/settings-1.1.27-jar0d6ey.mjs +0 -1
- package/dist/chunks/setup-1.1.27-ggnhb2c8.mjs +0 -12
- package/dist/chunks/sinks-1.1.27-qevt5nft.mjs +0 -1
- package/dist/chunks/skills-1.1.27-wjq94pk8.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.27-q5yb3a35.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.27-k3spb2gh.mjs +0 -1
- package/dist/chunks/state-1.1.27-fpyqkxby.mjs +0 -1
- package/dist/chunks/stats-1.1.27-xb10zj7e.mjs +0 -1
- package/dist/chunks/status-1.1.27-7vscpczw.mjs +0 -1
- package/dist/chunks/stickers-1.1.27-j4em7gfg.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.27-0dm2v5n5.mjs +0 -1
- package/dist/chunks/tasks-1.1.27-a7d9cx1a.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.27-2jkv3830.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.27-8vmyznjc.mjs +0 -1
- package/dist/chunks/teleport-1.1.27-d6bgvctx.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.27-8k6bdqzf.mjs +0 -1
- package/dist/chunks/theme-1.1.27-dzme81zx.mjs +0 -1
- package/dist/chunks/thinkback-1.1.27-8hrqe8zc.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.27-7pf0t9jk.mjs +0 -1
- package/dist/chunks/toolPool-1.1.27-yndm4vnc.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.27-m1tpg8zj.mjs +0 -1
- package/dist/chunks/tools-1.1.27-f6v2cxn6.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.27-bkp7wbqw.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.27-ev0anxmd.mjs +0 -69
- package/dist/chunks/types-1.1.27-pgjcgwmr.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.27-fzpef911.mjs +0 -4
- package/dist/chunks/update-1.1.27-0rwrmj8m.mjs +0 -72
- package/dist/chunks/upgrade-1.1.27-zacn9g92.mjs +0 -1
- package/dist/chunks/upload-1.1.27-9natjvcx.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.27-484n2sck.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.27-e0vf9zwd.mjs +0 -1
- package/dist/chunks/usage-1.1.27-qdx2zhbe.mjs +0 -1
- package/dist/chunks/util-1.1.27-m60qqy4m.mjs +0 -1
- package/dist/chunks/utils-1.1.27-bpj1f9q9.mjs +0 -1
- package/dist/chunks/vim-1.1.27-dvj5bk5p.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.27-1vydfkzw.mjs +0 -13
- package/dist/chunks/watcher-1.1.27-jxayr96k.mjs +0 -1
- package/dist/chunks/wiki-1.1.27-t7nxcbah.mjs +0 -132
- package/dist/chunks/workflows-1.1.27-7bdgxjth.mjs +0 -1
- package/dist/chunks/worktree-1.1.27-6kkgvwks.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.27-ax7kv7qq.mjs +0 -1
- package/dist/chunks/wrapper-1.1.27-q9kmdf61.mjs +0 -7
- /package/dist/chunks/{cli-1.1.27-f8njyndt.mjs → cli-1.1.28-43p679k7.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-4an77vdm.mjs → cli-1.1.28-7d7hz6b4.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-5mn2zxpk.mjs → cli-1.1.28-f658tc1w.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-097en7tp.mjs → cli-1.1.28-m37hk495.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-sgvc7y72.mjs → cli-1.1.28-m7x3ax7z.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.27-r2qyxh4t.mjs → cli-1.1.28-qzdtd4w8.mjs} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Co as Xq,Eo as i,FO as Oq,Fo as g,Io as c,JO as wq,No as Yq,Qo as E,SG as w,Uo as t,ZG as e,am as Uq,ky as Zq,ly as Wq,ny as Mq,vm as Vq,yo as M,zo as n}from"./cli-1.1.27-w8pwj9ef.mjs";import"./cli-1.1.27-96ccvbyj.mjs";import"./cli-1.1.27-9d0bkxf6.mjs";import"./cli-1.1.27-f3cv6wk1.mjs";import"./cli-1.1.27-sr4a2gd6.mjs";import"./cli-1.1.27-3mpdw95c.mjs";import"./cli-1.1.27-x6dqasdj.mjs";import"./cli-1.1.27-22f6jd6a.mjs";import"./cli-1.1.27-gmknn4xh.mjs";import"./cli-1.1.27-2mtc2dbf.mjs";import"./cli-1.1.27-gan2msv5.mjs";import"./cli-1.1.27-pab2avnw.mjs";import"./cli-1.1.27-090g18py.mjs";import"./cli-1.1.27-nx2yxmg9.mjs";import"./cli-1.1.27-7zpnm6dn.mjs";import"./cli-1.1.27-jvs6enw9.mjs";import"./cli-1.1.27-7jakzfss.mjs";import"./cli-1.1.27-nxkc7nfr.mjs";import"./cli-1.1.27-wbtq2bbb.mjs";import"./cli-1.1.27-q830jx95.mjs";import"./cli-1.1.27-9chfrr9e.mjs";import"./cli-1.1.27-f218cppx.mjs";import{F1 as m,H1 as A,g0 as a,k2 as l}from"./cli-1.1.27-6spv5ha8.mjs";import"./cli-1.1.27-zr523fbq.mjs";import"./cli-1.1.27-hrwxg46q.mjs";import"./cli-1.1.27-m2n4m352.mjs";import"./cli-1.1.27-xx0q9f0f.mjs";import"./cli-1.1.27-6g67vpnz.mjs";import"./cli-1.1.27-zq9wak2z.mjs";import"./cli-1.1.27-hhkkts5k.mjs";import"./cli-1.1.27-scfswqdr.mjs";import"./cli-1.1.27-4xegg6js.mjs";import"./cli-1.1.27-94qc7asn.mjs";import"./cli-1.1.27-3eax0jv3.mjs";import{U4 as R,V4 as V,W4 as r}from"./cli-1.1.27-kgpk1m6k.mjs";import{X4 as yq}from"./cli-1.1.27-m5wtrd2b.mjs";import"./cli-1.1.27-d4km9s81.mjs";import"./cli-1.1.27-8vkygf4q.mjs";import"./cli-1.1.27-1rztfj2j.mjs";import"./cli-1.1.27-wtthtmes.mjs";import"./cli-1.1.27-xdfkhk5m.mjs";import"./cli-1.1.27-kdv6nw9e.mjs";import{$9 as j,a_ as Tq}from"./cli-1.1.27-vh1r16sd.mjs";import"./cli-1.1.27-ny95570d.mjs";import"./cli-1.1.27-dhzbmaf3.mjs";import"./cli-1.1.27-k9jt24bv.mjs";import{I$ as Qq,K$ as Aq,Wfa as $,Zfa as d,sga as Lq}from"./cli-1.1.27-48ezce33.mjs";import"./cli-1.1.27-fw9r8cwg.mjs";import"./cli-1.1.27-eag2dgb4.mjs";import"./cli-1.1.27-n3fg97y6.mjs";import"./cli-1.1.27-dfww0knt.mjs";import"./cli-1.1.27-njcbrvnc.mjs";import{Gja as s,Ija as kq}from"./cli-1.1.27-cxy3fqs0.mjs";import"./cli-1.1.27-y712t8h2.mjs";import{uka as Kq,xka as Pq}from"./cli-1.1.27-7gnbh46g.mjs";import"./cli-1.1.27-r335xv52.mjs";import"./cli-1.1.27-jt1gb6nf.mjs";import"./cli-1.1.27-0rz9qd34.mjs";import"./cli-1.1.27-t1dxp2pw.mjs";import"./cli-1.1.27-m6ne80zc.mjs";import"./cli-1.1.27-jg3tymed.mjs";import"./cli-1.1.27-8gsqhqyf.mjs";import"./cli-1.1.27-4cjm0m5c.mjs";import"./cli-1.1.27-t4rm4dqf.mjs";import"./cli-1.1.27-n09bs0db.mjs";import{Ita as I,Mta as o}from"./cli-1.1.27-8vrv0ver.mjs";function qq(B){let q=D.c(9),{onComplete:z}=B,K;if(q[0]!==z)K=async(W)=>{let G=W==="yes";$((U)=>({...U,autoConnectIde:G,hasIdeAutoConnectDialogBeenShown:!0})),z()},q[0]=z,q[1]=K;else K=q[1];let X=K,H;if(q[2]===Symbol.for("react.memo_cache_sentinel"))H=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],q[2]=H;else H=q[2];let Y=H,O;if(q[3]!==X)O=R(w,{options:Y,onChange:X,defaultValue:"yes"}),q[3]=X,q[4]=O;else O=q[4];let Q;if(q[5]===Symbol.for("react.memo_cache_sentinel"))Q=R(A,{dimColor:!0,children:"You can also configure this in /config or with the --ide flag"}),q[5]=Q;else Q=q[5];let J;if(q[6]!==z||q[7]!==O)J=V(M,{title:"Do you wish to enable auto-connect to IDE?",color:"ide",onCancel:z,children:[O,Q]}),q[6]=z,q[7]=O,q[8]=J;else J=q[8];return J}function zq(){let B=d();return!g()&&B.autoConnectIde!==!0&&B.hasIdeAutoConnectDialogBeenShown!==!0}function Bq(B){let q=D.c(10),{onComplete:z}=B,K;if(q[0]!==z)K=(G)=>{let U=G==="yes";if(U)$(Fq);z(U)},q[0]=z,q[1]=K;else K=q[1];let X=K,H;if(q[2]!==z)H=()=>{z(!1)},q[2]=z,q[3]=H;else H=q[3];let Y=H,O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=[{label:"No",value:"no"},{label:"Yes",value:"yes"}],q[4]=O;else O=q[4];let Q=O,J;if(q[5]!==X)J=R(w,{options:Q,onChange:X,defaultValue:"no"}),q[5]=X,q[6]=J;else J=q[6];let W;if(q[7]!==Y||q[8]!==J)W=R(M,{title:"Do you wish to disable auto-connect to IDE?",subtitle:"You can also configure this in /config",onCancel:Y,color:"ide",children:J}),q[7]=Y,q[8]=J,q[9]=W;else W=q[9];return W}function Fq(B){return{...B,autoConnectIde:!1}}function Hq(){let B=d();return!g()&&B.autoConnectIde===!0}var D;var Jq=o(()=>{l();Lq();t();e();n();r();D=I(a(),1)});import*as Rq from"path";function jq(B){let q=C.c(39),{availableIDEs:z,unavailableIDEs:K,selectedIDE:X,onClose:H,onSelect:Y}=B,O;if(q[0]!==X?.port)O=X?.port?.toString()??"None",q[0]=X?.port,q[1]=O;else O=q[1];let[Q,J]=T.useState(O),[W,G]=T.useState(!1),[U,Z]=T.useState(!1),L;if(q[2]!==z||q[3]!==Y)L=(P)=>{if(P!=="None"&&zq())G(!0);else if(P==="None"&&Hq())Z(!0);else Y(z.find((y)=>y.port===parseInt(P)))},q[2]=z,q[3]=Y,q[4]=L;else L=q[4];let N=L,F;if(q[5]!==z)F=z.reduce(_q,{}),q[5]=z,q[6]=F;else F=q[6];let k=F,x;if(q[7]!==z||q[8]!==k){let P;if(q[10]!==k)P=(y)=>{let Nq=(k[y.name]||0)>1&&y.workspaceFolders.length>0;return{label:y.name,value:y.port.toString(),description:Nq?Gq(y.workspaceFolders):void 0}},q[10]=k,q[11]=P;else P=q[11];x=z.map(P).concat([{label:"None",value:"None",description:void 0}]),q[7]=z,q[8]=k,q[9]=x}else x=q[9];let v=x;if(W){let P;if(q[12]!==N||q[13]!==Q)P=R(qq,{onComplete:()=>N(Q)}),q[12]=N,q[13]=Q,q[14]=P;else P=q[14];return P}if(U){let P;if(q[15]!==Y)P=R(Bq,{onComplete:()=>{Y(void 0)}}),q[15]=Y,q[16]=P;else P=q[16];return P}let _;if(q[17]!==z.length)_=z.length===0&&R(A,{dimColor:!0,children:i()?`No available IDEs detected. Please install the plugin and restart your IDE:
|
|
2
|
-
https://docs.claude.com/s/claude-code-jetbrains`:"No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."}),q[17]=z.length,q[18]=_;else _=q[18];let S;if(q[19]!==z.length||q[20]!==N||q[21]!==v||q[22]!==Q)S=z.length!==0&&R(w,{defaultValue:Q,defaultFocusValue:Q,options:v,onChange:(P)=>{J(P),N(P)}}),q[19]=z.length,q[20]=N,q[21]=v,q[22]=Q,q[23]=S;else S=q[23];let f;if(q[24]!==z)f=z.length!==0&&z.some(xq)&&R(m,{marginTop:1,children:R(A,{color:"warning",children:"Note: Only one Claudin instance can be connected to VS Code at a time."})}),q[24]=z,q[25]=f;else f=q[25];let b;if(q[26]!==z.length)b=z.length!==0&&!g()&&R(m,{marginTop:1,children:R(A,{dimColor:!0,children:"Tip: You can enable auto-connect to IDE in /config or with the --ide flag"})}),q[26]=z.length,q[27]=b;else b=q[27];let h;if(q[28]!==K)h=K.length>0&&V(m,{marginTop:1,flexDirection:"column",children:[V(A,{dimColor:!0,children:["Found ",K.length," other running IDE(s). However, their workspace/project directories do not match the current cwd."]}),R(m,{marginTop:1,flexDirection:"column",children:K.map(mq)})]}),q[28]=K,q[29]=h;else h=q[29];let p;if(q[30]!==_||q[31]!==S||q[32]!==f||q[33]!==b||q[34]!==h)p=V(m,{flexDirection:"column",children:[_,S,f,b,h]}),q[30]=_,q[31]=S,q[32]=f,q[33]=b,q[34]=h,q[35]=p;else p=q[35];let u;if(q[36]!==H||q[37]!==p)u=R(M,{title:"Select IDE",subtitle:"Connect to an IDE for integrated development features.",onCancel:H,color:"ide",children:p}),q[36]=H,q[37]=p,q[38]=u;else u=q[38];return u}function mq(B,q){return R(m,{paddingLeft:3,children:V(A,{dimColor:!0,children:["• ",B.name,": ",Gq(B.workspaceFolders)]})},q)}function xq(B){return B.name==="VS Code"||B.name==="Visual Studio Code"}function _q(B,q){return B[q.name]=(B[q.name]||0)+1,B}async function Sq(B,q){let z=q?.ide;if(!z||z.type!=="sse-ide"&&z.type!=="ws-ide")return null;for(let K of B)if(K.url===z.url)return K;return null}function fq(B){let q=C.c(18),{availableIDEs:z,onSelectIDE:K,onDone:X}=B,H;if(q[0]!==z[0]?.port)H=z[0]?.port?.toString()??"",q[0]=z[0]?.port,q[1]=H;else H=q[1];let[Y,O]=T.useState(H),Q;if(q[2]!==z||q[3]!==K)Q=(k)=>{let x=z.find((v)=>v.port===parseInt(k));K(x)},q[2]=z,q[3]=K,q[4]=Q;else Q=q[4];let J=Q,W;if(q[5]!==z)W=z.map(bq),q[5]=z,q[6]=W;else W=q[6];let G=W,U;if(q[7]!==X)U=function(){X("IDE selection cancelled",{display:"system"})},q[7]=X,q[8]=U;else U=q[8];let Z=U,L;if(q[9]!==J)L=(k)=>{O(k),J(k)},q[9]=J,q[10]=L;else L=q[10];let N;if(q[11]!==G||q[12]!==Y||q[13]!==L)N=R(w,{defaultValue:Y,defaultFocusValue:Y,options:G,onChange:L}),q[11]=G,q[12]=Y,q[13]=L,q[14]=N;else N=q[14];let F;if(q[15]!==Z||q[16]!==N)F=R(M,{title:"Select an IDE to open the project",onCancel:Z,color:"ide",children:N}),q[15]=Z,q[16]=N,q[17]=F;else F=q[17];return F}function bq(B){return{label:B.name,value:B.port.toString()}}function hq(B){let q=C.c(15),{runningIDEs:z,onSelectIDE:K,onDone:X}=B,[H,Y]=T.useState(z[0]??""),O;if(q[0]!==K)O=(F)=>{K(F)},q[0]=K,q[1]=O;else O=q[1];let Q=O,J;if(q[2]!==z)J=z.map(pq),q[2]=z,q[3]=J;else J=q[3];let W=J,G;if(q[4]!==X)G=function(){X("IDE selection cancelled",{display:"system"})},q[4]=X,q[5]=G;else G=q[5];let U=G,Z;if(q[6]!==Q)Z=(F)=>{Y(F),Q(F)},q[6]=Q,q[7]=Z;else Z=q[7];let L;if(q[8]!==W||q[9]!==H||q[10]!==Z)L=R(w,{defaultFocusValue:H,options:W,onChange:Z}),q[8]=W,q[9]=H,q[10]=Z,q[11]=L;else L=q[11];let N;if(q[12]!==U||q[13]!==L)N=R(M,{title:"Select IDE to install extension",onCancel:U,color:"ide",children:L}),q[12]=U,q[13]=L,q[14]=N;else N=q[14];return N}function pq(B){return{label:E(B),value:B}}function gq(B){let q=C.c(4),{ide:z,onInstall:K}=B,X,H;if(q[0]!==z||q[1]!==K)X=()=>{K(z)},H=[z,K],q[0]=z,q[1]=K,q[2]=X,q[3]=H;else X=q[2],H=q[3];return T.useEffect(X,H),null}async function Qz(B,q,z){Kq("",{});let{options:{dynamicMcpConfig:K},onChangeDynamicMcpConfig:X}=q;if(z?.trim()==="open"){let J=Uq(),W=J?J.worktreePath:s(),U=(await c(!0)).filter((Z)=>Z.isValid);if(U.length===0)return B("No IDEs with Claude Code extension detected."),null;return R(fq,{availableIDEs:U,onSelectIDE:async(Z)=>{if(!Z){B("No IDE selected.");return}if(Z.name.toLowerCase().includes("vscode")||Z.name.toLowerCase().includes("cursor")||Z.name.toLowerCase().includes("windsurf")){let{code:L}=await Qq("code",[W]);if(L===0)B(`Opened ${J?"worktree":"project"} in ${j.bold(Z.name)}`);else B(`Failed to open in ${Z.name}. Try opening manually: ${W}`)}else if(i())B(`Please open the ${J?"worktree":"project"} manually in ${j.bold(Z.name)}: ${W}`);else B(`Please open the ${J?"worktree":"project"} manually in ${j.bold(Z.name)}: ${W}`)},onDone:()=>{B("Exited without opening IDE",{display:"system"})}})}let H=await c(!0);if(H.length===0&&q.onInstallIDEExtension&&!g()){let J=await Yq(),W=(G)=>{if(q.onInstallIDEExtension)if(q.onInstallIDEExtension(G),Xq(G))B(`Installed plugin to ${j.bold(E(G))}
|
|
3
|
-
Please ${j.bold("restart your IDE")} completely for it to take effect`);else B(`Installed extension to ${j.bold(E(G))}`)};if(J.length>1)return R(hq,{runningIDEs:J,onSelectIDE:W,onDone:()=>{B("No IDE selected.",{display:"system"})}});else if(J.length===1)return R(gq,{ide:J[0],onInstall:W})}let Y=H.filter((J)=>J.isValid),O=H.filter((J)=>!J.isValid),Q=await Sq(Y,K);return R(Cq,{availableIDEs:Y,unavailableIDEs:O,currentIDE:Q,dynamicMcpConfig:K,onChangeDynamicMcpConfig:X,onDone:B})}function Cq({availableIDEs:B,unavailableIDEs:q,currentIDE:z,dynamicMcpConfig:K,onChangeDynamicMcpConfig:X,onDone:H}){let[Y,O]=T.useState(null),Q=Zq((U)=>U.mcp.clients.find((Z)=>Z.name==="ide")),J=Wq(),W=T.useRef(!0);T.useEffect(()=>{if(!Y)return;if(W.current){W.current=!1;return}if(!Q||Q.type==="pending")return;if(Q.type==="connected")H(`Connected to ${Y.name}.`);else if(Q.type==="failed")H(`Failed to connect to ${Y.name}.`)},[Q,Y,H]),T.useEffect(()=>{if(!Y)return;let U=setTimeout(H,vq,`Connection to ${Y.name} timed out.`);return()=>clearTimeout(U)},[Y,H]);let G=T.useCallback((U)=>{if(!X){H("Error connecting to IDE.");return}let Z={...K||{}};if(z)delete Z.ide;if(!U){if(Q&&Q.type==="connected"&&z)Q.client.onclose=()=>{},Oq("ide",Q.config),J((N)=>({...N,mcp:{...N.mcp,clients:N.mcp.clients.filter((F)=>F.name!=="ide"),tools:N.mcp.tools.filter((F)=>!F.name?.startsWith("mcp__ide__")),commands:N.mcp.commands.filter((F)=>!F.name?.startsWith("mcp__ide__"))}}));X(Z),H(z?`Disconnected from ${z.name}.`:"No IDE selected.");return}let L=U.url;Z.ide={type:L.startsWith("ws:")?"ws-ide":"sse-ide",url:L,ideName:U.name,authToken:U.authToken,ideRunningInWindows:U.ideRunningInWindows,scope:"dynamic"},W.current=!0,O(U),X(Z)},[K,z,Q,J,X,H]);if(Y)return V(A,{dimColor:!0,children:["Connecting to ",Y.name,"…"]});return R(jq,{availableIDEs:B,unavailableIDEs:q,selectedIDE:z,onClose:()=>H("IDE selection cancelled",{display:"system"}),onSelect:G})}function Gq(B,q=100){if(B.length===0)return"";let z=s(),K=B.slice(0,2),X=B.length>2,H=X?3:0,Y=(K.length-1)*2,O=q-Y-H,Q=Math.floor(O/K.length),J=z.normalize("NFC"),G=K.map((U)=>{let Z=U.normalize("NFC");if(Z.startsWith(J+Rq.sep))U=Z.slice(J.length+1);if(U.length<=Q)return U;return"…"+U.slice(-(Q-1))}).join(", ");if(X)G+=", …";return G}var C,T,vq=35000;var uq=o(()=>{Tq();Pq();e();n();Jq();l();wq();Mq();kq();Aq();t();Vq();r();C=I(a(),1),T=I(yq(),1)});uq();export{Gq as formatWorkspaceFolders,Qz as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Mta as z}from"./cli-1.1.27-8vrv0ver.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import{$f as UE,Zf as $,_f as S,ag as n,bg as y,cg as x,dg as K,eg as FI,fg as FO,gg as lI,hg as wO,ig as RI,jg as iI}from"./cli-1.1.27-kerbk21s.mjs";import{IN as _R,QG as XO,RG as FR,SG as VR,ZG as wN,_p as wI,dq as OI,eq as oI,wN as JO,xN as KO}from"./cli-1.1.27-w8pwj9ef.mjs";import"./cli-1.1.27-96ccvbyj.mjs";import"./cli-1.1.27-9d0bkxf6.mjs";import"./cli-1.1.27-f3cv6wk1.mjs";import"./cli-1.1.27-sr4a2gd6.mjs";import"./cli-1.1.27-3mpdw95c.mjs";import"./cli-1.1.27-x6dqasdj.mjs";import"./cli-1.1.27-22f6jd6a.mjs";import"./cli-1.1.27-gmknn4xh.mjs";import"./cli-1.1.27-2mtc2dbf.mjs";import"./cli-1.1.27-gan2msv5.mjs";import"./cli-1.1.27-pab2avnw.mjs";import"./cli-1.1.27-090g18py.mjs";import"./cli-1.1.27-nx2yxmg9.mjs";import"./cli-1.1.27-7zpnm6dn.mjs";import"./cli-1.1.27-jvs6enw9.mjs";import"./cli-1.1.27-7jakzfss.mjs";import"./cli-1.1.27-nxkc7nfr.mjs";import"./cli-1.1.27-wbtq2bbb.mjs";import"./cli-1.1.27-q830jx95.mjs";import"./cli-1.1.27-9chfrr9e.mjs";import"./cli-1.1.27-f218cppx.mjs";import{F1 as P,H1 as u,k2 as WO}from"./cli-1.1.27-6spv5ha8.mjs";import"./cli-1.1.27-zr523fbq.mjs";import"./cli-1.1.27-hrwxg46q.mjs";import"./cli-1.1.27-m2n4m352.mjs";import"./cli-1.1.27-xx0q9f0f.mjs";import"./cli-1.1.27-6g67vpnz.mjs";import"./cli-1.1.27-zq9wak2z.mjs";import"./cli-1.1.27-hhkkts5k.mjs";import"./cli-1.1.27-scfswqdr.mjs";import"./cli-1.1.27-4xegg6js.mjs";import"./cli-1.1.27-94qc7asn.mjs";import"./cli-1.1.27-3eax0jv3.mjs";import{U4 as V,V4 as JI,W4 as MI}from"./cli-1.1.27-kgpk1m6k.mjs";import{X4 as GO}from"./cli-1.1.27-m5wtrd2b.mjs";import"./cli-1.1.27-d4km9s81.mjs";import"./cli-1.1.27-8vkygf4q.mjs";import"./cli-1.1.27-1rztfj2j.mjs";import"./cli-1.1.27-wtthtmes.mjs";import"./cli-1.1.27-xdfkhk5m.mjs";import"./cli-1.1.27-kdv6nw9e.mjs";import"./cli-1.1.27-vh1r16sd.mjs";import"./cli-1.1.27-ny95570d.mjs";import"./cli-1.1.27-dhzbmaf3.mjs";import"./cli-1.1.27-k9jt24bv.mjs";import{Ega as ZO,Qga as zO,Rba as EE,Sba as sR,Sha as KI,Zfa as BR,_ha as MO,dga as GR,sga as zN,vda as ZE,xda as NN,xga as WR}from"./cli-1.1.27-48ezce33.mjs";import"./cli-1.1.27-fw9r8cwg.mjs";import"./cli-1.1.27-eag2dgb4.mjs";import"./cli-1.1.27-n3fg97y6.mjs";import"./cli-1.1.27-dfww0knt.mjs";import"./cli-1.1.27-njcbrvnc.mjs";import{Gja as TR,Ija as $N}from"./cli-1.1.27-cxy3fqs0.mjs";import{kka as BI,tka as SE}from"./cli-1.1.27-y712t8h2.mjs";import"./cli-1.1.27-7gnbh46g.mjs";import"./cli-1.1.27-r335xv52.mjs";import"./cli-1.1.27-jt1gb6nf.mjs";import{Zla as OE,cma as cR}from"./cli-1.1.27-0rz9qd34.mjs";import{fma as LR,qma as XN}from"./cli-1.1.27-t1dxp2pw.mjs";import"./cli-1.1.27-m6ne80zc.mjs";import"./cli-1.1.27-jg3tymed.mjs";import"./cli-1.1.27-8gsqhqyf.mjs";import"./cli-1.1.27-4cjm0m5c.mjs";import"./cli-1.1.27-t4rm4dqf.mjs";import"./cli-1.1.27-n09bs0db.mjs";import{Ita as II,Mta as W}from"./cli-1.1.27-8vrv0ver.mjs";import{basename as mI}from"path";function ZI(I,E){if(!E||!I.startsWith(E))return I;return`~${I.slice(E.length)}`}function p(I,E){return`${I} ${E}${I===1?"":"s"}`}function UO(I){let E=I.map((O)=>("name"in O)?O.name:("key"in O)?O.key:mI(O.destination));if(E.length<=fI)return E.join(", ");return`${E.slice(0,fI).join(", ")}, +${E.length-fI}`}function ZR(I,E){let O=E.length;switch(I){case"mcpServer":return p(O,"MCP server");case"instructions":return O===1&&E[0]?mI(E[0].source):p(O,"memory file");case"command":return p(O,"command");case"agent":return p(O,"agent");case"rule":return p(O,"rule");case"skillDir":return p(O,"skill");case"settingsKey":return p(O,"setting");case"providerHint":return"provider config"}}function zR(I,E,O){let R=E[0];if(!R)return"";switch(I){case"mcpServer":return`${UO(E)} → ${R.scope}`;case"settingsKey":return UO(E);case"providerHint":return R.kind==="providerHint"?`${R.model||"no model"} at ${R.baseUrl||"no base URL"} (no token)`:"";default:return`→ ${ZI(MR(E),O)}`}}function MR(I){let E=I.map((L)=>L.destination),O=E[0];if(!O)return"";if(E.length===1)return O;let R=O.split("/"),N=R.length;for(let L of E.slice(1)){let T=L.split("/"),U=0;while(U<N&&U<T.length&&R[U]===T[U])U+=1;N=U}return`${R.slice(0,N).join("/")}/`}function gI(I,E){let O=new Map;for(let N of I){let L=`${N.kind}:${N.scope}`,T=O.get(L);if(T)T.push(N);else O.set(L,[N])}let R=[];for(let N of qR)for(let L of["user","project"]){let T=O.get(`${N}:${L}`);if(!T||T.length===0)continue;R.push({key:`${N}:${L}`,kind:N,scope:L,artifacts:T,label:ZR(N,T),detail:zR(N,T,E)})}return R}function HO(I,E){let O=[];if(I.applied.length===0)O.push("Nothing was imported.");else for(let R of gI(I.applied,E))O.push(` ✓ ${R.label}${R.detail?` ${R.detail}`:""}`);if(I.skipped.length>0){O.push(""),O.push(` ⚠ ${I.skipped.length} skipped`);for(let R of I.skipped){let N="name"in R?R.name:("key"in R)?R.key:mI(R.destination);O.push(` ${N} — ${R.statusReason??"already present"}`)}}if(I.notImportable.length>0){O.push(""),O.push(" ⎿ Not imported");for(let R of I.notImportable)O.push(` ${R.label} — ${R.detail}`)}if(I.warnings.length>0){O.push(""),O.push(` Warnings (${I.warnings.length})`);for(let R of I.warnings)O.push(` ${ZI(R,E)}`)}if(I.errors.length>0){O.push(""),O.push(` Errors (${I.errors.length})`);for(let R of I.errors)O.push(` ${R}`)}if(I.applied.some((R)=>R.kind==="mcpServer"))O.push(""),O.push(" Restart Claudin to connect the new MCP servers.");if(I.applied.some((R)=>R.kind==="providerHint"))O.push(" Run /provider to finish signing in — no tokens were copied.");return O.join(`
|
|
2
|
-
`)}var qR,fI=3;var xI=W(()=>{qR=["mcpServer","instructions","command","agent","rule","skillDir","settingsKey","providerHint"]});function zI(I){return`agent:${I}`}function HI(I,E){return`${I}:${E}`}function YO(I,E,O){let R=[];for(let N of I){let L=gI(E.artifacts.filter((T)=>T.agent===N.id),O);if(L.length===0)continue;R.push({id:N.id,label:N.label,roots:N.roots.map((T)=>ZI(T.path,O)).join(" "),groups:L})}return R}function KR(I){return I.artifacts.every((E)=>E.status==="identical")}function AO(I){let E=[];for(let O of I){let R=O.groups.filter((N)=>!JR.has(N.kind)&&!KR(N));if(R.length===0)continue;E.push(zI(O.id));for(let N of R)E.push(HI(O.id,N.key))}return E}function SO(I,E){let O=[];for(let R of I){let N=R.groups.length,L=R.groups.filter((U)=>E.has(HI(R.id,U.key))).length,T=L>0&&L<N;O.push({key:zI(R.id),agent:R.id,groupKey:null,label:`▸ ${R.label}${T?` (${L}/${N})`:""}`,description:R.roots});for(let U of R.groups)O.push({key:HI(R.id,U.key),agent:R.id,groupKey:U.key,label:` ${U.label}`,description:U.detail})}return O}function dI(I,E,O){let R=new Set(E),N=new Set(O);for(let L of I){let T=zI(L.id),U=L.groups.map((A)=>HI(L.id,A.key)),H=N.has(T)&&!R.has(T),Y=!N.has(T)&&R.has(T);if(H)for(let A of U)N.add(A);else if(Y)for(let A of U)N.delete(A);if(U.some((A)=>N.has(A)))N.add(T);else N.delete(T)}return[...N]}function CO(I,E){let O=[];for(let R of I)for(let N of R.groups){if(!E.has(HI(R.id,N.key)))continue;O.push(...N.artifacts)}return O}function BO(I){return I.filter((E)=>E.status==="conflict").length}var JR;var pI=W(()=>{xI();JR=new Set(["providerHint","settingsKey"])});function DR(I,E){if(I.length!==E.length)return!1;let O=new Set(E);return I.every((R)=>O.has(R))}function $O({entries:I,notImportable:E,onSubmit:O,onCancel:R}){let[N,L]=YI.useState(()=>AO(I)),[T,U]=YI.useState(0),H=YI.useRef(void 0),A=SO(I,new Set(N)).map((G)=>({value:G.key,label:G.label,description:G.description,dimDescription:!0})),X=(G)=>{let d=dI(I,N,G);if(L(d),!DR(d,G))U((qI)=>qI+1)};return JI(P,{flexDirection:"column",marginBottom:1,children:[V(u,{bold:!0,children:"Import config from another AI coding agent"}),V(P,{marginTop:1,flexDirection:"column",children:V(XO,{options:A,defaultValue:N,focusValue:T===0?void 0:H.current,onFocus:(G)=>{H.current=G},onChange:X,onSubmit:(G)=>O(dI(I,N,G)),onCancel:R,visibleOptionCount:Math.min(A.length,wR),hideIndexes:!0},T)}),E.length>0&&V(P,{marginTop:1,flexDirection:"column",children:V(u,{dimColor:!0,children:`⎿ Not importable: ${E.join(", ")}`})}),V(P,{marginTop:1,children:V(u,{dimColor:!0,children:"Enter confirms · Space toggles · Esc cancels"})})]})}var YI,wR=16;var VO=W(()=>{pI();WO();FR();MI();YI=II(GO(),1)});import{writeFileSync as kR}from"fs";import{dirname as QO}from"path";function qO(I){return I==="user"?"user":"local"}async function vR(I,E,O){switch(I.kind){case"mcpServer":await O.addMcpServer(I.name,I.config,I.scope,E);return;case"instructions":O.writeTextFile(I.destination,I.text);return;case"command":case"agent":case"rule":O.writeTextFile(I.destination,I.markdown);return;case"skillDir":O.copyDirectory(I.sourceDir,I.destination);return;case"settingsKey":O.setSettingsKey(I.destination,I.key,I.value);return;case"providerHint":O.createProviderProfile({name:I.name,provider:I.provider,baseUrl:I.baseUrl,model:I.model});return}}async function DO(I,E,O={},R=PR){let N={applied:[],skipped:[],notImportable:I.notImportable,warnings:[...I.warnings],errors:[]};for(let L of E){if(L.status==="identical"){N.skipped.push({...L,statusReason:L.statusReason??"already identical"});continue}let T=L.status==="conflict";if(T&&!O.overwriteConflicts){N.skipped.push(L);continue}try{await vR(L,T,R),N.applied.push(L)}catch(U){KI(U),N.errors.push(`${L.kind} ${bR(L)}: ${U instanceof Error?U.message:String(U)}`)}}return N}function bR(I){if("name"in I)return I.name;if("key"in I)return I.key;return I.destination}var PR;var _O=W(()=>{_R();iI();zO();MO();PR={writeTextFile:(I,E)=>{lI(QO(I)),kR(I,E,{encoding:"utf8"})},copyDirectory:(I,E)=>{wO(I,E)},addMcpServer:async(I,E,O,R)=>{if(R)await KO(I,qO(O));await JO(I,E,qO(O))},setSettingsKey:(I,E,O)=>{let R=FI(I)??{};lI(QO(I)),FO(I,{...R,[E]:O})},createProviderProfile:(I)=>{ZO({provider:I.provider,name:I.name,baseUrl:I.baseUrl,model:I.model},{makeActive:!1})}}});function AI(I){return I.replace(/\.(md|ya?ml)$/i,"").toLowerCase().replace(yR,"-").replace(hR,"")}function vO(I,E){let O={},R=[],N=[];for(let[L,T]of Object.entries(I)){if(T===null||T===void 0)continue;if(L==="name"||L==="description")continue;if(E.keepKeys.includes(L)){O[L]=T;continue}let U=E.explain[L];if(U)N.push(U);else R.push(L)}if(R.length>0)N.push(`dropped frontmatter: ${R.sort().join(", ")}`);return{kept:O,notes:N}}function bO(I,E,O,R){return`---
|
|
3
|
-
${kO.stringify({name:I,description:E,...O}).trimEnd()}
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
${R.trim()}
|
|
7
|
-
`}function yO(I,E,O){let R=AI(I);if(!R)return{ok:!1,reason:"filename yields an empty agent name"};let{frontmatter:N,content:L}=OI(E),T=S(N.description)??S(N.name);if(!T)return{ok:!1,reason:"has no description, which Claudin requires to load an agent"};if(L.trim().length===0)return{ok:!1,reason:"has an empty system prompt"};let{kept:U,notes:H}=vO(N,O);return{ok:!0,agent:{name:R,relativePath:`${R}.md`,markdown:bO(R,T,U,L),notes:H}}}function hO(I,E,O){let R=S(E.name)??AI(I),N=AI(R);if(!N)return{ok:!1,reason:"has no usable agent name"};let L=S(E.description);if(!L)return{ok:!1,reason:"has no description, which Claudin requires to load an agent"};let T=S(E.systemPrompt)??S(E.system_prompt)??S(E.prompt);if(!T)return{ok:!1,reason:"carries no inline system prompt (only a path to one)"};let{kept:U,notes:H}=vO(Object.fromEntries(Object.entries(E).filter(([Y])=>Y!=="systemPrompt"&&Y!=="system_prompt"&&Y!=="prompt")),O);return{ok:!0,agent:{name:N,relativePath:`${N}.md`,markdown:bO(N,L,U,T),notes:H}}}var kO,yR,hR,PO,nI;var SI=W(()=>{K();oI();kO=II(wI(),1),yR=/[^a-z0-9]+/g,hR=/^-+|-+$/g,PO={keepKeys:["description"],explain:{tools:"tools not carried over — opencode tool names differ from Claudin’s",mode:'opencode "mode" has no equivalent — imported as a subagent',permission:"per-agent permissions not carried over — see /permissions",model:"model not carried over — opencode model ids are provider-qualified"}},nI={keepKeys:["description","color"],explain:{tools:"tools not carried over — Qwen tool names differ from Claudin’s",model:"model not carried over — Qwen model ids are not Claudin’s"}}});function mO(I){let E=I.lastIndexOf("."),O=I.lastIndexOf("/");return E>O?I.slice(0,E):I}function DI(I){return mO(I).split("/").join(":")}function gO(I){return`${mO(I)}.md`}function xO(I,E){let O=E.trim();if(Object.keys(I).length===0)return`${O}
|
|
8
|
-
`;return`---
|
|
9
|
-
${jO.stringify(I).trimEnd()}
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
${O}
|
|
13
|
-
`}function dO(I,E){if(E!=="handlebars")return{body:I,rewritten:!1};let O=I.replace(jR,"$ARGUMENTS");return{body:O,rewritten:O!==I}}function pO(I){let E=[];if(uR.test(I))E.push("uses !{…} shell injection, which Claudin does not expand");if(fR.test(I))E.push("uses @{…} file injection, which Claudin does not expand");return E}function lO(I){if(I.length===0)return"has an empty path";if(I.startsWith("/"))return"has an absolute path";if(mR.test(I))return"path escapes the commands directory";return null}function iO(I,E,O){let R=lO(I);if(R)return{ok:!1,reason:R};let{frontmatter:N,content:L}=OI(E),T={},U=[];for(let[X,G]of Object.entries(N)){if(G===null||G===void 0)continue;if(O.keepKeys.includes(X))T[X]=G;else U.push(X)}let{body:H,rewritten:Y}=dO(L,O.args);if(H.trim().length===0)return{ok:!1,reason:"has no prompt body"};let A=pO(H);if(U.length>0)A.push(`dropped frontmatter: ${U.sort().join(", ")}`);if(Y)A.push("rewrote {{args}} as $ARGUMENTS");return{ok:!0,command:{relativePath:gO(I),name:DI(I),markdown:xO(T,H),notes:A}}}function oO(I,E){let O=lO(I);if(O)return{ok:!1,reason:O};let R=S(E.prompt);if(!R)return{ok:!1,reason:"has no prompt field"};let{body:N,rewritten:L}=dO(R,"handlebars"),T=S(E.description),U=pO(N);if(L)U.push("rewrote {{args}} as $ARGUMENTS");return{ok:!0,command:{relativePath:gO(I),name:DI(I),markdown:xO(T?{description:T}:{},N),notes:U}}}var jO,jR,uR,fR,mR,uO,cI,fO;var EI=W(()=>{K();oI();jO=II(wI(),1),jR=/\{\{\s*args\s*\}\}/g,uR=/!\{[^}]*\}/,fR=/@\{[^}]*\}/,mR=/(^|\/)\.\.(\/|$)/,uO={keepKeys:["description","argument-hint"],args:"claude"},cI={keepKeys:["description"],args:"handlebars"},fO={keepKeys:["description"],args:"claude"}});var gR,f;var sI=W(()=>{/*!
|
|
14
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
15
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
|
-
*
|
|
17
|
-
* Redistribution and use in source and binary forms, with or without
|
|
18
|
-
* modification, are permitted provided that the following conditions are met:
|
|
19
|
-
*
|
|
20
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
21
|
-
* list of conditions and the following disclaimer.
|
|
22
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
23
|
-
* this list of conditions and the following disclaimer in the
|
|
24
|
-
* documentation and/or other materials provided with the distribution.
|
|
25
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
26
|
-
* may be used to endorse or promote products derived from this software without
|
|
27
|
-
* specific prior written permission.
|
|
28
|
-
*
|
|
29
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
30
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
31
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
32
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
33
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
34
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
35
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
36
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
37
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
38
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
39
|
-
*/gR=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;f=class f extends Date{#O=!1;#E=!1;#I=null;constructor(I){let E=!0,O=!0,R="Z";if(typeof I==="string"){let N=I.match(gR);if(N){if(!N[1])E=!1,I=`0000-01-01T${I}`;if(O=!!N[2],O&&I[10]===" "&&(I=I.replace(" ","T")),N[2]&&+N[2]>23)I="";else if(R=N[3]||null,I=I.toUpperCase(),!R&&O)I+="Z"}else I=""}super(I);if(!isNaN(this.getTime()))this.#O=E,this.#E=O,this.#I=R}isDateTime(){return this.#O&&this.#E}isLocal(){return!this.#O||!this.#E||!this.#I}isDate(){return this.#O&&!this.#E}isTime(){return this.#E&&!this.#O}isValid(){return this.#O||this.#E}toISOString(){let I=super.toISOString();if(this.isDate())return I.slice(0,10);if(this.isTime())return I.slice(11,23);if(this.#I===null)return I.slice(0,-1);if(this.#I==="Z")return I;let E=+this.#I.slice(1,3)*60+ +this.#I.slice(4,6);return E=this.#I[0]==="-"?E:-E,new Date(this.getTime()-E*60000).toISOString().slice(0,-1)+this.#I}static wrapAsOffsetDateTime(I,E="Z"){let O=new f(I);return O.#I=E,O}static wrapAsLocalDateTime(I){let E=new f(I);return E.#I=null,E}static wrapAsLocalDate(I){let E=new f(I);return E.#E=!1,E.#I=null,E}static wrapAsLocalTime(I){let E=new f(I);return E.#O=!1,E.#I=null,E}}});function xR(I,E){let O=I.slice(0,E).split(/\r\n|\n|\r/g);return[O.length,O.pop().length+1]}function dR(I,E,O){let R=I.split(/\r\n|\n|\r/g),N="",L=(Math.log10(E+1)|0)+1;for(let T=E-1;T<=E+1;T++){let U=R[T-1];if(!U)continue;if(N+=T.toString().padEnd(L," "),N+=": ",N+=U,N+=`
|
|
40
|
-
`,T===E)N+=" ".repeat(L+O+2),N+=`^
|
|
41
|
-
`}return N}var B;var l=W(()=>{/*!
|
|
42
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
43
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
|
-
*
|
|
45
|
-
* Redistribution and use in source and binary forms, with or without
|
|
46
|
-
* modification, are permitted provided that the following conditions are met:
|
|
47
|
-
*
|
|
48
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
49
|
-
* list of conditions and the following disclaimer.
|
|
50
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
51
|
-
* this list of conditions and the following disclaimer in the
|
|
52
|
-
* documentation and/or other materials provided with the distribution.
|
|
53
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
54
|
-
* may be used to endorse or promote products derived from this software without
|
|
55
|
-
* specific prior written permission.
|
|
56
|
-
*
|
|
57
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
58
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
59
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
60
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
61
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
62
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
63
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
64
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
65
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
66
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
67
|
-
*/B=class B extends Error{line;column;codeblock;constructor(I,E){let[O,R]=xR(E.toml,E.ptr),N=dR(E.toml,O,R);super(`Invalid TOML document: ${I}
|
|
68
|
-
|
|
69
|
-
${N}`,E);this.line=O,this.column=R,this.codeblock=N}}});function rI(I,E=0){let O=I.indexOf(`
|
|
70
|
-
`,E);if(I.charCodeAt(O-1)===13)O--;return O}function _I(I){for(;I.p<I.s.length;I.p++){let E=I.s.charCodeAt(I.p);if(E===10)break;if(E===13&&I.s.charCodeAt(I.p+1)===10){I.p++;break}if(E<32&&E!==9||E===127)throw new B("control characters are not allowed in comments",{toml:I.s,ptr:I.p})}}function D(I,E,O){let R;while(!0){while((R=I.s.charCodeAt(I.p))===32||R===9||!E&&(R===10||R===13&&I.s.charCodeAt(I.p+1)===10))I.p++;if(O||R!==35)break;_I(I)}}function nO(I,E,O){let R=I.p;if(!O){R=rI(I.s,R),I.p=R<0?I.s.length:R;return}for(;I.p<I.s.length;I.p++){let N=I.s.charCodeAt(I.p);if(N===35)_I(I);else if(N===O||N===E)return}throw new B("cannot find end of structure",{toml:I.s,ptr:R})}var kI=W(()=>{l();/*!
|
|
71
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*
|
|
74
|
-
* Redistribution and use in source and binary forms, with or without
|
|
75
|
-
* modification, are permitted provided that the following conditions are met:
|
|
76
|
-
*
|
|
77
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
78
|
-
* list of conditions and the following disclaimer.
|
|
79
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
80
|
-
* this list of conditions and the following disclaimer in the
|
|
81
|
-
* documentation and/or other materials provided with the distribution.
|
|
82
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
83
|
-
* may be used to endorse or promote products derived from this software without
|
|
84
|
-
* specific prior written permission.
|
|
85
|
-
*
|
|
86
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
87
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
88
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
89
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
90
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
91
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
92
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
93
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
94
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
95
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
96
|
-
*/});function PI(I){let E=I.p,O=I.s.charCodeAt(I.p++),R=O,N=O===39,L=O===I.s.charCodeAt(I.p)&&O===I.s.charCodeAt(I.p+1);if(L){if((O=I.s.charCodeAt(I.p+=2))===10)I.p++;else if(O===13&&I.s.charCodeAt(I.p+1)===10)I.p+=2}let T="",U=I.p,H=0;for(;I.p<I.s.length;I.p++)if(O=I.s.charCodeAt(I.p),L&&(O===10||O===13&&I.s.charCodeAt(I.p+1)===10))H=H&&3;else if(O<32&&O!==9||O===127)throw new B("control characters are not allowed in strings",{toml:I.s,ptr:I.p});else if((!H||H===3)&&O===R&&(!L||I.s.charCodeAt(I.p+1)===R&&I.s.charCodeAt(I.p+2)===R)){if(L){if(I.s.charCodeAt(I.p+3)===R)I.p++;if(I.s.charCodeAt(I.p+3)===R)I.p++}if(!H)T+=I.s.slice(U,I.p);return I.p+=L?3:1,T}else if(!H){if(!N&&O===92)T+=I.s.slice(U,U=I.p),H=1}else if(H===1)if(O===120||O===117||O===85){let Y=0,A=O===120?2:O===117?4:8;for(let X=0;X<A;X++,I.p++){let G=I.s.charCodeAt(I.p+1),d=G>=48&&G<=57?G-48:G>=65&&G<=70?G-65+10:G>=97&&G<=102?G-97+10:-1;if(d<0)throw new B("invalid non-hex character in unicode escape",{toml:I.s,ptr:I.p+1});Y=Y<<4|d}if(Y<0||Y>1114111||Y>=55296&&Y<=57343)throw new B("invalid unicode escape",{toml:I.s,ptr:I.p});T+=String.fromCodePoint(Y),U=I.p+1,H=0}else if(O===32||O===9)H=2;else{if(O===98)T+="\b";else if(O===116)T+="\t";else if(O===110)T+=`
|
|
97
|
-
`;else if(O===102)T+="\f";else if(O===114)T+="\r";else if(O===101)T+="\x1B";else if(O===34)T+='"';else if(O===92)T+="\\";else throw new B("unrecognized escape sequence",{toml:I.s,ptr:I.p});U=I.p+1,H=0}else if(O!==32&&O!==9){if(H===2)throw new B("invalid escape: only line-ending whitespace may be escaped",{toml:I.s,ptr:U});H=!N&&O===92?1:0,U=I.p}throw new B("unfinished string",{toml:I.s,ptr:E})}function oR(I,E,O){let R=I.s.slice(E,O),N=R.indexOf("#");if(N>0)_I({s:R,p:N,d:0}),R=R.slice(0,N);return R.trimEnd()}function cO(I,E,O){let R=I.p,N={toml:I.s,ptr:R};nO(I,44,O);let L=oR(I,R,I.p);if(!L)throw new B("incomplete declaration: value expected",N);if(L==="-inf")return-1/0;if(L==="inf"||L==="+inf")return 1/0;if(L==="nan"||L==="+nan"||L==="-nan")return NaN;if(L==="-0")return E?0n:0;let T=pR.test(L);if(T||lR.test(L)){if(iR.test(L))throw new B("leading zeroes are not allowed",N);L=L.replace(/_/g,"");let H=+L;if(isNaN(H))throw new B("invalid number",N);if(T){if((T=!Number.isSafeInteger(H))&&!E)throw new B("integer value cannot be represented losslessly",N);if(T||E===!0)H=BigInt(L)}return H}let U=new f(L);if(!U.isValid())throw new B("invalid value",N);return U}var pR,lR,iR;var aI=W(()=>{sI();l();kI();/*!
|
|
98
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
99
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
100
|
-
*
|
|
101
|
-
* Redistribution and use in source and binary forms, with or without
|
|
102
|
-
* modification, are permitted provided that the following conditions are met:
|
|
103
|
-
*
|
|
104
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
105
|
-
* list of conditions and the following disclaimer.
|
|
106
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
107
|
-
* this list of conditions and the following disclaimer in the
|
|
108
|
-
* documentation and/or other materials provided with the distribution.
|
|
109
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
110
|
-
* may be used to endorse or promote products derived from this software without
|
|
111
|
-
* specific prior written permission.
|
|
112
|
-
*
|
|
113
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
114
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
115
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
116
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
117
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
118
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
119
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
120
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
121
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
122
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
123
|
-
*/pR=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,lR=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,iR=/^[+-]?0[0-9_]/});function CI(I,E,O){let R=I.p,N=I.s.charCodeAt(R);if(N===91||N===123){if(!I.d--)throw new B("document contains excessively nested structures. aborting.",{toml:I.s,ptr:R});let L=N===91?rO(I,O):sO(I,O);return I.d++,L}if(N===34||N===39)return PI(I);if(N===116){if(I.s.charCodeAt(++I.p)!==114||I.s.charCodeAt(++I.p)!==117||I.s.charCodeAt(++I.p)!==101)throw new B("invalid value",{toml:I.s,ptr:R});return I.p++,!0}if(N===102){if(I.s.charCodeAt(++I.p)!==97||I.s.charCodeAt(++I.p)!==108||I.s.charCodeAt(++I.p)!==115||I.s.charCodeAt(++I.p)!==101)throw new B("invalid value",{toml:I.s,ptr:R});return I.p++,!1}return cO(I,O,E)}var eI=W(()=>{aI();tI();l();/*!
|
|
124
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
125
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
|
-
*
|
|
127
|
-
* Redistribution and use in source and binary forms, with or without
|
|
128
|
-
* modification, are permitted provided that the following conditions are met:
|
|
129
|
-
*
|
|
130
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
131
|
-
* list of conditions and the following disclaimer.
|
|
132
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
133
|
-
* this list of conditions and the following disclaimer in the
|
|
134
|
-
* documentation and/or other materials provided with the distribution.
|
|
135
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
136
|
-
* may be used to endorse or promote products derived from this software without
|
|
137
|
-
* specific prior written permission.
|
|
138
|
-
*
|
|
139
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
140
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
141
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
142
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
143
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
144
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
145
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
146
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
147
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
148
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
149
|
-
*/});function vI(I,E="="){let O=I.p,R=O-1,N=[],L=I.s.indexOf(E,O);if(L<0)throw new B("incomplete key-value: cannot find end of key",{toml:I.s,ptr:O});do{let T=I.s.charCodeAt(I.p=++R);if(T!==32&&T!==9)if(T===34||T===39){if(T===I.s.charCodeAt(I.p+1)&&T===I.s.charCodeAt(I.p+2))throw new B("multiline strings are not allowed in keys",{toml:I.s,ptr:I.p});let U=PI(I);R=I.s.indexOf(".",I.p);let H=I.s.slice(I.p,R<0||R>L?L:R),Y=rI(H);if(Y>-1)throw new B("newlines are not allowed in keys",{toml:I.s,ptr:Y});if(H.trimStart())throw new B("found extra tokens after the string part",{toml:I.s,ptr:I.p});if(L<I.p){if(L=I.s.indexOf(E,I.p),L<0)throw new B("incomplete key-value: cannot find end of key",{toml:I.s,ptr:O})}N.push(U)}else{R=I.s.indexOf(".",I.p);let U=I.s.slice(I.p,R<0||R>L?L:R);if(!nR.test(U))throw new B("only letter, numbers, dashes and underscores are allowed in keys",{toml:I.s,ptr:I.p});N.push(U.trimEnd())}}while(R+1&&R<L);return I.p=L+1,D(I,!0,!0),N}function sO(I,E){let O={},R=new Set,N;I.p++;while(I.p<I.s.length){if(D(I),(N=I.s.charCodeAt(I.p))===125)return I.p++,O;let L,T=O,U=!1,H=I.p,Y=vI(I);for(let X=0;X<Y.length;X++){if(X)T=U?T[L]:T[L]={};if(L=Y[X],(U=Object.hasOwn(T,L))&&(typeof T[L]!=="object"||R.has(T[L])))throw new B("trying to redefine an already defined value",{toml:I.s,ptr:H});if(!U&&L==="__proto__")Object.defineProperty(T,L,{enumerable:!0,configurable:!0,writable:!0})}if(U)throw new B("trying to redefine an already defined value",{toml:I.s,ptr:I.p});let A=CI(I,125,E);if(R.add(T[L]=A),D(I),(N=I.s.charCodeAt(I.p++))===125)return O;if(N!==44)throw new B("expected comma or end of structure",{toml:I.s,ptr:I.p-1})}throw new B("unfinished table encountered",{toml:I.s,ptr:I.p})}function rO(I,E){let O=[],R;I.p++;while(I.p<I.s.length){if(D(I),(R=I.s.charCodeAt(I.p))===93)return I.p++,O;if(O.push(CI(I,93,E)),D(I),(R=I.s.charCodeAt(I.p++))===93)return O;if(R!==44)throw new B("expected comma or end of structure",{toml:I.s,ptr:I.p-1})}throw new B("unfinished array encountered",{toml:I.s,ptr:I.p})}var nR;var tI=W(()=>{aI();eI();kI();l();/*!
|
|
150
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
151
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
152
|
-
*
|
|
153
|
-
* Redistribution and use in source and binary forms, with or without
|
|
154
|
-
* modification, are permitted provided that the following conditions are met:
|
|
155
|
-
*
|
|
156
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
157
|
-
* list of conditions and the following disclaimer.
|
|
158
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
159
|
-
* this list of conditions and the following disclaimer in the
|
|
160
|
-
* documentation and/or other materials provided with the distribution.
|
|
161
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
162
|
-
* may be used to endorse or promote products derived from this software without
|
|
163
|
-
* specific prior written permission.
|
|
164
|
-
*
|
|
165
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
166
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
167
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
168
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
169
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
170
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
171
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
172
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
173
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
174
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
175
|
-
*/nR=/^[a-zA-Z0-9-_]+[ \t]*$/});function aO(I,E,O,R){let N=E,L=O,T,U=!1,H;for(let Y=0;Y<I.length;Y++){if(Y){if(N=U?N[T]:N[T]={},L=(H=L[T]).c,R===0&&(H.t===1||H.t===2))return null;if(H.t===2){let A=N.length-1;N=N[A],L=L[A].c}}if(T=I[Y],(U=Object.hasOwn(N,T))&&L[T]?.t===0&&L[T]?.d)return null;if(!U){if(T==="__proto__")Object.defineProperty(N,T,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(L,T,{enumerable:!0,configurable:!0,writable:!0});L[T]={t:Y<I.length-1&&R===2?3:R,d:!1,i:0,c:{}}}}if(H=L[T],H.t!==R&&!(R===1&&H.t===3))return null;if(R===2){if(!H.d)H.d=!0,N[T]=[];N[T].push(N={}),H.c[H.i++]=H={t:1,d:!1,i:0,c:{}}}if(H.d)return null;if(H.d=!0,R===1)N=U?N[T]:N[T]={};else if(R===0&&U)return null;return[T,N,H.c]}function IO(I,{maxDepth:E=1000,integersAsBigInt:O}={}){let R={s:I,p:0,d:E},N={},L={},T,U=N,H=L;D(R);while(R.p<I.length){if(I.charCodeAt(R.p)===91){let Y=I.charCodeAt(++R.p)===91;T=R.p+=+Y;let A=vI(R,"]");if(Y){if(I.charCodeAt(R.p-1)!==93)throw new B("expected end of table declaration",{toml:I,ptr:R.p-1});R.p++}let X=aO(A,N,L,Y?2:1);if(!X)throw new B("trying to redefine an already defined table or value",{toml:I,ptr:T});H=X[2],U=X[1]}else{T=R.p;let Y=vI(R),A=aO(Y,U,H,0);if(!A)throw new B("trying to redefine an already defined table or value",{toml:I,ptr:T});A[1][A[0]]=CI(R,void 0,O)}if(D(R,!0),R.p<I.length&&(T=I.charCodeAt(R.p))!==10&&T!==13)throw new B("each key-value declaration must be followed by an end-of-line",{toml:I,ptr:R.p});D(R)}return N}var eO=W(()=>{tI();eI();kI();l();/*!
|
|
176
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
177
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
178
|
-
*
|
|
179
|
-
* Redistribution and use in source and binary forms, with or without
|
|
180
|
-
* modification, are permitted provided that the following conditions are met:
|
|
181
|
-
*
|
|
182
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
183
|
-
* list of conditions and the following disclaimer.
|
|
184
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
185
|
-
* this list of conditions and the following disclaimer in the
|
|
186
|
-
* documentation and/or other materials provided with the distribution.
|
|
187
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
188
|
-
* may be used to endorse or promote products derived from this software without
|
|
189
|
-
* specific prior written permission.
|
|
190
|
-
*
|
|
191
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
192
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
193
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
194
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
195
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
196
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
197
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
198
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
199
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
200
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
201
|
-
*/});var tO=W(()=>{/*!
|
|
202
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
203
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
204
|
-
*
|
|
205
|
-
* Redistribution and use in source and binary forms, with or without
|
|
206
|
-
* modification, are permitted provided that the following conditions are met:
|
|
207
|
-
*
|
|
208
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
209
|
-
* list of conditions and the following disclaimer.
|
|
210
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
211
|
-
* this list of conditions and the following disclaimer in the
|
|
212
|
-
* documentation and/or other materials provided with the distribution.
|
|
213
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
214
|
-
* may be used to endorse or promote products derived from this software without
|
|
215
|
-
* specific prior written permission.
|
|
216
|
-
*
|
|
217
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
218
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
219
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
220
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
221
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
222
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
223
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
224
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
225
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
226
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
227
|
-
*/});var IE=W(()=>{eO();tO();sI();l();/*!
|
|
228
|
-
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
229
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
230
|
-
*
|
|
231
|
-
* Redistribution and use in source and binary forms, with or without
|
|
232
|
-
* modification, are permitted provided that the following conditions are met:
|
|
233
|
-
*
|
|
234
|
-
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
235
|
-
* list of conditions and the following disclaimer.
|
|
236
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
237
|
-
* this list of conditions and the following disclaimer in the
|
|
238
|
-
* documentation and/or other materials provided with the distribution.
|
|
239
|
-
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
240
|
-
* may be used to endorse or promote products derived from this software without
|
|
241
|
-
* specific prior written permission.
|
|
242
|
-
*
|
|
243
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
244
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
245
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
246
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
247
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
248
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
249
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
250
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
251
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
252
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
253
|
-
*/});import{readFileSync as rR}from"fs";function NE(I){return I instanceof Error?I.message:String(I)}function i(I){try{return{ok:!0,value:rR(I,"utf8")}}catch(E){if(OE(E))return{ok:!1,reason:"missing",message:`${I} does not exist`};return{ok:!1,reason:"unreadable",message:`${I}: ${NE(E)}`}}}function bI(I,E){let O=i(I);if(!O.ok)return O;let R;try{R=E(O.value)}catch(L){return{ok:!1,reason:"invalid",message:`${I}: ${NE(L)}`}}let N=$(R);if(!N)return{ok:!1,reason:"invalid",message:`${I}: expected an object at the top level`};return{ok:!0,value:N}}function _(I){return bI(I,(E)=>JSON.parse(E))}function LE(I){return bI(I,(E)=>{let O=[],R=EE(E,O,{allowTrailingComma:!0});if(O.length>0)throw Error(`${O.length} JSONC parse error(s)`);return R})}function o(I){return bI(I,(E)=>IO(E))}function TE(I){return bI(I,(E)=>RE.parse(E))}var RE;var m=W(()=>{sR();IE();K();cR();RE=II(wI(),1)});function tR(I){return I.replace(/\.mdc?$/i,"").split("/").join("-").toLowerCase().replace(aR,"-").replace(eR,"")}function IN(I){let E=n(I);if(E)return E.map((R)=>R.trim()).filter((R)=>R.length>0);let O=S(I);if(!O)return[];return O.split(",").map((R)=>R.trim()).filter((R)=>R.length>0)}function YE(I,E){let O=tR(I);if(!O)return{ok:!1,reason:"filename yields an empty rule name"};let{frontmatter:R,content:N}=OI(E);if(N.trim().length===0)return{ok:!1,reason:"has no body"};let L=UE(R.alwaysApply)===!0,T=IN(R.globs),U=S(R.description);if(!L&&T.length===0)return{ok:!1,reason:U?'is a Cursor "Agent Requested" rule (a description with no globs), which has no Claudin equivalent — a skill is the closest fit':'is a Cursor "Manual" rule (no globs, no alwaysApply), which is only ever loaded by an explicit @-mention'};let H=[],Y=L?void 0:T;if(L)H.push(T.length>0?"alwaysApply overrides its globs — imported unconditional, so it loads every turn":"imported unconditional, so it loads every turn");else H.push("globs translated to paths");if(U)H.push("description moved into the body — rules take no other frontmatter");let A=U?`${U}
|
|
254
|
-
|
|
255
|
-
${N.trim()}`:N.trim(),X=Y?`---
|
|
256
|
-
${HE.stringify({paths:Y}).trimEnd()}
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
${A}
|
|
260
|
-
`:`${A}
|
|
261
|
-
`;return{ok:!0,rule:{name:O,relativePath:`${O}.md`,markdown:X,...Y?{paths:Y}:{},notes:H}}}var HE,aR,eR;var AE=W(()=>{K();oI();HE=II(wI(),1),aR=/[^a-z0-9]+/g,eR=/^-+|-+$/g});import{join as F}from"path";function GI(I,E){return E==="user"?I.claudinHomeDir:F(I.cwd,".claudin")}function yI(I,E){return F(GI(I,E),"commands")}function OO(I,E){return F(GI(I,E),"agents")}function CE(I,E){return F(GI(I,E),"rules")}function BE(I,E){return F(GI(I,E),"skills")}function GE(I,E){return E==="user"?F(I.claudinHomeDir,"CLAUDE.md"):F(I.cwd,"AGENTS.md")}function WE(I){return[F(I.cwd,"AGENTS.md"),F(I.cwd,"CLAUDE.md")]}function XE(I,E){return F(GI(I,E),"settings.json")}function $E(I){return F(I.claudinHomeDir,`config${BI()}.json`)}var EO=W(()=>{SE()});function C(){return{artifacts:[],notImportable:[],warnings:[]}}function Z(I){return{artifacts:I.flatMap((E)=>E.artifacts),notImportable:I.flatMap((E)=>E.notImportable),warnings:I.flatMap((E)=>E.warnings)}}var v=()=>{};import{join as z}from"path";import{existsSync as RO,readdirSync as ON,statSync as EN}from"fs";function k(I,E,O){return{agent:I.agent,scope:I.scope,source:E,destination:O,status:"new"}}function Q(I,E,O,R){I.warnings.push(`${O} (${E}): ${R}`)}function M(I,E,O,R){let N=C();for(let[L,T]of Object.entries(O)){let U=R(T);if(!U.ok){Q(N,E,`MCP server "${L}"`,U.reason);continue}if(U.note)Q(N,E,`MCP server "${L}"`,U.note);N.artifacts.push({...k(I,E,RN(I)),kind:"mcpServer",name:L,config:U.config})}return N}function RN(I){return I.scope==="user"?"user MCP config":"project MCP config (private)"}function c(I,E,O){let R=C(),N=yI(I.ctx,I.scope);for(let L of RI(E,[".md"])){let T=z(E,L),U=i(T);if(!U.ok){Q(R,T,"command",U.message);continue}let H=iO(L,U.value,O);if(!H.ok){Q(R,T,"command",H.reason);continue}for(let Y of H.command.notes)Q(R,T,`command "${H.command.name}"`,Y);R.artifacts.push({...k(I,T,z(N,H.command.relativePath)),kind:"command",name:H.command.name,markdown:H.command.markdown})}return R}function NO(I,E){let O=C(),R=yI(I.ctx,I.scope);for(let N of RI(E,[".toml"])){let L=z(E,N),T=o(L);if(!T.ok){Q(O,L,"command",T.message);continue}let U=oO(N,T.value);if(!U.ok){Q(O,L,"command",U.reason);continue}for(let H of U.command.notes)Q(O,L,`command "${U.command.name}"`,H);O.artifacts.push({...k(I,L,z(R,U.command.relativePath)),kind:"command",name:U.command.name,markdown:U.command.markdown})}return O}function WI(I,E,O){let R=C(),N=OO(I.ctx,I.scope);for(let L of RI(E,[".md",".yaml",".yml"])){let T=z(E,L),U=L.endsWith(".yaml")||L.endsWith(".yml"),H;if(U){let Y=TE(T);if(!Y.ok){Q(R,T,"agent",Y.message);continue}H=hO(L,Y.value,O)}else{let Y=i(T);if(!Y.ok){Q(R,T,"agent",Y.message);continue}H=yO(L,Y.value,O)}if(!H.ok){Q(R,T,"agent",H.reason);continue}for(let Y of H.agent.notes)Q(R,T,`agent "${H.agent.name}"`,Y);R.artifacts.push({...k(I,T,z(N,H.agent.relativePath)),kind:"agent",name:H.agent.name,markdown:H.agent.markdown})}return R}function VE(I,E){let O=C(),R=CE(I.ctx,I.scope);for(let N of RI(E,[".mdc"])){let L=z(E,N),T=i(L);if(!T.ok){Q(O,L,"rule",T.message);continue}let U=YE(N,T.value);if(!U.ok){Q(O,L,"rule",U.reason);continue}for(let H of U.rule.notes)Q(O,L,`rule "${U.rule.name}"`,H);O.artifacts.push({...k(I,L,z(R,U.rule.relativePath)),kind:"rule",name:U.rule.name,markdown:U.rule.markdown})}return O}function b(I,E){let O=C(),R=i(E);if(!R.ok){if(R.reason!=="missing")Q(O,E,"instructions",R.message);return O}if(R.value.trim().length===0)return O;return O.artifacts.push({...k(I,E,GE(I.ctx,I.scope)),kind:"instructions",text:R.value}),O}function s(I,E){let O=C();if(!RO(E))return O;let R=BE(I.ctx,I.scope),N;try{N=ON(E).sort()}catch{return O}for(let L of N){let T=z(E,L);try{if(!EN(T).isDirectory())continue}catch{continue}if(!RO(z(T,"SKILL.md")))continue;O.artifacts.push({...k(I,T,z(R,L)),kind:"skillDir",name:L,sourceDir:T})}return O}function QE(I,E,O,R){let N=C(),L=Array.isArray(O)?O.length:0,T=Array.isArray(R)?R.length:0;if(L+T===0)return N;return N.notImportable.push({agent:I,label:"permissions",detail:`${L} allow, ${T} deny in ${E} — rule syntax differs, see /permissions`}),N}function LO(I,E,O){let R=C(),N=O==="command"?yI(I.ctx,I.scope):OO(I.ctx,I.scope);for(let L of RI(E,[".md"])){let T=z(E,L),U=i(T);if(!U.ok){Q(R,T,O,U.message);continue}if(U.value.trim().length===0)continue;let H=O==="command"?DI(L):AI(L);if(!H)continue;R.artifacts.push({...k(I,T,z(N,O==="command"?L:`${H}.md`)),kind:O,name:H,markdown:U.value})}return R}function qE(I,E,O,R){let N=C(),L=XE(I.ctx,I.scope);for(let T of R){let U=O[T];if(U===void 0||U===null)continue;N.artifacts.push({...k(I,E,L),kind:"settingsKey",key:T,value:U})}return N}function g(I,E,O){let R=C();if(!O.baseUrl&&!O.model)return R;return R.artifacts.push({...k(I,E,$E(I.ctx)),kind:"providerHint",...O}),R}function XI(I){for(let E of I)if(RO(E))return E;return null}function w(I,E){return $(I[E])}var r=W(()=>{SI();EI();m();AE();K();EO();v();SI();EI();iI()});function hI(I){return I}function HN(I){return I.replace(LN,"${$1}")}function $I(I){return I.replace(TN,"${$1}")}function a(I,E){if(!I)return;let O=Object.entries(I);if(O.length===0)return;return Object.fromEntries(O.map(([R,N])=>[R,E(N)]))}function zE(I,E){let O=ZE().safeParse(I);if(!O.success)return{ok:!1,reason:O.error.issues.slice(0,3).map((N)=>N.message).join("; ")||"does not match any known transport"};return E?{ok:!0,config:O.data,note:E}:{ok:!0,config:O.data}}function jI(I,E,O){return zE({type:"stdio",command:I,args:E??[],...O?{env:O}:{}})}function NI(I,E,O,R){return zE({type:I,url:E,...O?{headers:O}:{}},R)}function VI(I){return JE(I,hI)}function ME(I){return JE(I,HN)}function JE(I,E){let O=$(I);if(!O)return{ok:!1,reason:"entry is not an object"};let R=S(O.type),N=S(O.url);if(N){let U=a(y(O.headers),E);if(R==="sse")return NI("sse",E(N),U);if(R==="http"||R===null)return NI("http",E(N),U,R===null?"no transport declared — imported as streamable HTTP":void 0);return{ok:!1,reason:`unsupported transport "${R}"`}}let L=S(O.command);if(!L)return{ok:!1,reason:"has neither command nor url"};let T=n(O.args??[]);if(!T)return{ok:!1,reason:"args is not a list of strings"};return jI(E(L),T.map(E),a(y(O.env),E))}function KE(I){let E=$(I);if(!E)return{ok:!1,reason:"entry is not an object"};let O=a(y(E.headers),hI),R=S(E.httpUrl);if(R)return NI("http",R,O);let N=S(E.url);if(N)return NI("sse",N,O);let L=S(E.command);if(!L)return{ok:!1,reason:"has none of httpUrl, url or command"};let T=n(E.args??[]);if(!T)return{ok:!1,reason:"args is not a list of strings"};return jI(L,T,a(y(E.env),hI))}function FE(I){let E=$(I);if(!E)return{ok:!1,reason:"entry is not an object"};let O=S(E.url);if(O){let L={...y(E.http_headers)??{}},T=S(E.bearer_token_env_var);if(T&&!("Authorization"in L))L.Authorization=`Bearer \${${T}}`;return NI("http",O,Object.keys(L).length>0?L:void 0)}let R=S(E.command);if(!R)return{ok:!1,reason:"has neither command nor url"};let N=n(E.args??[]);if(!N)return{ok:!1,reason:"args is not a list of strings"};return jI(R,N,a(y(E.env),hI))}function wE(I){let E=$(I);if(!E)return{ok:!1,reason:"entry is not an object"};if(E.enabled===!1)return{ok:!1,reason:"disabled in the opencode config"};if(S(E.type)==="remote"){let Y=S(E.url);if(!Y)return{ok:!1,reason:"remote entry has no url"};return NI("http",$I(Y),a(y(E.headers),$I))}let R=n(E.command);if(!R)return{ok:!1,reason:"command is not a list of strings"};let N=R[0];if(N===void 0)return{ok:!1,reason:"command is empty"};let L=R.slice(1),T=a(y(E.environment),$I),U=R.some((Y)=>UN.test(Y)),H=jI($I(N),L.map($I),T);if(H.ok&&U)return{...H,note:"uses opencode’s {file:…} substitution, which Claudin does not expand"};return H}var LN,TN,UN;var e=W(()=>{NN();K();LN=/\$\{env:([^}]+)\}/g,TN=/\{env:([^}]+)\}/g,UN=/\{file:[^}]+\}/});import{join as J}from"path";function DE(I,E){let O=J(E,"settings.json"),R=_(O),N=[];if(R.ok){let L=w(R.value,"mcpServers");if(L)N.push(M(I,O,L,VI));N.push(qE(I,O,R.value,YN))}else if(R.reason!=="missing"){let L=C();L.warnings.push(R.message),N.push(L)}return N.push(LO(I,J(E,"commands"),"command")),N.push(LO(I,J(E,"agents"),"agent")),N.push(s(I,J(E,"skills"))),Z(N)}function _E(I){return{id:I.id,label:I.label,probePaths:(E)=>[...I.userDirs(E.homeDir).map((O)=>({path:O,scope:"user"})),{path:I.globalConfigFile(E.homeDir),scope:"user"},{path:J(E.cwd,I.projectDirName),scope:"project"}],collect:async(E)=>{let O=[],R={ctx:E,agent:I.id,scope:"user"},N=XI(I.userDirs(E.homeDir));if(N){O.push(DE(R,N)),O.push(b(R,J(N,"CLAUDE.md")));let H=J(N,".credentials.json"),Y=C();Y.notImportable.push({agent:I.id,label:"credentials",detail:`${H} is never copied by /import — sign in with /provider`}),O.push(Y)}let L=I.globalConfigFile(E.homeDir),T=_(L);if(T.ok){let H=w(T.value,"mcpServers");if(H)O.push(M(R,L,H,VI))}let U=J(E.cwd,I.projectDirName);return O.push(DE({ctx:E,agent:I.id,scope:"project"},U)),Z(O)}}}var YN,kE,PE;var vE=W(()=>{r();m();e();v();SE();YN=["theme","model","editorMode","verbose","permissions","customApiKeyResponses"];kE=_E({id:"claude",label:"Claude Code",userDirs:(I)=>[J(I,".claude")],globalConfigFile:(I)=>J(I,`.claude${BI()}.json`),projectDirName:".claude"}),PE=_E({id:"openclaude",label:"openclaude",userDirs:(I)=>[J(I,".openclaude"),J(I,".config","openclaude")],globalConfigFile:(I)=>J(I,`.openclaude${BI()}.json`),projectDirName:".openclaude"})});import{join as h}from"path";function bE(I){return I.env.CODEX_HOME??h(I.homeDir,".codex")}function yE(I,E){let O=o(E);if(!O.ok){if(O.reason==="missing")return null;let N=C();return N.warnings.push(O.message),N}let R=$(O.value.mcp_servers);if(!R)return null;return M(I,E,R,FE)}function AN(I,E){let O=o(E);if(!O.ok)return C();let R=S(O.value.model),N=S(O.value.model_provider)??"openai",L=$(O.value.model_providers),T=L?$(L[N]):null,U=(T?S(T.base_url):null)??(N==="openai"?"https://api.openai.com/v1":null);if(!U&&!R)return C();let H=T?S(T.env_key):null;return g(I,E,{provider:"openai",name:(T?S(T.name):null)??`${N} (from Codex)`,baseUrl:U??"",model:R??"",...H?{envKey:H}:{}})}var hE;var jE=W(()=>{r();EI();e();m();K();v();hE={id:"codex",label:"OpenAI Codex",probePaths:(I)=>[{path:bE(I),scope:"user"},{path:h(I.cwd,".codex"),scope:"project"}],collect:async(I)=>{let E=bE(I),O={ctx:I,agent:"codex",scope:"user"},R=h(E,"config.toml"),N=[],L=yE(O,R);if(L)N.push(L);N.push(AN(O,R)),N.push(b(O,h(E,"AGENTS.md"))),N.push(c(O,h(E,"prompts"),uO)),N.push(s(O,h(E,"skills")));let T={ctx:I,agent:"codex",scope:"project"},U=yE(T,h(I.cwd,".codex","config.toml"));if(U)N.push(U);N.push(s(T,h(I.cwd,".codex","skills")));let H=C();return H.notImportable.push({agent:"codex",label:"credentials",detail:`${h(E,"auth.json")} is never copied by /import — sign in with /provider`}),H.notImportable.push({agent:"codex",label:"approval & sandbox policy",detail:"approval_policy and sandbox_mode have no equivalent — see /permissions"}),N.push(H),Z(N)}}});import{join as t}from"path";function uE(I){return I.env.CURSOR_CONFIG_DIR??t(I.homeDir,".cursor")}function fE(I,E){let O=_(E);if(!O.ok){if(O.reason==="missing")return C();let N=C();return N.warnings.push(O.message),N}let R=w(O.value,"mcpServers");if(!R)return C();return M(I,E,R,ME)}var mE;var gE=W(()=>{r();e();m();K();v();mE={id:"cursor",label:"Cursor",probePaths:(I)=>[{path:uE(I),scope:"user"},{path:t(I.cwd,".cursor"),scope:"project"}],collect:async(I)=>{let E=uE(I),O={ctx:I,agent:"cursor",scope:"user"},R={ctx:I,agent:"cursor",scope:"project"},N=t(I.cwd,".cursor"),L=t(E,"cli-config.json"),T=_(L);return Z([fE(O,t(E,"mcp.json")),fE(R,t(N,"mcp.json")),VE(R,t(N,"rules")),T.ok?QE("cursor",L,x(T.value,"permissions","allow"),x(T.value,"permissions","deny")):C()])}}});import{join as q}from"path";function xE(I,E){if(!I)return E;return S(x(I,"context","fileName"))??S(I.contextFileName)??E}function dE(I){let E=_(I);if(E.ok)return{settings:E.value,warning:null};return{settings:null,warning:E.reason==="missing"?null:E.message}}function pE(I,E,O,R,N){let L=[];if(N){let U=C();U.warnings.push(N),L.push(U)}if(!R)return L;let T=w(R,"mcpServers");if(T)L.push(M(I,O,T,KE));if(I.scope==="user"){let U=S(x(R,"model","name"))??S(R.model),H=S(x(R,"model","baseUrl"))??S(R.baseUrl);if(U||H)L.push(g(I,O,{provider:E.provider,name:`${E.label} (imported)`,baseUrl:H??"",model:U??""}));if(x(R,"security","auth")!==void 0){let Y=C();Y.notImportable.push({agent:E.id,label:"auth settings",detail:`security.auth in ${O} selects a sign-in method — use /provider`}),L.push(Y)}}return L}function lE(I){return{id:I.id,label:I.label,probePaths:(E)=>[{path:q(E.homeDir,I.dirName),scope:"user"},{path:q(E.cwd,I.dirName),scope:"project"}],collect:async(E)=>{let O=[],R=q(E.homeDir,I.dirName),N={ctx:E,agent:I.id,scope:"user"},L=q(R,"settings.json"),T=dE(L);O.push(...pE(N,I,L,T.settings,T.warning));let U=xE(T.settings,I.defaultMemoryFile);if(O.push(b(N,q(R,U))),O.push(NO(N,q(R,"commands"))),O.push(c(N,q(R,"commands"),cI)),I.hasAgents)O.push(WI(N,q(R,"agents"),nI));if(I.hasSkills)O.push(s(N,q(R,"skills")));let H=q(E.cwd,I.dirName),Y={ctx:E,agent:I.id,scope:"project"},A=q(H,"settings.json"),X=dE(A);if(O.push(...pE(Y,I,A,X.settings,X.warning)),O.push(NO(Y,q(H,"commands"))),O.push(c(Y,q(H,"commands"),cI)),I.hasAgents)O.push(WI(Y,q(H,"agents"),nI));let G=xE(X.settings??T.settings,I.defaultMemoryFile);return O.push(b(Y,q(E.cwd,G))),Z(O)}}}var iE,oE;var nE=W(()=>{r();SI();EI();e();m();K();v();iE=lE({id:"gemini",label:"Gemini CLI",dirName:".gemini",defaultMemoryFile:"GEMINI.md",hasAgents:!1,hasSkills:!1,provider:"gemini"}),oE=lE({id:"qwen",label:"Qwen Code",dirName:".qwen",defaultMemoryFile:"QWEN.md",hasAgents:!0,hasSkills:!0,provider:"openai"})});import{join as QI}from"path";function cE(I){return I.env.KIMI_CODE_HOME??QI(I.homeDir,".kimi")}function SN(I,E){let O=o(E);if(!O.ok)return C();let R=$(O.value.providers);if(!R)return C();for(let[N,L]of Object.entries(R)){let T=$(L),U=T?S(T.base_url):null;if(!U)continue;let H=$(O.value.models),Y=H?Object.values(H).map((A)=>$(A)).find((A)=>A&&S(A.provider)===N)?.model??null:null;return g(I,E,{provider:"openai",name:`${N} (from Kimi CLI)`,baseUrl:U,model:S(Y)??""})}return C()}var sE;var rE=W(()=>{r();e();m();K();v();sE={id:"kimi",label:"Kimi CLI",probePaths:(I)=>[{path:cE(I),scope:"user"}],collect:async(I)=>{let E=cE(I),O={ctx:I,agent:"kimi",scope:"user"},R=[],N=QI(E,"mcp.json"),L=_(N);if(L.ok){let U=w(L.value,"mcpServers");if(U)R.push(M(O,N,U,VI))}else if(L.reason!=="missing"){let U=C();U.warnings.push(L.message),R.push(U)}R.push(b(O,QI(E,"AGENTS.md"))),R.push(SN(O,QI(E,"config.toml")));let T=C();return T.notImportable.push({agent:"kimi",label:"credentials",detail:`${QI(E,"credentials")} is never read by /import — sign in with /provider`}),T.notImportable.push({agent:"kimi",label:"agents",detail:"Kimi agents are YAML files loaded by --agent-file, with no directory to discover them in"}),R.push(T),Z(R)}}});import{join as j}from"path";function aE(I){return I.env.OPENCODE_CONFIG_DIR??j(I.env.XDG_CONFIG_HOME??j(I.homeDir,".config"),"opencode")}function eE(I){for(let E of CN){let O=j(I,E),R=LE(O);if(R.ok)return{path:O,result:R};if(R.reason!=="missing")return{path:O,result:R}}return null}function tE(I,E){if(!E)return[];if(!E.result.ok){let T=C();return T.warnings.push(E.result.message),[T]}let O=E.result.value,R=[],N=w(O,"mcp");if(N)R.push(M(I,E.path,N,wE));let L=S(O.model);if(L&&I.scope==="user"){let[T,...U]=L.split("/");R.push(g(I,E.path,{provider:WN[T??""]??"openai",name:`${T??"opencode"} (from opencode)`,baseUrl:"",model:U.join("/")||L}))}if(O.permission!==void 0){let T=C();T.notImportable.push({agent:"opencode",label:"permissions",detail:`the "permission" block in ${E.path} uses opencode's own syntax — see /permissions`}),R.push(T)}return R}function IR(I,E){let O=XI(BN.map((N)=>j(E,N))),R=XI(GN.map((N)=>j(E,N)));return[O?c(I,O,fO):C(),R?WI(I,R,PO):C()]}var CN,BN,GN,WN,OR;var ER=W(()=>{r();SI();EI();e();m();K();v();CN=["opencode.jsonc","opencode.json"],BN=["commands","command"],GN=["agents","agent"],WN={anthropic:"anthropic",google:"gemini","google-vertex":"gemini",gemini:"gemini",mistral:"mistral"};OR={id:"opencode",label:"opencode",probePaths:(I)=>[{path:aE(I),scope:"user"},{path:j(I.cwd,"opencode.json"),scope:"project"},{path:j(I.cwd,"opencode.jsonc"),scope:"project"},{path:j(I.cwd,".opencode"),scope:"project"}],collect:async(I)=>{let E={ctx:I,agent:"opencode",scope:"user"},O={ctx:I,agent:"opencode",scope:"project"},R=aE(I);return Z([...tE(E,eE(R)),...IR(E,R),...tE(O,eE(I.cwd)),...IR(O,j(I.cwd,".opencode"))])}}});function RR(I){return LI.find((E)=>E.id===I)??null}function NR(){return LI.map((I)=>I.label)}var LI;var uI=W(()=>{vE();jE();gE();nE();rE();ER();LI=[kE,PE,hE,iE,oE,OR,sE,mE]});import{homedir as VN}from"os";function UR(I={}){return{homeDir:VN(),cwd:TR(),claudinHomeDir:LR(),env:process.env,...I}}function QN(I){switch(I.kind){case"mcpServer":return`mcpServer:${I.scope}:${I.name}`;case"settingsKey":return`settingsKey:${I.scope}:${I.key}`;case"providerHint":return`providerHint:${I.provider}:${I.baseUrl}:${I.model}`;default:return`${I.kind}:${I.destination}`}}function qN(I,E){let O=new Map;return I.map((R)=>{let N=QN(R),L=O.get(N);if(!L)return O.set(N,R),R;return{...R,status:"conflict",statusReason:`also provided by ${E(L.agent)}, which was selected first`}})}async function HR(I,E){let O=C(),R=new Map;for(let N of E){let L=RR(N);if(!L)continue;R.set(N,L.label);try{let T=await L.collect(I);O.artifacts.push(...T.artifacts),O.notImportable.push(...T.notImportable),O.warnings.push(...T.warnings)}catch(T){KI(T),O.warnings.push(`${L.label}: could not be read (${T instanceof Error?T.message:String(T)})`)}}return O.artifacts=qN(O.artifacts,(N)=>R.get(N)??N),O}var YR=W(()=>{uI();v();XN();$N();MO()});import{existsSync as ZN}from"fs";function AR(I){let E=[];for(let O of LI){let R=O.probePaths(I).filter((N)=>ZN(N.path));if(R.length===0)continue;E.push({id:O.id,label:O.label,roots:R})}return E}var SR=W(()=>{uI()});import{existsSync as MN,readFileSync as JN}from"fs";import{basename as CR}from"path";function FN(I,E,O){if(I.status==="conflict")return I;switch(I.kind){case"mcpServer":{if(!O.mcpServerNames(I.scope).has(I.name))return I;return{...I,status:"conflict",statusReason:`an MCP server called "${I.name}" is already configured — see /mcp`}}case"instructions":{let N=(I.scope==="project"?WE(E):[I.destination]).find(O.fileExists);if(!N)return I;if(O.readFileIfExists(N)===I.text)return{...I,status:"identical"};return{...I,status:"conflict",statusReason:`${CR(N)} already exists here`}}case"command":case"agent":case"rule":{if(!O.fileExists(I.destination))return I;if(O.readFileIfExists(I.destination)===I.markdown)return{...I,status:"identical"};return{...I,status:"conflict",statusReason:`${CR(I.destination)} already exists`}}case"skillDir":{if(!O.fileExists(I.destination))return I;return{...I,status:"conflict",statusReason:`a skill called "${I.name}" already exists`}}case"settingsKey":{if(!O.settingsKeys(I.destination).has(I.key))return I;return{...I,status:"conflict",statusReason:`"${I.key}" is already set — see /config`}}case"providerHint":{if(!O.providerProfiles().some((N)=>N.baseUrl===I.baseUrl&&N.model===I.model))return I;return{...I,status:"identical",statusReason:"a provider profile with this base URL and model exists"}}}}function XR(I,E,O=KN){return{...I,artifacts:I.artifacts.map((R)=>FN(R,E,O))}}var KN;var $R=W(()=>{zN();EO();iI();zO();KN={fileExists:MN,readFileIfExists:(I)=>{try{return JN(I,"utf8")}catch{return null}},mcpServerNames:(I)=>new Set(Object.keys((I==="user"?BR().mcpServers:GR().mcpServers)??{})),settingsKeys:(I)=>new Set(Object.keys(FI(I)??{})),providerProfiles:()=>WR().map((I)=>({baseUrl:I.baseUrl,model:I.model}))}});function DN(I){let E=I.trim().toLowerCase().split(/[\s,]+/).filter((O)=>O.length>0);if(E.length===0)return[];return LI.filter((O)=>E.includes(O.id)||E.includes(O.label.toLowerCase())).map((O)=>O.id)}function _N({args:I,onDone:E}){let[O,R]=TI.useState({kind:"loading"});TI.useEffect(()=>{let H=!1;return(async()=>{let Y=UR(),A=AR(Y),X=DN(I),G=X.length>0?A.filter((UI)=>X.includes(UI.id)):A;if(G.length===0){E(`No other AI coding agents detected (looked for: ${NR().join(", ")}).`);return}let d=await HR(Y,G.map((UI)=>UI.id)),qI=XR(d,Y),TO=YO(G,qI,Y.homeDir);if(H)return;if(TO.length===0){let UI=G.map((QR)=>QR.label).join(", ");E(`Found ${UI}, but there is nothing left to import.`);return}R({kind:"selecting",ctx:Y,plan:qI,entries:TO})})(),()=>{H=!0}},[]);let N=TI.useCallback(async(H,Y,A,X)=>{R({kind:"applying"});let G=await DO(H,Y,{overwriteConflicts:A});E(HO(G,X))},[E]);if(O.kind==="loading")return V(P,{marginBottom:1,children:V(u,{dimColor:!0,children:"Looking for other AI coding agents…"})});if(O.kind==="applying")return V(P,{marginBottom:1,children:V(u,{dimColor:!0,children:"Importing…"})});if(O.kind==="confirming"){let{plan:H,artifacts:Y,conflicts:A,homeDir:X}=O;return JI(P,{flexDirection:"column",marginBottom:1,children:[V(u,{bold:!0,children:`${A} of the selected item${A===1?"":"s"} already exist${A===1?"s":""} here.`}),V(VR,{options:[{value:"keep",label:"Import the rest, keep what I already have",description:"Conflicts are listed in the report and left alone."},{value:"overwrite",label:`Import everything, overwriting ${A}`,description:"Replaces the existing values with the imported ones."},{value:"cancel",label:"Cancel",description:"Write nothing."}],onChange:(G)=>{if(G==="cancel"){E();return}N(H,Y,G==="overwrite",X)},onCancel:()=>E(),visibleOptionCount:3})]})}let{ctx:L,plan:T,entries:U}=O;return V($O,{entries:U,notImportable:[...new Set(T.notImportable.map((H)=>H.label))],onCancel:()=>E(),onSubmit:(H)=>{let Y=CO(U,new Set(H));if(Y.length===0){E("Nothing selected — nothing imported.");return}let A=BO(Y);if(A>0){R({kind:"confirming",plan:T,artifacts:Y,conflicts:A,homeDir:L.homeDir});return}N(T,Y,!1,L.homeDir)}})}async function PU(I,E,O){return V(_N,{args:O??"",onDone:I})}var TI;var kN=W(()=>{VO();pI();_O();YR();SR();$R();xI();uI();WO();wN();MI();TI=II(GO(),1)});kN();export{PU as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ca as a,Da as b,Ea as c,Fa as d}from"./cli-1.1.27-qnzhd86k.mjs";import"./cli-1.1.27-jfqvck1y.mjs";import"./cli-1.1.27-xdfkhk5m.mjs";import"./cli-1.1.27-kdv6nw9e.mjs";import"./cli-1.1.27-vh1r16sd.mjs";import"./cli-1.1.27-ny95570d.mjs";import"./cli-1.1.27-dhzbmaf3.mjs";import"./cli-1.1.27-48ezce33.mjs";import"./cli-1.1.27-fw9r8cwg.mjs";import"./cli-1.1.27-eag2dgb4.mjs";import"./cli-1.1.27-n3fg97y6.mjs";import"./cli-1.1.27-dfww0knt.mjs";import"./cli-1.1.27-njcbrvnc.mjs";import"./cli-1.1.27-cxy3fqs0.mjs";import"./cli-1.1.27-y712t8h2.mjs";import"./cli-1.1.27-7gnbh46g.mjs";import"./cli-1.1.27-r335xv52.mjs";import"./cli-1.1.27-jt1gb6nf.mjs";import"./cli-1.1.27-0rz9qd34.mjs";import"./cli-1.1.27-t1dxp2pw.mjs";import"./cli-1.1.27-m6ne80zc.mjs";import"./cli-1.1.27-jg3tymed.mjs";import"./cli-1.1.27-8gsqhqyf.mjs";import"./cli-1.1.27-4cjm0m5c.mjs";import"./cli-1.1.27-t4rm4dqf.mjs";import"./cli-1.1.27-n09bs0db.mjs";import"./cli-1.1.27-8vrv0ver.mjs";export{b as resolveInboundAttachments,d as resolveAndPrepend,c as prependPathRefs,a as extractInboundAttachments};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{n_ as V}from"./cli-1.1.27-qkzc0vzs.mjs";import{R_ as W}from"./cli-1.1.27-cw9bqwta.mjs";import{V_ as g}from"./cli-1.1.27-zgweqxf0.mjs";import"./cli-1.1.27-tc4b7enb.mjs";import{Ita as H,Mta as F,Nta as O}from"./cli-1.1.27-8vrv0ver.mjs";function M(b,q){let j=N(b),B,G,z,Q=async(J)=>{if(J?.forceRefresh)return await j(J);if(z?.expiration){if(z?.expiration?.getTime()<Date.now())z=void 0}if(B)await B;else if(!z||q?.(z))if(z){if(!G)G=j(J).then((X)=>{z=X}).finally(()=>{G=void 0})}else return B=j(J).then((X)=>{z=X}).finally(()=>{B=void 0}),Q(J);return z};return Q}var Y,K,h,Z="AWS_EC2_METADATA_DISABLED",x=async(b)=>{let{ENV_CMDS_FULL_URI:q,ENV_CMDS_RELATIVE_URI:j,fromContainerMetadata:B,fromInstanceMetadata:G}=await import("./index-1.1.27-9za77x22.mjs");if(process.env[j]||process.env[q]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:z}=await import("./index-1.1.27-9w6y0sqf.mjs").then((m)=>H(m.default,1));return K.chain(z(b),B(b))}if(process.env[Z]&&process.env[Z]!=="false")return async()=>{throw new K.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),G(b)},N=(b)=>async(q)=>{let j;for(let B of b)try{return await B(q)}catch(G){if(j=G,G?.tryNextLink)continue;throw G}throw j},$=!1,T=(b={})=>M([async()=>{if(b.profile??process.env[h.ENV_PROFILE]){if(process.env[Y.ENV_KEY]&&process.env[Y.ENV_SECRET]){if(!$)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn.bind(b.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
2
|
-
Multiple credential sources detected:
|
|
3
|
-
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
4
|
-
This SDK will proceed with the AWS_PROFILE value.
|
|
5
|
-
|
|
6
|
-
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
7
|
-
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
8
|
-
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
9
|
-
`),$=!0}throw new K.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),Y.fromEnv(b)()},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:j,ssoAccountId:B,ssoRegion:G,ssoRoleName:z,ssoSession:Q}=b;if(!j&&!B&&!G&&!z&&!Q)throw new K.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});let{fromSSO:J}=await import("./index-1.1.27-4td4kk2r.mjs");return J(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:j}=await import("./index-1.1.27-r6ypg71x.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:j}=await import("./index-1.1.27-9w6rbss1.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:j}=await import("./index-1.1.27-spc0z43g.mjs").then((m)=>H(m.default,1));return j(b)(q)},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await x(b))()},async()=>{throw new K.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}],D),U=(b)=>b?.expiration!==void 0,D=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000,C,u,A;var R=F(()=>{Y=V(),K=g(),h=W();C=D,u=U,A=T});R();export{A as defaultProvider,u as credentialsWillNeedRefresh,C as credentialsTreatedAsExpired};export default {get defaultProvider(){return A},get credentialsWillNeedRefresh(){return u},get credentialsTreatedAsExpired(){return C}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Mta as cH}from"./cli-1.1.27-8vrv0ver.mjs";import{createRequire as lH}from"module";function NC(H,C){if(typeof H=="function")C=H,H={};return this.ondata=C,H}function HJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC],function(K){return YC(cC(K.data[0],K.data[1]))},0,J)}function cC(H,C){return RC(H,C||{},0,0)}function rH(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC],function(K){return YC(vC(K.data[0],YH(K.data[1])))},1,J)}function vC(H,C){return zC(H,{i:2},C&&C.out,C&&C.dictionary)}function EJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,vH,function(){return[LH]}],function(K){return YC(LH(K.data[0],K.data[1]))},2,J)}function LH(H,C){if(!C)C={};var J=TC(),K=H.length;J.p(H);var Q=RC(H,C,NH(C),8),V=Q.length;return $H(Q,C),g(Q,V-8,J.d()),g(Q,V-4,K),Q}function KJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,kH,function(){return[JH]}],function(K){return YC(JH(K.data[0],K.data[1]))},3,J)}function JH(H,C){var J=RH(H);if(J+8>H.length)B(6,"invalid gzip data");return zC(H.subarray(J,-8),{i:2},C&&C.out||new Z(mH(H)),C&&C.dictionary)}function BJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,hH,function(){return[PH]}],function(K){return YC(PH(K.data[0],K.data[1]))},4,J)}function PH(H,C){if(!C)C={};var J=aC();J.p(H);var K=RC(H,C,C.dictionary?6:2,4);return EH(K,C),g(K,K.length-4,J.d()),K}function VJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,_H,function(){return[QH]}],function(K){return YC(QH(K.data[0],YH(K.data[1])))},5,J)}function QH(H,C){return zC(H.subarray(WH(H,C&&C.dictionary),-4),{i:2},C&&C.out,C&&C.dictionary)}function qJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return H[0]==31&&H[1]==139&&H[2]==8?KJ(H,C,J):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?rH(H,C,J):VJ(H,C,J)}function OJ(H,C){return H[0]==31&&H[1]==139&&H[2]==8?JH(H,C):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?vC(H,C):QH(H,C)}function $C(H,C){if(C){var J=new Z(H.length);for(var K=0;K<H.length;++K)J[K]=H.charCodeAt(K);return J}if(GH)return GH.encode(H);var Q=H.length,V=new Z(H.length+(H.length>>1)),X=0,Y=function(R){V[X++]=R};for(var K=0;K<Q;++K){if(X+5>V.length){var E=new Z(X+8+(Q-K<<1));E.set(V),V=E}var $=H.charCodeAt(K);if($<128||C)Y($);else if($<2048)Y(192|$>>6),Y(128|$&63);else if($>55295&&$<57344)$=65536+($&1047552)|H.charCodeAt(++K)&1023,Y(240|$>>18),Y(128|$>>12&63),Y(128|$>>6&63),Y(128|$&63);else Y(224|$>>12),Y(128|$>>6&63),Y(128|$&63)}return d(V,0,X)}function nH(H,C){if(C){var J="";for(var K=0;K<H.length;K+=16384)J+=String.fromCharCode.apply(null,H.subarray(K,K+16384));return J}else if(VH)return VH.decode(H);else{var Q=oH(H),V=Q.s,J=Q.r;if(J.length)B(8);return V}}function TJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K={};BH(H,"",K,C);var Q=Object.keys(K),V=Q.length,X=0,Y=0,E=V,$=Array(V),R=[],N=function(){for(var F=0;F<R.length;++F)R[F]()},W=function(F,P){eC(function(){J(F,P)})};eC(function(){W=J});var T=function(){var F=new Z(Y+22),P=X,U=Y-X;Y=0;for(var j=0;j<E;++j){var O=$[j];try{var x=O.c.length;MC(F,Y,O,O.f,O.u,x);var z=30+O.f.length+XC(O.extra),A=Y+z;F.set(O.c,A),MC(F,X,O,O.f,O.u,x,Y,O.m),X+=16+z+(O.m?O.m.length:0),Y=A+x}catch(L){return W(L,null)}}FH(F,X,$.length,U,P),W(null,F)};if(!V)T();var M=function(F){var P=Q[F],U=K[P],j=U[0],O=U[1],x=TC(),z=j.length;x.p(j);var A=$C(P),L=A.length,q=O.comment,y=q&&$C(q),S=y&&y.length,v=XC(O.extra),r=O.level==0?0:8,h=function(m,w){if(m)N(),W(m,null);else{var D=w.length;if($[F]=yC(O,{size:z,crc:x.d(),c:w,f:A,m:y,u:L!=P.length||y&&q.length!=S,compression:r}),X+=30+L+v+D,Y+=76+2*(L+v)+(S||0)+D,!--V)T()}};if(L>65535)h(B(11,0,1),null);if(!r)h(null,j);else if(z<160000)try{h(null,cC(j,O))}catch(m){h(m,null)}else R.push(HJ(j,O,h))};for(var G=0;G<E;++G)M(G);return N}function ZJ(H,C){if(!C)C={};var J={},K=[];BH(H,"",J,C);var Q=0,V=0;for(var X in J){var Y=J[X],E=Y[0],$=Y[1],R=$.level==0?0:8,N=$C(X),W=N.length,T=$.comment,M=T&&$C(T),G=M&&M.length,F=XC($.extra);if(W>65535)B(11);var P=R?cC(E,$):E,U=P.length,j=TC();j.p(E),K.push(yC($,{size:E.length,crc:j.d(),c:P,f:N,m:M,u:W!=X.length||M&&T.length!=G,o:Q,compression:R})),Q+=30+W+F+U,V+=76+2*(W+F)+(G||0)+U}var O=new Z(V+22),x=Q,z=V-Q;for(var A=0;A<K.length;++A){var N=K[A];MC(O,N.o,N,N.f,N.u,N.c.length);var L=30+N.f.length+XC(N.extra);O.set(N.c,N.o+L),MC(O,Q,N,N.f,N.u,N.c.length,N.o,N.m),Q+=16+L+(N.m?N.m.length:0)}return FH(O,Q,K.length,z,x),O}function DJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K=[],Q=function(){for(var F=0;F<K.length;++F)K[F]()},V={},X=function(F,P){eC(function(){J(F,P)})};eC(function(){X=J});var Y=H.length-22;for(;k(H,Y)!=101010256;--Y)if(!Y||H.length-Y>65558)return X(B(13,0,1),null),Q;var E=b(H,Y+8);if(E){var $=E,R=k(H,Y+16),N=k(H,Y-20)==117853008;if(N){var W=k(H,Y-12);if(N=k(H,W)==101075792,N)$=E=k(H,W+32),R=k(H,W+48)}var T=C&&C.filter,M=function(F){var P=fH(H,R,N),U=P[0],j=P[1],O=P[2],x=P[3],z=P[4],A=P[5],L=eH(H,A);R=z;var q=function(S,v){if(S)Q(),X(S,null);else{if(v)V[x]=v;if(!--E)X(null,V)}};if(!T||T({name:x,size:j,originalSize:O,compression:U}))if(!U)q(null,d(H,L,L+j));else if(U==8){var y=H.subarray(L,L+j);if(O<524288||j>0.8*O)try{q(null,vC(y,{out:new Z(O)}))}catch(S){q(S,null)}else K.push(rH(y,{size:O},q))}else q(B(14,"unknown compression type "+U,1),null);else q(null,null)};for(var G=0;G<$;++G)M(G)}else X(null,{});return Q}function SJ(H,C){var J={},K=H.length-22;for(;k(H,K)!=101010256;--K)if(!K||H.length-K>65558)B(13);var Q=b(H,K+8);if(!Q)return{};var V=k(H,K+16),X=k(H,K-20)==117853008;if(X){var Y=k(H,K-12);if(X=k(H,Y)==101075792,X)Q=k(H,Y+32),V=k(H,Y+48)}var E=C&&C.filter;for(var $=0;$<Q;++$){var R=fH(H,V,X),N=R[0],W=R[1],T=R[2],M=R[3],G=R[4],F=R[5],P=eH(H,F);if(V=G,!E||E({name:M,size:W,originalSize:T,compression:N}))if(!N)J[M]=d(H,P,P+W);else if(N==8)J[M]=vC(H.subarray(P,P+W),{out:new Z(T)});else B(14,"unknown compression type "+N)}return J}var dH,OC,mC,iC,iH=";var __w=require('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global",sH,Z,e,wC,PC,jC,gC,TH=function(H,C){var J=new e(31);for(var K=0;K<31;++K)J[K]=C+=1<<H[K-1];var Q=new wC(J[30]);for(var K=1;K<30;++K)for(var V=J[K];V<J[K+1];++V)Q[V]=V-J[K]<<5|K;return{b:J,r:Q}},OC,XH,oC,ZH,IH,sC,xC,HC,I,l=function(H,C,J){var K=H.length,Q=0,V=new e(C);for(;Q<K;++Q)if(H[Q])++V[H[Q]-1];var X=new e(C);for(Q=1;Q<C;++Q)X[Q]=X[Q-1]+V[Q-1]<<1;var Y;if(J){Y=new e(1<<C);var E=15-C;for(Q=0;Q<K;++Q)if(H[Q]){var $=Q<<4|H[Q],R=C-H[Q],N=X[H[Q]-1]++<<R;for(var W=N|(1<<R)-1;N<=W;++N)Y[xC[N]>>E]=$}}else{Y=new e(K);for(Q=0;Q<K;++Q)if(H[Q])Y[Q]=xC[X[H[Q]-1]++]>>15-H[Q]}return Y},QC,I,I,I,I,LC,I,UH,AH,DH,SH,uC=function(H){var C=H[0];for(var J=1;J<H.length;++J)if(H[J]>C)C=H[J];return C},c=function(H,C,J){var K=C/8|0;return(H[K]|H[K+1]<<8)>>(C&7)&J},rC=function(H,C){var J=C/8|0;return(H[J]|H[J+1]<<8|H[J+2]<<16)>>(C&7)},GC=function(H){return(H+7)/8|0},d=function(H,C,J){if(C==null||C<0)C=0;if(J==null||J>H.length)J=H.length;return new Z(H.subarray(C,J))},RJ,gH,B=function(H,C,J){var K=Error(C||gH[H]);if(K.code=H,Error.captureStackTrace)Error.captureStackTrace(K,B);if(!J)throw K;return K},zC=function(H,C,J,K){var Q=H.length,V=K?K.length:0;if(!Q||C.f&&!C.l)return J||new Z(0);var X=!J,Y=X||C.i!=2,E=C.i;if(X)J=new Z(Q*3);var $=function(DC){var SC=J.length;if(DC>SC){var BC=new Z(Math.max(SC*2,DC));BC.set(J),J=BC}},R=C.f||0,N=C.p||0,W=C.b||0,T=C.l,M=C.d,G=C.m,F=C.n,P=Q*8;do{if(!T){R=c(H,N,1);var U=c(H,N+1,3);if(N+=3,!U){var j=GC(N)+4,O=H[j-4]|H[j-3]<<8,x=j+O;if(x>Q){if(E)B(0);break}if(Y)$(W+O);J.set(H.subarray(j,x),W),C.b=W+=O,C.p=N=x*8,C.f=R;continue}else if(U==1)T=AH,M=SH,G=9,F=5;else if(U==2){var z=c(H,N,31)+257,A=c(H,N+10,15)+4,L=z+c(H,N+5,31)+1;N+=14;var q=new Z(L),y=new Z(19);for(var S=0;S<A;++S)y[gC[S]]=c(H,N+S*3,7);N+=A*3;var v=uC(y),r=(1<<v)-1,h=l(y,v,1);for(var S=0;S<L;){var m=h[c(H,N,r)];N+=m&15;var j=m>>4;if(j<16)q[S++]=j;else{var w=0,D=0;if(j==16)D=3+c(H,N,3),N+=2,w=q[S-1];else if(j==17)D=3+c(H,N,7),N+=3;else if(j==18)D=11+c(H,N,127),N+=7;while(D--)q[S++]=w}}var p=q.subarray(0,z),u=q.subarray(z);G=uC(p),F=uC(u),T=l(p,G,1),M=l(u,F,1)}else B(1);if(N>P){if(E)B(0);break}}if(Y)$(W+131072);var VC=(1<<G)-1,f=(1<<F)-1,s=N;for(;;s=N){var w=T[rC(H,N)&VC],o=w>>4;if(N+=w&15,N>P){if(E)B(0);break}if(!w)B(2);if(o<256)J[W++]=o;else if(o==256){s=N,T=null;break}else{var n=o-254;if(o>264){var S=o-257,_=PC[S];n=c(H,N,(1<<_)-1)+XH[S],N+=_}var CC=M[rC(H,N)&f],EC=CC>>4;if(!CC)B(3);N+=CC&15;var u=IH[EC];if(EC>3){var _=jC[EC];u+=rC(H,N)&(1<<_)-1,N+=_}if(N>P){if(E)B(0);break}if(Y)$(W+131072);var WC=W+n;if(W<u){var kC=V-u,hC=Math.min(u,WC);if(kC+W<0)B(3);for(;W<hC;++W)J[W]=K[kC+W]}for(;W<WC;++W)J[W]=J[W-u]}}if(C.l=T,C.p=s,C.b=W,C.f=R,T)R=1,C.m=G,C.d=M,C.n=F}while(!R);return W!=J.length&&X?d(J,0,W):J.subarray(0,W)},JC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8},FC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8,H[K+2]|=J>>16},pC=function(H,C){var J=[];for(var K=0;K<H.length;++K)if(H[K])J.push({s:K,f:H[K]});var Q=J.length,V=J.slice();if(!Q)return{t:KC,l:0};if(Q==1){var X=new Z(J[0].s+1);return X[J[0].s]=1,{t:X,l:1}}J.sort(function(x,z){return x.f-z.f}),J.push({s:-1,f:25001});var Y=J[0],E=J[1],$=0,R=1,N=2;J[0]={s:-1,f:Y.f+E.f,l:Y,r:E};while(R!=Q-1)Y=J[J[$].f<J[N].f?$++:N++],E=J[$!=R&&J[$].f<J[N].f?$++:N++],J[R++]={s:-1,f:Y.f+E.f,l:Y,r:E};var W=V[0].s;for(var K=1;K<Q;++K)if(V[K].s>W)W=V[K].s;var T=new e(W+1),M=nC(J[R-1],T,0);if(M>C){var K=0,G=0,F=M-C,P=1<<F;V.sort(function(z,A){return T[A.s]-T[z.s]||z.f-A.f});for(;K<Q;++K){var U=V[K].s;if(T[U]>C)G+=P-(1<<M-T[U]),T[U]=C;else break}G>>=F;while(G>0){var j=V[K].s;if(T[j]<C)G-=1<<C-T[j]++-1;else++K}for(;K>=0&&G;--K){var O=V[K].s;if(T[O]==C)--T[O],++G}M=C}return{t:new Z(T),l:M}},nC=function(H,C,J){return H.s==-1?Math.max(nC(H.l,C,J+1),nC(H.r,C,J+1)):C[H.s]=J},tC=function(H){var C=H.length;while(C&&!H[--C]);var J=new e(++C),K=0,Q=H[0],V=1,X=function(E){J[K++]=E};for(var Y=1;Y<=C;++Y)if(H[Y]==Q&&Y!=C)++V;else{if(!Q&&V>2){for(;V>138;V-=138)X(32754);if(V>2)X(V>10?V-11<<5|28690:V-3<<5|12305),V=0}else if(V>3){X(Q),--V;for(;V>6;V-=6)X(8304);if(V>2)X(V-3<<5|8208),V=0}while(V--)X(Q);V=1,Q=H[Y]}return{c:J.subarray(0,K),n:C}},qC=function(H,C){var J=0;for(var K=0;K<C.length;++K)J+=H[K]*C[K];return J},fC=function(H,C,J){var K=J.length,Q=GC(C+2);H[Q]=K&255,H[Q+1]=K>>8,H[Q+2]=H[Q]^255,H[Q+3]=H[Q+1]^255;for(var V=0;V<K;++V)H[Q+V+4]=J[V];return(Q+4+K)*8},CH=function(H,C,J,K,Q,V,X,Y,E,$,R){JC(C,R++,J),++Q[256];var N=pC(Q,15),W=N.t,T=N.l,M=pC(V,15),G=M.t,F=M.l,P=tC(W),U=P.c,j=P.n,O=tC(G),x=O.c,z=O.n,A=new e(19);for(var L=0;L<U.length;++L)++A[U[L]&31];for(var L=0;L<x.length;++L)++A[x[L]&31];var q=pC(A,7),y=q.t,S=q.l,v=19;for(;v>4&&!y[gC[v-1]];--v);var r=$+5<<3,h=qC(Q,QC)+qC(V,LC)+X,m=qC(Q,W)+qC(V,G)+X+14+3*v+qC(A,y)+2*A[16]+3*A[17]+7*A[18];if(E>=0&&r<=h&&r<=m)return fC(C,R,H.subarray(E,E+$));var w,D,p,u;if(JC(C,R,1+(m<h)),R+=2,m<h){w=l(W,T,0),D=W,p=l(G,F,0),u=G;var VC=l(y,S,0);JC(C,R,j-257),JC(C,R+5,z-1),JC(C,R+10,v-4),R+=14;for(var L=0;L<v;++L)JC(C,R+3*L,y[gC[L]]);R+=3*v;var f=[U,x];for(var s=0;s<2;++s){var o=f[s];for(var L=0;L<o.length;++L){var n=o[L]&31;if(JC(C,R,VC[n]),R+=y[n],n>15)JC(C,R,o[L]>>5&127),R+=o[L]>>12}}}else w=UH,D=QC,p=DH,u=LC;for(var L=0;L<Y;++L){var _=K[L];if(_>255){var n=_>>18&31;if(FC(C,R,w[n+257]),R+=D[n+257],n>7)JC(C,R,_>>23&31),R+=PC[n];var CC=_&31;if(FC(C,R,p[CC]),R+=u[CC],CC>3)FC(C,R,_>>5&8191),R+=jC[CC]}else FC(C,R,w[_]),R+=D[_]}return FC(C,R,w[256]),R+D[256]},xH,KC,wH=function(H,C,J,K,Q,V){var X=V.z||H.length,Y=new Z(K+X+5*(1+Math.ceil(X/7000))+Q),E=Y.subarray(K,Y.length-Q),$=V.l,R=(V.r||0)&7;if(C){if(R)E[0]=V.r>>3;var N=xH[C-1],W=N>>13,T=N&8191,M=(1<<J)-1,G=V.p||new e(32768),F=V.h||new e(M+1),P=Math.ceil(J/3),U=2*P,j=function(lC){return(H[lC]^H[lC+1]<<P^H[lC+2]<<U)&M},O=new wC(25000),x=new e(288),z=new e(32),A=0,L=0,q=V.i||0,y=0,S=V.w||0,v=0;for(;q+2<X;++q){var r=j(q),h=q&32767,m=F[r];if(G[h]=m,F[r]=h,S<=q){var w=X-q;if((A>7000||y>24576)&&(w>423||!$)){R=CH(H,E,0,O,x,z,L,y,v,q-v,R),y=A=L=0,v=q;for(var D=0;D<286;++D)x[D]=0;for(var D=0;D<30;++D)z[D]=0}var p=2,u=0,VC=T,f=h-m&32767;if(w>2&&r==j(q-f)){var s=Math.min(W,w)-1,o=Math.min(32767,q),n=Math.min(258,w);while(f<=o&&--VC&&h!=m){if(H[q+p]==H[q+p-f]){var _=0;for(;_<n&&H[q+_]==H[q+_-f];++_);if(_>p){if(p=_,u=f,_>s)break;var CC=Math.min(f,_-2),EC=0;for(var D=0;D<CC;++D){var WC=q-f+D&32767,kC=G[WC],hC=WC-kC&32767;if(hC>EC)EC=hC,m=WC}}}h=m,m=G[h],f+=h-m&32767}}if(u){O[y++]=268435456|oC[p]<<18|sC[u];var DC=oC[p]&31,SC=sC[u]&31;L+=PC[DC]+jC[SC],++x[257+DC],++z[SC],S=q+p,++A}else O[y++]=H[q],++x[H[q]]}}for(q=Math.max(q,S);q<X;++q)O[y++]=H[q],++x[H[q]];if(R=CH(H,E,$,O,x,z,L,y,v,q-v,R),!$)V.r=R&7|E[R/8|0]<<3,R-=7,V.h=F,V.p=G,V.i=q,V.w=S}else{for(var q=V.w||0;q<X+$;q+=65535){var BC=q+65535;if(BC>=X)E[R/8|0]=$,BC=X;R=fC(E,R+1,H.subarray(q,BC))}V.i=X}return d(Y,0,K+GC(R)+Q)},zH,TC=function(){var H=-1;return{p:function(C){var J=H;for(var K=0;K<C.length;++K)J=zH[J&255^C[K]]^J>>>8;H=J},d:function(){return~H}}},aC=function(){var H=1,C=0;return{p:function(J){var K=H,Q=C,V=J.length|0;for(var X=0;X!=V;){var Y=Math.min(X+2655,V);for(;X<Y;++X)Q+=K+=J[X];K=(K&65535)+15*(K>>16),Q=(Q&65535)+15*(Q>>16)}H=K,C=Q},d:function(){return H%=65521,C%=65521,(H&255)<<24|(H&65280)<<8|(C&255)<<8|C>>8}}},RC=function(H,C,J,K,Q){if(!Q){if(Q={l:1},C.dictionary){var V=C.dictionary.subarray(-32768),X=new Z(V.length+H.length);X.set(V),X.set(H,V.length),H=X,Q.w=V.length}}return wH(H,C.level==null?6:C.level,C.mem==null?Q.l?Math.ceil(Math.max(8,Math.min(13,Math.log(H.length)))*1.5):20:12+C.mem,J,K,Q)},yC=function(H,C){var J={};for(var K in H)J[K]=H[K];for(var K in C)J[K]=C[K];return J},qH=function(H,C,J){var K=H(),Q=H.toString(),V=Q.slice(Q.indexOf("[")+1,Q.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var X=0;X<K.length;++X){var Y=K[X],E=V[X];if(typeof Y=="function"){C+=";"+E+"=";var $=Y.toString();if(Y.prototype)if($.indexOf("[native code]")!=-1){var R=$.indexOf(" ",8)+1;C+=$.slice(R,$.indexOf("(",R))}else{C+=$;for(var N in Y.prototype)C+=";"+E+".prototype."+N+"="+Y.prototype[N].toString()}else C+=$}else J[E]=Y}return C},_C,tH=function(H){var C=[];for(var J in H)if(H[J].buffer)C.push((H[J]=new H[J].constructor(H[J])).buffer);return C},yH=function(H,C,J,K){if(!_C[J]){var Q="",V={},X=H.length-1;for(var Y=0;Y<X;++Y)Q=qH(H[Y],Q,V);_C[J]={c:qH(H[X],Q,V),e:V}}var E=yC({},_C[J].e);return sH(_C[J].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+C.toString()+"}",J,E,tH(E),K)},ZC=function(){return[Z,e,wC,PC,jC,gC,XH,IH,AH,SH,xC,gH,l,uC,c,rC,GC,d,B,zC,vC,YC,YH]},IC=function(){return[Z,e,wC,PC,jC,gC,oC,sC,UH,QC,DH,LC,xC,xH,KC,l,JC,FC,pC,nC,tC,qC,fC,CH,GC,d,wH,RC,cC,YC]},vH=function(){return[$H,NH,g,TC,zH]},kH=function(){return[RH,mH]},hH=function(){return[EH,g,aC]},_H=function(){return[WH]},YC=function(H){return postMessage(H,[H.buffer])},YH=function(H){return H&&{out:H.size&&new Z(H.size),dictionary:H.dictionary}},UC=function(H,C,J,K,Q,V){var X=yH(J,K,Q,function(Y,E){X.terminate(),V(Y,E)});return X.postMessage([H,C],C.consume?[H.buffer]:[]),function(){X.terminate()}},i=function(H){return H.ondata=function(C,J){return postMessage([C,J],[C.buffer])},function(C){if(C.data[0])H.push(C.data[0],C.data[1]),postMessage([C.data[0].length]);else H.flush(C.data[1])}},AC=function(H,C,J,K,Q,V,X){var Y,E=yH(H,K,Q,function($,R){if($)E.terminate(),C.ondata.call(C,$);else if(!Array.isArray(R))X(R);else if(R.length==1){if(C.queuedSize-=R[0],C.ondrain)C.ondrain(R[0])}else{if(R[1])E.terminate();C.ondata.call(C,$,R[0],R[1])}});if(E.postMessage(J),C.queuedSize=0,C.push=function($,R){if(!C.ondata)B(5);if(Y)C.ondata(B(4,0,1),null,!!R);C.queuedSize+=$.length,E.postMessage([$,Y=R],$.buffer instanceof ArrayBuffer?[$.buffer]:[])},C.terminate=function(){E.terminate()},V)C.flush=function($){E.postMessage([0,$])}},b=function(H,C){return H[C]|H[C+1]<<8},k=function(H,C){return(H[C]|H[C+1]<<8|H[C+2]<<16|H[C+3]<<24)>>>0},dC=function(H,C){return k(H,C)+k(H,C+4)*4294967296},g=function(H,C,J){for(;J;++C)H[C]=J,J>>>=8},$H=function(H,C){var J=C.filename;if(H[0]=31,H[1]=139,H[2]=8,H[8]=C.level<2?4:C.level==9?2:0,H[9]=3,C.mtime!=0)g(H,4,Math.floor(new Date(C.mtime||Date.now())/1000));if(J){H[3]=8;for(var K=0;K<=J.length;++K)H[K+10]=J.charCodeAt(K)}},RH=function(H){if(H[0]!=31||H[1]!=139||H[2]!=8)B(6,"invalid gzip data");var C=H[3],J=10;if(C&4)J+=(H[10]|H[11]<<8)+2;for(var K=(C>>3&1)+(C>>4&1);K>0;K-=!H[J++]);return J+(C&2)},mH=function(H){var C=H.length;return(H[C-4]|H[C-3]<<8|H[C-2]<<16|H[C-1]<<24)>>>0},NH=function(H){return 10+(H.filename?H.filename.length+1:0)},EH=function(H,C){var J=C.level,K=J==0?0:J<6?1:J==9?3:2;if(H[0]=120,H[1]=K<<6|(C.dictionary&&32),H[1]|=31-(H[0]<<8|H[1])%31,C.dictionary){var Q=aC();Q.p(C.dictionary),g(H,2,Q.d())}},WH=function(H,C){if((H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31)B(6,"invalid zlib data");if((H[1]>>5&1)==+!C)B(6,"invalid zlib data: "+(H[1]&32?"need":"unexpected")+" dictionary");return(H[1]>>3&4)+2},t,CJ,a,uH,OH,NJ,HH,JJ,MH,WJ,KH,QJ,jH,FJ,BH=function(H,C,J,K){for(var Q in H){var V=H[Q],X=C+Q,Y=K;if(Array.isArray(V))Y=yC(K,V[1]),V=V[0];if(ArrayBuffer.isView(V))J[X]=[V,Y];else J[X+="/"]=[new Z(0),Y],BH(V,X,J,K)}},GH,VH,pH=0,oH=function(H){for(var C="",J=0;;){var K=H[J++],Q=(K>127)+(K>223)+(K>239);if(J+Q>H.length)return{s:C,r:d(H,J-1)};if(!Q)C+=String.fromCharCode(K);else if(Q==3)K=((K&15)<<18|(H[J++]&63)<<12|(H[J++]&63)<<6|H[J++]&63)-65536,C+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Q&1)C+=String.fromCharCode((K&31)<<6|H[J++]&63);else C+=String.fromCharCode((K&15)<<12|(H[J++]&63)<<6|H[J++]&63)}},LJ,MJ,bH=function(H){return H==1?3:H<6?2:H==9?1:0},eH=function(H,C){return C+30+b(H,C+26)+b(H,C+28)},fH=function(H,C,J){var K=b(H,C+28),Q=b(H,C+30),V=nH(H.subarray(C+46,C+46+K),!(b(H,C+8)&2048)),X=C+46+K,Y=aH(H,X,Q,J,k(H,C+20),k(H,C+24),k(H,C+42)),E=Y[0],$=Y[1],R=Y[2];return[b(H,C+10),E,$,V,X+Q+b(H,C+32),R]},aH=function(H,C,J,K,Q,V,X){var Y=Q==4294967295,E=V==4294967295,$=X==4294967295,R=C+J,N=Y+E+$;if(K&&N){for(;C+4<R;C+=4+b(H,C+2))if(b(H,C)==1)return[Y?dC(H,C+4+8*E):Q,E?dC(H,C+4):V,$?dC(H,C+4+8*(E+Y)):X,1];if(K<2)B(13)}return[Q,V,X,0]},XC=function(H){var C=0;if(H)for(var J in H){var K=H[J].length;if(K>65535)B(9);C+=K+4}return C},MC=function(H,C,J,K,Q,V,X,Y){var E=K.length,$=J.extra,R=Y&&Y.length,N=XC($);if(g(H,C,X!=null?33639248:67324752),C+=4,X!=null)H[C++]=20,H[C++]=J.os;H[C]=20,C+=2,H[C++]=J.flag<<1|(V<0&&8),H[C++]=Q&&8,H[C++]=J.compression&255,H[C++]=J.compression>>8;var W=new Date(J.mtime==null?Date.now():J.mtime),T=W.getFullYear()-1980;if(T<0||T>119)B(10);if(g(H,C,T<<25|W.getMonth()+1<<21|W.getDate()<<16|W.getHours()<<11|W.getMinutes()<<5|W.getSeconds()>>1),C+=4,V!=-1)g(H,C,J.crc),g(H,C+4,V<0?-V-2:V),g(H,C+8,J.size);if(g(H,C+12,E),g(H,C+14,N),C+=16,X!=null)g(H,C,R),g(H,C+6,J.attrs),g(H,C+10,X),C+=14;if(H.set(K,C),C+=E,N)for(var M in $){var G=$[M],F=G.length;g(H,C,+M),g(H,C+2,F),H.set(G,C+4),C+=4+F}if(R)H.set(Y,C),C+=R;return C},FH=function(H,C,J,K,Q){g(H,C,101010256),g(H,C+8,J),g(H,C+10,J),g(H,C+12,K),g(H,C+16,Q)},bC,PJ,jJ,GJ,XJ,IJ,UJ,AJ,eC;var YJ=cH(()=>{dH=lH("/");try{OC=dH("worker_threads"),mC=OC.Worker,iC=OC.isMarkedAsUntransferable}catch(H){}sH=mC?function(H,C,J,K,Q){var V=!1,X=new mC(H+iH,{eval:!0}).on("error",function(Y){return Q(Y,null)}).on("message",function(Y){return Q(null,Y)}).on("exit",function(Y){if(Y&&!V)Q(Error("exited with code "+Y),null)});if(iC)K=K.filter(function(Y){return!iC(Y)});return X.postMessage(J,K),X.terminate=function(){return V=!0,mC.prototype.terminate.call(X)},X}:function(H,C,J,K,Q){setImmediate(function(){return Q(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)});var V=function(){};return{terminate:V,postMessage:V}},Z=Uint8Array,e=Uint16Array,wC=Int32Array,PC=new Z([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),jC=new Z([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),gC=new Z([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),OC=TH(PC,2),XH=OC.b,oC=OC.r;XH[28]=258,oC[258]=28;ZH=TH(jC,0),IH=ZH.b,sC=ZH.r,xC=new e(32768);for(I=0;I<32768;++I)HC=(I&43690)>>1|(I&21845)<<1,HC=(HC&52428)>>2|(HC&13107)<<2,HC=(HC&61680)>>4|(HC&3855)<<4,xC[I]=((HC&65280)>>8|(HC&255)<<8)>>1;QC=new Z(288);for(I=0;I<144;++I)QC[I]=8;for(I=144;I<256;++I)QC[I]=9;for(I=256;I<280;++I)QC[I]=7;for(I=280;I<288;++I)QC[I]=8;LC=new Z(32);for(I=0;I<32;++I)LC[I]=5;UH=l(QC,9,0),AH=l(QC,9,1),DH=l(LC,5,0),SH=l(LC,5,1),RJ={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},gH=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],xH=new wC([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),KC=new Z(0),zH=function(){var H=new Int32Array(256);for(var C=0;C<256;++C){var J=C,K=9;while(--K)J=(J&1&&-306674912)^J>>>1;H[C]=J}return H}(),_C=[];t=function(){function H(C,J){if(typeof C=="function")J=C,C={};if(this.ondata=J,this.o=C||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Z(98304),this.o.dictionary){var K=this.o.dictionary.subarray(-32768);this.b.set(K,32768-K.length),this.s.i=32768-K.length}}return H.prototype.p=function(C,J){this.ondata(RC(C,this.o,0,0,this.s),J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.s.l)B(4);var K=C.length+this.s.z;if(K>this.b.length){if(K>2*this.b.length-32768){var Q=new Z(K&-32768);Q.set(this.b.subarray(0,this.s.z)),this.b=Q}var V=this.b.length-this.s.z;this.b.set(C.subarray(0,V),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(C.subarray(V),32768),this.s.z=C.length-V+32768,this.s.i=32766,this.s.w=32768}else this.b.set(C,this.s.z),this.s.z+=C.length;if(this.s.l=J&1,this.s.z>this.s.w+8191||J)this.p(this.b,J||!1),this.s.w=this.s.i,this.s.i-=2;if(J)this.s=this.o={},this.b=KC},H.prototype.flush=function(C){if(!this.ondata)B(5);if(this.s.l)B(4);if(this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2,C){var J=new Z(6);J[0]=this.s.r>>3;var K=fC(J,this.s.r,KC);this.s.r=0,this.ondata(J.subarray(0,K>>3),!1)}},H}(),CJ=function(){function H(C,J){AC([IC,function(){return[i,t]}],this,NC.call(this,C,J),function(K){var Q=new t(K.data);onmessage=i(Q)},6,1)}return H}();a=function(){function H(C,J){if(typeof C=="function")J=C,C={};this.ondata=J;var K=C&&C.dictionary&&C.dictionary.subarray(-32768);if(this.s={i:0,b:K?K.length:0},this.o=new Z(32768),this.p=new Z(0),K)this.o.set(K)}return H.prototype.e=function(C){if(!this.ondata)B(5);if(this.d)B(4);if(!this.p.length)this.p=C;else if(C.length){var J=new Z(this.p.length+C.length);J.set(this.p),J.set(C,this.p.length),this.p=J}},H.prototype.c=function(C){this.s.i=+(this.d=C||!1);var J=this.s.b,K=zC(this.p,this.s,this.o);this.ondata(d(K,J,this.s.b),this.d),this.o=d(K,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},H.prototype.push=function(C,J){this.e(C),this.c(J)},H}(),uH=function(){function H(C,J){AC([ZC,function(){return[i,a]}],this,NC.call(this,C,J),function(K){var Q=new a(K.data);onmessage=i(Q)},7,0)}return H}();OH=function(){function H(C,J){this.c=TC(),this.l=0,this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),this.l+=C.length,t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&NH(this.o),J&&8,this.s);if(this.v)$H(K,this.o),this.v=0;if(J)g(K,K.length-8,this.c.d()),g(K,K.length-4,this.l);this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),NJ=function(){function H(C,J){AC([IC,vH,function(){return[i,t,OH]}],this,NC.call(this,C,J),function(K){var Q=new OH(K.data);onmessage=i(Q)},8,1)}return H}();HH=function(){function H(C,J){this.v=1,this.r=0,a.call(this,C,J)}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.r+=C.length,this.v){var K=this.p.subarray(this.v-1),Q=K.length>3?RH(K):4;if(Q>K.length){if(!J)return}else if(this.v>1&&this.onmember)this.onmember(this.r-K.length);this.p=K.subarray(Q),this.v=0}if(a.prototype.c.call(this,0),this.s.f&&!this.s.l)this.v=GC(this.s.p)+9,this.s={i:0},this.o=new Z(0),this.push(new Z(0),J);else if(J)a.prototype.c.call(this,J)},H}(),JJ=function(){function H(C,J){var K=this;AC([ZC,kH,function(){return[i,a,HH]}],this,NC.call(this,C,J),function(Q){var V=new HH(Q.data);V.onmember=function(X){return postMessage(X)},onmessage=i(V)},9,0,function(Q){return K.onmember&&K.onmember(Q)})}return H}();MH=function(){function H(C,J){this.c=aC(),this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&(this.o.dictionary?6:2),J&&4,this.s);if(this.v)EH(K,this.o),this.v=0;if(J)g(K,K.length-4,this.c.d());this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),WJ=function(){function H(C,J){AC([IC,hH,function(){return[i,t,MH]}],this,NC.call(this,C,J),function(K){var Q=new MH(K.data);onmessage=i(Q)},10,1)}return H}();KH=function(){function H(C,J){a.call(this,C,J),this.v=C&&C.dictionary?2:1}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.v){if(this.p.length<6&&!J)return;this.p=this.p.subarray(WH(this.p,this.v-1)),this.v=0}if(J){if(this.p.length<4)B(6,"invalid zlib data");this.p=this.p.subarray(0,-4)}a.prototype.c.call(this,J)},H}(),QJ=function(){function H(C,J){AC([ZC,_H,function(){return[i,a,KH]}],this,NC.call(this,C,J),function(K){var Q=new KH(K.data);onmessage=i(Q)},11,0)}return H}();jH=function(){function H(C,J){this.o=NC.call(this,C,J)||{},this.G=HH,this.I=a,this.Z=KH}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K){C.ondata(J,K)}},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(!this.s){if(this.p&&this.p.length){var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length)}else this.p=C;if(this.p.length>2)this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,J),this.p=null}else this.s.push(C,J)},H}(),FJ=function(){function H(C,J){jH.call(this,C,J),this.queuedSize=0,this.G=JJ,this.I=uH,this.Z=QJ}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K,Q){C.ondata(J,K,Q)},this.s.ondrain=function(J){if(C.queuedSize-=J,C.ondrain)C.ondrain(J)}},H.prototype.push=function(C,J){this.queuedSize+=C.length,jH.prototype.push.call(this,C,J)},H}();GH=typeof TextEncoder<"u"&&new TextEncoder,VH=typeof TextDecoder<"u"&&new TextDecoder;try{VH.decode(KC,{stream:!0}),pH=1}catch(H){}LJ=function(){function H(C){if(this.ondata=C,pH)this.t=new TextDecoder;else this.p=KC}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(J=!!J,this.t){if(this.ondata(this.t.decode(C,{stream:!0}),J),J){if(this.t.decode().length)B(8);this.t=null}return}if(!this.p)B(4);var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length);var Q=oH(K),V=Q.s,X=Q.r;if(J){if(X.length)B(8);this.p=null}else this.p=X;this.ondata(V,J)},H}(),MJ=function(){function H(C){this.ondata=C}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.d)B(4);this.ondata($C(C),this.d=J||!1)},H}();bC=function(){function H(C){this.filename=C,this.c=TC(),this.size=0,this.compression=0}return H.prototype.process=function(C,J){this.ondata(null,C,J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.c.p(C),this.size+=C.length,J)this.crc=this.c.d();this.process(C,J||!1)},H}(),PJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new t(J,function(Q,V){K.ondata(null,Q,V)}),this.compression=8,this.flag=bH(J.level)}return H.prototype.process=function(C,J){try{this.d.push(C,J)}catch(K){this.ondata(K,null,J)}},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),jJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new CJ(J,function(Q,V,X){K.ondata(Q,V,X)}),this.compression=8,this.flag=bH(J.level),this.terminate=this.d.terminate}return H.prototype.process=function(C,J){this.d.push(C,J)},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),GJ=function(){function H(C){this.ondata=C,this.u=[],this.d=1}return H.prototype.add=function(C){var J=this;if(!this.ondata)B(5);if(this.d&2)this.ondata(B(4+(this.d&1)*8,0,1),null,!1);else{var K=$C(C.filename),Q=K.length,V=C.comment,X=V&&$C(V),Y=Q!=C.filename.length||X&&V.length!=X.length,E=Q+XC(C.extra)+30;if(Q>65535)this.ondata(B(11,0,1),null,!1);var $=new Z(E);MC($,0,C,K,Y,-1);var R=[$],N=function(){for(var F=0,P=R;F<P.length;F++){var U=P[F];J.ondata(null,U,!1)}R=[]},W=this.d;this.d=0;var T=this.u.length,M=yC(C,{f:K,u:Y,o:X,t:function(){if(C.terminate)C.terminate()},r:function(){if(N(),W){var F=J.u[T+1];if(F)F.r();else J.d=1}W=1}}),G=0;C.ondata=function(F,P,U){if(F)J.ondata(F,P,U),J.terminate();else if(G+=P.length,R.push(P),U){var j=new Z(16);if(g(j,0,134695760),g(j,4,C.crc),g(j,8,G),g(j,12,C.size),R.push(j),M.c=G,M.b=E+G+16,M.crc=C.crc,M.size=C.size,W)M.r();W=1}else if(W)N()},this.u.push(M)}},H.prototype.end=function(){var C=this;if(this.d&2){this.ondata(B(4+(this.d&1)*8,0,1),null,!0);return}if(this.d)this.e();else this.u.push({r:function(){if(!(C.d&1))return;C.u.splice(-1,1),C.e()},t:function(){}});this.d=3},H.prototype.e=function(){var C=0,J=0,K=0;for(var Q=0,V=this.u;Q<V.length;Q++){var X=V[Q];K+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0)}var Y=new Z(K+22);for(var E=0,$=this.u;E<$.length;E++){var X=$[E];MC(Y,C,X,X.f,X.u,-X.c-2,J,X.o),C+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0),J+=X.b}FH(Y,C,this.u.length,K,J),this.ondata(null,Y,!0),this.d=2},H.prototype.terminate=function(){for(var C=0,J=this.u;C<J.length;C++){var K=J[C];K.t()}this.d=2},H}();XJ=function(){function H(){}return H.prototype.push=function(C,J){this.ondata(null,C,J)},H.compression=0,H}(),IJ=function(){function H(){var C=this;this.i=new a(function(J,K){C.ondata(null,J,K)})}return H.prototype.push=function(C,J){try{this.i.push(C,J)}catch(K){this.ondata(K,null,J)}},H.compression=8,H}(),UJ=function(){function H(C,J){var K=this;if(J<320000)this.i=new a(function(Q,V){K.ondata(null,Q,V)});else this.i=new uH(function(Q,V,X){K.ondata(Q,V,X)}),this.terminate=this.i.terminate}return H.prototype.push=function(C,J){if(this.i.terminate)C=d(C,0);this.i.push(C,J)},H.compression=8,H}(),AJ=function(){function H(C){this.onfile=C,this.k=[],this.o={0:XJ},this.p=KC}return H.prototype.push=function(C,J){var K=this;if(!this.onfile)B(5);if(!this.p)B(4);if(this.c>0){var Q=Math.min(this.c,C.length),V=C.subarray(0,Q);if(this.c-=Q,this.d)this.d.push(V,!this.c);else this.k[0].push(V);if(C=C.subarray(Q),C.length)return this.push(C,J)}else{var X=0,Y=0,E=void 0,$=void 0;if(!this.p.length)$=C;else if(!C.length)$=this.p;else $=new Z(this.p.length+C.length),$.set(this.p),$.set(C,this.p.length);var R=$.length,N=this.c,W=N&&this.d,T=function(){var P=k($,Y);if(P==67324752){X=1,E=Y,M.d=null,M.c=0;var U=b($,Y+6),j=b($,Y+8),O=U&2048,x=U&8,z=b($,Y+26),A=b($,Y+28);if(R>Y+30+z+A){var L=[];M.k.unshift(L),X=2;var q=k($,Y+18),y=k($,Y+22),S=nH($.subarray(Y+30,Y+=30+z),!O),v=aH($,Y,A,2,q,y,0),r=v[0],h=v[1],m=v[3];if(x)r=-1-m;Y+=A,M.c=r;var w,D={name:S,compression:j,start:function(){if(!D.ondata)B(5);if(!r)D.ondata(null,KC,!0);else{var p=K.o[j];if(!p)D.ondata(B(14,"unknown compression type "+j,1),null,!1);w=r<0?new p(S):new p(S,r,h),w.ondata=function(s,o,n){D.ondata(s,o,n)};for(var u=0,VC=L;u<VC.length;u++){var f=VC[u];w.push(f,!1)}if(K.k[0]==L&&K.c)K.d=w;else w.push(KC,!0)}},terminate:function(){if(w&&w.terminate)w.terminate()}};if(r>=0)D.size=r,D.originalSize=h;M.onfile(D)}return"break"}else if(N){if(P==134695760)return E=Y+=12+(N==-2&&8),X=3,M.c=0,"break";else if(P==33639248)return E=Y-=4,X=3,M.c=0,"break"}},M=this;for(;Y<R-4;++Y){var G=T();if(G==="break")break}if(this.p=KC,N<0){var F=X?$.subarray(0,E-12-(N==-2&&8)-(k($,E-16)==134695760&&4)):$.subarray(0,Y);if(W)W.push(F,!!X);else this.k[+(X==2)].push(F)}if(X&2)return this.push($.subarray(Y),J);this.p=$.subarray(Y)}if(J){if(this.c)B(13);this.p=null}},H.prototype.register=function(C){this.o[C.compression]=C},H}(),eC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(H){H()}});YJ();export{PH as zlibSync,BJ as zlib,ZJ as zipSync,TJ as zip,QH as unzlibSync,VJ as unzlib,SJ as unzipSync,DJ as unzip,$C as strToU8,nH as strFromU8,vC as inflateSync,rH as inflate,LH as gzipSync,EJ as gzip,JH as gunzipSync,KJ as gunzip,cC as deflateSync,HJ as deflate,OJ as decompressSync,qJ as decompress,LH as compressSync,EJ as compress,MH as Zlib,bC as ZipPassThrough,PJ as ZipDeflate,GJ as Zip,KH as Unzlib,XJ as UnzipPassThrough,IJ as UnzipInflate,AJ as Unzip,a as Inflate,OH as Gzip,HH as Gunzip,RJ as FlateErrorCode,MJ as EncodeUTF8,t as Deflate,jH as Decompress,LJ as DecodeUTF8,OH as Compress,WJ as AsyncZlib,jJ as AsyncZipDeflate,QJ as AsyncUnzlib,UJ as AsyncUnzipInflate,uH as AsyncInflate,NJ as AsyncGzip,JJ as AsyncGunzip,CJ as AsyncDeflate,FJ as AsyncDecompress,NJ as AsyncCompress};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A_ as hs,B_ as G,C_ as tt,D_ as pr,E_ as _r,G_ as Er,H_ as Sr,I_ as Rr,J_ as xr,K_ as vr,L_ as Kt,M_ as kt,N_ as er,O_ as Ur,P_ as Mr,p_ as F,q_ as Nr,r_ as Dr,s_ as br,t_ as Ge,u_ as Zt,v_ as Et,w_ as $r,x_ as Is,y_ as Ar,z_ as Fr}from"./cli-1.1.27-hs6hv3bh.mjs";import{Q_ as ps}from"./cli-1.1.27-d5q76t7c.mjs";import{R_ as we}from"./cli-1.1.27-cw9bqwta.mjs";import{T_ as dr,U_ as Z,V_ as Ce}from"./cli-1.1.27-zgweqxf0.mjs";import{Ata as ir}from"./cli-1.1.27-7hws4y92.mjs";import{Cta as Xe}from"./cli-1.1.27-tc4b7enb.mjs";import{Ita as ge,Kta as S,Mta as no,Nta as X}from"./cli-1.1.27-8vrv0ver.mjs";var De=S((Zs)=>{var Ls=Z(),Ts=F(),p=Ce(),w=we(),zs=X("node:fs"),Hs=({logger:e,signingName:s}={})=>async()=>{if(e?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!s)throw new p.TokenProviderError("Please pass 'signingName' to compute environment variable key",{logger:e});let t=Ts.getBearerTokenEnvKey(s);if(!(t in process.env))throw new p.TokenProviderError(`Token not present in '${t}' environment variable`,{logger:e});let o={token:process.env[t]};return Ls.setTokenFeature(o,"BEARER_SERVICE_ENV_VARS","3"),o},Vs=300000,K="To refresh this SSO session run 'aws sso login' with the corresponding profile.",Bs=async(e,s={},t)=>{let{SSOOIDCClient:o}=await import("./index-1.1.27-haym7ds6.mjs").then((m)=>ge(m.default)),r=(c)=>s.clientConfig?.[c]??s.parentClientConfig?.[c]??t?.[c];return new o(Object.assign({},s.clientConfig??{},{region:e??s.clientConfig?.region,logger:r("logger"),userAgentAppId:r("userAgentAppId")}))},Ys=async(e,s,t={},o)=>{let{CreateTokenCommand:r}=await import("./index-1.1.27-haym7ds6.mjs").then((m)=>ge(m.default));return(await Bs(s,t,o)).send(new r({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))},Pe=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new p.TokenProviderError(`Token is expired. ${K}`,!1)},h=(e,s,t=!1)=>{if(typeof s>"u")throw new p.TokenProviderError(`Value not present for '${e}' in SSO Token${t?". Cannot refresh":""}. ${K}`,!1)},{writeFile:Qs}=zs.promises,Js=(e,s)=>{let t=w.getSSOTokenFilepath(e),o=JSON.stringify(s,null,2);return Qs(t,o)},ye=new Date(0),Ne=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let t=await w.parseKnownFiles(e),o=w.getProfileName({profile:e.profile??s?.profile}),r=t[o];if(!r)throw new p.TokenProviderError(`Profile '${o}' could not be found in shared credentials file.`,!1);else if(!r.sso_session)throw new p.TokenProviderError(`Profile '${o}' is missing required property 'sso_session'.`);let n=r.sso_session,_=(await w.loadSsoSessionData(e))[n];if(!_)throw new p.TokenProviderError(`Sso session '${n}' could not be found in shared credentials file.`,!1);for(let a of["sso_start_url","sso_region"])if(!_[a])throw new p.TokenProviderError(`Sso session '${n}' is missing required property '${a}'.`,!1);_.sso_start_url;let d=_.sso_region,l;try{l=await w.getSSOTokenFromFile(n)}catch(a){throw new p.TokenProviderError(`The SSO session token associated with profile=${o} was not found or is invalid. ${K}`,!1)}h("accessToken",l.accessToken),h("expiresAt",l.expiresAt);let{accessToken:u,expiresAt:C}=l,x={token:u,expiration:new Date(C)};if(x.expiration.getTime()-Date.now()>Vs)return x;if(Date.now()-ye.getTime()<30000)return Pe(x),x;h("clientId",l.clientId,!0),h("clientSecret",l.clientSecret,!0),h("refreshToken",l.refreshToken,!0);try{ye.setTime(Date.now());let a=await Ys(l,d,e,s);h("accessToken",a.accessToken),h("expiresIn",a.expiresIn);let v=new Date(Date.now()+a.expiresIn*1000);try{await Js(n,{...l,accessToken:a.accessToken,expiresAt:v.toISOString(),refreshToken:a.refreshToken})}catch(J){}return{token:a.accessToken,expiration:v}}catch(a){return Pe(x),x}},Ws=({token:e,logger:s})=>async()=>{if(s?.debug("@aws-sdk/token-providers - fromStatic"),!e||!e.token)throw new p.TokenProviderError("Please pass a valid token to fromStatic",!1);return e},Xs=(e={})=>p.memoize(p.chain(Ne(e),async()=>{throw new p.TokenProviderError("Could not load token from any providers",!1)}),(s)=>s.expiration!==void 0&&s.expiration.getTime()-Date.now()<300000,(s)=>s.expiration!==void 0);Zs.fromEnvSigningName=Hs;Zs.fromSso=Ne;Zs.fromStatic=Ws;Zs.nodeProvider=Xs});var ee=S((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveHttpAuthSchemeConfig=be.defaultSSOHttpAuthSchemeProvider=be.defaultSSOHttpAuthSchemeParametersProvider=void 0;var rt=F(),k=tt(),ot=async(e,s,t)=>{return{operation:(0,k.getSmithyContext)(s).operation,region:await(0,k.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};be.defaultSSOHttpAuthSchemeParametersProvider=ot;function nt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(s,t)=>({signingProperties:{config:s,context:t}})}}function at(e){return{schemeId:"smithy.api#noAuth"}}var ct=(e)=>{let s=[];switch(e.operation){case"GetRoleCredentials":{s.push(at(e));break}default:s.push(nt(e))}return s};be.defaultSSOHttpAuthSchemeProvider=ct;var lt=(e)=>{let s=(0,rt.resolveAwsSdkSigV4Config)(e);return Object.assign(s,{authSchemePreference:(0,k.normalizeProvider)(e.authSchemePreference??[])})};be.resolveHttpAuthSchemeConfig=lt});var Te=S((je)=>{Object.defineProperty(je,"__esModule",{value:!0});je.bdd=void 0;var dt=Ge(),N="ref",f=-1,U=!0,Ae="isSet",me="PartitionResult",M="booleanEquals",se="getAttr",Fe={[N]:"Endpoint"},te={[N]:me},g={},Ue=[{[N]:"Region"}],Me={conditions:[[Ae,[Fe]],[Ae,Ue],["aws.partition",Ue,me],[M,[{[N]:"UseFIPS"},U]],[M,[{[N]:"UseDualStack"},U]],[M,[{fn:se,argv:[te,"supportsDualStack"]},U]],[M,[{fn:se,argv:[te,"supportsFIPS"]},U]],["stringEquals",[{fn:se,argv:[te,"name"]},"aws-us-gov"]]],results:[[f],[f,"Invalid Configuration: FIPS and custom endpoint are not supported"],[f,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Fe,g],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",g],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",g],[f,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[f,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",g],[f,"Invalid Configuration: Missing Region"]]},pt=2,i=1e8,_t=new Int32Array([-1,1,-1,0,13,3,1,4,i+12,2,5,i+12,3,8,6,4,7,i+11,5,i+9,i+10,4,11,9,6,10,i+8,7,i+6,i+7,5,12,i+5,6,i+4,i+5,3,i+1,14,4,i+2,i+3]);je.bdd=dt.BinaryDecisionDiagram.from(_t,pt,Me.conditions,Me.results)});var Ve=S((ze)=>{Object.defineProperty(ze,"__esModule",{value:!0});ze.defaultEndpointResolver=void 0;var St=Et(),re=Ge(),Rt=Te(),xt=new re.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),vt=(e,s={})=>{return xt.get(e,()=>(0,re.decideEndpoint)(Rt.bdd,{endpointParams:e,logger:s.logger}))};ze.defaultEndpointResolver=vt;re.customEndpointFunctions.aws=St.awsEndpointFunctions});var m=S((ne)=>{Object.defineProperty(ne,"__esModule",{value:!0});ne.SSOServiceException=ne.__ServiceException=void 0;var Be=G();Object.defineProperty(ne,"__ServiceException",{enumerable:!0,get:function(){return Be.ServiceException}});class oe extends Be.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,oe.prototype)}}ne.SSOServiceException=oe});var ie=S((Qe)=>{Object.defineProperty(Qe,"__esModule",{value:!0});Qe.UnauthorizedException=Qe.TooManyRequestsException=Qe.ResourceNotFoundException=Qe.InvalidRequestException=void 0;var j=m();class ae extends j.SSOServiceException{name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,ae.prototype)}}Qe.InvalidRequestException=ae;class ce extends j.SSOServiceException{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ce.prototype)}}Qe.ResourceNotFoundException=ce;class le extends j.SSOServiceException{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,le.prototype)}}Qe.TooManyRequestsException=le;class ue extends j.SSOServiceException{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,ue.prototype)}}Qe.UnauthorizedException=ue});var de=S((es)=>{Object.defineProperty(es,"__esModule",{value:!0});es.GetRoleCredentials$=es.RoleCredentials$=es.GetRoleCredentialsResponse$=es.GetRoleCredentialsRequest$=es.errorTypeRegistries=es.UnauthorizedException$=es.TooManyRequestsException$=es.ResourceNotFoundException$=es.InvalidRequestException$=es.SSOServiceException$=void 0;var ft="AccessTokenType",qt="GetRoleCredentials",Pt="GetRoleCredentialsRequest",yt="GetRoleCredentialsResponse",gt="InvalidRequestException",Ct="RoleCredentials",wt="ResourceNotFoundException",Nt="SecretAccessKeyType",Dt="SessionTokenType",bt="TooManyRequestsException",$t="UnauthorizedException",At="accountId",Ft="accessKeyId",Ut="accessToken",Mt="account_id",L="client",T="error",Gt="expiration",mt="http",z="httpError",jt="httpHeader",We="httpQuery",H="message",Lt="roleCredentials",Tt="roleName",zt="role_name",Ze="smithy.ts.sdk.synthetic.com.amazonaws.sso",Ht="secretAccessKey",Vt="sessionToken",Bt="x-amz-sso_bearer_token",E="com.amazonaws.sso",Ke=Xe(),V=ie(),Yt=m(),ke=Ke.TypeRegistry.for(Ze);es.SSOServiceException$=[-3,Ze,"SSOServiceException",0,[],[]];ke.registerError(es.SSOServiceException$,Yt.SSOServiceException);var D=Ke.TypeRegistry.for(E);es.InvalidRequestException$=[-3,E,gt,{[T]:L,[z]:400},[H],[0]];D.registerError(es.InvalidRequestException$,V.InvalidRequestException);es.ResourceNotFoundException$=[-3,E,wt,{[T]:L,[z]:404},[H],[0]];D.registerError(es.ResourceNotFoundException$,V.ResourceNotFoundException);es.TooManyRequestsException$=[-3,E,bt,{[T]:L,[z]:429},[H],[0]];D.registerError(es.TooManyRequestsException$,V.TooManyRequestsException);es.UnauthorizedException$=[-3,E,$t,{[T]:L,[z]:401},[H],[0]];D.registerError(es.UnauthorizedException$,V.UnauthorizedException);es.errorTypeRegistries=[ke,D];var Qt=[0,E,ft,8,0],Jt=[0,E,Nt,8,0],Wt=[0,E,Dt,8,0];es.GetRoleCredentialsRequest$=[3,E,Pt,0,[Tt,At,Ut],[[0,{[We]:zt}],[0,{[We]:Mt}],[()=>Qt,{[jt]:Bt}]],3];es.GetRoleCredentialsResponse$=[3,E,yt,0,[Lt],[[()=>es.RoleCredentials$,0]]];es.RoleCredentials$=[3,E,Ct,0,[Ft,Ht,Vt,Gt],[0,[()=>Jt,0],[()=>Wt,0],1]];es.GetRoleCredentials$=[9,E,qt,{[mt]:["GET","/federation/credentials",200]},()=>es.GetRoleCredentialsRequest$,()=>es.GetRoleCredentialsResponse$]});var Ss=S((_s)=>{Object.defineProperty(_s,"__esModule",{value:!0});_s.getRuntimeConfig=void 0;var sr=F(),tr=kt(),rr=ps(),or=G(),nr=Zt(),is=er(),ds=Kt(),ar=ee(),cr=Ve(),lr=de(),ur=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??is.fromBase64,base64Encoder:e?.base64Encoder??is.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??cr.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ar.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new sr.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new rr.NoAuthSigner}],logger:e?.logger??new or.NoOpLogger,protocol:e?.protocol??tr.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:lr.errorTypeRegistries,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??nr.parseUrl,utf8Decoder:e?.utf8Decoder??ds.fromUtf8,utf8Encoder:e?.utf8Encoder??ds.toUtf8}};_s.getRuntimeConfig=ur});var Ps=S((fs)=>{Object.defineProperty(fs,"__esModule",{value:!0});fs.getRuntimeConfig=void 0;var Or=pr(),Ir=Or.__importDefault(_r()),hr=Z(),fr=F(),Rs=Er(),B=Is(),qr=Sr(),xs=hs(),q=Rr(),vs=ir(),Os=G(),Pr=xr(),yr=vr(),gr=dr(),Cr=Ss(),wr=(e)=>{(0,Os.emitWarningIfUnsupportedVersion)(process.version);let s=(0,yr.resolveDefaultsModeConfig)(e),t=()=>s().then(Os.loadConfigsForDefaultMode),o=(0,Cr.getRuntimeConfig)(e);(0,hr.emitWarningIfUnsupportedVersion)(process.version);let r={profile:e?.profile,logger:o.logger};return{...o,...e,runtime:"node",defaultsMode:s,authSchemePreference:e?.authSchemePreference??(0,q.loadConfig)(fr.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,r),bodyLengthChecker:e?.bodyLengthChecker??Pr.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,Rs.createDefaultUserAgentProvider)({serviceId:o.serviceId,clientVersion:Ir.default.version}),maxAttempts:e?.maxAttempts??(0,q.loadConfig)(xs.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,q.loadConfig)(B.NODE_REGION_CONFIG_OPTIONS,{...B.NODE_REGION_CONFIG_FILE_OPTIONS,...r}),requestHandler:vs.NodeHttpHandler.create(e?.requestHandler??t),retryMode:e?.retryMode??(0,q.loadConfig)({...xs.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await t()).retryMode||gr.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??qr.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??vs.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,q.loadConfig)(B.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,r),useFipsEndpoint:e?.useFipsEndpoint??(0,q.loadConfig)(B.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,r),userAgentAppId:e?.userAgentAppId??(0,q.loadConfig)(Rs.NODE_APP_ID_CONFIG_OPTIONS,r)}};fs.getRuntimeConfig=wr});var $s=S((O)=>{var ys=Nr(),Gr=Dr(),mr=br(),gs=$r(),jr=Is(),pe=ps(),Lr=Xe(),Tr=Ar(),bs=Fr(),Cs=hs(),P=G(),ws=ee(),zr=Ps(),Ns=Ur(),Ds=Mr(),b=de(),Y=ie(),Hr=m(),Vr=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},Br={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Yr=(e)=>{let{httpAuthSchemes:s,httpAuthSchemeProvider:t,credentials:o}=e;return{setHttpAuthScheme(r){let n=s.findIndex((c)=>c.schemeId===r.schemeId);if(n===-1)s.push(r);else s.splice(n,1,r)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(r){t=r},httpAuthSchemeProvider(){return t},setCredentials(r){o=r},credentials(){return o}}},Qr=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},Jr=(e,s)=>{let t=Object.assign(Ns.getAwsRegionExtensionConfiguration(e),P.getDefaultExtensionConfiguration(e),Ds.getHttpHandlerExtensionConfiguration(e),Yr(e));return s.forEach((o)=>o.configure(t)),Object.assign(e,Ns.resolveAwsRegionExtensionConfiguration(t),P.resolveDefaultRuntimeConfig(t),Ds.resolveHttpHandlerRuntimeConfig(t),Qr(t))};class _e extends P.Client{config;constructor(...[e]){let s=zr.getRuntimeConfig(e||{});super(s);this.initConfig=s;let t=Vr(s),o=gs.resolveUserAgentConfig(t),r=Cs.resolveRetryConfig(o),n=jr.resolveRegionConfig(r),c=ys.resolveHostHeaderConfig(n),_=bs.resolveEndpointConfig(c),d=ws.resolveHttpAuthSchemeConfig(_),l=Jr(d,e?.extensions||[]);this.config=l,this.middlewareStack.use(Lr.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(gs.getUserAgentPlugin(this.config)),this.middlewareStack.use(Cs.getRetryPlugin(this.config)),this.middlewareStack.use(Tr.getContentLengthPlugin(this.config)),this.middlewareStack.use(ys.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Gr.getLoggerPlugin(this.config)),this.middlewareStack.use(mr.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(pe.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ws.defaultSSOHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(u)=>new pe.DefaultIdentityProviderConfig({"aws.auth#sigv4":u.credentials})})),this.middlewareStack.use(pe.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Ee extends P.Command.classBuilder().ep(Br).m(function(e,s,t,o){return[bs.getEndpointPlugin(t,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(b.GetRoleCredentials$).build(){}var Wr={GetRoleCredentialsCommand:Ee};class Se extends _e{}P.createAggregatedClient(Wr,Se);O.$Command=P.Command;O.__Client=P.Client;O.SSOServiceException=Hr.SSOServiceException;O.GetRoleCredentialsCommand=Ee;O.SSO=Se;O.SSOClient=_e;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=b[e]});Object.prototype.hasOwnProperty.call(Y,"__proto__")&&!Object.prototype.hasOwnProperty.call(O,"__proto__")&&Object.defineProperty(O,"__proto__",{enumerable:!0,value:Y.__proto__});Object.keys(Y).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(O,e))O[e]=Y[e]})});var Fs=S((to)=>{var As=$s();to.GetRoleCredentialsCommand=As.GetRoleCredentialsCommand;to.SSOClient=As.SSOClient});var R,Q,Us,ao,Gs=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),$=!1,Ms=async({ssoStartUrl:e,ssoSession:s,ssoAccountId:t,ssoRegion:o,ssoRoleName:r,ssoClient:n,clientConfig:c,parentClientConfig:_,callerClientConfig:d,profile:l,filepath:u,configFilepath:C,ignoreCache:x,logger:a})=>{let v,J="To refresh this SSO session run aws sso login with the corresponding profile.";if(s)try{let I=await ao.fromSso({profile:l,filepath:u,configFilepath:C,ignoreCache:x})();v={accessToken:I.token,expiresAt:new Date(I.expiration).toISOString()}}catch(I){throw new R.CredentialsProviderError(I.message,{tryNextLink:$,logger:a})}else try{v=await Q.getSSOTokenFromFile(e)}catch(I){throw new R.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a})}if(new Date(v.expiresAt).getTime()-Date.now()<=0)throw new R.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:$,logger:a});let{accessToken:Re}=v,{SSOClient:y,GetRoleCredentialsCommand:A}=await Promise.resolve().then(function(){return Fs()}),js=n||new y(Object.assign({},c??{},{logger:c?.logger??d?.logger??_?.logger,region:c?.region??o,userAgentAppId:c?.userAgentAppId??d?.userAgentAppId??_?.userAgentAppId})),xe;try{xe=await js.send(new A({accountId:t,roleName:r,accessToken:Re}))}catch(I){throw new R.CredentialsProviderError(I,{tryNextLink:$,logger:a})}let{roleCredentials:{accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:he,credentialScope:fe,accountId:qe}={}}=xe;if(!ve||!Oe||!Ie||!he)throw new R.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:$,logger:a});let W={accessKeyId:ve,secretAccessKey:Oe,sessionToken:Ie,expiration:new Date(he),...fe&&{credentialScope:fe},...qe&&{accountId:qe}};if(s)Us.setCredentialFeature(W,"CREDENTIALS_SSO","s");else Us.setCredentialFeature(W,"CREDENTIALS_SSO_LEGACY","u");return W},ms=(e,s)=>{let{sso_start_url:t,sso_account_id:o,sso_region:r,sso_role_name:n}=e;if(!t||!o||!r||!n)throw new R.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
|
|
2
|
-
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:s});return e},co=(e={})=>async({callerClientConfig:s}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:t,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoSession:c}=e,{ssoClient:_}=e,d=Q.getProfileName({profile:e.profile??s?.profile});if(!t&&!o&&!r&&!n&&!c){let u=(await Q.parseKnownFiles(e))[d];if(!u)throw new R.CredentialsProviderError(`Profile ${d} was not found.`,{logger:e.logger});if(!Gs(u))throw new R.CredentialsProviderError(`Profile ${d} is not configured with SSO credentials.`,{logger:e.logger});if(u?.sso_session){let y=(await Q.loadSsoSessionData(e))[u.sso_session],A=` configurations in profile ${d} and sso-session ${u.sso_session}`;if(r&&r!==y.sso_region)throw new R.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(t&&t!==y.sso_start_url)throw new R.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});u.sso_region=y.sso_region,u.sso_start_url=y.sso_start_url}let{sso_start_url:C,sso_account_id:x,sso_region:a,sso_role_name:v,sso_session:J}=ms(u,e.logger);return Ms({ssoStartUrl:C,ssoSession:J,ssoAccountId:x,ssoRegion:a,ssoRoleName:v,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!t||!o||!r||!n)throw new R.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return Ms({ssoStartUrl:t,ssoSession:c,ssoAccountId:o,ssoRegion:r,ssoRoleName:n,ssoClient:_,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})},lo,uo,io;var po=no(()=>{R=Ce(),Q=we(),Us=Z(),ao=De();lo=co,uo=Gs,io=ms});po();export{io as validateSsoProfile,uo as isSsoProfile,lo as fromSSO};export default {get validateSsoProfile(){return io},get isSsoProfile(){return uo},get fromSSO(){return lo}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{AX as b,BX as c,CX as d,DX as e,zX as a}from"./cli-1.1.27-7zpnm6dn.mjs";import"./cli-1.1.27-8vrv0ver.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
|