@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
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{J9 as P5,L9 as R7}from"./cli-1.1.25-njrez2x5.mjs";import{N9 as A,O9 as e8}from"./cli-1.1.25-eqtpax1f.mjs";import{d_ as a2,f_ as D7}from"./cli-1.1.25-h6ag26rc.mjs";import{$ea as S1,$fa as $0,Aga as N5,Bga as QZ,Cea as N,Cfa as n2,Dfa as S,E$ as P2,G$ as $Z,Gfa as D,Hha as n0,Kca as G8,Mfa as e1,Pea as x0,Tda as o1,U_ as A4,V_ as t,W_ as K5,X_ as L0,Y_ as C4,Yea as s4,Z_ as s5,_ea as JZ,_ga as l2,aea as H8,afa as m7,bga as Z4,bha as G4,c$ as H0,cga as R8,d$ as H1,fca as M1,gca as p7,gga as $4,hha as s2,kha as L,nha as J0,o$ as v2,r$ as ZZ,tca as z2,vga as B4,xea as P,xfa as c,xga as J4,zea as x5,zha as k}from"./cli-1.1.25-s54emewd.mjs";import{Fia as M0,Hia as h4,Ria as T1}from"./cli-1.1.25-sjqg08ww.mjs";import{Aka as U,Bka as _0,tka as A2,uka as l4,vka as B0,xka as G7,yka as H7}from"./cli-1.1.25-6vwz5vma.mjs";import{Cka as x,Fka as z5}from"./cli-1.1.25-vkg5fb0z.mjs";import{Fla as z,Hla as m0,Ila as Z0,jla as U2,nla as o8,rla as n5,vla as S7}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as g,fma as z1,kma as x1}from"./cli-1.1.25-6r6r7rep.mjs";import{nma as N2,qma as K,sma as u,uma as v5,yma as d}from"./cli-1.1.25-ntfm6tbg.mjs";import{$na as D1,Eqa as j5,Tpa as C,_na as Y0,_pa as I1,bpa as d1,bsa as Q0,ppa as r1,pqa as X1,qqa as V1,rqa as W1,sqa as j1,tpa as _4,ypa as y0,zpa as Z5}from"./cli-1.1.25-p9j8prqh.mjs";import{Asa as h,Bsa as t0}from"./cli-1.1.25-pzp73p0x.mjs";import{eta as v,wta as Y5}from"./cli-1.1.25-9yhnadye.mjs";import{Vta as E0,Xta as c5,Yta as R,Zta as r}from"./cli-1.1.25-7qxwpfwh.mjs";function C2(Z){let $=[],J=!1;async function Q(){if(J)return;if($.length===0)return;J=!0;while($.length>0){let{args:Y,resolve:q,reject:X,context:V}=$.shift();try{let j=await Z.apply(V,Y);q(j)}catch(j){X(j)}}if(J=!1,$.length>0)Q()}return function(...Y){return new Promise((q,X)=>{$.push({args:Y,resolve:q,reject:X,context:this}),Q()})}}var u2=()=>{};function p2(Z,$){return Z.find((J)=>J.includes($))??null}async function m2(){let{BedrockClient:Z}=await import("@aws-sdk/client-bedrock"),$=v5(),J=K(process.env.CLAUDIN_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await P5(),...J&&{requestHandler:new(await import("./index-1.1.25-xfdfregs.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.25-8z7y79bf.mjs")).NoAuthSigner}],httpAuthSchemeProvider:()=>[{schemeId:"smithy.api#noAuth"}]}};if(!J&&!process.env.AWS_BEARER_TOKEN_BEDROCK){let Y=await j0();if(Y)Q.credentials={accessKeyId:Y.accessKeyId,secretAccessKey:Y.secretAccessKey,sessionToken:Y.sessionToken}}return new Z(Q)}async function rZ(){let{BedrockRuntimeClient:Z}=await import("@aws-sdk/client-bedrock-runtime"),$=v5(),J=K(process.env.CLAUDIN_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await P5(),...J&&{requestHandler:new(await import("./index-1.1.25-xfdfregs.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.25-8z7y79bf.mjs")).NoAuthSigner}],httpAuthSchemeProvider:()=>[{schemeId:"smithy.api#noAuth"}]}};if(!J&&!process.env.AWS_BEARER_TOKEN_BEDROCK){let Y=await j0();if(Y)Q.credentials={accessKeyId:Y.accessKeyId,secretAccessKey:Y.secretAccessKey,sessionToken:Y.sessionToken}}return new Z(Q)}function w7(Z){return Z.startsWith("anthropic.")}function K7(Z){if(!Z.startsWith("arn:"))return Z;let $=Z.lastIndexOf("/");if($===-1)return Z;return Z.substring($+1)}function L7(Z){let $=K7(Z);for(let J of F7)if($.startsWith(`${J}.anthropic.`))return J;return}function eZ(Z,$){let J=L7(Z);if(J)return Z.replace(`${J}.`,`${$}.`);if(w7(Z))return`${$}.${Z}`;return Z}var g2,oZ,F7;var c2=R(()=>{t0();o();d();n0();R7();g2=h(async function(){let[Z,{ListInferenceProfilesCommand:$}]=await Promise.all([m2(),import("@aws-sdk/client-bedrock")]),J=[],Q;try{do{let Y=new $({...Q&&{nextToken:Q},typeEquals:"SYSTEM_DEFINED"}),q=await Z.send(Y);if(q.inferenceProfileSummaries)J.push(...q.inferenceProfileSummaries);Q=q.nextToken}while(Q);return J.filter((Y)=>Y.inferenceProfileId?.includes("anthropic")).map((Y)=>Y.inferenceProfileId).filter(Boolean)}catch(Y){throw k(Y),Y}});oZ=h(async function(Z){try{let[$,{GetInferenceProfileCommand:J}]=await Promise.all([m2(),import("@aws-sdk/client-bedrock")]),Q=new J({inferenceProfileIdentifier:Z}),Y=await $.send(Q);if(!Y.models||Y.models.length===0)return null;let q=Y.models[0];if(!q?.modelArn)return null;let X=q.modelArn.lastIndexOf("/");return X>=0?q.modelArn.substring(X+1):q.modelArn}catch($){return k($),null}});F7=["us","eu","apac","global"]});var O5,E5,y5,_5,h5,I5,T5,M5,S5,l0,s0,a0,N0,f5,A5,C5,U0,d2;var u5=R(()=>{O5={firstParty:"claude-3-7-sonnet-20250219",bedrock:"us.anthropic.claude-3-7-sonnet-20250219-v1:0",vertex:"claude-3-7-sonnet@20250219",foundry:"claude-3-7-sonnet",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},E5={firstParty:"claude-3-5-sonnet-20241022",bedrock:"anthropic.claude-3-5-sonnet-20241022-v2:0",vertex:"claude-3-5-sonnet-v2@20241022",foundry:"claude-3-5-sonnet",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},y5={firstParty:"claude-3-5-haiku-20241022",bedrock:"us.anthropic.claude-3-5-haiku-20241022-v1:0",vertex:"claude-3-5-haiku@20241022",foundry:"claude-3-5-haiku",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash-lite",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"ministral-3b-latest"},_5={firstParty:"claude-haiku-4-5-20251001",bedrock:"us.anthropic.claude-haiku-4-5-20251001-v1:0",vertex:"claude-haiku-4-5@20251001",foundry:"claude-haiku-4-5",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash-lite",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"ministral-3b-latest"},h5={firstParty:"claude-sonnet-4-20250514",bedrock:"us.anthropic.claude-sonnet-4-20250514-v1:0",vertex:"claude-sonnet-4@20250514",foundry:"claude-sonnet-4",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},I5={firstParty:"claude-sonnet-4-5-20250929",bedrock:"us.anthropic.claude-sonnet-4-5-20250929-v1:0",vertex:"claude-sonnet-4-5@20250929",foundry:"claude-sonnet-4-5",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},T5={firstParty:"claude-opus-4-20250514",bedrock:"us.anthropic.claude-opus-4-20250514-v1:0",vertex:"claude-opus-4@20250514",foundry:"claude-opus-4",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},M5={firstParty:"claude-opus-4-1-20250805",bedrock:"us.anthropic.claude-opus-4-1-20250805-v1:0",vertex:"claude-opus-4-1@20250805",foundry:"claude-opus-4-1",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},S5={firstParty:"claude-opus-4-5-20251101",bedrock:"us.anthropic.claude-opus-4-5-20251101-v1:0",vertex:"claude-opus-4-5@20251101",foundry:"claude-opus-4-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},l0={firstParty:"claude-opus-4-6",bedrock:"us.anthropic.claude-opus-4-6-v1",vertex:"claude-opus-4-6",foundry:"claude-opus-4-6",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},s0={firstParty:"claude-opus-4-7",bedrock:"us.anthropic.claude-opus-4-7-v1",vertex:"claude-opus-4-7",foundry:"claude-opus-4-7",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},a0={firstParty:"claude-opus-4-8",bedrock:"anthropic.claude-opus-4-8",vertex:"claude-opus-4-8",foundry:"claude-opus-4-8",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},N0={firstParty:"claude-opus-5",bedrock:"anthropic.claude-opus-5",vertex:"claude-opus-5",foundry:"claude-opus-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},f5={firstParty:"claude-fable-5-1",bedrock:"anthropic.claude-fable-5-1",vertex:"claude-fable-5-1",foundry:"claude-fable-5-1",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},A5={firstParty:"claude-sonnet-4-6",bedrock:"us.anthropic.claude-sonnet-4-6",vertex:"claude-sonnet-4-6",foundry:"claude-sonnet-4-6",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},C5={firstParty:"claude-sonnet-5",bedrock:"anthropic.claude-sonnet-5",vertex:"claude-sonnet-5",foundry:"claude-sonnet-5",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},U0={haiku35:y5,haiku45:_5,sonnet35:E5,sonnet37:O5,sonnet40:h5,sonnet45:I5,sonnet46:A5,sonnet5:C5,opus40:T5,opus41:M5,opus45:S5,opus46:l0,opus47:s0,opus48:a0,opus5:N0,fable51:f5},d2=Object.fromEntries(Object.entries(U0).map(([Z,$])=>[$.firstParty,Z]))});function i2(){return Object.values(r0)}var r0,g5;var p5=R(()=>{r0={"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",family:"gpt",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",family:"gpt",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2-Codex",family:"gpt-codex",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 mini",family:"gpt-mini",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:264000,output:64000}},"gpt-4o":{id:"gpt-4o",name:"GPT-4o",family:"gpt",attachment:!0,reasoning:!1,tool_call:!0,temperature:!0,knowledge:"2023-10",release_date:"2024-05-01",last_updated:"2024-08-06",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:128000,output:16384}},"gpt-4.1":{id:"gpt-4.1",name:"GPT-4.1",family:"gpt",attachment:!1,reasoning:!1,tool_call:!0,temperature:!0,knowledge:"2024-06",release_date:"2024-06-01",last_updated:"2024-06-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:128000,output:16384}},"claude-opus-4.7":{id:"claude-opus-4.7",name:"Claude Opus 4.7",family:"claude-opus",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2026-01",release_date:"2026-04-01",last_updated:"2026-04-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:32000}},"claude-sonnet-4.6":{id:"claude-sonnet-4.6",name:"Claude Sonnet 4.6",family:"claude-sonnet",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:32000}},"claude-haiku-4.5":{id:"claude-haiku-4.5",name:"Claude Haiku 4.5",family:"claude-haiku",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:144000,output:32768}},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",family:"gemini-pro",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image","audio"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:64000}},"grok-code-fast-1":{id:"grok-code-fast-1",name:"Grok Code Fast 1",family:"grok",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:256000,output:64000}}},g5=Object.fromEntries(Object.values(r0).map((Z)=>[Z.id,Z.name]))});var P0={};c5(P0,{prefetchCopilotModelCatalog:()=>i5,normalizeBareCopilotModelId:()=>d5,getEffectiveCopilotModels:()=>v7,getCopilotDisplayName:()=>P7,getCatalogCopilotMaxOutputTokens:()=>y7,getCatalogCopilotContextWindow:()=>E7,fetchCopilotModelCatalog:()=>o2,copilotModelSupportsAnthropicMessages:()=>O7,_setCopilotCatalogForTesting:()=>_7});function v0(){let Z=L();if(Z?.transport!=="github_copilot")return null;return(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,"")}function r2(){if(!e)return!1;let Z=v0();return Z!==null&&z0===Z}function k7(){if(t2)return;t2=!0,n2(()=>{let Z=v0();if(Z&&z0!==Z)i5()})}function d5(Z){let $=Z.split("?",1)[0]??Z,J=$.lastIndexOf(":"),Q=(J===-1?$:$.slice(J+1)).trim(),Y=Q.indexOf("/");return Y===-1?Q:Q.slice(Y+1)}function N7(Z){if(!Array.isArray(Z))return null;return Z.filter(($)=>typeof $==="string")}function U7(Z){let $=Z.id?.trim();if(!$)return null;let J=Z.capabilities?.type?.trim().toLowerCase();if(J&&J!=="chat")return null;if(Z.policy?.state==="disabled")return null;let Q=Z.capabilities?.limits??{},Y=Z.capabilities?.supports??{},q=Y.vision===!0||Boolean(Q.vision),X=Y.adaptive_thinking===!0||Array.isArray(Y.reasoning_effort)||typeof Y.max_thinking_budget==="number";return{model:{id:$,name:Z.name?.trim()||$,family:Z.capabilities?.family?.trim()||$,attachment:q,reasoning:X,tool_call:Y.tool_calls===!0,temperature:!0,knowledge:"",release_date:"",last_updated:"",modalities:{input:q?["text","image"]:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:Q.max_context_window_tokens??128000,...typeof Q.max_prompt_tokens==="number"?{input:Q.max_prompt_tokens}:{},output:Q.max_output_tokens??16384}},supportedEndpoints:N7(Z.supported_endpoints),pickerEnabled:Z.model_picker_enabled!==!1}}async function o2(){let Z=L();if(Z?.transport!=="github_copilot")return null;if(l2(Z.baseUrl)!=="copilot")return null;let $=Z.extras?.githubToken??Z.apiKey;if(!$)return null;let J=(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,""),Q=new AbortController,Y=setTimeout(()=>Q.abort(),b7);try{let q=await fetch(`${J}/models`,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${$}`,...a2},signal:Q.signal});if(!q.ok)return null;let X=await q.json();if(!Array.isArray(X?.data))return null;let V=new Set,j=[];for(let G of X.data){let H=U7(G);if(!H||V.has(H.model.id))continue;V.add(H.model.id),j.push(H)}return j.length>0?j:null}catch{return z("[CopilotCatalog] /models fetch failed — using hardcoded registry"),null}finally{clearTimeout(Y)}}function i5(){k7();let Z=v0();if(!Z)return;if(e&&z0!==Z)e=null,z0=null;if(o0){if(m5===Z)return;o0.finally(()=>i5());return}m5=Z,o0=o2().then(($)=>{if($&&v0()===Z)e=$,z0=Z}).finally(()=>{o0=null,m5=null})}function v7(){if(r2()){let Z=e?.filter(($)=>$.pickerEnabled).map(($)=>$.model);if(Z&&Z.length>0)return Z}return i2()}function e0(Z){if(!r2())return;let $=d5(Z);return e.find((J)=>J.model.id===$)}function P7(Z){let $=d5(Z);return e0($)?.model.name??r0[$]?.name}function O7(Z){let $=e0(Z);if(!$||$.supportedEndpoints===null)return null;return $.supportedEndpoints.some((J)=>J.includes("/v1/messages"))}function E7(Z){return e0(Z)?.model.limit.context}function y7(Z){return e0(Z)?.model.limit.output}function _7(Z){e=Z,z0=Z?v0():null}var b7=5000,e=null,z0=null,o0=null,m5=null,t2=!1;var O0=R(()=>{J0();D7();s2();$0();Z0();p5()});function W(){let Z=L();if(!Z)return"firstParty";switch(Z.transport){case"anthropic":return"firstParty";case"gemini":return"gemini";case"mistral":return"mistral";case"github_copilot":return"github";case"codex_responses":return"codex";case"bedrock":return"bedrock";case"vertex":return"vertex";case"foundry":return"foundry";case"openai_compat":{let $=Z.baseUrl?.toLowerCase()??"";if($.includes("nvidia"))return"nvidia-nim";if($.includes("minimax"))return"minimax";return"openai"}default:return"firstParty"}}function z$(){return W()==="firstParty"}function h7(Z){let $=L();if($?.transport!=="github_copilot")return!1;let J=Z?.trim()||$.model?.trim()||"";if(!J.toLowerCase().includes("claude-"))return!1;try{let{copilotModelSupportsAnthropicMessages:Q}=(O0(),E0(P0)),Y=Q(J);if(Y!==null)return Y}catch{}return!0}function x$(Z){let $=L()?.transport??"anthropic";if(!I7.has($))return!1;if($==="github_copilot"&&h7(Z))return!1;return!0}function B$(){return W()}function G$(){let Z=L();if(!Z)return!0;if(Z.transport!=="anthropic")return!1;let $=Z.baseUrl;if(!$)return!0;try{let J=new URL($).host;return["api.anthropic.com"].includes(J)}catch{return!1}}var I7;var i=R(()=>{J0();I7=new Set(["openai_compat","gemini","mistral","github_copilot","codex_responses"])});function $5(Z){let $=Z==="codex"||Z==="github"?"openai":Z,J={};for(let Q of Z1)J[Q]=U0[Q][$];return J}async function T7(){let Z=$5("bedrock"),$;try{$=await g2()}catch(Q){return k(Q),Z}if(!$?.length)return Z;let J={};for(let Q of Z1){let Y=U0[Q].firstParty;J[Q]=p2($,Y)||Z[Q]}return J}function e2(Z){let $=N().modelOverrides;if(!$)return Z;let J={...Z};for(let[Q,Y]of Object.entries($)){let q=d2[Q];if(q&&Y)J[q]=Y}return J}function J5(Z){let $;try{$=N().modelOverrides}catch{return Z}if(!$)return Z;for(let[J,Q]of Object.entries($))if(Q===Z)return J;return Z}function M7(){if(y0()!==null)return;if(W()!=="bedrock"){Z5($5(W()));return}$1()}function B(){let Z=y0();if(Z===null)return M7(),e2($5(W()));return e2(Z)}async function k$(){if(y0()!==null)return;if(W()!=="bedrock"){Z5($5(W()));return}await $1()}var Z1,$1;var Q5=R(()=>{Q0();n0();u2();x0();c2();u5();i();Z1=Object.keys(U0);$1=C2(async()=>{if(y0()!==null)return;try{let Z=await T7();Z5(Z)}catch(Z){k(Z)}})});function U$(Z){return Z}function v$(){return!1}function J1(){return null}function Q1(){return!1}var Y1=()=>{};async function I$(){let $=D().oauthAccount?.accountUuid,J=h0();if(!$||!J)return;let Q=`${U().BASE_API_URL}/api/claude_cli_profile`;try{return(await v.get(Q,{headers:{"x-api-key":J,"anthropic-beta":B0},params:{account_uuid:$},timeout:1e4})).data}catch(Y){k(Y)}}async function G0(Z){let $=`${U().BASE_API_URL}/api/oauth/profile`;try{return(await v.get($,{headers:{Authorization:`Bearer ${Z}`,"Content-Type":"application/json"},timeout:1e4})).data}catch(J){k(J)}}var t5=R(()=>{Y5();_0();o();$0();n0()});import{mkdirSync as f7,writeFileSync as A7}from"fs";function g7(Z,$,J){if(!K(process.env.CLAUDE_CODE_REMOTE))return;try{f7(q5,{recursive:!0,mode:448}),A7(Z,$,{encoding:"utf8",mode:384}),z(`Persisted ${J} to ${Z} for subprocess access`)}catch(Q){z(`Failed to persist ${J} to disk (non-fatal): ${g(Q)}`,{level:"error"})}}function q1(Z,$){try{let Q=n5().readFileSync(Z,{encoding:"utf8"}).trim();if(!Q)return null;return z(`Read ${$} from well-known file ${Z}`),Q}catch(J){if(!z1(J))z(`Failed to read ${$} from ${Z}: ${g(J)}`,{level:"debug"});return null}}function B1({envVar:Z,wellKnownPath:$,label:J,getCached:Q,setCached:Y}){let q=Q();if(q!==void 0)return q;let X=process.env[Z];if(!X){let j=q1($,J);return Y(j),j}let V=parseInt(X,10);if(Number.isNaN(V))return z(`${Z} must be a valid file descriptor number, got: ${X}`,{level:"error"}),Y(null),null;try{let j=n5(),G=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${V}`:`/proc/self/fd/${V}`,H=j.readFileSync(G,{encoding:"utf8"}).trim();if(!H)return z(`File descriptor contained empty ${J}`,{level:"error"}),Y(null),null;return z(`Successfully read ${J} from file descriptor ${V}`),Y(H),g7($,H,J),H}catch(j){z(`Failed to read ${J} from file descriptor ${V}: ${g(j)}`,{level:"error"});let G=q1($,J);return Y(G),G}}function X5(){return B1({envVar:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",wellKnownPath:C7,label:"OAuth token",getCached:X1,setCached:V1})}function l5(){return B1({envVar:"CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR",wellKnownPath:u7,label:"API key",getCached:W1,setCached:j1})}var q5="/home/claude/.claude/remote",C7,u7,g$;var G1=R(()=>{Q0();Z0();d();x1();S7();C7=`${q5}/.oauth_token`,u7=`${q5}/.api_key`,g$=`${q5}/.session_ingress_token`});async function R1(){if(process.platform==="darwin"){let Z=t();if((await H0(`security delete-generic-password -a $USER -s "${Z}"`,{shell:!0,reject:!1})).exitCode!==0)throw Error("Failed to delete keychain entry")}}function V5(Z){return Z.slice(-20)}var w1=R(()=>{H1();s5()});function t$(Z){return Z?.name==="CredentialsProviderError"}function F1(Z){if(!Z||typeof Z!=="object")return!1;let $=Z;if(!$.Credentials||typeof $.Credentials!=="object")return!1;let J=$.Credentials;return typeof J.AccessKeyId==="string"&&typeof J.SecretAccessKey==="string"&&typeof J.SessionToken==="string"&&J.AccessKeyId.length>0&&J.SecretAccessKey.length>0&&J.SessionToken.length>0}async function a5(){let{STSClient:Z,GetCallerIdentityCommand:$}=await import("@aws-sdk/client-sts");await new Z().send(new $({}))}async function K1(){try{z("Clearing AWS credential provider cache");let{fromIni:Z}=await import("@aws-sdk/credential-providers");await Z({ignoreCache:!0})(),z("AWS credential provider cache refreshed")}catch(Z){z("Failed to clear AWS credential cache (this is expected if no credentials are configured)")}}var L1=R(()=>{Z0()});class M{static instance=null;status={isAuthenticating:!1,output:[]};changed=Y0();static getInstance(){if(!M.instance)M.instance=new M;return M.instance}getStatus(){return{...this.status,output:[...this.status.output]}}startAuthentication(){this.status={isAuthenticating:!0,output:[]},this.changed.emit(this.getStatus())}addOutput(Z){this.status.output.push(Z),this.changed.emit(this.getStatus())}setError(Z){this.status.error=Z,this.changed.emit(this.getStatus())}endAuthentication(Z){if(Z)this.status={isAuthenticating:!1,output:[]};else this.status.isAuthenticating=!1;this.changed.emit(this.getStatus())}subscribe=this.changed.subscribe;static reset(){if(M.instance)M.instance.changed.clear(),M.instance=null}}var b1=R(()=>{D1()});var W5="claude-code-20250219",k1="interleaved-thinking-2025-05-14",I0="context-1m-2025-08-07",N1="context-management-2025-06-27",U1="structured-outputs-2025-12-15",r5="web-search-2025-03-05",v1="advanced-tool-use-2025-11-20",P1="tool-search-tool-2025-10-19",a$="effort-2025-11-24",r$="task-budgets-2026-03-13",O1="prompt-caching-scope-2026-01-05",o$="extended-cache-ttl-2025-04-11",e$="fast-mode-2026-02-01",E1="redact-thinking-2026-02-12",y1="thinking-token-count-2026-05-13",_1="token-efficient-tools-2026-03-28",ZJ="afk-mode-2026-01-31",$J="advisor-tool-2026-03-01",o5,JJ;var e5=R(()=>{o5=new Set(["interleaved-thinking-2025-05-14","context-1m-2025-08-07","tool-search-tool-2025-10-19"]),JJ=new Set(["claude-code-20250219","interleaved-thinking-2025-05-14","context-management-2025-06-27"])});function I(){if(W()!=="firstParty")return!1;return!K(process.env.CLAUDIN_DISABLE_FAST_MODE)}function f1(){if(!I())return!1;return d7()===null}function c7(Z,$){switch(Z){case"free":return $==="oauth"?"Fast mode requires a paid subscription":"Fast mode unavailable during evaluation. Please purchase credits.";case"preference":return"Fast mode has been disabled by your organization";case"extra_usage_disabled":return"Fast mode requires extra usage billing · /extra-usage to enable";case"network_error":return"Fast mode unavailable due to network connectivity issues";case"unknown":return"Fast mode is currently unavailable"}}function d7(){if(W()!=="firstParty")return"Fast mode is not available on third-party providers";if(!I())return"Fast mode is not available";let Z=M0("tengu_penguins_off",null);if(Z!==null)return z(`Fast mode unavailable: ${Z}`),Z;if(!M1()&&M0("tengu_marble_sandcastle",!1))return"Fast mode requires the native binary · Install from: https://claude.com/product/claude-code";if(C()&&j5()&&!I1()){if(!P("flagSettings")?.fastMode)return z("Fast mode unavailable: Fast mode is not available in the Agent SDK"),"Fast mode is not available in the Agent SDK"}if(E.status==="disabled"){if(E.reason==="network_error"||E.reason==="unknown"){if(K(process.env.CLAUDIN_SKIP_FAST_MODE_NETWORK_ERRORS))return null}let $=w()!==null?"oauth":"api-key",J=c7(E.reason,$);return z(`Fast mode unavailable: ${J}`),J}return null}function DJ(){let Z=B5(X0());return"opus"+(J2()&&!Z?"[1m]":"")}function bJ(Z){if(!I())return!1;if(!f1())return!1;if(!A1(Z))return!1;let $=N();if($.fastModePerSessionOptIn)return!1;return $.fastMode===!0}function A1(Z){if(!I())return!1;let $=Z??S0(),J=T($).toLowerCase();return J.includes("opus-5")||J.includes("opus-4-7")||J.includes("opus-4-6")}function i7(){if(R0.status==="cooldown"&&Date.now()>=R0.resetAt){if(I()&&!Z2)z("Fast mode cooldown expired, re-enabling fast mode"),Z2=!0,u1.emit();R0={status:"active"}}return R0}function UJ(Z,$){if(!I())return;R0={status:"cooldown",resetAt:Z,reason:$},Z2=!1;let J=Z-Date.now();z(`Fast mode cooldown triggered (${$}), duration ${Math.round(J/1000)}s`),x("",{cooldown_duration_ms:J,cooldown_reason:$}),C1.emit(Z,$)}function vJ(){R0={status:"active"}}function PJ(){if(E.status==="disabled")return;E={status:"disabled",reason:"preference"},x5("userSettings",{fastMode:void 0}),S((Z)=>({...Z,penguinModeOrgEnabled:!1})),$2.emit(!1)}function t7(Z){switch(Z){case"out_of_credits":return"Fast mode disabled · extra usage credits exhausted";case"org_level_disabled":case"org_service_level_disabled":return"Fast mode disabled · extra usage disabled by your organization";case"org_level_disabled_until":return"Fast mode disabled · extra usage spending cap reached";case"member_level_disabled":return"Fast mode disabled · extra usage disabled for your account";case"seat_tier_level_disabled":case"seat_tier_zero_credit_limit":case"member_zero_credit_limit":return"Fast mode disabled · extra usage not available for your plan";case"overage_not_provisioned":case"no_limits_configured":return"Fast mode requires extra usage billing · /extra-usage to enable";default:return"Fast mode disabled · extra usage not available"}}function n7(Z){return Z==="org_level_disabled_until"||Z==="out_of_credits"}function EJ(Z){let $=t7(Z);if(z(`Fast mode overage rejection: ${Z??"unknown"} — ${$}`),x("",{overage_disabled_reason:Z??"unknown"}),!n7(Z))x5("userSettings",{fastMode:void 0}),S((J)=>({...J,penguinModeOrgEnabled:!1}));g1.emit($)}function l7(){return i7().status==="cooldown"}function yJ(Z,$){let J=I()&&f1()&&!!$&&A1(Z);if(J&&l7())return"cooldown";if(J)return"on";return"off"}async function s7(Z){let $=`${U().BASE_API_URL}/api/claude_code_penguin_mode`,J="accessToken"in Z?{Authorization:`Bearer ${Z.accessToken}`,"anthropic-beta":B0}:{"x-api-key":Z.apiKey};return(await v.get($,{headers:J})).data}function hJ(){if(!I())return;if(E.status!=="pending")return;E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"unknown"}}async function IJ(){if(S1())return;if(!I())return;if(T0)return z("Fast mode prefetch in progress, returning in-flight promise"),T0;let Z=h0();if(!(w()?.accessToken&&q0())&&!Z){E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"preference"};return}let J=Date.now();if(J-h1<a7){z("Skipping fast mode prefetch, fetched recently");return}h1=J;let Q=async()=>{let q=w(),X=q?.accessToken&&q0()?{accessToken:q.accessToken}:Z?{apiKey:Z}:null;if(!X)throw Error("No auth available");return s7(X)};async function Y(){try{let q;try{q=await Q()}catch(V){if(v.isAxiosError(V)&&(V.response?.status===401||V.response?.status===403&&typeof V.response?.data==="string"&&V.response.data.includes("OAuth token has been revoked"))){let G=w()?.accessToken;if(G)await Q2(G),q=await Q();else throw V}else throw V}let X=E.status!=="pending"?E.status==="enabled":D().penguinModeOrgEnabled;if(E=q.enabled?{status:"enabled"}:{status:"disabled",reason:q.disabled_reason??"preference"},X!==q.enabled){if(!q.enabled)x5("userSettings",{fastMode:void 0});S((V)=>({...V,penguinModeOrgEnabled:q.enabled})),$2.emit(q.enabled)}z(`Org fast mode: ${q.enabled?"enabled":`disabled (${q.disabled_reason??"preference"})`}`)}catch(q){E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"network_error"},z(`Failed to fetch org fast mode status, defaulting to ${E.status==="enabled"?"enabled (cached)":"disabled (network_error)"}: ${q}`,{level:"error"}),x("",{})}finally{T0=null}}return T0=Y(),T0}var LJ="Opus 5",R0,Z2=!1,C1,u1,kJ,NJ,g1,OJ,E,$2,_J,a7=30000,h1=0,T0=null;var p1=R(()=>{Y5();_0();T1();Q0();z5();o();p7();$0();Z0();d();w0();i();m7();x0();D1();R0={status:"active"},C1=Y0(),u1=Y0(),kJ=C1.subscribe,NJ=u1.subscribe;g1=Y0(),OJ=g1.subscribe;E={status:"pending"},$2=Y0(),_J=$2.subscribe});function Y8(Z){for(let $ of Q8)if($.pattern.test(Z))return $.cost;return}function q2(Z){if(I()&&Z)return i1;return n}function X2(Z){if(I()&&Z)return i1;return Y2[F(N0.firstParty)]??n}function q8(Z,$){let J=Z.promptCacheWrite1hTokens??Z.promptCacheWriteTokens,Q=$.cache_creation,Y=Q?(Q.ephemeral_5m_input_tokens??0)/1e6*Z.promptCacheWriteTokens+(Q.ephemeral_1h_input_tokens??0)/1e6*J:($.cache_creation_input_tokens??0)/1e6*Z.promptCacheWriteTokens;return $.input_tokens/1e6*Z.inputTokens+$.output_tokens/1e6*Z.outputTokens+($.cache_read_input_tokens??0)/1e6*Z.promptCacheReadTokens+Y+($.server_tool_use?.web_search_requests??0)*Z.webSearchRequests}function X8(Z,$){let J=b(Z);if(J===F(l0.firstParty)||J===F(s0.firstParty)||J===F(a0.firstParty)){let Y=$.speed==="fast";return q2(Y)}if(J===F(N0.firstParty))return X2($.speed==="fast");let Q=Y2[J];if(!Q){let Y=Y8(Z);if(Y)return Y;return V8(Z,J),Y2[b(S0())]??J8}return Q}function V8(Z,$){x("",{model:Z,shortName:$}),d1()}function W8(Z,$){let J=X8(Z,$);return q8(J,$)}function uJ(Z,$){let J={input_tokens:$.inputTokens,output_tokens:$.outputTokens,cache_read_input_tokens:$.cacheReadInputTokens,cache_creation_input_tokens:$.cacheCreationInputTokens};return W8(Z,J)}function c1(Z){if(Number.isInteger(Z))return`$${Z}`;return`$${Z.toFixed(2)}`}function V2(Z){return`${c1(Z.inputTokens)}/${c1(Z.outputTokens)} per Mtok`}var r7,f0,m1,n,o7,e7,i1,Z8,$8,J8,Q8,Y2;var t1=R(()=>{z5();Q0();p1();u5();w0();r7={inputTokens:2,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheWrite1hTokens:4,promptCacheReadTokens:0.2,webSearchRequests:0.01},f0={inputTokens:3,outputTokens:15,promptCacheWriteTokens:3.75,promptCacheWrite1hTokens:6,promptCacheReadTokens:0.3,webSearchRequests:0.01},m1={inputTokens:15,outputTokens:75,promptCacheWriteTokens:18.75,promptCacheWrite1hTokens:30,promptCacheReadTokens:1.5,webSearchRequests:0.01},n={inputTokens:5,outputTokens:25,promptCacheWriteTokens:6.25,promptCacheWrite1hTokens:10,promptCacheReadTokens:0.5,webSearchRequests:0.01},o7={inputTokens:10,outputTokens:50,promptCacheWriteTokens:12.5,promptCacheWrite1hTokens:20,promptCacheReadTokens:0.25,webSearchRequests:0.01},e7={inputTokens:10,outputTokens:50,promptCacheWriteTokens:12.5,promptCacheWrite1hTokens:20,promptCacheReadTokens:1,webSearchRequests:0.01},i1={inputTokens:30,outputTokens:150,promptCacheWriteTokens:37.5,promptCacheWrite1hTokens:60,promptCacheReadTokens:3,webSearchRequests:0.01},Z8={inputTokens:0.8,outputTokens:4,promptCacheWriteTokens:1,promptCacheWrite1hTokens:1.6,promptCacheReadTokens:0.08,webSearchRequests:0.01},$8={inputTokens:1,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheWrite1hTokens:2,promptCacheReadTokens:0.1,webSearchRequests:0.01},J8=n,Q8=[{pattern:/gpt-5-nano/i,label:"gpt-5-nano",cost:{inputTokens:0.05,outputTokens:0.4,promptCacheWriteTokens:0.05,promptCacheReadTokens:0.005,webSearchRequests:0}},{pattern:/gpt-5-mini/i,label:"gpt-5-mini",cost:{inputTokens:0.25,outputTokens:2,promptCacheWriteTokens:0.25,promptCacheReadTokens:0.025,webSearchRequests:0}},{pattern:/gpt-5/i,label:"gpt-5",cost:{inputTokens:1.25,outputTokens:10,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gpt-4o-mini/i,label:"gpt-4o-mini",cost:{inputTokens:0.15,outputTokens:0.6,promptCacheWriteTokens:0.15,promptCacheReadTokens:0.075,webSearchRequests:0}},{pattern:/gpt-4o/i,label:"gpt-4o",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:1.25,webSearchRequests:0}},{pattern:/gpt-4\.1/i,label:"gpt-4.1",cost:{inputTokens:2,outputTokens:8,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/o4-mini/i,label:"o4-mini",cost:{inputTokens:0.55,outputTokens:2.2,promptCacheWriteTokens:0.55,promptCacheReadTokens:0.275,webSearchRequests:0}},{pattern:/\bo3\b/i,label:"o3",cost:{inputTokens:15,outputTokens:60,promptCacheWriteTokens:15,promptCacheReadTokens:7.5,webSearchRequests:0}},{pattern:/\bo1\b/i,label:"o1",cost:{inputTokens:15,outputTokens:60,promptCacheWriteTokens:15,promptCacheReadTokens:7.5,webSearchRequests:0}},{pattern:/gemini.*2\.5.*pro/i,label:"gemini-2.5-pro",cost:{inputTokens:1.25,outputTokens:10,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gemini.*2\.5.*flash/i,label:"gemini-2.5-flash",cost:{inputTokens:0.3,outputTokens:2.5,promptCacheWriteTokens:0.3,promptCacheReadTokens:0.03,webSearchRequests:0}},{pattern:/gemini.*flash/i,label:"gemini-flash",cost:{inputTokens:0.1,outputTokens:0.4,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.025,webSearchRequests:0}},{pattern:/gemini.*pro/i,label:"gemini-pro",cost:{inputTokens:1.25,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gemini/i,label:"gemini",cost:{inputTokens:0.3,outputTokens:2.5,promptCacheWriteTokens:0.3,promptCacheReadTokens:0.03,webSearchRequests:0}},{pattern:/deepseek/i,label:"deepseek",cost:{inputTokens:0.14,outputTokens:0.28,promptCacheWriteTokens:0.14,promptCacheReadTokens:0.0028,webSearchRequests:0}},{pattern:/kimi-for-coding/i,label:"kimi-for-coding",cost:{inputTokens:1,outputTokens:2,promptCacheWriteTokens:1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/kimi/i,label:"kimi",cost:{inputTokens:0.6,outputTokens:2.5,promptCacheWriteTokens:0.6,promptCacheReadTokens:0.06,webSearchRequests:0}},{pattern:/moonshot/i,label:"moonshot",cost:{inputTokens:0.6,outputTokens:2.5,promptCacheWriteTokens:0.6,promptCacheReadTokens:0.06,webSearchRequests:0}},{pattern:/devstral/i,label:"devstral",cost:{inputTokens:0.1,outputTokens:0.3,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/mistral.*large.*3/i,label:"mistral-large-3",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/mistral.*large/i,label:"mistral-large",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:2,webSearchRequests:0}},{pattern:/mistral.*medium/i,label:"mistral-medium",cost:{inputTokens:0.4,outputTokens:2,promptCacheWriteTokens:0.4,promptCacheReadTokens:0.4,webSearchRequests:0}},{pattern:/mistral.*small/i,label:"mistral-small",cost:{inputTokens:0.1,outputTokens:0.3,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/ministral.*8b/i,label:"ministral-8b",cost:{inputTokens:0.1,outputTokens:0.1,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/ministral.*3b/i,label:"ministral-3b",cost:{inputTokens:0.04,outputTokens:0.04,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/llama.*405/i,label:"llama-405b",cost:{inputTokens:3.5,outputTokens:3.5,promptCacheWriteTokens:3.5,promptCacheReadTokens:3.5,webSearchRequests:0}},{pattern:/llama.*70/i,label:"llama-70b",cost:{inputTokens:0.59,outputTokens:0.79,promptCacheWriteTokens:0.59,promptCacheReadTokens:0.59,webSearchRequests:0}},{pattern:/llama.*8b/i,label:"llama-8b",cost:{inputTokens:0.1,outputTokens:0.1,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/qwen/i,label:"qwen",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/minimax/i,label:"minimax",cost:{inputTokens:0.2,outputTokens:1.1,promptCacheWriteTokens:0.2,promptCacheReadTokens:0.2,webSearchRequests:0}},{pattern:/\bglm/i,label:"glm",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/grok.*4.*fast/i,label:"grok-4-fast",cost:{inputTokens:0.2,outputTokens:0.5,promptCacheWriteTokens:0.2,promptCacheReadTokens:0.05,webSearchRequests:0}},{pattern:/grok.*4\.20/i,label:"grok-4.20",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/grok.*4/i,label:"grok-4",cost:{inputTokens:3,outputTokens:15,promptCacheWriteTokens:3,promptCacheReadTokens:0.75,webSearchRequests:0}},{pattern:/grok/i,label:"grok",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/command-?r-?plus|command-r\+/i,label:"command-r-plus",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:2.5,webSearchRequests:0}},{pattern:/command-?a\b/i,label:"command-a",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:2.5,webSearchRequests:0}},{pattern:/command-?r7b/i,label:"command-r7b",cost:{inputTokens:0.0375,outputTokens:0.15,promptCacheWriteTokens:0.0375,promptCacheReadTokens:0.0375,webSearchRequests:0}},{pattern:/command-?r/i,label:"command-r",cost:{inputTokens:0.15,outputTokens:0.6,promptCacheWriteTokens:0.15,promptCacheReadTokens:0.15,webSearchRequests:0}},{pattern:/gemma.*27b/i,label:"gemma-27b",cost:{inputTokens:0.08,outputTokens:0.16,promptCacheWriteTokens:0.08,promptCacheReadTokens:0.08,webSearchRequests:0}},{pattern:/gemma.*12b/i,label:"gemma-12b",cost:{inputTokens:0.04,outputTokens:0.13,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/gemma/i,label:"gemma",cost:{inputTokens:0.04,outputTokens:0.08,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/phi-?4-?mini/i,label:"phi-4-mini",cost:{inputTokens:0.075,outputTokens:0.3,promptCacheWriteTokens:0.075,promptCacheReadTokens:0.075,webSearchRequests:0}},{pattern:/phi-?4/i,label:"phi-4",cost:{inputTokens:0.13,outputTokens:0.5,promptCacheWriteTokens:0.13,promptCacheReadTokens:0.13,webSearchRequests:0}},{pattern:/\bphi\b/i,label:"phi",cost:{inputTokens:0.13,outputTokens:0.5,promptCacheWriteTokens:0.13,promptCacheReadTokens:0.13,webSearchRequests:0}}];Y2={[F(y5.firstParty)]:Z8,[F(_5.firstParty)]:$8,[F(E5.firstParty)]:f0,[F(O5.firstParty)]:f0,[F(h5.firstParty)]:f0,[F(I5.firstParty)]:f0,[F(A5.firstParty)]:f0,[F(C5.firstParty)]:r7,[F(T5.firstParty)]:m1,[F(M5.firstParty)]:m1,[F(S5.firstParty)]:n,[F(l0.firstParty)]:n,[F(s0.firstParty)]:n,[F(a0.firstParty)]:n,[F(N0.firstParty)]:n,[F(f5.firstParty)]:o7,"claude-fable-5":e7}});function p(Z){return j8.includes(Z)}function F0(Z){return z8.includes(Z)}var j8,z8;var W2=R(()=>{j8=["sonnet","opus","haiku","fable","best","sonnet[1m]","opus[1m]","opusplan"];z8=["sonnet","opus","haiku"]});function x8(Z,$){if(Z.includes($))return!0;if(p(Z))return T(Z).toLowerCase().includes($);return!1}function n1(Z,$){if(!Z.startsWith($))return!1;return Z.length===$.length||Z[$.length]==="-"}function B8(Z,$){let J=p(Z)?T(Z).toLowerCase():Z;if(n1(J,$))return!0;if(!$.startsWith("claude-")&&n1(J,`claude-${$}`))return!0;return!1}function l1(Z,$){for(let J of $){if(F0(J))continue;let Q=J.indexOf(Z);if(Q===-1)continue;let Y=Q+Z.length;if(Y===J.length||J[Y]==="-")return!0}return!1}function s1(Z){let $=N()||{},{availableModels:J}=$;if(!J)return!0;if(J.length===0)return!1;let Y=J5(Z).trim().toLowerCase(),q=J.map((X)=>X.trim().toLowerCase());if(q.includes(Y)){if(!F0(Y)||!l1(Y,q))return!0}for(let X of q)if(F0(X)&&!l1(X,q)&&x8(Y,X))return!0;if(p(Y)){let X=T(Y).toLowerCase();if(q.includes(X))return!0}for(let X of q)if(!F0(X)&&p(X)){if(T(X).toLowerCase()===Y)return!0}for(let X of q)if(!F0(X)&&!p(X)){if(B8(Y,X))return!0}return!1}var a1=R(()=>{x0();W2();w0();Q5()});function G5(Z){if(typeof Z!=="string")return;let $=Z.trim();return $.length>0?$:void 0}function K0(){let Z=L();if(!Z?.model)return;return Z4(Z.model)}function z9(){if(process.env.ANTHROPIC_SMALL_FAST_MODEL)return process.env.ANTHROPIC_SMALL_FAST_MODEL;let Z=K0();if(W()==="gemini")return Z||"gemini-2.0-flash-lite";if(W()==="mistral")return Z||"ministral-3b-latest";if(W()==="openai")return Z||"gpt-4o-mini";if(W()==="codex")return Z||"codexspark";if(W()==="github")return Z||"github:copilot";if(W()==="nvidia-nim")return Z||"meta/llama-3.1-8b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.5-highspeed";return Q4()}function x9(Z){return Z===B().opus40||Z===B().opus41||Z===B().opus45||Z===B().opus46||Z===B().opus47||Z===B().opus48||Z===B().opus5}function B5(Z){let $=b(Z);return $.includes("opus-5")||$.includes("sonnet-5")||$.includes("fable-5")}function j2(){let Z,$=r1();if($!==void 0)Z=$;else{let J=N()||{},Q=G5(J.model),q=K0()||Q||void 0,X=e1(),V=G5(X.activeModelForProject);if(V){let j=$4()?.id,G=X.activeModelForProjectProfileId;Z=G===void 0||G===j?V:q}else Z=q}if(Z&&!s1(Z))return;return Z}function B9(){let Z=j2();if(Z!==void 0&&Z!==null)return T(Z);return Y4()}function w8(){return X0()}function X0(){if(process.env.ANTHROPIC_DEFAULT_OPUS_MODEL)return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;let Z=K0();if(W()==="gemini")return Z||"gemini-2.5-pro";if(W()==="mistral")return Z||"devstral-latest";if(W()==="openai")return Z||"gpt-4o";if(W()==="codex")return Z||"gpt-5.5";if(W()==="github")return Z||"github:copilot";if(W()==="nvidia-nim")return Z||"nvidia/llama-3.1-nemotron-70b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.7";if(W()!=="firstParty")return B().opus46;return B().opus5}function A0(){if(process.env.ANTHROPIC_DEFAULT_SONNET_MODEL)return process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;let Z=K0();if(W()==="gemini")return Z||"gemini-2.0-flash";if(W()==="mistral")return Z||"mistral-medium-latest";if(W()==="openai")return Z||"gpt-4o";if(W()==="codex")return Z||"gpt-5.5";if(W()==="github")return Z||"github:copilot";if(W()==="nvidia-nim")return Z||"nvidia/llama-3.1-nemotron-70b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.5";if(W()!=="firstParty")return B().sonnet45;return B().sonnet5}function Q4(){if(process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL)return process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;let Z=K0();if(W()==="mistral")return Z||"ministral-3b-latest";if(W()==="openai")return Z||"gpt-4o-mini";if(W()==="codex")return Z||"gpt-5.5";if(W()==="github")return Z||"github:copilot";if(W()==="gemini")return Z||"gemini-2.0-flash-lite";if(W()==="nvidia-nim")return Z||"meta/llama-3.1-8b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.5-highspeed";return B().haiku45}function G9(Z){let{permissionMode:$,mainLoopModel:J,exceeds200kTokens:Q=!1}=Z;if(j2()==="opusplan"&&$==="plan"&&!Q)return X0();if(j2()==="haiku"&&$==="plan")return A0();return J}function S0(){let Z=K0();if(W()==="github"){let $=N()||{};return G5($.model)||Z||"github:copilot"}if(W()==="gemini")return Z||"gemini-2.0-flash";if(W()==="mistral")return Z||"devstral-latest";if(W()==="openai")return Z||"gpt-4o";if(W()==="codex")return Z||"gpt-5.5";if(H5()||R5()){let $=X0();return $+(J2()&&!B5($)?"[1m]":"")}return A0()}function Y4(){return T(S0())}function F(Z){if(Z=Z.toLowerCase(),Z.includes("claude-fable-5-1"))return"claude-fable-5-1";if(Z.includes("claude-fable-5"))return"claude-fable-5";if(Z.includes("claude-opus-5"))return"claude-opus-5";if(Z.includes("claude-opus-4-8"))return"claude-opus-4-8";if(Z.includes("claude-opus-4-7"))return"claude-opus-4-7";if(Z.includes("claude-opus-4-6"))return"claude-opus-4-6";if(Z.includes("claude-opus-4-5"))return"claude-opus-4-5";if(Z.includes("claude-opus-4-1"))return"claude-opus-4-1";if(Z.includes("claude-opus-4"))return"claude-opus-4";if(Z.includes("claude-sonnet-5"))return"claude-sonnet-5";if(Z.includes("claude-sonnet-4-6"))return"claude-sonnet-4-6";if(Z.includes("claude-sonnet-4-5"))return"claude-sonnet-4-5";if(Z.includes("claude-sonnet-4"))return"claude-sonnet-4";if(Z.includes("claude-haiku-4-5"))return"claude-haiku-4-5";if(Z.includes("claude-3-7-sonnet"))return"claude-3-7-sonnet";if(Z.includes("claude-3-5-sonnet"))return"claude-3-5-sonnet";if(Z.includes("claude-3-5-haiku"))return"claude-3-5-haiku";if(Z.includes("claude-3-opus"))return"claude-3-opus";if(Z.includes("claude-3-sonnet"))return"claude-3-sonnet";if(Z.includes("claude-3-haiku"))return"claude-3-haiku";let $=Z.match(/(claude-(\d+-\d+-)?\w+)/);if($&&$[1])return $[1];return Z}function b(Z){return F(J5(Z))}function F8(Z=!1){if(H5()||R5())return`Opus 5 · Most capable for complex work${Z?K8(!0):""}`;return"Sonnet 5 · Best for everyday tasks"}function H9(Z){if(Z==="opusplan")return"Opus 5 in plan mode, else Sonnet 5";return X4(T(Z))}function R9(Z){if(W()!=="firstParty")return"";let $=V2(q2(Z));return` ·${Z?` (${z2})`:""} ${$}`}function K8(Z){if(W()!=="firstParty")return"";let $=V2(X2(Z));return` ·${Z?` (${z2})`:""} ${$}`}function J2(){if(V0()||G2()||W()!=="firstParty")return!1;if(y()&&f()===null)return!1;return!0}function w9(Z){if(Z==="opusplan")return"Opus Plan";if(Z==="codexplan")return"codexplan (gpt-5.5)";if(Z==="codexspark")return"codexspark (gpt-5.3-codex-spark)";if(p(Z))return o1(Z);return X4(Z)}function q4(Z){if(W()==="openai"||W()==="gemini"||W()==="codex"||W()==="github"){if(g5[Z])return g5[Z];if(W()==="github"){let{getCopilotDisplayName:$}=(O0(),E0(P0));return $(Z)??null}return null}switch(Z){case"gpt-5.5":return"GPT-5.5";case"gpt-5.4":return"GPT-5.4";case"gpt-5.3-codex-spark":return"GPT-5.3 Codex Spark";case B().fable51:return"Fable 5.1";case B().opus5:return"Opus 5";case B().opus48:return"Opus 4.8";case B().opus48+"[1m]":return"Opus 4.8 (1M context)";case B().opus47:return"Opus 4.7";case B().opus47+"[1m]":return"Opus 4.7 (1M context)";case B().opus46:return"Opus 4.6";case B().opus46+"[1m]":return"Opus 4.6 (1M context)";case B().opus45:return"Opus 4.5";case B().opus41:return"Opus 4.1";case B().opus40:return"Opus 4";case B().sonnet5:return"Sonnet 5";case B().sonnet46+"[1m]":return"Sonnet 4.6 (1M context)";case B().sonnet46:return"Sonnet 4.6";case B().sonnet45+"[1m]":return"Sonnet 4.5 (1M context)";case B().sonnet45:return"Sonnet 4.5";case B().sonnet40:return"Sonnet 4";case B().sonnet40+"[1m]":return"Sonnet 4 (1M context)";case B().sonnet37:return"Sonnet 3.7";case B().sonnet35:return"Sonnet 3.5";case B().haiku45:return"Haiku 4.5";case B().haiku35:return"Haiku 3.5";default:return null}}function X4(Z){let $=q4(Z);if($)return $;if(Z==="github:copilot")return"GPT-4o";return Z}function F9(Z){let $=q4(Z);if($)return`Claude ${$}`;return`Claude (${Z})`}function T(Z){let $=G5(Z);if(!$)return A0();let J=$.toLowerCase(),Q=l(J),Y=Q?J.replace(/\[1m]$/i,"").trim():J;if(p(Y)){let q=(X)=>Q&&!B5(X)?X+"[1m]":X;switch(Y){case"opusplan":return q(A0());case"sonnet":return q(A0());case"haiku":return q(Q4());case"opus":return q(X0());case"best":return w8();default:}}if(Y==="codexplan")return"gpt-5.5";if(Y==="codexspark")return"gpt-5.3-codex-spark";if(Y==="fable"||Y==="fable5"||Y==="fable51")return B().fable51;if(W()==="firstParty"&&D8(Y)&&b8())return X0()+(Q?"[1m]":"");if(Q)return $.replace(/\[1m\]$/i,"").trim()+"[1m]";return $}function K9(Z,$){if(l(Z)||!l($))return Z;if(x2(T(Z)))return Z+"[1m]";return Z}function D8(Z){return L8.includes(Z)}function b8(){return!K(process.env.CLAUDIN_DISABLE_LEGACY_MODEL_REMAP)}function L9(Z){if(Z===null){if(y())return`Default (${F8()})`;return`Default (${Y4()})`}let $=T(Z);return Z===$?$:`${Z} (${$})`}function D9(Z){if(W()==="foundry")return;let $=Z.toLowerCase().includes("[1m]"),J=b(Z);if(J.includes("claude-fable-5-1"))return"Fable 5.1";if(J.includes("claude-fable-5"))return"Fable 5";if(J.includes("claude-opus-5"))return"Opus 5";if(J.includes("claude-opus-4-8"))return $?"Opus 4.8 (with 1M context)":"Opus 4.8";if(J.includes("claude-opus-4-7"))return $?"Opus 4.7 (with 1M context)":"Opus 4.7";if(J.includes("claude-opus-4-6"))return $?"Opus 4.6 (with 1M context)":"Opus 4.6";if(J.includes("claude-opus-4-5"))return"Opus 4.5";if(J.includes("claude-opus-4-1"))return"Opus 4.1";if(J.includes("claude-opus-4"))return"Opus 4";if(J.includes("claude-sonnet-5"))return"Sonnet 5";if(J.includes("claude-sonnet-4-6"))return $?"Sonnet 4.6 (with 1M context)":"Sonnet 4.6";if(J.includes("claude-sonnet-4-5"))return $?"Sonnet 4.5 (with 1M context)":"Sonnet 4.5";if(J.includes("claude-sonnet-4"))return $?"Sonnet 4 (with 1M context)":"Sonnet 4";if(J.includes("claude-3-7-sonnet"))return"Claude 3.7 Sonnet";if(J.includes("claude-3-5-sonnet"))return"Claude 3.5 Sonnet";if(J.includes("claude-haiku-4-5"))return"Haiku 4.5";if(J.includes("claude-3-5-haiku"))return"Claude 3.5 Haiku";return}function b9(Z){return Z.replace(/\[(1|2)m\]/gi,"")}function k9(Z){let $=b(Z);return $.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("opus-5")||$.includes("fable-5")||$.includes("sonnet-5")}var L8;var w0=R(()=>{Q0();J0();$0();J4();o();B2();d();R8();Q5();t1();x0();i();G8();a1();W2();H8();p5();L8=["claude-opus-4-20250514","claude-opus-4-1-20250805","claude-opus-4-0","claude-opus-4-1"]});function H2(Z){return}async function U9(){}var V4=()=>{};function v8(Z,$={}){if($.isPro??(U8.test(Z)||W4.has(Z)))return!1;if(k8.has(Z))return!0;if(W4.has(Z))return!1;let Q=Z.match(N8);return Q?Number.parseFloat(Q[1])>5.4:!1}function P9(){return w5.filter((Z)=>v8(Z.id,{isPro:Z.isPro}))}var w5,k8,W4,N8,U8,j4,z4;var x4=R(()=>{w5=[{id:"gpt-5.6-sol",label:"gpt-5.6-sol",description:"GPT-5.6 Sol - flagship, high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.6-terra",label:"gpt-5.6-terra",description:"GPT-5.6 Terra with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.6-luna",label:"gpt-5.6-luna",description:"GPT-5.6 Luna with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.5",label:"gpt-5.5",description:"GPT-5.5 with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.4",label:"gpt-5.4",description:"GPT-5.4 with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.3-codex",label:"gpt-5.3-codex",description:"GPT-5.3 Codex with high reasoning",reasoningEffort:"high"},{id:"gpt-5.3-codex-spark",label:"gpt-5.3-codex-spark",description:"GPT-5.3 Codex Spark for fast tool loops"},{id:"codexspark",label:"codexspark",description:"GPT-5.3 Codex Spark alias for fast tool loops"},{id:"gpt-5.2-codex",label:"gpt-5.2-codex",description:"GPT-5.2 Codex with high reasoning",reasoningEffort:"high"},{id:"gpt-5.1-codex-max",label:"gpt-5.1-codex-max",description:"GPT-5.1 Codex Max for deep reasoning",reasoningEffort:"high"},{id:"gpt-5.1-codex-mini",label:"gpt-5.1-codex-mini",description:"GPT-5.1 Codex Mini - faster, cheaper"},{id:"gpt-5.5-mini",label:"gpt-5.5-mini",description:"GPT-5.5 Mini - faster, cheaper",reasoningEffort:"medium",contextInput:400000,contextOutput:128000},{id:"gpt-5.4-mini",label:"gpt-5.4-mini",description:"GPT-5.4 Mini - faster, cheaper",reasoningEffort:"medium",contextInput:400000,contextOutput:128000}],k8=new Set(w5.filter((Z)=>!Z.isPro).map((Z)=>Z.id)),W4=new Set(["gpt-5.5-pro"]),N8=/^gpt-(\d+\.\d+)/,U8=/-pro$/;j4=Object.fromEntries(w5.filter((Z)=>Z.contextInput!==void 0).map((Z)=>[Z.id,Z.contextInput])),z4=Object.fromEntries(w5.filter((Z)=>Z.contextOutput!==void 0).map((Z)=>[Z.id,Z.contextOutput]))});var K4={};c5(K4,{prefetchOpenAICompatibleModels:()=>S8,getDiscoveredContextWindow:()=>P8,discoverOpenAICompatibleModelOptions:()=>F4});function P8(Z){return R4.get(Z)}function O8(){return(L()?.baseUrl??"https://api.openai.com/v1").replace(/\/+$/,"")}function w4(Z){try{let $=new URL(Z).hostname.toLowerCase();return $.endsWith(".openai.azure.com")||$.endsWith(".cognitiveservices.azure.com")}catch{return!1}}function E8(Z){try{return new URL(Z).hostname.toLowerCase().includes("bankr")}catch{return!1}}function y8(Z){let $=L()?.apiKey?.trim();if(!$)return{};if(E8(Z))return{"X-API-Key":$};let J={Authorization:`Bearer ${$}`};if(w4(Z))J["api-key"]=$;return J}function _8(Z){let $=Z.endsWith("/v1")?`${Z}/models`:`${Z}/v1/models`,J=`${Z}/models`,Q=process.env.OPENAI_API_VERSION?.trim(),Y=Q&&w4(Z)?(q)=>{try{let X=new URL(q);return X.searchParams.set("api-version",Q),X.toString()}catch{return q}}:(q)=>q;if($===J)return[Y($)];return[Y($),Y(J)]}function h8(Z){try{let $=new URL(Z),J=$.pathname.replace(/\/+$/,""),Y=`${J.endsWith("/v1")?J.slice(0,-3):J}/api/tags`.replace(/\/{2,}/g,"/");return`${$.origin}${Y}`}catch{return null}}function I8(Z){if(Z>=1e6)return`${Z/1e6}M ctx`;if(Z>=1000)return`${Math.round(Z/1000)}K ctx`;return`${Z} ctx`}async function T8(Z,$){let J=new Set;for(let Q of Z)try{let Y=await v.get(Q,{headers:$,timeout:H4}),q=[];for(let X of Y.data?.data??[]){let V=X.id?.trim();if(!V||J.has(V))continue;J.add(V);let j=X.name?.trim()||V,G=X.context_length??null;if(G&&G>0)R4.set(V,G);let H=G?` · ${I8(G)}`:"";q.push({value:V,label:j,description:`${V}${H}`})}if(q.length>0)return q.sort((X,V)=>{let j=String(X.value).split("/")[0]??"",G=String(V.value).split("/")[0]??"",H=j.localeCompare(G);return H!==0?H:String(X.value).localeCompare(String(V.value))}),q}catch{z(`[ModelDiscovery] Failed to fetch OpenAI models from ${Q}`)}return[]}async function M8(Z,$){try{let J=await v.get(Z,{headers:$,timeout:H4}),Q=new Set;return(J.data?.models??[]).map((Y)=>Y.name?.trim()??"").filter((Y)=>{if(!Y||Q.has(Y))return!1;return Q.add(Y),!0}).map((Y)=>({value:Y,label:Y,description:"Ollama model"}))}catch{return z(`[ModelDiscovery] Failed to fetch Ollama models from ${Z}`),[]}}async function F4(){if(W()!=="openai")return[];let Z=O8(),$=y8(Z),J=await T8(_8(Z),$);if(J.length>0)return J;let Q=h8(Z);if(Q)return M8(Q,$);return[]}function S8(){if(C0)return C0;return C0=(async()=>{if(!G4()?.startsWith("openai:"))return;try{let $=await F4();if($.length>0)B4($)}catch{}finally{C0=null}})(),C0}var H4=5000,R4,C0=null;var L4=R(()=>{Y5();J0();s2();Z0();i();J4();R4=new Map});function b4(Z,$,J){let Q=L()?.model?.trim();if(Q&&Q!==J){let q=`${Q}:${J}`;if($[q]!==void 0)return $[q];if(Z[q]!==void 0)return Z[q]}let Y=D4($,J);if(Y!==void 0)return Y;return D4(Z,J)}function D4(Z,$){if(Z[$]!==void 0)return Z[$];let J=Object.keys(Z).sort((Q,Y)=>Y.length-Q.length);for(let Q of J)if($.startsWith(Q))return Z[Q];return}function k4(Z){try{let{getDiscoveredContextWindow:J}=(L4(),E0(K4)),Q=J(Z);if(Q!==void 0)return Q}catch{}let $=b4(f8,C8,Z);if($!==void 0)return $;try{let{getCatalogCopilotContextWindow:J}=(O0(),E0(P0));return J(Z)}catch{return}}function N4(Z){let $=b4(A8,u8,Z);if($!==void 0)return $;try{let{getCatalogCopilotMaxOutputTokens:J}=(O0(),E0(P0));return J(Z)}catch{return}}var f8,A8,C8,u8;var U4=R(()=>{J0();x4();f8={"github:copilot":128000,"github:copilot:claude-haiku-4.5":144000,"github:copilot:claude-sonnet-4.6":200000,"github:copilot:claude-opus-4.7":200000,"github:copilot:gpt-4.1":128000,"github:copilot:gpt-4o":128000,"github:copilot:gpt-5-mini":264000,"github:copilot:gpt-5.2-codex":400000,"github:copilot:gpt-5.4":400000,"github:copilot:gpt-5.5":400000,"github:copilot:gemini-3.1-pro-preview":200000,"github:copilot:grok-code-fast-1":256000,"github_copilot/claude-haiku-4.5":144000,"github_copilot/claude-sonnet-4.6":200000,"github_copilot/claude-opus-4.7":200000,"github_copilot/gpt-4.1":128000,"github_copilot/gpt-4o":128000,"github_copilot/gpt-5-mini":264000,"github_copilot/gpt-5.2-codex":400000,"github_copilot/gpt-5.4":400000,"github_copilot/gpt-5.5":400000,"github_copilot/gemini-3.1-pro-preview":200000,"github_copilot/grok-code-fast-1":256000,...j4,"gpt-5.5-nano":400000,"gpt-5.4-nano":400000,"gpt-4o":128000,"gpt-4o-mini":128000,"gpt-4.1":1047576,"gpt-4.1-mini":1047576,"gpt-4.1-nano":1047576,"gpt-4-turbo":128000,"gpt-4":8192,o1:200000,"o1-mini":128000,"o1-preview":128000,"o1-pro":200000,o3:200000,"o3-mini":200000,"o4-mini":200000,"deepseek-v4-flash":1048576,"deepseek-v4-pro":1048576,"deepseek-chat":128000,"deepseek-reasoner":128000,"llama-3.3-70b-versatile":128000,"llama-3.1-8b-instant":128000,"mixtral-8x7b-32768":32768,"mistral-large-latest":256000,"mistral-small-latest":256000,"devstral-latest":256000,"ministral-3b-latest":256000,"nvidia/llama-3.1-nemotron-70b-instruct":128000,"nvidia/llama-3.1-nemotron-ultra-253b-v1":128000,"nvidia/nemotron-mini-4b-instruct":32768,"meta/llama-3.1-405b-instruct":128000,"meta/llama-3.1-70b-instruct":128000,"meta/llama-3.1-8b-instruct":128000,"meta/llama-3.2-90b-instruct":128000,"meta/llama-3.2-1b-instruct":128000,"meta/llama-3.2-3b-instruct":128000,"meta/llama-3.3-70b-instruct":128000,"google/gemma-2-27b-it":8192,"google/gemma-2-9b-it":8192,"google/gemma-3-27b-it":131072,"google/gemma-3-12b-it":131072,"google/gemma-3-4b-it":131072,"deepseek-ai/deepseek-r1":128000,"deepseek-ai/deepseek-v3":128000,"deepseek-ai/deepseek-v3.2":128000,"qwen/qwen3-32b":128000,"qwen/qwen3-8b":128000,"qwen/qwen2.5-7b-instruct":32768,"mistralai/mistral-large-3-675b-instruct-2512":256000,"mistralai/mistral-large-2-instruct":256000,"mistralai/mistral-small-3.1-24b-instruct-2503":32768,"mistralai/mixtral-8x7b-instruct-v0.1":32768,"microsoft/phi-4-mini-instruct":16384,"microsoft/phi-3.5-mini-instruct":16384,"microsoft/phi-3-mini-128k-instruct":128000,"ibm/granite-3.3-8b-instruct":8192,"ibm/granite-8b-code-instruct":8192,"z-ai/glm5":200000,"z-ai/glm4.7":128000,"moonshotai/kimi-k2.5":200000,"moonshotai/kimi-k2-instruct":128000,"databricks/dbrx-instruct":131072,"ai21labs/jamba-1.5-large-instruct":256000,"ai21labs/jamba-1.5-mini-instruct":256000,"01-ai/yi-large":32768,"MiniMax-M2.7":204800,"MiniMax-M2.7-highspeed":204800,"MiniMax-M2.5":204800,"MiniMax-M2.5-highspeed":204800,"MiniMax-M2.1":204800,"MiniMax-M2.1-highspeed":204800,"minimax-m2.7":204800,"minimax-m2.7-highspeed":204800,"minimax-m2.5":204800,"minimax-m2.5-highspeed":204800,"minimax-m2.1":204800,"minimax-m2.1-highspeed":204800,"MiniMax-Text-01":524288,"MiniMax-Text-01-Preview":262144,"MiniMax-Vision-01":32768,"MiniMax-Vision-01-Fast":16384,"MiniMax-M2":204800,"google/gemini-2.0-flash":1048576,"google/gemini-2.5-pro":1048576,"gemini-2.0-flash":1048576,"gemini-2.5-pro":1048576,"gemini-2.5-flash":1048576,"gemini-3.1-pro":1048576,"gemini-3.1-flash-lite-preview":1048576,"llama3.3:70b":128000,"llama3.1:8b":128000,"llama3.2:3b":128000,"qwen2.5-coder:32b":32768,"qwen2.5-coder:7b":32768,"deepseek-coder-v2:16b":163840,"deepseek-r1:14b":65536,"mistral:7b":32768,"phi4:14b":16384,"gemma2:27b":8192,"codellama:13b":16384,"llama3.2:1b":128000,"qwen3:8b":128000,codestral:32768,"qwen3.6-plus":1e6,"qwen3.5-plus":1e6,"qwen3-coder-plus":1e6,"qwen3-coder-next":262144,"qwen3-max":262144,"qwen3-max-2026-01-23":262144,"kimi-k2.5":262144,"glm-5":202752,"glm-4.7":202752,k3:1048576,"kimi-for-coding":262144,"kimi-for-coding-highspeed":262144,"kimi-k2.6":262144,"kimi-k2":131072,"kimi-k2-instruct":131072,"kimi-k2-thinking":262144,"moonshot-v1-8k":8192,"moonshot-v1-32k":32768,"moonshot-v1-128k":131072},A8={"github:copilot":16384,"github:copilot:claude-haiku-4.5":32768,"github:copilot:claude-sonnet-4.6":32000,"github:copilot:claude-opus-4.7":32000,"github:copilot:gpt-4.1":16384,"github:copilot:gpt-4o":16384,"github:copilot:gpt-5-mini":64000,"github:copilot:gpt-5.2-codex":128000,"github:copilot:gpt-5.4":128000,"github:copilot:gpt-5.5":128000,"github:copilot:gemini-3.1-pro-preview":64000,"github:copilot:grok-code-fast-1":64000,"github_copilot/claude-haiku-4.5":32768,"github_copilot/claude-sonnet-4.6":32000,"github_copilot/claude-opus-4.7":32000,"github_copilot/gpt-4.1":16384,"github_copilot/gpt-4o":16384,"github_copilot/gpt-5-mini":64000,"github_copilot/gpt-5.2-codex":128000,"github_copilot/gpt-5.4":128000,"github_copilot/gpt-5.5":128000,"github_copilot/gemini-3.1-pro-preview":64000,"github_copilot/grok-code-fast-1":64000,...z4,"gpt-5.5-nano":128000,"gpt-5.4-nano":128000,"gpt-4o":16384,"gpt-4o-mini":16384,"gpt-4.1":32768,"gpt-4.1-mini":32768,"gpt-4.1-nano":32768,"gpt-4-turbo":4096,"gpt-4":4096,o1:1e5,"o1-mini":65536,"o1-preview":32768,"o1-pro":1e5,o3:1e5,"o3-mini":1e5,"o4-mini":1e5,"deepseek-v4-flash":262144,"deepseek-v4-pro":262144,"deepseek-chat":8192,"deepseek-reasoner":65536,"llama-3.3-70b-versatile":32768,"llama-3.1-8b-instant":8192,"mixtral-8x7b-32768":32768,"mistral-large-latest":32768,"mistral-small-latest":32768,"MiniMax-M2.7":131072,"MiniMax-M2.7-highspeed":131072,"MiniMax-M2.5":131072,"MiniMax-M2.5-highspeed":131072,"MiniMax-M2.1":131072,"MiniMax-M2.1-highspeed":131072,"minimax-m2.7":131072,"minimax-m2.7-highspeed":131072,"minimax-m2.5":131072,"minimax-m2.5-highspeed":131072,"minimax-m2.1":131072,"minimax-m2.1-highspeed":131072,"MiniMax-M2":131072,"MiniMax-Text-01":65536,"MiniMax-Text-01-Preview":65536,"MiniMax-Vision-01":16384,"MiniMax-Vision-01-Fast":16384,"google/gemini-2.0-flash":8192,"google/gemini-2.5-pro":65536,"gemini-2.0-flash":8192,"gemini-2.5-pro":65536,"gemini-2.5-flash":65536,"gemini-3.1-pro":65536,"gemini-3.1-flash-lite-preview":65536,"llama3.3:70b":4096,"llama3.1:8b":4096,"llama3.2:3b":4096,"qwen2.5-coder:32b":8192,"qwen2.5-coder:7b":8192,"deepseek-coder-v2:16b":8192,"deepseek-r1:14b":8192,"mistral:7b":4096,"phi4:14b":4096,"gemma2:27b":4096,"codellama:13b":4096,"llama3.2:1b":4096,"qwen3:8b":8192,codestral:8192,"nvidia/llama-3.1-nemotron-70b-instruct":32768,"nvidia/nemotron-mini-4b-instruct":8192,"meta/llama-3.1-405b-instruct":32768,"meta/llama-3.1-70b-instruct":32768,"meta/llama-3.2-90b-instruct":32768,"meta/llama-3.3-70b-instruct":32768,"google/gemma-2-27b-it":4096,"google/gemma-3-27b-it":16384,"google/gemma-3-12b-it":16384,"deepseek-ai/deepseek-r1":32768,"deepseek-ai/deepseek-v3":32768,"deepseek-ai/deepseek-v3.2":32768,"qwen/qwen3-32b":32768,"qwen/qwen2.5-7b-instruct":8192,"mistralai/mistral-large-3-675b-instruct-2512":32768,"mistralai/mixtral-8x7b-instruct-v0.1":8192,"microsoft/phi-4-mini-instruct":4096,"microsoft/phi-3.5-mini-instruct":4096,"ibm/granite-3.3-8b-instruct":4096,"z-ai/glm5":32768,"moonshotai/kimi-k2.5":32768,"databricks/dbrx-instruct":32768,"ai21labs/jamba-1.5-large-instruct":32768,"01-ai/yi-large":8192,"qwen3.6-plus":65536,"qwen3.5-plus":65536,"qwen3-coder-plus":65536,"qwen3-coder-next":65536,"qwen3-max":32768,"qwen3-max-2026-01-23":32768,"kimi-k2.5":32768,"glm-5":16384,"glm-4.7":16384,k3:32768,"kimi-for-coding":32768,"kimi-for-coding-highspeed":32768,"kimi-k2.6":32768,"kimi-k2":32768,"kimi-k2-instruct":32768,"kimi-k2-thinking":32768,"moonshot-v1-8k":4096,"moonshot-v1-32k":16384,"moonshot-v1-128k":32768},C8=(()=>{try{let Z=process.env.CLAUDIN_OPENAI_CONTEXT_WINDOWS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})(),u8=(()=>{try{let Z=process.env.CLAUDIN_OPENAI_MAX_OUTPUT_TOKENS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})()});function v4(){let Z=L()?.transport;return Z==="openai_compat"||Z==="gemini"||Z==="mistral"||Z==="github_copilot"||Z==="codex_responses"}function V0(){return K(process.env.CLAUDIN_DISABLE_1M_CONTEXT)}function l(Z){if(V0())return!1;return/\[1m\]/i.test(Z)}function x2(Z){if(V0())return!1;let $=b(Z);return $.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("opus-4-6")||$.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("opus-5")||$.includes("fable-5")}function n9(Z,$){if(l(Z))return 1e6;if(v4()){let Q=k4(Z);if(Q!==void 0)return Q;return console.error(`[context] Warning: model "${Z}" not in context window table — using conservative 128k default. `+"Add it to src/providers/model/openaiContextWindows.ts for accurate compaction."),g8}let J=H2(Z);if(J?.max_input_tokens&&J.max_input_tokens>=1e5){if(J.max_input_tokens>R2&&V0())return R2;return J.max_input_tokens}if(!V0()&&(b(Z).includes("fable-5")||b(Z).includes("sonnet-5")||b(Z).includes("opus-5")))return 1e6;if($?.includes(I0)&&x2(Z))return 1e6;if(c8(Z))return 1e6;return R2}function c8(Z){if(V0())return!1;if(l(Z))return!1;if(!b(Z).includes("sonnet-4-6"))return!1;return D().clientDataCache?.coral_reef_sonnet==="true"}function l9(Z,$){if(!Z)return{used:null,remaining:null};let J=Z.input_tokens+Z.cache_creation_input_tokens+Z.cache_read_input_tokens,Q=Math.round(J/$*100),Y=Math.min(100,Math.max(0,Q));return{used:Y,remaining:100-Y}}function s9(Z){let $,J;if(v4()){let q=N4(Z);if(q!==void 0)return{default:q,upperLimit:q}}let Q=b(Z);if(Q.includes("fable-5")||Q.includes("opus-5")||Q.includes("opus-4-7")||Q.includes("opus-4-6"))$=64000,J=128000;else if(Q.includes("sonnet-4-6"))$=32000,J=128000;else if(Q.includes("opus-4-5")||Q.includes("sonnet-4")||Q.includes("haiku-4"))$=32000,J=64000;else if(Q.includes("opus-4-1")||Q.includes("opus-4"))$=32000,J=32000;else if(Q.includes("claude-3-opus"))$=4096,J=4096;else if(Q.includes("claude-3-sonnet"))$=8192,J=8192;else if(Q.includes("claude-3-haiku"))$=4096,J=4096;else if(Q.includes("3-5-sonnet")||Q.includes("3-5-haiku"))$=8192,J=8192;else if(Q.includes("3-7-sonnet"))$=32000,J=64000;else $=p8,J=m8;let Y=H2(Z);if(Y?.max_tokens&&Y.max_tokens>=4096)J=Y.max_tokens,$=Math.min($,J);return{default:$,upperLimit:J}}var R2=200000,g8,d9=20000,p8=32000,m8=64000,i9=8000,t9=64000;var B2=R(()=>{e5();J0();$0();d();w0();V4();U4();g8=(()=>{let Z=parseInt(process.env.CLAUDIN_OPENAI_FALLBACK_CONTEXT_WINDOW??"",10);return!isNaN(Z)&&Z>0?Z:128000})()});var d8,P4;var O4=R(()=>{t0();i();d8=[{modelEnvVar:"ANTHROPIC_DEFAULT_OPUS_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"},{modelEnvVar:"ANTHROPIC_DEFAULT_SONNET_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES"},{modelEnvVar:"ANTHROPIC_DEFAULT_HAIKU_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"}],P4=h((Z,$)=>{if(W()==="firstParty")return;let J=Z.toLowerCase();for(let Q of d8){let Y=process.env[Q.modelEnvVar],q=process.env[Q.capabilitiesEnvVar];if(!Y||q===void 0)continue;if(J!==Y.toLowerCase())continue;return q.toLowerCase().split(",").map((X)=>X.trim()).includes($)}return},(Z,$)=>`${Z.toLowerCase()}:${$}`)});function i8(Z){let $=[],J=[];for(let Q of Z)if(I4.includes(Q))$.push(Q);else J.push(Q);return{allowed:$,disallowed:J}}function G3(Z){if(!Z||Z.length===0)return;if(y()){console.warn("Warning: Custom betas are only available for API key users. Ignoring provided betas.");return}let{allowed:$,disallowed:J}=i8(Z);for(let Q of J)console.warn(`Warning: Beta header '${Q}' is not allowed. Only the following betas are supported: ${I4.join(", ")}`);return $.length>0?$:void 0}function E4(Z){let $=P4(Z,"interleaved_thinking");if($!==void 0)return $;let J=b(Z),Q=W();if(Q==="foundry")return!0;if(Q==="firstParty")return!J.includes("claude-3-");return J.includes("claude-opus-4")||J.includes("claude-opus-5")||J.includes("claude-sonnet-5")||J.includes("claude-sonnet-4")}function t8(Z){let $=b(Z);return $.includes("claude-opus-4")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function n8(Z){let $=b(Z),J=W();if(J==="foundry")return!0;if(J==="firstParty")return!$.includes("claude-3-");return $.includes("claude-opus-4")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function l8(Z){let $=b(Z),J=W();if(J!=="firstParty"&&J!=="foundry")return!1;return $.includes("claude-fable-5")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4-6")||$.includes("claude-sonnet-4-5")||$.includes("claude-opus-4-1")||$.includes("claude-opus-4-5")||$.includes("claude-opus-4-6")||$.includes("claude-opus-4-7")||$.includes("claude-opus-4-8")||$.includes("claude-haiku-4-5")}function H3(Z){let $=b(Z);if(!$.startsWith("claude-"))return!1;if($.includes("claude-3-"))return!1;if(/claude-(opus|sonnet|haiku)-4(?!-[6-9])/.test($))return!1;return!0}function R3(){let Z=W();if(Z==="vertex"||Z==="bedrock")return P1;return v1}function y4(){return(W()==="firstParty"||W()==="foundry")&&!K(process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS)}function w3(){if(K(process.env.CLAUDIN_DISABLE_GLOBAL_CACHE_SCOPE))return!1;return W()==="firstParty"&&!K(process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS)}function F3(Z,$){let J=[...T4(Z)];if($?.isAgenticQuery){if(!J.includes(W5))J.push(W5)}let Q=_4();if(!Q||Q.length===0)return J;return[...J,...Q.filter((Y)=>!J.includes(Y))]}function M4(){w2.cache?.clear?.(),T4.cache?.clear?.(),s8.cache?.clear?.()}var I4,w2,T4,s8;var S4=R(()=>{t0();T1();Q0();e5();_0();o();B2();d();w0();O4();i();x0();I4=[I0];w2=h((Z)=>{let $=[],J=b(Z).includes("haiku"),Q=W(),Y=y4();if(!J)$.push(W5);if(y())$.push(B0);if(l(Z))$.push(I0);if(!K(process.env.DISABLE_INTERLEAVED_THINKING)&&E4(Z))$.push(k1);if(Y&&E4(Z)&&!C()&&N().showThinkingSummaries!==!0)$.push(E1),$.push(y1);let q=n8(Z);if(y4()&&q)$.push(N1);let X=h4("tengu_tool_pear"),V=!X&&(K(process.env.CLAUDIN_JSON_TOOL_USE)||M0("tengu_amber_json_tools",!1));if(Y&&l8(Z)&&X)$.push(U1);if(Y&&V)$.push(_1);if(Q==="vertex"&&t8(Z))$.push(r5);if(Q==="foundry")$.push(r5);if(Y)$.push(O1);if(process.env.ANTHROPIC_BETAS)$.push(...process.env.ANTHROPIC_BETAS.split(",").map((j)=>j.trim()).filter(Boolean));return $}),T4=h((Z)=>{let $=w2(Z);if(W()==="bedrock")return $.filter((J)=>!o5.has(J));return $}),s8=h((Z)=>{return w2(Z).filter((J)=>o5.has(J))})});import{execFile as a8}from"child_process";function f4(Z){return new Promise(($)=>{a8("security",["find-generic-password","-a",K5(),"-w","-s",Z],{encoding:"utf-8",timeout:r8},(J,Q)=>{$({stdout:J?null:Q?.trim()||null,timedOut:Boolean(J&&"killed"in J&&J.killed)})})})}function k3(){if(process.platform!=="darwin"||F5||u())return;let Z=f4(t(A4)),$=f4(t());F5=Promise.all([Z,$]).then(([J,Q])=>{if(!J.timedOut)C4(J.stdout);if(!Q.timedOut)F2={stdout:Q.stdout}})}async function N3(){if(F5)await F5}function u4(){return F2}function K2(){F2=null}var r8=1e4,F2=null,F5=null;var g4=R(()=>{d();s5()});function L2(Z,$,J){return new Promise((Q,Y)=>{if($?.aborted){if(J?.throwOnAbort||J?.abortError)Y(J.abortError?.()??Error("aborted"));else Q();return}let q=setTimeout((V,j,G)=>{V?.removeEventListener("abort",j),G()},Z,$,X,Q);function X(){if(clearTimeout(q),J?.throwOnAbort||J?.abortError)Y(J.abortError?.()??Error("aborted"));else Q()}if($?.addEventListener("abort",X,{once:!0}),J?.unref)q.unref()})}var p4=()=>{};function P3(){return m4}function c4(){m4.clear()}var m4;var d4=R(()=>{m4=new Map});var pZ={};c5(pZ,{validateForceLoginOrg:()=>gZ,saveOAuthTokensIfNeeded:()=>X7,saveApiKey:()=>S2,removeApiKey:()=>OZ,refreshGcpCredentialsIfNeeded:()=>M2,refreshGcpAuth:()=>Y7,refreshAwsAuth:()=>J7,refreshAndGetAwsCredentials:()=>j0,prefetchGcpCredentialsIfSafe:()=>NZ,prefetchAwsCredentialsAndBedRockInfoIfSafe:()=>UZ,prefetchApiKeyFromApiKeyHelperIfSafe:()=>BZ,isUsing3PServices:()=>k5,isTeamSubscriber:()=>TZ,isTeamPremiumSubscriber:()=>R5,isProSubscriber:()=>G2,isOverageProvisioningAllowed:()=>hZ,isOtelHeadersHelperFromProjectOrLocalSettings:()=>z7,isMaxSubscriber:()=>H5,isGcpAuthRefreshFromProjectSettings:()=>T2,isEnterpriseSubscriber:()=>MZ,isCustomApiKeyApproved:()=>PZ,isConsumerSubscriber:()=>CZ,isClaudeAISubscriber:()=>y,isAwsCredentialExportFromProjectSettings:()=>h2,isAwsAuthRefreshFromProjectSettings:()=>y2,isAnthropicAuthEnabled:()=>k0,is1PApiCustomer:()=>_Z,hasProfileScope:()=>q0,hasOpusAccess:()=>IZ,hasAnthropicApiKeyAuth:()=>WZ,handleOAuth401Error:()=>Q2,getSubscriptionType:()=>f,getSubscriptionName:()=>W7,getRateLimitTier:()=>V7,getOtelHeadersFromHelper:()=>fZ,getOauthAccountInfo:()=>b5,getConfiguredApiKeyHelper:()=>s,getClaudeAIOAuthTokensAsync:()=>p0,getClaudeAIOAuthTokens:()=>w,getAuthTokenSource:()=>O2,getApiKeyHelperElapsedMs:()=>jZ,getApiKeyFromConfigOrMacOSKeychain:()=>U5,getApiKeyFromApiKeyHelperCached:()=>b2,getApiKeyFromApiKeyHelper:()=>$7,getAnthropicApiKeyWithSource:()=>c0,getAnthropicApiKey:()=>h0,getAccountInformation:()=>uZ,clearOAuthTokenCache:()=>f2,clearGcpCredentialsCache:()=>kZ,clearAwsCredentialsCache:()=>FZ,clearApiKeyHelperCache:()=>xZ,checkGcpCredentialsValid:()=>Q7,checkAndRefreshOAuthTokenIfNeeded:()=>d0,calculateApiKeyHelperTTL:()=>Z7});import{exec as o4}from"child_process";import{mkdir as YZ,stat as qZ}from"fs/promises";import{join as XZ}from"path";function D5(){return K(process.env.CLAUDE_CODE_REMOTE)||process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"}function k0(){if(u())return!1;if(process.env.ANTHROPIC_UNIX_SOCKET)return!!process.env.CLAUDE_CODE_OAUTH_TOKEN;let Z=k5(),J=(N()||{}).apiKeyHelper,Q=process.env.ANTHROPIC_AUTH_TOKEN||J||process.env.CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR,Y;try{({source:Y}=c0({skipRetrievingKeyFromApiKeyHelper:!0}))}catch{Y="none"}let q=Y==="ANTHROPIC_API_KEY"||Y==="apiKeyHelper";return!(Z||Q&&!D5()||q&&!D5())}function O2(){if(u()){if(s())return{source:"apiKeyHelper",hasToken:!0};return{source:"none",hasToken:!1}}if(process.env.ANTHROPIC_AUTH_TOKEN&&!D5())return{source:"ANTHROPIC_AUTH_TOKEN",hasToken:!0};if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{source:"CLAUDE_CODE_OAUTH_TOKEN",hasToken:!0};if(X5()){if(process.env.CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR)return{source:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",hasToken:!0};return{source:"CCR_OAUTH_TOKEN_FILE",hasToken:!0}}if(s()&&!D5())return{source:"apiKeyHelper",hasToken:!0};let J=w();if(b0(J?.scopes)&&J?.accessToken)return{source:"claude.ai",hasToken:!0};return{source:"none",hasToken:!1}}function h0(){let{key:Z}=c0();return Z}function WZ(){try{let{key:Z,source:$}=c0({skipRetrievingKeyFromApiKeyHelper:!0});return Z!==null&&$!=="none"}catch{return!1}}function c0(Z={}){let $=(()=>{let X=L();if(X?.transport!=="anthropic")return;let V=X.apiKey?.trim();return V&&V.length>0?V:void 0})();if(u()){if($)return{key:$,source:"ANTHROPIC_API_KEY"};if(s())return{key:Z.skipRetrievingKeyFromApiKeyHelper?null:b2(),source:"apiKeyHelper"};return{key:null,source:"none"}}let J=$;if(j5()&&J)return{key:J,source:"ANTHROPIC_API_KEY"};if(K(process.env.CI)){let X=l5();if(X)return{key:X,source:"ANTHROPIC_API_KEY"};if(!k5()&&!J&&!process.env.CLAUDE_CODE_OAUTH_TOKEN&&!process.env.CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR)throw Error("Configure an Anthropic profile via /provider or set CLAUDE_CODE_OAUTH_TOKEN");if(J&&!k5())return{key:J,source:"ANTHROPIC_API_KEY"};return{key:null,source:"none"}}if(J&&D().customApiKeyResponses?.approved?.includes(V5(J)))return{key:J,source:"ANTHROPIC_API_KEY"};let Q=l5();if(Q)return{key:Q,source:"ANTHROPIC_API_KEY"};if(s()){if(Z.skipRetrievingKeyFromApiKeyHelper)return{key:null,source:"apiKeyHelper"};return{key:b2(),source:"apiKeyHelper"}}let q=U5();if(q)return q;return{key:null,source:"none"}}function s(){if(u())return P("flagSettings")?.apiKeyHelper;return(N()||{}).apiKeyHelper}function e4(){let Z=s();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.apiKeyHelper===Z||J?.apiKeyHelper===Z}function E2(){return(N()||{}).awsAuthRefresh}function y2(){let Z=E2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.awsAuthRefresh===Z||J?.awsAuthRefresh===Z}function _2(){return(N()||{}).awsCredentialExport}function h2(){let Z=_2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.awsCredentialExport===Z||J?.awsCredentialExport===Z}function Z7(){let Z=process.env.CLAUDIN_API_KEY_HELPER_TTL_MS;if(Z){let $=parseInt(Z,10);if(!Number.isNaN($)&&$>=0)return $;z(`Found CLAUDIN_API_KEY_HELPER_TTL_MS env var, but it was not a valid number. Got ${Z}`,{level:"error"})}return VZ}function jZ(){let Z=m?.startedAt;return Z?Date.now()-Z:0}async function $7(Z){if(!s())return null;let $=Z7();if(_){if(Date.now()-_.timestamp<$)return _.value;if(!m)m={promise:i4(Z,!1,D0),startedAt:null};return _.value}if(m)return m.promise;return m={promise:i4(Z,!0,D0),startedAt:Date.now()},m.promise}async function i4(Z,$,J){try{let Q=await zZ(Z);if(J!==D0)return Q;if(Q!==null)_={value:Q,timestamp:Date.now()};return Q}catch(Q){if(J!==D0)return" ";let Y=Q instanceof Error?Q.message:String(Q);if(console.error(A.red(`apiKeyHelper failed: ${Y}`)),z(`Error getting API key from apiKeyHelper: ${Y}`,{level:"error"}),!$&&_&&_.value!==" ")return _={..._,timestamp:Date.now()},_.value;return _={value:" ",timestamp:Date.now()}," "}finally{if(J===D0)m=null}}async function zZ(Z){let $=s();if(!$)return null;if(e4()){if(!c()&&!Z){let q=Error("Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("apiKeyHelper invoked before trust check",q),x("",{}),null}}let J=await H0($,{shell:!0,timeout:600000,reject:!1});if(J.failed){let Y=J.timedOut?"timed out":`exited ${J.exitCode}`,q=J.stderr?.trim();throw Error(q?`${Y}: ${q}`:Y)}let Q=J.stdout?.trim();if(!Q)throw Error("did not return a value");return Q}function b2(){return _?.value??null}function xZ(){D0++,_=null,m=null}function BZ(Z){if(e4()&&!c())return;$7(Z)}async function HZ(){let Z=E2();if(!Z)return!1;if(y2()){if(!c()&&!C()){let J=Error("Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("awsAuthRefresh invoked before trust check",J),x("",{}),!1}}try{return z("Fetching AWS caller identity for AWS auth refresh command"),await a5(),z("Fetched AWS caller identity, skipping AWS auth refresh command"),!1}catch{return J7(Z)}}function J7(Z){z("Running AWS auth refresh command");let $=M.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=o4(Z,{timeout:RZ});Q.stdout.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.addOutput(q),z(q,{level:"debug"})}),Q.stderr.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.setError(q),z(q,{level:"error"})}),Q.on("close",(Y,q)=>{if(Y===0)z("AWS auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let V=q==="SIGTERM"?A.red("AWS auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):A.red("Error running awsAuthRefresh (in settings or ~/.claudin/config.json):");console.error(V),$.endAuthentication(!1),J(!1)}})})}async function wZ(){let Z=_2();if(!Z)return null;if(h2()){if(!c()&&!C()){let J=Error("Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("awsCredentialExport invoked before trust check",J),x("",{}),null}}try{return z("Fetching AWS caller identity for credential export command"),await a5(),z("Fetched AWS caller identity, skipping AWS credential export command"),null}catch{try{z("Running AWS credential export command");let $=await H0(Z,{shell:!0,reject:!1});if($.exitCode!==0||!$.stdout)throw Error("awsCredentialExport did not return a valid value");let J=U2($.stdout.trim());if(!F1(J))throw Error("awsCredentialExport did not return valid AWS STS output structure");return z("AWS credentials retrieved from awsCredentialExport"),{accessKeyId:J.Credentials.AccessKeyId,secretAccessKey:J.Credentials.SecretAccessKey,sessionToken:J.Credentials.SessionToken}}catch($){let J=A.red("Error getting AWS credentials from awsCredentialExport (in settings or ~/.claudin/config.json):");if($ instanceof Error)console.error(J,$.message);else console.error(J,$);return null}}}function FZ(){j0.cache.clear()}function I2(){return(N()||{}).gcpAuthRefresh}function T2(){let Z=I2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.gcpAuthRefresh===Z||J?.gcpAuthRefresh===Z}async function Q7(){try{let{GoogleAuth:Z}=await import("google-auth-library"),$=new Z({scopes:["https://www.googleapis.com/auth/cloud-platform"]}),J=(async()=>{await(await $.getClient()).getAccessToken()})(),Q=L2(KZ).then(()=>{throw new x7("GCP credentials check timed out")});return await Promise.race([J,Q]),!0}catch{return!1}}async function DZ(){let Z=I2();if(!Z)return!1;if(T2()){if(!c()&&!C()){let J=Error("Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("gcpAuthRefresh invoked before trust check",J),x("",{}),!1}}try{if(z("Checking GCP credentials validity for auth refresh"),await Q7())return z("GCP credentials are valid, skipping auth refresh command"),!1}catch{}return Y7(Z)}function Y7(Z){z("Running GCP auth refresh command");let $=M.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=o4(Z,{timeout:bZ});Q.stdout.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.addOutput(q),z(q,{level:"debug"})}),Q.stderr.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.setError(q),z(q,{level:"error"})}),Q.on("close",(Y,q)=>{if(Y===0)z("GCP auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let V=q==="SIGTERM"?A.red("GCP auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):A.red("Error running gcpAuthRefresh (in settings or ~/.claudin/config.json):");console.error(V),$.endAuthentication(!1),J(!1)}})})}function kZ(){M2.cache.clear()}function NZ(){if(!I2())return;if(T2()){if(!c()&&!C())return}M2()}function UZ(){let Z=E2(),$=_2();if(!Z&&!$)return;if(y2()||h2()){if(!c()&&!C())return}j0(),B()}function vZ(Z){return/^[a-zA-Z0-9-_]+$/.test(Z)}async function S2(Z){if(!vZ(Z))throw Error("Invalid API key format. API key must contain only alphanumeric characters, dashes, and underscores.");await q7();let $=!1;if(process.platform==="darwin")try{let Q=t(),Y=K5(),q=Buffer.from(Z,"utf-8").toString("hex"),X=`add-generic-password -U -a "${Y}" -s "${Q}" -X "${q}"
|
|
2
|
-
`;await H0("security",["-i"],{input:X,reject:!1}),x("",{}),$=!0}catch(Q){k(Q),x("",{error:g(Q)}),x("",{})}else x("",{});let J=V5(Z);S((Q)=>{let Y=Q.customApiKeyResponses?.approved??[];return{...Q,primaryApiKey:$?Q.primaryApiKey:Z,customApiKeyResponses:{...Q.customApiKeyResponses,approved:Y.includes(J)?Y:[...Y,J],rejected:Q.customApiKeyResponses?.rejected??[]}}}),U5.cache.clear?.(),K2()}function PZ(Z){let $=D(),J=V5(Z);return $.customApiKeyResponses?.approved?.includes(J)??!1}async function OZ(){await q7(),S((Z)=>({...Z,primaryApiKey:void 0})),U5.cache.clear?.(),K2()}async function q7(){try{await R1()}catch(Z){k(Z)}}function X7(Z){if(!b0(Z.scopes))return x("",{}),{success:!0};if(!Z.refreshToken||!Z.expiresAt)return x("",{}),{success:!0};let $=N5(),J=$.name;try{let Q=$.read()||{},Y=Q.claudeAiOauth;Q.claudeAiOauth={accessToken:Z.accessToken,refreshToken:Z.refreshToken,expiresAt:Z.expiresAt,scopes:Z.scopes,subscriptionType:Z.subscriptionType??Y?.subscriptionType??null,rateLimitTier:Z.rateLimitTier??Y?.rateLimitTier??null};let q=$.update(Q);if(q.success)x("",{storageBackend:J});else x("",{storageBackend:J});return w.cache?.clear?.(),M4(),c4(),q}catch(Q){return k(Q),x("",{storageBackend:J,error:g(Q)}),{success:!1,warning:"Failed to save OAuth tokens"}}}function f2(){w.cache?.clear?.(),L0()}async function EZ(){try{let{mtimeMs:Z}=await qZ(XZ(N2(),".credentials.json"));if(Z!==t4)t4=Z,f2()}catch{w.cache?.clear?.()}}function Q2(Z){let $=D2.get(Z);if($)return $;let J=yZ(Z).finally(()=>{D2.delete(Z)});return D2.set(Z,J),J}async function yZ(Z){f2();let $=await p0();if(!$?.refreshToken)return!1;if($.accessToken!==Z)return x("",{}),!0;return d0(0,!0)}async function p0(){if(u())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN||X5())return w();try{let J=(await N5().readAsync())?.claudeAiOauth;if(!J?.accessToken)return null;return J}catch(Z){return k(Z),null}}function d0(Z=0,$=!1){if(Z===0&&!$){if(u0)return u0;return u0=k2(Z,$).finally(()=>{u0=null}),u0}return k2(Z,$)}async function k2(Z,$){await EZ();let Q=w();if(!$){if(!Q?.refreshToken||!g0(Q.expiresAt))return!1}if(!Q?.refreshToken)return!1;if(!b0(Q.scopes))return!1;w.cache?.clear?.(),L0();let Y=await p0();if(!Y?.refreshToken||!g0(Y.expiresAt))return!1;let q=N2();await YZ(q,{recursive:!0});let X;try{x("",{}),X=await s4(q),x("",{})}catch(V){if(V.code==="ELOCKED"){if(Z<5)return x("",{retryCount:Z+1}),await L2(1000+Math.random()*1000),k2(Z+1,$);return x("",{maxRetries:5}),!1}return k(V),x("",{error:g(V)}),!1}try{w.cache?.clear?.(),L0();let V=await p0();if(!V?.refreshToken||!g0(V.expiresAt))return x("",{}),!1;x("",{});let j=await a4(V.refreshToken,{scopes:b0(V.scopes)?void 0:V.scopes});return X7(j),w.cache?.clear?.(),L0(),!0}catch(V){k(V),w.cache?.clear?.(),L0();let j=await p0();if(j&&!g0(j.expiresAt))return x("",{}),!0;return!1}finally{x("",{}),await X(),x("",{})}}function y(){if(!k0())return!1;return b0(w()?.scopes)}function q0(){return w()?.scopes?.includes(l4)??!1}function _Z(){{let Z=L()?.transport;if(Z==="bedrock"||Z==="vertex"||Z==="foundry")return!1}if(y())return!1;return!0}function b5(){return k0()?D().oauthAccount:void 0}function hZ(){let $=b5()?.billingType;if(!y()||!$)return!1;if($!=="stripe_subscription"&&$!=="stripe_subscription_contracted"&&$!=="apple_subscription"&&$!=="google_play_subscription")return!1;return!0}function IZ(){let Z=f();return Z==="max"||Z==="enterprise"||Z==="team"||Z==="pro"||Z===null}function f(){if(Q1())return J1();if(!k0())return null;let Z=w();if(!Z)return null;return Z.subscriptionType??null}function H5(){return f()==="max"}function TZ(){return f()==="team"}function R5(){return f()==="team"&&V7()==="default_claude_max_5x"}function MZ(){return f()==="enterprise"}function G2(){return f()==="pro"}function V7(){if(!k0())return null;let Z=w();if(!Z)return null;return Z.rateLimitTier??null}function W7(){switch(f()){case"enterprise":return"Claude Enterprise";case"team":return"Claude Team";case"max":return"Claude Max";case"pro":return"Claude Pro";default:return"Claude API"}}function k5(){let Z=L()?.transport;if(!Z)return!1;return Z!=="anthropic"}function j7(){return(N()||{}).otelHeadersHelper}function z7(){let Z=j7();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.otelHeadersHelper===Z||J?.otelHeadersHelper===Z}function fZ(){let Z=j7();if(!Z)return{};let $=parseInt(process.env.CLAUDE_CODE_OTEL_HEADERS_HELPER_DEBOUNCE_MS||SZ.toString());if(L5&&Date.now()-n4<$)return L5;if(z7()){if(!c())return{}}try{let J=v2(Z,{timeout:30000})?.toString().trim();if(!J)throw Error("otelHeadersHelper did not return a valid value");let Q=U2(J);if(typeof Q!=="object"||Q===null||Array.isArray(Q))throw Error("otelHeadersHelper must return a JSON object with string key-value pairs");for(let[Y,q]of Object.entries(Q))if(typeof q!=="string")throw Error(`otelHeadersHelper returned non-string value for key "${Y}": ${typeof q}`);return L5=Q,n4=Date.now(),L5}catch(J){throw k(Error(`Error getting OpenTelemetry headers from otelHeadersHelper (in settings): ${g(J)}`)),J}}function AZ(Z){return Z==="max"||Z==="pro"}function CZ(){let Z=f();return y()&&Z!==null&&AZ(Z)}function uZ(){if(W()!=="firstParty")return;let{source:$}=O2(),J={};if($==="CLAUDE_CODE_OAUTH_TOKEN"||$==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR")J.tokenSource=$;else if(y())J.subscription=W7();else J.tokenSource=$;let{key:Q,source:Y}=c0();if(Q)J.apiKeySource=Y;if($==="claude.ai"||Y==="/login managed key"){let X=b5()?.organizationName;if(X)J.organization=X}let q=b5()?.emailAddress;if(($==="claude.ai"||Y==="/login managed key")&&q)J.email=q;return J}async function gZ(){if(process.env.ANTHROPIC_UNIX_SOCKET)return{valid:!0};if(!k0())return{valid:!0};let Z=P("policySettings")?.forceLoginOrgUUID;if(!Z)return{valid:!0};await d0();let $=w();if(!$)return{valid:!0};let{source:J}=O2(),Q=J==="CLAUDE_CODE_OAUTH_TOKEN"||J==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",Y=await G0($.accessToken);if(!Y?.organization)return{valid:!1,message:`Unable to verify organization for the current authentication token.
|
|
3
|
-
This machine requires organization ${Z} but the profile could not be fetched.
|
|
4
|
-
This may be a network error, or the token may lack the user:profile scope required for
|
|
5
|
-
verification (tokens from 'claude setup-token' do not include this scope).
|
|
6
|
-
Try again, or obtain a full-scope token via 'claude auth login'.`};let q=Y.organization.uuid;if(q===Z)return{valid:!0};if(Q)return{valid:!1,message:`The ${J==="CLAUDE_CODE_OAUTH_TOKEN"?"CLAUDE_CODE_OAUTH_TOKEN":"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR"} environment variable provides a token for a
|
|
7
|
-
different organization than required by this machine's managed settings.
|
|
8
|
-
|
|
9
|
-
Required organization: ${Z}
|
|
10
|
-
Token organization: ${q}
|
|
11
|
-
|
|
12
|
-
Remove the environment variable or obtain a token for the correct organization.`};return{valid:!1,message:`Your authentication token belongs to organization ${q},
|
|
13
|
-
but this machine requires organization ${Z}.
|
|
14
|
-
|
|
15
|
-
Please log in with the correct organization: claude auth login`}}var VZ=300000,_=null,m=null,D0=0,GZ=3600000,RZ=180000,j0,KZ=5000,LZ=3600000,bZ=180000,M2,U5,w,t4=0,D2,u0=null,L5=null,n4=0,SZ=1740000,x7;var o=R(()=>{e8();H1();t0();_0();z5();Q5();i();Q0();J0();Y1();r4();t5();G1();w1();L1();b1();S4();$0();Z0();d();x1();ZZ();JZ();n0();$Z();QZ();g4();s5();x0();p4();o8();d4();j0=P2(async()=>{let Z=await HZ(),$=await wZ();if(Z||$)await K1();return $},GZ);M2=P2(async()=>{return await DZ()},LZ);U5=h(()=>{if(u())return null;if(process.platform==="darwin"){let $=u4();if($){if($.stdout)return{key:$.stdout,source:"/login managed key"}}else{let J=t();try{let Q=v2(`security find-generic-password -a $USER -w -s "${J}"`);if(Q)return{key:Q,source:"/login managed key"}}catch(Q){k(Q)}}}let Z=D();if(!Z.primaryApiKey)return null;return{key:Z.primaryApiKey,source:"/login managed key"}});w=h(()=>{if(u())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{accessToken:process.env.CLAUDE_CODE_OAUTH_TOKEN,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};let Z=X5();if(Z)return{accessToken:Z,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};try{let Q=N5().read()?.claudeAiOauth;if(!Q?.accessToken)return null;return Q}catch($){return k($),null}});D2=new Map;x7=class x7 extends Error{}});function b0(Z){return Boolean(Z?.includes(A2))}function mZ(Z){return Z?.split(" ").filter(Boolean)??[]}function wQ({codeChallenge:Z,state:$,port:J,isManual:Q,loginWithClaudeAi:Y,inferenceOnly:q,orgUUID:X,loginHint:V,loginMethod:j}){let G=Y?U().CLAUDE_AI_AUTHORIZE_URL:U().CONSOLE_AUTHORIZE_URL,H=new URL(G);H.searchParams.append("code","true"),H.searchParams.append("client_id",U().CLIENT_ID),H.searchParams.append("response_type","code"),H.searchParams.append("redirect_uri",Q?U().MANUAL_REDIRECT_URL:`http://localhost:${J}/callback`);let W0=q?[A2]:H7;if(H.searchParams.append("scope",W0.join(" ")),H.searchParams.append("code_challenge",Z),H.searchParams.append("code_challenge_method","S256"),H.searchParams.append("state",$),X)H.searchParams.append("orgUUID",X);if(V)H.searchParams.append("login_hint",V);if(j)H.searchParams.append("login_method",j);return H.toString()}async function FQ(Z,$,J,Q,Y=!1,q){let X={grant_type:"authorization_code",code:Z,redirect_uri:Y?U().MANUAL_REDIRECT_URL:`http://localhost:${Q}/callback`,client_id:U().CLIENT_ID,code_verifier:J,state:$};if(q!==void 0)X.expires_in=q;let V=await v.post(U().TOKEN_URL,X,{headers:{"Content-Type":"application/json"},timeout:15000});if(V.status!==200)throw Error(V.status===401?"Authentication failed: Invalid authorization code":`Token exchange failed (${V.status}): ${V.statusText}`);return x("",{}),V.data}async function a4(Z,{scopes:$}={}){let J={grant_type:"refresh_token",refresh_token:Z,client_id:U().CLIENT_ID,scope:(($?.length)?$:G7).join(" ")};try{let Q=await v.post(U().TOKEN_URL,J,{headers:{"Content-Type":"application/json"},timeout:15000});if(Q.status!==200)throw Error(`Token refresh failed: ${Q.statusText}`);let Y=Q.data,{access_token:q,refresh_token:X=Z,expires_in:V}=Y,j=Date.now()+V*1000,G=mZ(Y.scope);x("",{});let H=D(),W0=w(),O=H.oauthAccount?.billingType!==void 0&&H.oauthAccount?.accountCreatedAt!==void 0&&H.oauthAccount?.subscriptionCreatedAt!==void 0&&W0?.subscriptionType!=null&&W0?.rateLimitTier!=null?null:await cZ(q);if(O&&H.oauthAccount){let a={};if(O.displayName!==void 0)a.displayName=O.displayName;if(typeof O.hasExtraUsageEnabled==="boolean")a.hasExtraUsageEnabled=O.hasExtraUsageEnabled;if(O.billingType!==null)a.billingType=O.billingType;if(O.accountCreatedAt!==void 0)a.accountCreatedAt=O.accountCreatedAt;if(O.subscriptionCreatedAt!==void 0)a.subscriptionCreatedAt=O.subscriptionCreatedAt;if(Object.keys(a).length>0)S((i0)=>({...i0,oauthAccount:i0.oauthAccount?{...i0.oauthAccount,...a}:i0.oauthAccount}))}return{accessToken:q,refreshToken:X,expiresAt:j,scopes:G,subscriptionType:O?.subscriptionType??W0?.subscriptionType??null,rateLimitTier:O?.rateLimitTier??W0?.rateLimitTier??null,profile:O?.rawProfile,tokenAccount:Y.account?{uuid:Y.account.uuid,emailAddress:Y.account.email_address,organizationUuid:Y.organization?.uuid}:void 0}}catch(Q){let Y=v.isAxiosError(Q)&&Q.response?.data?JSON.stringify(Q.response.data):void 0;throw x("",{error:Q.message,...Y&&{responseBody:Y}}),Q}}async function KQ(Z){let $=await v.get(U().ROLES_URL,{headers:{Authorization:`Bearer ${Z}`}});if($.status!==200)throw Error(`Failed to fetch user roles: ${$.statusText}`);let J=$.data;if(!D().oauthAccount)throw Error("OAuth account information not found in config");S((Y)=>({...Y,oauthAccount:Y.oauthAccount?{...Y.oauthAccount,organizationRole:J.organization_role,workspaceRole:J.workspace_role,organizationName:J.organization_name}:Y.oauthAccount})),x("",{org_role:J.organization_role})}async function LQ(Z){try{let $=await v.post(U().API_KEY_URL,null,{headers:{Authorization:`Bearer ${Z}`}}),J=$.data?.raw_key;if(J)return await S2(J),x("",{status:"success",statusCode:$.status}),J;return null}catch($){throw x("",{status:"failure",error:$ instanceof Error?$.message:String($)}),$}}function g0(Z){if(Z===null)return!1;let $=300000;return Date.now()+$>=Z}async function cZ(Z){let $=await G0(Z),J=$?.organization?.organization_type,Q=null;switch(J){case"claude_max":Q="max";break;case"claude_pro":Q="pro";break;case"claude_enterprise":Q="enterprise";break;case"claude_team":Q="team";break;default:Q=null;break}let Y={subscriptionType:Q,rateLimitTier:$?.organization?.rate_limit_tier??null,hasExtraUsageEnabled:$?.organization?.has_extra_usage_enabled??null,billingType:$?.organization?.billing_type??null};if($?.account?.display_name)Y.displayName=$.account.display_name;if($?.account?.created_at)Y.accountCreatedAt=$.account.created_at;if($?.organization?.subscription_created_at)Y.subscriptionCreatedAt=$.organization.subscription_created_at;return x("",{}),{...Y,rawProfile:$}}async function DQ(){let $=D().oauthAccount?.organizationUuid;if($)return $;let J=w()?.accessToken;if(J===void 0||!q0())return null;let Y=(await G0(J))?.organization?.uuid;if(!Y)return null;return Y}async function bQ(){let Z=process.env.CLAUDE_CODE_ACCOUNT_UUID,$=process.env.CLAUDE_CODE_USER_EMAIL,J=process.env.CLAUDE_CODE_ORGANIZATION_UUID,Q=Boolean(Z&&$&&J);if(Z&&$&&J){if(!D().oauthAccount)B7({accountUuid:Z,emailAddress:$,organizationUuid:J})}await d0();let Y=D();if(Y.oauthAccount&&Y.oauthAccount.billingType!==void 0&&Y.oauthAccount.accountCreatedAt!==void 0&&Y.oauthAccount.subscriptionCreatedAt!==void 0||!y()||!q0())return!1;let q=w();if(q?.accessToken){let X=await G0(q.accessToken),V=X?.account,j=X?.organization;if(V){if(Q)z("OAuth profile fetch succeeded, overriding env var account info",{level:"info"});return B7({accountUuid:V.uuid,emailAddress:V.email??"",organizationUuid:j?.uuid,displayName:V.display_name||void 0,hasExtraUsageEnabled:j?.has_extra_usage_enabled??!1,billingType:j?.billing_type??void 0,accountCreatedAt:V.created_at,subscriptionCreatedAt:j?.subscription_created_at??void 0}),!0}}return!1}function B7({accountUuid:Z,emailAddress:$,organizationUuid:J,displayName:Q,hasExtraUsageEnabled:Y,billingType:q,accountCreatedAt:X,subscriptionCreatedAt:V}){let j={accountUuid:Z,emailAddress:$,organizationUuid:J,hasExtraUsageEnabled:Y,billingType:q,accountCreatedAt:X,subscriptionCreatedAt:V};if(Q)j.displayName=Q;S((G)=>{if(G.oauthAccount?.accountUuid===j.accountUuid&&G.oauthAccount?.emailAddress===j.emailAddress&&G.oauthAccount?.organizationUuid===j.organizationUuid&&G.oauthAccount?.displayName===j.displayName&&G.oauthAccount?.hasExtraUsageEnabled===j.hasExtraUsageEnabled&&G.oauthAccount?.billingType===j.billingType&&G.oauthAccount?.accountCreatedAt===j.accountCreatedAt&&G.oauthAccount?.subscriptionCreatedAt===j.subscriptionCreatedAt)return G;return{...G,oauthAccount:j}})}var r4=R(()=>{Y5();z5();_0();o();$0();Z0();t5()});
|
|
16
|
-
export{k3 as i5,N3 as j5,g4 as k5,C2 as l5,u2 as m5,rZ as n5,oZ as o5,w7 as p5,L7 as q5,eZ as r5,c2 as s5,l0 as t5,N0 as u5,U0 as v5,u5 as w5,i5 as x5,v7 as y5,O0 as z5,W as A5,z$ as B5,h7 as C5,x$ as D5,B$ as E5,G$ as F5,i as G5,B as H5,k$ as I5,Q5 as J5,U$ as K5,v$ as L5,Y1 as M5,I$ as N5,G0 as O5,t5 as P5,b0 as Q5,mZ as R5,wQ as S5,FQ as T5,a4 as U5,KQ as V5,LQ as W5,g0 as X5,cZ as Y5,DQ as Z5,bQ as _5,B7 as $5,r4 as a6,g$ as b6,g7 as c6,q1 as d6,G1 as e6,V5 as f6,w1 as g6,t$ as h6,L1 as i6,M as j6,b1 as k6,I0 as l6,N1 as m6,U1 as n6,a$ as o6,r$ as p6,O1 as q6,o$ as r6,e$ as s6,E1 as t6,ZJ as u6,$J as v6,JJ as w6,e5 as x6,I as y6,f1 as z6,d7 as A6,LJ as B6,DJ as C6,bJ as D6,A1 as E6,kJ as F6,NJ as G6,i7 as H6,UJ as I6,vJ as J6,PJ as K6,OJ as L6,EJ as M6,l7 as N6,yJ as O6,_J as P6,hJ as Q6,IJ as R6,p1 as S6,f0 as T6,o7 as U6,Z8 as V6,$8 as W6,q2 as X6,W8 as Y6,uJ as Z6,V2 as _6,t1 as $6,j8 as a7,W2 as b7,s1 as c7,a1 as d7,z9 as e7,x9 as f7,B5 as g7,j2 as h7,B9 as i7,w8 as j7,X0 as k7,A0 as l7,Q4 as m7,G9 as n7,S0 as o7,Y4 as p7,F as q7,b as r7,F8 as s7,H9 as t7,R9 as u7,K8 as v7,J2 as w7,w9 as x7,q4 as y7,X4 as z7,F9 as A7,T as B7,K9 as C7,b8 as D7,L9 as E7,D9 as F7,b9 as G7,k9 as H7,w0 as I7,U9 as J7,V4 as K7,P9 as L7,x4 as M7,F4 as N7,S8 as O7,L4 as P7,d9 as Q7,i9 as R7,t9 as S7,V0 as T7,l as U7,n9 as V7,c8 as W7,l9 as X7,s9 as Y7,B2 as Z7,P4 as _7,O4 as $7,G3 as a8,l8 as b8,H3 as c8,R3 as d8,y4 as e8,w3 as f8,T4 as g8,s8 as h8,F3 as i8,M4 as j8,S4 as k8,L2 as l8,p4 as m8,P3 as n8,c4 as o8,d4 as p8,k0 as q8,O2 as r8,h0 as s8,WZ as t8,c0 as u8,s as v8,y2 as w8,h2 as x8,Z7 as y8,jZ as z8,$7 as A8,b2 as B8,xZ as C8,BZ as D8,J7 as E8,j0 as F8,FZ as G8,T2 as H8,Q7 as I8,Y7 as J8,M2 as K8,kZ as L8,NZ as M8,UZ as N8,U5 as O8,S2 as P8,PZ as Q8,OZ as R8,X7 as S8,w as T8,f2 as U8,Q2 as V8,p0 as W8,d0 as X8,y as Y8,q0 as Z8,_Z as _8,b5 as $8,hZ as a9,IZ as b9,f as c9,H5 as d9,TZ as e9,R5 as f9,MZ as g9,G2 as h9,V7 as i9,W7 as j9,k5 as k9,z7 as l9,fZ as m9,CZ as n9,uZ as o9,gZ as p9,pZ as q9,o as r9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Yta as K}from"./cli-1.1.25-7qxwpfwh.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
|
|
2
|
-
export{M as Jla,N as Kla,Q as Lla,R as Mla,S as Nla,L as Ola};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{$n as R,Lp as G,Op as a,ao as BJ,rF as k,sF as HJ,xt as D,yt as hJ}from"./cli-1.1.25-q88hb4qg.mjs";import{T8 as ZJ,c9 as $J,r9 as bJ}from"./cli-1.1.25-5n21xpvc.mjs";import{Daa as C,Eaa as GJ,Faa as h,Gaa as FJ,Haa as u,Iaa as kJ,Pea as jJ,xea as WJ}from"./cli-1.1.25-s54emewd.mjs";import{Fia as x,Ria as gJ}from"./cli-1.1.25-sjqg08ww.mjs";import{Hja as q,Jja as s,Kja as Y,Lja as r}from"./cli-1.1.25-peepax79.mjs";import{mka as M,rka as yJ}from"./cli-1.1.25-37rs38eq.mjs";import{$ka as n,Rka as o,Ska as CJ,ala as EJ,fla as l,gla as TJ}from"./cli-1.1.25-qgnyys4j.mjs";import{Bna as c,Cna as OJ,Fna as H,Gna as F,Hna as I,Hra as QJ,Ina as YJ,Jma as g,Jna as P,Kma as zJ,Kna as XJ,Lma as A,Mma as wJ,Xma as f,Yma as PJ,bsa as mJ}from"./cli-1.1.25-p9j8prqh.mjs";import{ksa as K,lsa as DJ}from"./cli-1.1.25-pzp73p0x.mjs";import{Yta as B}from"./cli-1.1.25-7qxwpfwh.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
|
|
2
|
-
${Q}
|
|
3
|
-
</${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
|
|
4
|
-
export{NQ as Cf,_J as Df,JJ as Ef,bQ as Ff,uQ as Gf,cJ as Hf,iQ as If,oJ as Jf};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{kX as Q,pX as w}from"./cli-1.1.25-1sf51thg.mjs";import{b3 as x,d3 as j}from"./cli-1.1.25-sz3dey5y.mjs";import{Eia as K,Ria as Y}from"./cli-1.1.25-sjqg08ww.mjs";import{Hja as k,Jja as Z,Kja as M,Lja as $}from"./cli-1.1.25-peepax79.mjs";import{Yta as X}from"./cli-1.1.25-7qxwpfwh.mjs";async function W(){let q=await K("tengu_bridge_repl_v2_config",J),H=y().safeParse(q);return H.success?H.data:J}async function p(){let q=await W();if(q.min_version&&x("99.0.0",q.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${q.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function A(){if(!Q())return!1;return(await W()).should_show_app_upgrade_message}var J,y;var P=X(()=>{Z();Y();$();j();w();J={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},y=M(()=>k.object({init_retry_max_attempts:k.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:k.number().int().min(100).default(500),init_retry_jitter_fraction:k.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:k.number().int().min(500).default(4000),http_timeout_ms:k.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:k.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:k.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:k.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:k.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:k.number().int().min(500).max(2000).default(1500),connect_timeout_ms:k.number().int().min(5000).max(60000).default(15000),min_version:k.string().refine((q)=>{try{return x(q,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:k.boolean().default(!1)}))});
|
|
3
|
-
export{J as Xb,W as Yb,p as Zb,A as _b,P as $b};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$p as i,Wo as j,Xo as m,Yo as Xq,Yp as l,_p as Rq,bq as Aq,rp as D,wp as Zq}from"./cli-1.1.25-q88hb4qg.mjs";import{Hha as Qq,ida as u,kda as g,nda as h,oda as n,tda as vq,zha as L}from"./cli-1.1.25-s54emewd.mjs";import{Hja as d,Jja as Uq}from"./cli-1.1.25-peepax79.mjs";import{Fla as V,Ila as e,ila as P,jla as v,nla as f,rla as M,vla as y}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as W,ema as O,fma as C,kma as N}from"./cli-1.1.25-6r6r7rep.mjs";import{eta as p,wta as qq}from"./cli-1.1.25-9yhnadye.mjs";import{Yta as E}from"./cli-1.1.25-7qxwpfwh.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(x){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let J=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:J,ref:X}:{source:"git",url:J}}}return{source:"url",url:G}}let K=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||K){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=E(()=>{N();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as xq}from"fs/promises";import{join as Jq}from"path";function c(){return Jq(D(),Kq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==_)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${_})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=D();await M().mkdir(Q);let B=P(Z,null,2);await xq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){L(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${w}`);let Z=performance.now();try{let q=await p.get(w,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return j("install_counts",w,"success",performance.now()-Z),q.data.plugins}catch(q){throw j("install_counts",w,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),j("install_counts",w,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:_,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return L(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var _=1,Kq="install-counts-cache.json",w="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=E(()=>{qq();e();N();y();Qq();f();Xq();Zq()});import{readdir as wq,readFile as A,stat as Iq}from"fs/promises";import*as H from"path";function jq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function I(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Eq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function S(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),x;if(Y==="ENOENT")x=`File not found: ${Q}`;else if(Y==="EISDIR")x=`Path is not a file: ${Q}`;else x=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:x,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let K;try{K=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(K&&typeof K==="object"){let X=K;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((x,J)=>{if(typeof x==="string")I(x,`commands[${J}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((x,J)=>{if(typeof x==="string")I(x,`agents[${J}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((x,J)=>{if(typeof x==="string")I(x,`skills[${J}]`,q)})}let z=K;if(typeof K==="object"&&K!==null){let X=K,Y=Object.keys(X).filter((x)=>Mq.has(x));if(Y.length>0){let x={...X};for(let J of Y)delete x[J],$.push({path:J,message:`Field '${J}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claudin "+"ignores it at load time."});z=x}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claudin accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),x;if(Y==="ENOENT")x=`File not found: ${Q}`;else if(Y==="EISDIR")x=`Path is not a file: ${Q}`;else x=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:x,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let K;try{K=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(K&&typeof K==="object"){let X=K;if(Array.isArray(X.plugins))X.plugins.forEach((Y,x)=>{if(Y&&typeof Y==="object"&&"source"in Y){let J=Y.source;if(typeof J==="string")I(J,`plugins[${x}].source`,q,Eq(J));if(J&&typeof J==="object"&&"path"in J&&typeof J.path==="string")I(J.path,`plugins[${x}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(K);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((J,U)=>{if(X.plugins.filter((R)=>R.name===J.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${J.name}" found in marketplace`})});let Y=H.dirname(Q),x=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[J,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(x,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${J}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function Nq(Z,q,$){let Q=[],B=[],K=q.match(i);if(!K)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=K[1]||"",G;try{G=l(z)}catch(J){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(J)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let J=X.description;if(typeof J!=="string"&&typeof J!=="number"&&typeof J!=="boolean"&&J!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(J)?"array":typeof J}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((J)=>typeof J!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let x=X.shell;if(x!==void 0&&x!==null)if(typeof x!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof x}.`});else{let J=x.trim().toLowerCase();if(J!=="bash"&&J!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${x}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function _q(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await wq(Z,{withFileTypes:!0})}catch(B){let K=O(B);if(K==="ENOENT"||K==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let K=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(K,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(K)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,K]of $){let z=await o(K,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(x){if(C(x))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(x)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=Nq(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await _q(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await Iq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),K=await k(B);if(K.errors[0]?.code!=="ENOENT")return K;let z=H.join(q,".claude-plugin","plugin.json"),G=await S(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(jq(Z)){case"plugin":return S(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),K=v(B);if(Array.isArray(K.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return S(Z)}}}var Mq;var Lq=E(()=>{Uq();N();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
-
export{Fq as nc,r as oc,nq as pc,lq as qc,Oq as rc,QQ as sc,XQ as tc,Lq as uc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bf as PJ,yf as UG,zf as RG}from"./cli-1.1.25-dn7m24cg.mjs";import{CG as YJ,CN as jJ,DG as CJ,DN as HJ,DO as pJ,EI as JG,FI as ZJ,FN as fG,GN as hG,HN as TG,IN as dG,LN as NG,MG as QG,SN as iG,TG as uG,aO as qJ,bO as CG,dO as VJ,hy as LG,iO as mJ,iy as XJ,ky as cG,no as h,oo as jG,po as p,qo as MG,ro as r,so as WG,tN as WJ,vo as BG,wo as EJ,zO as mG}from"./cli-1.1.25-q88hb4qg.mjs";import{$Y as TJ,LY as LJ,MY as hJ,ZY as zG,cZ as wG,dZ as QJ}from"./cli-1.1.25-12b1rzfj.mjs";import{$Z as bG,A1 as Q,E1 as FG,U1 as JJ,VZ as GJ,_Z as AJ,d2 as VG,i0 as DG,w1 as m,y1 as Y}from"./cli-1.1.25-2gtabky3.mjs";import{F4 as n,G4 as L,H4 as X,I4 as a}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as $G}from"./cli-1.1.25-6bb29bw7.mjs";import{g5 as AG,h5 as dJ}from"./cli-1.1.25-9xqq9dsw.mjs";import{$8 as eG,r9 as gJ}from"./cli-1.1.25-5n21xpvc.mjs";import{$_ as rG,Bda as yG,Cda as IG,Dda as KJ,Eha as sG,Hha as _J,Tda as kG,Uda as zJ,__ as S,aea as pG}from"./cli-1.1.25-s54emewd.mjs";import{Aka as gG,Bka as SJ}from"./cli-1.1.25-6vwz5vma.mjs";import{Cka as C,Fka as bJ}from"./cli-1.1.25-vkg5fb0z.mjs";import{dma as HG,kma as tG}from"./cli-1.1.25-6r6r7rep.mjs";import{Uta as e,Yta as GG}from"./cli-1.1.25-7qxwpfwh.mjs";function KG(J){let G=oG.c(9),{serverToolsCount:Z,serverPromptsCount:z,serverResourcesCount:q}=J,H;if(G[0]!==z||G[1]!==q||G[2]!==Z){if(H=[],Z>0)H.push("tools");if(q>0)H.push("resources");if(z>0)H.push("prompts");G[0]=z,G[1]=q,G[2]=Z,G[3]=H}else H=G[3];let k;if(G[4]===Symbol.for("react.memo_cache_sentinel"))k=L(Q,{bold:!0,children:"Capabilities: "}),G[4]=k;else k=G[4];let W;if(G[5]!==H)W=H.length>0?L(r,{children:H}):"none",G[5]=H,G[6]=W;else W=G[6];let D;if(G[7]!==W)D=X(Y,{children:[k,L(Q,{color:"text",children:W})]}),G[7]=W,G[8]=D;else D=G[8];return D}var oG;var SG=GG(()=>{VG();WG();a();oG=e(bG(),1)});function EG(J,G){switch(J.client.type){case"connected":return{message:`Reconnected to ${G}.`,success:!0};case"needs-auth":return{message:`${G} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${G}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${G}.`,success:!1}}}function PG(J,G){let Z=J instanceof Error?J.message:String(J);return`Error reconnecting to ${G}: ${Z}`}var _G=()=>{};function OL({server:J,serverToolsCount:G,onViewTools:Z,onCancel:z,onComplete:q,borderless:H=!1}){let[k]=DG(),W=wG(),{columns:D}=LJ(),[I,U]=E.default.useState(!1),[$,R]=E.default.useState(null),_=LG((V)=>V.mcp),f=XJ(),[O,K]=E.default.useState(null),[P,w]=E.useState(!1),N=E.useRef(null),[g,j]=E.useState(!1),[c,T]=E.useState(null),[A,y]=E.useState(!1),[u,i]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),B=E.useRef(!1),[xG,XG]=E.useState(""),[DJ,wJ]=E.useState(0),[aG,nG]=E.useState(null);E.useEffect(()=>()=>{if(B.current=!0,N.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let YG=J.isAuthenticated||J.client.type==="connected"&&G>0,ZG=UG(),MJ=E.default.useCallback(async()=>{j(!1),T(null),w(!0);try{let V=await ZG(J.name),F=V.client.type==="connected";if(C("",{success:F}),F)q?.(`Authentication successful. Connected to ${J.name}.`);else if(V.client.type==="needs-auth")q?.("Authentication successful, but server still requires authentication. You may need to manually restart Claudin.");else q?.("Authentication successful, but server reconnection failed. You may need to manually restart Claudin for the changes to take effect.")}catch(V){C("",{success:!1}),q?.(PG(V,J.name))}finally{w(!1)}},[ZG,J.name,q]),fJ=E.default.useCallback(async()=>{await mG(J.name,{...J.config,scope:J.scope}),f((V)=>{let F=V.mcp.clients.map((t)=>t.name===J.name?{...t,type:"needs-auth"}:t),M=hG(V.mcp.tools,J.name),d=TG(V.mcp.commands,J.name),qG=dG(V.mcp.resources,J.name);return{...V,mcp:{...V.mcp,clients:F,tools:M,commands:d,resources:qG}}}),C("",{}),q?.(`Disconnected from ${J.name}.`),y(!1),i(null),v(!1)},[J.name,J.config,J.scope,f,q]);zG("confirm:no",()=>{N.current?.abort(),N.current=null,U(!1),K(null)},{context:"Confirmation",isActive:I}),zG("confirm:no",()=>{j(!1),T(null)},{context:"Confirmation",isActive:g}),zG("confirm:no",()=>{y(!1),i(null),v(!1)},{context:"Confirmation",isActive:A}),JJ((V,F)=>{if(F.return&&g)MJ();if(F.return&&A)if(l)fJ();else{let M=`${gG().CLAUDE_AI_ORIGIN}/settings/connectors`;i(M),v(!0),AG(M)}if(V==="c"&&!o){let M=O||c||u;if(M)GJ(M).then((d)=>{if(B.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let NJ=kG(String(J.name)),UJ=fG(_.commands,J.name).length,lG=RG(),RJ=E.default.useCallback(async()=>{let V=gG().CLAUDE_AI_ORIGIN,M=eG()?.organizationUuid,d;if(M&&J.config.type==="claudeai-proxy"&&J.config.id){let qG=J.config.id.startsWith("mcprs")?"mcpsrv"+J.config.id.slice(5):J.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${V}/api/organizations/${M}/mcp/start-auth/${qG}?product_surface=${t}`}else d=`${V}/settings/connectors`;T(d),j(!0),C("",{}),await AG(d)},[J.config]),OJ=E.default.useCallback(()=>{y(!0),C("",{})},[]),yJ=E.default.useCallback(async()=>{let V=J.client.type!=="disabled";try{if(await lG(J.name),J.config.type==="claudeai-proxy")C("",{new_state:V?"disabled":"enabled"});z()}catch(F){q?.(`Failed to ${V?"disable":"enable"} MCP server '${J.name}': ${HG(F)}`)}},[J.client.type,J.config.type,J.name,lG,z,q]),IJ=E.default.useCallback(async()=>{if(J.config.type==="claudeai-proxy")return;U(!0),R(null);let V=new AbortController;N.current=V;try{if(J.isAuthenticated&&J.config)await CG(J.name,J.config,{preserveStepUpState:!0});if(J.config){await VJ(J.name,J.config,K,V.signal,{onWaitingForCallback:(M)=>{nG(()=>M)}}),C("",{wasAuthenticated:J.isAuthenticated});let F=await ZG(J.name);if(F.client.type==="connected"){let M=YG?`Authentication successful. Reconnected to ${J.name}.`:`Authentication successful. Connected to ${J.name}.`;q?.(M)}else if(F.client.type==="needs-auth")q?.("Authentication successful, but server still requires authentication. You may need to manually restart Claudin.");else sG(J.name,"Reconnection failed after authentication"),q?.("Authentication successful, but server reconnection failed. You may need to manually restart Claudin for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof qJ))R(F.message)}finally{U(!1),N.current=null,nG(null),XG("")}},[J.isAuthenticated,J.config,J.name,q,ZG,YG]),BJ=async()=>{if(J.config.type==="claudeai-proxy")return;if(J.config)await CG(J.name,J.config),C("",{}),await mG(J.name,{...J.config,scope:J.scope}),f((V)=>{let F=V.mcp.clients.map((t)=>t.name===J.name?{...t,type:"failed"}:t),M=hG(V.mcp.tools,J.name),d=TG(V.mcp.commands,J.name),qG=dG(V.mcp.resources,J.name);return{...V,mcp:{...V.mcp,clients:F,tools:M,commands:d,resources:qG}}}),q?.(`Authentication cleared for ${J.name}.`)};if(I)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Authenticating with ",J.name,"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" A browser window will open for authentication"})]}),O&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:O})]}),I&&O&&aG&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),X(Y,{children:[X(Q,{dimColor:!0,children:["URL ",">"," "]}),L(YJ,{value:xG,onChange:XG,onSubmit:(F)=>{aG(F.trim()),XG("")},cursorOffset:DJ,onChangeCursorOffset:wJ,columns:D-8})]})]}),L(Y,{marginLeft:3,children:L(Q,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]});if(g)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Authenticating with ",J.name,"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" A browser window will open for authentication"})]}),c&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:c})]}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Clear authentication for ",J.name]}),l?X(n,{children:[L(Q,{children:'Find the MCP server in the browser and click "Disconnect".'}),u&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:u})]}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," when done."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):X(n,{children:[L(Q,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," to open the browser."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(P)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"text",children:["Connecting to ",L(Q,{bold:!0,children:J.name}),"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" Establishing connection to MCP server"})]}),L(Q,{dimColor:!0,children:"This may take a few moments."})]});let b=[];if(J.client.type==="disabled")b.push({label:"Enable",value:"toggle-enabled"});if(J.client.type==="connected"&&G>0)b.push({label:"View tools",value:"tools"});if(J.config.type==="claudeai-proxy"){if(J.client.type==="connected")b.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(J.client.type!=="disabled")b.push({label:"Authenticate",value:"claudeai-auth"})}else{if(YG)b.push({label:"Re-authenticate",value:"reauth"}),b.push({label:"Clear authentication",value:"clear-auth"});if(!YG)b.push({label:"Authenticate",value:"auth"})}if(J.client.type!=="disabled"){if(J.client.type!=="needs-auth")b.push({label:"Reconnect",value:"reconnectMcpServer"});b.push({label:"Disable",value:"toggle-enabled"})}if(b.length===0)b.push({label:"Back",value:"back"});return X(Y,{flexDirection:"column",children:[X(Y,{flexDirection:"column",paddingX:1,borderStyle:H?void 0:"round",children:[L(Y,{marginBottom:1,children:X(Q,{bold:!0,children:[NJ," MCP Server"]})}),X(Y,{flexDirection:"column",gap:0,children:[X(Y,{children:[L(Q,{bold:!0,children:"Status: "}),J.client.type==="disabled"?X(Q,{children:[m("inactive",k)(S.radioOff)," disabled"]}):J.client.type==="connected"?X(Q,{children:[m("success",k)(S.tick)," connected"]}):J.client.type==="pending"?X(n,{children:[L(Q,{dimColor:!0,children:S.radioOff}),L(Q,{children:" connecting…"})]}):J.client.type==="needs-auth"?X(Q,{children:[m("warning",k)(S.triangleUpOutline)," needs authentication"]}):X(Q,{children:[m("error",k)(S.cross)," failed"]})]}),J.transport!=="claudeai-proxy"&&X(Y,{children:[L(Q,{bold:!0,children:"Auth: "}),YG?X(Q,{children:[m("success",k)(S.tick)," authenticated"]}):X(Q,{children:[m("error",k)(S.cross)," not authenticated"]})]}),X(Y,{children:[L(Q,{bold:!0,children:"URL: "}),L(Q,{dimColor:!0,children:J.config.url})]}),X(Y,{children:[L(Q,{bold:!0,children:"Config location: "}),L(Q,{dimColor:!0,children:NG(J.scope)})]}),J.client.type==="connected"&&L(KG,{serverToolsCount:G,serverPromptsCount:UJ,serverResourcesCount:_.resources[J.name]?.length||0}),J.client.type==="connected"&&G>0&&X(Y,{children:[L(Q,{bold:!0,children:"Tools: "}),X(Q,{dimColor:!0,children:[G," tools"]})]})]}),$&&L(Y,{marginTop:1,children:X(Q,{color:"error",children:["Error: ",$]})}),b.length>0&&L(Y,{marginTop:1,children:L(QG,{options:b,onChange:async(V)=>{switch(V){case"tools":Z();break;case"auth":case"reauth":await IJ();break;case"clear-auth":await BJ();break;case"claudeai-auth":await RJ();break;case"claudeai-clear-auth":OJ();break;case"reconnectMcpServer":w(!0);try{let F=await ZG(J.name);if(J.config.type==="claudeai-proxy")C("",{success:F.client.type==="connected"});let{message:M}=EG(F,J.name);q?.(M)}catch(F){if(J.config.type==="claudeai-proxy")C("",{success:!1});q?.(PG(F,J.name))}finally{w(!1)}break;case"toggle-enabled":await yJ();break;case"back":z();break}},onCancel:z})})]}),L(Y,{marginTop:1,children:L(Q,{dimColor:!0,italic:!0,children:W.pending?X(n,{children:["Press ",W.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $J=GG(()=>{rG();bJ();SJ();QJ();hJ();AJ();VG();TJ();mJ();pJ();PJ();iG();cG();gJ();dJ();tG();_J();pG();MG();uG();WG();jG();ZJ();CJ();SG();_G();a();E=e($G(),1)});function iL({server:J,serverToolsCount:G,onViewTools:Z,onCancel:z,onComplete:q,borderless:H=!1}){let[k]=DG(),W=wG(),D=LG((P)=>P.mcp),I=UG(),U=RG(),[$,R]=OG.useState(!1),_=OG.default.useCallback(async()=>{let P=J.client.type!=="disabled";try{await U(J.name),z()}catch(w){q(`Failed to ${P?"disable":"enable"} MCP server '${J.name}': ${HG(w)}`)}},[J.client.type,J.name,U,z,q]),f=kG(String(J.name)),O=fG(D.commands,J.name).length,K=[];if(J.client.type!=="disabled"&&G>0)K.push({label:"View tools",value:"tools"});if(J.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:J.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"text",children:["Reconnecting to ",L(Q,{bold:!0,children:J.name})]}),X(Y,{children:[L(JG,{}),L(Q,{children:" Restarting MCP server process"})]}),L(Q,{dimColor:!0,children:"This may take a few moments."})]});return X(Y,{flexDirection:"column",children:[X(Y,{flexDirection:"column",paddingX:1,borderStyle:H?void 0:"round",children:[L(Y,{marginBottom:1,children:X(Q,{bold:!0,children:[f," MCP Server"]})}),X(Y,{flexDirection:"column",gap:0,children:[X(Y,{children:[L(Q,{bold:!0,children:"Status: "}),J.client.type==="disabled"?X(Q,{children:[m("inactive",k)(S.radioOff)," disabled"]}):J.client.type==="connected"?X(Q,{children:[m("success",k)(S.tick)," connected"]}):J.client.type==="pending"?X(n,{children:[L(Q,{dimColor:!0,children:S.radioOff}),L(Q,{children:" connecting…"})]}):X(Q,{children:[m("error",k)(S.cross)," failed"]})]}),X(Y,{children:[L(Q,{bold:!0,children:"Command: "}),L(Q,{dimColor:!0,children:J.config.command})]}),J.config.args&&J.config.args.length>0&&X(Y,{children:[L(Q,{bold:!0,children:"Args: "}),L(Q,{dimColor:!0,children:J.config.args.join(" ")})]}),X(Y,{children:[L(Q,{bold:!0,children:"Config location: "}),L(Q,{dimColor:!0,children:NG(WJ(J.name)?.scope??"dynamic")})]}),J.client.type==="connected"&&L(KG,{serverToolsCount:G,serverPromptsCount:O,serverResourcesCount:D.resources[J.name]?.length||0}),J.client.type==="connected"&&G>0&&X(Y,{children:[L(Q,{bold:!0,children:"Tools: "}),X(Q,{dimColor:!0,children:[G," tools"]})]})]}),K.length>0&&L(Y,{marginTop:1,children:L(QG,{options:K,onChange:async(P)=>{if(P==="tools")Z();else if(P==="reconnectMcpServer"){R(!0);try{let w=await I(J.name),{message:N}=EG(w,J.name);q?.(N)}catch(w){q?.(PG(w,J.name))}finally{R(!1)}}else if(P==="toggle-enabled")await _();else if(P==="back")z()},onCancel:z})})]}),L(Y,{marginTop:1,children:L(Q,{dimColor:!0,italic:!0,children:W.pending?X(n,{children:["Press ",W.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var OG;var cJ=GG(()=>{rG();QJ();VG();jJ();PJ();iG();cG();tG();pG();MG();uG();WG();jG();ZJ();SG();_G();a();OG=e($G(),1)});function tL(J){let G=FJ.c(44),{tool:Z,server:z,onBack:q}=J,[H,k]=vG.default.useState(""),W,D;if(G[0]!==z.name||G[1]!==Z){D=yG(Z.name,z.name);let s=Z.userFacingName?Z.userFacingName({}):D;W=IG(s),G[0]=z.name,G[1]=Z,G[2]=W,G[3]=D}else W=G[2],D=G[3];let I=W,U;if(G[4]!==Z)U=Z.isReadOnly?.({})??!1,G[4]=Z,G[5]=U;else U=G[5];let $=U,R;if(G[6]!==Z)R=Z.isDestructive?.({})??!1,G[6]=Z,G[7]=R;else R=G[7];let _=R,f;if(G[8]!==Z)f=Z.isOpenWorld?.({})??!1,G[8]=Z,G[9]=f;else f=G[9];let O=f,K,P;if(G[10]!==Z)K=()=>{(async function(){try{let B=await Z.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});k(B)}catch{k("Failed to load description")}})()},P=[Z],G[10]=Z,G[11]=K,G[12]=P;else K=G[11],P=G[12];vG.default.useEffect(K,P);let w;if(G[13]!==$)w=$&&L(Q,{color:"success",children:" [read-only]"}),G[13]=$,G[14]=w;else w=G[14];let N;if(G[15]!==_)N=_&&L(Q,{color:"error",children:" [destructive]"}),G[15]=_,G[16]=N;else N=G[16];let g;if(G[17]!==O)g=O&&L(Q,{dimColor:!0,children:" [open-world]"}),G[17]=O,G[18]=g;else g=G[18];let j;if(G[19]!==I||G[20]!==w||G[21]!==N||G[22]!==g)j=X(n,{children:[I,w,N,g]}),G[19]=I,G[20]=w,G[21]=N,G[22]=g,G[23]=j;else j=G[23];let c=j,T;if(G[24]===Symbol.for("react.memo_cache_sentinel"))T=L(Q,{bold:!0,children:"Tool name: "}),G[24]=T;else T=G[24];let A;if(G[25]!==D)A=X(Y,{children:[T,L(Q,{dimColor:!0,children:D})]}),G[25]=D,G[26]=A;else A=G[26];let y;if(G[27]===Symbol.for("react.memo_cache_sentinel"))y=L(Q,{bold:!0,children:"Full name: "}),G[27]=y;else y=G[27];let u;if(G[28]!==Z.name)u=X(Y,{children:[y,L(Q,{dimColor:!0,children:Z.name})]}),G[28]=Z.name,G[29]=u;else u=G[29];let i;if(G[30]!==H)i=H&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{bold:!0,children:"Description:"}),L(Q,{wrap:"wrap",children:H})]}),G[30]=H,G[31]=i;else i=G[31];let l;if(G[32]!==Z.inputJSONSchema)l=Z.inputJSONSchema&&Z.inputJSONSchema.properties&&Object.keys(Z.inputJSONSchema.properties).length>0&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{bold:!0,children:"Parameters:"}),L(Y,{marginLeft:2,flexDirection:"column",children:Object.entries(Z.inputJSONSchema.properties).map((s)=>{let[x,B]=s,XG=Z.inputJSONSchema?.required?.includes(x);return X(Q,{children:["• ",x,XG&&L(Q,{dimColor:!0,children:" (required)"}),":"," ",L(Q,{dimColor:!0,children:typeof B==="object"&&B&&"type"in B?String(B.type):"unknown"}),typeof B==="object"&&B&&"description"in B&&X(Q,{dimColor:!0,children:[" - ",String(B.description)]})]},x)})})]}),G[32]=Z.inputJSONSchema,G[33]=l;else l=G[33];let v;if(G[34]!==A||G[35]!==u||G[36]!==i||G[37]!==l)v=X(Y,{flexDirection:"column",children:[A,u,i,l]}),G[34]=A,G[35]=u,G[36]=i,G[37]=l,G[38]=v;else v=G[38];let o;if(G[39]!==q||G[40]!==z.name||G[41]!==v||G[42]!==c)o=L(BG,{title:c,subtitle:z.name,onCancel:q,inputGuide:uJ,children:v}),G[39]=q,G[40]=z.name,G[41]=v,G[42]=c,G[43]=o;else o=G[43];return o}function uJ(J){return J.pending?X(Q,{children:["Press ",J.keyName," again to exit"]}):L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FJ,vG;var iJ=GG(()=>{VG();KJ();MG();EJ();a();FJ=e(bG(),1),vG=e($G(),1)});function PQ(J){let G=kJ.c(21),{server:Z,onSelectTool:z,onBack:q}=J,H=LG(xJ),k;G:{if(Z.client.type!=="connected"){let P;if(G[0]===Symbol.for("react.memo_cache_sentinel"))P=[],G[0]=P;else P=G[0];k=P;break G}let K;if(G[1]!==H||G[2]!==Z.name)K=HJ(H,Z.name),G[1]=H,G[2]=Z.name,G[3]=K;else K=G[3];k=K}let W=k,D;if(G[4]!==Z.name||G[5]!==W){let K;if(G[7]!==Z.name)K=(P,w)=>{let N=yG(P.name,Z.name),g=P.userFacingName?P.userFacingName({}):N,j=IG(g),c=P.isReadOnly?.({})??!1,T=P.isDestructive?.({})??!1,A=P.isOpenWorld?.({})??!1,y=[];if(c)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:j,value:w.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":c?"success":void 0}},G[7]=Z.name,G[8]=K;else K=G[8];D=W.map(K),G[4]=Z.name,G[5]=W,G[6]=D}else D=G[6];let I=D,U=`Tools for ${Z.name}`,$=W.length,R;if(G[9]!==W.length)R=zJ(W.length,"tool"),G[9]=W.length,G[10]=R;else R=G[10];let _=`${$} ${R}`,f;if(G[11]!==q||G[12]!==z||G[13]!==W||G[14]!==I)f=W.length===0?L(Q,{dimColor:!0,children:"No tools available"}):L(QG,{options:I,onChange:(K)=>{let P=parseInt(K),w=W[P];if(w)z(w,P)},onCancel:q}),G[11]=q,G[12]=z,G[13]=W,G[14]=I,G[15]=f;else f=G[15];let O;if(G[16]!==q||G[17]!==U||G[18]!==_||G[19]!==f)O=L(BG,{title:U,subtitle:_,onCancel:q,inputGuide:vJ,children:f}),G[16]=q,G[17]=U,G[18]=_,G[19]=f,G[20]=O;else O=G[20];return O}function vJ(J){return J.pending?X(Q,{children:["Press ",J.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xJ(J){return J.mcp.tools}var kJ;var aJ=GG(()=>{VG();KJ();iG();cG();pG();MG();uG();WG();EJ();jG();a();kJ=e(bG(),1)});
|
|
2
|
-
export{OL as pf,$J as qf,iL as rf,cJ as sf,tL as tf,iJ as uf,PQ as vf,aJ as wf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Cka as X,Fka as z}from"./cli-1.1.25-vkg5fb0z.mjs";import{Fla as $,Ila as P,ila as Z,nla as O}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as Y,kma as H}from"./cli-1.1.25-6r6r7rep.mjs";import{Yta as x}from"./cli-1.1.25-7qxwpfwh.mjs";function y(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function U(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function j(q){let K=typeof q==="string"?q:Z(q),J=y(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function h(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function m(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var A=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
|
|
2
|
-
export{U as Le,j as Me,h as Ne,m as Oe,D as Pe,L as Qe,A as Re};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Yta as M}from"./cli-1.1.25-7qxwpfwh.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
|
|
2
|
-
export{V as Zi,W as _i,X as $i,Z as aj,Y as bj};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Hja as q,Jja as A,Kja as x,Lja as B}from"./cli-1.1.25-peepax79.mjs";import{nla as J}from"./cli-1.1.25-qgnyys4j.mjs";import{kma as G}from"./cli-1.1.25-6r6r7rep.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Uh as e,Xh as fq}from"./cli-1.1.25-cc10r97z.mjs";import{Yh as t,_h as Hq}from"./cli-1.1.25-k6v3tvg9.mjs";import{CG as r,DG as kq,MG as n,NG as Mq,lP as o,mP as s,nP as Oq,no as S,oo as Nq,po as g,qo as Vq,ro as $,so as Wq,vo as i,wo as Yq}from"./cli-1.1.25-q88hb4qg.mjs";import{$Y as Zq,ZY as u}from"./cli-1.1.25-12b1rzfj.mjs";import{$Z as Qq,A1 as F,S1 as c,T1 as Uq,d2 as Xq,y1 as M}from"./cli-1.1.25-2gtabky3.mjs";import{G4 as L,H4 as R,I4 as l}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as Lq}from"./cli-1.1.25-6bb29bw7.mjs";import{$_ as Jq,__ as a}from"./cli-1.1.25-s54emewd.mjs";import{Uta as d,Yta as Gq}from"./cli-1.1.25-7qxwpfwh.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claudin will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${a.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let _;if(q[6]===Symbol.for("react.memo_cache_sentinel"))_=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=_;else _=q[6];let zq=_,m;if(q[7]!==X||q[8]!==N)m=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=m;else m=q[9];let K=m,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=d(Qq(),1),H=d(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
|
|
2
|
-
export{lq as Sh,Fq as Th};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Wta as j}from"./cli-1.1.25-7qxwpfwh.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.8"});
|
|
2
|
-
export{Lt as J4};
|