@claudiolabs/claudin 1.1.25 → 1.1.26
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.26-pww3rzse.mjs +1 -0
- package/dist/chunks/App-1.1.26-4vaezrz4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.26-rngrjmp0.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.26-n2977m3p.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.26-9y3h164v.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.26-qzf3wf2e.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.26-4rsh36df.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.26-g1kknwq5.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.26-4bt5rf4c.mjs +6 -0
- package/dist/chunks/Doctor-1.1.26-jnzpfe2z.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.26-h4ha2k3s.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.26-6vq713nq.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.26-5mpbyw8j.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.26-y240kr8g.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.26-bhdbn3pv.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.26-v8am83rd.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.26-22a8rbdy.mjs +1 -0
- package/dist/chunks/REPL-1.1.26-z72g0j0z.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.26-gh9s3rjn.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.26-r40qtar2.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.26-23se9f85.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.26-7r52d8rv.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.26-k6atzshz.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.26-ym3spr0b.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.26-c332beft.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.26-sqqx0vck.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.26-maqce1gv.mjs +1 -0
- package/dist/chunks/add-dir-1.1.26-qcws8kjg.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.26-fw01kwc9.mjs +1 -0
- package/dist/chunks/agents-1.1.26-dasaamxr.mjs +3 -0
- package/dist/chunks/agents-1.1.26-p33pq694.mjs +110 -0
- package/dist/chunks/api-1.1.26-msb1jnzq.mjs +1 -0
- package/dist/chunks/asciicast-1.1.26-vf9e0v5b.mjs +1 -0
- package/dist/chunks/assistant-1.1.26-h2aycjkn.mjs +1 -0
- package/dist/chunks/auth-1.1.26-dk7wnv7t.mjs +1 -0
- package/dist/chunks/auth-1.1.26-q8xgzm5r.mjs +1 -0
- package/dist/chunks/autoMode-1.1.26-zrzav382.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.26-x7k5ammk.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.26-6hmytwm6.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.26-09grqe05.mjs +1 -0
- package/dist/chunks/branch-1.1.26-e1qfc78k.mjs +4 -0
- package/dist/chunks/bridge-1.1.26-h1bxacst.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.26-vpz1r911.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.26-xkeegvk7.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.26-dnv31x02.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.26-d2zjebn5.mjs +1 -0
- package/dist/chunks/btw-1.1.26-9hcjg1vm.mjs +1 -0
- package/dist/chunks/buddy-1.1.26-20xpa564.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.26-p18jjck5.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.26-tndvbhbh.mjs +4 -0
- package/dist/chunks/caches-1.1.26-g9aneehb.mjs +1 -0
- package/dist/chunks/cd-1.1.26-1mhwbmvw.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.26-8970gddx.mjs +1 -0
- package/dist/chunks/claudemd-1.1.26-a0wvdz6h.mjs +1 -0
- package/dist/chunks/clear-1.1.26-8f7hbzks.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.26-yxrgchg6.mjs +1 -0
- package/dist/chunks/cli-1.1.26-01erqdx7.mjs +6 -0
- package/dist/chunks/cli-1.1.26-0qa3rcd8.mjs +6 -0
- package/dist/chunks/cli-1.1.26-132vkvj1.mjs +2 -0
- package/dist/chunks/cli-1.1.26-14kc3afb.mjs +3 -0
- package/dist/chunks/cli-1.1.26-14n169e4.mjs +2 -0
- package/dist/chunks/cli-1.1.26-16s9pjdh.mjs +2 -0
- package/dist/chunks/cli-1.1.26-1mbz2mcm.mjs +2 -0
- package/dist/chunks/cli-1.1.26-1v8jg7nn.mjs +2 -0
- package/dist/chunks/cli-1.1.26-1vdqjs9c.mjs +21 -0
- package/dist/chunks/cli-1.1.26-1ze7r6x4.mjs +24 -0
- package/dist/chunks/cli-1.1.26-28qe790b.mjs +2 -0
- package/dist/chunks/cli-1.1.26-2dzytde4.mjs +2 -0
- package/dist/chunks/cli-1.1.26-2fbt2m4z.mjs +4 -0
- package/dist/chunks/cli-1.1.26-2j0g9z56.mjs +2 -0
- package/dist/chunks/cli-1.1.26-2k53vhr6.mjs +2 -0
- package/dist/chunks/cli-1.1.26-2msjf68r.mjs +2 -0
- package/dist/chunks/cli-1.1.26-2s2gpj0g.mjs +2 -0
- package/dist/chunks/cli-1.1.26-31negda3.mjs +2 -0
- package/dist/chunks/cli-1.1.26-32vewh62.mjs +6 -0
- package/dist/chunks/cli-1.1.26-38m8cha0.mjs +2 -0
- package/dist/chunks/cli-1.1.26-3c44vscp.mjs +2 -0
- package/dist/chunks/cli-1.1.26-3gepexgn.mjs +66 -0
- package/dist/chunks/cli-1.1.26-3hemew00.mjs +3 -0
- package/dist/chunks/cli-1.1.26-3htpgh4y.mjs +2 -0
- package/dist/chunks/cli-1.1.26-3k8e9a3k.mjs +2 -0
- package/dist/chunks/cli-1.1.26-3p2ch222.mjs +2 -0
- package/dist/chunks/cli-1.1.26-3z39qjr1.mjs +24 -0
- package/dist/chunks/cli-1.1.26-4aztw2ex.mjs +2 -0
- package/dist/chunks/cli-1.1.26-4cj6rr02.mjs +2 -0
- package/dist/chunks/cli-1.1.26-4jbtcb3c.mjs +17 -0
- package/dist/chunks/cli-1.1.26-4jn0r6an.mjs +2 -0
- package/dist/chunks/cli-1.1.26-516p6zzp.mjs +2 -0
- package/dist/chunks/cli-1.1.26-55ayan24.mjs +133 -0
- package/dist/chunks/cli-1.1.26-5fv3wdye.mjs +2 -0
- package/dist/chunks/cli-1.1.26-5p6865dd.mjs +2 -0
- package/dist/chunks/cli-1.1.26-6ac72fwz.mjs +5 -0
- package/dist/chunks/cli-1.1.26-6c5rgjbj.mjs +2 -0
- package/dist/chunks/cli-1.1.26-6p5bpbzy.mjs +2 -0
- package/dist/chunks/cli-1.1.26-6qzbf8mr.mjs +3 -0
- package/dist/chunks/cli-1.1.26-6v5e8fy8.mjs +2 -0
- package/dist/chunks/cli-1.1.26-73s95190.mjs +4 -0
- package/dist/chunks/cli-1.1.26-79g0hfrb.mjs +4 -0
- package/dist/chunks/cli-1.1.26-79j24jxp.mjs +2 -0
- package/dist/chunks/cli-1.1.26-7h1213xq.mjs +1 -0
- package/dist/chunks/cli-1.1.26-7pa47kxq.mjs +2 -0
- package/dist/chunks/cli-1.1.26-7ssnr221.mjs +4 -0
- package/dist/chunks/cli-1.1.26-851khk0n.mjs +2 -0
- package/dist/chunks/cli-1.1.26-89reg5gc.mjs +2 -0
- package/dist/chunks/cli-1.1.26-8h5tr358.mjs +2 -0
- package/dist/chunks/cli-1.1.26-8vq4pfa8.mjs +2 -0
- package/dist/chunks/cli-1.1.26-8wng8tbf.mjs +2 -0
- package/dist/chunks/cli-1.1.26-945rz3ns.mjs +2 -0
- package/dist/chunks/cli-1.1.26-97w71raz.mjs +2 -0
- package/dist/chunks/cli-1.1.26-9kzdvxzw.mjs +2 -0
- package/dist/chunks/cli-1.1.26-9mg6k159.mjs +2 -0
- package/dist/chunks/cli-1.1.26-9x90xrtz.mjs +2 -0
- package/dist/chunks/cli-1.1.26-ab2xbv4t.mjs +2 -0
- package/dist/chunks/cli-1.1.26-abp7zq8a.mjs +7 -0
- package/dist/chunks/cli-1.1.26-agrrdhst.mjs +12 -0
- package/dist/chunks/cli-1.1.26-aj61ygn7.mjs +2 -0
- package/dist/chunks/cli-1.1.26-arx4za97.mjs +2 -0
- package/dist/chunks/cli-1.1.26-avyt487s.mjs +4 -0
- package/dist/chunks/cli-1.1.26-b3m57q7j.mjs +24 -0
- package/dist/chunks/cli-1.1.26-b5xvjyj6.mjs +2 -0
- package/dist/chunks/cli-1.1.26-bc7nnmyt.mjs +4 -0
- package/dist/chunks/cli-1.1.26-bmzjvqhh.mjs +2 -0
- package/dist/chunks/cli-1.1.26-bs6j2409.mjs +2 -0
- package/dist/chunks/cli-1.1.26-bv6bd469.mjs +2 -0
- package/dist/chunks/cli-1.1.26-c1s0antn.mjs +2 -0
- package/dist/chunks/cli-1.1.26-c9m56qw1.mjs +4 -0
- package/dist/chunks/cli-1.1.26-cdkkrgj3.mjs +6 -0
- package/dist/chunks/cli-1.1.26-chwpygff.mjs +2 -0
- package/dist/chunks/cli-1.1.26-cmeam5fv.mjs +4 -0
- package/dist/chunks/cli-1.1.26-crwbhf2k.mjs +2 -0
- package/dist/chunks/cli-1.1.26-d6m0sag3.mjs +2 -0
- package/dist/chunks/cli-1.1.26-dq31hqw9.mjs +2 -0
- package/dist/chunks/cli-1.1.26-dyyg0r9f.mjs +2 -0
- package/dist/chunks/cli-1.1.26-e807ek7h.mjs +3 -0
- package/dist/chunks/cli-1.1.26-e8stbnjk.mjs +2 -0
- package/dist/chunks/cli-1.1.26-eb90p21t.mjs +10 -0
- package/dist/chunks/cli-1.1.26-edg965cj.mjs +2 -0
- package/dist/chunks/cli-1.1.26-etwfcg1g.mjs +2 -0
- package/dist/chunks/cli-1.1.26-exd0gw3b.mjs +3 -0
- package/dist/chunks/cli-1.1.26-f0cvk9rp.mjs +3 -0
- package/dist/chunks/cli-1.1.26-f624n21e.mjs +2 -0
- package/dist/chunks/cli-1.1.26-fcnssbje.mjs +2 -0
- package/dist/chunks/cli-1.1.26-ft1bty40.mjs +45 -0
- package/dist/chunks/cli-1.1.26-g0jbhnrw.mjs +3 -0
- package/dist/chunks/cli-1.1.26-g1a27741.mjs +3 -0
- package/dist/chunks/cli-1.1.26-g3eqp15d.mjs +2 -0
- package/dist/chunks/cli-1.1.26-g54bqv9d.mjs +2 -0
- package/dist/chunks/cli-1.1.26-g825efx8.mjs +3 -0
- package/dist/chunks/cli-1.1.26-grerq74y.mjs +4 -0
- package/dist/chunks/cli-1.1.26-gt65gs27.mjs +2 -0
- package/dist/chunks/cli-1.1.26-h2bzv8a9.mjs +2 -0
- package/dist/chunks/cli-1.1.26-h8pwf3e5.mjs +34 -0
- package/dist/chunks/cli-1.1.26-hc0z3th3.mjs +2 -0
- package/dist/chunks/cli-1.1.26-hgr89jmg.mjs +2 -0
- package/dist/chunks/cli-1.1.26-hk66nk4j.mjs +2 -0
- package/dist/chunks/cli-1.1.26-hkn2maax.mjs +12 -0
- package/dist/chunks/cli-1.1.26-hwb66n0d.mjs +20 -0
- package/dist/chunks/cli-1.1.26-hxty6b5t.mjs +24 -0
- package/dist/chunks/cli-1.1.26-j0ggtb42.mjs +2 -0
- package/dist/chunks/cli-1.1.26-j0pfn318.mjs +2 -0
- package/dist/chunks/cli-1.1.26-j3g54xq9.mjs +25 -0
- package/dist/chunks/cli-1.1.26-j522h2zj.mjs +2 -0
- package/dist/chunks/cli-1.1.26-j5jzf8nr.mjs +2 -0
- package/dist/chunks/cli-1.1.26-jaq75h39.mjs +2 -0
- package/dist/chunks/cli-1.1.26-jcshhf4v.mjs +2 -0
- package/dist/chunks/cli-1.1.26-jp74zrnt.mjs +2 -0
- package/dist/chunks/cli-1.1.26-jstehae2.mjs +25 -0
- package/dist/chunks/cli-1.1.26-jv1escq9.mjs +9 -0
- package/dist/chunks/cli-1.1.26-jz95bmqy.mjs +2 -0
- package/dist/chunks/cli-1.1.26-k287xjcs.mjs +2 -0
- package/dist/chunks/cli-1.1.26-k827q3s7.mjs +2 -0
- package/dist/chunks/cli-1.1.26-kb5qx4tp.mjs +15 -0
- package/dist/chunks/cli-1.1.26-kk4ymgvj.mjs +2 -0
- package/dist/chunks/cli-1.1.26-kmpjjneg.mjs +50 -0
- package/dist/chunks/cli-1.1.26-krj2sk8f.mjs +2 -0
- package/dist/chunks/cli-1.1.26-ktfnpsqn.mjs +2 -0
- package/dist/chunks/cli-1.1.26-kvt0v6vq.mjs +5459 -0
- package/dist/chunks/cli-1.1.26-kvy3vgrt.mjs +20 -0
- package/dist/chunks/cli-1.1.26-kz0et72d.mjs +2 -0
- package/dist/chunks/cli-1.1.26-m2ajjr1n.mjs +2 -0
- package/dist/chunks/cli-1.1.26-m3gpc1yq.mjs +6 -0
- package/dist/chunks/cli-1.1.26-m8mebydd.mjs +3 -0
- package/dist/chunks/cli-1.1.26-mb749hsh.mjs +2 -0
- package/dist/chunks/cli-1.1.26-mdtsa5pq.mjs +2 -0
- package/dist/chunks/cli-1.1.26-mvjefec1.mjs +206 -0
- package/dist/chunks/cli-1.1.26-n0thzakv.mjs +2 -0
- package/dist/chunks/cli-1.1.26-n43rh2dq.mjs +2 -0
- package/dist/chunks/cli-1.1.26-nbkw9wa7.mjs +2 -0
- package/dist/chunks/cli-1.1.26-nkp41vem.mjs +2 -0
- package/dist/chunks/cli-1.1.26-np0se5jr.mjs +2 -0
- package/dist/chunks/cli-1.1.26-nr4x1ay3.mjs +6 -0
- package/dist/chunks/cli-1.1.26-nv2mgz6h.mjs +60 -0
- package/dist/chunks/cli-1.1.26-p2gpyynf.mjs +2 -0
- package/dist/chunks/cli-1.1.26-pdpvbn6t.mjs +2 -0
- package/dist/chunks/cli-1.1.26-pejnbqtd.mjs +2 -0
- package/dist/chunks/cli-1.1.26-pf85an2q.mjs +2 -0
- package/dist/chunks/cli-1.1.26-phdsw9kw.mjs +2 -0
- package/dist/chunks/cli-1.1.26-pp0zr4bw.mjs +39 -0
- package/dist/chunks/cli-1.1.26-pttfqxxh.mjs +2 -0
- package/dist/chunks/cli-1.1.26-pttr45sa.mjs +2 -0
- package/dist/chunks/cli-1.1.26-pzpydjmr.mjs +2 -0
- package/dist/chunks/cli-1.1.26-q4vaz10d.mjs +2 -0
- package/dist/chunks/cli-1.1.26-q77fmxtz.mjs +2 -0
- package/dist/chunks/cli-1.1.26-q9msymy9.mjs +7 -0
- package/dist/chunks/cli-1.1.26-qf02kggq.mjs +2 -0
- package/dist/chunks/cli-1.1.26-qr2ee3t2.mjs +2 -0
- package/dist/chunks/cli-1.1.26-qw49rw3y.mjs +17 -0
- package/dist/chunks/cli-1.1.26-qymrzn5k.mjs +2 -0
- package/dist/chunks/cli-1.1.26-r4ewzysx.mjs +3 -0
- package/dist/chunks/cli-1.1.26-rbxsj403.mjs +8 -0
- package/dist/chunks/cli-1.1.26-rgz7nebj.mjs +2 -0
- package/dist/chunks/cli-1.1.26-rkdk0vdh.mjs +2 -0
- package/dist/chunks/cli-1.1.26-rpd6k1rg.mjs +2 -0
- package/dist/chunks/cli-1.1.26-rr47cs5n.mjs +2 -0
- package/dist/chunks/cli-1.1.26-rrq5hxxh.mjs +9 -0
- package/dist/chunks/cli-1.1.26-rtk9fw0k.mjs +2 -0
- package/dist/chunks/cli-1.1.26-rzrs3g9w.mjs +2 -0
- package/dist/chunks/cli-1.1.26-sfz2mk5a.mjs +15 -0
- package/dist/chunks/cli-1.1.26-snnmp5qx.mjs +2 -0
- package/dist/chunks/cli-1.1.26-ssxrwqk2.mjs +2 -0
- package/dist/chunks/cli-1.1.26-swdk2n55.mjs +2 -0
- package/dist/chunks/cli-1.1.26-sx40y42s.mjs +2 -0
- package/dist/chunks/cli-1.1.26-syjzv1v1.mjs +18 -0
- package/dist/chunks/cli-1.1.26-t05x8de5.mjs +2 -0
- package/dist/chunks/cli-1.1.26-ta82bxzt.mjs +3 -0
- package/dist/chunks/cli-1.1.26-tcbtd5f6.mjs +2 -0
- package/dist/chunks/cli-1.1.26-tgtv1jp3.mjs +16 -0
- package/dist/chunks/cli-1.1.26-thxyzhdj.mjs +42 -0
- package/dist/chunks/cli-1.1.26-txmxmpj4.mjs +2 -0
- package/dist/chunks/cli-1.1.26-tyvfnyw1.mjs +2 -0
- package/dist/chunks/cli-1.1.26-v0vv0v6c.mjs +58 -0
- package/dist/chunks/cli-1.1.26-v440gznh.mjs +3 -0
- package/dist/chunks/cli-1.1.26-v6fnwae1.mjs +2 -0
- package/dist/chunks/cli-1.1.26-v7k7gw6h.mjs +2 -0
- package/dist/chunks/cli-1.1.26-vb3pa5k9.mjs +2 -0
- package/dist/chunks/cli-1.1.26-vne421we.mjs +133 -0
- package/dist/chunks/cli-1.1.26-vpdrb404.mjs +2 -0
- package/dist/chunks/cli-1.1.26-vxzeagvf.mjs +2 -0
- package/dist/chunks/cli-1.1.26-vypd5zf6.mjs +5 -0
- package/dist/chunks/cli-1.1.26-w94mate8.mjs +2 -0
- package/dist/chunks/cli-1.1.26-w9hym0b4.mjs +2 -0
- package/dist/chunks/cli-1.1.26-wy5w6zkt.mjs +2 -0
- package/dist/chunks/cli-1.1.26-x64s4kth.mjs +2 -0
- package/dist/chunks/cli-1.1.26-x82tpywr.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xdcmgkcr.mjs +15 -0
- package/dist/chunks/cli-1.1.26-xkj6kd3c.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xnqas0g4.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xrb5tnj3.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xrqbcbv5.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xspr3ymb.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xwryqq86.mjs +2 -0
- package/dist/chunks/cli-1.1.26-xzbv3dzb.mjs +2 -0
- package/dist/chunks/cli-1.1.26-y82xxzhw.mjs +2 -0
- package/dist/chunks/cli-1.1.26-yz9ks5m0.mjs +2 -0
- package/dist/chunks/cli-1.1.26-z2cjynpf.mjs +2 -0
- package/dist/chunks/cli-1.1.26-z5qgpexv.mjs +3 -0
- package/dist/chunks/cli-1.1.26-zb5hq3ry.mjs +2 -0
- package/dist/chunks/cli-1.1.26-zsf06fnj.mjs +2 -0
- package/dist/chunks/cli-1.1.26-zy2fcj67.mjs +2 -0
- package/dist/chunks/cli-1.1.26-zyt75y9a.mjs +2 -0
- package/dist/chunks/client-1.1.26-5m13dtqt.mjs +1 -0
- package/dist/chunks/color-1.1.26-hc4gee57.mjs +1 -0
- package/dist/chunks/compact-1.1.26-k29q801r.mjs +3 -0
- package/dist/chunks/config-1.1.26-20jye461.mjs +1 -0
- package/dist/chunks/config-1.1.26-f3tsx9mm.mjs +1 -0
- package/dist/chunks/constants-1.1.26-vyt7y0vq.mjs +1 -0
- package/dist/chunks/context-1.1.26-xg3zeq1z.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.26-n05p37yd.mjs +1 -0
- package/dist/chunks/conversation-1.1.26-g9vfc7p7.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.26-gr7hc6j5.mjs +1 -0
- package/dist/chunks/copy-1.1.26-t50s90xg.mjs +9 -0
- package/dist/chunks/cost-1.1.26-9hp3110j.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.26-hpzpfpqk.mjs +1 -0
- package/dist/chunks/createSession-1.1.26-4mxab0d8.mjs +1 -0
- package/dist/chunks/debug-1.1.26-m7p7fchf.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.26-0fr1vrkt.mjs +1534 -0
- package/dist/chunks/desktop-1.1.26-1qjp6a2c.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.26-pmahtt3f.mjs +1 -0
- package/dist/chunks/detection-1.1.26-1wrkcwrj.mjs +1 -0
- package/dist/chunks/diff-1.1.26-c4nqg8fb.mjs +1 -0
- package/dist/chunks/doctor-1.1.26-0jtnwy0r.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.26-x38xj5dq.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.26-gp0650zq.mjs +1 -0
- package/dist/chunks/effort-1.1.26-8w1e6q0y.mjs +13 -0
- package/dist/chunks/engine-1.1.26-jt09gh12.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.26-p0x7avh5.mjs +1 -0
- package/dist/chunks/envUtils-1.1.26-p89sr6v4.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.26-d8vnmed1.mjs +1 -0
- package/dist/chunks/environments-1.1.26-fz5c214j.mjs +1 -0
- package/dist/chunks/errors-1.1.26-6bzb64g6.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.26-s4bn18p7.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.26-xh0x0cbp.mjs +1 -0
- package/dist/chunks/exit-1.1.26-55716s6k.mjs +1 -0
- package/dist/chunks/explorer-1.1.26-969pqrwa.mjs +1 -0
- package/dist/chunks/export-1.1.26-mgccr0ea.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.26-sbe56spy.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.26-h08e3n8t.mjs +1 -0
- package/dist/chunks/fast-1.1.26-rbaqsfka.mjs +1 -0
- package/dist/chunks/feedback-1.1.26-2m81mwds.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.26-ckqh8nb4.mjs +1 -0
- package/dist/chunks/git-1.1.26-0he7ww02.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.26-xj1mdstq.mjs +1 -0
- package/dist/chunks/goal-1.1.26-n5s850gv.mjs +4 -0
- package/dist/chunks/growthbook-1.1.26-ka05jsbm.mjs +1 -0
- package/dist/chunks/headless-1.1.26-q9en6pe9.mjs +2 -0
- package/dist/chunks/heapdump-1.1.26-7ewvqmvf.mjs +6 -0
- package/dist/chunks/help-1.1.26-brf53t1m.mjs +1 -0
- package/dist/chunks/hookChains-1.1.26-rkf6y8rc.mjs +3 -0
- package/dist/chunks/hooks-1.1.26-9pdav42n.mjs +1 -0
- package/dist/chunks/hooks-1.1.26-szkj02ez.mjs +79 -0
- package/dist/chunks/ide-1.1.26-m5p57hjq.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.26-rekvc35q.mjs +1 -0
- package/dist/chunks/import-1.1.26-7gbx5jy9.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.26-tzg5nege.mjs +1 -0
- package/dist/chunks/index-1.1.26-1xcc10z3.mjs +1 -0
- package/dist/chunks/index-1.1.26-46seym0e.mjs +1 -0
- package/dist/chunks/index-1.1.26-4qsakkwp.mjs +1 -0
- package/dist/chunks/index-1.1.26-62wb3t76.mjs +5 -0
- package/dist/chunks/index-1.1.26-7dq7zd2s.mjs +2 -0
- package/dist/chunks/index-1.1.26-924a690m.mjs +1 -0
- package/dist/chunks/index-1.1.26-9hqzzjph.mjs +1 -0
- package/dist/chunks/index-1.1.26-bmzaqft1.mjs +1 -0
- package/dist/chunks/index-1.1.26-cpb34jqj.mjs +9 -0
- package/dist/chunks/index-1.1.26-cpx6j4xt.mjs +1 -0
- package/dist/chunks/index-1.1.26-gyna59qe.mjs +1 -0
- package/dist/chunks/index-1.1.26-h45zww68.mjs +30 -0
- package/dist/chunks/index-1.1.26-matsx1ed.mjs +1 -0
- package/dist/chunks/index-1.1.26-pm334xks.mjs +1 -0
- package/dist/chunks/index-1.1.26-qrbfj1zz.mjs +1 -0
- package/dist/chunks/index-1.1.26-sh5v696c.mjs +1 -0
- package/dist/chunks/index-1.1.26-srjepzh3.mjs +2 -0
- package/dist/chunks/index-1.1.26-syyhrh9b.mjs +23 -0
- package/dist/chunks/index-1.1.26-te4885d9.mjs +1 -0
- package/dist/chunks/index-1.1.26-tyjd8na6.mjs +1 -0
- package/dist/chunks/index-1.1.26-vk1z10tp.mjs +1 -0
- package/dist/chunks/index-1.1.26-vpyv4546.mjs +9 -0
- package/dist/chunks/index-1.1.26-xc6bagza.mjs +1 -0
- package/dist/chunks/init-1.1.26-bnpznn1w.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.26-c4s4p9cb.mjs +1 -0
- package/dist/chunks/ink-1.1.26-vgbt5egw.mjs +1 -0
- package/dist/chunks/insights-1.1.26-vcx1pevy.mjs +870 -0
- package/dist/chunks/install-1.1.26-4y132asw.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.26-93zf234q.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.26-mhrfx4re.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.26-c4qjkj2f.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.26-d3arqch8.mjs +1 -0
- package/dist/chunks/keybindings-1.1.26-vn76vb0k.mjs +2 -0
- package/dist/chunks/knowledge-1.1.26-tqdt6kx8.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.26-nefaqy0s.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.26-w9zj8h13.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.26-p32pd0zg.mjs +1 -0
- package/dist/chunks/log-1.1.26-esy3mc70.mjs +1 -0
- package/dist/chunks/main-1.1.26-mj3gcxpm.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.26-z6q7c9s8.mjs +1 -0
- package/dist/chunks/mcp-1.1.26-4c7syme5.mjs +17 -0
- package/dist/chunks/mcp-1.1.26-fhs36m57.mjs +1 -0
- package/dist/chunks/mcp-1.1.26-nadsprjm.mjs +4 -0
- package/dist/chunks/mcpb-1.1.26-ek6r8msb.mjs +1 -0
- package/dist/chunks/memory-1.1.26-b3m4e86v.mjs +72 -0
- package/dist/chunks/model-1.1.26-fhssfrx1.mjs +1 -0
- package/dist/chunks/model-1.1.26-v4t85ag1.mjs +2 -0
- package/dist/chunks/node-1.1.26-y7ck63cv.mjs +15 -0
- package/dist/chunks/oauth-1.1.26-8bftajjg.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.26-wvmheb4c.mjs +14 -0
- package/dist/chunks/output-style-1.1.26-rgrmrr2a.mjs +1 -0
- package/dist/chunks/package-SHMK2LJE-1.1.26-grxx0tgk.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.26-64n8w8aa.mjs +1 -0
- package/dist/chunks/parser-1.1.26-p8fcgcbm.mjs +1 -0
- package/dist/chunks/passes-1.1.26-65c9vjm7.mjs +1 -0
- package/dist/chunks/permissions-1.1.26-bvde1j7e.mjs +1 -0
- package/dist/chunks/permissions-1.1.26-xx4tbm19.mjs +3 -0
- package/dist/chunks/plan-1.1.26-0p7zmpya.mjs +1 -0
- package/dist/chunks/plist-1.1.26-emtpv6yq.mjs +1 -0
- package/dist/chunks/plugin-1.1.26-6mz4s6ce.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.26-zsxa12d4.mjs +1 -0
- package/dist/chunks/plugins-1.1.26-z4gc0hj4.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.26-zja64r0y.mjs +2 -0
- package/dist/chunks/print-1.1.26-4jbs3r8a.mjs +57 -0
- package/dist/chunks/process-1.1.26-nkvbv24g.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.26-881sdvc5.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.26-watbp07x.mjs +9 -0
- package/dist/chunks/prompt-1.1.26-734yg5r7.mjs +1 -0
- package/dist/chunks/prompt-1.1.26-ta9d8xgm.mjs +1 -0
- package/dist/chunks/prompts-1.1.26-cacdrcnk.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.26-qfw93skn.mjs +13 -0
- package/dist/chunks/provider-1.1.26-yk3xh49r.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.26-srvwhkc8.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.26-57a6s8yj.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.26-14exf6fk.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.26-1yddk8hw.mjs +26 -0
- package/dist/chunks/registry-1.1.26-z88679pc.mjs +1 -0
- package/dist/chunks/release-notes-1.1.26-e7dkgbnp.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.26-6r85z0m0.mjs +2 -0
- package/dist/chunks/remote-env-1.1.26-rg1652ey.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.26-jmhet39g.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.26-5rva0545.mjs +1 -0
- package/dist/chunks/rename-1.1.26-vp06xehr.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.26-cs214vs7.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.26-j0wpsd4v.mjs +1 -0
- package/dist/chunks/resume-1.1.26-agfxxd17.mjs +2 -0
- package/dist/chunks/rewind-1.1.26-dr3rgj2z.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.26-nc1jrtkg.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.26-4xq2d4x0.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.26-v5bmtrnt.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.26-5pxvxje1.mjs +1 -0
- package/dist/chunks/session-1.1.26-7ejzc2bx.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.26-n6vex16t.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.26-q07mz5fe.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.26-3x2gtfk1.mjs +1 -0
- package/dist/chunks/settings-1.1.26-5hc0bpnb.mjs +1 -0
- package/dist/chunks/setup-1.1.26-2qatx87q.mjs +12 -0
- package/dist/chunks/sinks-1.1.26-0d001pg9.mjs +1 -0
- package/dist/chunks/skills-1.1.26-5q1xvy1e.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.26-76scq5n6.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.26-jw39czgq.mjs +1 -0
- package/dist/chunks/state-1.1.26-zh2a5cb0.mjs +1 -0
- package/dist/chunks/stats-1.1.26-3yvhzgsr.mjs +1 -0
- package/dist/chunks/status-1.1.26-ey3zzjzf.mjs +1 -0
- package/dist/chunks/stickers-1.1.26-pnx0arwe.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.26-93d936pm.mjs +1 -0
- package/dist/chunks/tasks-1.1.26-05xaegas.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.26-zn888hhw.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.26-bhkgw59h.mjs +1 -0
- package/dist/chunks/teleport-1.1.26-9m3eaa2j.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.26-p0bvd0b7.mjs +1 -0
- package/dist/chunks/theme-1.1.26-ys6mqfn7.mjs +1 -0
- package/dist/chunks/thinkback-1.1.26-v4qbcex4.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.26-6gg066vk.mjs +1 -0
- package/dist/chunks/toolPool-1.1.26-g4p6wj1v.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.26-0whd6fnj.mjs +1 -0
- package/dist/chunks/tools-1.1.26-m8c4e11h.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.26-w86xceqp.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.26-kk4sc8q3.mjs +69 -0
- package/dist/chunks/types-1.1.26-myrve966.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.26-fyxh8eqb.mjs +4 -0
- package/dist/chunks/update-1.1.26-96yjt7je.mjs +72 -0
- package/dist/chunks/upgrade-1.1.26-x2geqcxm.mjs +1 -0
- package/dist/chunks/upload-1.1.26-vpwb30tf.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.26-xe96amnx.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.26-2v7h396d.mjs +1 -0
- package/dist/chunks/usage-1.1.26-pbyahcbc.mjs +1 -0
- package/dist/chunks/util-1.1.26-f55brgp6.mjs +1 -0
- package/dist/chunks/utils-1.1.26-ntj5p9c6.mjs +1 -0
- package/dist/chunks/vim-1.1.26-n3dckyqd.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.26-shv6pr8d.mjs +13 -0
- package/dist/chunks/watcher-1.1.26-bdahcrvk.mjs +1 -0
- package/dist/chunks/wiki-1.1.26-9q9evb0p.mjs +132 -0
- package/dist/chunks/workflows-1.1.26-pv1pmcm0.mjs +1 -0
- package/dist/chunks/worktree-1.1.26-k3z8qg36.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.26-c966pdm7.mjs +1 -0
- package/dist/chunks/wrapper-1.1.26-smg8ftbk.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.25-wemjscyz.mjs +0 -1
- package/dist/chunks/App-1.1.25-k5h3kma3.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.25-z8vqxm93.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.25-qmr6qf3r.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.25-78m4mvsv.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.25-htk8qebw.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.25-8evt7epy.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.25-3nbcvm6d.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.25-7n5581yw.mjs +0 -6
- package/dist/chunks/Doctor-1.1.25-zvcm13vd.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.25-jazr0v5h.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.25-tb139x32.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.25-h27j1v12.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.25-7gxkqb1q.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.25-21kzry6a.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.25-z4ps8td0.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.25-dekvcwna.mjs +0 -1
- package/dist/chunks/REPL-1.1.25-x77jymbq.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.25-z1n7c0cp.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.25-ye8czpf8.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.25-qy9dcwtf.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.25-se513tcw.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.25-shafx13k.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.25-q9jqjghn.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.25-c9b16qp6.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.25-4x0h3a7n.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.25-9z82gazg.mjs +0 -1
- package/dist/chunks/add-dir-1.1.25-3eark7aj.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.25-88qbcwen.mjs +0 -1
- package/dist/chunks/agents-1.1.25-58s95cy7.mjs +0 -110
- package/dist/chunks/agents-1.1.25-rprb9rf9.mjs +0 -3
- package/dist/chunks/api-1.1.25-ceedtxx2.mjs +0 -1
- package/dist/chunks/asciicast-1.1.25-dtyww79s.mjs +0 -1
- package/dist/chunks/assistant-1.1.25-12s5z3q2.mjs +0 -1
- package/dist/chunks/auth-1.1.25-cd9y34xe.mjs +0 -1
- package/dist/chunks/auth-1.1.25-gphkwwnp.mjs +0 -1
- package/dist/chunks/autoMode-1.1.25-zdd4g2rn.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.25-17zj185q.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.25-tb3pf0cw.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.25-mtctkars.mjs +0 -1
- package/dist/chunks/branch-1.1.25-ytfahhwq.mjs +0 -4
- package/dist/chunks/bridge-1.1.25-kkjx4g4j.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.25-9h63taqc.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.25-yq7hv80q.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.25-rmcdgp77.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.25-x3jjj2ek.mjs +0 -1
- package/dist/chunks/btw-1.1.25-xdh8rhdz.mjs +0 -1
- package/dist/chunks/buddy-1.1.25-aj90p6ww.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.25-4wztx76s.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.25-9bd12my6.mjs +0 -4
- package/dist/chunks/caches-1.1.25-2ewrwm5x.mjs +0 -1
- package/dist/chunks/cd-1.1.25-9yhaw8rp.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.25-bw8arps4.mjs +0 -1
- package/dist/chunks/claudemd-1.1.25-f621m88g.mjs +0 -1
- package/dist/chunks/clear-1.1.25-jk3ztva0.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.25-7jtejen6.mjs +0 -1
- package/dist/chunks/cli-1.1.25-0m4pyzaf.mjs +0 -2
- package/dist/chunks/cli-1.1.25-0q6rqkec.mjs +0 -58
- package/dist/chunks/cli-1.1.25-12b1rzfj.mjs +0 -2
- package/dist/chunks/cli-1.1.25-14jerc0x.mjs +0 -2
- package/dist/chunks/cli-1.1.25-1c4t0f2p.mjs +0 -2
- package/dist/chunks/cli-1.1.25-1c633j9v.mjs +0 -2
- package/dist/chunks/cli-1.1.25-1gz0w81n.mjs +0 -2
- package/dist/chunks/cli-1.1.25-1hx796kk.mjs +0 -2
- package/dist/chunks/cli-1.1.25-1s7ketx0.mjs +0 -2
- package/dist/chunks/cli-1.1.25-1sf51thg.mjs +0 -3
- package/dist/chunks/cli-1.1.25-221zdn3h.mjs +0 -4
- package/dist/chunks/cli-1.1.25-24f6az0s.mjs +0 -2
- package/dist/chunks/cli-1.1.25-2gjxmbsj.mjs +0 -2
- package/dist/chunks/cli-1.1.25-2gtabky3.mjs +0 -60
- package/dist/chunks/cli-1.1.25-2wd0qj2d.mjs +0 -2
- package/dist/chunks/cli-1.1.25-2we0778z.mjs +0 -2
- package/dist/chunks/cli-1.1.25-2zepg15b.mjs +0 -2
- package/dist/chunks/cli-1.1.25-32br2csx.mjs +0 -2
- package/dist/chunks/cli-1.1.25-32qfxqyg.mjs +0 -2
- package/dist/chunks/cli-1.1.25-348yqf3d.mjs +0 -2
- package/dist/chunks/cli-1.1.25-37rs38eq.mjs +0 -2
- package/dist/chunks/cli-1.1.25-3dd0c7xd.mjs +0 -4
- package/dist/chunks/cli-1.1.25-3ev2q4bm.mjs +0 -4
- package/dist/chunks/cli-1.1.25-3hnrfkxc.mjs +0 -2
- package/dist/chunks/cli-1.1.25-3nhwpx0q.mjs +0 -3
- package/dist/chunks/cli-1.1.25-3nm4kgwz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-3qj0n5y0.mjs +0 -21
- package/dist/chunks/cli-1.1.25-3tnd3xyt.mjs +0 -3
- package/dist/chunks/cli-1.1.25-3v5624jg.mjs +0 -2
- package/dist/chunks/cli-1.1.25-3vtsr7s2.mjs +0 -2
- package/dist/chunks/cli-1.1.25-45mx738r.mjs +0 -3
- package/dist/chunks/cli-1.1.25-4cgvw7e3.mjs +0 -2
- package/dist/chunks/cli-1.1.25-4d1zk1ar.mjs +0 -12
- package/dist/chunks/cli-1.1.25-4h4yaa4x.mjs +0 -2
- package/dist/chunks/cli-1.1.25-4yjtqfa0.mjs +0 -2
- package/dist/chunks/cli-1.1.25-54q2vnck.mjs +0 -2
- package/dist/chunks/cli-1.1.25-5f8d8bx1.mjs +0 -2
- package/dist/chunks/cli-1.1.25-5g78avtr.mjs +0 -2
- package/dist/chunks/cli-1.1.25-5n21xpvc.mjs +0 -16
- package/dist/chunks/cli-1.1.25-5qknjpxc.mjs +0 -2
- package/dist/chunks/cli-1.1.25-5r495hn7.mjs +0 -4
- package/dist/chunks/cli-1.1.25-5s22yhkx.mjs +0 -3
- package/dist/chunks/cli-1.1.25-5s65r14h.mjs +0 -2
- package/dist/chunks/cli-1.1.25-5ye3ascx.mjs +0 -2
- package/dist/chunks/cli-1.1.25-639mzh6g.mjs +0 -2
- package/dist/chunks/cli-1.1.25-63kkff0g.mjs +0 -2
- package/dist/chunks/cli-1.1.25-683ggh08.mjs +0 -2
- package/dist/chunks/cli-1.1.25-687hxtdb.mjs +0 -1
- package/dist/chunks/cli-1.1.25-69shxnnp.mjs +0 -2
- package/dist/chunks/cli-1.1.25-6bb29bw7.mjs +0 -2
- package/dist/chunks/cli-1.1.25-6panntay.mjs +0 -17
- package/dist/chunks/cli-1.1.25-6pthkv1w.mjs +0 -4
- package/dist/chunks/cli-1.1.25-6r6r7rep.mjs +0 -4
- package/dist/chunks/cli-1.1.25-6t9phfap.mjs +0 -2
- package/dist/chunks/cli-1.1.25-6vwz5vma.mjs +0 -2
- package/dist/chunks/cli-1.1.25-6wcggeyr.mjs +0 -25
- package/dist/chunks/cli-1.1.25-6wjrv08c.mjs +0 -6
- package/dist/chunks/cli-1.1.25-746dypse.mjs +0 -2
- package/dist/chunks/cli-1.1.25-74ys7518.mjs +0 -42
- package/dist/chunks/cli-1.1.25-7d3fdbq5.mjs +0 -17
- package/dist/chunks/cli-1.1.25-7d7cptk6.mjs +0 -10
- package/dist/chunks/cli-1.1.25-7qert3s4.mjs +0 -2
- package/dist/chunks/cli-1.1.25-7qxwpfwh.mjs +0 -2
- package/dist/chunks/cli-1.1.25-7wsdhgky.mjs +0 -2
- package/dist/chunks/cli-1.1.25-82ht7pxh.mjs +0 -2
- package/dist/chunks/cli-1.1.25-8byrahks.mjs +0 -2
- package/dist/chunks/cli-1.1.25-8eznzbsa.mjs +0 -5
- package/dist/chunks/cli-1.1.25-8hv1dfrb.mjs +0 -2
- package/dist/chunks/cli-1.1.25-8k2bszzr.mjs +0 -2
- package/dist/chunks/cli-1.1.25-8v1gw0tw.mjs +0 -9
- package/dist/chunks/cli-1.1.25-8vqmp6g5.mjs +0 -20
- package/dist/chunks/cli-1.1.25-9f27xm90.mjs +0 -25
- package/dist/chunks/cli-1.1.25-9grz07r4.mjs +0 -34
- package/dist/chunks/cli-1.1.25-9m237kwt.mjs +0 -2
- package/dist/chunks/cli-1.1.25-9xqq9dsw.mjs +0 -3
- package/dist/chunks/cli-1.1.25-9yhnadye.mjs +0 -24
- package/dist/chunks/cli-1.1.25-9z7tyxc4.mjs +0 -2
- package/dist/chunks/cli-1.1.25-a0zejb5c.mjs +0 -2
- package/dist/chunks/cli-1.1.25-am98khq7.mjs +0 -2
- package/dist/chunks/cli-1.1.25-anhj1nnt.mjs +0 -2
- package/dist/chunks/cli-1.1.25-anvsm1cs.mjs +0 -2
- package/dist/chunks/cli-1.1.25-b1hj5x42.mjs +0 -2
- package/dist/chunks/cli-1.1.25-ba3yrxg9.mjs +0 -2
- package/dist/chunks/cli-1.1.25-bmjvmtgk.mjs +0 -2
- package/dist/chunks/cli-1.1.25-bvg3kwg7.mjs +0 -4
- package/dist/chunks/cli-1.1.25-cc10r97z.mjs +0 -2
- package/dist/chunks/cli-1.1.25-cmsea0j8.mjs +0 -15
- package/dist/chunks/cli-1.1.25-csgmna38.mjs +0 -2
- package/dist/chunks/cli-1.1.25-d029ezbm.mjs +0 -2
- package/dist/chunks/cli-1.1.25-d15hk64v.mjs +0 -2
- package/dist/chunks/cli-1.1.25-d6ybhba5.mjs +0 -2
- package/dist/chunks/cli-1.1.25-dc92c5gy.mjs +0 -2
- package/dist/chunks/cli-1.1.25-df9x7s0j.mjs +0 -2
- package/dist/chunks/cli-1.1.25-dn7m24cg.mjs +0 -2
- package/dist/chunks/cli-1.1.25-drtfsgw8.mjs +0 -3
- package/dist/chunks/cli-1.1.25-dw0mshd5.mjs +0 -2
- package/dist/chunks/cli-1.1.25-e2ng6vcx.mjs +0 -2
- package/dist/chunks/cli-1.1.25-ed14rf9g.mjs +0 -2
- package/dist/chunks/cli-1.1.25-eqtpax1f.mjs +0 -6
- package/dist/chunks/cli-1.1.25-etb23y0w.mjs +0 -4
- package/dist/chunks/cli-1.1.25-ex6f69yn.mjs +0 -2
- package/dist/chunks/cli-1.1.25-f424x1de.mjs +0 -2
- package/dist/chunks/cli-1.1.25-f57233sm.mjs +0 -8
- package/dist/chunks/cli-1.1.25-f5ag59tm.mjs +0 -4
- package/dist/chunks/cli-1.1.25-f6w108cp.mjs +0 -6
- package/dist/chunks/cli-1.1.25-f9pk1asa.mjs +0 -7
- package/dist/chunks/cli-1.1.25-fr1nw6bz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-fwh7d55c.mjs +0 -2
- package/dist/chunks/cli-1.1.25-g6y71why.mjs +0 -24
- package/dist/chunks/cli-1.1.25-gba9rrnp.mjs +0 -15
- package/dist/chunks/cli-1.1.25-gezpvyzq.mjs +0 -2
- package/dist/chunks/cli-1.1.25-gm5mfwmy.mjs +0 -2
- package/dist/chunks/cli-1.1.25-gmvcd8bm.mjs +0 -2
- package/dist/chunks/cli-1.1.25-gnsqbh0h.mjs +0 -2
- package/dist/chunks/cli-1.1.25-gsngwhfp.mjs +0 -2
- package/dist/chunks/cli-1.1.25-gz32rhhs.mjs +0 -2
- package/dist/chunks/cli-1.1.25-h164y8f5.mjs +0 -2
- package/dist/chunks/cli-1.1.25-h6ag26rc.mjs +0 -2
- package/dist/chunks/cli-1.1.25-hjvawqyb.mjs +0 -2
- package/dist/chunks/cli-1.1.25-hjwttff4.mjs +0 -2
- package/dist/chunks/cli-1.1.25-hpfkk20r.mjs +0 -2
- package/dist/chunks/cli-1.1.25-j6x483np.mjs +0 -2
- package/dist/chunks/cli-1.1.25-jaz67hdc.mjs +0 -2
- package/dist/chunks/cli-1.1.25-jk7skh2n.mjs +0 -2
- package/dist/chunks/cli-1.1.25-jmv6jw6b.mjs +0 -2
- package/dist/chunks/cli-1.1.25-jsn4we2f.mjs +0 -2
- package/dist/chunks/cli-1.1.25-k6kqfxnq.mjs +0 -2
- package/dist/chunks/cli-1.1.25-k6v3tvg9.mjs +0 -2
- package/dist/chunks/cli-1.1.25-kdamwjt1.mjs +0 -2
- package/dist/chunks/cli-1.1.25-kn1yv4f6.mjs +0 -2
- package/dist/chunks/cli-1.1.25-kpah4ttt.mjs +0 -2
- package/dist/chunks/cli-1.1.25-kpv8j6wf.mjs +0 -2
- package/dist/chunks/cli-1.1.25-kvwevqsc.mjs +0 -18
- package/dist/chunks/cli-1.1.25-m0h0ddew.mjs +0 -2
- package/dist/chunks/cli-1.1.25-m86a8tmc.mjs +0 -2
- package/dist/chunks/cli-1.1.25-n10jmzvk.mjs +0 -2
- package/dist/chunks/cli-1.1.25-n5gb4kx8.mjs +0 -2
- package/dist/chunks/cli-1.1.25-n6df4vnz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-nh2xj15f.mjs +0 -2
- package/dist/chunks/cli-1.1.25-njrez2x5.mjs +0 -12
- package/dist/chunks/cli-1.1.25-nmw9agm4.mjs +0 -133
- package/dist/chunks/cli-1.1.25-nmxbk4dt.mjs +0 -2
- package/dist/chunks/cli-1.1.25-np8863pb.mjs +0 -3
- package/dist/chunks/cli-1.1.25-ntfm6tbg.mjs +0 -2
- package/dist/chunks/cli-1.1.25-nwdtve8h.mjs +0 -2
- package/dist/chunks/cli-1.1.25-nxvqf4sh.mjs +0 -2
- package/dist/chunks/cli-1.1.25-p2kmhxd3.mjs +0 -3
- package/dist/chunks/cli-1.1.25-p9j8prqh.mjs +0 -2
- package/dist/chunks/cli-1.1.25-pcamey8m.mjs +0 -2
- package/dist/chunks/cli-1.1.25-peepax79.mjs +0 -66
- package/dist/chunks/cli-1.1.25-pgs0x971.mjs +0 -50
- package/dist/chunks/cli-1.1.25-px1h2b7d.mjs +0 -2
- package/dist/chunks/cli-1.1.25-pxq7zyjb.mjs +0 -2
- package/dist/chunks/cli-1.1.25-pzp73p0x.mjs +0 -2
- package/dist/chunks/cli-1.1.25-q257pczz.mjs +0 -133
- package/dist/chunks/cli-1.1.25-q5qj0wfa.mjs +0 -18
- package/dist/chunks/cli-1.1.25-q5tqh3tz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-q88hb4qg.mjs +0 -5459
- package/dist/chunks/cli-1.1.25-qd1b1zr7.mjs +0 -3
- package/dist/chunks/cli-1.1.25-qd1q5w85.mjs +0 -2
- package/dist/chunks/cli-1.1.25-qgnyys4j.mjs +0 -6
- package/dist/chunks/cli-1.1.25-qp9j9ma3.mjs +0 -24
- package/dist/chunks/cli-1.1.25-qpb14xj4.mjs +0 -2
- package/dist/chunks/cli-1.1.25-qtjt3cq9.mjs +0 -2
- package/dist/chunks/cli-1.1.25-r0dwt4a0.mjs +0 -2
- package/dist/chunks/cli-1.1.25-rbapdr02.mjs +0 -2
- package/dist/chunks/cli-1.1.25-rbnjv023.mjs +0 -2
- package/dist/chunks/cli-1.1.25-rf05pze2.mjs +0 -2
- package/dist/chunks/cli-1.1.25-rf0c9c9r.mjs +0 -3
- package/dist/chunks/cli-1.1.25-rg5rxmym.mjs +0 -9
- package/dist/chunks/cli-1.1.25-rkh9pz84.mjs +0 -2
- package/dist/chunks/cli-1.1.25-rqzwndms.mjs +0 -45
- package/dist/chunks/cli-1.1.25-rwg08ga2.mjs +0 -39
- package/dist/chunks/cli-1.1.25-s1ykc389.mjs +0 -2
- package/dist/chunks/cli-1.1.25-s54emewd.mjs +0 -206
- package/dist/chunks/cli-1.1.25-sjqg08ww.mjs +0 -2
- package/dist/chunks/cli-1.1.25-sm3q65hz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-svtt1qhf.mjs +0 -5
- package/dist/chunks/cli-1.1.25-sz3dey5y.mjs +0 -2
- package/dist/chunks/cli-1.1.25-t6rdfhp9.mjs +0 -3
- package/dist/chunks/cli-1.1.25-t80ab9f0.mjs +0 -7
- package/dist/chunks/cli-1.1.25-tftyt531.mjs +0 -3
- package/dist/chunks/cli-1.1.25-tj3kqgbv.mjs +0 -2
- package/dist/chunks/cli-1.1.25-tz7k6gjy.mjs +0 -2
- package/dist/chunks/cli-1.1.25-vc7150xz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-vkg5fb0z.mjs +0 -2
- package/dist/chunks/cli-1.1.25-vwe1fsde.mjs +0 -2
- package/dist/chunks/cli-1.1.25-wcw9vrkz.mjs +0 -2
- package/dist/chunks/cli-1.1.25-wd0p9nmj.mjs +0 -24
- package/dist/chunks/cli-1.1.25-wtrb99c9.mjs +0 -2
- package/dist/chunks/cli-1.1.25-wy18zt7a.mjs +0 -3
- package/dist/chunks/cli-1.1.25-x26vkphq.mjs +0 -6
- package/dist/chunks/cli-1.1.25-x4ww7pe7.mjs +0 -2
- package/dist/chunks/cli-1.1.25-xbxtyfje.mjs +0 -2
- package/dist/chunks/cli-1.1.25-y0f45gyf.mjs +0 -2
- package/dist/chunks/cli-1.1.25-y4xjnn7w.mjs +0 -2
- package/dist/chunks/cli-1.1.25-ybe971qx.mjs +0 -15
- package/dist/chunks/cli-1.1.25-yctc3qt8.mjs +0 -2
- package/dist/chunks/cli-1.1.25-yf3nnsg1.mjs +0 -2
- package/dist/chunks/cli-1.1.25-z31z20wf.mjs +0 -2
- package/dist/chunks/cli-1.1.25-zk74mh7n.mjs +0 -2
- package/dist/chunks/cli-1.1.25-zpzhf7zc.mjs +0 -2
- package/dist/chunks/cli-1.1.25-zqqpy89q.mjs +0 -6
- package/dist/chunks/cli-1.1.25-zrj2zpkp.mjs +0 -2
- package/dist/chunks/client-1.1.25-08n7ywgz.mjs +0 -1
- package/dist/chunks/color-1.1.25-n45p3cdv.mjs +0 -1
- package/dist/chunks/compact-1.1.25-qqv3fce7.mjs +0 -3
- package/dist/chunks/config-1.1.25-bvznkf41.mjs +0 -1
- package/dist/chunks/config-1.1.25-n6dtcns2.mjs +0 -1
- package/dist/chunks/constants-1.1.25-g61cz55f.mjs +0 -1
- package/dist/chunks/context-1.1.25-e3n1bdyd.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.25-6drmca9m.mjs +0 -1
- package/dist/chunks/conversation-1.1.25-5xfam12e.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.25-n3q0s4gz.mjs +0 -1
- package/dist/chunks/copy-1.1.25-wcjjc2td.mjs +0 -9
- package/dist/chunks/cost-1.1.25-czrc10qr.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.25-q7sr5mgy.mjs +0 -1
- package/dist/chunks/createSession-1.1.25-abgdr9mn.mjs +0 -1
- package/dist/chunks/debug-1.1.25-4284each.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.25-bh5e3czf.mjs +0 -1534
- package/dist/chunks/desktop-1.1.25-kb98q9vj.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.25-a7pfgy12.mjs +0 -1
- package/dist/chunks/detection-1.1.25-8nzvw5jn.mjs +0 -1
- package/dist/chunks/diff-1.1.25-dhnj1tfb.mjs +0 -1
- package/dist/chunks/doctor-1.1.25-0x83n5n5.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.25-qmg4yght.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.25-jz9ewwc0.mjs +0 -1
- package/dist/chunks/effort-1.1.25-6gemkp3j.mjs +0 -13
- package/dist/chunks/engine-1.1.25-hb7ppn8y.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.25-32s3yykr.mjs +0 -1
- package/dist/chunks/envUtils-1.1.25-trphmt1z.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.25-jew2phex.mjs +0 -1
- package/dist/chunks/environments-1.1.25-nkh2j8kv.mjs +0 -1
- package/dist/chunks/errors-1.1.25-0t1vtdpj.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.25-n2ktzve3.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.25-2f72pb95.mjs +0 -1
- package/dist/chunks/exit-1.1.25-302bsne4.mjs +0 -1
- package/dist/chunks/explorer-1.1.25-f47vrcdd.mjs +0 -1
- package/dist/chunks/export-1.1.25-655jmasp.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.25-9f3dc9de.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.25-wjzcb1d3.mjs +0 -1
- package/dist/chunks/fast-1.1.25-k4a1t9tc.mjs +0 -1
- package/dist/chunks/feedback-1.1.25-crmhd8kn.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.25-pr01pvjg.mjs +0 -1
- package/dist/chunks/git-1.1.25-r40xnnqg.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.25-8r84eppg.mjs +0 -1
- package/dist/chunks/goal-1.1.25-2fz16dne.mjs +0 -4
- package/dist/chunks/growthbook-1.1.25-vr1d3g20.mjs +0 -1
- package/dist/chunks/headless-1.1.25-b7ma19kx.mjs +0 -2
- package/dist/chunks/heapdump-1.1.25-s74fnvr9.mjs +0 -6
- package/dist/chunks/help-1.1.25-jphw3nwb.mjs +0 -1
- package/dist/chunks/hookChains-1.1.25-wad3j7ae.mjs +0 -3
- package/dist/chunks/hooks-1.1.25-5psxtbt2.mjs +0 -79
- package/dist/chunks/hooks-1.1.25-n6f1dkc7.mjs +0 -1
- package/dist/chunks/ide-1.1.25-21kw5qe1.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.25-jymb540y.mjs +0 -1
- package/dist/chunks/import-1.1.25-71q60jx1.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.25-qg5v4c4j.mjs +0 -1
- package/dist/chunks/index-1.1.25-0f94rjfd.mjs +0 -1
- package/dist/chunks/index-1.1.25-0n1ksx20.mjs +0 -2
- package/dist/chunks/index-1.1.25-1n597wy3.mjs +0 -1
- package/dist/chunks/index-1.1.25-1rwmhexf.mjs +0 -1
- package/dist/chunks/index-1.1.25-6160t93h.mjs +0 -30
- package/dist/chunks/index-1.1.25-645qcmbw.mjs +0 -9
- package/dist/chunks/index-1.1.25-70ggh135.mjs +0 -1
- package/dist/chunks/index-1.1.25-7nk5p28a.mjs +0 -1
- package/dist/chunks/index-1.1.25-7p7qd15b.mjs +0 -23
- package/dist/chunks/index-1.1.25-8z7y79bf.mjs +0 -1
- package/dist/chunks/index-1.1.25-affe6cxt.mjs +0 -9
- package/dist/chunks/index-1.1.25-bec2ajvp.mjs +0 -1
- package/dist/chunks/index-1.1.25-f64qrtc9.mjs +0 -5
- package/dist/chunks/index-1.1.25-g7v9zhk1.mjs +0 -1
- package/dist/chunks/index-1.1.25-g99896ns.mjs +0 -1
- package/dist/chunks/index-1.1.25-hcbmys9p.mjs +0 -1
- package/dist/chunks/index-1.1.25-j8rm4qgs.mjs +0 -2
- package/dist/chunks/index-1.1.25-kh02yd5c.mjs +0 -1
- package/dist/chunks/index-1.1.25-m6k2vy2a.mjs +0 -1
- package/dist/chunks/index-1.1.25-pmn6pnjv.mjs +0 -1
- package/dist/chunks/index-1.1.25-t0kaa1dy.mjs +0 -1
- package/dist/chunks/index-1.1.25-xfdfregs.mjs +0 -1
- package/dist/chunks/index-1.1.25-ychm6aj7.mjs +0 -1
- package/dist/chunks/init-1.1.25-x7cr3p65.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.25-zcgy02rq.mjs +0 -1
- package/dist/chunks/ink-1.1.25-evxr7syt.mjs +0 -1
- package/dist/chunks/insights-1.1.25-0zz5y2cs.mjs +0 -870
- package/dist/chunks/install-1.1.25-nghrpc4k.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.25-1tb3cz5k.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.25-vsp3sc6d.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.25-e9arjmhp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.25-dvn7nkzf.mjs +0 -1
- package/dist/chunks/keybindings-1.1.25-7tf4nkft.mjs +0 -2
- package/dist/chunks/knowledge-1.1.25-gchxmcv2.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.25-gzy09f8s.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.25-3fvea40c.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.25-1b1z5t2x.mjs +0 -1
- package/dist/chunks/log-1.1.25-rhpcv45j.mjs +0 -1
- package/dist/chunks/main-1.1.25-hpaj9gzw.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.25-19sxqzbj.mjs +0 -1
- package/dist/chunks/mcp-1.1.25-bkgk2vye.mjs +0 -1
- package/dist/chunks/mcp-1.1.25-n5bde32b.mjs +0 -17
- package/dist/chunks/mcp-1.1.25-wsfk73n2.mjs +0 -4
- package/dist/chunks/mcpb-1.1.25-jwd1ff98.mjs +0 -1
- package/dist/chunks/memory-1.1.25-ae4515h6.mjs +0 -72
- package/dist/chunks/model-1.1.25-kdc32s97.mjs +0 -1
- package/dist/chunks/model-1.1.25-x3hpj8mx.mjs +0 -2
- package/dist/chunks/node-1.1.25-bmakbgcc.mjs +0 -15
- package/dist/chunks/oauth-1.1.25-dpw2v0gf.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.25-frxz7cxz.mjs +0 -14
- package/dist/chunks/output-style-1.1.25-ja0xn44t.mjs +0 -1
- package/dist/chunks/package-SHMK2LJE-1.1.25-n5senjea.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.25-2w1mb832.mjs +0 -1
- package/dist/chunks/parser-1.1.25-226xm2zk.mjs +0 -1
- package/dist/chunks/passes-1.1.25-3pbcz45a.mjs +0 -1
- package/dist/chunks/permissions-1.1.25-3yb8c211.mjs +0 -1
- package/dist/chunks/permissions-1.1.25-g8395q9y.mjs +0 -3
- package/dist/chunks/plan-1.1.25-335rgqar.mjs +0 -1
- package/dist/chunks/plist-1.1.25-4gx9kzb9.mjs +0 -1
- package/dist/chunks/plugin-1.1.25-7twsr9qb.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.25-h43rcveq.mjs +0 -1
- package/dist/chunks/plugins-1.1.25-36r120jp.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.25-mq77hmkq.mjs +0 -2
- package/dist/chunks/print-1.1.25-nyqwpaw6.mjs +0 -57
- package/dist/chunks/process-1.1.25-40rkvfxz.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.25-4rt9wd52.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.25-50jz8vq4.mjs +0 -9
- package/dist/chunks/prompt-1.1.25-ab2m25ry.mjs +0 -1
- package/dist/chunks/prompt-1.1.25-tsf93p18.mjs +0 -1
- package/dist/chunks/prompts-1.1.25-7asah358.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.25-fjma0898.mjs +0 -13
- package/dist/chunks/provider-1.1.25-jcm6xct3.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.25-86yene25.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.25-gbve71cz.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.25-n6v741p7.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.25-d988tp7q.mjs +0 -26
- package/dist/chunks/registry-1.1.25-jda5me4n.mjs +0 -1
- package/dist/chunks/release-notes-1.1.25-depx979r.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.25-nc27sfgy.mjs +0 -2
- package/dist/chunks/remote-env-1.1.25-adtemst2.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.25-vyw0r3a7.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.25-f1hb7zcj.mjs +0 -1
- package/dist/chunks/rename-1.1.25-r9khtthn.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.25-5tbm27ae.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.25-dy1jxrha.mjs +0 -1
- package/dist/chunks/resume-1.1.25-qcctpvst.mjs +0 -2
- package/dist/chunks/rewind-1.1.25-2tpvsdz2.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.25-6gjd4t0k.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.25-1x11b1xy.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.25-2qsj3g4r.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.25-tn86q9kj.mjs +0 -1
- package/dist/chunks/session-1.1.25-tpnhf7nk.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.25-z48aepj2.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.25-w9mqv7x2.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.25-f61wmxkh.mjs +0 -1
- package/dist/chunks/settings-1.1.25-5f0ye0zf.mjs +0 -1
- package/dist/chunks/setup-1.1.25-hq096wz8.mjs +0 -12
- package/dist/chunks/sinks-1.1.25-k89ee9jd.mjs +0 -1
- package/dist/chunks/skills-1.1.25-zny3acfm.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.25-jrb54jgv.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.25-0e8arnxt.mjs +0 -1
- package/dist/chunks/state-1.1.25-2f0mn1s8.mjs +0 -1
- package/dist/chunks/stats-1.1.25-w4v85n4m.mjs +0 -1
- package/dist/chunks/status-1.1.25-vyxf29s0.mjs +0 -1
- package/dist/chunks/stickers-1.1.25-db9b5d86.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.25-b06h7dn5.mjs +0 -1
- package/dist/chunks/tasks-1.1.25-d44s3czy.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.25-yy2zwqy3.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.25-45w75v4y.mjs +0 -1
- package/dist/chunks/teleport-1.1.25-5be1s310.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.25-b5a4adgd.mjs +0 -1
- package/dist/chunks/theme-1.1.25-wkyf9b5k.mjs +0 -1
- package/dist/chunks/thinkback-1.1.25-6575xnpn.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.25-amw47kg0.mjs +0 -1
- package/dist/chunks/toolPool-1.1.25-h7pp3y85.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.25-brpn0e66.mjs +0 -1
- package/dist/chunks/tools-1.1.25-t4rr3y1m.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.25-dgx4z9gb.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.25-9c24hgzw.mjs +0 -69
- package/dist/chunks/types-1.1.25-tj3y8ycy.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.25-kj7js02p.mjs +0 -4
- package/dist/chunks/update-1.1.25-fn4tnxnw.mjs +0 -72
- package/dist/chunks/upgrade-1.1.25-zd805a6y.mjs +0 -1
- package/dist/chunks/upload-1.1.25-nhsynsbb.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.25-bh4an4es.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.25-z7v66h19.mjs +0 -1
- package/dist/chunks/usage-1.1.25-0frq9der.mjs +0 -1
- package/dist/chunks/util-1.1.25-hqbcvpk3.mjs +0 -1
- package/dist/chunks/utils-1.1.25-mqy166xe.mjs +0 -1
- package/dist/chunks/vim-1.1.25-0gnwfzcy.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.25-dnpy6c6e.mjs +0 -13
- package/dist/chunks/watcher-1.1.25-43n00zw0.mjs +0 -1
- package/dist/chunks/wiki-1.1.25-mvay6amg.mjs +0 -132
- package/dist/chunks/workflows-1.1.25-a2drn8b3.mjs +0 -1
- package/dist/chunks/worktree-1.1.25-cghd8r64.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.25-a15vww7v.mjs +0 -1
- package/dist/chunks/wrapper-1.1.25-chacpj74.mjs +0 -7
- /package/dist/chunks/{cli-1.1.25-r2a8d0xg.mjs → cli-1.1.26-6g0bq6h6.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.25-k9qcf2mf.mjs → cli-1.1.26-7q7jw0ck.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.25-hdgk2770.mjs → cli-1.1.26-nqygxkhw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.25-cpt1h3j8.mjs → cli-1.1.26-rbz29dt9.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.25-s9sv7xk9.mjs → cli-1.1.26-sgj6knz9.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.25-ctfh8503.mjs → cli-1.1.26-t8fgt5kw.mjs} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
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.26-kvt0v6vq.mjs";import"./cli-1.1.26-9x90xrtz.mjs";import"./cli-1.1.26-kb5qx4tp.mjs";import"./cli-1.1.26-hc0z3th3.mjs";import"./cli-1.1.26-38m8cha0.mjs";import"./cli-1.1.26-rpd6k1rg.mjs";import"./cli-1.1.26-4jbtcb3c.mjs";import"./cli-1.1.26-hgr89jmg.mjs";import"./cli-1.1.26-tyvfnyw1.mjs";import"./cli-1.1.26-2s2gpj0g.mjs";import"./cli-1.1.26-v7k7gw6h.mjs";import"./cli-1.1.26-k287xjcs.mjs";import"./cli-1.1.26-g825efx8.mjs";import"./cli-1.1.26-4cj6rr02.mjs";import"./cli-1.1.26-3c44vscp.mjs";import"./cli-1.1.26-v440gznh.mjs";import"./cli-1.1.26-3z39qjr1.mjs";import"./cli-1.1.26-wy5w6zkt.mjs";import"./cli-1.1.26-d6m0sag3.mjs";import"./cli-1.1.26-6c5rgjbj.mjs";import"./cli-1.1.26-j0pfn318.mjs";import"./cli-1.1.26-h8pwf3e5.mjs";import{E1 as m,G1 as A,f0 as a,j2 as l}from"./cli-1.1.26-nv2mgz6h.mjs";import"./cli-1.1.26-exd0gw3b.mjs";import"./cli-1.1.26-n43rh2dq.mjs";import"./cli-1.1.26-16s9pjdh.mjs";import"./cli-1.1.26-g3eqp15d.mjs";import"./cli-1.1.26-c1s0antn.mjs";import"./cli-1.1.26-2dzytde4.mjs";import"./cli-1.1.26-cdkkrgj3.mjs";import"./cli-1.1.26-bv6bd469.mjs";import"./cli-1.1.26-tcbtd5f6.mjs";import"./cli-1.1.26-0qa3rcd8.mjs";import{M4 as R,N4 as V,O4 as r}from"./cli-1.1.26-qf02kggq.mjs";import{P4 as yq}from"./cli-1.1.26-kz0et72d.mjs";import"./cli-1.1.26-xzbv3dzb.mjs";import"./cli-1.1.26-k827q3s7.mjs";import"./cli-1.1.26-xrb5tnj3.mjs";import"./cli-1.1.26-ta82bxzt.mjs";import"./cli-1.1.26-tgtv1jp3.mjs";import"./cli-1.1.26-agrrdhst.mjs";import{T9 as j,U9 as Tq}from"./cli-1.1.26-32vewh62.mjs";import"./cli-1.1.26-vne421we.mjs";import"./cli-1.1.26-pttr45sa.mjs";import"./cli-1.1.26-xwryqq86.mjs";import"./cli-1.1.26-zsf06fnj.mjs";import{Jfa as $,Mfa as d,fga as Lq,v$ as Qq,x$ as Aq}from"./cli-1.1.26-mvjefec1.mjs";import"./cli-1.1.26-79g0hfrb.mjs";import"./cli-1.1.26-edg965cj.mjs";import"./cli-1.1.26-9kzdvxzw.mjs";import"./cli-1.1.26-chwpygff.mjs";import"./cli-1.1.26-3gepexgn.mjs";import{Uja as s,Wja as kq}from"./cli-1.1.26-pf85an2q.mjs";import"./cli-1.1.26-hk66nk4j.mjs";import{Ika as Kq,Lka as Pq}from"./cli-1.1.26-n0thzakv.mjs";import"./cli-1.1.26-nr4x1ay3.mjs";import"./cli-1.1.26-79j24jxp.mjs";import"./cli-1.1.26-7ssnr221.mjs";import"./cli-1.1.26-dyyg0r9f.mjs";import"./cli-1.1.26-4aztw2ex.mjs";import"./cli-1.1.26-jz95bmqy.mjs";import"./cli-1.1.26-thxyzhdj.mjs";import"./cli-1.1.26-hxty6b5t.mjs";import"./cli-1.1.26-01erqdx7.mjs";import"./cli-1.1.26-g54bqv9d.mjs";import{_ta as I,cua as o}from"./cli-1.1.26-zb5hq3ry.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cua as z}from"./cli-1.1.26-zb5hq3ry.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};
|
|
@@ -0,0 +1,261 @@
|
|
|
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.26-5fv3wdye.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.26-kvt0v6vq.mjs";import"./cli-1.1.26-9x90xrtz.mjs";import"./cli-1.1.26-kb5qx4tp.mjs";import"./cli-1.1.26-hc0z3th3.mjs";import"./cli-1.1.26-38m8cha0.mjs";import"./cli-1.1.26-rpd6k1rg.mjs";import"./cli-1.1.26-4jbtcb3c.mjs";import"./cli-1.1.26-hgr89jmg.mjs";import"./cli-1.1.26-tyvfnyw1.mjs";import"./cli-1.1.26-2s2gpj0g.mjs";import"./cli-1.1.26-v7k7gw6h.mjs";import"./cli-1.1.26-k287xjcs.mjs";import"./cli-1.1.26-g825efx8.mjs";import"./cli-1.1.26-4cj6rr02.mjs";import"./cli-1.1.26-3c44vscp.mjs";import"./cli-1.1.26-v440gznh.mjs";import"./cli-1.1.26-3z39qjr1.mjs";import"./cli-1.1.26-wy5w6zkt.mjs";import"./cli-1.1.26-d6m0sag3.mjs";import"./cli-1.1.26-6c5rgjbj.mjs";import"./cli-1.1.26-j0pfn318.mjs";import"./cli-1.1.26-h8pwf3e5.mjs";import{E1 as P,G1 as u,j2 as WO}from"./cli-1.1.26-nv2mgz6h.mjs";import"./cli-1.1.26-exd0gw3b.mjs";import"./cli-1.1.26-n43rh2dq.mjs";import"./cli-1.1.26-16s9pjdh.mjs";import"./cli-1.1.26-g3eqp15d.mjs";import"./cli-1.1.26-c1s0antn.mjs";import"./cli-1.1.26-2dzytde4.mjs";import"./cli-1.1.26-cdkkrgj3.mjs";import"./cli-1.1.26-bv6bd469.mjs";import"./cli-1.1.26-tcbtd5f6.mjs";import"./cli-1.1.26-0qa3rcd8.mjs";import{M4 as V,N4 as JI,O4 as MI}from"./cli-1.1.26-qf02kggq.mjs";import{P4 as GO}from"./cli-1.1.26-kz0et72d.mjs";import"./cli-1.1.26-xzbv3dzb.mjs";import"./cli-1.1.26-k827q3s7.mjs";import"./cli-1.1.26-xrb5tnj3.mjs";import"./cli-1.1.26-ta82bxzt.mjs";import"./cli-1.1.26-tgtv1jp3.mjs";import"./cli-1.1.26-agrrdhst.mjs";import"./cli-1.1.26-32vewh62.mjs";import"./cli-1.1.26-vne421we.mjs";import"./cli-1.1.26-pttr45sa.mjs";import"./cli-1.1.26-xwryqq86.mjs";import"./cli-1.1.26-zsf06fnj.mjs";import{Dga as zO,Eba as EE,Fba as sR,Fha as KI,Mfa as BR,Nha as MO,Sfa as GR,fga as zN,ida as ZE,kda as NN,kga as WR,rga as ZO}from"./cli-1.1.26-mvjefec1.mjs";import"./cli-1.1.26-79g0hfrb.mjs";import"./cli-1.1.26-edg965cj.mjs";import"./cli-1.1.26-9kzdvxzw.mjs";import"./cli-1.1.26-chwpygff.mjs";import"./cli-1.1.26-3gepexgn.mjs";import{Uja as TR,Wja as $N}from"./cli-1.1.26-pf85an2q.mjs";import{Hka as SE,yka as BI}from"./cli-1.1.26-hk66nk4j.mjs";import"./cli-1.1.26-n0thzakv.mjs";import"./cli-1.1.26-nr4x1ay3.mjs";import"./cli-1.1.26-79j24jxp.mjs";import{lma as OE,qma as cR}from"./cli-1.1.26-7ssnr221.mjs";import{Ema as XN,tma as LR}from"./cli-1.1.26-dyyg0r9f.mjs";import"./cli-1.1.26-4aztw2ex.mjs";import"./cli-1.1.26-jz95bmqy.mjs";import"./cli-1.1.26-thxyzhdj.mjs";import"./cli-1.1.26-hxty6b5t.mjs";import"./cli-1.1.26-01erqdx7.mjs";import"./cli-1.1.26-g54bqv9d.mjs";import{_ta as II,cua as W}from"./cli-1.1.26-zb5hq3ry.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ca as a,Da as b,Ea as c,Fa as d}from"./cli-1.1.26-ssxrwqk2.mjs";import"./cli-1.1.26-v6fnwae1.mjs";import"./cli-1.1.26-tgtv1jp3.mjs";import"./cli-1.1.26-agrrdhst.mjs";import"./cli-1.1.26-32vewh62.mjs";import"./cli-1.1.26-vne421we.mjs";import"./cli-1.1.26-xwryqq86.mjs";import"./cli-1.1.26-mvjefec1.mjs";import"./cli-1.1.26-79g0hfrb.mjs";import"./cli-1.1.26-edg965cj.mjs";import"./cli-1.1.26-9kzdvxzw.mjs";import"./cli-1.1.26-chwpygff.mjs";import"./cli-1.1.26-3gepexgn.mjs";import"./cli-1.1.26-pf85an2q.mjs";import"./cli-1.1.26-hk66nk4j.mjs";import"./cli-1.1.26-n0thzakv.mjs";import"./cli-1.1.26-nr4x1ay3.mjs";import"./cli-1.1.26-79j24jxp.mjs";import"./cli-1.1.26-7ssnr221.mjs";import"./cli-1.1.26-dyyg0r9f.mjs";import"./cli-1.1.26-4aztw2ex.mjs";import"./cli-1.1.26-jz95bmqy.mjs";import"./cli-1.1.26-thxyzhdj.mjs";import"./cli-1.1.26-hxty6b5t.mjs";import"./cli-1.1.26-01erqdx7.mjs";import"./cli-1.1.26-g54bqv9d.mjs";import"./cli-1.1.26-zb5hq3ry.mjs";export{b as resolveInboundAttachments,d as resolveAndPrepend,c as prependPathRefs,a as extractInboundAttachments};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P_ as a}from"./cli-1.1.26-r4ewzysx.mjs";import"./cli-1.1.26-qw49rw3y.mjs";import"./cli-1.1.26-zb5hq3ry.mjs";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Q_ as G}from"./cli-1.1.26-1mbz2mcm.mjs";import{Qta as _,Rta as U}from"./cli-1.1.26-rrq5hxxh.mjs";import{Zta as X}from"./cli-1.1.26-qw49rw3y.mjs";import{_ta as K,aua as B,cua as l,dua as E}from"./cli-1.1.26-zb5hq3ry.mjs";var v=B((k)=>{Object.defineProperty(k,"__esModule",{value:!0});k.resolveHttpHandlerRuntimeConfig=k.getHttpHandlerExtensionConfiguration=k.isValidHostname=k.HttpResponse=k.HttpRequest=k.Fields=k.Field=void 0;var H=X();Object.defineProperty(k,"Field",{enumerable:!0,get:function(){return H.Field}});Object.defineProperty(k,"Fields",{enumerable:!0,get:function(){return H.Fields}});Object.defineProperty(k,"HttpRequest",{enumerable:!0,get:function(){return H.HttpRequest}});Object.defineProperty(k,"HttpResponse",{enumerable:!0,get:function(){return H.HttpResponse}});Object.defineProperty(k,"isValidHostname",{enumerable:!0,get:function(){return H.isValidHostname}});Object.defineProperty(k,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return H.getHttpHandlerExtensionConfiguration}});Object.defineProperty(k,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return H.resolveHttpHandlerRuntimeConfig}})});var J=B((C)=>{var Q=_(),T=U(),P=G(),W=v(),F=E("node:crypto"),q=E("node:fs"),Z=E("node:os"),A=E("node:path");class ${profileData;init;callerClientConfig;static REFRESH_THRESHOLD=300000;constructor(e,n,t){this.profileData=e,this.init=n,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new T.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let n=e.accessToken,t=Date.now();if(new Date(n.expiresAt).getTime()-t<=$.REFRESH_THRESHOLD)return this.refresh(e);return{accessKeyId:n.accessKeyId,secretAccessKey:n.secretAccessKey,sessionToken:n.sessionToken,accountId:n.accountId,expiration:new Date(n.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(e){let{SigninClient:n,CreateOAuth2TokenCommand:t}=await import("./index-1.1.26-tyjd8na6.mjs").then((m)=>K(m.default)),{logger:s,userAgentAppId:c}=this.callerClientConfig??{},r=((h)=>{return h?.metadata?.handlerProtocol==="h2"})(this.callerClientConfig?.requestHandler)?void 0:this.callerClientConfig?.requestHandler,a=this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,i=new n({credentials:{accessKeyId:"",secretAccessKey:""},region:a,requestHandler:r,logger:s,userAgentAppId:c,...this.init?.clientConfig});this.createDPoPInterceptor(i.middlewareStack);let x={tokenInput:{clientId:e.clientId,refreshToken:e.refreshToken,grantType:"refresh_token"}};try{let h=await i.send(new t(x)),{accessKeyId:y,secretAccessKey:d,sessionToken:I}=h.tokenOutput?.accessToken??{},{refreshToken:S,expiresIn:m}=h.tokenOutput??{};if(!y||!d||!I||!S)throw new T.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let R=(m??900)*1000,b=new Date(Date.now()+R),j={...e,accessToken:{...e.accessToken,accessKeyId:y,secretAccessKey:d,sessionToken:I,expiresAt:b.toISOString()},refreshToken:S};await this.saveToken(j);let o=j.accessToken;return{accessKeyId:o.accessKeyId,secretAccessKey:o.secretAccessKey,sessionToken:o.sessionToken,accountId:o.accountId,expiration:b}}catch(h){if(h.name==="AccessDeniedException"){let y=h.error,d;switch(y){case"TOKEN_EXPIRED":d="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":d="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":d="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:d=`Failed to refresh token: ${String(h)}. Please re-authenticate using \`aws login\``}throw new T.CredentialsProviderError(d,{logger:this.logger,tryNextLink:!1})}throw new T.CredentialsProviderError(`Failed to refresh token: ${String(h)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let n;try{n=await P.readFile(e,{ignoreCache:this.init?.ignoreCache})}catch{n=await q.promises.readFile(e,"utf8")}let t=JSON.parse(n),s=["accessToken","clientId","refreshToken","dpopKey"].filter((c)=>!t[c]);if(!t.accessToken?.accountId)s.push("accountId");if(s.length>0)throw new T.CredentialsProviderError(`Token validation failed, missing fields: ${s.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(n){throw new T.CredentialsProviderError(`Failed to load token from ${e}: ${String(n)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let n=this.getTokenFilePath(),t=A.dirname(n);try{await q.promises.mkdir(t,{recursive:!0})}catch(s){}await q.promises.writeFile(n,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??A.join(Z.homedir(),".aws","login","cache"),n=Buffer.from(this.loginSession,"utf8"),t=F.createHash("sha256").update(n).digest("hex");return A.join(e,`${t}.json`)}derToRawSignature(e){let n=2;if(e[n]!==2)throw Error("Invalid DER signature");n++;let t=e[n++],s=e.subarray(n,n+t);if(n+=t,e[n]!==2)throw Error("Invalid DER signature");n++;let c=e[n++],u=e.subarray(n,n+c);s=s[0]===0?s.subarray(1):s,u=u[0]===0?u.subarray(1):u;let r=Buffer.concat([Buffer.alloc(32-s.length),s]),a=Buffer.concat([Buffer.alloc(32-u.length),u]);return Buffer.concat([r,a])}createDPoPInterceptor(e){e.add((n)=>async(t)=>{if(W.HttpRequest.isInstance(t.request)){let s=t.request,c=`${s.protocol}//${s.hostname}${s.port?`:${s.port}`:""}${s.path}`,u=await this.generateDpop(s.method,c);s.headers={...s.headers,DPoP:u}}return n(t)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",n){let t=await this.loadToken();try{let s=F.createPrivateKey({key:t.dpopKey,format:"pem",type:"sec1"}),u=F.createPublicKey(s).export({format:"der",type:"spki"}),r=-1;for(let b=0;b<u.length;b++)if(u[b]===4){r=b;break}let a=u.slice(r+1,r+33),i=u.slice(r+33,r+65),x={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:a.toString("base64url"),y:i.toString("base64url")}},h={jti:crypto.randomUUID(),htm:e,htu:n,iat:Math.floor(Date.now()/1000)},y=Buffer.from(JSON.stringify(x)).toString("base64url"),d=Buffer.from(JSON.stringify(h)).toString("base64url"),I=`${y}.${d}`,S=F.sign("sha256",Buffer.from(I),s),R=this.derToRawSignature(S).toString("base64url");return`${I}.${R}`}catch(s){throw new T.CredentialsProviderError(`Failed to generate Dpop proof: ${s instanceof Error?s.message:String(s)}`,{logger:this.logger,tryNextLink:!1})}}}var N=(e)=>async({callerClientConfig:n}={})=>{e?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let t=await P.parseKnownFiles(e||{}),s=P.getProfileName({profile:e?.profile??n?.profile}),c=t[s];if(!c?.login_session)throw new T.CredentialsProviderError(`Profile ${s} does not contain login_session.`,{tryNextLink:!0,logger:e?.logger});let r=await new $(c,e,n).loadCredentials();return Q.setCredentialFeature(r,"CREDENTIALS_LOGIN","AD")};C.fromLoginCredentials=N});var L,O,w,p,ee=(e,n,t)=>{let s={EcsContainer:async(c)=>{let{fromHttp:u}=await import("./index-1.1.26-62wb3t76.mjs").then((m)=>K(m.default,1)),{fromContainerMetadata:r}=await import("./index-1.1.26-srjepzh3.mjs");return t?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>O.chain(u(c??{}),r(c))().then(D)},Ec2InstanceMetadata:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:u}=await import("./index-1.1.26-srjepzh3.mjs");return async()=>u(c)().then(D)},Environment:async(c)=>{t?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:u}=await import("./index-1.1.26-gyna59qe.mjs");return async()=>u(c)().then(D)}};if(e in s)return s[e];else throw new O.CredentialsProviderError(`Unsupported credential source in profile ${n}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:t})},D=(e)=>w.setCredentialFeature(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),te=(e,{profile:n="default",logger:t}={})=>{return Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(ne(e,{profile:n,logger:t})||se(e,{profile:n,logger:t}))},ne=(e,{profile:n,logger:t})=>{let s=typeof e.source_profile==="string"&&typeof e.credential_source>"u";if(s)t?.debug?.(` ${n} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`);return s},se=(e,{profile:n,logger:t})=>{let s=typeof e.credential_source==="string"&&typeof e.source_profile>"u";if(s)t?.debug?.(` ${n} isCredentialSourceProfile credential_source=${e.credential_source}`);return s},re=async(e,n,t,s,c={},u)=>{t.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let r=n[e],{source_profile:a,region:i}=r;if(!t.roleAssumer){let{getDefaultRoleAssumer:h}=await import("./index-1.1.26-9hqzzjph.mjs").then((m)=>K(m.default,1));t.roleAssumer=h({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...s,...t?.parentClientConfig,region:i??t?.parentClientConfig?.region??s?.region}},t.clientPlugins)}if(a&&a in c)throw new O.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${L.getProfileName(t)}. Profiles visited: `+Object.keys(c).join(", "),{logger:t.logger});t.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${a?`source_profile=[${a}]`:`profile=[${e}]`}`);let x=a?u(a,n,t,s,{...c,[a]:!0},V(n[a]??{})):(await ee(r.credential_source,e,t.logger)(t))();if(V(r))return x.then((h)=>w.setCredentialFeature(h,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));else{let h={RoleArn:r.role_arn,RoleSessionName:r.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:r.external_id,DurationSeconds:parseInt(r.duration_seconds||"3600",10)},{mfa_serial:y}=r;if(y){if(!t.mfaCodeProvider)throw new O.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:t.logger,tryNextLink:!1});h.SerialNumber=y,h.TokenCode=await t.mfaCodeProvider(y)}let d=await x;return t.roleAssumer(d,h).then((I)=>w.setCredentialFeature(I,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},V=(e)=>{return!e.role_arn&&!!e.credential_source},ce=(e)=>{return Boolean(e&&e.login_session)},ue=async(e,n,t)=>{let s=await p.fromLoginCredentials({...n,profile:e})({callerClientConfig:t});return w.setCredentialFeature(s,"CREDENTIALS_PROFILE_LOGIN","AC")},he=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string",ae=async(e,n)=>import("./index-1.1.26-qrbfj1zz.mjs").then(({fromProcess:t})=>t({...e,profile:n})().then((s)=>w.setCredentialFeature(s,"CREDENTIALS_PROFILE_PROCESS","v"))),de=async(e,n,t={},s)=>{let{fromSSO:c}=await import("./index-1.1.26-7dq7zd2s.mjs");return c({profile:e,logger:t.logger,parentClientConfig:t.parentClientConfig,clientConfig:t.clientConfig})({callerClientConfig:s}).then((u)=>{if(n.sso_session)return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO","r");else return w.setCredentialFeature(u,"CREDENTIALS_PROFILE_SSO_LEGACY","t")})},ye=(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"),Y=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,g=async(e,n)=>{n?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return w.setCredentialFeature(t,"CREDENTIALS_PROFILE","n")},ke=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1,we=async(e,n,t)=>import("./index-1.1.26-te4885d9.mjs").then((m)=>K(m.default,1)).then(({fromTokenFile:s})=>s({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:n.roleAssumerWithWebIdentity,logger:n.logger,parentClientConfig:n.parentClientConfig})({callerClientConfig:t}).then((c)=>w.setCredentialFeature(c,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),z=async(e,n,t,s,c={},u=!1)=>{let r=n[e];if(Object.keys(c).length>0&&Y(r))return g(r,t);if(u||te(r,{profile:e,logger:t.logger}))return re(e,n,t,s,c,z);if(Y(r))return g(r,t);if(ke(r))return we(r,t,s);if(he(r))return ae(t,e);if(ye(r))return await de(e,r,t,s);if(ce(r))return ue(e,t,s);throw new O.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})},Te=(e={})=>async({callerClientConfig:n}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let t=await L.parseKnownFiles(e);return z(L.getProfileName({profile:e.profile??n?.profile}),t,e,n)},Ee;var Ie=l(()=>{L=G(),O=U(),w=_(),p=J();Ee=Te});Ie();export{Ee as fromIni};export default {get fromIni(){return Ee}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ata as q,Bta as r,Cta as s,kta as a,lta as b,mta as c,nta as d,ota as e,pta as f,qta as g,rta as h,sta as i,tta as j,uta as k,vta as l,wta as m,xta as n,yta as o,zta as p}from"./cli-1.1.26-hxty6b5t.mjs";import"./cli-1.1.26-01erqdx7.mjs";import"./cli-1.1.26-g54bqv9d.mjs";import"./cli-1.1.26-zb5hq3ry.mjs";s();export{l as toFormData,k as spread,q as mergeConfig,e as isCancel,j as isAxiosError,p as getAdapter,o as formToJSON,a as default,r as create,h as all,g as VERSION,n as HttpStatusCode,d as CanceledError,f as CancelToken,i as Cancel,m as AxiosHeaders,c as AxiosError,b as Axios};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{Qta as ve,Rta as L}from"./cli-1.1.26-rrq5hxxh.mjs";import{Sta as _e}from"./cli-1.1.26-c9m56qw1.mjs";import{Vta as Ke,Yta as he,Zta as Se}from"./cli-1.1.26-qw49rw3y.mjs";import{aua as H,dua as xe}from"./cli-1.1.26-zb5hq3ry.mjs";var le=H((yt,V)=>{var J,$,G,Q,X,Y,Z,z,s,p,k,x,_,U,q,v,ee,te,I,ne,re,ue,ce,fe,be,ie,ae,me,W,Pe,ge,Oe;(function(f){var j=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(g){f(d(j,d(g)))});else if(typeof V==="object"&&typeof yt==="object")f(d(j,d(yt)));else f(d(j));function d(g,O){if(g!==j)if(typeof Object.create==="function")Object.defineProperty(g,"__esModule",{value:!0});else g.__esModule=!0;return function(e,t){return g[e]=O?O(e,t):t}}})(function(f){var j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};J=function(e,t){if(typeof t!=="function"&&t!==null)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");j(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)},$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u))e[u]=t[u]}return e},G=function(e,t){var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)n[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var u=0,r=Object.getOwnPropertySymbols(e);u<r.length;u++)if(t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u]))n[r[u]]=e[r[u]]}return n},Q=function(e,t,n,r){var u=arguments.length,c=u<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,i;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")c=Reflect.decorate(e,t,n,r);else for(var P=e.length-1;P>=0;P--)if(i=e[P])c=(u<3?i(c):u>3?i(t,n,c):i(t,n))||c;return u>3&&c&&Object.defineProperty(t,n,c),c},X=function(e,t){return function(n,r){t(n,r,e)}},Y=function(e,t,n,r,u,c){function i(N){if(N!==void 0&&typeof N!=="function")throw TypeError("Function expected");return N}var P=r.kind,h=P==="getter"?"get":P==="setter"?"set":"value",a=!t&&e?r.static?e:e.prototype:null,S=t||(a?Object.getOwnPropertyDescriptor(a,r.name):{}),C,M=!1;for(var l=n.length-1;l>=0;l--){var T={};for(var E in r)T[E]=E==="access"?{}:r[E];for(var E in r.access)T.access[E]=r.access[E];T.addInitializer=function(N){if(M)throw TypeError("Cannot add initializers after decoration has completed");c.push(i(N||null))};var D=(0,n[l])(P==="accessor"?{get:S.get,set:S.set}:S[h],T);if(P==="accessor"){if(D===void 0)continue;if(D===null||typeof D!=="object")throw TypeError("Object expected");if(C=i(D.get))S.get=C;if(C=i(D.set))S.set=C;if(C=i(D.init))u.unshift(C)}else if(C=i(D))if(P==="field")u.unshift(C);else S[h]=C}if(a)Object.defineProperty(a,r.name,S);M=!0},Z=function(e,t,n){var r=arguments.length>2;for(var u=0;u<t.length;u++)n=r?t[u].call(e,n):t[u].call(e);return r?n:void 0},z=function(e){return typeof e==="symbol"?e:"".concat(e)},s=function(e,t,n){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},p=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},k=function(e,t,n,r){function u(c){return c instanceof n?c:new n(function(i){i(c)})}return new(n||(n=Promise))(function(c,i){function P(S){try{a(r.next(S))}catch(C){i(C)}}function h(S){try{a(r.throw(S))}catch(C){i(C)}}function a(S){S.done?c(S.value):u(S.value).then(P,h)}a((r=r.apply(e,t||[])).next())})},x=function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,u,c,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=P(0),i.throw=P(1),i.return=P(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function P(a){return function(S){return h([a,S])}}function h(a){if(r)throw TypeError("Generator is already executing.");while(i&&(i=0,a[0]&&(n=0)),n)try{if(r=1,u&&(c=a[0]&2?u.return:a[0]?u.throw||((c=u.return)&&c.call(u),0):u.next)&&!(c=c.call(u,a[1])).done)return c;if(u=0,c)a=[a[0]&2,c.value];switch(a[0]){case 0:case 1:c=a;break;case 4:return n.label++,{value:a[1],done:!1};case 5:n.label++,u=a[1],a=[0];continue;case 7:a=n.ops.pop(),n.trys.pop();continue;default:if((c=n.trys,!(c=c.length>0&&c[c.length-1]))&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!c||a[1]>c[0]&&a[1]<c[3])){n.label=a[1];break}if(a[0]===6&&n.label<c[1]){n.label=c[1],c=a;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(a);break}if(c[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(S){a=[6,S],u=0}finally{r=c=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_=function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))W(t,e,n)},W=Object.create?function(e,t,n,r){if(r===void 0)r=n;var u=Object.getOwnPropertyDescriptor(t,n);if(!u||("get"in u?!t.__esModule:u.writable||u.configurable))u={enumerable:!0,get:function(){return t[n]}};Object.defineProperty(e,r,u)}:function(e,t,n,r){if(r===void 0)r=n;e[r]=t[n]},U=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&r>=e.length)e=void 0;return{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),u,c=[],i;try{while((t===void 0||t-- >0)&&!(u=r.next()).done)c.push(u.value)}catch(P){i={error:P}}finally{try{if(u&&!u.done&&(n=r.return))n.call(r)}finally{if(i)throw i.error}}return c},v=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(q(arguments[t]));return e},ee=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),u=0,t=0;t<n;t++)for(var c=arguments[t],i=0,P=c.length;i<P;i++,u++)r[u]=c[i];return r},te=function(e,t,n){if(n||arguments.length===2){for(var r=0,u=t.length,c;r<u;r++)if(c||!(r in t)){if(!c)c=Array.prototype.slice.call(t,0,r);c[r]=t[r]}}return e.concat(c||Array.prototype.slice.call(t))},I=function(e){return this instanceof I?(this.v=e,this):new I(e)},ne=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),u,c=[];return u=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),P("next"),P("throw"),P("return",i),u[Symbol.asyncIterator]=function(){return this},u;function i(l){return function(T){return Promise.resolve(T).then(l,C)}}function P(l,T){if(r[l]){if(u[l]=function(E){return new Promise(function(D,N){c.push([l,E,D,N])>1||h(l,E)})},T)u[l]=T(u[l])}}function h(l,T){try{a(r[l](T))}catch(E){M(c[0][3],E)}}function a(l){l.value instanceof I?Promise.resolve(l.value.v).then(S,C):M(c[0][2],l)}function S(l){h("next",l)}function C(l){h("throw",l)}function M(l,T){if(l(T),c.shift(),c.length)h(c[0][0],c[0][1])}},re=function(e){var t,n;return t={},r("next"),r("throw",function(u){throw u}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(u,c){t[u]=e[u]?function(i){return(n=!n)?{value:I(e[u](i)),done:!1}:c?c(i):i}:c}},ue=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof U==="function"?U(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(c){n[c]=e[c]&&function(i){return new Promise(function(P,h){i=e[c](i),u(P,h,i.done,i.value)})}}function u(c,i,P,h){Promise.resolve(h).then(function(a){c({value:a,done:P})},i)}},ce=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var d=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},g=function(e){return g=Object.getOwnPropertyNames||function(t){var n=[];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))n[n.length]=r;return n},g(e)};fe=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n=g(e),r=0;r<n.length;r++)if(n[r]!=="default")W(t,e,n[r])}return d(t,e),t},be=function(e){return e&&e.__esModule?e:{default:e}},ie=function(e,t,n,r){if(n==="a"&&!r)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},ae=function(e,t,n,r,u){if(r==="m")throw TypeError("Private method is not writable");if(r==="a"&&!u)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!u:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?u.call(e,n):u?u.value=n:t.set(e,n),n},me=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},Pe=function(e,t,n){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw TypeError("Object expected.");var r,u;if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(r===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(r=t[Symbol.dispose],n)u=r}if(typeof r!=="function")throw TypeError("Object not disposable.");if(u)r=function(){try{u.call(this)}catch(c){return Promise.reject(c)}};e.stack.push({value:t,dispose:r,async:n})}else if(n)e.stack.push({async:!0});return t};var O=typeof SuppressedError==="function"?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};ge=function(e){function t(c){e.error=e.hasError?new O(c,e.error,"An error was suppressed during disposal."):c,e.hasError=!0}var n,r=0;function u(){while(n=e.stack.pop())try{if(!n.async&&r===1)return r=0,e.stack.push(n),Promise.resolve().then(u);if(n.dispose){var c=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(c).then(u,function(i){return t(i),u()})}else r|=1}catch(i){t(i)}if(r===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return u()},Oe=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e))return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(n,r,u,c,i){return r?t?".jsx":".js":u&&(!c||!i)?n:u+c+"."+i.toLowerCase()+"js"});return e},f("__extends",J),f("__assign",$),f("__rest",G),f("__decorate",Q),f("__param",X),f("__esDecorate",Y),f("__runInitializers",Z),f("__propKey",z),f("__setFunctionName",s),f("__metadata",p),f("__awaiter",k),f("__generator",x),f("__exportStar",_),f("__createBinding",W),f("__values",U),f("__read",q),f("__spread",v),f("__spreadArrays",ee),f("__spreadArray",te),f("__await",I),f("__asyncGenerator",ne),f("__asyncDelegator",re),f("__asyncValues",ue),f("__makeTemplateObject",ce),f("__importStar",fe),f("__importDefault",be),f("__classPrivateFieldGet",ie),f("__classPrivateFieldSet",ae),f("__classPrivateFieldIn",me),f("__addDisposableResource",Pe),f("__disposeResources",ge),f("__rewriteRelativeImportExtension",Oe)})});var je=H((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.checkUrl=void 0;var We=L(),Ve="169.254.170.2",qe="169.254.170.23",Le="[fd00:ec2::23]",Ae=(f,j)=>{if(f.protocol==="https:")return;if(f.hostname===Ve||f.hostname===qe||f.hostname===Le)return;if(f.hostname.includes("[")){if(f.hostname==="[::1]"||f.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]")return}else{if(f.hostname==="localhost")return;let d=f.hostname.split("."),g=(O)=>{let e=parseInt(O,10);return 0<=e&&e<=255};if(d[0]==="127"&&g(d[1])&&g(d[2])&&g(d[3])&&d.length===4)return}throw new We.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
|
|
2
|
+
- loopback CIDR 127.0.0.0/8 or [::1/128]
|
|
3
|
+
- ECS container host 169.254.170.2
|
|
4
|
+
- EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:j})};ye.checkUrl=Ae});var Ce=H((B)=>{Object.defineProperty(B,"__esModule",{value:!0});B.resolveHttpHandlerRuntimeConfig=B.getHttpHandlerExtensionConfiguration=B.isValidHostname=B.HttpResponse=B.HttpRequest=B.Fields=B.Field=void 0;var F=Se();Object.defineProperty(B,"Field",{enumerable:!0,get:function(){return F.Field}});Object.defineProperty(B,"Fields",{enumerable:!0,get:function(){return F.Fields}});Object.defineProperty(B,"HttpRequest",{enumerable:!0,get:function(){return F.HttpRequest}});Object.defineProperty(B,"HttpResponse",{enumerable:!0,get:function(){return F.HttpResponse}});Object.defineProperty(B,"isValidHostname",{enumerable:!0,get:function(){return F.isValidHostname}});Object.defineProperty(B,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return F.getHttpHandlerExtensionConfiguration}});Object.defineProperty(B,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return F.resolveHttpHandlerRuntimeConfig}})});var Te=H((b)=>{Object.defineProperty(b,"__esModule",{value:!0});b.createAggregatedClient=b.convertMap=b._json=b.ServiceException=b.SENSITIVE_STRING=b.NoOpLogger=b.Command=b.Client=b.strictParseShort=b.strictParseLong=b.strictParseInt32=b.strictParseInt=b.strictParseFloat32=b.strictParseFloat=b.strictParseDouble=b.strictParseByte=b.splitHeader=b.splitEvery=b.quoteHeader=b.parseRfc7231DateTime=b.parseRfc3339DateTimeWithOffset=b.parseRfc3339DateTime=b.parseEpochTimestamp=b.parseBoolean=b.nv=b.logger=b.limitedParseFloat32=b.limitedParseFloat=b.limitedParseDouble=b.handleFloat=b.generateIdempotencyToken=b.expectUnion=b.expectString=b.expectShort=b.expectObject=b.expectNumber=b.expectNonNull=b.expectLong=b.expectInt32=b.expectInt=b.expectFloat32=b.expectByte=b.expectBoolean=b.dateToUtcString=b.copyDocumentWithTransform=b._parseRfc7231DateTime=b._parseRfc3339DateTimeWithOffset=b._parseEpochTimestamp=b.NumericValue=b.LazyJsonString=void 0;b.resolvedPath=b.extendedEncodeURIComponent=b.collectBody=b.withBaseException=b.throwDefaultError=b.take=b.serializeFloat=b.serializeDateTime=b.resolveDefaultRuntimeConfig=b.map=b.loadConfigsForDefaultMode=b.isSerializableHeaderValue=b.getValueFromTextNode=b.getDefaultExtensionConfiguration=b.getDefaultClientConfiguration=b.getArrayIfSingleItem=b.emitWarningIfUnsupportedVersion=b.decorateServiceException=void 0;var m=he();Object.defineProperty(b,"LazyJsonString",{enumerable:!0,get:function(){return m.LazyJsonString}});Object.defineProperty(b,"NumericValue",{enumerable:!0,get:function(){return m.NumericValue}});Object.defineProperty(b,"_parseEpochTimestamp",{enumerable:!0,get:function(){return m._parseEpochTimestamp}});Object.defineProperty(b,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return m._parseRfc3339DateTimeWithOffset}});Object.defineProperty(b,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return m._parseRfc7231DateTime}});Object.defineProperty(b,"copyDocumentWithTransform",{enumerable:!0,get:function(){return m.copyDocumentWithTransform}});Object.defineProperty(b,"dateToUtcString",{enumerable:!0,get:function(){return m.dateToUtcString}});Object.defineProperty(b,"expectBoolean",{enumerable:!0,get:function(){return m.expectBoolean}});Object.defineProperty(b,"expectByte",{enumerable:!0,get:function(){return m.expectByte}});Object.defineProperty(b,"expectFloat32",{enumerable:!0,get:function(){return m.expectFloat32}});Object.defineProperty(b,"expectInt",{enumerable:!0,get:function(){return m.expectInt}});Object.defineProperty(b,"expectInt32",{enumerable:!0,get:function(){return m.expectInt32}});Object.defineProperty(b,"expectLong",{enumerable:!0,get:function(){return m.expectLong}});Object.defineProperty(b,"expectNonNull",{enumerable:!0,get:function(){return m.expectNonNull}});Object.defineProperty(b,"expectNumber",{enumerable:!0,get:function(){return m.expectNumber}});Object.defineProperty(b,"expectObject",{enumerable:!0,get:function(){return m.expectObject}});Object.defineProperty(b,"expectShort",{enumerable:!0,get:function(){return m.expectShort}});Object.defineProperty(b,"expectString",{enumerable:!0,get:function(){return m.expectString}});Object.defineProperty(b,"expectUnion",{enumerable:!0,get:function(){return m.expectUnion}});Object.defineProperty(b,"generateIdempotencyToken",{enumerable:!0,get:function(){return m.generateIdempotencyToken}});Object.defineProperty(b,"handleFloat",{enumerable:!0,get:function(){return m.handleFloat}});Object.defineProperty(b,"limitedParseDouble",{enumerable:!0,get:function(){return m.limitedParseDouble}});Object.defineProperty(b,"limitedParseFloat",{enumerable:!0,get:function(){return m.limitedParseFloat}});Object.defineProperty(b,"limitedParseFloat32",{enumerable:!0,get:function(){return m.limitedParseFloat32}});Object.defineProperty(b,"logger",{enumerable:!0,get:function(){return m.logger}});Object.defineProperty(b,"nv",{enumerable:!0,get:function(){return m.nv}});Object.defineProperty(b,"parseBoolean",{enumerable:!0,get:function(){return m.parseBoolean}});Object.defineProperty(b,"parseEpochTimestamp",{enumerable:!0,get:function(){return m.parseEpochTimestamp}});Object.defineProperty(b,"parseRfc3339DateTime",{enumerable:!0,get:function(){return m.parseRfc3339DateTime}});Object.defineProperty(b,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return m.parseRfc3339DateTimeWithOffset}});Object.defineProperty(b,"parseRfc7231DateTime",{enumerable:!0,get:function(){return m.parseRfc7231DateTime}});Object.defineProperty(b,"quoteHeader",{enumerable:!0,get:function(){return m.quoteHeader}});Object.defineProperty(b,"splitEvery",{enumerable:!0,get:function(){return m.splitEvery}});Object.defineProperty(b,"splitHeader",{enumerable:!0,get:function(){return m.splitHeader}});Object.defineProperty(b,"strictParseByte",{enumerable:!0,get:function(){return m.strictParseByte}});Object.defineProperty(b,"strictParseDouble",{enumerable:!0,get:function(){return m.strictParseDouble}});Object.defineProperty(b,"strictParseFloat",{enumerable:!0,get:function(){return m.strictParseFloat}});Object.defineProperty(b,"strictParseFloat32",{enumerable:!0,get:function(){return m.strictParseFloat32}});Object.defineProperty(b,"strictParseInt",{enumerable:!0,get:function(){return m.strictParseInt}});Object.defineProperty(b,"strictParseInt32",{enumerable:!0,get:function(){return m.strictParseInt32}});Object.defineProperty(b,"strictParseLong",{enumerable:!0,get:function(){return m.strictParseLong}});Object.defineProperty(b,"strictParseShort",{enumerable:!0,get:function(){return m.strictParseShort}});var y=Ke();Object.defineProperty(b,"Client",{enumerable:!0,get:function(){return y.Client}});Object.defineProperty(b,"Command",{enumerable:!0,get:function(){return y.Command}});Object.defineProperty(b,"NoOpLogger",{enumerable:!0,get:function(){return y.NoOpLogger}});Object.defineProperty(b,"SENSITIVE_STRING",{enumerable:!0,get:function(){return y.SENSITIVE_STRING}});Object.defineProperty(b,"ServiceException",{enumerable:!0,get:function(){return y.ServiceException}});Object.defineProperty(b,"_json",{enumerable:!0,get:function(){return y._json}});Object.defineProperty(b,"convertMap",{enumerable:!0,get:function(){return y.convertMap}});Object.defineProperty(b,"createAggregatedClient",{enumerable:!0,get:function(){return y.createAggregatedClient}});Object.defineProperty(b,"decorateServiceException",{enumerable:!0,get:function(){return y.decorateServiceException}});Object.defineProperty(b,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return y.emitWarningIfUnsupportedVersion}});Object.defineProperty(b,"getArrayIfSingleItem",{enumerable:!0,get:function(){return y.getArrayIfSingleItem}});Object.defineProperty(b,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return y.getDefaultClientConfiguration}});Object.defineProperty(b,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return y.getDefaultExtensionConfiguration}});Object.defineProperty(b,"getValueFromTextNode",{enumerable:!0,get:function(){return y.getValueFromTextNode}});Object.defineProperty(b,"isSerializableHeaderValue",{enumerable:!0,get:function(){return y.isSerializableHeaderValue}});Object.defineProperty(b,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return y.loadConfigsForDefaultMode}});Object.defineProperty(b,"map",{enumerable:!0,get:function(){return y.map}});Object.defineProperty(b,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return y.resolveDefaultRuntimeConfig}});Object.defineProperty(b,"serializeDateTime",{enumerable:!0,get:function(){return y.serializeDateTime}});Object.defineProperty(b,"serializeFloat",{enumerable:!0,get:function(){return y.serializeFloat}});Object.defineProperty(b,"take",{enumerable:!0,get:function(){return y.take}});Object.defineProperty(b,"throwDefaultError",{enumerable:!0,get:function(){return y.throwDefaultError}});Object.defineProperty(b,"withBaseException",{enumerable:!0,get:function(){return y.withBaseException}});var A=Se();Object.defineProperty(b,"collectBody",{enumerable:!0,get:function(){return A.collectBody}});Object.defineProperty(b,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return A.extendedEncodeURIComponent}});Object.defineProperty(b,"resolvedPath",{enumerable:!0,get:function(){return A.resolvedPath}})});var oe=H((o)=>{Object.defineProperty(o,"__esModule",{value:!0});o.isBlob=o.isReadableStream=o.splitStream=o.sdkStreamMixin=o.headStream=o.getAwsChunkedEncodingStream=o.createBufferedReadable=o.createChecksumStream=o.ChecksumStream=o.Uint8ArrayBlobAdapter=void 0;var R=he();Object.defineProperty(o,"Uint8ArrayBlobAdapter",{enumerable:!0,get:function(){return R.Uint8ArrayBlobAdapter}});Object.defineProperty(o,"ChecksumStream",{enumerable:!0,get:function(){return R.ChecksumStream}});Object.defineProperty(o,"createChecksumStream",{enumerable:!0,get:function(){return R.createChecksumStream}});Object.defineProperty(o,"createBufferedReadable",{enumerable:!0,get:function(){return R.createBufferedReadable}});Object.defineProperty(o,"getAwsChunkedEncodingStream",{enumerable:!0,get:function(){return R.getAwsChunkedEncodingStream}});Object.defineProperty(o,"headStream",{enumerable:!0,get:function(){return R.headStream}});Object.defineProperty(o,"sdkStreamMixin",{enumerable:!0,get:function(){return R.sdkStreamMixin}});Object.defineProperty(o,"splitStream",{enumerable:!0,get:function(){return R.splitStream}});Object.defineProperty(o,"isReadableStream",{enumerable:!0,get:function(){return R.isReadableStream}});Object.defineProperty(o,"isBlob",{enumerable:!0,get:function(){return R.isBlob}})});var Re=H((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.createGetRequest=Ze;Ee.getCredentials=ze;var w=L(),Qe=Ce(),Xe=Te(),Ye=oe();function Ze(f){return new Qe.HttpRequest({protocol:f.protocol,hostname:f.hostname,port:Number(f.port),path:f.pathname,query:Array.from(f.searchParams.entries()).reduce((j,[d,g])=>{return j[d]=g,j},{}),fragment:f.hash})}async function ze(f,j){let g=await(0,Ye.sdkStreamMixin)(f.body).transformToString();if(f.statusCode===200){let O=JSON.parse(g);if(typeof O.AccessKeyId!=="string"||typeof O.SecretAccessKey!=="string"||typeof O.Token!=="string"||typeof O.Expiration!=="string")throw new w.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: { AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:j});return{accessKeyId:O.AccessKeyId,secretAccessKey:O.SecretAccessKey,sessionToken:O.Token,expiration:(0,Xe.parseRfc3339DateTime)(O.Expiration)}}if(f.statusCode>=400&&f.statusCode<500){let O={};try{O=JSON.parse(g)}catch(e){}throw Object.assign(new w.CredentialsProviderError(`Server responded with status: ${f.statusCode}`,{logger:j}),{Code:O.Code,Message:O.Message})}throw new w.CredentialsProviderError(`Server responded with status: ${f.statusCode}`,{logger:j})}});var Be=H((De)=>{Object.defineProperty(De,"__esModule",{value:!0});De.retryWrapper=void 0;var ke=(f,j,d)=>{return async()=>{for(let g=0;g<j;++g)try{return await f()}catch(O){await new Promise((e)=>setTimeout(e,d))}return await f()}};De.retryWrapper=ke});var Ue=H((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.fromHttp=void 0;var et=le(),tt=ve(),nt=_e(),Ne=L(),rt=et.__importDefault(xe("node:fs/promises")),ut=je(),Fe=Re(),ct=Be(),ft="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",bt="http://169.254.170.2",it="AWS_CONTAINER_CREDENTIALS_FULL_URI",at="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",mt="AWS_CONTAINER_AUTHORIZATION_TOKEN",Pt=(f={})=>{f.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let j,d=f.awsContainerCredentialsRelativeUri??process.env[ft],g=f.awsContainerCredentialsFullUri??process.env[it],O=f.awsContainerAuthorizationToken??process.env[mt],e=f.awsContainerAuthorizationTokenFile??process.env[at],t=f.logger?.constructor?.name==="NoOpLogger"||!f.logger?.warn?console.warn:f.logger.warn.bind(f.logger);if(d&&g)t("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."),t("awsContainerCredentialsFullUri will take precedence.");if(O&&e)t("@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."),t("awsContainerAuthorizationToken will take precedence.");if(g)j=g;else if(d)j=`${bt}${d}`;else throw new Ne.CredentialsProviderError(`No HTTP credential provider host provided.
|
|
5
|
+
Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:f.logger});let n=new URL(j);(0,ut.checkUrl)(n,f.logger);let r=nt.NodeHttpHandler.create({requestTimeout:f.timeout??1000,connectionTimeout:f.timeout??1000});return(0,ct.retryWrapper)(async()=>{let u=(0,Fe.createGetRequest)(n);if(O)u.headers.Authorization=O;else if(e)u.headers.Authorization=(await rt.default.readFile(e)).toString();try{let c=await r.handle(u);return(0,Fe.getCredentials)(c.response).then((i)=>(0,tt.setCredentialFeature)(i,"CREDENTIALS_HTTP","z"))}catch(c){throw new Ne.CredentialsProviderError(String(c),{logger:f.logger})}},f.maxRetries??3,f.timeout??1000)};Ie.fromHttp=Pt});var lt=H((K)=>{Object.defineProperty(K,"__esModule",{value:!0});K.fromHttp=void 0;var gt=Ue();Object.defineProperty(K,"fromHttp",{enumerable:!0,get:function(){return gt.fromHttp}})});export default lt();
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A_ as G,B_ as tt,C_ as pr,D_ as _r,F_ as Er,G_ as Sr,H_ as Rr,I_ as xr,J_ as vr,K_ as Kt,L_ as kt,M_ as er,N_ as Ur,O_ as Mr,o_ as F,p_ as Nr,q_ as Dr,r_ as br,s_ as Ge,t_ as Zt,u_ as Et,v_ as $r,w_ as Is,x_ as Ar,y_ as Fr,z_ as hs}from"./cli-1.1.26-kvy3vgrt.mjs";import{P_ as ps}from"./cli-1.1.26-r4ewzysx.mjs";import{Q_ as we}from"./cli-1.1.26-1mbz2mcm.mjs";import{Pta as dr,Qta as Z,Rta as Ce}from"./cli-1.1.26-rrq5hxxh.mjs";import{Sta as ir}from"./cli-1.1.26-c9m56qw1.mjs";import{Uta as Xe}from"./cli-1.1.26-qw49rw3y.mjs";import{_ta as ge,aua as S,cua as no,dua as X}from"./cli-1.1.26-zb5hq3ry.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.26-sh5v696c.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.26-sh5v696c.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}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V9 as a}from"./cli-1.1.26-vne421we.mjs";import"./cli-1.1.26-zb5hq3ry.mjs";export default a();
|