@claudiolabs/claudin 1.1.16 → 1.1.18
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.18-8r539yq1.mjs +1 -0
- package/dist/chunks/App-1.1.18-9qegazdp.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.18-75srd2ah.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.18-8s0prsvd.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.18-8908as3d.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.18-hzr5qznb.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.18-11b01q4g.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.18-gdmxhc4c.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.18-0ve87kmt.mjs +6 -0
- package/dist/chunks/Doctor-1.1.18-bm9y9hp0.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.18-s5gycf8y.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.18-ck22r980.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.18-k4rxj60y.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.18-7jtsdcvz.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.18-79c4xptb.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.18-at9smz0c.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.18-fmn6pds0.mjs +1 -0
- package/dist/chunks/REPL-1.1.18-ethctbw9.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.18-7jny2tma.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.18-4tt9s4sx.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.18-9y6kadd2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.18-0zp920qr.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.18-ywhxqdw4.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.18-cfmzwnnw.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.18-7czxxmxn.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.18-q46q6gnr.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.18-0s9sbdx0.mjs +1 -0
- package/dist/chunks/add-dir-1.1.18-2v7nqdda.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.18-5tbxn6cp.mjs +1 -0
- package/dist/chunks/agents-1.1.18-1zj1bttk.mjs +110 -0
- package/dist/chunks/agents-1.1.18-n28gzp6b.mjs +3 -0
- package/dist/chunks/api-1.1.18-kb26phxt.mjs +1 -0
- package/dist/chunks/asciicast-1.1.18-q0418p4r.mjs +1 -0
- package/dist/chunks/assistant-1.1.18-ky0pcnme.mjs +1 -0
- package/dist/chunks/auth-1.1.18-4de9sj97.mjs +1 -0
- package/dist/chunks/auth-1.1.18-6yqhszf3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.18-63jx6p2w.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.18-bk6w4529.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.18-bg5z208x.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.18-3m48d47f.mjs +1 -0
- package/dist/chunks/branch-1.1.18-sgfz4w61.mjs +4 -0
- package/dist/chunks/bridge-1.1.18-ewtwajff.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.18-6aeg22kg.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.18-2ybc4ee8.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.18-pt5dztgy.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.18-w72zdv7w.mjs +1 -0
- package/dist/chunks/btw-1.1.18-w43t3mem.mjs +1 -0
- package/dist/chunks/buddy-1.1.18-zfhza9df.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.18-ap6m4e42.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.18-gcvx2d6q.mjs +4 -0
- package/dist/chunks/caches-1.1.18-warrda1f.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.18-v3ghw0k9.mjs +1 -0
- package/dist/chunks/claudemd-1.1.18-b6tnjsjw.mjs +1 -0
- package/dist/chunks/clear-1.1.18-8abstaz1.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.18-wgv6q897.mjs +1 -0
- package/dist/chunks/cli-1.1.18-018bk764.mjs +2 -0
- package/dist/chunks/cli-1.1.18-049a81dd.mjs +25 -0
- package/dist/chunks/cli-1.1.18-0aakxjsk.mjs +2 -0
- package/dist/chunks/cli-1.1.18-0h118vrj.mjs +2 -0
- package/dist/chunks/cli-1.1.18-0tg14dph.mjs +2 -0
- package/dist/chunks/cli-1.1.18-0xknnw9q.mjs +2 -0
- package/dist/chunks/cli-1.1.18-0y6qt71a.mjs +2 -0
- package/dist/chunks/cli-1.1.18-0yhfm17h.mjs +2 -0
- package/dist/chunks/cli-1.1.18-0z5526z3.mjs +4 -0
- package/dist/chunks/cli-1.1.18-12tzkcxz.mjs +2 -0
- package/dist/chunks/cli-1.1.18-18rbpjbc.mjs +2 -0
- package/dist/chunks/cli-1.1.18-1c8pr80a.mjs +2 -0
- package/dist/chunks/cli-1.1.18-1spz0azv.mjs +3 -0
- package/dist/chunks/cli-1.1.18-1t3rb5a8.mjs +2 -0
- package/dist/chunks/cli-1.1.18-251zfmjp.mjs +5 -0
- package/dist/chunks/cli-1.1.18-27b82jjj.mjs +3 -0
- package/dist/chunks/cli-1.1.18-2ach0t0d.mjs +7 -0
- package/dist/chunks/cli-1.1.18-2gvrr93b.mjs +2 -0
- package/dist/chunks/cli-1.1.18-2k96kgmz.mjs +2 -0
- package/dist/chunks/cli-1.1.18-2qvvz2tv.mjs +2 -0
- package/dist/chunks/cli-1.1.18-2vdwwm5f.mjs +3 -0
- package/dist/chunks/cli-1.1.18-2w9274tq.mjs +59 -0
- package/dist/chunks/cli-1.1.18-2wsf8n3w.mjs +3 -0
- package/dist/chunks/cli-1.1.18-3b5j4jfq.mjs +2 -0
- package/dist/chunks/cli-1.1.18-3pn5knk8.mjs +2 -0
- package/dist/chunks/cli-1.1.18-3rm83ba2.mjs +2 -0
- package/dist/chunks/cli-1.1.18-3rxhxwbk.mjs +4 -0
- package/dist/chunks/cli-1.1.18-3s03nva1.mjs +2 -0
- package/dist/chunks/cli-1.1.18-3w57qes2.mjs +2 -0
- package/dist/chunks/cli-1.1.18-3y4pftxb.mjs +206 -0
- package/dist/chunks/cli-1.1.18-3z65nz4z.mjs +2 -0
- package/dist/chunks/cli-1.1.18-417wb57s.mjs +2 -0
- package/dist/chunks/cli-1.1.18-462kn9pt.mjs +2 -0
- package/dist/chunks/cli-1.1.18-4c3jqppx.mjs +2 -0
- package/dist/chunks/cli-1.1.18-4f2ncqzp.mjs +45 -0
- package/dist/chunks/cli-1.1.18-4h2r40da.mjs +2 -0
- package/dist/chunks/cli-1.1.18-4j0hy93x.mjs +3 -0
- package/dist/chunks/cli-1.1.18-4jy396p1.mjs +6 -0
- package/dist/chunks/cli-1.1.18-553zzrge.mjs +2 -0
- package/dist/chunks/cli-1.1.18-56vce0gb.mjs +2 -0
- package/dist/chunks/cli-1.1.18-5dw1bb8m.mjs +2 -0
- package/dist/chunks/cli-1.1.18-5fhws40c.mjs +2 -0
- package/dist/chunks/cli-1.1.18-5mr13yxz.mjs +2 -0
- package/dist/chunks/cli-1.1.18-5pa0bk59.mjs +2 -0
- package/dist/chunks/cli-1.1.18-5s8f8gd5.mjs +3 -0
- package/dist/chunks/cli-1.1.18-6hjdcw80.mjs +2 -0
- package/dist/chunks/cli-1.1.18-6nxyz9v3.mjs +2 -0
- package/dist/chunks/cli-1.1.18-6w9m5m4s.mjs +2 -0
- package/dist/chunks/cli-1.1.18-6wrbe4ft.mjs +4 -0
- package/dist/chunks/cli-1.1.18-703emt7y.mjs +16 -0
- package/dist/chunks/cli-1.1.18-70jytem3.mjs +2 -0
- package/dist/chunks/cli-1.1.18-70ktef72.mjs +2 -0
- package/dist/chunks/cli-1.1.18-71zz07m4.mjs +3 -0
- package/dist/chunks/cli-1.1.18-7g6xwfbz.mjs +2 -0
- package/dist/chunks/cli-1.1.18-7nsrr2k0.mjs +2 -0
- package/dist/chunks/cli-1.1.18-7pcfwrhj.mjs +2 -0
- package/dist/chunks/cli-1.1.18-7set7d4d.mjs +3 -0
- package/dist/chunks/cli-1.1.18-7wccrsx9.mjs +2 -0
- package/dist/chunks/cli-1.1.18-7xc4d1d9.mjs +2 -0
- package/dist/chunks/cli-1.1.18-86jznh5v.mjs +2 -0
- package/dist/chunks/cli-1.1.18-8fpwak2g.mjs +4 -0
- package/dist/chunks/cli-1.1.18-8thyc5yy.mjs +2 -0
- package/dist/chunks/cli-1.1.18-8vxrthte.mjs +4 -0
- package/dist/chunks/cli-1.1.18-8zrm4yfd.mjs +2 -0
- package/dist/chunks/cli-1.1.18-948h21gh.mjs +2 -0
- package/dist/chunks/cli-1.1.18-99wvb94x.mjs +2 -0
- package/dist/chunks/cli-1.1.18-9cpcw7fg.mjs +2 -0
- package/dist/chunks/cli-1.1.18-9jkqy8de.mjs +2 -0
- package/dist/chunks/cli-1.1.18-9zvacjd0.mjs +2 -0
- package/dist/chunks/cli-1.1.18-a888prq4.mjs +6 -0
- package/dist/chunks/cli-1.1.18-aek1gddg.mjs +2 -0
- package/dist/chunks/cli-1.1.18-af7txyky.mjs +133 -0
- package/dist/chunks/cli-1.1.18-aj93qvyc.mjs +3 -0
- package/dist/chunks/cli-1.1.18-avas0dtp.mjs +2 -0
- package/dist/chunks/cli-1.1.18-avhbxgh1.mjs +2 -0
- package/dist/chunks/cli-1.1.18-awvejq1d.mjs +2 -0
- package/dist/chunks/cli-1.1.18-b4azpwk0.mjs +18 -0
- package/dist/chunks/cli-1.1.18-b5h22srd.mjs +2 -0
- package/dist/chunks/cli-1.1.18-bfzft69m.mjs +2 -0
- package/dist/chunks/cli-1.1.18-c9h4ga5f.mjs +2 -0
- package/dist/chunks/cli-1.1.18-cahfd7zp.mjs +15 -0
- package/dist/chunks/cli-1.1.18-ccbh77pf.mjs +2 -0
- package/dist/chunks/cli-1.1.18-cd5r9mfb.mjs +2 -0
- package/dist/chunks/cli-1.1.18-cj8tr93q.mjs +2 -0
- package/dist/chunks/cli-1.1.18-cjkn7t4k.mjs +2 -0
- package/dist/chunks/cli-1.1.18-cphcr3xr.mjs +15 -0
- package/dist/chunks/cli-1.1.18-cqmjby3t.mjs +24 -0
- package/dist/chunks/cli-1.1.18-crpxak5f.mjs +2 -0
- package/dist/chunks/cli-1.1.18-cxg522yt.mjs +4 -0
- package/dist/chunks/cli-1.1.18-cy0ypdkd.mjs +2 -0
- package/dist/chunks/cli-1.1.18-dcrg5hwd.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ddreb78e.mjs +2 -0
- package/dist/chunks/cli-1.1.18-dq2vate5.mjs +2 -0
- package/dist/chunks/cli-1.1.18-dvyh5qzn.mjs +2 -0
- package/dist/chunks/cli-1.1.18-dzbn08g2.mjs +2 -0
- package/dist/chunks/cli-1.1.18-e107yrwx.mjs +2 -0
- package/dist/chunks/cli-1.1.18-e8stczm5.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ecds9fxm.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ek85fj6n.mjs +2 -0
- package/dist/chunks/cli-1.1.18-erjpjwnr.mjs +4 -0
- package/dist/chunks/cli-1.1.18-esvp6n4e.mjs +66 -0
- package/dist/chunks/cli-1.1.18-ezpyhrzw.mjs +133 -0
- package/dist/chunks/cli-1.1.18-f2j32mha.mjs +2 -0
- package/dist/chunks/cli-1.1.18-f5ggv7be.mjs +2 -0
- package/dist/chunks/cli-1.1.18-f6m259he.mjs +2 -0
- package/dist/chunks/cli-1.1.18-f7jag2rr.mjs +2 -0
- package/dist/chunks/cli-1.1.18-f8sy5pe3.mjs +3 -0
- package/dist/chunks/cli-1.1.18-fh3h37zy.mjs +8 -0
- package/dist/chunks/cli-1.1.18-fr4nmsgv.mjs +3 -0
- package/dist/chunks/cli-1.1.18-fst0kx9m.mjs +24 -0
- package/dist/chunks/cli-1.1.18-gdvh8p4h.mjs +2 -0
- package/dist/chunks/cli-1.1.18-gnd39prj.mjs +18 -0
- package/dist/chunks/cli-1.1.18-gvzkraze.mjs +2 -0
- package/dist/chunks/cli-1.1.18-gz2c86d2.mjs +2 -0
- package/dist/chunks/cli-1.1.18-hbv881pn.mjs +2 -0
- package/dist/chunks/cli-1.1.18-heh8xz6x.mjs +2 -0
- package/dist/chunks/cli-1.1.18-hg5srcxb.mjs +7 -0
- package/dist/chunks/cli-1.1.18-hgn94jwm.mjs +2 -0
- package/dist/chunks/cli-1.1.18-hjp96a36.mjs +2 -0
- package/dist/chunks/cli-1.1.18-hphxdvpd.mjs +17 -0
- package/dist/chunks/cli-1.1.18-hsqq1hdd.mjs +9 -0
- package/dist/chunks/cli-1.1.18-hvd9yyb4.mjs +2 -0
- package/dist/chunks/cli-1.1.18-j1ryg6qv.mjs +2 -0
- package/dist/chunks/cli-1.1.18-j372h4fv.mjs +4 -0
- package/dist/chunks/cli-1.1.18-j461dthr.mjs +2 -0
- package/dist/chunks/cli-1.1.18-j5zh2pdx.mjs +17 -0
- package/dist/chunks/cli-1.1.18-jcqz5j7y.mjs +2 -0
- package/dist/chunks/cli-1.1.18-jgwwkx62.mjs +58 -0
- package/dist/chunks/cli-1.1.18-jjekxppq.mjs +25 -0
- package/dist/chunks/cli-1.1.18-jp0phw3q.mjs +2 -0
- package/dist/chunks/cli-1.1.18-k05shz35.mjs +2 -0
- package/dist/chunks/cli-1.1.18-k11n6026.mjs +3 -0
- package/dist/chunks/cli-1.1.18-k1pkc44n.mjs +2 -0
- package/dist/chunks/cli-1.1.18-kj7gj6vk.mjs +3 -0
- package/dist/chunks/cli-1.1.18-kkr6w2g7.mjs +2 -0
- package/dist/chunks/cli-1.1.18-m04wmdz7.mjs +9 -0
- package/dist/chunks/cli-1.1.18-mfjtdkn6.mjs +20 -0
- package/dist/chunks/cli-1.1.18-mg0s34rf.mjs +2 -0
- package/dist/chunks/cli-1.1.18-mg7jmbh9.mjs +2 -0
- package/dist/chunks/cli-1.1.18-mhy7qzsz.mjs +21 -0
- package/dist/chunks/cli-1.1.18-mm8bkmax.mjs +2 -0
- package/dist/chunks/cli-1.1.18-mqwcfz14.mjs +2 -0
- package/dist/chunks/cli-1.1.18-mrrbn0jj.mjs +6 -0
- package/dist/chunks/cli-1.1.18-mwevzyy2.mjs +2 -0
- package/dist/chunks/cli-1.1.18-mycrby1p.mjs +2 -0
- package/dist/chunks/cli-1.1.18-mz10pywc.mjs +2 -0
- package/dist/chunks/cli-1.1.18-n05vxdaj.mjs +2 -0
- package/dist/chunks/cli-1.1.18-n7dkmrv9.mjs +24 -0
- package/dist/chunks/cli-1.1.18-ndct9t5e.mjs +4 -0
- package/dist/chunks/cli-1.1.18-npdweafk.mjs +6 -0
- package/dist/chunks/cli-1.1.18-ns45fmht.mjs +2 -0
- package/dist/chunks/cli-1.1.18-p0ey1z9w.mjs +2 -0
- package/dist/chunks/cli-1.1.18-p28wy0mz.mjs +2 -0
- package/dist/chunks/cli-1.1.18-p3yf1aq6.mjs +42 -0
- package/dist/chunks/cli-1.1.18-p5rqk1qq.mjs +2 -0
- package/dist/chunks/cli-1.1.18-pbdm30bs.mjs +2 -0
- package/dist/chunks/cli-1.1.18-psb6qqc1.mjs +2 -0
- package/dist/chunks/cli-1.1.18-pt16bxrm.mjs +2 -0
- package/dist/chunks/cli-1.1.18-pzeg2p3k.mjs +2 -0
- package/dist/chunks/cli-1.1.18-q7qp6pv5.mjs +2 -0
- package/dist/chunks/cli-1.1.18-qfz5keqx.mjs +2 -0
- package/dist/chunks/cli-1.1.18-qrz1vgy2.mjs +2 -0
- package/dist/chunks/cli-1.1.18-qs28eyy1.mjs +2 -0
- package/dist/chunks/cli-1.1.18-qykcs1fr.mjs +4 -0
- package/dist/chunks/cli-1.1.18-r50x1ezt.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ra67yknr.mjs +6 -0
- package/dist/chunks/cli-1.1.18-rbfhhwym.mjs +2 -0
- package/dist/chunks/cli-1.1.18-rbkz8pj4.mjs +2 -0
- package/dist/chunks/cli-1.1.18-rnqtkprk.mjs +2 -0
- package/dist/chunks/cli-1.1.18-rp84hvn4.mjs +2 -0
- package/dist/chunks/cli-1.1.18-rykfqnyd.mjs +2 -0
- package/dist/chunks/cli-1.1.18-s5nhwqft.mjs +2 -0
- package/dist/chunks/cli-1.1.18-sdsvkqmn.mjs +2 -0
- package/dist/chunks/cli-1.1.18-sq93n51h.mjs +2 -0
- package/dist/chunks/cli-1.1.18-t526ry94.mjs +34 -0
- package/dist/chunks/cli-1.1.18-ta6r8qry.mjs +2 -0
- package/dist/chunks/cli-1.1.18-tm7nmhz8.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ts8ermsd.mjs +2 -0
- package/dist/chunks/cli-1.1.18-v42h6ekh.mjs +15 -0
- package/dist/chunks/cli-1.1.18-v4gc446r.mjs +2 -0
- package/dist/chunks/cli-1.1.18-v5btk93t.mjs +3 -0
- package/dist/chunks/cli-1.1.18-v75xqnbv.mjs +2 -0
- package/dist/chunks/cli-1.1.18-vgfpa3bs.mjs +5 -0
- package/dist/chunks/cli-1.1.18-vnsqk2vn.mjs +2 -0
- package/dist/chunks/cli-1.1.18-vx2rxj7b.mjs +2 -0
- package/dist/chunks/cli-1.1.18-vymgw42z.mjs +2 -0
- package/dist/chunks/cli-1.1.18-vzrv28w4.mjs +24 -0
- package/dist/chunks/cli-1.1.18-wp7r00wk.mjs +2 -0
- package/dist/chunks/cli-1.1.18-wzpxr762.mjs +50 -0
- package/dist/chunks/cli-1.1.18-x0bha3jf.mjs +2 -0
- package/dist/chunks/cli-1.1.18-x7jyxff1.mjs +3 -0
- package/dist/chunks/cli-1.1.18-x7k6y949.mjs +39 -0
- package/dist/chunks/cli-1.1.18-x9wfjwnm.mjs +2 -0
- package/dist/chunks/cli-1.1.18-xfb4pete.mjs +5410 -0
- package/dist/chunks/cli-1.1.18-xpxkw4js.mjs +2 -0
- package/dist/chunks/cli-1.1.18-y0eah2b9.mjs +2 -0
- package/dist/chunks/cli-1.1.18-y89tqne6.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ybazgea3.mjs +1 -0
- package/dist/chunks/cli-1.1.18-ybfayy4j.mjs +2 -0
- package/dist/chunks/cli-1.1.18-yk1f4vsx.mjs +2 -0
- package/dist/chunks/cli-1.1.18-ypcye8ae.mjs +6 -0
- package/dist/chunks/cli-1.1.18-ythtynpe.mjs +12 -0
- package/dist/chunks/cli-1.1.18-yymp5d28.mjs +12 -0
- package/dist/chunks/cli-1.1.18-yysexesh.mjs +2 -0
- package/dist/chunks/cli-1.1.18-z2dx0w6b.mjs +2 -0
- package/dist/chunks/cli-1.1.18-zd969gzb.mjs +2 -0
- package/dist/chunks/cli-1.1.18-zdx4ywwf.mjs +2 -0
- package/dist/chunks/cli-1.1.18-zhq044yz.mjs +26 -0
- package/dist/chunks/cli-1.1.18-ztyf20j1.mjs +2 -0
- package/dist/chunks/client-1.1.18-zdqzxpen.mjs +1 -0
- package/dist/chunks/color-1.1.18-qt7znj00.mjs +1 -0
- package/dist/chunks/compact-1.1.18-qev191am.mjs +3 -0
- package/dist/chunks/config-1.1.18-9kjysdvn.mjs +1 -0
- package/dist/chunks/config-1.1.18-am3webex.mjs +1 -0
- package/dist/chunks/constants-1.1.18-hdfyvthe.mjs +1 -0
- package/dist/chunks/context-1.1.18-ywdzshyf.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.18-ncf3febd.mjs +1 -0
- package/dist/chunks/conversation-1.1.18-h1q8gp2k.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.18-t0s2718z.mjs +1 -0
- package/dist/chunks/copy-1.1.18-66cbtmsa.mjs +9 -0
- package/dist/chunks/cost-1.1.18-350gegdk.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.18-vgmc8evp.mjs +1 -0
- package/dist/chunks/createSession-1.1.18-0e04rk8g.mjs +1 -0
- package/dist/chunks/debug-1.1.18-c4v63z13.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.18-jg2xdcgn.mjs +1534 -0
- package/dist/chunks/desktop-1.1.18-sghgn08z.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.18-m0xvtgqt.mjs +1 -0
- package/dist/chunks/detection-1.1.18-d7kpetjp.mjs +1 -0
- package/dist/chunks/diff-1.1.18-y9e1gbv0.mjs +1 -0
- package/dist/chunks/doctor-1.1.18-me0b6eyh.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.18-d85k2x5j.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.18-6jzg1a3e.mjs +1 -0
- package/dist/chunks/effort-1.1.18-kzqkmbjd.mjs +13 -0
- package/dist/chunks/engine-1.1.18-z5jbth81.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.18-1cqrnkp2.mjs +1 -0
- package/dist/chunks/envUtils-1.1.18-x298f5cb.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.18-6k9hzg6p.mjs +1 -0
- package/dist/chunks/environments-1.1.18-r0dv94mx.mjs +1 -0
- package/dist/chunks/errors-1.1.18-q6s6h2zs.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.18-0zc9623h.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.18-spcbfmbw.mjs +1 -0
- package/dist/chunks/exit-1.1.18-zvcsa8gc.mjs +1 -0
- package/dist/chunks/explorer-1.1.18-wf8yy5vj.mjs +1 -0
- package/dist/chunks/export-1.1.18-qeyf86rn.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.18-t0cm4v50.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.18-w6zswndv.mjs +1 -0
- package/dist/chunks/fast-1.1.18-c6bbr2sj.mjs +1 -0
- package/dist/chunks/feedback-1.1.18-8c9j05d9.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.18-mk3qv1p1.mjs +1 -0
- package/dist/chunks/git-1.1.18-716sc7rw.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.18-60dnzg1p.mjs +1 -0
- package/dist/chunks/goal-1.1.18-8em4jke5.mjs +4 -0
- package/dist/chunks/growthbook-1.1.18-b3tgw6y3.mjs +1 -0
- package/dist/chunks/headless-1.1.18-b5szxwsw.mjs +2 -0
- package/dist/chunks/heapdump-1.1.18-vjq0hc7v.mjs +6 -0
- package/dist/chunks/help-1.1.18-21j0mh6r.mjs +1 -0
- package/dist/chunks/hookChains-1.1.18-hptz3v0e.mjs +3 -0
- package/dist/chunks/hooks-1.1.18-0zec4dds.mjs +1 -0
- package/dist/chunks/hooks-1.1.18-ha1g38hn.mjs +79 -0
- package/dist/chunks/ide-1.1.18-rkvs3qqd.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.18-nakzgnn7.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.18-qxn6m4rg.mjs +1 -0
- package/dist/chunks/index-1.1.18-0ha3tnh6.mjs +1 -0
- package/dist/chunks/index-1.1.18-18y0bk36.mjs +1 -0
- package/dist/chunks/index-1.1.18-1kzcw8rj.mjs +9 -0
- package/dist/chunks/index-1.1.18-3yaj9awp.mjs +1 -0
- package/dist/chunks/index-1.1.18-427vyn1s.mjs +1 -0
- package/dist/chunks/index-1.1.18-5aebjh6r.mjs +2 -0
- package/dist/chunks/index-1.1.18-7qw763sw.mjs +1 -0
- package/dist/chunks/index-1.1.18-9p90ysn2.mjs +23 -0
- package/dist/chunks/index-1.1.18-a31cga5m.mjs +1 -0
- package/dist/chunks/index-1.1.18-awg146jw.mjs +1 -0
- package/dist/chunks/index-1.1.18-bsk8rb63.mjs +1 -0
- package/dist/chunks/index-1.1.18-cvzxd0hz.mjs +1 -0
- package/dist/chunks/index-1.1.18-ejew46p1.mjs +1 -0
- package/dist/chunks/index-1.1.18-gdwz7smf.mjs +1 -0
- package/dist/chunks/index-1.1.18-hcwn8mp8.mjs +1 -0
- package/dist/chunks/index-1.1.18-j843bxtx.mjs +9 -0
- package/dist/chunks/index-1.1.18-jhj8ae5j.mjs +30 -0
- package/dist/chunks/index-1.1.18-k9471m74.mjs +1 -0
- package/dist/chunks/index-1.1.18-kvv48kwq.mjs +5 -0
- package/dist/chunks/index-1.1.18-n6ntpnas.mjs +1 -0
- package/dist/chunks/index-1.1.18-n8a9f3dp.mjs +2 -0
- package/dist/chunks/index-1.1.18-ppwdm9bc.mjs +1 -0
- package/dist/chunks/index-1.1.18-zaqj0a20.mjs +1 -0
- package/dist/chunks/init-1.1.18-kgjtv56b.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.18-we3h7znp.mjs +1 -0
- package/dist/chunks/ink-1.1.18-s45xz0d5.mjs +1 -0
- package/dist/chunks/insights-1.1.18-qxdn050x.mjs +870 -0
- package/dist/chunks/install-1.1.18-hrtjazqa.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.18-9y1kn2dm.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.18-yfeb37pz.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.18-0s0n0snp.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.18-vsnpskhb.mjs +1 -0
- package/dist/chunks/keybindings-1.1.18-6zbse835.mjs +2 -0
- package/dist/chunks/knowledge-1.1.18-6ex2a771.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.18-8dq1wk9a.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.18-4vpps6mn.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.18-4j6dvx4m.mjs +1 -0
- package/dist/chunks/log-1.1.18-ft9dg3fj.mjs +1 -0
- package/dist/chunks/main-1.1.18-s1hnrh3q.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.18-jqjx86ng.mjs +1 -0
- package/dist/chunks/mcp-1.1.18-24906cg4.mjs +1 -0
- package/dist/chunks/mcp-1.1.18-7t3h9h66.mjs +4 -0
- package/dist/chunks/mcp-1.1.18-ast61twg.mjs +17 -0
- package/dist/chunks/mcpb-1.1.18-snfk9dz9.mjs +1 -0
- package/dist/chunks/memory-1.1.18-7k51bcr6.mjs +72 -0
- package/dist/chunks/model-1.1.18-0njn3xdn.mjs +2 -0
- package/dist/chunks/model-1.1.18-ny459y9j.mjs +1 -0
- package/dist/chunks/node-1.1.18-gk5h7jp4.mjs +12 -0
- package/dist/chunks/oauth-1.1.18-w9bt5qvg.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.18-xzt8j2wx.mjs +14 -0
- package/dist/chunks/output-style-1.1.18-q591t8v1.mjs +1 -0
- package/dist/chunks/package-KQCMZM5L-1.1.18-whakyscr.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.18-bwgbwc1r.mjs +1 -0
- package/dist/chunks/parser-1.1.18-qad863f5.mjs +1 -0
- package/dist/chunks/passes-1.1.18-t0hq8ewm.mjs +1 -0
- package/dist/chunks/permissions-1.1.18-5a7765tc.mjs +1 -0
- package/dist/chunks/permissions-1.1.18-ed8ysk2a.mjs +3 -0
- package/dist/chunks/plan-1.1.18-4hc85kck.mjs +1 -0
- package/dist/chunks/plist-1.1.18-7sdbzzm0.mjs +1 -0
- package/dist/chunks/plugin-1.1.18-9tkb7bap.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.18-j31xzm3k.mjs +1 -0
- package/dist/chunks/plugins-1.1.18-ab7msm6m.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.18-dkhj1e0v.mjs +2 -0
- package/dist/chunks/print-1.1.18-j2g7hv0n.mjs +57 -0
- package/dist/chunks/process-1.1.18-fvq9b7q3.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.18-vq69a3e4.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.18-n1yqhpgg.mjs +9 -0
- package/dist/chunks/prompt-1.1.18-acbj3trk.mjs +1 -0
- package/dist/chunks/prompt-1.1.18-wh5jv6ay.mjs +1 -0
- package/dist/chunks/prompts-1.1.18-m0az7ynn.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.18-k2shdefe.mjs +13 -0
- package/dist/chunks/provider-1.1.18-g384d5y0.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.18-sehcrk96.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.18-ge2ffym5.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.18-9dst3c2h.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.18-7t053hjx.mjs +26 -0
- package/dist/chunks/registry-1.1.18-xrd7m0b5.mjs +1 -0
- package/dist/chunks/release-notes-1.1.18-ayafp97j.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.18-hmvtf1f4.mjs +2 -0
- package/dist/chunks/remote-env-1.1.18-w9k53dqm.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.18-ex403g4q.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.18-4axy7j90.mjs +1 -0
- package/dist/chunks/rename-1.1.18-2v175525.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.18-z7ttbjsb.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.18-4z8q3518.mjs +1 -0
- package/dist/chunks/resume-1.1.18-7s9nkn6h.mjs +2 -0
- package/dist/chunks/rewind-1.1.18-wwasabaf.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.18-drrms6kn.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.18-grdmbjgn.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.18-4290hdqx.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.18-859vsbae.mjs +1 -0
- package/dist/chunks/session-1.1.18-ndwcefxm.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.18-mqhk62gm.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.18-2ypck9c4.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.18-w8jyzxb1.mjs +1 -0
- package/dist/chunks/settings-1.1.18-8tv1qyh6.mjs +1 -0
- package/dist/chunks/setup-1.1.18-frcmhac0.mjs +12 -0
- package/dist/chunks/sinks-1.1.18-zxg6qwxv.mjs +1 -0
- package/dist/chunks/skills-1.1.18-zxh8yk9d.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.18-h7ey8bj0.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.18-bws73cnz.mjs +1 -0
- package/dist/chunks/state-1.1.18-12hrspsf.mjs +1 -0
- package/dist/chunks/stats-1.1.18-kmhwdmq9.mjs +6 -0
- package/dist/chunks/status-1.1.18-4aep2t86.mjs +1 -0
- package/dist/chunks/stickers-1.1.18-20nhxd0w.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.18-a6f6xtx7.mjs +1 -0
- package/dist/chunks/tasks-1.1.18-5brzcp4c.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.18-ewst0n42.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.18-n1rgqqyr.mjs +1 -0
- package/dist/chunks/teleport-1.1.18-e63krqkp.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.18-6nf0ex7b.mjs +1 -0
- package/dist/chunks/theme-1.1.18-egp4mwdb.mjs +1 -0
- package/dist/chunks/thinkback-1.1.18-wphxbpgs.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.18-rjmn2eej.mjs +1 -0
- package/dist/chunks/toolPool-1.1.18-s1ssr2ef.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.18-c9cwkafr.mjs +1 -0
- package/dist/chunks/tools-1.1.18-1dqtpknx.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.18-3h8z5wdy.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.18-e9b2pss1.mjs +69 -0
- package/dist/chunks/types-1.1.18-31emf7xp.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.18-x96n2df3.mjs +4 -0
- package/dist/chunks/update-1.1.18-rfhbgb3x.mjs +72 -0
- package/dist/chunks/upgrade-1.1.18-5dd5b35g.mjs +1 -0
- package/dist/chunks/upload-1.1.18-6rcbt5xr.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.18-xx3jrk14.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.18-y4e042py.mjs +1 -0
- package/dist/chunks/usage-1.1.18-q3y9c6vk.mjs +1 -0
- package/dist/chunks/util-1.1.18-2vgfzdph.mjs +1 -0
- package/dist/chunks/utils-1.1.18-8tjbjr7v.mjs +1 -0
- package/dist/chunks/vim-1.1.18-44eqnfwb.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.18-c2shb8qc.mjs +13 -0
- package/dist/chunks/watcher-1.1.18-cb1x3sr6.mjs +1 -0
- package/dist/chunks/wiki-1.1.18-r1abckjp.mjs +132 -0
- package/dist/chunks/workflows-1.1.18-jtx40wvq.mjs +1 -0
- package/dist/chunks/worktree-1.1.18-ds3kez7h.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.18-2wj8e6bc.mjs +1 -0
- package/dist/chunks/wrapper-1.1.18-shbmq2kg.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help-doctor.txt +3 -3
- package/dist/help-install.txt +2 -2
- package/dist/help-mcp.txt +2 -2
- package/dist/help-plugin.txt +2 -2
- package/dist/help-plugins.txt +2 -2
- package/dist/help.txt +3 -3
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.16-d8xg1846.mjs +0 -1
- package/dist/chunks/App-1.1.16-1qyat349.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.16-gphm4kr9.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.16-ae0771hz.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.16-ntf57kwj.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.16-z8km64vb.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.16-9c1nen0b.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.16-e52dm35b.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.16-frav7jtc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.16-rnr2zeqm.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.16-32sa07f8.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.16-wcn0wvqj.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.16-ptpv0yby.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.16-2c80150t.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.16-xf5ytnvw.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.16-mq6axxmv.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.16-df81g99v.mjs +0 -1
- package/dist/chunks/REPL-1.1.16-67e78vej.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.16-nfz9vfxh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.16-nmypjs9s.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.16-8xp4cat6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.16-b873egjf.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.16-p12j7gbz.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.16-wfj4hbxa.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.16-t59p4sqb.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.16-6gnr1pgn.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.16-pz7hzyed.mjs +0 -1
- package/dist/chunks/add-dir-1.1.16-whsjbedt.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.16-7fxyjypa.mjs +0 -1
- package/dist/chunks/agents-1.1.16-1d6y0xda.mjs +0 -3
- package/dist/chunks/agents-1.1.16-s5e41ewr.mjs +0 -110
- package/dist/chunks/api-1.1.16-k1mytgsx.mjs +0 -1
- package/dist/chunks/asciicast-1.1.16-bxvyntn8.mjs +0 -1
- package/dist/chunks/assistant-1.1.16-acqmddet.mjs +0 -1
- package/dist/chunks/auth-1.1.16-7nwthv6n.mjs +0 -1
- package/dist/chunks/auth-1.1.16-c46k0chb.mjs +0 -1
- package/dist/chunks/autoMode-1.1.16-t7thnrw0.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.16-5k3bxrjz.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.16-nhb6p8p3.mjs +0 -1
- package/dist/chunks/branch-1.1.16-72eesr6a.mjs +0 -4
- package/dist/chunks/bridge-1.1.16-8n6h1b8c.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.16-jmz78ab3.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.16-nwrn0y9j.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.16-04vqwa21.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.16-krkxjxkj.mjs +0 -1
- package/dist/chunks/btw-1.1.16-h0jqrzph.mjs +0 -1
- package/dist/chunks/buddy-1.1.16-k6dwkrbz.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.16-rk6d7v9j.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.16-f3tggvs4.mjs +0 -4
- package/dist/chunks/caches-1.1.16-kxkg6hxt.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.16-jggzvahb.mjs +0 -1
- package/dist/chunks/claudemd-1.1.16-7dtnkedr.mjs +0 -1
- package/dist/chunks/clear-1.1.16-qrpawrqq.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.16-hcv9w964.mjs +0 -1
- package/dist/chunks/cli-1.1.16-00hws7wd.mjs +0 -15
- package/dist/chunks/cli-1.1.16-02ynr76s.mjs +0 -2
- package/dist/chunks/cli-1.1.16-06f5zq2n.mjs +0 -3
- package/dist/chunks/cli-1.1.16-07smcaht.mjs +0 -2
- package/dist/chunks/cli-1.1.16-08mt7pd3.mjs +0 -26
- package/dist/chunks/cli-1.1.16-0chc168e.mjs +0 -2
- package/dist/chunks/cli-1.1.16-0w56n0k6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-11vm4ckb.mjs +0 -3
- package/dist/chunks/cli-1.1.16-14fn34eq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-14qj3fgz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-16cpmrsq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-1p0006m7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-1rw7f88z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-21rqtmb8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2c672gb7.mjs +0 -12
- package/dist/chunks/cli-1.1.16-2mzk1cmm.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2ssqta47.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2v8aceee.mjs +0 -2
- package/dist/chunks/cli-1.1.16-2xgcx2pv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-3ha615b6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-3k3hzdbv.mjs +0 -9
- package/dist/chunks/cli-1.1.16-3wey4s8m.mjs +0 -2
- package/dist/chunks/cli-1.1.16-48pfhgz1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-49bqpfq6.mjs +0 -16
- package/dist/chunks/cli-1.1.16-4azerbgs.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4eszpnge.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4kbzs997.mjs +0 -2
- package/dist/chunks/cli-1.1.16-4pr1991p.mjs +0 -8
- package/dist/chunks/cli-1.1.16-4qysqchs.mjs +0 -24
- package/dist/chunks/cli-1.1.16-4v9hjjtt.mjs +0 -3
- package/dist/chunks/cli-1.1.16-50vqanyq.mjs +0 -4
- package/dist/chunks/cli-1.1.16-54087k9r.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5a4a2nqs.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5bx6tpmw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5dtt0nsq.mjs +0 -15
- package/dist/chunks/cli-1.1.16-5hfex73v.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5vc6gf8n.mjs +0 -2
- package/dist/chunks/cli-1.1.16-5wsywzcq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-65skb0g1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-67hp7vy9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-67yh08z2.mjs +0 -2
- package/dist/chunks/cli-1.1.16-69ma6qdv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-6fekr49f.mjs +0 -2
- package/dist/chunks/cli-1.1.16-6ptafg83.mjs +0 -59
- package/dist/chunks/cli-1.1.16-72wxrwg0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7aatqp3z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7c9cj19v.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7j9fntrz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-7k62y2m1.mjs +0 -45
- package/dist/chunks/cli-1.1.16-7k7w1py7.mjs +0 -39
- package/dist/chunks/cli-1.1.16-7xaxs3ra.mjs +0 -18
- package/dist/chunks/cli-1.1.16-7z989ymx.mjs +0 -24
- package/dist/chunks/cli-1.1.16-892pqd2m.mjs +0 -3
- package/dist/chunks/cli-1.1.16-8azzqa5w.mjs +0 -2
- package/dist/chunks/cli-1.1.16-8brzp1nw.mjs +0 -6
- package/dist/chunks/cli-1.1.16-8efk3qjx.mjs +0 -2
- package/dist/chunks/cli-1.1.16-8pms22dq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-90p1j6wj.mjs +0 -3
- package/dist/chunks/cli-1.1.16-9bvj95e0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9gc3v32k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9mjvq93j.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9vaffwrt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9wfv4nx7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-9zybbj79.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a09ca16c.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a2heems6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-a6z5s072.mjs +0 -58
- package/dist/chunks/cli-1.1.16-aae4w645.mjs +0 -42
- package/dist/chunks/cli-1.1.16-acbajet0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-amvj9fsw.mjs +0 -3
- package/dist/chunks/cli-1.1.16-b06spwrg.mjs +0 -21
- package/dist/chunks/cli-1.1.16-b7t8n05k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-b80x5mp6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c6ydw1c8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c839tmen.mjs +0 -2
- package/dist/chunks/cli-1.1.16-c9b05x0s.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cc5chgna.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cddsh2r4.mjs +0 -25
- package/dist/chunks/cli-1.1.16-cmfztzmq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cmw3ar20.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cnwnk7gb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-cs3aeka5.mjs +0 -12
- package/dist/chunks/cli-1.1.16-d6tf8dzn.mjs +0 -20
- package/dist/chunks/cli-1.1.16-df44y8yq.mjs +0 -3
- package/dist/chunks/cli-1.1.16-dfr9axye.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dh0eqfrb.mjs +0 -25
- package/dist/chunks/cli-1.1.16-dn98cknd.mjs +0 -6
- package/dist/chunks/cli-1.1.16-dqwre8s7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dqxwanh1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dtwt84pe.mjs +0 -6
- package/dist/chunks/cli-1.1.16-dtyn1qwz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-dxyq8q3t.mjs +0 -18
- package/dist/chunks/cli-1.1.16-e0fmjnmt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-e15bgq0q.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eabt3s19.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eatavqvn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-eg2wh4gb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-egxjzfe2.mjs +0 -34
- package/dist/chunks/cli-1.1.16-ejy0gvv1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-f3tex0kv.mjs +0 -24
- package/dist/chunks/cli-1.1.16-f6arq2qw.mjs +0 -3
- package/dist/chunks/cli-1.1.16-f9d79a6c.mjs +0 -2
- package/dist/chunks/cli-1.1.16-fd7yx131.mjs +0 -2
- package/dist/chunks/cli-1.1.16-g0z56bnb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-g2m8cf2k.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gqgat9ps.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gtw5ckd8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gyw71nnw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-gze584gt.mjs +0 -2
- package/dist/chunks/cli-1.1.16-h1rfrt5t.mjs +0 -1
- package/dist/chunks/cli-1.1.16-haqxs2zy.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hbzd5k64.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hd541yqt.mjs +0 -5
- package/dist/chunks/cli-1.1.16-hf9kpgyk.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hq7j37g9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-htk59n0r.mjs +0 -2
- package/dist/chunks/cli-1.1.16-hwr77b8n.mjs +0 -5469
- package/dist/chunks/cli-1.1.16-hyxvna5x.mjs +0 -2
- package/dist/chunks/cli-1.1.16-j1hg5tkr.mjs +0 -3
- package/dist/chunks/cli-1.1.16-jcye29qq.mjs +0 -202
- package/dist/chunks/cli-1.1.16-k7hg3739.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kf5fv5t0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kndxajhc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kpxhnxpz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-kxckvss5.mjs +0 -4
- package/dist/chunks/cli-1.1.16-kz0jkcdc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-m0b6tw88.mjs +0 -3
- package/dist/chunks/cli-1.1.16-m68wgnx0.mjs +0 -50
- package/dist/chunks/cli-1.1.16-manqzza5.mjs +0 -2
- package/dist/chunks/cli-1.1.16-mbr5p7h4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-n37yee4e.mjs +0 -5
- package/dist/chunks/cli-1.1.16-n9r7jwvf.mjs +0 -4
- package/dist/chunks/cli-1.1.16-nbxzev2y.mjs +0 -3
- package/dist/chunks/cli-1.1.16-nh0pt7e0.mjs +0 -2
- package/dist/chunks/cli-1.1.16-njacmwr1.mjs +0 -4
- package/dist/chunks/cli-1.1.16-p0fj6fyd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-pdga6t1k.mjs +0 -133
- package/dist/chunks/cli-1.1.16-pj3sbyjh.mjs +0 -2
- package/dist/chunks/cli-1.1.16-pzq1a8yw.mjs +0 -2
- package/dist/chunks/cli-1.1.16-q827fp1q.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qh481y6y.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qwgc24yv.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qy3897dn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-qyhfqd1t.mjs +0 -4
- package/dist/chunks/cli-1.1.16-r0tgqw2k.mjs +0 -4
- package/dist/chunks/cli-1.1.16-r102pkgg.mjs +0 -3
- package/dist/chunks/cli-1.1.16-r2q5qzd6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-r3n44d17.mjs +0 -2
- package/dist/chunks/cli-1.1.16-r41v96xz.mjs +0 -6
- package/dist/chunks/cli-1.1.16-rb7paxmn.mjs +0 -2
- package/dist/chunks/cli-1.1.16-rmn7pfkz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-rvyqa9q1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-s404wy1x.mjs +0 -6
- package/dist/chunks/cli-1.1.16-s73aeg9m.mjs +0 -3
- package/dist/chunks/cli-1.1.16-sbck6gp1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-sk0nvcb8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-sk5cfvaa.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t0vza3m9.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t3hq60ht.mjs +0 -2
- package/dist/chunks/cli-1.1.16-t52j6pb6.mjs +0 -6
- package/dist/chunks/cli-1.1.16-t7jxtkz8.mjs +0 -2
- package/dist/chunks/cli-1.1.16-the4daty.mjs +0 -17
- package/dist/chunks/cli-1.1.16-tjqwb7e1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-tjzxdkkt.mjs +0 -17
- package/dist/chunks/cli-1.1.16-tpxwx276.mjs +0 -2
- package/dist/chunks/cli-1.1.16-tv4kjnwq.mjs +0 -24
- package/dist/chunks/cli-1.1.16-tv97myza.mjs +0 -7
- package/dist/chunks/cli-1.1.16-v2e4pd3g.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vchwnr3f.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vf5x3nc4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vhwypfn6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vkc2wbwd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vngrsrs8.mjs +0 -3
- package/dist/chunks/cli-1.1.16-vq6g4ncg.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vra6hr5d.mjs +0 -2
- package/dist/chunks/cli-1.1.16-vzv60xz8.mjs +0 -4
- package/dist/chunks/cli-1.1.16-w4zy236d.mjs +0 -2
- package/dist/chunks/cli-1.1.16-w5ns6t4b.mjs +0 -2
- package/dist/chunks/cli-1.1.16-way1d0g7.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wbzh2wm5.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wpgdph2x.mjs +0 -7
- package/dist/chunks/cli-1.1.16-wv6e57r1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wxyxm2zp.mjs +0 -2
- package/dist/chunks/cli-1.1.16-wysnfmek.mjs +0 -4
- package/dist/chunks/cli-1.1.16-wzzrc1xq.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x0gywt7y.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x1r7521q.mjs +0 -133
- package/dist/chunks/cli-1.1.16-x4k8bzvc.mjs +0 -2
- package/dist/chunks/cli-1.1.16-x9m0y8t1.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xaye0g9z.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xe8wmqtk.mjs +0 -15
- package/dist/chunks/cli-1.1.16-xfke0ngj.mjs +0 -2
- package/dist/chunks/cli-1.1.16-xqk1znpb.mjs +0 -2
- package/dist/chunks/cli-1.1.16-y11gejtr.mjs +0 -9
- package/dist/chunks/cli-1.1.16-y1vrwcq4.mjs +0 -2
- package/dist/chunks/cli-1.1.16-y4qp7bb2.mjs +0 -2
- package/dist/chunks/cli-1.1.16-ynvgphfk.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yqaq6eek.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yv8wazsp.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yymrc4dd.mjs +0 -2
- package/dist/chunks/cli-1.1.16-yzrxqdz1.mjs +0 -4
- package/dist/chunks/cli-1.1.16-z56ew2eh.mjs +0 -66
- package/dist/chunks/cli-1.1.16-z93174n6.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zedxs5mz.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zgwt3v22.mjs +0 -2
- package/dist/chunks/cli-1.1.16-ztv6fvbq.mjs +0 -4
- package/dist/chunks/cli-1.1.16-zx2pqyak.mjs +0 -2
- package/dist/chunks/cli-1.1.16-zy1hy3m7.mjs +0 -3
- package/dist/chunks/cli-1.1.16-zzc307e7.mjs +0 -2
- package/dist/chunks/client-1.1.16-mxfnn25v.mjs +0 -1
- package/dist/chunks/color-1.1.16-kxb5k02m.mjs +0 -1
- package/dist/chunks/compact-1.1.16-zn3r524w.mjs +0 -3
- package/dist/chunks/config-1.1.16-866900pg.mjs +0 -1
- package/dist/chunks/config-1.1.16-pnqk3e4x.mjs +0 -1
- package/dist/chunks/constants-1.1.16-y8q2q4nx.mjs +0 -1
- package/dist/chunks/context-1.1.16-g23rxjdc.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.16-cccdk7gt.mjs +0 -1
- package/dist/chunks/conversation-1.1.16-b3c8ysvx.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.16-n2gqvrz3.mjs +0 -1
- package/dist/chunks/copy-1.1.16-evtbz4pr.mjs +0 -9
- package/dist/chunks/cost-1.1.16-je2dhky8.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.16-7bjctayt.mjs +0 -1
- package/dist/chunks/createSession-1.1.16-q7ezgde2.mjs +0 -1
- package/dist/chunks/debug-1.1.16-rwekwqaz.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.16-drefjcq7.mjs +0 -1534
- package/dist/chunks/desktop-1.1.16-s5p2s8z1.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.16-0mj2v70d.mjs +0 -1
- package/dist/chunks/detection-1.1.16-a6g1ea8w.mjs +0 -1
- package/dist/chunks/diff-1.1.16-5c3cx6ex.mjs +0 -1
- package/dist/chunks/doctor-1.1.16-41p56y0f.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.16-w0td1z7t.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.16-fb3qxbjk.mjs +0 -1
- package/dist/chunks/effort-1.1.16-9gw3x1mz.mjs +0 -13
- package/dist/chunks/engine-1.1.16-35cg9rmx.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.16-1d34y7k2.mjs +0 -1
- package/dist/chunks/envUtils-1.1.16-4t6p0jjh.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.16-63yqca4b.mjs +0 -1
- package/dist/chunks/environments-1.1.16-zg1cebes.mjs +0 -1
- package/dist/chunks/errors-1.1.16-5ry90xtn.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.16-gctdwyey.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.16-ja5wfnqk.mjs +0 -1
- package/dist/chunks/exit-1.1.16-gp3attw5.mjs +0 -1
- package/dist/chunks/explorer-1.1.16-ksz2kh3r.mjs +0 -1
- package/dist/chunks/export-1.1.16-4q6eppsd.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.16-gtvkswnt.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.16-y936p9yp.mjs +0 -1
- package/dist/chunks/fast-1.1.16-9d3xqrpf.mjs +0 -1
- package/dist/chunks/feedback-1.1.16-3va6ar52.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.16-rzm5ms2c.mjs +0 -1
- package/dist/chunks/git-1.1.16-wxjpazsv.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.16-8db65cwz.mjs +0 -1
- package/dist/chunks/goal-1.1.16-n6zn5hv0.mjs +0 -4
- package/dist/chunks/growthbook-1.1.16-595crq4b.mjs +0 -1
- package/dist/chunks/headless-1.1.16-ngrfttd2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.16-xeq6wdmt.mjs +0 -6
- package/dist/chunks/help-1.1.16-cr6p1e9d.mjs +0 -1
- package/dist/chunks/hookChains-1.1.16-9h14zpb6.mjs +0 -3
- package/dist/chunks/hooks-1.1.16-1g8bmj2c.mjs +0 -79
- package/dist/chunks/hooks-1.1.16-n1gmh33c.mjs +0 -1
- package/dist/chunks/ide-1.1.16-9vtwyzje.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.16-xs3s51me.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.16-c6drgpf3.mjs +0 -1
- package/dist/chunks/index-1.1.16-18yhpv52.mjs +0 -23
- package/dist/chunks/index-1.1.16-2rsmxhr2.mjs +0 -30
- package/dist/chunks/index-1.1.16-2xc5zjwe.mjs +0 -5
- package/dist/chunks/index-1.1.16-3cscsx0v.mjs +0 -1
- package/dist/chunks/index-1.1.16-3vpat7c1.mjs +0 -9
- package/dist/chunks/index-1.1.16-3zhbr1qd.mjs +0 -1
- package/dist/chunks/index-1.1.16-54nbfa3c.mjs +0 -1
- package/dist/chunks/index-1.1.16-6f495kq6.mjs +0 -1
- package/dist/chunks/index-1.1.16-82gx3ah5.mjs +0 -1
- package/dist/chunks/index-1.1.16-ap17zed0.mjs +0 -1
- package/dist/chunks/index-1.1.16-b07w4tdb.mjs +0 -1
- package/dist/chunks/index-1.1.16-cca87zba.mjs +0 -9
- package/dist/chunks/index-1.1.16-dxjx9gq8.mjs +0 -1
- package/dist/chunks/index-1.1.16-ehk0dpk3.mjs +0 -1
- package/dist/chunks/index-1.1.16-g6p5h9x8.mjs +0 -1
- package/dist/chunks/index-1.1.16-hsmqsx4f.mjs +0 -2
- package/dist/chunks/index-1.1.16-n1gyvm02.mjs +0 -1
- package/dist/chunks/index-1.1.16-ppkq03k8.mjs +0 -1
- package/dist/chunks/index-1.1.16-qpdm2q81.mjs +0 -1
- package/dist/chunks/index-1.1.16-qww85f6n.mjs +0 -1
- package/dist/chunks/index-1.1.16-s5e31nps.mjs +0 -1
- package/dist/chunks/index-1.1.16-v1zrqah7.mjs +0 -2
- package/dist/chunks/index-1.1.16-vbj2a5jp.mjs +0 -1
- package/dist/chunks/init-1.1.16-6wdrdz2r.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.16-6bhkywe8.mjs +0 -1
- package/dist/chunks/ink-1.1.16-e7whmjxf.mjs +0 -1
- package/dist/chunks/insights-1.1.16-s2czmsxt.mjs +0 -870
- package/dist/chunks/install-1.1.16-hm3j0jqe.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.16-xmkdh35y.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.16-1a8z176x.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.16-5tqqjvsb.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.16-49sn5m39.mjs +0 -1
- package/dist/chunks/keybindings-1.1.16-c6n8k84r.mjs +0 -2
- package/dist/chunks/knowledge-1.1.16-08yzaswd.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.16-a0dks1p1.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.16-jbfc3ync.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.16-0pym4ad2.mjs +0 -1
- package/dist/chunks/log-1.1.16-yahqz556.mjs +0 -1
- package/dist/chunks/main-1.1.16-2egj6bns.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.16-tgd635vq.mjs +0 -1
- package/dist/chunks/mcp-1.1.16-fkx2awnj.mjs +0 -17
- package/dist/chunks/mcp-1.1.16-n7sgsh7q.mjs +0 -1
- package/dist/chunks/mcp-1.1.16-ry6g2t33.mjs +0 -4
- package/dist/chunks/mcpb-1.1.16-74c05aj3.mjs +0 -1
- package/dist/chunks/memory-1.1.16-6jbqggnn.mjs +0 -72
- package/dist/chunks/model-1.1.16-3bvzfbem.mjs +0 -2
- package/dist/chunks/model-1.1.16-sjpwhja7.mjs +0 -1
- package/dist/chunks/node-1.1.16-gsj0fpm7.mjs +0 -12
- package/dist/chunks/oauth-1.1.16-bt9x98w7.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.16-8gems3mz.mjs +0 -14
- package/dist/chunks/output-style-1.1.16-embrry9v.mjs +0 -1
- package/dist/chunks/package-KQCMZM5L-1.1.16-d3m1d21p.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.16-zffe39j3.mjs +0 -1
- package/dist/chunks/parser-1.1.16-3ps9dtdr.mjs +0 -1
- package/dist/chunks/passes-1.1.16-n0a3pvdf.mjs +0 -1
- package/dist/chunks/permissions-1.1.16-jk4pmrmf.mjs +0 -3
- package/dist/chunks/permissions-1.1.16-wnz2vr3h.mjs +0 -1
- package/dist/chunks/plan-1.1.16-rtkh7eh3.mjs +0 -1
- package/dist/chunks/plist-1.1.16-t71wt7sc.mjs +0 -1
- package/dist/chunks/plugin-1.1.16-t9jaj1gv.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.16-c6cf7tmk.mjs +0 -1
- package/dist/chunks/plugins-1.1.16-73hwgvfk.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.16-nthzxbp9.mjs +0 -2
- package/dist/chunks/print-1.1.16-armgf1aq.mjs +0 -57
- package/dist/chunks/process-1.1.16-3ct2vh70.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.16-89y7gsbx.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.16-1kjtbhx2.mjs +0 -9
- package/dist/chunks/prompt-1.1.16-0386v4at.mjs +0 -1
- package/dist/chunks/prompt-1.1.16-k5y0dpf7.mjs +0 -1
- package/dist/chunks/prompts-1.1.16-xsnbw92m.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.16-yx039y6v.mjs +0 -13
- package/dist/chunks/provider-1.1.16-m0kk3yhs.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.16-2v2pwv6d.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.16-282tqjjx.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.16-avgds6pk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.16-mzwjj9v6.mjs +0 -26
- package/dist/chunks/registry-1.1.16-n34j5qfk.mjs +0 -1
- package/dist/chunks/release-notes-1.1.16-8q4sx928.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.16-7znfn6r1.mjs +0 -2
- package/dist/chunks/remote-env-1.1.16-pv7edzf2.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.16-jv7q72cp.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.16-mmf3btpt.mjs +0 -1
- package/dist/chunks/rename-1.1.16-m3xv2hvc.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.16-0vph2kjs.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.16-g5z9jade.mjs +0 -1
- package/dist/chunks/resume-1.1.16-40c9ahqr.mjs +0 -2
- package/dist/chunks/rewind-1.1.16-tpy93a43.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.16-3apcbhbp.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.16-ejyeyghc.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.16-xb7gb62s.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.16-pm4wkyc5.mjs +0 -1
- package/dist/chunks/session-1.1.16-vrf7bvfv.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.16-e919fb36.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.16-6sbxmck5.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.16-1pd52qxc.mjs +0 -1
- package/dist/chunks/settings-1.1.16-0twvg2yc.mjs +0 -1
- package/dist/chunks/setup-1.1.16-mhj053ej.mjs +0 -12
- package/dist/chunks/sinks-1.1.16-10wxx1a3.mjs +0 -1
- package/dist/chunks/skills-1.1.16-r7v633j2.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.16-mmrhkw7p.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.16-8tj1n7gt.mjs +0 -1
- package/dist/chunks/state-1.1.16-8zy52d2r.mjs +0 -1
- package/dist/chunks/stats-1.1.16-mrmhzc8j.mjs +0 -6
- package/dist/chunks/status-1.1.16-qpanvb67.mjs +0 -1
- package/dist/chunks/stickers-1.1.16-0d4zm7x4.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.16-3pz224am.mjs +0 -1
- package/dist/chunks/tasks-1.1.16-cv8bsqt6.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.16-yrkqrc58.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.16-xgaxxh5q.mjs +0 -1
- package/dist/chunks/teleport-1.1.16-rhtckzvp.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.16-fptwmgph.mjs +0 -1
- package/dist/chunks/theme-1.1.16-4tskjw6p.mjs +0 -1
- package/dist/chunks/thinkback-1.1.16-d1x5jsx0.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.16-54xyd092.mjs +0 -1
- package/dist/chunks/toolPool-1.1.16-ga5s9f1k.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.16-xw1xa379.mjs +0 -1
- package/dist/chunks/tools-1.1.16-h2yhp23r.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.16-nrdjhk2z.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.16-4yvp9q16.mjs +0 -69
- package/dist/chunks/types-1.1.16-47y90s0f.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.16-ej1e8hkt.mjs +0 -4
- package/dist/chunks/update-1.1.16-rtkcq95j.mjs +0 -72
- package/dist/chunks/upgrade-1.1.16-52bm5sf9.mjs +0 -1
- package/dist/chunks/upload-1.1.16-m2wyhzek.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.16-vwczyqak.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.16-qa109pxx.mjs +0 -1
- package/dist/chunks/usage-1.1.16-yqk04de2.mjs +0 -1
- package/dist/chunks/util-1.1.16-5f2kcd2a.mjs +0 -1
- package/dist/chunks/utils-1.1.16-pgvxvt37.mjs +0 -1
- package/dist/chunks/vim-1.1.16-9pd3j7qj.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.16-wdxk66eb.mjs +0 -13
- package/dist/chunks/watcher-1.1.16-cd9fad12.mjs +0 -1
- package/dist/chunks/wiki-1.1.16-8290ftnh.mjs +0 -132
- package/dist/chunks/workflows-1.1.16-f4k926bs.mjs +0 -1
- package/dist/chunks/worktree-1.1.16-4s4hp83q.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.16-je59whhd.mjs +0 -1
- package/dist/chunks/wrapper-1.1.16-dfsehczs.mjs +0 -7
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{a9 as P5,c9 as R7}from"./cli-1.1.16-cs3aeka5.mjs";import{e9 as A,f9 as r8}from"./cli-1.1.16-dtwt84pe.mjs";import{w9 as a2,y9 as D7}from"./cli-1.1.16-gyw71nnw.mjs";import{$ca as o1,Bba as z2,Bea as c,Bfa as J4,Dga as k,Efa as N5,Fda as P,Ffa as $Z,Gea as n2,H_ as v2,Hda as x5,Hea as S,K_ as o8,Kda as N,Kea as D,Lga as n0,Qea as e1,Sba as x8,Tda as x0,X_ as P2,Z_ as e8,aea as s4,cea as ZZ,cga as l2,dea as S1,dfa as $0,eea as m7,ffa as Z4,fga as G4,gfa as G8,ida as B8,kfa as $4,l_ as A4,lga as s2,m_ as t,n_ as K5,nba as M1,o_ as D0,oba as p7,oga as L,p_ as C4,q_ as s5,rga as J0,v_ as H0,w_ as H1,zfa as B4}from"./cli-1.1.16-jcye29qq.mjs";import{Jha as S0,Lha as h4,Vha as T1}from"./cli-1.1.16-way1d0g7.mjs";import{Aja as G7,Bja as H7,Dja as U,Eja as h0,wja as A2,xja as l4,yja as B0}from"./cli-1.1.16-3wey4s8m.mjs";import{Fja as x,Ija as z5}from"./cli-1.1.16-5a4a2nqs.mjs";import{Ika as z,Kka as m0,Lka as Z0,mka as U2,qka as a8,uka as n5,yka as S7}from"./cli-1.1.16-s404wy1x.mjs";import{gla as g,ila as z1,nla as x1}from"./cli-1.1.16-njacmwr1.mjs";import{Bla as d,qla as N2,tla as K,vla as u,xla as v5}from"./cli-1.1.16-b80x5mp6.mjs";import{Boa as y0,Coa as Z5,Hpa as j5,Woa as C,bna as Y0,bpa as I1,cna as D1,eoa as d1,era as Q0,soa as r1,spa as X1,tpa as V1,upa as W1,vpa as j1,woa as y4}from"./cli-1.1.16-eabt3s19.mjs";import{Dra as h,Era as t0}from"./cli-1.1.16-vhwypfn6.mjs";import{_ra as v,qsa as Y5}from"./cli-1.1.16-4qysqchs.mjs";import{Psa as _0,Rsa as c5,Ssa as R,Tsa as r}from"./cli-1.1.16-w5ns6t4b.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.16-g6p5h9x8.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.16-vbj2a5jp.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 sZ(){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.16-g6p5h9x8.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.16-vbj2a5jp.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 rZ(Z,$){let J=L7(Z);if(J)return Z.replace(`${J}.`,`${$}.`);if(w7(Z))return`${$}.${Z}`;return Z}var g2,aZ,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}});aZ=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,_5,y5,h5,I5,T5,M5,S5,l0,s0,a0,U0,f5,A5,C5,v0,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"},_5={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"},y5={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"},U0={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",bedrock:"anthropic.claude-fable-5",vertex:"claude-fable-5",foundry:"claude-fable-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"},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"},v0={haiku35:_5,haiku45:y5,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:U0,fable5:f5},d2=Object.fromEntries(Object.entries(v0).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 O0={};c5(O0,{prefetchCopilotModelCatalog:()=>i5,normalizeBareCopilotModelId:()=>d5,getEffectiveCopilotModels:()=>v7,getCopilotDisplayName:()=>P7,getCatalogCopilotMaxOutputTokens:()=>_7,getCatalogCopilotContextWindow:()=>E7,fetchCopilotModelCatalog:()=>o2,copilotModelSupportsAnthropicMessages:()=>O7,_setCopilotCatalogForTesting:()=>y7});function P0(){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=P0();return Z!==null&&z0===Z}function k7(){if(t2)return;t2=!0,n2(()=>{let Z=P0();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=P0();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($&&P0()===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 _7(Z){return e0(Z)?.model.limit.output}function y7(Z){e=Z,z0=Z?P0():null}var b7=5000,e=null,z0=null,o0=null,m5=null,t2=!1;var E0=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 W$(){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}=(E0(),_0(O0)),Y=Q(J);if(Y!==null)return Y}catch{}return!0}function j$(Z){let $=L()?.transport??"anthropic";if(!I7.has($))return!1;if($==="github_copilot"&&h7(Z))return!1;return!0}function z$(){return W()}function x$(){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]=v0[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=v0[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 D$(){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(v0);$1=C2(async()=>{if(y0()!==null)return;try{let Z=await T7();Z5(Z)}catch(Z){k(Z)}})});function k$(Z){return Z}function N$(){return!1}function J1(){return null}function Q1(){return!1}var Y1=()=>{};async function y$(){let $=D().oauthAccount?.accountUuid,J=I0();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();h0();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,C$;var G1=R(()=>{Q0();Z0();d();x1();S7();C7=`${q5}/.oauth_token`,u7=`${q5}/.api_key`,C$=`${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 d$(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",T0="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",l$="effort-2025-11-24",s$="task-budgets-2026-03-13",O1="prompt-caching-scope-2026-01-05",a$="extended-cache-ttl-2025-04-11",r$="fast-mode-2026-02-01",E1="redact-thinking-2026-02-12",_1="thinking-token-count-2026-05-13",y1="token-efficient-tools-2026-03-28",o$="afk-mode-2026-01-31",e$="advisor-tool-2026-03-01",o5,ZJ;var e5=R(()=>{o5=new Set(["interleaved-thinking-2025-05-14","context-1m-2025-08-07","tool-search-tool-2025-10-19"]),ZJ=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=S0("tengu_penguins_off",null);if(Z!==null)return z(`Fast mode unavailable: ${Z}`),Z;if(!M1()&&S0("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 KJ(){let Z=B5(X0());return"opus"+(J2()&&!Z?"[1m]":"")}function LJ(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??f0(),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 kJ(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 NJ(){R0={status:"active"}}function UJ(){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 PJ(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 OJ(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 _J(){if(!I())return;if(E.status!=="pending")return;E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"unknown"}}async function yJ(){if(S1())return;if(!I())return;if(M0)return z("Fast mode prefetch in progress, returning in-flight promise"),M0;let Z=I0();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{M0=null}}return M0=Y(),M0}var FJ="Opus 5",R0,Z2=!1,C1,u1,DJ,bJ,g1,vJ,E,$2,EJ,a7=30000,h1=0,M0=null;var p1=R(()=>{Y5();h0();T1();Q0();z5();o();p7();$0();Z0();d();w0();i();m7();x0();D1();R0={status:"active"},C1=Y0(),u1=Y0(),DJ=C1.subscribe,bJ=u1.subscribe;g1=Y0(),vJ=g1.subscribe;E={status:"pending"},$2=Y0(),EJ=$2.subscribe});function J8(Z){for(let $ of $8)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(U0.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 Y8(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(U0.firstParty))return X2($.speed==="fast");let Q=Y2[J];if(!Q){let Y=J8(Z);if(Y)return Y;return q8(Z,J),Y2[b(f0())]??Z8}return Q}function q8(Z,$){x("",{model:Z,shortName:$}),d1()}function X8(Z,$){let J=Y8(Z,$);return Q8(J,$)}function AJ(Z,$){let J={input_tokens:$.inputTokens,output_tokens:$.outputTokens,cache_read_input_tokens:$.cacheReadInputTokens,cache_creation_input_tokens:$.cacheCreationInputTokens};return X8(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 F0,m1,n,r7,i1,o7,e7,Z8,$8,Y2;var t1=R(()=>{z5();Q0();p1();u5();w0();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},r7={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},o7={inputTokens:0.8,outputTokens:4,promptCacheWriteTokens:1,promptCacheWrite1hTokens:1.6,promptCacheReadTokens:0.08,webSearchRequests:0.01},e7={inputTokens:1,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheWrite1hTokens:2,promptCacheReadTokens:0.1,webSearchRequests:0.01},Z8=n,$8=[{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(_5.firstParty)]:o7,[F(y5.firstParty)]:e7,[F(E5.firstParty)]:F0,[F(O5.firstParty)]:F0,[F(h5.firstParty)]:F0,[F(I5.firstParty)]:F0,[F(A5.firstParty)]:F0,[F(C5.firstParty)]:F0,[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(U0.firstParty)]:n,[F(f5.firstParty)]:r7}});function p(Z){return V8.includes(Z)}function K0(Z){return W8.includes(Z)}var V8,W8;var W2=R(()=>{V8=["sonnet","opus","haiku","fable","best","sonnet[1m]","opus[1m]","opusplan"];W8=["sonnet","opus","haiku"]});function j8(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 z8(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(K0(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(!K0(Y)||!l1(Y,q))return!0}for(let X of q)if(K0(X)&&!l1(X,q)&&j8(Y,X))return!0;if(p(Y)){let X=T(Y).toLowerCase();if(q.includes(X))return!0}for(let X of q)if(!K0(X)&&p(X)){if(T(X).toLowerCase()===Y)return!0}for(let X of q)if(!K0(X)&&!p(X)){if(z8(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 L0(){let Z=L();if(!Z?.model)return;return Z4(Z.model)}function W3(){if(process.env.ANTHROPIC_SMALL_FAST_MODEL)return process.env.ANTHROPIC_SMALL_FAST_MODEL;let Z=L0();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 j3(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=L0()||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 z3(){let Z=j2();if(Z!==void 0&&Z!==null)return T(Z);return Y4()}function H8(){return X0()}function X0(){if(process.env.ANTHROPIC_DEFAULT_OPUS_MODEL)return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;let Z=L0();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=L0();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=L0();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 x3(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 f0(){let Z=L0();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(f0())}function F(Z){if(Z=Z.toLowerCase(),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 R8(Z=!1){if(H5()||R5())return`Opus 5 · Most capable for complex work${Z?w8(!0):""}`;return"Sonnet 5 · Best for everyday tasks"}function B3(Z){if(Z==="opusplan")return"Opus 5 in plan mode, else Sonnet 5";return X4(T(Z))}function G3(Z){if(W()!=="firstParty")return"";let $=V2(q2(Z));return` ·${Z?` (${z2})`:""} ${$}`}function w8(Z){if(W()!=="firstParty")return"";let $=V2(X2(Z));return` ·${Z?` (${z2})`:""} ${$}`}function J2(){if(V0()||G2()||W()!=="firstParty")return!1;if(_()&&f()===null)return!1;return!0}function H3(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:$}=(E0(),_0(O0));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().fable5:return"Fable 5";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 R3(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 H8();default:}}if(Y==="codexplan")return"gpt-5.5";if(Y==="codexspark")return"gpt-5.3-codex-spark";if(Y==="fable"||Y==="fable5")return B().fable5;if(W()==="firstParty"&&K8(Y)&&L8())return X0()+(Q?"[1m]":"");if(Q)return $.replace(/\[1m\]$/i,"").trim()+"[1m]";return $}function w3(Z,$){if(l(Z)||!l($))return Z;if(x2(T(Z)))return Z+"[1m]";return Z}function K8(Z){return F8.includes(Z)}function L8(){return!K(process.env.CLAUDIN_DISABLE_LEGACY_MODEL_REMAP)}function F3(Z){if(Z===null){if(_())return`Default (${R8()})`;return`Default (${Y4()})`}let $=T(Z);return Z===$?$:`${Z} (${$})`}function K3(Z){if(W()==="foundry")return;let $=Z.toLowerCase().includes("[1m]"),J=b(Z);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 L3(Z){return Z.replace(/\[(1|2)m\]/gi,"")}function D3(Z){let $=b(Z);return $.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("opus-5")||$.includes("fable-5")||$.includes("sonnet-5")}var F8;var w0=R(()=>{Q0();J0();$0();J4();o();B2();d();G8();Q5();t1();x0();i();x8();a1();W2();B8();p5();F8=["claude-opus-4-20250514","claude-opus-4-1-20250805","claude-opus-4-0","claude-opus-4-1"]});function H2(Z){return}async function k3(){}var V4=()=>{};function N8(Z,$={}){if($.isPro??(k8.test(Z)||W4.has(Z)))return!1;if(D8.has(Z))return!0;if(W4.has(Z))return!1;let Q=Z.match(b8);return Q?Number.parseFloat(Q[1])>5.4:!1}function U3(){return w5.filter((Z)=>N8(Z.id,{isPro:Z.isPro}))}var w5,D8,W4,b8,k8,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}],D8=new Set(w5.filter((Z)=>!Z.isPro).map((Z)=>Z.id)),W4=new Set(["gpt-5.5-pro"]),b8=/^gpt-(\d+\.\d+)/,k8=/-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:()=>T8,getDiscoveredContextWindow:()=>U8,discoverOpenAICompatibleModelOptions:()=>F4});function U8(Z){return R4.get(Z)}function v8(){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 P8(Z){try{return new URL(Z).hostname.toLowerCase().includes("bankr")}catch{return!1}}function O8(Z){let $=L()?.apiKey?.trim();if(!$)return{};if(P8(Z))return{"X-API-Key":$};let J={Authorization:`Bearer ${$}`};if(w4(Z))J["api-key"]=$;return J}function E8(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 _8(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 y8(Z){if(Z>=1e6)return`${Z/1e6}M ctx`;if(Z>=1000)return`${Math.round(Z/1000)}K ctx`;return`${Z} ctx`}async function h8(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?` · ${y8(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 I8(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=v8(),$=O8(Z),J=await h8(E8(Z),$);if(J.length>0)return J;let Q=_8(Z);if(Q)return I8(Q,$);return[]}function T8(){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(),_0(K4)),Q=J(Z);if(Q!==void 0)return Q}catch{}let $=b4(M8,f8,Z);if($!==void 0)return $;try{let{getCatalogCopilotContextWindow:J}=(E0(),_0(O0));return J(Z)}catch{return}}function N4(Z){let $=b4(S8,A8,Z);if($!==void 0)return $;try{let{getCatalogCopilotMaxOutputTokens:J}=(E0(),_0(O0));return J(Z)}catch{return}}var M8,S8,f8,A8;var U4=R(()=>{J0();x4();M8={"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},S8={"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},f8=(()=>{try{let Z=process.env.CLAUDIN_OPENAI_CONTEXT_WINDOWS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})(),A8=(()=>{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 i3(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."),C8}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(T0)&&x2(Z))return 1e6;if(p8(Z))return 1e6;return R2}function p8(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 t3(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 n3(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 $=u8,J=g8;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,C8,m3=20000,u8=32000,g8=64000,c3=8000,d3=64000;var B2=R(()=>{e5();J0();$0();d();w0();V4();U4();C8=(()=>{let Z=parseInt(process.env.CLAUDIN_OPENAI_FALLBACK_CONTEXT_WINDOW??"",10);return!isNaN(Z)&&Z>0?Z:128000})()});var m8,P4;var O4=R(()=>{t0();i();m8=[{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 m8){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 c8(Z){let $=[],J=[];for(let Q of Z)if(I4.includes(Q))$.push(Q);else J.push(Q);return{allowed:$,disallowed:J}}function x9(Z){if(!Z||Z.length===0)return;if(_()){console.warn("Warning: Custom betas are only available for API key users. Ignoring provided betas.");return}let{allowed:$,disallowed:J}=c8(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 d8(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 i8(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 t8(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 B9(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 G9(){let Z=W();if(Z==="vertex"||Z==="bedrock")return P1;return v1}function _4(){return(W()==="firstParty"||W()==="foundry")&&!K(process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS)}function H9(){if(K(process.env.CLAUDIN_DISABLE_GLOBAL_CACHE_SCOPE))return!1;return W()==="firstParty"&&!K(process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS)}function R9(Z,$){let J=[...T4(Z)];if($?.isAgenticQuery){if(!J.includes(W5))J.push(W5)}let Q=y4();if(!Q||Q.length===0)return J;return[...J,...Q.filter((Y)=>!J.includes(Y))]}function M4(){w2.cache?.clear?.(),T4.cache?.clear?.(),n8.cache?.clear?.()}var I4,w2,T4,n8;var S4=R(()=>{t0();T1();Q0();e5();h0();o();B2();d();w0();O4();i();x0();I4=[T0];w2=h((Z)=>{let $=[],J=b(Z).includes("haiku"),Q=W(),Y=_4();if(!J)$.push(W5);if(_())$.push(B0);if(l(Z))$.push(T0);if(!K(process.env.DISABLE_INTERLEAVED_THINKING)&&E4(Z))$.push(k1);if(Y&&E4(Z)&&!C()&&N().showThinkingSummaries!==!0)$.push(E1),$.push(_1);let q=i8(Z);if(_4()&&q)$.push(N1);let X=h4("tengu_tool_pear"),V=!X&&(K(process.env.CLAUDIN_JSON_TOOL_USE)||S0("tengu_amber_json_tools",!1));if(Y&&t8(Z)&&X)$.push(U1);if(Y&&V)$.push(y1);if(Q==="vertex"&&d8(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 $}),n8=h((Z)=>{return w2(Z).filter((J)=>o5.has(J))})});import{execFile as l8}from"child_process";function f4(Z){return new Promise(($)=>{l8("security",["find-generic-password","-a",K5(),"-w","-s",Z],{encoding:"utf-8",timeout:s8},(J,Q)=>{$({stdout:J?null:Q?.trim()||null,timedOut:Boolean(J&&"killed"in J&&J.killed)})})})}function D9(){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 b9(){if(F5)await F5}function u4(){return F2}function K2(){F2=null}var s8=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 U9(){return m4}function c4(){m4.clear()}var m4;var d4=R(()=>{m4=new Map});var uZ={};c5(uZ,{validateForceLoginOrg:()=>CZ,saveOAuthTokensIfNeeded:()=>X7,saveApiKey:()=>S2,removeApiKey:()=>vZ,refreshGcpCredentialsIfNeeded:()=>M2,refreshGcpAuth:()=>Y7,refreshAwsAuth:()=>J7,refreshAndGetAwsCredentials:()=>j0,prefetchGcpCredentialsIfSafe:()=>bZ,prefetchAwsCredentialsAndBedRockInfoIfSafe:()=>kZ,prefetchApiKeyFromApiKeyHelperIfSafe:()=>zZ,isUsing3PServices:()=>k5,isTeamSubscriber:()=>hZ,isTeamPremiumSubscriber:()=>R5,isProSubscriber:()=>G2,isOverageProvisioningAllowed:()=>_Z,isOtelHeadersHelperFromProjectOrLocalSettings:()=>z7,isMaxSubscriber:()=>H5,isGcpAuthRefreshFromProjectSettings:()=>T2,isEnterpriseSubscriber:()=>IZ,isCustomApiKeyApproved:()=>UZ,isConsumerSubscriber:()=>fZ,isClaudeAISubscriber:()=>_,isAwsCredentialExportFromProjectSettings:()=>h2,isAwsAuthRefreshFromProjectSettings:()=>_2,isAnthropicAuthEnabled:()=>N0,is1PApiCustomer:()=>EZ,hasProfileScope:()=>q0,hasOpusAccess:()=>yZ,hasAnthropicApiKeyAuth:()=>XZ,handleOAuth401Error:()=>Q2,getSubscriptionType:()=>f,getSubscriptionName:()=>W7,getRateLimitTier:()=>V7,getOtelHeadersFromHelper:()=>MZ,getOauthAccountInfo:()=>b5,getConfiguredApiKeyHelper:()=>s,getClaudeAIOAuthTokensAsync:()=>p0,getClaudeAIOAuthTokens:()=>w,getAuthTokenSource:()=>O2,getApiKeyHelperElapsedMs:()=>VZ,getApiKeyFromConfigOrMacOSKeychain:()=>U5,getApiKeyFromApiKeyHelperCached:()=>b2,getApiKeyFromApiKeyHelper:()=>$7,getAnthropicApiKeyWithSource:()=>c0,getAnthropicApiKey:()=>I0,getAccountInformation:()=>AZ,clearOAuthTokenCache:()=>f2,clearGcpCredentialsCache:()=>DZ,clearAwsCredentialsCache:()=>RZ,clearApiKeyHelperCache:()=>jZ,checkGcpCredentialsValid:()=>Q7,checkAndRefreshOAuthTokenIfNeeded:()=>d0,calculateApiKeyHelperTTL:()=>Z7});import{exec as o4}from"child_process";import{mkdir as JZ,stat as QZ}from"fs/promises";import{join as YZ}from"path";function D5(){return K(process.env.CLAUDE_CODE_REMOTE)||process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"}function N0(){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(k0(J?.scopes)&&J?.accessToken)return{source:"claude.ai",hasToken:!0};return{source:"none",hasToken:!1}}function I0(){let{key:Z}=c0();return Z}function XZ(){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 _2(){let Z=E2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.awsAuthRefresh===Z||J?.awsAuthRefresh===Z}function y2(){return(N()||{}).awsCredentialExport}function h2(){let Z=y2();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 qZ}function VZ(){let Z=m?.startedAt;return Z?Date.now()-Z:0}async function $7(Z){if(!s())return null;let $=Z7();if(y){if(Date.now()-y.timestamp<$)return y.value;if(!m)m={promise:i4(Z,!1,b0),startedAt:null};return y.value}if(m)return m.promise;return m={promise:i4(Z,!0,b0),startedAt:Date.now()},m.promise}async function i4(Z,$,J){try{let Q=await WZ(Z);if(J!==b0)return Q;if(Q!==null)y={value:Q,timestamp:Date.now()};return Q}catch(Q){if(J!==b0)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"}),!$&&y&&y.value!==" ")return y={...y,timestamp:Date.now()},y.value;return y={value:" ",timestamp:Date.now()}," "}finally{if(J===b0)m=null}}async function WZ(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 y?.value??null}function jZ(){b0++,y=null,m=null}function zZ(Z){if(e4()&&!c())return;$7(Z)}async function BZ(){let Z=E2();if(!Z)return!1;if(_2()){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:GZ});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 HZ(){let Z=y2();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 RZ(){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(wZ).then(()=>{throw new x7("GCP credentials check timed out")});return await Promise.race([J,Q]),!0}catch{return!1}}async function KZ(){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:LZ});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 DZ(){M2.cache.clear()}function bZ(){if(!I2())return;if(T2()){if(!c()&&!C())return}M2()}function kZ(){let Z=E2(),$=y2();if(!Z&&!$)return;if(_2()||h2()){if(!c()&&!C())return}j0(),B()}function NZ(Z){return/^[a-zA-Z0-9-_]+$/.test(Z)}async function S2(Z){if(!NZ(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 UZ(Z){let $=D(),J=V5(Z);return $.customApiKeyResponses?.approved?.includes(J)??!1}async function vZ(){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(!k0(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?.(),D0()}async function PZ(){try{let{mtimeMs:Z}=await QZ(YZ(N2(),".credentials.json"));if(Z!==t4)t4=Z,f2()}catch{w.cache?.clear?.()}}function Q2(Z){let $=D2.get(Z);if($)return $;let J=OZ(Z).finally(()=>{D2.delete(Z)});return D2.set(Z,J),J}async function OZ(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 PZ();let Q=w();if(!$){if(!Q?.refreshToken||!g0(Q.expiresAt))return!1}if(!Q?.refreshToken)return!1;if(!k0(Q.scopes))return!1;w.cache?.clear?.(),D0();let Y=await p0();if(!Y?.refreshToken||!g0(Y.expiresAt))return!1;let q=N2();await JZ(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?.(),D0();let V=await p0();if(!V?.refreshToken||!g0(V.expiresAt))return x("",{}),!1;x("",{});let j=await a4(V.refreshToken,{scopes:k0(V.scopes)?void 0:V.scopes});return X7(j),w.cache?.clear?.(),D0(),!0}catch(V){k(V),w.cache?.clear?.(),D0();let j=await p0();if(j&&!g0(j.expiresAt))return x("",{}),!0;return!1}finally{x("",{}),await X(),x("",{})}}function _(){if(!N0())return!1;return k0(w()?.scopes)}function q0(){return w()?.scopes?.includes(l4)??!1}function EZ(){{let Z=L()?.transport;if(Z==="bedrock"||Z==="vertex"||Z==="foundry")return!1}if(_())return!1;return!0}function b5(){return N0()?D().oauthAccount:void 0}function _Z(){let $=b5()?.billingType;if(!_()||!$)return!1;if($!=="stripe_subscription"&&$!=="stripe_subscription_contracted"&&$!=="apple_subscription"&&$!=="google_play_subscription")return!1;return!0}function yZ(){let Z=f();return Z==="max"||Z==="enterprise"||Z==="team"||Z==="pro"||Z===null}function f(){if(Q1())return J1();if(!N0())return null;let Z=w();if(!Z)return null;return Z.subscriptionType??null}function H5(){return f()==="max"}function hZ(){return f()==="team"}function R5(){return f()==="team"&&V7()==="default_claude_max_5x"}function IZ(){return f()==="enterprise"}function G2(){return f()==="pro"}function V7(){if(!N0())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 MZ(){let Z=j7();if(!Z)return{};let $=parseInt(process.env.CLAUDE_CODE_OTEL_HEADERS_HELPER_DEBOUNCE_MS||TZ.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 SZ(Z){return Z==="max"||Z==="pro"}function fZ(){let Z=f();return _()&&Z!==null&&SZ(Z)}function AZ(){if(W()!=="firstParty")return;let{source:$}=O2(),J={};if($==="CLAUDE_CODE_OAUTH_TOKEN"||$==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR")J.tokenSource=$;else if(_())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 CZ(){if(process.env.ANTHROPIC_UNIX_SOCKET)return{valid:!0};if(!N0())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 qZ=300000,y=null,m=null,b0=0,xZ=3600000,GZ=180000,j0,wZ=5000,FZ=3600000,LZ=180000,M2,U5,w,t4=0,D2,u0=null,L5=null,n4=0,TZ=1740000,x7;var o=R(()=>{r8();H1();t0();h0();z5();Q5();i();Q0();J0();Y1();r4();t5();G1();w1();L1();b1();S4();$0();Z0();d();x1();o8();ZZ();n0();e8();$Z();g4();s5();x0();p4();a8();d4();j0=P2(async()=>{let Z=await BZ(),$=await HZ();if(Z||$)await K1();return $},xZ);M2=P2(async()=>{return await KZ()},FZ);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 k0(Z){return Boolean(Z?.includes(A2))}function gZ(Z){return Z?.split(" ").filter(Boolean)??[]}function HQ({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 RQ(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=gZ(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 pZ(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 wQ(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 FQ(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 pZ(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 KQ(){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 LQ(){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||!_()||!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();h0();o();$0();Z0();t5()});
|
|
16
|
-
export{D9 as B4,b9 as C4,g4 as D4,C2 as E4,u2 as F4,sZ as G4,aZ as H4,w7 as I4,L7 as J4,rZ as K4,c2 as L4,l0 as M4,U0 as N4,v0 as O4,u5 as P4,i5 as Q4,v7 as R4,E0 as S4,W as T4,W$ as U4,h7 as V4,j$ as W4,z$ as X4,x$ as Y4,i as Z4,B as _4,D$ as $4,Q5 as a5,k$ as b5,N$ as c5,Y1 as d5,y$ as e5,G0 as f5,t5 as g5,k0 as h5,gZ as i5,HQ as j5,RQ as k5,a4 as l5,wQ as m5,FQ as n5,g0 as o5,pZ as p5,KQ as q5,LQ as r5,B7 as s5,r4 as t5,C$ as u5,g7 as v5,q1 as w5,G1 as x5,V5 as y5,w1 as z5,d$ as A5,L1 as B5,M as C5,b1 as D5,T0 as E5,N1 as F5,U1 as G5,l$ as H5,s$ as I5,O1 as J5,a$ as K5,r$ as L5,E1 as M5,o$ as N5,e$ as O5,ZJ as P5,e5 as Q5,I as R5,f1 as S5,d7 as T5,FJ as U5,KJ as V5,LJ as W5,A1 as X5,DJ as Y5,bJ as Z5,i7 as _5,kJ as $5,NJ as a6,UJ as b6,vJ as c6,PJ as d6,l7 as e6,OJ as f6,EJ as g6,_J as h6,yJ as i6,p1 as j6,F0 as k6,r7 as l6,o7 as m6,e7 as n6,q2 as o6,X8 as p6,AJ as q6,V2 as r6,t1 as s6,V8 as t6,W2 as u6,s1 as v6,a1 as w6,W3 as x6,j3 as y6,B5 as z6,j2 as A6,z3 as B6,H8 as C6,X0 as D6,A0 as E6,Q4 as F6,x3 as G6,f0 as H6,Y4 as I6,F as J6,b as K6,R8 as L6,B3 as M6,G3 as N6,w8 as O6,J2 as P6,H3 as Q6,q4 as R6,X4 as S6,R3 as T6,T as U6,w3 as V6,L8 as W6,F3 as X6,K3 as Y6,L3 as Z6,D3 as _6,w0 as $6,k3 as a7,V4 as b7,U3 as c7,x4 as d7,F4 as e7,T8 as f7,L4 as g7,m3 as h7,c3 as i7,d3 as j7,V0 as k7,l as l7,i3 as m7,p8 as n7,t3 as o7,n3 as p7,B2 as q7,P4 as r7,O4 as s7,x9 as t7,t8 as u7,B9 as v7,G9 as w7,_4 as x7,H9 as y7,T4 as z7,n8 as A7,R9 as B7,M4 as C7,S4 as D7,L2 as E7,p4 as F7,U9 as G7,c4 as H7,d4 as I7,N0 as J7,O2 as K7,I0 as L7,XZ as M7,c0 as N7,s as O7,_2 as P7,h2 as Q7,Z7 as R7,VZ as S7,$7 as T7,b2 as U7,jZ as V7,zZ as W7,J7 as X7,j0 as Y7,RZ as Z7,T2 as _7,Q7 as $7,Y7 as a8,M2 as b8,DZ as c8,bZ as d8,kZ as e8,U5 as f8,S2 as g8,UZ as h8,vZ as i8,X7 as j8,w as k8,f2 as l8,Q2 as m8,p0 as n8,d0 as o8,_ as p8,q0 as q8,EZ as r8,b5 as s8,_Z as t8,yZ as u8,f as v8,H5 as w8,hZ as x8,R5 as y8,IZ as z8,G2 as A8,V7 as B8,W7 as C8,k5 as D8,z7 as E8,MZ as F8,fZ as G8,AZ as H8,CZ as I8,uZ as J8,o as K8};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bla as J,tla as z}from"./cli-1.1.16-b80x5mp6.mjs";import{Ssa as F}from"./cli-1.1.16-w5ns6t4b.mjs";function V(b){D=b}function W(){let b=D?.()??{};if(!z(process.env.CLAUDIN_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let q={...process.env,...b};for(let w of L)delete q[w],delete q[`INPUT_${w}`];return q}var L,D;var M=F(()=>{J();L=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
-
export{V as lV,W as mV,M as nV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ssa as B}from"./cli-1.1.16-w5ns6t4b.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
|
|
2
|
-
export{F as Fi,C as Gi};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{J8 as v,K8 as C}from"./cli-1.1.16-49bqpfq6.mjs";import{Efa as x,Ffa as Y,dea as Z,eea as V}from"./cli-1.1.16-jcye29qq.mjs";import{Jha as R,Nha as W,Vha as O}from"./cli-1.1.16-way1d0g7.mjs";import{Dja as Q,Eja as M}from"./cli-1.1.16-3wey4s8m.mjs";import{Ika as f,Lka as L,lka as P,qka as I}from"./cli-1.1.16-s404wy1x.mjs";import{gla as w,nla as H}from"./cli-1.1.16-njacmwr1.mjs";import{Dra as N,Era as F}from"./cli-1.1.16-vhwypfn6.mjs";import{_ra as X,qsa as U}from"./cli-1.1.16-4qysqchs.mjs";import{Psa as h,Ssa as B}from"./cli-1.1.16-w5ns6t4b.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
-
export{u as HW,n as IW,o as JW,t as KW,d as LW};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{cb as h}from"./cli-1.1.16-k7hg3739.mjs";import{af as KK,ff as cK}from"./cli-1.1.16-06f5zq2n.mjs";import{$m as rz,HM as zK,IB as sz,JM as dK,KB as tz,LB as SK,_K as Fz,bn as hK,cU as b,cp as R,dp as vK,eU as gK,fp as oz,gL as RK,jp as fK,mJ as mK,nJ as uK,oQ as bz,rM as ez,sM as pK,sv as Ez,xQ as MK,zv as TK}from"./cli-1.1.16-hwr77b8n.mjs";import{fZ as Kz,kZ as DK,lZ as Qz,mZ as AK}from"./cli-1.1.16-6ptafg83.mjs";import{$6 as F,A8 as G,D6 as Oz,H6 as Dz,I6 as iz,K8 as jz,P6 as Az,T4 as N,U6 as A,W6 as _z,Z4 as x,m7 as nz,q7 as bK,w8 as Tz,y8 as Mz,z6 as yz}from"./cli-1.1.16-49bqpfq6.mjs";import{e9 as D,f9 as _K}from"./cli-1.1.16-dtwt84pe.mjs";import{Bea as lz,D_ as w,Dga as V,F_ as CK,Fda as H,G$ as EK,Hda as $,Hea as q,Jda as gz,Kda as I,Kea as W,Lga as O,Nda as Jz,Qea as Wz,Raa as t,Rea as Bz,Sea as az,Tda as B,Waa as NK,a$ as $z,aba as e,c$ as wK,dfa as _,eba as yK,j$ as dz,lba as zz,oba as OK,v_ as Zz,w_ as GK,z$ as cz}from"./cli-1.1.16-jcye29qq.mjs";import{lha as E,pha as FK}from"./cli-1.1.16-r0tgqw2k.mjs";import{Ria as pz,Tia as PK}from"./cli-1.1.16-kz0jkcdc.mjs";import{Fja as Z,Ija as U}from"./cli-1.1.16-5a4a2nqs.mjs";import{oka as n,qka as BK,rka as r,uka as o,yka as LK}from"./cli-1.1.16-s404wy1x.mjs";import{Qka as s,Rka as UK}from"./cli-1.1.16-cmw3ar20.mjs";import{gla as k,ila as i,nla as WK}from"./cli-1.1.16-njacmwr1.mjs";import{Bla as kK,sla as C,tla as v,vla as uz}from"./cli-1.1.16-b80x5mp6.mjs";import{Gpa as a,Woa as Sz,Yma as M,ana as VK,era as j,gpa as mz,npa as l,soa as Gz,toa as vz,uoa as wz,woa as fz}from"./cli-1.1.16-eabt3s19.mjs";import{Psa as jK}from"./cli-1.1.16-w5ns6t4b.mjs";_K();DK();j();OK();WK();LK();NK();O();UK();yK();VK();BK();AK();import{readFileSync as IK}from"node:fs";var xK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function $Q(){let z=zz()?xK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function qQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function HQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(D.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),n(X,z,"utf8")}else{let{resolvedPath:Y}=r(o(),K);try{IK(Y,"utf8")}catch(J){if(i(J))process.stderr.write(D.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw J}X=Y}l(X),M()}catch(z){if(z instanceof Error)V(z);process.stderr.write(D.red(`Error processing settings: ${k(z)}
|
|
4
|
-
`)),process.exit(1)}}function Yz(K){try{let z=e(K);a(z),M()}catch(z){if(z instanceof Error)V(z);process.stderr.write(D.red(`Error processing --setting-sources: ${k(z)}
|
|
5
|
-
`)),process.exit(1)}}async function JQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
-
`)}return K}FK();gK();U();hK();_();bK();CK();kK();EK();GK();wK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}O();F();pK();fK();dK();U();_();O();B();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=H("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("",{has_error:!0})}}U();_();O();B();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("",{}),q((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}U();_();O();B();function Lz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=H("localSettings")||{},J={},L=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,L.push("enableAllProjectMcpServers");else if(z)L.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let y=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...y,...K.enabledMcpjsonServers])],L.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let y=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...y,...K.disabledMcpjsonServers])],L.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)$("localSettings",J);if(L.includes("enableAllProjectMcpServers")||L.includes("enabledMcpjsonServers")||L.includes("disabledMcpjsonServers"))Bz((y)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:S,disabledMcpjsonServers:m,...T}=y;return T});Z("",{migratedCount:L.length})}catch(Y){V(Y),Z("",{})}}B();function Uz(){let z=H("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}U();_();F();x();B();function Nz(){if(N()!=="firstParty")return;if(!_z())return;let K=H("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("",{from_model:K})}U();F();B();function Iz(){if(!Az())return;if(H("userSettings")?.model!=="opus")return;if(yz(Oz()))return;let z="opus[1m]",Q=A(z)===A(Dz())?void 0:z;$("userSettings",{model:Q}),Z("",{})}_();function xz(){q((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}j();_();x();B();function Rz(){if(N()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Gz()==="sonnet[1m]")wz("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}U();jz();_();x();B();function kz(){if(N()!=="firstParty")return;if(!G()&&!Tz()&&!Mz())return;let K=H("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("",{from_model:K,has_1m:z})}U();_();O();RK();B();function Pz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(Fz()!=="enabled")return;try{let z=H("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}U();jz();_();x();B();function Cz(){if(W().opusProMigrationComplete)return;if(N()!=="firstParty"||!G()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!0});return}if(I()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!1,had_custom_model:!0})}cK();vK();j();PK();B();MK();U();TK();async function hz(K,z){let Q=await bz(K),X=Ez(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}SK();function sX(){try{let K=H("policySettings");if(K){let z=gz(K);Z("",{keyCount:z.length,keys:z.join(",")})}}catch{}}function tX(){let K=A(vz()??iz());hz(pz(),nz(K,fz())),zK().then(({enabled:z,errors:Q})=>{let X=ez();sz(z,X,oz()),tz(Q,X)}).catch((z)=>V(z))}function lK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDIN_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function eX(){if(rz())return;let[K,z,Q]=await Promise.all([dz(),cz(),qz()]);Z("",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:R.isSandboxingEnabled(),are_unsandboxed_commands_allowed:R.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:R.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:I().prefersReducedMotion??!1,...lK()})}var P=12;function zY(){if(W().migrationVersion!==P)Hz(),Vz(),Lz(),Cz(),Rz(),Nz(),kz(),Uz(),Iz(),xz(),Pz(),q((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});KK().catch(()=>{})}function KY(){if(Sz()){w("info","prefetch_system_context_non_interactive"),b();return}if(lz())w("info","prefetch_system_context_has_trust"),b();else w("info","prefetch_system_context_skipped_no_trust")}function QY(){E("eagerLoadSettings_start");let K=h("--settings");if(K)Xz(K);let z=h("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function XY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function YY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:L,inputFormat:y,numAllowedTools:f,numDisallowedTools:S,mcpClientCount:m,worktreeEnabled:T,skipWebFetchPreflight:QK,githubActionInputs:u,dangerouslySkipPermissionsPassed:XK,permissionMode:YK,modeIsBypass:ZK,allowDangerouslySkipPermissionsPassed:$K,systemPromptFlag:p,appendSystemPromptFlag:d,thinkingConfig:qK,assistantActivationPath:c,isCoordinator:HK}){try{Z("",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:L,inputFormat:y,numAllowedTools:f,numDisallowedTools:S,mcpClientCount:m,worktree:T,skipWebFetchPreflight:QK,...u&&{githubActionInputs:u},dangerouslySkipPermissionsPassed:XK,permissionMode:YK,modeIsBypass:ZK,allowDangerouslySkipPermissionsPassed:$K,thinkingType:qK.type,...p&&{systemPromptFlag:p},...d&&{appendSystemPromptFlag:d},is_simple:uz()||void 0,is_coordinator:HK||void 0,...c&&{assistantActivationPath:c},autoUpdatesChannel:I().autoUpdatesChannel??"latest"})}catch(JK){V(JK)}}function ZY(K){}function $Y(K){return}
|
|
8
|
-
export{$Q as J,qQ as K,HQ as L,JQ as M,sX as N,tX as O,eX as P,zY as Q,KY as R,QY as S,XY as T,YY as U,ZY as V,$Y as W};
|