@claudiolabs/claudin 1.1.1 → 1.1.2
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.2-6zb8pht6.mjs +1 -0
- package/dist/chunks/App-1.1.2-8j8hmwy9.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.2-ejb1881w.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.2-y7hdgasp.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.2-b2ckdy5h.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.2-nk59yp5m.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.2-t6wsf59z.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.2-ehy8cjkp.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.2-2834m4pm.mjs +7 -0
- package/dist/chunks/Doctor-1.1.2-rrjcjsbd.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.2-a4eqp58y.mjs +6 -0
- package/dist/chunks/Grove-1.1.2-e07ta9pa.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.2-mdqpkv6t.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.2-fwghx005.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.2-47vmakv0.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.2-tphw5gq9.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.2-a645a6a2.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.2-48xvht72.mjs +1 -0
- package/dist/chunks/REPL-1.1.2-a2z2r0kz.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.2-avb3zbsn.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.2-r8c624d9.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.2-1mmfypbv.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.2-ky4az8t9.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.2-w72b36j1.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.2-ejx4rvac.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.2-5m2ekdy4.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.2-b7q0fb2j.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.2-j0pztex4.mjs +1 -0
- package/dist/chunks/add-dir-1.1.2-fzpmgh1h.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.2-vr9770fz.mjs +1 -0
- package/dist/chunks/agents-1.1.2-n6dejn00.mjs +3 -0
- package/dist/chunks/agents-1.1.2-rxkey856.mjs +110 -0
- package/dist/chunks/api-1.1.2-fpd74byc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.2-0nvcvhqa.mjs +1 -0
- package/dist/chunks/assistant-1.1.2-ywzgwzmt.mjs +1 -0
- package/dist/chunks/auth-1.1.2-cg0svgv7.mjs +1 -0
- package/dist/chunks/auth-1.1.2-s45hhsck.mjs +1 -0
- package/dist/chunks/autoMode-1.1.2-6q0pp71h.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.2-bnwzvzbf.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.2-meh5zm3k.mjs +1 -0
- package/dist/chunks/branch-1.1.2-exyc66rb.mjs +4 -0
- package/dist/chunks/bridge-1.1.2-zvk3eymq.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.2-mr20ypjr.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.2-s41251vp.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.2-tse9m0x8.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.2-grjrm008.mjs +1 -0
- package/dist/chunks/btw-1.1.2-6xz6s5f3.mjs +1 -0
- package/dist/chunks/buddy-1.1.2-zsy6mntg.mjs +3 -0
- package/dist/chunks/cacache-1.1.2-pr00fyac.mjs +1 -0
- package/dist/chunks/cache-probe-1.1.2-dd1ch184.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.2-xnm7ts60.mjs +4 -0
- package/dist/chunks/caches-1.1.2-s4tektt8.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.2-krejmvza.mjs +1 -0
- package/dist/chunks/claudemd-1.1.2-g1dwsxtx.mjs +1 -0
- package/dist/chunks/clear-1.1.2-5fz98qqy.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.2-heqmh2ay.mjs +1 -0
- package/dist/chunks/cli-1.1.2-00hggnnf.mjs +9 -0
- package/dist/chunks/cli-1.1.2-06gbqkw3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-06wg9ep0.mjs +2 -0
- package/dist/chunks/cli-1.1.2-0q8k3447.mjs +2 -0
- package/dist/chunks/cli-1.1.2-10g0wy7w.mjs +2 -0
- package/dist/chunks/cli-1.1.2-12xajsdg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1a35rnqk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1kqxt2v2.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1rh7zj2h.mjs +133 -0
- package/dist/chunks/cli-1.1.2-1v80dsr5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-1z8yre0p.mjs +2 -0
- package/dist/chunks/cli-1.1.2-22w1aakd.mjs +17 -0
- package/dist/chunks/cli-1.1.2-26xrf159.mjs +2 -0
- package/dist/chunks/cli-1.1.2-2d3dw4nn.mjs +25 -0
- package/dist/chunks/cli-1.1.2-2rf4g79b.mjs +3 -0
- package/dist/chunks/cli-1.1.2-2vzy6fgr.mjs +4 -0
- package/dist/chunks/cli-1.1.2-2x9dcdpq.mjs +2 -0
- package/dist/chunks/cli-1.1.2-2ya2s94w.mjs +15 -0
- package/dist/chunks/cli-1.1.2-2ygaa01s.mjs +3 -0
- package/dist/chunks/cli-1.1.2-312r29db.mjs +2 -0
- package/dist/chunks/cli-1.1.2-38rgkyw3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-39xjjhsf.mjs +24 -0
- package/dist/chunks/cli-1.1.2-3mhsnff4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3mpy81rn.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3v91jtm9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3vhc8676.mjs +2 -0
- package/dist/chunks/cli-1.1.2-3w0nbdtc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-45nwkmpy.mjs +2 -0
- package/dist/chunks/cli-1.1.2-4d1hhyqs.mjs +2 -0
- package/dist/chunks/cli-1.1.2-4e3xrjth.mjs +2 -0
- package/dist/chunks/cli-1.1.2-4skhxaf4.mjs +6 -0
- package/dist/chunks/cli-1.1.2-4x5wz1xq.mjs +67 -0
- package/dist/chunks/cli-1.1.2-51pdt76x.mjs +2 -0
- package/dist/chunks/cli-1.1.2-526csky8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-5dbzz1pp.mjs +12 -0
- package/dist/chunks/cli-1.1.2-5pe3b93k.mjs +25 -0
- package/dist/chunks/cli-1.1.2-5w2m33hk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-5wfgzqgc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-61nmeckv.mjs +4 -0
- package/dist/chunks/cli-1.1.2-63p3yvzk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-64bjkwj9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-6cj9ggma.mjs +5638 -0
- package/dist/chunks/cli-1.1.2-6kq0hmvj.mjs +2 -0
- package/dist/chunks/cli-1.1.2-6r2ybktd.mjs +18 -0
- package/dist/chunks/cli-1.1.2-79hm6s3a.mjs +7 -0
- package/dist/chunks/cli-1.1.2-7fe75jd9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7fjx7f8d.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7jcscwh5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7m5zhsrs.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7q8cqbtc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-7swa79jc.mjs +24 -0
- package/dist/chunks/cli-1.1.2-7xwayv2p.mjs +20 -0
- package/dist/chunks/cli-1.1.2-8d3m4zhf.mjs +2 -0
- package/dist/chunks/cli-1.1.2-8fsex5c8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-8trsbckp.mjs +2 -0
- package/dist/chunks/cli-1.1.2-8wc2wcne.mjs +3 -0
- package/dist/chunks/cli-1.1.2-94nsdbgk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-96wg2gfk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-99rcxvch.mjs +2 -0
- package/dist/chunks/cli-1.1.2-9ash84j3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-9ke8m3ex.mjs +2 -0
- package/dist/chunks/cli-1.1.2-9rh5p8p5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-a69xymn7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-a9n9p929.mjs +2 -0
- package/dist/chunks/cli-1.1.2-aav0ncfm.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ad1q4yds.mjs +4 -0
- package/dist/chunks/cli-1.1.2-aq3e6kg7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ax711ayq.mjs +2 -0
- package/dist/chunks/cli-1.1.2-b850wzhk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-b9tdyfz3.mjs +21 -0
- package/dist/chunks/cli-1.1.2-bhjzjkag.mjs +4 -0
- package/dist/chunks/cli-1.1.2-bvvn3mfz.mjs +2 -0
- package/dist/chunks/cli-1.1.2-cs3wpy5m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-d0dmaqaz.mjs +2 -0
- package/dist/chunks/cli-1.1.2-d3vc56eg.mjs +4 -0
- package/dist/chunks/cli-1.1.2-d9r7gv39.mjs +2 -0
- package/dist/chunks/cli-1.1.2-dg1134n2.mjs +2 -0
- package/dist/chunks/cli-1.1.2-dgw89jzs.mjs +4 -0
- package/dist/chunks/cli-1.1.2-e9bnprf3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-efe0402v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-em7hye78.mjs +4 -0
- package/dist/chunks/cli-1.1.2-eqyyfzzp.mjs +2 -0
- package/dist/chunks/cli-1.1.2-evsw8rmv.mjs +2 -0
- package/dist/chunks/cli-1.1.2-f5bj8nyg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-f8pc3h46.mjs +16 -0
- package/dist/chunks/cli-1.1.2-fcjvcn8t.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fmrgtbj6.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fnfay3zd.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fnp913tz.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fq7w78vq.mjs +2 -0
- package/dist/chunks/cli-1.1.2-fs1t9yw3.mjs +15 -0
- package/dist/chunks/cli-1.1.2-fwcddg2k.mjs +3 -0
- package/dist/chunks/cli-1.1.2-g3dcz46h.mjs +2 -0
- package/dist/chunks/cli-1.1.2-g3ms995y.mjs +2 -0
- package/dist/chunks/cli-1.1.2-g9cs3fkf.mjs +24 -0
- package/dist/chunks/cli-1.1.2-gb52rdfa.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gb58q1j1.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gdcv810d.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gqdaxfvm.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gtjv8yhc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gvwc8kmd.mjs +6 -0
- package/dist/chunks/cli-1.1.2-gws9nr18.mjs +9 -0
- package/dist/chunks/cli-1.1.2-gxzwceae.mjs +2 -0
- package/dist/chunks/cli-1.1.2-gy0p2qqf.mjs +4 -0
- package/dist/chunks/cli-1.1.2-h2avr3ya.mjs +2 -0
- package/dist/chunks/cli-1.1.2-h9csstnw.mjs +2 -0
- package/dist/chunks/cli-1.1.2-hpx774ph.mjs +3 -0
- package/dist/chunks/cli-1.1.2-hzaqg545.mjs +17 -0
- package/dist/chunks/cli-1.1.2-j9n5qd1w.mjs +2 -0
- package/dist/chunks/cli-1.1.2-jpgqkhxd.mjs +59 -0
- package/dist/chunks/cli-1.1.2-js4s7tq5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-jv9f8r52.mjs +3 -0
- package/dist/chunks/cli-1.1.2-jxkffay4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k077a0s0.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k3tsqm2p.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k4bpvm06.mjs +2 -0
- package/dist/chunks/cli-1.1.2-k61a86d8.mjs +3 -0
- package/dist/chunks/cli-1.1.2-kahqzzrg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-kav702qr.mjs +2 -0
- package/dist/chunks/cli-1.1.2-kcfzd7n8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-kkgf4hyc.mjs +3 -0
- package/dist/chunks/cli-1.1.2-kq402xqd.mjs +2 -0
- package/dist/chunks/cli-1.1.2-m0529q09.mjs +45 -0
- package/dist/chunks/cli-1.1.2-m2ar3b2y.mjs +18 -0
- package/dist/chunks/cli-1.1.2-m4ksha3b.mjs +2 -0
- package/dist/chunks/cli-1.1.2-m7d5acdw.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ma8mh6tb.mjs +2 -0
- package/dist/chunks/cli-1.1.2-mnp59g5q.mjs +12 -0
- package/dist/chunks/cli-1.1.2-mr55880g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-mtztdv5m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-n2f8jkwd.mjs +2 -0
- package/dist/chunks/cli-1.1.2-n2k1y1rv.mjs +2 -0
- package/dist/chunks/cli-1.1.2-nd5g2z1v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-nskkg1h5.mjs +5 -0
- package/dist/chunks/cli-1.1.2-p8amxd73.mjs +4 -0
- package/dist/chunks/cli-1.1.2-pbtymf0g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-pgt1vydc.mjs +2 -0
- package/dist/chunks/cli-1.1.2-qg5xbb38.mjs +2 -0
- package/dist/chunks/cli-1.1.2-qge4zbeg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-qm56km1n.mjs +4 -0
- package/dist/chunks/cli-1.1.2-qxjs641v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-r32per66.mjs +2 -0
- package/dist/chunks/cli-1.1.2-r39g5zy8.mjs +2 -0
- package/dist/chunks/cli-1.1.2-re4qc97z.mjs +6 -0
- package/dist/chunks/cli-1.1.2-rm27fqp7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-rp3kb2k1.mjs +2 -0
- package/dist/chunks/cli-1.1.2-rwfksv3e.mjs +8 -0
- package/dist/chunks/cli-1.1.2-rx0kctyq.mjs +15 -0
- package/dist/chunks/cli-1.1.2-ryw7gagg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-s2xde2xb.mjs +2 -0
- package/dist/chunks/cli-1.1.2-s6et33a5.mjs +2 -0
- package/dist/chunks/cli-1.1.2-s76jqr70.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sd7xc4s3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sdra9y0x.mjs +34 -0
- package/dist/chunks/cli-1.1.2-se3yz188.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sk8gpfnw.mjs +2 -0
- package/dist/chunks/cli-1.1.2-sxp48xhs.mjs +133 -0
- package/dist/chunks/cli-1.1.2-t4aw8heb.mjs +2 -0
- package/dist/chunks/cli-1.1.2-t9knn0qp.mjs +2 -0
- package/dist/chunks/cli-1.1.2-tepjwp3h.mjs +2 -0
- package/dist/chunks/cli-1.1.2-thb8wh7v.mjs +2 -0
- package/dist/chunks/cli-1.1.2-tk5pscqh.mjs +12 -0
- package/dist/chunks/cli-1.1.2-tkr9thek.mjs +6 -0
- package/dist/chunks/cli-1.1.2-tn2dw7tr.mjs +2 -0
- package/dist/chunks/cli-1.1.2-tyx76ya3.mjs +2 -0
- package/dist/chunks/cli-1.1.2-v4dexj9m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-v5aq687d.mjs +4 -0
- package/dist/chunks/cli-1.1.2-vdnvxk7d.mjs +2 -0
- package/dist/chunks/cli-1.1.2-vdtd8tyw.mjs +3 -0
- package/dist/chunks/cli-1.1.2-vedfryrw.mjs +39 -0
- package/dist/chunks/cli-1.1.2-vkw3t6e1.mjs +2 -0
- package/dist/chunks/cli-1.1.2-vn5a5kng.mjs +2 -0
- package/dist/chunks/cli-1.1.2-vqhs2nfg.mjs +2 -0
- package/dist/chunks/cli-1.1.2-w39dxwaq.mjs +5 -0
- package/dist/chunks/cli-1.1.2-w6e54y3j.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wd7anmzt.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wfh9694n.mjs +42 -0
- package/dist/chunks/cli-1.1.2-whyrn26g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wtjpdxah.mjs +2 -0
- package/dist/chunks/cli-1.1.2-wz2q0wq7.mjs +2 -0
- package/dist/chunks/cli-1.1.2-x6tg8d4f.mjs +58 -0
- package/dist/chunks/cli-1.1.2-x7pdyv4r.mjs +3 -0
- package/dist/chunks/cli-1.1.2-x7qa1qq3.mjs +50 -0
- package/dist/chunks/cli-1.1.2-xbpjh8ph.mjs +2 -0
- package/dist/chunks/cli-1.1.2-xpf1bbmk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-xrfe457w.mjs +2 -0
- package/dist/chunks/cli-1.1.2-y2eet2t4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-y8dhsas4.mjs +12 -0
- package/dist/chunks/cli-1.1.2-yajs5n37.mjs +18 -0
- package/dist/chunks/cli-1.1.2-yh44qbw4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-yj8m159m.mjs +2 -0
- package/dist/chunks/cli-1.1.2-z2m1x4a9.mjs +2 -0
- package/dist/chunks/cli-1.1.2-z31tqg0s.mjs +202 -0
- package/dist/chunks/cli-1.1.2-z56w3mhn.mjs +3 -0
- package/dist/chunks/cli-1.1.2-z7ha6v3f.mjs +2 -0
- package/dist/chunks/cli-1.1.2-ze70ftw0.mjs +1 -0
- package/dist/chunks/cli-1.1.2-zm6bk4ph.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zn8nzq9g.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zv4bhn4s.mjs +6 -0
- package/dist/chunks/cli-1.1.2-zy0pbg7t.mjs +3 -0
- package/dist/chunks/cli-1.1.2-zy7bxchk.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zy8c0mk4.mjs +2 -0
- package/dist/chunks/cli-1.1.2-zzd75gm6.mjs +2 -0
- package/dist/chunks/client-1.1.2-cfb4as3w.mjs +1 -0
- package/dist/chunks/color-1.1.2-1sf55h7k.mjs +1 -0
- package/dist/chunks/compact-1.1.2-dd3f57yj.mjs +3 -0
- package/dist/chunks/config-1.1.2-6bc1gc6c.mjs +1 -0
- package/dist/chunks/config-1.1.2-p9t1wpdw.mjs +1 -0
- package/dist/chunks/constants-1.1.2-tkm4c60r.mjs +1 -0
- package/dist/chunks/context-1.1.2-rw4msk80.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.2-c5hbr649.mjs +1 -0
- package/dist/chunks/conversation-1.1.2-h9dvper4.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.2-nv81crna.mjs +1 -0
- package/dist/chunks/copy-1.1.2-hr7v2mx9.mjs +9 -0
- package/dist/chunks/cost-1.1.2-hdy89g4q.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.2-6v2x5eg0.mjs +1 -0
- package/dist/chunks/createSession-1.1.2-ygyb7e8j.mjs +1 -0
- package/dist/chunks/debug-1.1.2-wk2d9rj6.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.2-gjp00h29.mjs +1446 -0
- package/dist/chunks/desktop-1.1.2-egp65wej.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.2-qh9nf9kg.mjs +1 -0
- package/dist/chunks/detection-1.1.2-02zpqkt2.mjs +1 -0
- package/dist/chunks/diff-1.1.2-29snp7ez.mjs +1 -0
- package/dist/chunks/doctor-1.1.2-b321t9z0.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.2-214xq5kx.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.2-n8b9n8hj.mjs +1 -0
- package/dist/chunks/effort-1.1.2-42pxj2ke.mjs +13 -0
- package/dist/chunks/engine-1.1.2-071c5ycx.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.2-90nzxgap.mjs +1 -0
- package/dist/chunks/envUtils-1.1.2-rdsjbb4f.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.2-eeacbnpj.mjs +1 -0
- package/dist/chunks/environments-1.1.2-e0a09brc.mjs +1 -0
- package/dist/chunks/errors-1.1.2-1fp0w76h.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.2-prrwcbkh.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.2-61na3ack.mjs +1 -0
- package/dist/chunks/exit-1.1.2-eh7t4pcy.mjs +1 -0
- package/dist/chunks/explorer-1.1.2-7brsg8bj.mjs +1 -0
- package/dist/chunks/export-1.1.2-2m0sfme0.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.2-akf4qvp0.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.2-ysbmggsv.mjs +1 -0
- package/dist/chunks/fast-1.1.2-43wzezv3.mjs +1 -0
- package/dist/chunks/feedback-1.1.2-92k099e0.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.2-ksq42qwt.mjs +1 -0
- package/dist/chunks/git-1.1.2-fgm2kpjd.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.2-vj6dwy2c.mjs +1 -0
- package/dist/chunks/goal-1.1.2-hnd6dfnz.mjs +4 -0
- package/dist/chunks/grove-1.1.2-74zq9th4.mjs +1 -0
- package/dist/chunks/growthbook-1.1.2-x4pfbgm2.mjs +1 -0
- package/dist/chunks/headless-1.1.2-rhab73x2.mjs +2 -0
- package/dist/chunks/heapdump-1.1.2-a698r5c6.mjs +6 -0
- package/dist/chunks/help-1.1.2-er6xvvy0.mjs +1 -0
- package/dist/chunks/hookChains-1.1.2-yh3dmw0j.mjs +3 -0
- package/dist/chunks/hooks-1.1.2-63zxxjj9.mjs +79 -0
- package/dist/chunks/hooks-1.1.2-ez3kc0p2.mjs +1 -0
- package/dist/chunks/ide-1.1.2-je812srr.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.2-xe8n5srr.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.2-qywwkc7m.mjs +1 -0
- package/dist/chunks/index-1.1.2-3evh58r7.mjs +1 -0
- package/dist/chunks/index-1.1.2-69bhefzj.mjs +1 -0
- package/dist/chunks/index-1.1.2-7kya3jrk.mjs +1 -0
- package/dist/chunks/index-1.1.2-7sphewt0.mjs +5 -0
- package/dist/chunks/index-1.1.2-947wna4y.mjs +1 -0
- package/dist/chunks/index-1.1.2-95c20hmc.mjs +1 -0
- package/dist/chunks/index-1.1.2-9xdx0kw2.mjs +1 -0
- package/dist/chunks/index-1.1.2-bvpaf73z.mjs +2 -0
- package/dist/chunks/index-1.1.2-dkvq5y5c.mjs +1 -0
- package/dist/chunks/index-1.1.2-ebc3q9cn.mjs +9 -0
- package/dist/chunks/index-1.1.2-htmnqkfh.mjs +1 -0
- package/dist/chunks/index-1.1.2-kdaazhrb.mjs +1 -0
- package/dist/chunks/index-1.1.2-kzzb5289.mjs +1 -0
- package/dist/chunks/index-1.1.2-madt9yt1.mjs +1 -0
- package/dist/chunks/index-1.1.2-mvhaw48f.mjs +2 -0
- package/dist/chunks/index-1.1.2-pzx0977r.mjs +1 -0
- package/dist/chunks/index-1.1.2-r1zg7fm1.mjs +1 -0
- package/dist/chunks/index-1.1.2-s1rqf88d.mjs +1 -0
- package/dist/chunks/index-1.1.2-t2gvqgcr.mjs +1 -0
- package/dist/chunks/index-1.1.2-thaazk19.mjs +17 -0
- package/dist/chunks/index-1.1.2-wey7e6ag.mjs +30 -0
- package/dist/chunks/index-1.1.2-y8ab1zbc.mjs +1 -0
- package/dist/chunks/index-1.1.2-zzrwyq5p.mjs +9 -0
- package/dist/chunks/init-1.1.2-85zbvgkj.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.2-de5jg8xg.mjs +1 -0
- package/dist/chunks/ink-1.1.2-dqpj9964.mjs +1 -0
- package/dist/chunks/insights-1.1.2-y73zf53m.mjs +870 -0
- package/dist/chunks/install-1.1.2-89hhj53e.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.2-qvppzny7.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.2-3h092m6m.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.2-knbaf11q.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.2-1ef73k1d.mjs +1 -0
- package/dist/chunks/keybindings-1.1.2-k2t8cv4v.mjs +2 -0
- package/dist/chunks/knowledge-1.1.2-ssv0qdb3.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.2-hjg7gvvk.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.2-s1ff144v.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.2-byf6cjm1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.2-yvdv9pjd.mjs +1 -0
- package/dist/chunks/log-1.1.2-8cc3djq5.mjs +1 -0
- package/dist/chunks/main-1.1.2-th8b6kt4.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.2-z470j86z.mjs +1 -0
- package/dist/chunks/mcp-1.1.2-86tk8ay8.mjs +1 -0
- package/dist/chunks/mcp-1.1.2-g64z89y6.mjs +17 -0
- package/dist/chunks/mcp-1.1.2-snaa1cjv.mjs +4 -0
- package/dist/chunks/mcpb-1.1.2-4mdrmbnx.mjs +1 -0
- package/dist/chunks/memory-1.1.2-habj4cwz.mjs +72 -0
- package/dist/chunks/model-1.1.2-vdjmatpe.mjs +1 -0
- package/dist/chunks/model-1.1.2-y4qnzr5d.mjs +2 -0
- package/dist/chunks/node-1.1.2-msn09mvf.mjs +12 -0
- package/dist/chunks/oauth-1.1.2-95md8es8.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.2-swxk5w2d.mjs +14 -0
- package/dist/chunks/output-style-1.1.2-gk5rwyf3.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.1.2-t2qeqjq8.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.2-kh0kdj72.mjs +1 -0
- package/dist/chunks/parser-1.1.2-bq2yyqcn.mjs +1 -0
- package/dist/chunks/passes-1.1.2-z98me43k.mjs +1 -0
- package/dist/chunks/permissions-1.1.2-4q31d83k.mjs +3 -0
- package/dist/chunks/permissions-1.1.2-yj6ep04t.mjs +1 -0
- package/dist/chunks/plan-1.1.2-aq6tkcvx.mjs +1 -0
- package/dist/chunks/plist-1.1.2-wtdpfgrq.mjs +1 -0
- package/dist/chunks/plugin-1.1.2-9h7564kc.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.2-xs7cvmve.mjs +1 -0
- package/dist/chunks/plugins-1.1.2-gktqysmr.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.2-zbm0ahc2.mjs +2 -0
- package/dist/chunks/print-1.1.2-9xz8kk84.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.2-9w8bvgmp.mjs +1 -0
- package/dist/chunks/process-1.1.2-4ha9kngp.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.2-t1abzpg8.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.2-krgryjdy.mjs +9 -0
- package/dist/chunks/prompt-1.1.2-exabd70s.mjs +1 -0
- package/dist/chunks/prompt-1.1.2-qbhgy60q.mjs +1 -0
- package/dist/chunks/prompts-1.1.2-z5xqs93q.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.2-jzdef7t2.mjs +13 -0
- package/dist/chunks/provider-1.1.2-q784s7t1.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.2-hgq6ezmt.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.2-6svgbwp4.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.2-pdk8r710.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.2-ja3famgz.mjs +34 -0
- package/dist/chunks/registry-1.1.2-bteqae43.mjs +1 -0
- package/dist/chunks/release-notes-1.1.2-m864etmn.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.2-xgc8eghm.mjs +2 -0
- package/dist/chunks/remote-env-1.1.2-jy20nnyn.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.2-wrzz2zme.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.2-2ms5x1xn.mjs +1 -0
- package/dist/chunks/rename-1.1.2-99a39m1m.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.2-6qx7my8a.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.2-8aq6b75y.mjs +1 -0
- package/dist/chunks/resume-1.1.2-n0d6rgp7.mjs +2 -0
- package/dist/chunks/rewind-1.1.2-4mrqvf42.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.2-3vma1kzy.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.2-qpb0brgp.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.2-985g3rtd.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.2-h5bx372x.mjs +1 -0
- package/dist/chunks/session-1.1.2-q3ahqvyx.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.2-qcyr8b8w.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.2-2y6b014f.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.2-6vk4ryr3.mjs +1 -0
- package/dist/chunks/settings-1.1.2-nf07eg97.mjs +1 -0
- package/dist/chunks/setup-1.1.2-5f344krn.mjs +5 -0
- package/dist/chunks/sinks-1.1.2-xq2d5k0p.mjs +1 -0
- package/dist/chunks/skills-1.1.2-2e8x03xz.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.2-vbw0t7zn.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.2-7xtv2jhz.mjs +1 -0
- package/dist/chunks/state-1.1.2-4stfxgxw.mjs +1 -0
- package/dist/chunks/stats-1.1.2-x2men93c.mjs +6 -0
- package/dist/chunks/status-1.1.2-k6342tq7.mjs +1 -0
- package/dist/chunks/stickers-1.1.2-m2ee29wd.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.2-gfsm4m3z.mjs +1 -0
- package/dist/chunks/tasks-1.1.2-52bgwvvk.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.2-fcfqve0r.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.2-s2qw8rtp.mjs +1 -0
- package/dist/chunks/teleport-1.1.2-mxjmy1bj.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.2-376p31n2.mjs +1 -0
- package/dist/chunks/theme-1.1.2-vhrm8pkz.mjs +1 -0
- package/dist/chunks/thinkback-1.1.2-2k5azpda.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.2-w3xe66qy.mjs +1 -0
- package/dist/chunks/toolPool-1.1.2-th0e7c3p.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.2-5vbh7tfs.mjs +1 -0
- package/dist/chunks/tools-1.1.2-0tdzn87s.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.2-s31a3mdh.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.2-aj5hafxn.mjs +69 -0
- package/dist/chunks/types-1.1.2-vst16v9y.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.2-3tcemmrp.mjs +4 -0
- package/dist/chunks/update-1.1.2-7daxbkja.mjs +72 -0
- package/dist/chunks/upgrade-1.1.2-paz816ha.mjs +1 -0
- package/dist/chunks/upload-1.1.2-tb2wafs2.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.2-k3w1snzk.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.2-2w62pdbp.mjs +1 -0
- package/dist/chunks/usage-1.1.2-xa0p51ga.mjs +1 -0
- package/dist/chunks/util-1.1.2-790z163z.mjs +1 -0
- package/dist/chunks/utils-1.1.2-vs0h9jny.mjs +1 -0
- package/dist/chunks/vim-1.1.2-c8e520z8.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.2-e4ehn07s.mjs +13 -0
- package/dist/chunks/watcher-1.1.2-731rkpjz.mjs +1 -0
- package/dist/chunks/wiki-1.1.2-zbc6h2h9.mjs +132 -0
- package/dist/chunks/workflows-1.1.2-g3w76nrf.mjs +1 -0
- package/dist/chunks/worktree-1.1.2-7nptnzv3.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.2-kgnb2ck1.mjs +1 -0
- package/dist/chunks/wrapper-1.1.2-3pstqzgw.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.1-s78q59z8.mjs +0 -1
- package/dist/chunks/App-1.1.1-efs19kgh.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.1-batyxczq.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.1-gxh3rb0c.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.1-xn0ghhf8.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.1-myj4gs4r.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.1-1f2wwv81.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.1-915bc3fz.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.1-zvp5dxyf.mjs +0 -7
- package/dist/chunks/Doctor-1.1.1-j54rpjza.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.1-my62gkan.mjs +0 -6
- package/dist/chunks/Grove-1.1.1-shq78y5c.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.1-f7y0hygx.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.1-875g6ewa.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.1-1e52f3nk.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.1-f7qyyszc.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.1-ns4dbmkj.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.1-491ha27w.mjs +0 -1
- package/dist/chunks/REPL-1.1.1-kkw6hq2j.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.1-whkx0y5w.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.1-j6jzkdg3.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.1-b37cg7xp.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.1-52gwqn04.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.1-83ejnp5w.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.1-4hre6f8b.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.1-7tb8517v.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.1-z9y2cj95.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.1-3c8p876v.mjs +0 -1
- package/dist/chunks/add-dir-1.1.1-z9eg0949.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.1-hnfrh305.mjs +0 -1
- package/dist/chunks/agents-1.1.1-hf8w814g.mjs +0 -3
- package/dist/chunks/agents-1.1.1-xqrqkwb5.mjs +0 -110
- package/dist/chunks/api-1.1.1-934f8zxk.mjs +0 -1
- package/dist/chunks/asciicast-1.1.1-e8353bvt.mjs +0 -1
- package/dist/chunks/assistant-1.1.1-mzpss3sh.mjs +0 -1
- package/dist/chunks/auth-1.1.1-8xse81z1.mjs +0 -1
- package/dist/chunks/auth-1.1.1-9f3cp9gp.mjs +0 -1
- package/dist/chunks/autoMode-1.1.1-15ahwpy1.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.1-81k0pg1h.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.1-pndv2vca.mjs +0 -1
- package/dist/chunks/branch-1.1.1-wyjy4jfq.mjs +0 -4
- package/dist/chunks/bridge-1.1.1-fz27rnbb.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.1-1srg7w12.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.1-hpve37v3.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.1-va485rwj.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.1-4e6545em.mjs +0 -1
- package/dist/chunks/btw-1.1.1-2hj5cz16.mjs +0 -1
- package/dist/chunks/buddy-1.1.1-mbavcpyj.mjs +0 -3
- package/dist/chunks/cacache-1.1.1-5brj0j0a.mjs +0 -1
- package/dist/chunks/cache-probe-1.1.1-cy6xfej9.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.1-01qjcc1e.mjs +0 -4
- package/dist/chunks/caches-1.1.1-vcss5vxp.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.1-827j42dz.mjs +0 -1
- package/dist/chunks/claudemd-1.1.1-5j35wnk1.mjs +0 -1
- package/dist/chunks/clear-1.1.1-eb6r6tee.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.1-a2zg5e0p.mjs +0 -1
- package/dist/chunks/cli-1.1.1-01gn0bc1.mjs +0 -2
- package/dist/chunks/cli-1.1.1-01nvax13.mjs +0 -2
- package/dist/chunks/cli-1.1.1-05m3jbze.mjs +0 -2
- package/dist/chunks/cli-1.1.1-0eqyjkcc.mjs +0 -2
- package/dist/chunks/cli-1.1.1-0hn5dj2w.mjs +0 -2
- package/dist/chunks/cli-1.1.1-0rnw8vxn.mjs +0 -2
- package/dist/chunks/cli-1.1.1-0xwez66d.mjs +0 -67
- package/dist/chunks/cli-1.1.1-0xz1de77.mjs +0 -2
- package/dist/chunks/cli-1.1.1-152wk4rk.mjs +0 -2
- package/dist/chunks/cli-1.1.1-1987jcbz.mjs +0 -5
- package/dist/chunks/cli-1.1.1-19wm2xn6.mjs +0 -2
- package/dist/chunks/cli-1.1.1-1q3ezkgp.mjs +0 -4
- package/dist/chunks/cli-1.1.1-1rn8sc8r.mjs +0 -2
- package/dist/chunks/cli-1.1.1-1zr9ww4h.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2b66vsz3.mjs +0 -3
- package/dist/chunks/cli-1.1.1-2ck5yx9f.mjs +0 -18
- package/dist/chunks/cli-1.1.1-2eervm4j.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2g0asdx9.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2hr65a5m.mjs +0 -4
- package/dist/chunks/cli-1.1.1-2jscs5ek.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2r6j3hc2.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2wmsmw96.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2xecrgas.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2y2npk6a.mjs +0 -2
- package/dist/chunks/cli-1.1.1-2yqkaj2a.mjs +0 -4
- package/dist/chunks/cli-1.1.1-38kc1r2d.mjs +0 -2
- package/dist/chunks/cli-1.1.1-3avcamf3.mjs +0 -39
- package/dist/chunks/cli-1.1.1-3fb7zat9.mjs +0 -9
- package/dist/chunks/cli-1.1.1-3nhzbd0x.mjs +0 -2
- package/dist/chunks/cli-1.1.1-3pspjtmp.mjs +0 -18
- package/dist/chunks/cli-1.1.1-3wx8xt0d.mjs +0 -2
- package/dist/chunks/cli-1.1.1-3y91rx7d.mjs +0 -2
- package/dist/chunks/cli-1.1.1-3yhgq98b.mjs +0 -2
- package/dist/chunks/cli-1.1.1-3yk5zm2a.mjs +0 -2
- package/dist/chunks/cli-1.1.1-3zwjajhq.mjs +0 -2
- package/dist/chunks/cli-1.1.1-4232y84r.mjs +0 -2
- package/dist/chunks/cli-1.1.1-48eqv75k.mjs +0 -202
- package/dist/chunks/cli-1.1.1-4exyd7ra.mjs +0 -2
- package/dist/chunks/cli-1.1.1-4j7t9vcq.mjs +0 -2
- package/dist/chunks/cli-1.1.1-4nf2hftc.mjs +0 -24
- package/dist/chunks/cli-1.1.1-51qpx7j4.mjs +0 -2
- package/dist/chunks/cli-1.1.1-5a13gyb4.mjs +0 -2
- package/dist/chunks/cli-1.1.1-5yv8wq29.mjs +0 -2
- package/dist/chunks/cli-1.1.1-6121wy9f.mjs +0 -3
- package/dist/chunks/cli-1.1.1-6587ae95.mjs +0 -2
- package/dist/chunks/cli-1.1.1-65apqfps.mjs +0 -2
- package/dist/chunks/cli-1.1.1-6h5x77nq.mjs +0 -2
- package/dist/chunks/cli-1.1.1-6n2sxzhk.mjs +0 -2
- package/dist/chunks/cli-1.1.1-6tztmxpt.mjs +0 -2
- package/dist/chunks/cli-1.1.1-6wwgxn4p.mjs +0 -2
- package/dist/chunks/cli-1.1.1-6zke1wc8.mjs +0 -2
- package/dist/chunks/cli-1.1.1-71h16h6t.mjs +0 -4
- package/dist/chunks/cli-1.1.1-71vwpynf.mjs +0 -2
- package/dist/chunks/cli-1.1.1-774eebcf.mjs +0 -2
- package/dist/chunks/cli-1.1.1-783296xh.mjs +0 -6
- package/dist/chunks/cli-1.1.1-7bhncvpq.mjs +0 -4
- package/dist/chunks/cli-1.1.1-7gkmf39y.mjs +0 -25
- package/dist/chunks/cli-1.1.1-7t3w18nd.mjs +0 -2
- package/dist/chunks/cli-1.1.1-7x4t5f2a.mjs +0 -2
- package/dist/chunks/cli-1.1.1-85rrb9q4.mjs +0 -2
- package/dist/chunks/cli-1.1.1-884t9g0f.mjs +0 -2
- package/dist/chunks/cli-1.1.1-8ar2s628.mjs +0 -2
- package/dist/chunks/cli-1.1.1-8bt9x8md.mjs +0 -2
- package/dist/chunks/cli-1.1.1-8g62r2pb.mjs +0 -2
- package/dist/chunks/cli-1.1.1-8hpszz5x.mjs +0 -3
- package/dist/chunks/cli-1.1.1-8tzp0yrd.mjs +0 -2
- package/dist/chunks/cli-1.1.1-8zfnrs72.mjs +0 -2
- package/dist/chunks/cli-1.1.1-8zjem87v.mjs +0 -9
- package/dist/chunks/cli-1.1.1-8zzt6htb.mjs +0 -3
- package/dist/chunks/cli-1.1.1-94s27fva.mjs +0 -2
- package/dist/chunks/cli-1.1.1-98h55a72.mjs +0 -2
- package/dist/chunks/cli-1.1.1-9kv5a6f4.mjs +0 -2
- package/dist/chunks/cli-1.1.1-9p39qc3e.mjs +0 -5638
- package/dist/chunks/cli-1.1.1-9q6jbhm6.mjs +0 -6
- package/dist/chunks/cli-1.1.1-9rjrg0tv.mjs +0 -7
- package/dist/chunks/cli-1.1.1-9rrtz0k2.mjs +0 -2
- package/dist/chunks/cli-1.1.1-9syt3cqd.mjs +0 -2
- package/dist/chunks/cli-1.1.1-9tqznq04.mjs +0 -6
- package/dist/chunks/cli-1.1.1-9w0d3wxf.mjs +0 -2
- package/dist/chunks/cli-1.1.1-9wd4xvzd.mjs +0 -2
- package/dist/chunks/cli-1.1.1-9xxs59n0.mjs +0 -4
- package/dist/chunks/cli-1.1.1-a0pp3xv5.mjs +0 -2
- package/dist/chunks/cli-1.1.1-a2aanf2k.mjs +0 -2
- package/dist/chunks/cli-1.1.1-a8r32wr9.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ajerx2nx.mjs +0 -2
- package/dist/chunks/cli-1.1.1-atzkmfy8.mjs +0 -2
- package/dist/chunks/cli-1.1.1-b1kqmh2w.mjs +0 -8
- package/dist/chunks/cli-1.1.1-b7abx3n7.mjs +0 -2
- package/dist/chunks/cli-1.1.1-bb95back.mjs +0 -2
- package/dist/chunks/cli-1.1.1-bkqayrk3.mjs +0 -2
- package/dist/chunks/cli-1.1.1-bzdx5f9h.mjs +0 -2
- package/dist/chunks/cli-1.1.1-bzqzhffr.mjs +0 -4
- package/dist/chunks/cli-1.1.1-ck3y4av6.mjs +0 -2
- package/dist/chunks/cli-1.1.1-cw6t7x5a.mjs +0 -2
- package/dist/chunks/cli-1.1.1-d21wwf9h.mjs +0 -2
- package/dist/chunks/cli-1.1.1-d63f9zds.mjs +0 -2
- package/dist/chunks/cli-1.1.1-daz59drp.mjs +0 -2
- package/dist/chunks/cli-1.1.1-dmd0wakf.mjs +0 -21
- package/dist/chunks/cli-1.1.1-e5sc3rwd.mjs +0 -1
- package/dist/chunks/cli-1.1.1-ea6eap5z.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ebax5r8y.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ec3zbk9q.mjs +0 -2
- package/dist/chunks/cli-1.1.1-egnem382.mjs +0 -24
- package/dist/chunks/cli-1.1.1-ekcthfcd.mjs +0 -25
- package/dist/chunks/cli-1.1.1-ex0sqz63.mjs +0 -2
- package/dist/chunks/cli-1.1.1-f4f8asne.mjs +0 -12
- package/dist/chunks/cli-1.1.1-fnhx5s3j.mjs +0 -18
- package/dist/chunks/cli-1.1.1-fwshj75j.mjs +0 -2
- package/dist/chunks/cli-1.1.1-g1awxrn4.mjs +0 -4
- package/dist/chunks/cli-1.1.1-g69kxy79.mjs +0 -2
- package/dist/chunks/cli-1.1.1-g76vwnqj.mjs +0 -2
- package/dist/chunks/cli-1.1.1-g7j0r82j.mjs +0 -2
- package/dist/chunks/cli-1.1.1-g96by86m.mjs +0 -2
- package/dist/chunks/cli-1.1.1-gkynj1h3.mjs +0 -133
- package/dist/chunks/cli-1.1.1-gmxcjwmv.mjs +0 -2
- package/dist/chunks/cli-1.1.1-gnhxj8zp.mjs +0 -2
- package/dist/chunks/cli-1.1.1-gtbama8g.mjs +0 -2
- package/dist/chunks/cli-1.1.1-gv6thx1d.mjs +0 -2
- package/dist/chunks/cli-1.1.1-h13exkfb.mjs +0 -2
- package/dist/chunks/cli-1.1.1-hd439wse.mjs +0 -2
- package/dist/chunks/cli-1.1.1-hjpxjf64.mjs +0 -2
- package/dist/chunks/cli-1.1.1-hz3enw9q.mjs +0 -5
- package/dist/chunks/cli-1.1.1-jebnfazq.mjs +0 -2
- package/dist/chunks/cli-1.1.1-jfy1zmx2.mjs +0 -15
- package/dist/chunks/cli-1.1.1-jht24afj.mjs +0 -2
- package/dist/chunks/cli-1.1.1-jhxy6tyz.mjs +0 -2
- package/dist/chunks/cli-1.1.1-jtdjbvbn.mjs +0 -50
- package/dist/chunks/cli-1.1.1-jv6s649f.mjs +0 -3
- package/dist/chunks/cli-1.1.1-jvcpm7sm.mjs +0 -58
- package/dist/chunks/cli-1.1.1-kb84b41j.mjs +0 -45
- package/dist/chunks/cli-1.1.1-kbqy5x92.mjs +0 -2
- package/dist/chunks/cli-1.1.1-kembhhn1.mjs +0 -3
- package/dist/chunks/cli-1.1.1-kwhspda1.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ma5v2jch.mjs +0 -2
- package/dist/chunks/cli-1.1.1-matkcn4v.mjs +0 -3
- package/dist/chunks/cli-1.1.1-mfkfar88.mjs +0 -2
- package/dist/chunks/cli-1.1.1-mqrbnazn.mjs +0 -2
- package/dist/chunks/cli-1.1.1-mqx6avyz.mjs +0 -4
- package/dist/chunks/cli-1.1.1-mxx5vd6y.mjs +0 -2
- package/dist/chunks/cli-1.1.1-mymbst6p.mjs +0 -4
- package/dist/chunks/cli-1.1.1-n5zzg2fv.mjs +0 -2
- package/dist/chunks/cli-1.1.1-n70wqfbp.mjs +0 -2
- package/dist/chunks/cli-1.1.1-n7mc6bx5.mjs +0 -2
- package/dist/chunks/cli-1.1.1-npd8k2hb.mjs +0 -2
- package/dist/chunks/cli-1.1.1-nrfj4jj5.mjs +0 -6
- package/dist/chunks/cli-1.1.1-ntngssqy.mjs +0 -2
- package/dist/chunks/cli-1.1.1-nwg10cz1.mjs +0 -2
- package/dist/chunks/cli-1.1.1-p6v0z6hs.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ped3g2j0.mjs +0 -16
- package/dist/chunks/cli-1.1.1-q40shhn8.mjs +0 -2
- package/dist/chunks/cli-1.1.1-q9wvkkjf.mjs +0 -59
- package/dist/chunks/cli-1.1.1-qfasf488.mjs +0 -3
- package/dist/chunks/cli-1.1.1-qx9beg4x.mjs +0 -2
- package/dist/chunks/cli-1.1.1-r0ewpxvn.mjs +0 -2
- package/dist/chunks/cli-1.1.1-r6d3a12p.mjs +0 -2
- package/dist/chunks/cli-1.1.1-r6rebhmb.mjs +0 -6
- package/dist/chunks/cli-1.1.1-r9nn4cq9.mjs +0 -2
- package/dist/chunks/cli-1.1.1-rcxk0q47.mjs +0 -3
- package/dist/chunks/cli-1.1.1-rd13jv1m.mjs +0 -2
- package/dist/chunks/cli-1.1.1-rkjpq1rt.mjs +0 -2
- package/dist/chunks/cli-1.1.1-rrfnctm7.mjs +0 -2
- package/dist/chunks/cli-1.1.1-s0qbvs8w.mjs +0 -2
- package/dist/chunks/cli-1.1.1-sbhptgsa.mjs +0 -2
- package/dist/chunks/cli-1.1.1-sj83jazr.mjs +0 -2
- package/dist/chunks/cli-1.1.1-sj9xzz88.mjs +0 -2
- package/dist/chunks/cli-1.1.1-str8bn0w.mjs +0 -20
- package/dist/chunks/cli-1.1.1-t3pmg9eh.mjs +0 -2
- package/dist/chunks/cli-1.1.1-tekhwq09.mjs +0 -2
- package/dist/chunks/cli-1.1.1-tmpebtqd.mjs +0 -24
- package/dist/chunks/cli-1.1.1-tmrnrx8v.mjs +0 -2
- package/dist/chunks/cli-1.1.1-tn50af03.mjs +0 -2
- package/dist/chunks/cli-1.1.1-v9ar4kzn.mjs +0 -15
- package/dist/chunks/cli-1.1.1-v9xqeqz0.mjs +0 -12
- package/dist/chunks/cli-1.1.1-ve2ye3ad.mjs +0 -2
- package/dist/chunks/cli-1.1.1-vj8vq3r2.mjs +0 -2
- package/dist/chunks/cli-1.1.1-vrj1t108.mjs +0 -2
- package/dist/chunks/cli-1.1.1-vsc2bhws.mjs +0 -2
- package/dist/chunks/cli-1.1.1-vvjjnyzw.mjs +0 -2
- package/dist/chunks/cli-1.1.1-vyet04sj.mjs +0 -2
- package/dist/chunks/cli-1.1.1-wp27gqf3.mjs +0 -12
- package/dist/chunks/cli-1.1.1-wpky02br.mjs +0 -2
- package/dist/chunks/cli-1.1.1-wqdpr3ra.mjs +0 -2
- package/dist/chunks/cli-1.1.1-wtn7e4jz.mjs +0 -15
- package/dist/chunks/cli-1.1.1-wxtm9yxy.mjs +0 -34
- package/dist/chunks/cli-1.1.1-x3ae1bxc.mjs +0 -42
- package/dist/chunks/cli-1.1.1-x61tsmhm.mjs +0 -2
- package/dist/chunks/cli-1.1.1-x7n7cp4n.mjs +0 -3
- package/dist/chunks/cli-1.1.1-xdq9vz2v.mjs +0 -2
- package/dist/chunks/cli-1.1.1-xksd65yv.mjs +0 -3
- package/dist/chunks/cli-1.1.1-xx3e0bn5.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ya166ffm.mjs +0 -17
- package/dist/chunks/cli-1.1.1-yc3xhtyn.mjs +0 -12
- package/dist/chunks/cli-1.1.1-ych7rrbd.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ye3hmdgh.mjs +0 -3
- package/dist/chunks/cli-1.1.1-yga1m543.mjs +0 -2
- package/dist/chunks/cli-1.1.1-ypkgwx9d.mjs +0 -2
- package/dist/chunks/cli-1.1.1-yqss3x1b.mjs +0 -133
- package/dist/chunks/cli-1.1.1-z0pk7sm0.mjs +0 -2
- package/dist/chunks/cli-1.1.1-z31vnjht.mjs +0 -2
- package/dist/chunks/cli-1.1.1-zbnepy2q.mjs +0 -4
- package/dist/chunks/cli-1.1.1-zmzpxmeq.mjs +0 -2
- package/dist/chunks/cli-1.1.1-zve2w6c9.mjs +0 -17
- package/dist/chunks/cli-1.1.1-zxvwb38m.mjs +0 -2
- package/dist/chunks/client-1.1.1-j3w0pe6c.mjs +0 -1
- package/dist/chunks/color-1.1.1-h26c9ne7.mjs +0 -1
- package/dist/chunks/compact-1.1.1-w47181ep.mjs +0 -3
- package/dist/chunks/config-1.1.1-6zcy87ar.mjs +0 -1
- package/dist/chunks/config-1.1.1-trscazmb.mjs +0 -1
- package/dist/chunks/constants-1.1.1-ttnprx1k.mjs +0 -1
- package/dist/chunks/context-1.1.1-5sgcsmam.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.1-7hjf19rb.mjs +0 -1
- package/dist/chunks/conversation-1.1.1-z6tpmna3.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.1-qv8vd2vd.mjs +0 -1
- package/dist/chunks/copy-1.1.1-x5m52tqg.mjs +0 -9
- package/dist/chunks/cost-1.1.1-rt2rxwm1.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.1-fgm4775d.mjs +0 -1
- package/dist/chunks/createSession-1.1.1-878gtbt1.mjs +0 -1
- package/dist/chunks/debug-1.1.1-d8qa0g0j.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.1-bepehy24.mjs +0 -1446
- package/dist/chunks/desktop-1.1.1-abjyemqy.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.1-khq8s53d.mjs +0 -1
- package/dist/chunks/detection-1.1.1-hjbac0c8.mjs +0 -1
- package/dist/chunks/diff-1.1.1-9xwv88x6.mjs +0 -1
- package/dist/chunks/doctor-1.1.1-fszqkj4v.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.1-w8ngdv52.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.1-c4n49v4q.mjs +0 -1
- package/dist/chunks/effort-1.1.1-esmpmzxn.mjs +0 -13
- package/dist/chunks/engine-1.1.1-07myw22m.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.1-byfwm61g.mjs +0 -1
- package/dist/chunks/envUtils-1.1.1-ww093azg.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.1-295v5dqy.mjs +0 -1
- package/dist/chunks/environments-1.1.1-hpwr5w28.mjs +0 -1
- package/dist/chunks/errors-1.1.1-hftq1zkm.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.1-f82pb78c.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.1-d1aydfab.mjs +0 -1
- package/dist/chunks/exit-1.1.1-yc9akff2.mjs +0 -1
- package/dist/chunks/explorer-1.1.1-vmv967b9.mjs +0 -1
- package/dist/chunks/export-1.1.1-0z1e15hc.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.1-4twkmntw.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.1-jg9fj653.mjs +0 -1
- package/dist/chunks/fast-1.1.1-qys2km8z.mjs +0 -1
- package/dist/chunks/feedback-1.1.1-tr4y0ch0.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.1-7wz7x5ra.mjs +0 -1
- package/dist/chunks/git-1.1.1-51pkabvr.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.1-2zygs5gw.mjs +0 -1
- package/dist/chunks/goal-1.1.1-e9phftpw.mjs +0 -4
- package/dist/chunks/grove-1.1.1-1ag8h7p5.mjs +0 -1
- package/dist/chunks/growthbook-1.1.1-qef68xgb.mjs +0 -1
- package/dist/chunks/headless-1.1.1-jy6w561r.mjs +0 -2
- package/dist/chunks/heapdump-1.1.1-ed456vky.mjs +0 -6
- package/dist/chunks/help-1.1.1-t8j5v83g.mjs +0 -1
- package/dist/chunks/hookChains-1.1.1-vhpc5ejj.mjs +0 -3
- package/dist/chunks/hooks-1.1.1-sb1mqcpz.mjs +0 -79
- package/dist/chunks/hooks-1.1.1-v40qht7p.mjs +0 -1
- package/dist/chunks/ide-1.1.1-jq6fzrr8.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.1-4y6xb66j.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.1-kt406stw.mjs +0 -1
- package/dist/chunks/index-1.1.1-22g434vw.mjs +0 -1
- package/dist/chunks/index-1.1.1-3tqmdx42.mjs +0 -1
- package/dist/chunks/index-1.1.1-6b23qrhd.mjs +0 -1
- package/dist/chunks/index-1.1.1-831bha9e.mjs +0 -1
- package/dist/chunks/index-1.1.1-8cnva9ne.mjs +0 -1
- package/dist/chunks/index-1.1.1-8da5q9g0.mjs +0 -1
- package/dist/chunks/index-1.1.1-90ykavq0.mjs +0 -2
- package/dist/chunks/index-1.1.1-99zmp2ps.mjs +0 -30
- package/dist/chunks/index-1.1.1-9px0bvba.mjs +0 -1
- package/dist/chunks/index-1.1.1-9y71kyrj.mjs +0 -2
- package/dist/chunks/index-1.1.1-adq8vvcq.mjs +0 -5
- package/dist/chunks/index-1.1.1-d9d1y0xy.mjs +0 -1
- package/dist/chunks/index-1.1.1-f3c3172e.mjs +0 -9
- package/dist/chunks/index-1.1.1-faj87xfe.mjs +0 -1
- package/dist/chunks/index-1.1.1-g0ax59dw.mjs +0 -1
- package/dist/chunks/index-1.1.1-h17gbfyk.mjs +0 -1
- package/dist/chunks/index-1.1.1-q6fnrh31.mjs +0 -1
- package/dist/chunks/index-1.1.1-qzgt3tqq.mjs +0 -1
- package/dist/chunks/index-1.1.1-rkne46w2.mjs +0 -1
- package/dist/chunks/index-1.1.1-wy3wddv5.mjs +0 -17
- package/dist/chunks/index-1.1.1-x398ec1v.mjs +0 -1
- package/dist/chunks/index-1.1.1-y44m8pc8.mjs +0 -9
- package/dist/chunks/index-1.1.1-ymbhqb7a.mjs +0 -1
- package/dist/chunks/init-1.1.1-xz02rb2g.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.1-kv3zvcqm.mjs +0 -1
- package/dist/chunks/ink-1.1.1-ts8kz51v.mjs +0 -1
- package/dist/chunks/insights-1.1.1-ngjqkjt0.mjs +0 -870
- package/dist/chunks/install-1.1.1-4r1x1e7v.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.1-bwwf005w.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.1-adwykfa7.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.1-mgk4dsdp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.1-2kmkwc3e.mjs +0 -1
- package/dist/chunks/keybindings-1.1.1-217cgz80.mjs +0 -2
- package/dist/chunks/knowledge-1.1.1-h9nvn3pk.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.1-v0bjj4j7.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.1-fvfkg4pz.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.1-09829bee.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.1-ks9c0rqf.mjs +0 -1
- package/dist/chunks/log-1.1.1-ny9tjyjz.mjs +0 -1
- package/dist/chunks/main-1.1.1-dk2pmpcr.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.1-vh54nadj.mjs +0 -1
- package/dist/chunks/mcp-1.1.1-0xajrtdb.mjs +0 -17
- package/dist/chunks/mcp-1.1.1-vbcrdqmb.mjs +0 -4
- package/dist/chunks/mcp-1.1.1-xp78k98x.mjs +0 -1
- package/dist/chunks/mcpb-1.1.1-rhne101r.mjs +0 -1
- package/dist/chunks/memory-1.1.1-scrmwf7c.mjs +0 -72
- package/dist/chunks/model-1.1.1-as90vvvf.mjs +0 -1
- package/dist/chunks/model-1.1.1-jyf2vnvg.mjs +0 -2
- package/dist/chunks/node-1.1.1-ha7q8qzq.mjs +0 -12
- package/dist/chunks/oauth-1.1.1-stj442qp.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.1-tbbj59s9.mjs +0 -14
- package/dist/chunks/output-style-1.1.1-s7dgeq38.mjs +0 -1
- package/dist/chunks/package-2VNCXFNY-1.1.1-sw5txmkn.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.1-yq34k18v.mjs +0 -1
- package/dist/chunks/parser-1.1.1-905wxz1h.mjs +0 -1
- package/dist/chunks/passes-1.1.1-tzyxx4nr.mjs +0 -1
- package/dist/chunks/permissions-1.1.1-32frrkp8.mjs +0 -3
- package/dist/chunks/permissions-1.1.1-52vyx1cw.mjs +0 -1
- package/dist/chunks/plan-1.1.1-1xwn0q2w.mjs +0 -1
- package/dist/chunks/plist-1.1.1-x63x823y.mjs +0 -1
- package/dist/chunks/plugin-1.1.1-2137mb81.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.1-vswc3yva.mjs +0 -1
- package/dist/chunks/plugins-1.1.1-qwrzc7gx.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.1-81dgne38.mjs +0 -2
- package/dist/chunks/print-1.1.1-zxwjkq6w.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.1-7taqcgcn.mjs +0 -1
- package/dist/chunks/process-1.1.1-cmc5gnbm.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.1-7mebt6rm.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.1-hp957bf8.mjs +0 -9
- package/dist/chunks/prompt-1.1.1-1ebtk0je.mjs +0 -1
- package/dist/chunks/prompt-1.1.1-rghw84pr.mjs +0 -1
- package/dist/chunks/prompts-1.1.1-x63nzadg.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.1-8006jsvm.mjs +0 -13
- package/dist/chunks/provider-1.1.1-znmbhpqc.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.1-tncrzs7g.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.1-hvgdx6gz.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.1-03pfc3mn.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.1-d7trtqbt.mjs +0 -34
- package/dist/chunks/registry-1.1.1-10hk5pdr.mjs +0 -1
- package/dist/chunks/release-notes-1.1.1-ymmqtngr.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.1-y2fq7m0b.mjs +0 -2
- package/dist/chunks/remote-env-1.1.1-09923mmx.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.1-shksn0qq.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.1-x6zsy3p0.mjs +0 -1
- package/dist/chunks/rename-1.1.1-33edcj9v.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.1-pm1k9p9p.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.1-v540zdz4.mjs +0 -1
- package/dist/chunks/resume-1.1.1-dh01es5c.mjs +0 -2
- package/dist/chunks/rewind-1.1.1-c67qy3xg.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.1-ffyvn3c6.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.1-mm9fvkrt.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.1-t72pc0m1.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.1-ftncjx7h.mjs +0 -1
- package/dist/chunks/session-1.1.1-npa4qjy3.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.1-mnz0wg6k.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.1-rkn2r5h7.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.1-1swj757c.mjs +0 -1
- package/dist/chunks/settings-1.1.1-22mzj46y.mjs +0 -1
- package/dist/chunks/setup-1.1.1-f7fxdsa8.mjs +0 -5
- package/dist/chunks/sinks-1.1.1-000q9sh0.mjs +0 -1
- package/dist/chunks/skills-1.1.1-e5343fy7.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.1-47a6124t.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.1-acthvy1s.mjs +0 -1
- package/dist/chunks/state-1.1.1-7pv2ergw.mjs +0 -1
- package/dist/chunks/stats-1.1.1-gkq9kw3d.mjs +0 -6
- package/dist/chunks/status-1.1.1-c8wh646y.mjs +0 -1
- package/dist/chunks/stickers-1.1.1-x16691x3.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.1-s9eb1ebz.mjs +0 -1
- package/dist/chunks/tasks-1.1.1-hf2m8vwd.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.1-bh0tny54.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.1-33rs06c9.mjs +0 -1
- package/dist/chunks/teleport-1.1.1-8tegxvgv.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.1-dckvxw7f.mjs +0 -1
- package/dist/chunks/theme-1.1.1-xdyfpwgx.mjs +0 -1
- package/dist/chunks/thinkback-1.1.1-48dgjam0.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.1-ja387fza.mjs +0 -1
- package/dist/chunks/toolPool-1.1.1-7byzrvcw.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.1-ptantdef.mjs +0 -1
- package/dist/chunks/tools-1.1.1-ptw1g92g.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.1-adv5nypt.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.1-b28vqpjf.mjs +0 -69
- package/dist/chunks/types-1.1.1-8fh9zk18.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.1-g05tw4qq.mjs +0 -4
- package/dist/chunks/update-1.1.1-kbve1bfd.mjs +0 -88
- package/dist/chunks/upgrade-1.1.1-6kxsf3f3.mjs +0 -1
- package/dist/chunks/upload-1.1.1-ymhqntg7.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.1-e5mpv3vk.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.1-v5t4s4mm.mjs +0 -1
- package/dist/chunks/usage-1.1.1-7vhbkw6t.mjs +0 -1
- package/dist/chunks/util-1.1.1-1gy72074.mjs +0 -1
- package/dist/chunks/utils-1.1.1-dk86qenr.mjs +0 -1
- package/dist/chunks/vim-1.1.1-3xxzx58p.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.1-cs9xsv8s.mjs +0 -13
- package/dist/chunks/watcher-1.1.1-36zhrjfn.mjs +0 -1
- package/dist/chunks/wiki-1.1.1-wgesmc0j.mjs +0 -132
- package/dist/chunks/workflows-1.1.1-gjxqq9he.mjs +0 -1
- package/dist/chunks/worktree-1.1.1-2bwg78x8.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.1-d42z1v61.mjs +0 -1
- package/dist/chunks/wrapper-1.1.1-tevg51mj.mjs +0 -7
- /package/dist/chunks/{cli-1.1.1-x3ph4re0.mjs → cli-1.1.2-3vyt3jw9.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.1-10s3pxec.mjs → cli-1.1.2-6d3jf0sj.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.1-xd0vsxbj.mjs → cli-1.1.2-6jbsqbdw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.1-f1n1hjs0.mjs → cli-1.1.2-8t8veykp.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.1-kr5z77zj.mjs → cli-1.1.2-btgmqahb.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.1-y1n8t2yy.mjs → cli-1.1.2-pgz05ddc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.1-ghx32shb.mjs → cli-1.1.2-r4rfggdk.mjs} +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{l9 as E2,n9 as L8}from"./cli-1.1.1-wp27gqf3.mjs";import{p9 as C,q9 as J$}from"./cli-1.1.1-r6rebhmb.mjs";import{B9 as r5,D9 as k8}from"./cli-1.1.1-q40shhn8.mjs";import{A_ as F0,B_ as F1,Efa as R4,Fba as B5,Gea as d,Gfa as X4,Hga as b,Jda as O,Jfa as P2,Kfa as q$,Lda as G2,Lea as t5,M_ as v5,Mea as A,Oda as Y0,P_ as Q$,Pda as M,Pea as K,Pga as s0,Vea as J4,Wba as wZ,Yda as H0,a$ as E5,c$ as Y$,dda as $4,fea as e4,hea as X$,hga as s5,iea as f1,ifa as i,jea as i8,jga as w4,kfa as Q4,lfa as KZ,mda as FZ,pfa as Y4,pga as a5,q_ as g4,r_ as s,rba as C1,s_ as D2,sba as l8,sga as D,t_ as U0,u_ as p4,v_ as r2,vga as J0}from"./cli-1.1.1-48eqv75k.mjs";import{$ha as A1,Pha as C0,Rha as M4}from"./cli-1.1.1-4exyd7ra.mjs";import{dja as f5,eja as o4,fja as R0,hja as F8,ija as K8,kja as U,lja as M0}from"./cli-1.1.1-rrfnctm7.mjs";import{mja as j,pja as B2}from"./cli-1.1.1-h13exkfb.mjs";import{Vja as O5,Zja as $$,bka as s2,fka as g8,pka as z,rka as d0,ska as $0}from"./cli-1.1.1-nrfj4jj5.mjs";import{Pka as p,Rka as G1,Wka as H1}from"./cli-1.1.1-zbnepy2q.mjs";import{Zka as P5,ala as F,cla as u,ela as v2,hla as r4,kla as g}from"./cli-1.1.1-gmxcjwmv.mjs";import{Foa as f,Mma as q0,Moa as h1,Nma as U1,Pna as i1,Pqa as Q0,boa as Z4,bpa as z1,cpa as x1,dpa as j1,epa as B1,foa as S4,koa as T0,loa as J2,qpa as j2}from"./cli-1.1.1-s0qbvs8w.mjs";import{mra as y,nra as t0}from"./cli-1.1.1-01gn0bc1.mjs";import{$ra as q2,Jra as P}from"./cli-1.1.1-2ck5yx9f.mjs";import{vsa as y0,xsa as n2,ysa as R,zsa as Z0}from"./cli-1.1.1-vsc2bhws.mjs";function u5(Z){let $=[],J=!1;async function Q(){if(J)return;if($.length===0)return;J=!0;while($.length>0){let{args:Y,resolve:X,reject:q,context:V}=$.shift();try{let x=await Z.apply(V,Y);X(x)}catch(x){q(x)}}if(J=!1,$.length>0)Q()}return function(...Y){return new Promise((X,q)=>{$.push({args:Y,resolve:X,reject:q,context:this}),Q()})}}var g5=()=>{};function m5(Z,$){return Z.find((J)=>J.includes($))??null}async function c5(){let{BedrockClient:Z}=await import("@aws-sdk/client-bedrock"),$=v2(),J=F(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await E2(),...J&&{requestHandler:new(await import("./index-1.1.1-rkne46w2.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.1-x398ec1v.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 ZJ(){let{BedrockRuntimeClient:Z}=await import("@aws-sdk/client-bedrock-runtime"),$=v2(),J=F(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await E2(),...J&&{requestHandler:new(await import("./index-1.1.1-rkne46w2.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.1-x398ec1v.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 D8(Z){return Z.startsWith("anthropic.")}function b8(Z){if(!Z.startsWith("arn:"))return Z;let $=Z.lastIndexOf("/");if($===-1)return Z;return Z.substring($+1)}function U8(Z){let $=b8(Z);for(let J of N8)if($.startsWith(`${J}.anthropic.`))return J;return}function JJ(Z,$){let J=U8(Z);if(J)return Z.replace(`${J}.`,`${$}.`);if(D8(Z))return`${$}.${Z}`;return Z}var p5,$J,N8;var d5=R(()=>{t0();n();g();s0();L8();p5=y(async function(){let[Z,{ListInferenceProfilesCommand:$}]=await Promise.all([c5(),import("@aws-sdk/client-bedrock")]),J=[],Q;try{do{let Y=new $({...Q&&{nextToken:Q},typeEquals:"SYSTEM_DEFINED"}),X=await Z.send(Y);if(X.inferenceProfileSummaries)J.push(...X.inferenceProfileSummaries);Q=X.nextToken}while(Q);return J.filter((Y)=>Y.inferenceProfileId?.includes("anthropic")).map((Y)=>Y.inferenceProfileId).filter(Boolean)}catch(Y){throw b(Y),Y}});$J=y(async function(Z){try{let[$,{GetInferenceProfileCommand:J}]=await Promise.all([c5(),import("@aws-sdk/client-bedrock")]),Q=new J({inferenceProfileIdentifier:Z}),Y=await $.send(Q);if(!Y.models||Y.models.length===0)return null;let X=Y.models[0];if(!X?.modelArn)return null;let q=X.modelArn.lastIndexOf("/");return q>=0?X.modelArn.substring(q+1):X.modelArn}catch($){return b($),null}});N8=["us","eu","apac","global"]});var _2,I2,y2,T2,S2,M2,h2,A2,C2,a0,r0,o0,v0,f2,u2,g2,B0,YJ,n5;var p2=R(()=>{_2={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"},I2={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"},y2={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"},T2={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"},S2={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"},M2={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"},h2={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"},A2={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"},C2={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"},a0={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"},r0={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"},o0={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"},v0={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"},f2={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"},u2={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"},g2={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"},B0={haiku35:y2,haiku45:T2,sonnet35:I2,sonnet37:_2,sonnet40:S2,sonnet45:M2,sonnet46:u2,sonnet5:g2,opus40:h2,opus41:A2,opus45:C2,opus46:a0,opus47:r0,opus48:o0,opus5:v0,fable5:f2},YJ=Object.values(B0).map((Z)=>Z.firstParty),n5=Object.fromEntries(Object.entries(B0).map(([Z,$])=>[$.firstParty,Z]))});function l5(){return Object.values(e0)}var e0,m2;var c2=R(()=>{e0={"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}}},m2=Object.fromEntries(Object.values(e0).map((Z)=>[Z.id,Z.name]))});var _0={};n2(_0,{prefetchCopilotModelCatalog:()=>i2,normalizeBareCopilotModelId:()=>l2,getEffectiveCopilotModels:()=>I8,getCopilotDisplayName:()=>y8,getCatalogCopilotMaxOutputTokens:()=>M8,getCatalogCopilotContextWindow:()=>S8,getCachedCopilotCatalog:()=>_8,fetchCopilotModelCatalog:()=>e5,copilotModelSupportsAnthropicMessages:()=>T8,_setCopilotCatalogForTesting:()=>h8});function E0(){let Z=D();if(Z?.transport!=="github_copilot")return null;return(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,"")}function o5(){if(!l)return!1;let Z=E0();return Z!==null&&G0===Z}function O8(){if(i5)return;i5=!0,t5(()=>{let Z=E0();if(Z&&G0!==Z)i2()})}function l2(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 v8(Z){if(!Array.isArray(Z))return null;return Z.filter(($)=>typeof $==="string")}function E8(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??{},X=Y.vision===!0||Boolean(Q.vision),q=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:X,reasoning:q,tool_call:Y.tool_calls===!0,temperature:!0,knowledge:"",release_date:"",last_updated:"",modalities:{input:X?["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:v8(Z.supported_endpoints),pickerEnabled:Z.model_picker_enabled!==!1}}async function e5(){let Z=D();if(Z?.transport!=="github_copilot")return null;if(s5(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(),P8);try{let X=await fetch(`${J}/models`,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${$}`,...r5},signal:Q.signal});if(!X.ok)return null;let q=await X.json();if(!Array.isArray(q?.data))return null;let V=new Set,x=[];for(let G of q.data){let H=E8(G);if(!H||V.has(H.model.id))continue;V.add(H.model.id),x.push(H)}return x.length>0?x:null}catch{return z("[CopilotCatalog] /models fetch failed — using hardcoded registry"),null}finally{clearTimeout(Y)}}function i2(){O8();let Z=E0();if(!Z)return;if(l&&G0!==Z)l=null,G0=null;if(Z2){if(d2===Z)return;Z2.finally(()=>i2());return}d2=Z,Z2=e5().then(($)=>{if($&&E0()===Z)l=$,G0=Z}).finally(()=>{Z2=null,d2=null})}function _8(){return l}function I8(){if(o5()){let Z=l?.filter(($)=>$.pickerEnabled).map(($)=>$.model);if(Z&&Z.length>0)return Z}return l5()}function $2(Z){if(!o5())return;let $=l2(Z);return l.find((J)=>J.model.id===$)}function y8(Z){let $=l2(Z);return $2($)?.model.name??e0[$]?.name}function T8(Z){let $=$2(Z);if(!$||$.supportedEndpoints===null)return null;return $.supportedEndpoints.some((J)=>J.includes("/v1/messages"))}function S8(Z){return $2(Z)?.model.limit.context}function M8(Z){return $2(Z)?.model.limit.output}function h8(Z){l=Z,G0=Z?E0():null}var P8=5000,l=null,G0=null,Z2=null,d2=null,i5=!1;var I0=R(()=>{J0();k8();a5();i();$0();c2()});function W(){let Z=D();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 HJ(){return W()==="firstParty"}function A8(Z){let $=D();if($?.transport!=="github_copilot")return!1;let J=Z?.trim()||$.model?.trim()||"";if(!J.toLowerCase().includes("claude-"))return!1;try{let{copilotModelSupportsAnthropicMessages:Q}=(I0(),y0(_0)),Y=Q(J);if(Y!==null)return Y}catch{}return!0}function RJ(Z){let $=D()?.transport??"anthropic";if(!C8.has($))return!1;if($==="github_copilot"&&A8(Z))return!1;return!0}function wJ(){return W()}function FJ(){let Z=D();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 C8;var t=R(()=>{J0();C8=new Set(["openai_compat","gemini","mistral","github_copilot","codex_responses"])});function Q2(Z){let $=Z==="codex"||Z==="github"?"openai":Z,J={};for(let Q of $1)J[Q]=B0[Q][$];return J}async function f8(){let Z=Q2("bedrock"),$;try{$=await p5()}catch(Q){return b(Q),Z}if(!$?.length)return Z;let J={};for(let Q of $1){let Y=B0[Q].firstParty;J[Q]=m5($,Y)||Z[Q]}return J}function Z1(Z){let $=Y0().modelOverrides;if(!$)return Z;let J={...Z};for(let[Q,Y]of Object.entries($)){let X=n5[Q];if(X&&Y)J[X]=Y}return J}function Y2(Z){let $;try{$=Y0().modelOverrides}catch{return Z}if(!$)return Z;for(let[J,Q]of Object.entries($))if(Q===Z)return J;return Z}function u8(){if(T0()!==null)return;if(W()!=="bedrock"){J2(Q2(W()));return}J1()}function B(){let Z=T0();if(Z===null)return u8(),Z1(Q2(W()));return Z1(Z)}async function OJ(){if(T0()!==null)return;if(W()!=="bedrock"){J2(Q2(W()));return}await J1()}var $1,J1;var X2=R(()=>{Q0();s0();g5();H0();d5();p2();t();$1=Object.keys(B0);J1=u5(async()=>{if(T0()!==null)return;try{let Z=await f8();J2(Z)}catch(Z){b(Z)}})});function yJ(){if(F(process.env.DISABLE_COST_WARNINGS))return!1;if(k())return!1;let $=S0(),J=X0()!==null;if(!$.hasToken&&!J)return!1;let Q=K(),Y=Q.oauthAccount?.organizationRole,X=Q.oauthAccount?.workspaceRole;if(!Y||!X)return!1;return["admin","billing"].includes(Y)||["workspace_admin","workspace_billing"].includes(X)}function TJ(){if(Q1!==null)return Q1;if(!k())return!1;let Z=_();if(Z==="max"||Z==="pro")return!0;let J=K().oauthAccount?.organizationRole;return!!J&&["admin","billing","owner","primary_owner"].includes(J)}var Q1=null;var Y1=R(()=>{n();i();g()});function AJ(Z){return Z}function CJ(){return!1}function X1(){return null}function q1(){return!1}var V1=R(()=>{Y1()});async function dJ(){let $=K().oauthAccount?.accountUuid,J=X0();if(!$||!J)return;let Q=`${U().BASE_API_URL}/api/claude_cli_profile`;try{return(await P.get(Q,{headers:{"x-api-key":J,"anthropic-beta":R0},params:{account_uuid:$},timeout:1e4})).data}catch(Y){b(Y)}}async function w0(Z){let $=`${U().BASE_API_URL}/api/oauth/profile`;try{return(await P.get($,{headers:{Authorization:`Bearer ${Z}`,"Content-Type":"application/json"},timeout:1e4})).data}catch(J){b(J)}}var t2=R(()=>{q2();M0();n();i();s0()});import{mkdirSync as p8,writeFileSync as m8}from"fs";function n8(Z,$,J){if(!F(process.env.CLAUDE_CODE_REMOTE))return;try{p8(V2,{recursive:!0,mode:448}),m8(Z,$,{encoding:"utf8",mode:384}),z(`Persisted ${J} to ${Z} for subprocess access`)}catch(Q){z(`Failed to persist ${J} to disk (non-fatal): ${p(Q)}`,{level:"error"})}}function W1(Z,$){try{let Q=s2().readFileSync(Z,{encoding:"utf8"}).trim();if(!Q)return null;return z(`Read ${$} from well-known file ${Z}`),Q}catch(J){if(!G1(J))z(`Failed to read ${$} from ${Z}: ${p(J)}`,{level:"debug"});return null}}function R1({envVar:Z,wellKnownPath:$,label:J,getCached:Q,setCached:Y}){let X=Q();if(X!==void 0)return X;let q=process.env[Z];if(!q){let x=W1($,J);return Y(x),x}let V=parseInt(q,10);if(Number.isNaN(V))return z(`${Z} must be a valid file descriptor number, got: ${q}`,{level:"error"}),Y(null),null;try{let x=s2(),G=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${V}`:`/proc/self/fd/${V}`,H=x.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),n8($,H,J),H}catch(x){z(`Failed to read ${J} from file descriptor ${V}: ${p(x)}`,{level:"error"});let G=W1($,J);return Y(G),G}}function W2(){return R1({envVar:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",wellKnownPath:c8,label:"OAuth token",getCached:z1,setCached:x1})}function a2(){return R1({envVar:"CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR",wellKnownPath:d8,label:"API key",getCached:j1,setCached:B1})}var V2="/home/claude/.claude/remote",c8,d8,oJ;var w1=R(()=>{Q0();$0();g();H1();g8();c8=`${V2}/.oauth_token`,d8=`${V2}/.api_key`,oJ=`${V2}/.session_ingress_token`});async function K1(){if(process.platform==="darwin"){let Z=s();if((await F0(`security delete-generic-password -a $USER -s "${Z}"`,{shell:!0,reject:!1})).exitCode!==0)throw Error("Failed to delete keychain entry")}}function z2(Z){return Z.slice(-20)}var L1=R(()=>{F1();r2()});function Y3(Z){return Z?.name==="CredentialsProviderError"}function D1(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 o2(){let{STSClient:Z,GetCallerIdentityCommand:$}=await import("@aws-sdk/client-sts");await new Z().send(new $({}))}async function N1(){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 b1=R(()=>{$0()});class h{static instance=null;status={isAuthenticating:!1,output:[]};changed=q0();static getInstance(){if(!h.instance)h.instance=new h;return h.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(h.instance)h.instance.changed.clear(),h.instance=null}}var k1=R(()=>{U1()});var x2="claude-code-20250219",P1="interleaved-thinking-2025-05-14",h0="context-1m-2025-08-07",O1="context-management-2025-06-27",v1="structured-outputs-2025-12-15",e2="web-search-2025-03-05",E1="advanced-tool-use-2025-11-20",_1="tool-search-tool-2025-10-19",W3="effort-2025-11-24",z3="task-budgets-2026-03-13",I1="prompt-caching-scope-2026-01-05",x3="extended-cache-ttl-2025-04-11",j3="fast-mode-2026-02-01",y1="redact-thinking-2026-02-12",T1="thinking-token-count-2026-05-13",S1="token-efficient-tools-2026-03-28",B3="afk-mode-2026-01-31",G3="advisor-tool-2026-03-01",Z5,H3;var $5=R(()=>{Z5=new Set(["interleaved-thinking-2025-05-14","context-1m-2025-08-07","tool-search-tool-2025-10-19"]),H3=new Set(["claude-code-20250219","interleaved-thinking-2025-05-14","context-management-2025-06-27"])});function T(){if(W()!=="firstParty")return!1;return!F(process.env.CLAUDE_CODE_DISABLE_FAST_MODE)}function u1(){if(!T())return!1;return s8()===null}function t8(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 s8(){if(W()!=="firstParty")return"Fast mode is not available on third-party providers";if(!T())return"Fast mode is not available";let Z=C0("tengu_penguins_off",null);if(Z!==null)return z(`Fast mode unavailable: ${Z}`),Z;if(!C1()&&C0("tengu_marble_sandcastle",!1))return"Fast mode requires the native binary · Install from: https://claude.com/product/claude-code";if(f()&&j2()&&!h1()){if(!O("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(F(process.env.CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS))return null}let $=w()!==null?"oauth":"api-key",J=t8(E.reason,$);return z(`Fast mode unavailable: ${J}`),J}return null}function T3(){let Z=H2(W0());return"opus"+(Y5()&&!Z?"[1m]":"")}function S3(Z){if(!T())return!1;if(!u1())return!1;if(!g1(Z))return!1;let $=Y0();if($.fastModePerSessionOptIn)return!1;return $.fastMode===!0}function g1(Z){if(!T())return!1;let $=Z??f0(),J=S($).toLowerCase();return J.includes("opus-5")||J.includes("opus-4-7")||J.includes("opus-4-6")}function a8(){if(K0.status==="cooldown"&&Date.now()>=K0.resetAt){if(T()&&!J5)z("Fast mode cooldown expired, re-enabling fast mode"),J5=!0,m1.emit();K0={status:"active"}}return K0}function A3(Z,$){if(!T())return;K0={status:"cooldown",resetAt:Z,reason:$},J5=!1;let J=Z-Date.now();z(`Fast mode cooldown triggered (${$}), duration ${Math.round(J/1000)}s`),j("tengu_fast_mode_fallback_triggered",{cooldown_duration_ms:J,cooldown_reason:$}),p1.emit(Z,$)}function C3(){K0={status:"active"}}function f3(){if(E.status==="disabled")return;E={status:"disabled",reason:"preference"},G2("userSettings",{fastMode:void 0}),A((Z)=>({...Z,penguinModeOrgEnabled:!1})),Q5.emit(!1)}function r8(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 o8(Z){return Z==="org_level_disabled_until"||Z==="out_of_credits"}function g3(Z){let $=r8(Z);if(z(`Fast mode overage rejection: ${Z??"unknown"} — ${$}`),j("tengu_fast_mode_overage_rejected",{overage_disabled_reason:Z??"unknown"}),!o8(Z))G2("userSettings",{fastMode:void 0}),A((J)=>({...J,penguinModeOrgEnabled:!1}));c1.emit($)}function e8(){return a8().status==="cooldown"}function p3(Z,$){let J=T()&&u1()&&!!$&&g1(Z);if(J&&e8())return"cooldown";if(J)return"on";return"off"}async function ZZ(Z){let $=`${U().BASE_API_URL}/api/claude_code_penguin_mode`,J="accessToken"in Z?{Authorization:`Bearer ${Z.accessToken}`,"anthropic-beta":R0}:{"x-api-key":Z.apiKey};return(await P.get($,{headers:J})).data}function c3(){if(!T())return;if(E.status!=="pending")return;E=K().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"unknown"}}async function d3(){if(f1())return;if(!T())return;if(A0)return z("Fast mode prefetch in progress, returning in-flight promise"),A0;let Z=X0();if(!(w()?.accessToken&&V0())&&!Z){E=K().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"preference"};return}let J=Date.now();if(J-M1<$Z){z("Skipping fast mode prefetch, fetched recently");return}M1=J;let Q=async()=>{let X=w(),q=X?.accessToken&&V0()?{accessToken:X.accessToken}:Z?{apiKey:Z}:null;if(!q)throw Error("No auth available");return ZZ(q)};async function Y(){try{let X;try{X=await Q()}catch(V){if(P.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 X5(G),X=await Q();else throw V}else throw V}let q=E.status!=="pending"?E.status==="enabled":K().penguinModeOrgEnabled;if(E=X.enabled?{status:"enabled"}:{status:"disabled",reason:X.disabled_reason??"preference"},q!==X.enabled){if(!X.enabled)G2("userSettings",{fastMode:void 0});A((V)=>({...V,penguinModeOrgEnabled:X.enabled})),Q5.emit(X.enabled)}z(`Org fast mode: ${X.enabled?"enabled":`disabled (${X.disabled_reason??"preference"})`}`)}catch(X){E=K().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)"}: ${X}`,{level:"error"}),j("tengu_org_penguin_mode_fetch_failed",{})}finally{A0=null}}return A0=Y(),A0}var y3="Opus 5",K0,J5=!1,p1,m1,M3,h3,c1,u3,E,Q5,m3,$Z=30000,M1=0,A0=null;var d1=R(()=>{q2();M0();A1();Q0();B2();n();l8();i();$0();g();L0();t();i8();H0();U1();K0={status:"active"},p1=q0(),m1=q0(),M3=p1.subscribe,h3=m1.subscribe;c1=q0(),u3=c1.subscribe;E={status:"pending"},Q5=q0(),m3=Q5.subscribe});function VZ(Z){for(let $ of qZ)if($.pattern.test(Z))return $.cost;return}function V5(Z){if(T()&&Z)return t1;return a}function W5(Z){if(T()&&Z)return t1;return q5[L(v0.firstParty)]??a}function WZ(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 zZ(Z,$){let J=N(Z);if(J===L(a0.firstParty)||J===L(r0.firstParty)||J===L(o0.firstParty)){let Y=$.speed==="fast";return V5(Y)}if(J===L(v0.firstParty))return W5($.speed==="fast");let Q=q5[J];if(!Q){let Y=VZ(Z);if(Y)return Y;return xZ(Z,J),q5[N(f0())]??XZ}return Q}function xZ(Z,$){j("tengu_unknown_model_cost",{model:Z,shortName:$}),i1()}function jZ(Z,$){let J=zZ(Z,$);return WZ(J,$)}function r3(Z,$){let J={input_tokens:$.inputTokens,output_tokens:$.outputTokens,cache_read_input_tokens:$.cacheReadInputTokens,cache_creation_input_tokens:$.cacheCreationInputTokens};return jZ(Z,J)}function l1(Z){if(Number.isInteger(Z))return`$${Z}`;return`$${Z.toFixed(2)}`}function z5(Z){return`${l1(Z.inputTokens)}/${l1(Z.outputTokens)} per Mtok`}var D0,n1,a,JZ,t1,QZ,YZ,XZ,qZ,q5;var s1=R(()=>{B2();Q0();d1();p2();L0();D0={inputTokens:3,outputTokens:15,promptCacheWriteTokens:3.75,promptCacheWrite1hTokens:6,promptCacheReadTokens:0.3,webSearchRequests:0.01},n1={inputTokens:15,outputTokens:75,promptCacheWriteTokens:18.75,promptCacheWrite1hTokens:30,promptCacheReadTokens:1.5,webSearchRequests:0.01},a={inputTokens:5,outputTokens:25,promptCacheWriteTokens:6.25,promptCacheWrite1hTokens:10,promptCacheReadTokens:0.5,webSearchRequests:0.01},JZ={inputTokens:10,outputTokens:50,promptCacheWriteTokens:12.5,promptCacheWrite1hTokens:20,promptCacheReadTokens:1,webSearchRequests:0.01},t1={inputTokens:30,outputTokens:150,promptCacheWriteTokens:37.5,promptCacheWrite1hTokens:60,promptCacheReadTokens:3,webSearchRequests:0.01},QZ={inputTokens:0.8,outputTokens:4,promptCacheWriteTokens:1,promptCacheWrite1hTokens:1.6,promptCacheReadTokens:0.08,webSearchRequests:0.01},YZ={inputTokens:1,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheWrite1hTokens:2,promptCacheReadTokens:0.1,webSearchRequests:0.01},XZ=a,qZ=[{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}}];q5={[L(y2.firstParty)]:QZ,[L(T2.firstParty)]:YZ,[L(I2.firstParty)]:D0,[L(_2.firstParty)]:D0,[L(S2.firstParty)]:D0,[L(M2.firstParty)]:D0,[L(u2.firstParty)]:D0,[L(g2.firstParty)]:D0,[L(h2.firstParty)]:n1,[L(A2.firstParty)]:n1,[L(C2.firstParty)]:a,[L(a0.firstParty)]:a,[L(r0.firstParty)]:a,[L(o0.firstParty)]:a,[L(v0.firstParty)]:a,[L(f2.firstParty)]:JZ}});function m(Z){return BZ.includes(Z)}function N0(Z){return GZ.includes(Z)}var BZ,GZ;var x5=R(()=>{BZ=["sonnet","opus","haiku","fable","best","sonnet[1m]","opus[1m]","opusplan"];GZ=["sonnet","opus","haiku"]});function HZ(Z,$){if(Z.includes($))return!0;if(m(Z))return S(Z).toLowerCase().includes($);return!1}function a1(Z,$){if(!Z.startsWith($))return!1;return Z.length===$.length||Z[$.length]==="-"}function RZ(Z,$){let J=m(Z)?S(Z).toLowerCase():Z;if(a1(J,$))return!0;if(!$.startsWith("claude-")&&a1(J,`claude-${$}`))return!0;return!1}function r1(Z,$){for(let J of $){if(N0(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 o1(Z){let $=M()||{},{availableModels:J}=$;if(!J)return!0;if(J.length===0)return!1;let Y=Y2(Z).trim().toLowerCase(),X=J.map((q)=>q.trim().toLowerCase());if(X.includes(Y)){if(!N0(Y)||!r1(Y,X))return!0}for(let q of X)if(N0(q)&&!r1(q,X)&&HZ(Y,q))return!0;if(m(Y)){let q=S(Y).toLowerCase();if(X.includes(q))return!0}for(let q of X)if(!N0(q)&&m(q)){if(S(q).toLowerCase()===Y)return!0}for(let q of X)if(!N0(q)&&!m(q)){if(RZ(Y,q))return!0}return!1}var e1=R(()=>{H0();x5();L0();X2()});function R2(Z){if(typeof Z!=="string")return;let $=Z.trim();return $.length>0?$:void 0}function b0(){let Z=D();if(!Z?.model)return;return Q4(Z.model)}function b7(){if(process.env.ANTHROPIC_SMALL_FAST_MODEL)return process.env.ANTHROPIC_SMALL_FAST_MODEL;let Z=b0();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 U7(Z){return Z===B().opus40||Z===B().opus41||Z===B().opus45||Z===B().opus46||Z===B().opus47||Z===B().opus48||Z===B().opus5}function H2(Z){let $=N(Z);return $.includes("opus-5")||$.includes("sonnet-5")||$.includes("fable-5")}function j5(){let Z,$=Z4();if($!==void 0)Z=$;else{let J=M()||{},Q=R2(J.model),X=b0()||Q||void 0,q=J4(),V=R2(q.activeModelForProject);if(V){let x=Y4()?.id,G=q.activeModelForProjectProfileId;Z=G===void 0||G===x?V:X}else Z=X}if(Z&&!o1(Z))return;return Z}function k7(){let Z=j5();if(Z!==void 0&&Z!==null)return S(Z);return V4()}function LZ(){return W0()}function W0(){if(process.env.ANTHROPIC_DEFAULT_OPUS_MODEL)return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;let Z=b0();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 u0(){if(process.env.ANTHROPIC_DEFAULT_SONNET_MODEL)return process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;let Z=b0();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=b0();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 P7(Z){let{permissionMode:$,mainLoopModel:J,exceeds200kTokens:Q=!1}=Z;if(j5()==="opusplan"&&$==="plan"&&!Q)return W0();if(j5()==="haiku"&&$==="plan")return u0();return J}function f0(){let Z=b0();if(W()==="github"){let $=M()||{};return R2($.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(w2()||F2()){let $=W0();return $+(Y5()&&!H2($)?"[1m]":"")}return u0()}function V4(){return S(f0())}function L(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 N(Z){return L(Y2(Z))}function DZ(Z=!1){if(w2()||F2())return`Opus 5 · Most capable for complex work${Z?NZ(!0):""}`;return"Sonnet 5 · Best for everyday tasks"}function O7(Z){if(Z==="opusplan")return"Opus 5 in plan mode, else Sonnet 5";return z4(S(Z))}function v7(Z){if(W()!=="firstParty")return"";let $=z5(V5(Z));return` ·${Z?` (${B5})`:""} ${$}`}function NZ(Z){if(W()!=="firstParty")return"";let $=z5(W5(Z));return` ·${Z?` (${B5})`:""} ${$}`}function Y5(){if(z0()||R5()||W()!=="firstParty")return!1;if(k()&&_()===null)return!1;return!0}function E7(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(m(Z))return $4(Z);return z4(Z)}function W4(Z){if(W()==="openai"||W()==="gemini"||W()==="codex"||W()==="github"){if(m2[Z])return m2[Z];if(W()==="github"){let{getCopilotDisplayName:$}=(I0(),y0(_0));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 z4(Z){let $=W4(Z);if($)return $;if(Z==="github:copilot")return"GPT-4o";return Z}function _7(Z){let $=W4(Z);if($)return`Claude ${$}`;return`Claude (${Z})`}function S(Z){let $=R2(Z);if(!$)return u0();let J=$.toLowerCase(),Q=r(J),Y=Q?J.replace(/\[1m]$/i,"").trim():J;if(m(Y)){let X=(q)=>Q&&!H2(q)?q+"[1m]":q;switch(Y){case"opusplan":return X(u0());case"sonnet":return X(u0());case"haiku":return X(q4());case"opus":return X(W0());case"best":return LZ();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"&&UZ(Y)&&kZ())return W0()+(Q?"[1m]":"");if(Q)return $.replace(/\[1m\]$/i,"").trim()+"[1m]";return $}function I7(Z,$){if(r(Z)||!r($))return Z;if(G5(S(Z)))return Z+"[1m]";return Z}function UZ(Z){return bZ.includes(Z)}function kZ(){return!F(process.env.CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP)}function y7(Z){if(Z===null){if(k())return`Default (${DZ()})`;return`Default (${V4()})`}let $=S(Z);return Z===$?$:`${Z} (${$})`}function T7(Z){if(W()==="foundry")return;let $=Z.toLowerCase().includes("[1m]"),J=N(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 S7(Z){return Z.replace(/\[(1|2)m\]/gi,"")}function M7(Z){let $=N(Z);return $.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("opus-5")||$.includes("fable-5")||$.includes("sonnet-5")}var bZ;var L0=R(()=>{Q0();J0();i();X4();n();H5();g();KZ();X2();s1();H0();t();wZ();e1();x5();FZ();c2();bZ=["claude-opus-4-20250514","claude-opus-4-1-20250805","claude-opus-4-0","claude-opus-4-1"]});function w5(Z){return}async function A7(){}var x4=()=>{};function EZ(Z,$={}){if($.isPro??(vZ.test(Z)||j4.has(Z)))return!1;if(PZ.has(Z))return!0;if(j4.has(Z))return!1;let Q=Z.match(OZ);return Q?Number.parseFloat(Q[1])>5.4:!1}function f7(){return K2.filter((Z)=>EZ(Z.id,{isPro:Z.isPro}))}var K2,PZ,j4,OZ,vZ,B4,G4;var H4=R(()=>{K2=[{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}],PZ=new Set(K2.filter((Z)=>!Z.isPro).map((Z)=>Z.id)),j4=new Set(["gpt-5.5-pro"]),OZ=/^gpt-(\d+\.\d+)/,vZ=/-pro$/;B4=Object.fromEntries(K2.filter((Z)=>Z.contextInput!==void 0).map((Z)=>[Z.id,Z.contextInput])),G4=Object.fromEntries(K2.filter((Z)=>Z.contextOutput!==void 0).map((Z)=>[Z.id,Z.contextOutput]))});var N4={};n2(N4,{prefetchOpenAICompatibleModels:()=>fZ,getDiscoveredContextWindow:()=>_Z,discoverOpenAICompatibleModelOptions:()=>D4});function _Z(Z){return K4.get(Z)}function IZ(){return(D()?.baseUrl??"https://api.openai.com/v1").replace(/\/+$/,"")}function L4(Z){try{let $=new URL(Z).hostname.toLowerCase();return $.endsWith(".openai.azure.com")||$.endsWith(".cognitiveservices.azure.com")}catch{return!1}}function yZ(Z){try{return new URL(Z).hostname.toLowerCase().includes("bankr")}catch{return!1}}function TZ(Z){let $=D()?.apiKey?.trim();if(!$)return{};if(yZ(Z))return{"X-API-Key":$};let J={Authorization:`Bearer ${$}`};if(L4(Z))J["api-key"]=$;return J}function SZ(Z){let $=Z.endsWith("/v1")?`${Z}/models`:`${Z}/v1/models`,J=`${Z}/models`,Q=process.env.OPENAI_API_VERSION?.trim(),Y=Q&&L4(Z)?(X)=>{try{let q=new URL(X);return q.searchParams.set("api-version",Q),q.toString()}catch{return X}}:(X)=>X;if($===J)return[Y($)];return[Y($),Y(J)]}function MZ(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 hZ(Z){if(Z>=1e6)return`${Z/1e6}M ctx`;if(Z>=1000)return`${Math.round(Z/1000)}K ctx`;return`${Z} ctx`}async function AZ(Z,$){let J=new Set;for(let Q of Z)try{let Y=await P.get(Q,{headers:$,timeout:F4}),X=[];for(let q of Y.data?.data??[]){let V=q.id?.trim();if(!V||J.has(V))continue;J.add(V);let x=q.name?.trim()||V,G=q.context_length??null;if(G&&G>0)K4.set(V,G);let H=G?` · ${hZ(G)}`:"";X.push({value:V,label:x,description:`${V}${H}`})}if(X.length>0)return X.sort((q,V)=>{let x=String(q.value).split("/")[0]??"",G=String(V.value).split("/")[0]??"",H=x.localeCompare(G);return H!==0?H:String(q.value).localeCompare(String(V.value))}),X}catch{z(`[ModelDiscovery] Failed to fetch OpenAI models from ${Q}`)}return[]}async function CZ(Z,$){try{let J=await P.get(Z,{headers:$,timeout:F4}),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 D4(){if(W()!=="openai")return[];let Z=IZ(),$=TZ(Z),J=await AZ(SZ(Z),$);if(J.length>0)return J;let Q=MZ(Z);if(Q)return CZ(Q,$);return[]}function fZ(){if(g0)return g0;return g0=(async()=>{if(!w4()?.startsWith("openai:"))return;try{let $=await D4();if($.length>0)R4($)}catch{}finally{g0=null}})(),g0}var F4=5000,K4,g0=null;var b4=R(()=>{q2();J0();a5();$0();t();X4();K4=new Map});function k4(Z,$,J){let Q=D()?.model?.trim();if(Q&&Q!==J){let X=`${Q}:${J}`;if($[X]!==void 0)return $[X];if(Z[X]!==void 0)return Z[X]}let Y=U4($,J);if(Y!==void 0)return Y;return U4(Z,J)}function U4(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 P4(Z){try{let{getDiscoveredContextWindow:J}=(b4(),y0(N4)),Q=J(Z);if(Q!==void 0)return Q}catch{}let $=k4(uZ,pZ,Z);if($!==void 0)return $;try{let{getCatalogCopilotContextWindow:J}=(I0(),y0(_0));return J(Z)}catch{return}}function O4(Z){let $=k4(gZ,mZ,Z);if($!==void 0)return $;try{let{getCatalogCopilotMaxOutputTokens:J}=(I0(),y0(_0));return J(Z)}catch{return}}var uZ,gZ,pZ,mZ;var v4=R(()=>{J0();H4();uZ={"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,...B4,"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},gZ={"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,...G4,"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},pZ=(()=>{try{let Z=process.env.CLAUDE_CODE_OPENAI_CONTEXT_WINDOWS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})(),mZ=(()=>{try{let Z=process.env.CLAUDE_CODE_OPENAI_MAX_OUTPUT_TOKENS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})()});function E4(){let Z=D()?.transport;return Z==="openai_compat"||Z==="gemini"||Z==="mistral"||Z==="github_copilot"||Z==="codex_responses"}function z0(){return F(process.env.CLAUDE_CODE_DISABLE_1M_CONTEXT)}function r(Z){if(z0())return!1;return/\[1m\]/i.test(Z)}function G5(Z){if(z0())return!1;let $=N(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 X9(Z,$){if(r(Z))return 1e6;if(E4()){let Q=P4(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/utils/model/openaiContextWindows.ts for accurate compaction."),cZ}let J=w5(Z);if(J?.max_input_tokens&&J.max_input_tokens>=1e5){if(J.max_input_tokens>F5&&z0())return F5;return J.max_input_tokens}if(!z0()&&(N(Z).includes("fable-5")||N(Z).includes("sonnet-5")||N(Z).includes("opus-5")))return 1e6;if($?.includes(h0)&&G5(Z))return 1e6;if(lZ(Z))return 1e6;return F5}function lZ(Z){if(z0())return!1;if(r(Z))return!1;if(!N(Z).includes("sonnet-4-6"))return!1;return K().clientDataCache?.coral_reef_sonnet==="true"}function q9(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 V9(Z){let $,J;if(E4()){let X=O4(Z);if(X!==void 0)return{default:X,upperLimit:X}}let Q=N(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 $=dZ,J=nZ;let Y=w5(Z);if(Y?.max_tokens&&Y.max_tokens>=4096)J=Y.max_tokens,$=Math.min($,J);return{default:$,upperLimit:J}}var F5=200000,cZ,J9=20000,dZ=32000,nZ=64000,Q9=8000,Y9=64000;var H5=R(()=>{$5();J0();i();g();L0();x4();v4();cZ=(()=>{let Z=parseInt(process.env.CLAUDE_CODE_OPENAI_FALLBACK_CONTEXT_WINDOW??"",10);return!isNaN(Z)&&Z>0?Z:128000})()});var iZ,_4;var I4=R(()=>{t0();t();iZ=[{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"}],_4=y((Z,$)=>{if(W()==="firstParty")return;let J=Z.toLowerCase();for(let Q of iZ){let Y=process.env[Q.modelEnvVar],X=process.env[Q.capabilitiesEnvVar];if(!Y||X===void 0)continue;if(J!==Y.toLowerCase())continue;return X.toLowerCase().split(",").map((q)=>q.trim()).includes($)}return},(Z,$)=>`${Z.toLowerCase()}:${$}`)});function tZ(Z){let $=[],J=[];for(let Q of Z)if(h4.includes(Q))$.push(Q);else J.push(Q);return{allowed:$,disallowed:J}}function P9(Z){if(!Z||Z.length===0)return;if(k()){console.warn("Warning: Custom betas are only available for API key users. Ignoring provided betas.");return}let{allowed:$,disallowed:J}=tZ(Z);for(let Q of J)console.warn(`Warning: Beta header '${Q}' is not allowed. Only the following betas are supported: ${h4.join(", ")}`);return $.length>0?$:void 0}function y4(Z){let $=_4(Z,"interleaved_thinking");if($!==void 0)return $;let J=N(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 sZ(Z){let $=N(Z);return $.includes("claude-opus-4")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function aZ(Z){let $=N(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 rZ(Z){let $=N(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 O9(Z){let $=N(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 v9(){let Z=W();if(Z==="vertex"||Z==="bedrock")return _1;return E1}function T4(){return(W()==="firstParty"||W()==="foundry")&&!F(process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS)}function E9(){if(F(process.env.CLAUDIN_DISABLE_GLOBAL_CACHE_SCOPE))return!1;return W()==="firstParty"&&!F(process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS)}function _9(Z,$){let J=[...A4(Z)];if($?.isAgenticQuery){if(!J.includes(x2))J.push(x2)}let Q=S4();if(!Q||Q.length===0)return J;return[...J,...Q.filter((Y)=>!J.includes(Y))]}function C4(){K5.cache?.clear?.(),A4.cache?.clear?.(),oZ.cache?.clear?.()}var h4,K5,A4,oZ;var f4=R(()=>{t0();A1();Q0();$5();M0();n();H5();g();L0();I4();t();H0();h4=[h0];K5=y((Z)=>{let $=[],J=N(Z).includes("haiku"),Q=W(),Y=T4();if(!J)$.push(x2);if(k())$.push(R0);if(r(Z))$.push(h0);if(!F(process.env.DISABLE_INTERLEAVED_THINKING)&&y4(Z))$.push(P1);if(Y&&y4(Z)&&!f()&&Y0().showThinkingSummaries!==!0)$.push(y1),$.push(T1);let X=aZ(Z);if(T4()&&X)$.push(O1);let q=M4("tengu_tool_pear"),V=!q&&(F(process.env.CLAUDE_CODE_JSON_TOOL_USE)||C0("tengu_amber_json_tools",!1));if(Y&&rZ(Z)&&q)$.push(v1);if(Y&&V)$.push(S1);if(Q==="vertex"&&sZ(Z))$.push(e2);if(Q==="foundry")$.push(e2);if(Y)$.push(I1);if(process.env.ANTHROPIC_BETAS)$.push(...process.env.ANTHROPIC_BETAS.split(",").map((x)=>x.trim()).filter(Boolean));return $}),A4=y((Z)=>{let $=K5(Z);if(W()==="bedrock")return $.filter((J)=>!Z5.has(J));return $}),oZ=y((Z)=>{return K5(Z).filter((J)=>Z5.has(J))})});import{execFile as eZ}from"child_process";function u4(Z){return new Promise(($)=>{eZ("security",["find-generic-password","-a",D2(),"-w","-s",Z],{encoding:"utf-8",timeout:Z$},(J,Q)=>{$({stdout:J?null:Q?.trim()||null,timedOut:Boolean(J&&"killed"in J&&J.killed)})})})}function M9(){if(process.platform!=="darwin"||L2||u())return;let Z=u4(s(g4)),$=u4(s());L2=Promise.all([Z,$]).then(([J,Q])=>{if(!J.timedOut)p4(J.stdout);if(!Q.timedOut)L5={stdout:Q.stdout}})}async function h9(){if(L2)await L2}function m4(){return L5}function D5(){L5=null}var Z$=1e4,L5=null,L2=null;var c4=R(()=>{g();r2()});function N5(Z,$,J){return new Promise((Q,Y)=>{if($?.aborted){if(J?.throwOnAbort||J?.abortError)Y(J.abortError?.()??Error("aborted"));else Q();return}let X=setTimeout((V,x,G)=>{V?.removeEventListener("abort",x),G()},Z,$,q,Q);function q(){if(clearTimeout(X),J?.throwOnAbort||J?.abortError)Y(J.abortError?.()??Error("aborted"));else Q()}if($?.addEventListener("abort",q,{once:!0}),J?.unref)X.unref()})}var d4=()=>{};function f9(){return n4}function l4(){n4.clear()}var n4;var i4=R(()=>{n4=new Map});var d$={};n2(d$,{validateForceLoginOrg:()=>c$,saveOAuthTokensIfNeeded:()=>x8,saveApiKey:()=>A5,removeApiKey:()=>I$,refreshGcpCredentialsIfNeeded:()=>h5,refreshGcpAuth:()=>W8,refreshAwsAuth:()=>q8,refreshAndGetAwsCredentials:()=>j0,prefetchGcpCredentialsIfSafe:()=>O$,prefetchAwsCredentialsAndBedRockInfoIfSafe:()=>v$,prefetchApiKeyFromApiKeyHelperIfSafe:()=>R$,isUsing3PServices:()=>k2,isTeamSubscriber:()=>A$,isTeamPremiumSubscriber:()=>F2,isProSubscriber:()=>R5,isOverageProvisioningAllowed:()=>M$,isOtelHeadersHelperFromProjectOrLocalSettings:()=>H8,isMaxSubscriber:()=>w2,isGcpAuthRefreshFromProjectSettings:()=>M5,isEnterpriseSubscriber:()=>C$,isCustomApiKeyApproved:()=>_$,isConsumerSubscriber:()=>p$,isClaudeAISubscriber:()=>k,isAwsCredentialExportFromProjectSettings:()=>T5,isAwsAuthRefreshFromProjectSettings:()=>I5,isAnthropicAuthEnabled:()=>O0,is1PApiCustomer:()=>S$,hasProfileScope:()=>V0,hasOpusAccess:()=>h$,hasAnthropicApiKeyAuth:()=>j$,handleOAuth401Error:()=>X5,getSubscriptionType:()=>_,getSubscriptionName:()=>B8,getRateLimitTier:()=>j8,getOtelHeadersFromHelper:()=>u$,getOauthAccountInfo:()=>U2,getConfiguredApiKeyHelper:()=>o,getClaudeAIOAuthTokensAsync:()=>c0,getClaudeAIOAuthTokens:()=>w,getAuthTokenSource:()=>S0,getApiKeyHelperElapsedMs:()=>B$,getApiKeyFromConfigOrMacOSKeychain:()=>O2,getApiKeyFromApiKeyHelperCached:()=>U5,getApiKeyFromApiKeyHelper:()=>X8,getAnthropicApiKeyWithSource:()=>n0,getAnthropicApiKey:()=>X0,getAccountInformation:()=>m$,clearOAuthTokenCache:()=>C5,clearGcpCredentialsCache:()=>P$,clearAwsCredentialsCache:()=>D$,clearApiKeyHelperCache:()=>H$,checkGcpCredentialsValid:()=>V8,checkAndRefreshOAuthTokenIfNeeded:()=>l0,calculateApiKeyHelperTTL:()=>Y8});import{exec as J8}from"child_process";import{mkdir as V$,stat as W$}from"fs/promises";import{join as z$}from"path";function b2(){return F(process.env.CLAUDE_CODE_REMOTE)||process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"}function O0(){if(u())return!1;if(process.env.ANTHROPIC_UNIX_SOCKET)return!!process.env.CLAUDE_CODE_OAUTH_TOKEN;let Z=k2(),J=(M()||{}).apiKeyHelper,Q=process.env.ANTHROPIC_AUTH_TOKEN||J||process.env.CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR,Y;try{({source:Y}=n0({skipRetrievingKeyFromApiKeyHelper:!0}))}catch{Y="none"}let X=Y==="ANTHROPIC_API_KEY"||Y==="apiKeyHelper";return!(Z||Q&&!b2()||X&&!b2())}function S0(){if(u()){if(o())return{source:"apiKeyHelper",hasToken:!0};return{source:"none",hasToken:!1}}if(process.env.ANTHROPIC_AUTH_TOKEN&&!b2())return{source:"ANTHROPIC_AUTH_TOKEN",hasToken:!0};if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{source:"CLAUDE_CODE_OAUTH_TOKEN",hasToken:!0};if(W2()){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(o()&&!b2())return{source:"apiKeyHelper",hasToken:!0};let J=w();if(P0(J?.scopes)&&J?.accessToken)return{source:"claude.ai",hasToken:!0};return{source:"none",hasToken:!1}}function X0(){let{key:Z}=n0();return Z}function j$(){try{let{key:Z,source:$}=n0({skipRetrievingKeyFromApiKeyHelper:!0});return Z!==null&&$!=="none"}catch{return!1}}function n0(Z={}){let $=(()=>{let q=D();if(q?.transport!=="anthropic")return;let V=q.apiKey?.trim();return V&&V.length>0?V:void 0})();if(u()){if($)return{key:$,source:"ANTHROPIC_API_KEY"};if(o())return{key:Z.skipRetrievingKeyFromApiKeyHelper?null:U5(),source:"apiKeyHelper"};return{key:null,source:"none"}}let J=r4()?void 0:$;if(j2()&&J)return{key:J,source:"ANTHROPIC_API_KEY"};if(F(process.env.CI)){let q=a2();if(q)return{key:q,source:"ANTHROPIC_API_KEY"};if(!k2()&&!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&&!k2())return{key:J,source:"ANTHROPIC_API_KEY"};return{key:null,source:"none"}}if(J&&K().customApiKeyResponses?.approved?.includes(z2(J)))return{key:J,source:"ANTHROPIC_API_KEY"};let Q=a2();if(Q)return{key:Q,source:"ANTHROPIC_API_KEY"};if(o()){if(Z.skipRetrievingKeyFromApiKeyHelper)return{key:null,source:"apiKeyHelper"};return{key:U5(),source:"apiKeyHelper"}}let X=O2();if(X)return X;return{key:null,source:"none"}}function o(){if(u())return O("flagSettings")?.apiKeyHelper;return(M()||{}).apiKeyHelper}function Q8(){let Z=o();if(!Z)return!1;let $=O("projectSettings"),J=O("localSettings");return $?.apiKeyHelper===Z||J?.apiKeyHelper===Z}function _5(){return(M()||{}).awsAuthRefresh}function I5(){let Z=_5();if(!Z)return!1;let $=O("projectSettings"),J=O("localSettings");return $?.awsAuthRefresh===Z||J?.awsAuthRefresh===Z}function y5(){return(M()||{}).awsCredentialExport}function T5(){let Z=y5();if(!Z)return!1;let $=O("projectSettings"),J=O("localSettings");return $?.awsCredentialExport===Z||J?.awsCredentialExport===Z}function Y8(){let Z=process.env.CLAUDE_CODE_API_KEY_HELPER_TTL_MS;if(Z){let $=parseInt(Z,10);if(!Number.isNaN($)&&$>=0)return $;z(`Found CLAUDE_CODE_API_KEY_HELPER_TTL_MS env var, but it was not a valid number. Got ${Z}`,{level:"error"})}return x$}function B$(){let Z=c?.startedAt;return Z?Date.now()-Z:0}async function X8(Z){if(!o())return null;let $=Y8();if(I){if(Date.now()-I.timestamp<$)return I.value;if(!c)c={promise:t4(Z,!1,k0),startedAt:null};return I.value}if(c)return c.promise;return c={promise:t4(Z,!0,k0),startedAt:Date.now()},c.promise}async function t4(Z,$,J){try{let Q=await G$(Z);if(J!==k0)return Q;if(Q!==null)I={value:Q,timestamp:Date.now()};return Q}catch(Q){if(J!==k0)return" ";let Y=Q instanceof Error?Q.message:String(Q);if(console.error(C.red(`apiKeyHelper failed: ${Y}`)),z(`Error getting API key from apiKeyHelper: ${Y}`,{level:"error"}),!$&&I&&I.value!==" ")return I={...I,timestamp:Date.now()},I.value;return I={value:" ",timestamp:Date.now()}," "}finally{if(J===k0)c=null}}async function G$(Z){let $=o();if(!$)return null;if(Q8()){if(!d()&&!Z){let X=Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("apiKeyHelper invoked before trust check",X),j("tengu_apiKeyHelper_missing_trust11",{}),null}}let J=await F0($,{shell:!0,timeout:600000,reject:!1});if(J.failed){let Y=J.timedOut?"timed out":`exited ${J.exitCode}`,X=J.stderr?.trim();throw Error(X?`${Y}: ${X}`:Y)}let Q=J.stdout?.trim();if(!Q)throw Error("did not return a value");return Q}function U5(){return I?.value??null}function H$(){k0++,I=null,c=null}function R$(Z){if(Q8()&&!d())return;X8(Z)}async function F$(){let Z=_5();if(!Z)return!1;if(I5()){if(!d()&&!f()){let J=Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("awsAuthRefresh invoked before trust check",J),j("tengu_awsAuthRefresh_missing_trust",{}),!1}}try{return z("Fetching AWS caller identity for AWS auth refresh command"),await o2(),z("Fetched AWS caller identity, skipping AWS auth refresh command"),!1}catch{return q8(Z)}}function q8(Z){z("Running AWS auth refresh command");let $=h.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=J8(Z,{timeout:K$});Q.stdout.on("data",(Y)=>{let X=Y.toString().trim();if(X)$.addOutput(X),z(X,{level:"debug"})}),Q.stderr.on("data",(Y)=>{let X=Y.toString().trim();if(X)$.setError(X),z(X,{level:"error"})}),Q.on("close",(Y,X)=>{if(Y===0)z("AWS auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let V=X==="SIGTERM"?C.red("AWS auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):C.red("Error running awsAuthRefresh (in settings or ~/.claudin/config.json):");console.error(V),$.endAuthentication(!1),J(!1)}})})}async function L$(){let Z=y5();if(!Z)return null;if(T5()){if(!d()&&!f()){let J=Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("awsCredentialExport invoked before trust check",J),j("tengu_awsCredentialExport_missing_trust",{}),null}}try{return z("Fetching AWS caller identity for credential export command"),await o2(),z("Fetched AWS caller identity, skipping AWS credential export command"),null}catch{try{z("Running AWS credential export command");let $=await F0(Z,{shell:!0,reject:!1});if($.exitCode!==0||!$.stdout)throw Error("awsCredentialExport did not return a valid value");let J=O5($.stdout.trim());if(!D1(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=C.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 D$(){j0.cache.clear()}function S5(){return(M()||{}).gcpAuthRefresh}function M5(){let Z=S5();if(!Z)return!1;let $=O("projectSettings"),J=O("localSettings");return $?.gcpAuthRefresh===Z||J?.gcpAuthRefresh===Z}async function V8(){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=N5(N$).then(()=>{throw new R8("GCP credentials check timed out")});return await Promise.race([J,Q]),!0}catch{return!1}}async function U$(){let Z=S5();if(!Z)return!1;if(M5()){if(!d()&&!f()){let J=Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${MACRO.FEEDBACK_CHANNEL}.`);return d0("gcpAuthRefresh invoked before trust check",J),j("tengu_gcpAuthRefresh_missing_trust",{}),!1}}try{if(z("Checking GCP credentials validity for auth refresh"),await V8())return z("GCP credentials are valid, skipping auth refresh command"),!1}catch{}return W8(Z)}function W8(Z){z("Running GCP auth refresh command");let $=h.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=J8(Z,{timeout:k$});Q.stdout.on("data",(Y)=>{let X=Y.toString().trim();if(X)$.addOutput(X),z(X,{level:"debug"})}),Q.stderr.on("data",(Y)=>{let X=Y.toString().trim();if(X)$.setError(X),z(X,{level:"error"})}),Q.on("close",(Y,X)=>{if(Y===0)z("GCP auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let V=X==="SIGTERM"?C.red("GCP auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):C.red("Error running gcpAuthRefresh (in settings or ~/.claudin/config.json):");console.error(V),$.endAuthentication(!1),J(!1)}})})}function P$(){h5.cache.clear()}function O$(){if(!S5())return;if(M5()){if(!d()&&!f())return}h5()}function v$(){let Z=_5(),$=y5();if(!Z&&!$)return;if(I5()||T5()){if(!d()&&!f())return}j0(),B()}function E$(Z){return/^[a-zA-Z0-9-_]+$/.test(Z)}async function A5(Z){if(!E$(Z))throw Error("Invalid API key format. API key must contain only alphanumeric characters, dashes, and underscores.");await z8();let $=!1;if(process.platform==="darwin")try{let Q=s(),Y=D2(),X=Buffer.from(Z,"utf-8").toString("hex"),q=`add-generic-password -U -a "${Y}" -s "${Q}" -X "${X}"
|
|
2
|
-
`;await F0("security",["-i"],{input:q,reject:!1}),j("tengu_api_key_saved_to_keychain",{}),$=!0}catch(Q){b(Q),j("tengu_api_key_keychain_error",{error:p(Q)}),j("tengu_api_key_saved_to_config",{})}else j("tengu_api_key_saved_to_config",{});let J=z2(Z);A((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??[]}}}),O2.cache.clear?.(),D5()}function _$(Z){let $=K(),J=z2(Z);return $.customApiKeyResponses?.approved?.includes(J)??!1}async function I$(){await z8(),A((Z)=>({...Z,primaryApiKey:void 0})),O2.cache.clear?.(),D5()}async function z8(){try{await K1()}catch(Z){b(Z)}}function x8(Z){if(!P0(Z.scopes))return j("tengu_oauth_tokens_not_claude_ai",{}),{success:!0};if(!Z.refreshToken||!Z.expiresAt)return j("tengu_oauth_tokens_inference_only",{}),{success:!0};let $=P2(),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 X=$.update(Q);if(X.success)j("tengu_oauth_tokens_saved",{storageBackend:J});else j("tengu_oauth_tokens_save_failed",{storageBackend:J});return w.cache?.clear?.(),C4(),l4(),X}catch(Q){return b(Q),j("tengu_oauth_tokens_save_exception",{storageBackend:J,error:p(Q)}),{success:!1,warning:"Failed to save OAuth tokens"}}}function C5(){w.cache?.clear?.(),U0()}async function y$(){try{let{mtimeMs:Z}=await W$(z$(P5(),".credentials.json"));if(Z!==s4)s4=Z,C5()}catch{w.cache?.clear?.()}}function X5(Z){let $=b5.get(Z);if($)return $;let J=T$(Z).finally(()=>{b5.delete(Z)});return b5.set(Z,J),J}async function T$(Z){C5();let $=await c0();if(!$?.refreshToken)return!1;if($.accessToken!==Z)return j("tengu_oauth_401_recovered_from_keychain",{}),!0;return l0(0,!0)}async function c0(){if(u())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN||W2())return w();try{let J=(await P2().readAsync())?.claudeAiOauth;if(!J?.accessToken)return null;return J}catch(Z){return b(Z),null}}function l0(Z=0,$=!1){if(Z===0&&!$){if(p0)return p0;return p0=k5(Z,$).finally(()=>{p0=null}),p0}return k5(Z,$)}async function k5(Z,$){await y$();let Q=w();if(!$){if(!Q?.refreshToken||!m0(Q.expiresAt))return!1}if(!Q?.refreshToken)return!1;if(!P0(Q.scopes))return!1;w.cache?.clear?.(),U0();let Y=await c0();if(!Y?.refreshToken||!m0(Y.expiresAt))return!1;let X=P5();await V$(X,{recursive:!0});let q;try{j("tengu_oauth_token_refresh_lock_acquiring",{}),q=await e4(X),j("tengu_oauth_token_refresh_lock_acquired",{})}catch(V){if(V.code==="ELOCKED"){if(Z<5)return j("tengu_oauth_token_refresh_lock_retry",{retryCount:Z+1}),await N5(1000+Math.random()*1000),k5(Z+1,$);return j("tengu_oauth_token_refresh_lock_retry_limit_reached",{maxRetries:5}),!1}return b(V),j("tengu_oauth_token_refresh_lock_error",{error:p(V)}),!1}try{w.cache?.clear?.(),U0();let V=await c0();if(!V?.refreshToken||!m0(V.expiresAt))return j("tengu_oauth_token_refresh_race_resolved",{}),!1;j("tengu_oauth_token_refresh_starting",{});let x=await Z8(V.refreshToken,{scopes:P0(V.scopes)?void 0:V.scopes});return x8(x),w.cache?.clear?.(),U0(),!0}catch(V){b(V),w.cache?.clear?.(),U0();let x=await c0();if(x&&!m0(x.expiresAt))return j("tengu_oauth_token_refresh_race_recovered",{}),!0;return!1}finally{j("tengu_oauth_token_refresh_lock_releasing",{}),await q(),j("tengu_oauth_token_refresh_lock_released",{})}}function k(){if(!O0())return!1;return P0(w()?.scopes)}function V0(){return w()?.scopes?.includes(o4)??!1}function S$(){{let Z=D()?.transport;if(Z==="bedrock"||Z==="vertex"||Z==="foundry")return!1}if(k())return!1;return!0}function U2(){return O0()?K().oauthAccount:void 0}function M$(){let $=U2()?.billingType;if(!k()||!$)return!1;if($!=="stripe_subscription"&&$!=="stripe_subscription_contracted"&&$!=="apple_subscription"&&$!=="google_play_subscription")return!1;return!0}function h$(){let Z=_();return Z==="max"||Z==="enterprise"||Z==="team"||Z==="pro"||Z===null}function _(){if(q1())return X1();if(!O0())return null;let Z=w();if(!Z)return null;return Z.subscriptionType??null}function w2(){return _()==="max"}function A$(){return _()==="team"}function F2(){return _()==="team"&&j8()==="default_claude_max_5x"}function C$(){return _()==="enterprise"}function R5(){return _()==="pro"}function j8(){if(!O0())return null;let Z=w();if(!Z)return null;return Z.rateLimitTier??null}function B8(){switch(_()){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 k2(){let Z=D()?.transport;if(!Z)return!1;return Z!=="anthropic"}function G8(){return(M()||{}).otelHeadersHelper}function H8(){let Z=G8();if(!Z)return!1;let $=O("projectSettings"),J=O("localSettings");return $?.otelHeadersHelper===Z||J?.otelHeadersHelper===Z}function u$(){let Z=G8();if(!Z)return{};let $=parseInt(process.env.CLAUDE_CODE_OTEL_HEADERS_HELPER_DEBOUNCE_MS||f$.toString());if(N2&&Date.now()-a4<$)return N2;if(H8()){if(!d())return{}}try{let J=v5(Z,{timeout:30000})?.toString().trim();if(!J)throw Error("otelHeadersHelper did not return a valid value");let Q=O5(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,X]of Object.entries(Q))if(typeof X!=="string")throw Error(`otelHeadersHelper returned non-string value for key "${Y}": ${typeof X}`);return N2=Q,a4=Date.now(),N2}catch(J){throw b(Error(`Error getting OpenTelemetry headers from otelHeadersHelper (in settings): ${p(J)}`)),J}}function g$(Z){return Z==="max"||Z==="pro"}function p$(){let Z=_();return k()&&Z!==null&&g$(Z)}function m$(){if(W()!=="firstParty")return;let{source:$}=S0(),J={};if($==="CLAUDE_CODE_OAUTH_TOKEN"||$==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR")J.tokenSource=$;else if(k())J.subscription=B8();else J.tokenSource=$;let{key:Q,source:Y}=n0();if(Q)J.apiKeySource=Y;if($==="claude.ai"||Y==="/login managed key"){let q=U2()?.organizationName;if(q)J.organization=q}let X=U2()?.emailAddress;if(($==="claude.ai"||Y==="/login managed key")&&X)J.email=X;return J}async function c$(){if(process.env.ANTHROPIC_UNIX_SOCKET)return{valid:!0};if(!O0())return{valid:!0};let Z=O("policySettings")?.forceLoginOrgUUID;if(!Z)return{valid:!0};await l0();let $=w();if(!$)return{valid:!0};let{source:J}=S0(),Q=J==="CLAUDE_CODE_OAUTH_TOKEN"||J==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",Y=await w0($.accessToken);if(!Y)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 X=Y.organization.uuid;if(X===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: ${X}
|
|
11
|
-
|
|
12
|
-
Remove the environment variable or obtain a token for the correct organization.`};return{valid:!1,message:`Your authentication token belongs to organization ${X},
|
|
13
|
-
but this machine requires organization ${Z}.
|
|
14
|
-
|
|
15
|
-
Please log in with the correct organization: claude auth login`}}var x$=300000,I=null,c=null,k0=0,w$=3600000,K$=180000,j0,N$=5000,b$=3600000,k$=180000,h5,O2,w,s4=0,b5,p0=null,N2=null,a4=0,f$=1740000,R8;var n=R(()=>{J$();F1();t0();M0();B2();X2();t();Q0();J0();V1();$8();t2();w1();L1();b1();k1();f4();i();$0();g();H1();Q$();X$();s0();Y$();q$();c4();r2();H0();d4();$$();i4();j0=E5(async()=>{let Z=await F$(),$=await L$();if(Z||$)await N1();return $},w$);h5=E5(async()=>{return await U$()},b$);O2=y(()=>{if(u())return null;if(process.platform==="darwin"){let $=m4();if($){if($.stdout)return{key:$.stdout,source:"/login managed key"}}else{let J=s();try{let Q=v5(`security find-generic-password -a $USER -w -s "${J}"`);if(Q)return{key:Q,source:"/login managed key"}}catch(Q){b(Q)}}}let Z=K();if(!Z.primaryApiKey)return null;return{key:Z.primaryApiKey,source:"/login managed key"}});w=y(()=>{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=W2();if(Z)return{accessToken:Z,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};try{let Q=P2().read()?.claudeAiOauth;if(!Q?.accessToken)return null;return Q}catch($){return b($),null}});b5=new Map;R8=class R8 extends Error{}});function P0(Z){return Boolean(Z?.includes(f5))}function n$(Z){return Z?.split(" ").filter(Boolean)??[]}function EQ({codeChallenge:Z,state:$,port:J,isManual:Q,loginWithClaudeAi:Y,inferenceOnly:X,orgUUID:q,loginHint:V,loginMethod:x}){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 x0=X?[f5]:K8;if(H.searchParams.append("scope",x0.join(" ")),H.searchParams.append("code_challenge",Z),H.searchParams.append("code_challenge_method","S256"),H.searchParams.append("state",$),q)H.searchParams.append("orgUUID",q);if(V)H.searchParams.append("login_hint",V);if(x)H.searchParams.append("login_method",x);return H.toString()}async function _Q(Z,$,J,Q,Y=!1,X){let q={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(X!==void 0)q.expires_in=X;let V=await P.post(U().TOKEN_URL,q,{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 j("tengu_oauth_token_exchange_success",{}),V.data}async function Z8(Z,{scopes:$}={}){let J={grant_type:"refresh_token",refresh_token:Z,client_id:U().CLIENT_ID,scope:(($?.length)?$:F8).join(" ")};try{let Q=await P.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:X,refresh_token:q=Z,expires_in:V}=Y,x=Date.now()+V*1000,G=n$(Y.scope);j("tengu_oauth_token_refresh_success",{});let H=K(),x0=w(),v=H.oauthAccount?.billingType!==void 0&&H.oauthAccount?.accountCreatedAt!==void 0&&H.oauthAccount?.subscriptionCreatedAt!==void 0&&x0?.subscriptionType!=null&&x0?.rateLimitTier!=null?null:await l$(X);if(v&&H.oauthAccount){let e={};if(v.displayName!==void 0)e.displayName=v.displayName;if(typeof v.hasExtraUsageEnabled==="boolean")e.hasExtraUsageEnabled=v.hasExtraUsageEnabled;if(v.billingType!==null)e.billingType=v.billingType;if(v.accountCreatedAt!==void 0)e.accountCreatedAt=v.accountCreatedAt;if(v.subscriptionCreatedAt!==void 0)e.subscriptionCreatedAt=v.subscriptionCreatedAt;if(Object.keys(e).length>0)A((i0)=>({...i0,oauthAccount:i0.oauthAccount?{...i0.oauthAccount,...e}:i0.oauthAccount}))}return{accessToken:X,refreshToken:q,expiresAt:x,scopes:G,subscriptionType:v?.subscriptionType??x0?.subscriptionType??null,rateLimitTier:v?.rateLimitTier??x0?.rateLimitTier??null,profile:v?.rawProfile,tokenAccount:Y.account?{uuid:Y.account.uuid,emailAddress:Y.account.email_address,organizationUuid:Y.organization?.uuid}:void 0}}catch(Q){let Y=P.isAxiosError(Q)&&Q.response?.data?JSON.stringify(Q.response.data):void 0;throw j("tengu_oauth_token_refresh_failure",{error:Q.message,...Y&&{responseBody:Y}}),Q}}async function IQ(Z){let $=await P.get(U().ROLES_URL,{headers:{Authorization:`Bearer ${Z}`}});if($.status!==200)throw Error(`Failed to fetch user roles: ${$.statusText}`);let J=$.data;if(!K().oauthAccount)throw Error("OAuth account information not found in config");A((Y)=>({...Y,oauthAccount:Y.oauthAccount?{...Y.oauthAccount,organizationRole:J.organization_role,workspaceRole:J.workspace_role,organizationName:J.organization_name}:Y.oauthAccount})),j("tengu_oauth_roles_stored",{org_role:J.organization_role})}async function yQ(Z){try{let $=await P.post(U().API_KEY_URL,null,{headers:{Authorization:`Bearer ${Z}`}}),J=$.data?.raw_key;if(J)return await A5(J),j("tengu_oauth_api_key",{status:"success",statusCode:$.status}),J;return null}catch($){throw j("tengu_oauth_api_key",{status:"failure",error:$ instanceof Error?$.message:String($)}),$}}function m0(Z){if(Z===null)return!1;let $=300000;return Date.now()+$>=Z}async function l$(Z){let $=await w0(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 j("tengu_oauth_profile_fetch_success",{}),{...Y,rawProfile:$}}async function TQ(){let $=K().oauthAccount?.organizationUuid;if($)return $;let J=w()?.accessToken;if(J===void 0||!V0())return null;let Y=(await w0(J))?.organization?.uuid;if(!Y)return null;return Y}async function SQ(){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(!K().oauthAccount)w8({accountUuid:Z,emailAddress:$,organizationUuid:J})}await l0();let Y=K();if(Y.oauthAccount&&Y.oauthAccount.billingType!==void 0&&Y.oauthAccount.accountCreatedAt!==void 0&&Y.oauthAccount.subscriptionCreatedAt!==void 0||!k()||!V0())return!1;let X=w();if(X?.accessToken){let q=await w0(X.accessToken);if(q){if(Q)z("OAuth profile fetch succeeded, overriding env var account info",{level:"info"});return w8({accountUuid:q.account.uuid,emailAddress:q.account.email,organizationUuid:q.organization.uuid,displayName:q.account.display_name||void 0,hasExtraUsageEnabled:q.organization.has_extra_usage_enabled??!1,billingType:q.organization.billing_type??void 0,accountCreatedAt:q.account.created_at,subscriptionCreatedAt:q.organization.subscription_created_at??void 0}),!0}}return!1}function w8({accountUuid:Z,emailAddress:$,organizationUuid:J,displayName:Q,hasExtraUsageEnabled:Y,billingType:X,accountCreatedAt:q,subscriptionCreatedAt:V}){let x={accountUuid:Z,emailAddress:$,organizationUuid:J,hasExtraUsageEnabled:Y,billingType:X,accountCreatedAt:q,subscriptionCreatedAt:V};if(Q)x.displayName=Q;A((G)=>{if(G.oauthAccount?.accountUuid===x.accountUuid&&G.oauthAccount?.emailAddress===x.emailAddress&&G.oauthAccount?.organizationUuid===x.organizationUuid&&G.oauthAccount?.displayName===x.displayName&&G.oauthAccount?.hasExtraUsageEnabled===x.hasExtraUsageEnabled&&G.oauthAccount?.billingType===x.billingType&&G.oauthAccount?.accountCreatedAt===x.accountCreatedAt&&G.oauthAccount?.subscriptionCreatedAt===x.subscriptionCreatedAt)return G;return{...G,oauthAccount:x}})}var $8=R(()=>{q2();B2();M0();n();i();$0();t2()});
|
|
16
|
-
export{M9 as J4,h9 as K4,c4 as L4,u5 as M4,g5 as N4,ZJ as O4,$J as P4,D8 as Q4,U8 as R4,JJ as S4,d5 as T4,a0 as U4,v0 as V4,B0 as W4,p2 as X4,i2 as Y4,I8 as Z4,I0 as _4,W as $4,HJ as a5,A8 as b5,RJ as c5,wJ as d5,FJ as e5,t as f5,B as g5,OJ as h5,X2 as i5,yJ as j5,TJ as k5,Y1 as l5,AJ as m5,CJ as n5,V1 as o5,dJ as p5,w0 as q5,t2 as r5,P0 as s5,n$ as t5,EQ as u5,_Q as v5,Z8 as w5,IQ as x5,yQ as y5,m0 as z5,l$ as A5,TQ as B5,SQ as C5,w8 as D5,$8 as E5,oJ as F5,n8 as G5,W1 as H5,w1 as I5,z2 as J5,L1 as K5,Y3 as L5,b1 as M5,h as N5,k1 as O5,h0 as P5,O1 as Q5,v1 as R5,W3 as S5,z3 as T5,I1 as U5,x3 as V5,j3 as W5,y1 as X5,B3 as Y5,G3 as Z5,H3 as _5,$5,T as a6,u1 as b6,s8 as c6,y3 as d6,T3 as e6,S3 as f6,g1 as g6,M3 as h6,h3 as i6,a8 as j6,A3 as k6,C3 as l6,f3 as m6,u3 as n6,g3 as o6,e8 as p6,p3 as q6,m3 as r6,c3 as s6,d3 as t6,d1 as u6,D0 as v6,JZ as w6,QZ as x6,YZ as y6,V5 as z6,jZ as A6,r3 as B6,z5 as C6,s1 as D6,BZ as E6,x5 as F6,o1 as G6,e1 as H6,b7 as I6,U7 as J6,H2 as K6,j5 as L6,k7 as M6,LZ as N6,W0 as O6,u0 as P6,q4 as Q6,P7 as R6,f0 as S6,V4 as T6,L as U6,N as V6,DZ as W6,O7 as X6,v7 as Y6,NZ as Z6,Y5 as _6,E7 as $6,W4 as a7,z4 as b7,_7 as c7,S as d7,I7 as e7,kZ as f7,y7 as g7,T7 as h7,S7 as i7,M7 as j7,L0 as k7,A7 as l7,x4 as m7,f7 as n7,H4 as o7,D4 as p7,fZ as q7,b4 as r7,J9 as s7,Q9 as t7,Y9 as u7,z0 as v7,r as w7,X9 as x7,lZ as y7,q9 as z7,V9 as A7,H5 as B7,_4 as C7,I4 as D7,P9 as E7,rZ as F7,O9 as G7,v9 as H7,T4 as I7,E9 as J7,A4 as K7,oZ as L7,_9 as M7,C4 as N7,f4 as O7,N5 as P7,d4 as Q7,f9 as R7,l4 as S7,i4 as T7,O0 as U7,S0 as V7,X0 as W7,j$ as X7,n0 as Y7,o as Z7,I5 as _7,T5 as $7,Y8 as a8,B$ as b8,X8 as c8,U5 as d8,H$ as e8,R$ as f8,q8 as g8,j0 as h8,D$ as i8,M5 as j8,V8 as k8,W8 as l8,h5 as m8,P$ as n8,O$ as o8,v$ as p8,O2 as q8,A5 as r8,_$ as s8,I$ as t8,x8 as u8,w as v8,C5 as w8,X5 as x8,c0 as y8,l0 as z8,k as A8,V0 as B8,S$ as C8,U2 as D8,M$ as E8,h$ as F8,_ as G8,w2 as H8,A$ as I8,F2 as J8,C$ as K8,R5 as L8,j8 as M8,B8 as N8,k2 as O8,H8 as P8,u$ as Q8,p$ as R8,m$ as S8,c$ as T8,d$ as U8,n as V8};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ysa as o}from"./cli-1.1.1-vsc2bhws.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
-
export{t as s9,i as t9,n as u9,s as v9,c as w9,r as x9,a as y9,p as z9,_ as A9,S as B9,E as C9,e as D9};
|