@claudiolabs/claudin 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +1 -0
- package/dist/chunks/App-1.1.28-rdhr58j6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +6 -0
- package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +1 -0
- package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +1 -0
- package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +1 -0
- package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +110 -0
- package/dist/chunks/agents-1.1.28-4qdh001q.mjs +3 -0
- package/dist/chunks/api-1.1.28-znpy0eyy.mjs +1 -0
- package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +1 -0
- package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +1 -0
- package/dist/chunks/auth-1.1.28-bw7dane8.mjs +1 -0
- package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +1 -0
- package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +4 -0
- package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +1 -0
- package/dist/chunks/btw-1.1.28-p1tk901s.mjs +1 -0
- package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +4 -0
- package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +1 -0
- package/dist/chunks/cd-1.1.28-84z1kqam.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +1 -0
- package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +1 -0
- package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +1 -0
- package/dist/chunks/cli-1.1.28-01g60h7m.mjs +2 -0
- package/dist/chunks/cli-1.1.28-040xb4f8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +24 -0
- package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +60 -0
- package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +24 -0
- package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +58 -0
- package/dist/chunks/cli-1.1.28-130w2y17.mjs +50 -0
- package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-14abe08r.mjs +4 -0
- package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1mscaejt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1q409efb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +5 -0
- package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +34 -0
- package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +6 -0
- package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +4 -0
- package/dist/chunks/cli-1.1.28-347ygvzg.mjs +6 -0
- package/dist/chunks/cli-1.1.28-36891pwy.mjs +2 -0
- package/dist/chunks/cli-1.1.28-36y6830c.mjs +2 -0
- package/dist/chunks/cli-1.1.28-37rkgevh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3bj091x6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3fssr567.mjs +2 -0
- package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4kda7s33.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +9 -0
- package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +2 -0
- package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +3 -0
- package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +6 -0
- package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +206 -0
- package/dist/chunks/cli-1.1.28-638dshxx.mjs +42 -0
- package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +17 -0
- package/dist/chunks/cli-1.1.28-75thpvfa.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7amn29ks.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7d7hz6b4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7g65bppm.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +4 -0
- package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +25 -0
- package/dist/chunks/cli-1.1.28-7x94aewp.mjs +2 -0
- package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +2 -0
- package/dist/chunks/cli-1.1.28-83k0knzj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +4 -0
- package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-8v2vx373.mjs +2 -0
- package/dist/chunks/cli-1.1.28-943993zt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +5 -0
- package/dist/chunks/cli-1.1.28-95fs05hq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-a00k75hj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +16 -0
- package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +2 -0
- package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +15 -0
- package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +15 -0
- package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +3 -0
- package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-brh6rw23.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +2 -0
- package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +2 -0
- package/dist/chunks/cli-1.1.28-by5acg3a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +7 -0
- package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +2 -0
- package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +2 -0
- package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +24 -0
- package/dist/chunks/cli-1.1.28-davs3ve8.mjs +58 -0
- package/dist/chunks/cli-1.1.28-denmqz0s.mjs +2 -0
- package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +3 -0
- package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-egskcwa5.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ek683x01.mjs +2 -0
- package/dist/chunks/cli-1.1.28-epzkhgww.mjs +2 -0
- package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +6 -0
- package/dist/chunks/cli-1.1.28-es8var4t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +24 -0
- package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +12 -0
- package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +2 -0
- package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +39 -0
- package/dist/chunks/cli-1.1.28-fetsedc8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +8 -0
- package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +2 -0
- package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hb02sa63.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hkfays5k.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +17 -0
- package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +3 -0
- package/dist/chunks/cli-1.1.28-j6nysca9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +3 -0
- package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +2 -0
- package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +20 -0
- package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +3 -0
- package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +2 -0
- package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +2 -0
- package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +3 -0
- package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +2 -0
- package/dist/chunks/cli-1.1.28-knfg26kb.mjs +2 -0
- package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mdexghj2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +4 -0
- package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +3 -0
- package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-mx413hqd.mjs +3 -0
- package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +2 -0
- package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +2 -0
- package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +10 -0
- package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +4 -0
- package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +2 -0
- package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +2 -0
- package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +25 -0
- package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-prd0t983.mjs +9 -0
- package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +4 -0
- package/dist/chunks/cli-1.1.28-q14qmewe.mjs +2 -0
- package/dist/chunks/cli-1.1.28-q43r6snq.mjs +2 -0
- package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qb921m5a.mjs +3 -0
- package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +3 -0
- package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +45 -0
- package/dist/chunks/cli-1.1.28-qj312jgw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +4 -0
- package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-qzdtd4w8.mjs +26 -0
- package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-r81y1681.mjs +3 -0
- package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +4 -0
- package/dist/chunks/cli-1.1.28-rez81jab.mjs +6 -0
- package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rt0aect8.mjs +2 -0
- package/dist/chunks/cli-1.1.28-rwfwz209.mjs +2 -0
- package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +3 -0
- package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +2 -0
- package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +2 -0
- package/dist/chunks/cli-1.1.28-smb1frk6.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +12 -0
- package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +2 -0
- package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-t5yawarz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-tt0c354s.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +133 -0
- package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vje1ac31.mjs +7 -0
- package/dist/chunks/cli-1.1.28-vphadsag.mjs +2 -0
- package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +3 -0
- package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +2 -0
- package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +20 -0
- package/dist/chunks/cli-1.1.28-wew8jymx.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wvj52k91.mjs +2 -0
- package/dist/chunks/cli-1.1.28-wze93r29.mjs +2 -0
- package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +18 -0
- package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +2 -0
- package/dist/chunks/cli-1.1.28-x13sctb2.mjs +2 -0
- package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +2 -0
- package/dist/chunks/cli-1.1.28-y173v5ak.mjs +133 -0
- package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +2 -0
- package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +15 -0
- package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +2 -0
- package/dist/chunks/cli-1.1.28-yyk292aq.mjs +6 -0
- package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +21 -0
- package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +2 -0
- package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +2 -0
- package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +1 -0
- package/dist/chunks/cli-1.1.28-zhftjycn.mjs +5553 -0
- package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +2 -0
- package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +2 -0
- package/dist/chunks/client-1.1.28-59t63af8.mjs +1 -0
- package/dist/chunks/color-1.1.28-gmbrq89g.mjs +1 -0
- package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +3 -0
- package/dist/chunks/config-1.1.28-b69ey9g1.mjs +1 -0
- package/dist/chunks/config-1.1.28-cryax439.mjs +1 -0
- package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +1 -0
- package/dist/chunks/context-1.1.28-09kfp2sa.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +1 -0
- package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +1 -0
- package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +9 -0
- package/dist/chunks/cost-1.1.28-507xt42s.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +1 -0
- package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +1 -0
- package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +1534 -0
- package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +1 -0
- package/dist/chunks/detection-1.1.28-06p2mev8.mjs +1 -0
- package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +1 -0
- package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +1 -0
- package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +13 -0
- package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +1 -0
- package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +1 -0
- package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +1 -0
- package/dist/chunks/errors-1.1.28-eysc80qa.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +1 -0
- package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +1 -0
- package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +1 -0
- package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +1 -0
- package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +1 -0
- package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +1 -0
- package/dist/chunks/git-1.1.28-ktf61jaz.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +1 -0
- package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +4 -0
- package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +1 -0
- package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +2 -0
- package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +6 -0
- package/dist/chunks/help-1.1.28-yhrv28x1.mjs +1 -0
- package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +3 -0
- package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +79 -0
- package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +1 -0
- package/dist/chunks/ide-1.1.28-27vb56tk.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +1 -0
- package/dist/chunks/import-1.1.28-bqs6ebec.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +1 -0
- package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +23 -0
- package/dist/chunks/index-1.1.28-30ges9rx.mjs +1 -0
- package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +1 -0
- package/dist/chunks/index-1.1.28-76ztpb54.mjs +1 -0
- package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +1 -0
- package/dist/chunks/index-1.1.28-ac1sbem8.mjs +9 -0
- package/dist/chunks/index-1.1.28-axnrgqkq.mjs +1 -0
- package/dist/chunks/index-1.1.28-b5b1qact.mjs +1 -0
- package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +1 -0
- package/dist/chunks/index-1.1.28-bt937784.mjs +1 -0
- package/dist/chunks/index-1.1.28-bxtzy977.mjs +2 -0
- package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +9 -0
- package/dist/chunks/index-1.1.28-dtfxav1q.mjs +1 -0
- package/dist/chunks/index-1.1.28-gk3v69b8.mjs +1 -0
- package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +1 -0
- package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +1 -0
- package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +1 -0
- package/dist/chunks/index-1.1.28-w2a4k4md.mjs +2 -0
- package/dist/chunks/index-1.1.28-wajajmmp.mjs +1 -0
- package/dist/chunks/index-1.1.28-xaw4tf13.mjs +30 -0
- package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +1 -0
- package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +5 -0
- package/dist/chunks/index-1.1.28-z85wbmey.mjs +1 -0
- package/dist/chunks/init-1.1.28-vt168swt.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +1 -0
- package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +1 -0
- package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +870 -0
- package/dist/chunks/install-1.1.28-azeaj14w.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +1 -0
- package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +2 -0
- package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +1 -0
- package/dist/chunks/log-1.1.28-744tvnnz.mjs +1 -0
- package/dist/chunks/main-1.1.28-ngd4qj24.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +1 -0
- package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +17 -0
- package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +1 -0
- package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +4 -0
- package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +1 -0
- package/dist/chunks/memory-1.1.28-437zyh3m.mjs +77 -0
- package/dist/chunks/model-1.1.28-1weg50dg.mjs +2 -0
- package/dist/chunks/model-1.1.28-qbnnaa17.mjs +1 -0
- package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +15 -0
- package/dist/chunks/node-1.1.28-q18jbvyv.mjs +1 -0
- package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +14 -0
- package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +1 -0
- package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +1 -0
- package/dist/chunks/parser-1.1.28-hahczgmc.mjs +1 -0
- package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +1 -0
- package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +1 -0
- package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +3 -0
- package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +1 -0
- package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +1 -0
- package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +1 -0
- package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +2 -0
- package/dist/chunks/print-1.1.28-g8smjzce.mjs +57 -0
- package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +9 -0
- package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +1 -0
- package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +1 -0
- package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +13 -0
- package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +26 -0
- package/dist/chunks/registry-1.1.28-a9wz892f.mjs +1 -0
- package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +2 -0
- package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +1 -0
- package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +1 -0
- package/dist/chunks/resume-1.1.28-mr6necqk.mjs +2 -0
- package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +1 -0
- package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +1 -0
- package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +1 -0
- package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +12 -0
- package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +1 -0
- package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +1 -0
- package/dist/chunks/state-1.1.28-fd27gqw0.mjs +1 -0
- package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +1 -0
- package/dist/chunks/status-1.1.28-67a4bkc3.mjs +1 -0
- package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +1 -0
- package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +1 -0
- package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +1 -0
- package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +1 -0
- package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +1 -0
- package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +1 -0
- package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +69 -0
- package/dist/chunks/types-1.1.28-51fcbp8c.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +4 -0
- package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +72 -0
- package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +1 -0
- package/dist/chunks/upload-1.1.28-whe18m8m.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +1 -0
- package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +1 -0
- package/dist/chunks/util-1.1.28-cvpx898d.mjs +1 -0
- package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +1 -0
- package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +13 -0
- package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +1 -0
- package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +132 -0
- package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +1 -0
- package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +1 -0
- package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.26-pww3rzse.mjs +0 -1
- package/dist/chunks/App-1.1.26-4vaezrz4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.26-rngrjmp0.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.26-n2977m3p.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.26-9y3h164v.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.26-qzf3wf2e.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.26-4rsh36df.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.26-g1kknwq5.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.26-4bt5rf4c.mjs +0 -6
- package/dist/chunks/Doctor-1.1.26-jnzpfe2z.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.26-h4ha2k3s.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.26-6vq713nq.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.26-5mpbyw8j.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.26-y240kr8g.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.26-bhdbn3pv.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.26-v8am83rd.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.26-22a8rbdy.mjs +0 -1
- package/dist/chunks/REPL-1.1.26-z72g0j0z.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.26-gh9s3rjn.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.26-r40qtar2.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.26-23se9f85.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.26-7r52d8rv.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.26-k6atzshz.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.26-ym3spr0b.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.26-c332beft.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.26-sqqx0vck.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.26-maqce1gv.mjs +0 -1
- package/dist/chunks/add-dir-1.1.26-qcws8kjg.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.26-fw01kwc9.mjs +0 -1
- package/dist/chunks/agents-1.1.26-dasaamxr.mjs +0 -3
- package/dist/chunks/agents-1.1.26-p33pq694.mjs +0 -110
- package/dist/chunks/api-1.1.26-msb1jnzq.mjs +0 -1
- package/dist/chunks/asciicast-1.1.26-vf9e0v5b.mjs +0 -1
- package/dist/chunks/assistant-1.1.26-h2aycjkn.mjs +0 -1
- package/dist/chunks/auth-1.1.26-dk7wnv7t.mjs +0 -1
- package/dist/chunks/auth-1.1.26-q8xgzm5r.mjs +0 -1
- package/dist/chunks/autoMode-1.1.26-zrzav382.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.26-x7k5ammk.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.26-6hmytwm6.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.26-09grqe05.mjs +0 -1
- package/dist/chunks/branch-1.1.26-e1qfc78k.mjs +0 -4
- package/dist/chunks/bridge-1.1.26-h1bxacst.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.26-vpz1r911.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.26-xkeegvk7.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.26-dnv31x02.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.26-d2zjebn5.mjs +0 -1
- package/dist/chunks/btw-1.1.26-9hcjg1vm.mjs +0 -1
- package/dist/chunks/buddy-1.1.26-20xpa564.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.26-p18jjck5.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.26-tndvbhbh.mjs +0 -4
- package/dist/chunks/caches-1.1.26-g9aneehb.mjs +0 -1
- package/dist/chunks/cd-1.1.26-1mhwbmvw.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.26-8970gddx.mjs +0 -1
- package/dist/chunks/claudemd-1.1.26-a0wvdz6h.mjs +0 -1
- package/dist/chunks/clear-1.1.26-8f7hbzks.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.26-yxrgchg6.mjs +0 -1
- package/dist/chunks/cli-1.1.26-01erqdx7.mjs +0 -6
- package/dist/chunks/cli-1.1.26-0qa3rcd8.mjs +0 -6
- package/dist/chunks/cli-1.1.26-132vkvj1.mjs +0 -2
- package/dist/chunks/cli-1.1.26-14kc3afb.mjs +0 -3
- package/dist/chunks/cli-1.1.26-14n169e4.mjs +0 -2
- package/dist/chunks/cli-1.1.26-16s9pjdh.mjs +0 -2
- package/dist/chunks/cli-1.1.26-1mbz2mcm.mjs +0 -2
- package/dist/chunks/cli-1.1.26-1v8jg7nn.mjs +0 -2
- package/dist/chunks/cli-1.1.26-1vdqjs9c.mjs +0 -21
- package/dist/chunks/cli-1.1.26-1ze7r6x4.mjs +0 -24
- package/dist/chunks/cli-1.1.26-28qe790b.mjs +0 -2
- package/dist/chunks/cli-1.1.26-2dzytde4.mjs +0 -2
- package/dist/chunks/cli-1.1.26-2fbt2m4z.mjs +0 -4
- package/dist/chunks/cli-1.1.26-2j0g9z56.mjs +0 -2
- package/dist/chunks/cli-1.1.26-2k53vhr6.mjs +0 -2
- package/dist/chunks/cli-1.1.26-2msjf68r.mjs +0 -2
- package/dist/chunks/cli-1.1.26-2s2gpj0g.mjs +0 -2
- package/dist/chunks/cli-1.1.26-31negda3.mjs +0 -2
- package/dist/chunks/cli-1.1.26-32vewh62.mjs +0 -6
- package/dist/chunks/cli-1.1.26-38m8cha0.mjs +0 -2
- package/dist/chunks/cli-1.1.26-3c44vscp.mjs +0 -2
- package/dist/chunks/cli-1.1.26-3gepexgn.mjs +0 -66
- package/dist/chunks/cli-1.1.26-3hemew00.mjs +0 -3
- package/dist/chunks/cli-1.1.26-3htpgh4y.mjs +0 -2
- package/dist/chunks/cli-1.1.26-3k8e9a3k.mjs +0 -2
- package/dist/chunks/cli-1.1.26-3p2ch222.mjs +0 -2
- package/dist/chunks/cli-1.1.26-3z39qjr1.mjs +0 -24
- package/dist/chunks/cli-1.1.26-4aztw2ex.mjs +0 -2
- package/dist/chunks/cli-1.1.26-4cj6rr02.mjs +0 -2
- package/dist/chunks/cli-1.1.26-4jbtcb3c.mjs +0 -17
- package/dist/chunks/cli-1.1.26-4jn0r6an.mjs +0 -2
- package/dist/chunks/cli-1.1.26-516p6zzp.mjs +0 -2
- package/dist/chunks/cli-1.1.26-55ayan24.mjs +0 -133
- package/dist/chunks/cli-1.1.26-5fv3wdye.mjs +0 -2
- package/dist/chunks/cli-1.1.26-5p6865dd.mjs +0 -2
- package/dist/chunks/cli-1.1.26-6ac72fwz.mjs +0 -5
- package/dist/chunks/cli-1.1.26-6c5rgjbj.mjs +0 -2
- package/dist/chunks/cli-1.1.26-6g0bq6h6.mjs +0 -26
- package/dist/chunks/cli-1.1.26-6p5bpbzy.mjs +0 -2
- package/dist/chunks/cli-1.1.26-6qzbf8mr.mjs +0 -3
- package/dist/chunks/cli-1.1.26-6v5e8fy8.mjs +0 -2
- package/dist/chunks/cli-1.1.26-73s95190.mjs +0 -4
- package/dist/chunks/cli-1.1.26-79g0hfrb.mjs +0 -4
- package/dist/chunks/cli-1.1.26-79j24jxp.mjs +0 -2
- package/dist/chunks/cli-1.1.26-7h1213xq.mjs +0 -1
- package/dist/chunks/cli-1.1.26-7pa47kxq.mjs +0 -2
- package/dist/chunks/cli-1.1.26-7q7jw0ck.mjs +0 -2
- package/dist/chunks/cli-1.1.26-7ssnr221.mjs +0 -4
- package/dist/chunks/cli-1.1.26-851khk0n.mjs +0 -2
- package/dist/chunks/cli-1.1.26-89reg5gc.mjs +0 -2
- package/dist/chunks/cli-1.1.26-8h5tr358.mjs +0 -2
- package/dist/chunks/cli-1.1.26-8vq4pfa8.mjs +0 -2
- package/dist/chunks/cli-1.1.26-8wng8tbf.mjs +0 -2
- package/dist/chunks/cli-1.1.26-945rz3ns.mjs +0 -2
- package/dist/chunks/cli-1.1.26-97w71raz.mjs +0 -2
- package/dist/chunks/cli-1.1.26-9kzdvxzw.mjs +0 -2
- package/dist/chunks/cli-1.1.26-9mg6k159.mjs +0 -2
- package/dist/chunks/cli-1.1.26-9x90xrtz.mjs +0 -2
- package/dist/chunks/cli-1.1.26-ab2xbv4t.mjs +0 -2
- package/dist/chunks/cli-1.1.26-abp7zq8a.mjs +0 -7
- package/dist/chunks/cli-1.1.26-agrrdhst.mjs +0 -12
- package/dist/chunks/cli-1.1.26-aj61ygn7.mjs +0 -2
- package/dist/chunks/cli-1.1.26-arx4za97.mjs +0 -2
- package/dist/chunks/cli-1.1.26-avyt487s.mjs +0 -4
- package/dist/chunks/cli-1.1.26-b3m57q7j.mjs +0 -24
- package/dist/chunks/cli-1.1.26-b5xvjyj6.mjs +0 -2
- package/dist/chunks/cli-1.1.26-bc7nnmyt.mjs +0 -4
- package/dist/chunks/cli-1.1.26-bmzjvqhh.mjs +0 -2
- package/dist/chunks/cli-1.1.26-bs6j2409.mjs +0 -2
- package/dist/chunks/cli-1.1.26-bv6bd469.mjs +0 -2
- package/dist/chunks/cli-1.1.26-c1s0antn.mjs +0 -2
- package/dist/chunks/cli-1.1.26-c9m56qw1.mjs +0 -4
- package/dist/chunks/cli-1.1.26-cdkkrgj3.mjs +0 -6
- package/dist/chunks/cli-1.1.26-chwpygff.mjs +0 -2
- package/dist/chunks/cli-1.1.26-cmeam5fv.mjs +0 -4
- package/dist/chunks/cli-1.1.26-crwbhf2k.mjs +0 -2
- package/dist/chunks/cli-1.1.26-d6m0sag3.mjs +0 -2
- package/dist/chunks/cli-1.1.26-dq31hqw9.mjs +0 -2
- package/dist/chunks/cli-1.1.26-dyyg0r9f.mjs +0 -2
- package/dist/chunks/cli-1.1.26-e807ek7h.mjs +0 -3
- package/dist/chunks/cli-1.1.26-e8stbnjk.mjs +0 -2
- package/dist/chunks/cli-1.1.26-eb90p21t.mjs +0 -10
- package/dist/chunks/cli-1.1.26-edg965cj.mjs +0 -2
- package/dist/chunks/cli-1.1.26-etwfcg1g.mjs +0 -2
- package/dist/chunks/cli-1.1.26-exd0gw3b.mjs +0 -3
- package/dist/chunks/cli-1.1.26-f0cvk9rp.mjs +0 -3
- package/dist/chunks/cli-1.1.26-f624n21e.mjs +0 -2
- package/dist/chunks/cli-1.1.26-fcnssbje.mjs +0 -2
- package/dist/chunks/cli-1.1.26-ft1bty40.mjs +0 -45
- package/dist/chunks/cli-1.1.26-g0jbhnrw.mjs +0 -3
- package/dist/chunks/cli-1.1.26-g1a27741.mjs +0 -3
- package/dist/chunks/cli-1.1.26-g3eqp15d.mjs +0 -2
- package/dist/chunks/cli-1.1.26-g54bqv9d.mjs +0 -2
- package/dist/chunks/cli-1.1.26-g825efx8.mjs +0 -3
- package/dist/chunks/cli-1.1.26-grerq74y.mjs +0 -4
- package/dist/chunks/cli-1.1.26-gt65gs27.mjs +0 -2
- package/dist/chunks/cli-1.1.26-h2bzv8a9.mjs +0 -2
- package/dist/chunks/cli-1.1.26-h8pwf3e5.mjs +0 -34
- package/dist/chunks/cli-1.1.26-hc0z3th3.mjs +0 -2
- package/dist/chunks/cli-1.1.26-hgr89jmg.mjs +0 -2
- package/dist/chunks/cli-1.1.26-hk66nk4j.mjs +0 -2
- package/dist/chunks/cli-1.1.26-hkn2maax.mjs +0 -12
- package/dist/chunks/cli-1.1.26-hwb66n0d.mjs +0 -20
- package/dist/chunks/cli-1.1.26-hxty6b5t.mjs +0 -24
- package/dist/chunks/cli-1.1.26-j0ggtb42.mjs +0 -2
- package/dist/chunks/cli-1.1.26-j0pfn318.mjs +0 -2
- package/dist/chunks/cli-1.1.26-j3g54xq9.mjs +0 -25
- package/dist/chunks/cli-1.1.26-j522h2zj.mjs +0 -2
- package/dist/chunks/cli-1.1.26-j5jzf8nr.mjs +0 -2
- package/dist/chunks/cli-1.1.26-jaq75h39.mjs +0 -2
- package/dist/chunks/cli-1.1.26-jcshhf4v.mjs +0 -2
- package/dist/chunks/cli-1.1.26-jp74zrnt.mjs +0 -2
- package/dist/chunks/cli-1.1.26-jstehae2.mjs +0 -25
- package/dist/chunks/cli-1.1.26-jv1escq9.mjs +0 -9
- package/dist/chunks/cli-1.1.26-jz95bmqy.mjs +0 -2
- package/dist/chunks/cli-1.1.26-k287xjcs.mjs +0 -2
- package/dist/chunks/cli-1.1.26-k827q3s7.mjs +0 -2
- package/dist/chunks/cli-1.1.26-kb5qx4tp.mjs +0 -15
- package/dist/chunks/cli-1.1.26-kk4ymgvj.mjs +0 -2
- package/dist/chunks/cli-1.1.26-kmpjjneg.mjs +0 -50
- package/dist/chunks/cli-1.1.26-krj2sk8f.mjs +0 -2
- package/dist/chunks/cli-1.1.26-ktfnpsqn.mjs +0 -2
- package/dist/chunks/cli-1.1.26-kvt0v6vq.mjs +0 -5459
- package/dist/chunks/cli-1.1.26-kvy3vgrt.mjs +0 -20
- package/dist/chunks/cli-1.1.26-kz0et72d.mjs +0 -2
- package/dist/chunks/cli-1.1.26-m2ajjr1n.mjs +0 -2
- package/dist/chunks/cli-1.1.26-m3gpc1yq.mjs +0 -6
- package/dist/chunks/cli-1.1.26-m8mebydd.mjs +0 -3
- package/dist/chunks/cli-1.1.26-mb749hsh.mjs +0 -2
- package/dist/chunks/cli-1.1.26-mdtsa5pq.mjs +0 -2
- package/dist/chunks/cli-1.1.26-mvjefec1.mjs +0 -206
- package/dist/chunks/cli-1.1.26-n0thzakv.mjs +0 -2
- package/dist/chunks/cli-1.1.26-n43rh2dq.mjs +0 -2
- package/dist/chunks/cli-1.1.26-nbkw9wa7.mjs +0 -2
- package/dist/chunks/cli-1.1.26-nkp41vem.mjs +0 -2
- package/dist/chunks/cli-1.1.26-np0se5jr.mjs +0 -2
- package/dist/chunks/cli-1.1.26-nr4x1ay3.mjs +0 -6
- package/dist/chunks/cli-1.1.26-nv2mgz6h.mjs +0 -60
- package/dist/chunks/cli-1.1.26-p2gpyynf.mjs +0 -2
- package/dist/chunks/cli-1.1.26-pdpvbn6t.mjs +0 -2
- package/dist/chunks/cli-1.1.26-pejnbqtd.mjs +0 -2
- package/dist/chunks/cli-1.1.26-pf85an2q.mjs +0 -2
- package/dist/chunks/cli-1.1.26-phdsw9kw.mjs +0 -2
- package/dist/chunks/cli-1.1.26-pp0zr4bw.mjs +0 -39
- package/dist/chunks/cli-1.1.26-pttfqxxh.mjs +0 -2
- package/dist/chunks/cli-1.1.26-pttr45sa.mjs +0 -2
- package/dist/chunks/cli-1.1.26-pzpydjmr.mjs +0 -2
- package/dist/chunks/cli-1.1.26-q4vaz10d.mjs +0 -2
- package/dist/chunks/cli-1.1.26-q77fmxtz.mjs +0 -2
- package/dist/chunks/cli-1.1.26-q9msymy9.mjs +0 -7
- package/dist/chunks/cli-1.1.26-qf02kggq.mjs +0 -2
- package/dist/chunks/cli-1.1.26-qr2ee3t2.mjs +0 -2
- package/dist/chunks/cli-1.1.26-qw49rw3y.mjs +0 -17
- package/dist/chunks/cli-1.1.26-qymrzn5k.mjs +0 -2
- package/dist/chunks/cli-1.1.26-r4ewzysx.mjs +0 -3
- package/dist/chunks/cli-1.1.26-rbxsj403.mjs +0 -8
- package/dist/chunks/cli-1.1.26-rgz7nebj.mjs +0 -2
- package/dist/chunks/cli-1.1.26-rkdk0vdh.mjs +0 -2
- package/dist/chunks/cli-1.1.26-rpd6k1rg.mjs +0 -2
- package/dist/chunks/cli-1.1.26-rr47cs5n.mjs +0 -2
- package/dist/chunks/cli-1.1.26-rrq5hxxh.mjs +0 -9
- package/dist/chunks/cli-1.1.26-rtk9fw0k.mjs +0 -2
- package/dist/chunks/cli-1.1.26-rzrs3g9w.mjs +0 -2
- package/dist/chunks/cli-1.1.26-sfz2mk5a.mjs +0 -15
- package/dist/chunks/cli-1.1.26-snnmp5qx.mjs +0 -2
- package/dist/chunks/cli-1.1.26-ssxrwqk2.mjs +0 -2
- package/dist/chunks/cli-1.1.26-swdk2n55.mjs +0 -2
- package/dist/chunks/cli-1.1.26-sx40y42s.mjs +0 -2
- package/dist/chunks/cli-1.1.26-syjzv1v1.mjs +0 -18
- package/dist/chunks/cli-1.1.26-t05x8de5.mjs +0 -2
- package/dist/chunks/cli-1.1.26-ta82bxzt.mjs +0 -3
- package/dist/chunks/cli-1.1.26-tcbtd5f6.mjs +0 -2
- package/dist/chunks/cli-1.1.26-tgtv1jp3.mjs +0 -16
- package/dist/chunks/cli-1.1.26-thxyzhdj.mjs +0 -42
- package/dist/chunks/cli-1.1.26-txmxmpj4.mjs +0 -2
- package/dist/chunks/cli-1.1.26-tyvfnyw1.mjs +0 -2
- package/dist/chunks/cli-1.1.26-v0vv0v6c.mjs +0 -58
- package/dist/chunks/cli-1.1.26-v440gznh.mjs +0 -3
- package/dist/chunks/cli-1.1.26-v6fnwae1.mjs +0 -2
- package/dist/chunks/cli-1.1.26-v7k7gw6h.mjs +0 -2
- package/dist/chunks/cli-1.1.26-vb3pa5k9.mjs +0 -2
- package/dist/chunks/cli-1.1.26-vne421we.mjs +0 -133
- package/dist/chunks/cli-1.1.26-vpdrb404.mjs +0 -2
- package/dist/chunks/cli-1.1.26-vxzeagvf.mjs +0 -2
- package/dist/chunks/cli-1.1.26-vypd5zf6.mjs +0 -5
- package/dist/chunks/cli-1.1.26-w94mate8.mjs +0 -2
- package/dist/chunks/cli-1.1.26-w9hym0b4.mjs +0 -2
- package/dist/chunks/cli-1.1.26-wy5w6zkt.mjs +0 -2
- package/dist/chunks/cli-1.1.26-x64s4kth.mjs +0 -2
- package/dist/chunks/cli-1.1.26-x82tpywr.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xdcmgkcr.mjs +0 -15
- package/dist/chunks/cli-1.1.26-xkj6kd3c.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xnqas0g4.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xrb5tnj3.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xrqbcbv5.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xspr3ymb.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xwryqq86.mjs +0 -2
- package/dist/chunks/cli-1.1.26-xzbv3dzb.mjs +0 -2
- package/dist/chunks/cli-1.1.26-y82xxzhw.mjs +0 -2
- package/dist/chunks/cli-1.1.26-yz9ks5m0.mjs +0 -2
- package/dist/chunks/cli-1.1.26-z2cjynpf.mjs +0 -2
- package/dist/chunks/cli-1.1.26-z5qgpexv.mjs +0 -3
- package/dist/chunks/cli-1.1.26-zb5hq3ry.mjs +0 -2
- package/dist/chunks/cli-1.1.26-zsf06fnj.mjs +0 -2
- package/dist/chunks/cli-1.1.26-zy2fcj67.mjs +0 -2
- package/dist/chunks/cli-1.1.26-zyt75y9a.mjs +0 -2
- package/dist/chunks/client-1.1.26-5m13dtqt.mjs +0 -1
- package/dist/chunks/color-1.1.26-hc4gee57.mjs +0 -1
- package/dist/chunks/compact-1.1.26-k29q801r.mjs +0 -3
- package/dist/chunks/config-1.1.26-20jye461.mjs +0 -1
- package/dist/chunks/config-1.1.26-f3tsx9mm.mjs +0 -1
- package/dist/chunks/constants-1.1.26-vyt7y0vq.mjs +0 -1
- package/dist/chunks/context-1.1.26-xg3zeq1z.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.26-n05p37yd.mjs +0 -1
- package/dist/chunks/conversation-1.1.26-g9vfc7p7.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.26-gr7hc6j5.mjs +0 -1
- package/dist/chunks/copy-1.1.26-t50s90xg.mjs +0 -9
- package/dist/chunks/cost-1.1.26-9hp3110j.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.26-hpzpfpqk.mjs +0 -1
- package/dist/chunks/createSession-1.1.26-4mxab0d8.mjs +0 -1
- package/dist/chunks/debug-1.1.26-m7p7fchf.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.26-0fr1vrkt.mjs +0 -1534
- package/dist/chunks/desktop-1.1.26-1qjp6a2c.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.26-pmahtt3f.mjs +0 -1
- package/dist/chunks/detection-1.1.26-1wrkcwrj.mjs +0 -1
- package/dist/chunks/diff-1.1.26-c4nqg8fb.mjs +0 -1
- package/dist/chunks/doctor-1.1.26-0jtnwy0r.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.26-x38xj5dq.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.26-gp0650zq.mjs +0 -1
- package/dist/chunks/effort-1.1.26-8w1e6q0y.mjs +0 -13
- package/dist/chunks/engine-1.1.26-jt09gh12.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.26-p0x7avh5.mjs +0 -1
- package/dist/chunks/envUtils-1.1.26-p89sr6v4.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.26-d8vnmed1.mjs +0 -1
- package/dist/chunks/environments-1.1.26-fz5c214j.mjs +0 -1
- package/dist/chunks/errors-1.1.26-6bzb64g6.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.26-s4bn18p7.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.26-xh0x0cbp.mjs +0 -1
- package/dist/chunks/exit-1.1.26-55716s6k.mjs +0 -1
- package/dist/chunks/explorer-1.1.26-969pqrwa.mjs +0 -1
- package/dist/chunks/export-1.1.26-mgccr0ea.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.26-sbe56spy.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.26-h08e3n8t.mjs +0 -1
- package/dist/chunks/fast-1.1.26-rbaqsfka.mjs +0 -1
- package/dist/chunks/feedback-1.1.26-2m81mwds.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.26-ckqh8nb4.mjs +0 -1
- package/dist/chunks/git-1.1.26-0he7ww02.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.26-xj1mdstq.mjs +0 -1
- package/dist/chunks/goal-1.1.26-n5s850gv.mjs +0 -4
- package/dist/chunks/growthbook-1.1.26-ka05jsbm.mjs +0 -1
- package/dist/chunks/headless-1.1.26-q9en6pe9.mjs +0 -2
- package/dist/chunks/heapdump-1.1.26-7ewvqmvf.mjs +0 -6
- package/dist/chunks/help-1.1.26-brf53t1m.mjs +0 -1
- package/dist/chunks/hookChains-1.1.26-rkf6y8rc.mjs +0 -3
- package/dist/chunks/hooks-1.1.26-9pdav42n.mjs +0 -1
- package/dist/chunks/hooks-1.1.26-szkj02ez.mjs +0 -79
- package/dist/chunks/ide-1.1.26-m5p57hjq.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.26-rekvc35q.mjs +0 -1
- package/dist/chunks/import-1.1.26-7gbx5jy9.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.26-tzg5nege.mjs +0 -1
- package/dist/chunks/index-1.1.26-1xcc10z3.mjs +0 -1
- package/dist/chunks/index-1.1.26-46seym0e.mjs +0 -1
- package/dist/chunks/index-1.1.26-4qsakkwp.mjs +0 -1
- package/dist/chunks/index-1.1.26-62wb3t76.mjs +0 -5
- package/dist/chunks/index-1.1.26-7dq7zd2s.mjs +0 -2
- package/dist/chunks/index-1.1.26-924a690m.mjs +0 -1
- package/dist/chunks/index-1.1.26-9hqzzjph.mjs +0 -1
- package/dist/chunks/index-1.1.26-bmzaqft1.mjs +0 -1
- package/dist/chunks/index-1.1.26-cpb34jqj.mjs +0 -9
- package/dist/chunks/index-1.1.26-cpx6j4xt.mjs +0 -1
- package/dist/chunks/index-1.1.26-gyna59qe.mjs +0 -1
- package/dist/chunks/index-1.1.26-h45zww68.mjs +0 -30
- package/dist/chunks/index-1.1.26-matsx1ed.mjs +0 -1
- package/dist/chunks/index-1.1.26-pm334xks.mjs +0 -1
- package/dist/chunks/index-1.1.26-qrbfj1zz.mjs +0 -1
- package/dist/chunks/index-1.1.26-sh5v696c.mjs +0 -1
- package/dist/chunks/index-1.1.26-srjepzh3.mjs +0 -2
- package/dist/chunks/index-1.1.26-syyhrh9b.mjs +0 -23
- package/dist/chunks/index-1.1.26-te4885d9.mjs +0 -1
- package/dist/chunks/index-1.1.26-tyjd8na6.mjs +0 -1
- package/dist/chunks/index-1.1.26-vk1z10tp.mjs +0 -1
- package/dist/chunks/index-1.1.26-vpyv4546.mjs +0 -9
- package/dist/chunks/index-1.1.26-xc6bagza.mjs +0 -1
- package/dist/chunks/init-1.1.26-bnpznn1w.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.26-c4s4p9cb.mjs +0 -1
- package/dist/chunks/ink-1.1.26-vgbt5egw.mjs +0 -1
- package/dist/chunks/insights-1.1.26-vcx1pevy.mjs +0 -870
- package/dist/chunks/install-1.1.26-4y132asw.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.26-93zf234q.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.26-mhrfx4re.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.26-c4qjkj2f.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.26-d3arqch8.mjs +0 -1
- package/dist/chunks/keybindings-1.1.26-vn76vb0k.mjs +0 -2
- package/dist/chunks/knowledge-1.1.26-tqdt6kx8.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.26-nefaqy0s.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.26-w9zj8h13.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.26-p32pd0zg.mjs +0 -1
- package/dist/chunks/log-1.1.26-esy3mc70.mjs +0 -1
- package/dist/chunks/main-1.1.26-mj3gcxpm.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.26-z6q7c9s8.mjs +0 -1
- package/dist/chunks/mcp-1.1.26-4c7syme5.mjs +0 -17
- package/dist/chunks/mcp-1.1.26-fhs36m57.mjs +0 -1
- package/dist/chunks/mcp-1.1.26-nadsprjm.mjs +0 -4
- package/dist/chunks/mcpb-1.1.26-ek6r8msb.mjs +0 -1
- package/dist/chunks/memory-1.1.26-b3m4e86v.mjs +0 -72
- package/dist/chunks/model-1.1.26-fhssfrx1.mjs +0 -1
- package/dist/chunks/model-1.1.26-v4t85ag1.mjs +0 -2
- package/dist/chunks/node-1.1.26-y7ck63cv.mjs +0 -15
- package/dist/chunks/oauth-1.1.26-8bftajjg.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.26-wvmheb4c.mjs +0 -14
- package/dist/chunks/output-style-1.1.26-rgrmrr2a.mjs +0 -1
- package/dist/chunks/package-SHMK2LJE-1.1.26-grxx0tgk.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.26-64n8w8aa.mjs +0 -1
- package/dist/chunks/parser-1.1.26-p8fcgcbm.mjs +0 -1
- package/dist/chunks/passes-1.1.26-65c9vjm7.mjs +0 -1
- package/dist/chunks/permissions-1.1.26-bvde1j7e.mjs +0 -1
- package/dist/chunks/permissions-1.1.26-xx4tbm19.mjs +0 -3
- package/dist/chunks/plan-1.1.26-0p7zmpya.mjs +0 -1
- package/dist/chunks/plist-1.1.26-emtpv6yq.mjs +0 -1
- package/dist/chunks/plugin-1.1.26-6mz4s6ce.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.26-zsxa12d4.mjs +0 -1
- package/dist/chunks/plugins-1.1.26-z4gc0hj4.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.26-zja64r0y.mjs +0 -2
- package/dist/chunks/print-1.1.26-4jbs3r8a.mjs +0 -57
- package/dist/chunks/process-1.1.26-nkvbv24g.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.26-881sdvc5.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.26-watbp07x.mjs +0 -9
- package/dist/chunks/prompt-1.1.26-734yg5r7.mjs +0 -1
- package/dist/chunks/prompt-1.1.26-ta9d8xgm.mjs +0 -1
- package/dist/chunks/prompts-1.1.26-cacdrcnk.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.26-qfw93skn.mjs +0 -13
- package/dist/chunks/provider-1.1.26-yk3xh49r.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.26-srvwhkc8.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.26-57a6s8yj.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.26-14exf6fk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.26-1yddk8hw.mjs +0 -26
- package/dist/chunks/registry-1.1.26-z88679pc.mjs +0 -1
- package/dist/chunks/release-notes-1.1.26-e7dkgbnp.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.26-6r85z0m0.mjs +0 -2
- package/dist/chunks/remote-env-1.1.26-rg1652ey.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.26-jmhet39g.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.26-5rva0545.mjs +0 -1
- package/dist/chunks/rename-1.1.26-vp06xehr.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.26-cs214vs7.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.26-j0wpsd4v.mjs +0 -1
- package/dist/chunks/resume-1.1.26-agfxxd17.mjs +0 -2
- package/dist/chunks/rewind-1.1.26-dr3rgj2z.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.26-nc1jrtkg.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.26-4xq2d4x0.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.26-v5bmtrnt.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.26-5pxvxje1.mjs +0 -1
- package/dist/chunks/session-1.1.26-7ejzc2bx.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.26-n6vex16t.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.26-q07mz5fe.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.26-3x2gtfk1.mjs +0 -1
- package/dist/chunks/settings-1.1.26-5hc0bpnb.mjs +0 -1
- package/dist/chunks/setup-1.1.26-2qatx87q.mjs +0 -12
- package/dist/chunks/sinks-1.1.26-0d001pg9.mjs +0 -1
- package/dist/chunks/skills-1.1.26-5q1xvy1e.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.26-76scq5n6.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.26-jw39czgq.mjs +0 -1
- package/dist/chunks/state-1.1.26-zh2a5cb0.mjs +0 -1
- package/dist/chunks/stats-1.1.26-3yvhzgsr.mjs +0 -1
- package/dist/chunks/status-1.1.26-ey3zzjzf.mjs +0 -1
- package/dist/chunks/stickers-1.1.26-pnx0arwe.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.26-93d936pm.mjs +0 -1
- package/dist/chunks/tasks-1.1.26-05xaegas.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.26-zn888hhw.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.26-bhkgw59h.mjs +0 -1
- package/dist/chunks/teleport-1.1.26-9m3eaa2j.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.26-p0bvd0b7.mjs +0 -1
- package/dist/chunks/theme-1.1.26-ys6mqfn7.mjs +0 -1
- package/dist/chunks/thinkback-1.1.26-v4qbcex4.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.26-6gg066vk.mjs +0 -1
- package/dist/chunks/toolPool-1.1.26-g4p6wj1v.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.26-0whd6fnj.mjs +0 -1
- package/dist/chunks/tools-1.1.26-m8c4e11h.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.26-w86xceqp.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.26-kk4sc8q3.mjs +0 -69
- package/dist/chunks/types-1.1.26-myrve966.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.26-fyxh8eqb.mjs +0 -4
- package/dist/chunks/update-1.1.26-96yjt7je.mjs +0 -72
- package/dist/chunks/upgrade-1.1.26-x2geqcxm.mjs +0 -1
- package/dist/chunks/upload-1.1.26-vpwb30tf.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.26-xe96amnx.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.26-2v7h396d.mjs +0 -1
- package/dist/chunks/usage-1.1.26-pbyahcbc.mjs +0 -1
- package/dist/chunks/util-1.1.26-f55brgp6.mjs +0 -1
- package/dist/chunks/utils-1.1.26-ntj5p9c6.mjs +0 -1
- package/dist/chunks/vim-1.1.26-n3dckyqd.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.26-shv6pr8d.mjs +0 -13
- package/dist/chunks/watcher-1.1.26-bdahcrvk.mjs +0 -1
- package/dist/chunks/wiki-1.1.26-9q9evb0p.mjs +0 -132
- package/dist/chunks/workflows-1.1.26-pv1pmcm0.mjs +0 -1
- package/dist/chunks/worktree-1.1.26-k3z8qg36.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.26-c966pdm7.mjs +0 -1
- package/dist/chunks/wrapper-1.1.26-smg8ftbk.mjs +0 -7
- /package/dist/chunks/{cli-1.1.26-rbz29dt9.mjs → cli-1.1.28-43p679k7.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.26-sgj6knz9.mjs → cli-1.1.28-f658tc1w.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.26-t8fgt5kw.mjs → cli-1.1.28-m37hk495.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.26-nqygxkhw.mjs → cli-1.1.28-m7x3ax7z.mjs} +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{P9 as P5,R9 as R7}from"./cli-1.1.26-agrrdhst.mjs";import{T9 as A,U9 as e8}from"./cli-1.1.26-32vewh62.mjs";import{j_ as a2,l_ as D7}from"./cli-1.1.26-xwryqq86.mjs";import{$_ as t,Bga as B4,Dea as P,Dfa as c,Dga as J4,Fea as x5,Fha as k,Gga as N5,Hga as QZ,Iea as N,Ifa as n2,Jfa as S,K$ as P2,M$ as $Z,Mfa as D,Nha as n0,Qca as G8,Sfa as e1,Vea as x0,Zda as o1,__ as A4,a$ as K5,b$ as L0,c$ as C4,cfa as s4,d$ as s5,efa as JZ,eha as l2,ffa as S1,fga as $0,gea as H8,gfa as m7,hga as Z4,hha as G4,i$ as H0,iga as R8,j$ as H1,lca as M1,mca as p7,mga as $4,nha as s2,qha as L,tha as J0,u$ as v2,x$ as ZZ,zca as z2}from"./cli-1.1.26-mvjefec1.mjs";import{Lia as M0,Nia as h4,Xia as T1}from"./cli-1.1.26-chwpygff.mjs";import{Aka as l4,Bka as B0,Dka as G7,Eka as H7,Gka as U,Hka as _0,zka as A2}from"./cli-1.1.26-hk66nk4j.mjs";import{Ika as x,Lka as z5}from"./cli-1.1.26-n0thzakv.mjs";import{Bla as S7,Lla as z,Nla as m0,Ola as Z0,pla as U2,tla as o8,xla as n5}from"./cli-1.1.26-nr4x1ay3.mjs";import{jma as g,lma as z1,qma as x1}from"./cli-1.1.26-7ssnr221.mjs";import{Ama as v5,Ema as d,tma as N2,wma as K,yma as u}from"./cli-1.1.26-dyyg0r9f.mjs";import{Epa as y0,Fpa as Z5,Kqa as j5,Zpa as C,eoa as Y0,eqa as I1,foa as D1,hpa as d1,hsa as Q0,vpa as r1,vqa as X1,wqa as V1,xqa as W1,yqa as j1,zpa as _4}from"./cli-1.1.26-4aztw2ex.mjs";import{Gsa as h,Hsa as t0}from"./cli-1.1.26-jz95bmqy.mjs";import{Cta as Y5,kta as v}from"./cli-1.1.26-hxty6b5t.mjs";import{$ta as E0,bua as c5,cua as R,dua as r}from"./cli-1.1.26-zb5hq3ry.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.26-pm334xks.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.26-1xcc10z3.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.26-pm334xks.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.26-1xcc10z3.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 o5,N3 as p5,g4 as q5,C2 as r5,u2 as s5,rZ as t5,oZ as u5,w7 as v5,L7 as w5,eZ as x5,c2 as y5,l0 as z5,N0 as A5,U0 as B5,u5 as C5,i5 as D5,v7 as E5,O0 as F5,W as G5,z$ as H5,h7 as I5,x$ as J5,B$ as K5,G$ as L5,i as M5,B as N5,k$ as O5,Q5 as P5,U$ as Q5,v$ as R5,Y1 as S5,I$ as T5,G0 as U5,t5 as V5,b0 as W5,mZ as X5,wQ as Y5,FQ as Z5,a4 as _5,KQ as $5,LQ as a6,g0 as b6,cZ as c6,DQ as d6,bQ as e6,B7 as f6,r4 as g6,g$ as h6,g7 as i6,q1 as j6,G1 as k6,V5 as l6,w1 as m6,t$ as n6,L1 as o6,M as p6,b1 as q6,I0 as r6,N1 as s6,U1 as t6,a$ as u6,r$ as v6,O1 as w6,o$ as x6,e$ as y6,E1 as z6,ZJ as A6,$J as B6,JJ as C6,e5 as D6,I as E6,f1 as F6,d7 as G6,LJ as H6,DJ as I6,bJ as J6,A1 as K6,kJ as L6,NJ as M6,i7 as N6,UJ as O6,vJ as P6,PJ as Q6,OJ as R6,EJ as S6,l7 as T6,yJ as U6,_J as V6,hJ as W6,IJ as X6,p1 as Y6,f0 as Z6,o7 as _6,Z8 as $6,$8 as a7,q2 as b7,W8 as c7,uJ as d7,V2 as e7,t1 as f7,j8 as g7,W2 as h7,s1 as i7,a1 as j7,z9 as k7,x9 as l7,B5 as m7,j2 as n7,B9 as o7,w8 as p7,X0 as q7,A0 as r7,Q4 as s7,G9 as t7,S0 as u7,Y4 as v7,F as w7,b as x7,F8 as y7,H9 as z7,R9 as A7,K8 as B7,J2 as C7,w9 as D7,q4 as E7,X4 as F7,F9 as G7,T as H7,K9 as I7,b8 as J7,L9 as K7,D9 as L7,b9 as M7,k9 as N7,w0 as O7,U9 as P7,V4 as Q7,P9 as R7,x4 as S7,F4 as T7,S8 as U7,L4 as V7,d9 as W7,i9 as X7,t9 as Y7,V0 as Z7,l as _7,n9 as $7,c8 as a8,l9 as b8,s9 as c8,B2 as d8,P4 as e8,O4 as f8,G3 as g8,l8 as h8,H3 as i8,R3 as j8,y4 as k8,w3 as l8,T4 as m8,s8 as n8,F3 as o8,M4 as p8,S4 as q8,L2 as r8,p4 as s8,P3 as t8,c4 as u8,d4 as v8,k0 as w8,O2 as x8,h0 as y8,WZ as z8,c0 as A8,s as B8,y2 as C8,h2 as D8,Z7 as E8,jZ as F8,$7 as G8,b2 as H8,xZ as I8,BZ as J8,J7 as K8,j0 as L8,FZ as M8,T2 as N8,Q7 as O8,Y7 as P8,M2 as Q8,kZ as R8,NZ as S8,UZ as T8,U5 as U8,S2 as V8,PZ as W8,OZ as X8,X7 as Y8,w as Z8,f2 as _8,Q2 as $8,p0 as a9,d0 as b9,y as c9,q0 as d9,_Z as e9,b5 as f9,hZ as g9,IZ as h9,f as i9,H5 as j9,TZ as k9,R5 as l9,MZ as m9,G2 as n9,V7 as o9,W7 as p9,k5 as q9,z7 as r9,fZ as s9,CZ as t9,uZ as u9,gZ as v9,pZ as w9,o as x9};
|