@claudiolabs/claudin 1.1.21 → 1.1.23
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.23-vycpz7yt.mjs +1 -0
- package/dist/chunks/App-1.1.23-4e8j2bd3.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.23-zst4089h.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.23-5hcs6ecz.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.23-dd0gy0z6.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.23-st6gcnzm.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.23-9q5hv0m5.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.23-37xx0cvg.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.23-0mhma9am.mjs +6 -0
- package/dist/chunks/Doctor-1.1.23-er5wr07d.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.23-r0q2mdyq.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.23-9w1hnwqa.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.23-pceysmem.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.23-wqg7m1yb.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.23-jvwd5evb.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.23-12qbzfp4.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.23-gz4gqcm4.mjs +1 -0
- package/dist/chunks/REPL-1.1.23-vg0qg9my.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.23-ma5pytfz.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.23-j0x7q43m.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.23-5fbd2jd2.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.23-zx9qhe0w.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.23-2fpwy0ej.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.23-fjghg3n9.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.23-ct6qdm0d.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.23-ajcjhwrt.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.23-taz5qq4d.mjs +1 -0
- package/dist/chunks/add-dir-1.1.23-yb7mzffx.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.23-779zy67c.mjs +1 -0
- package/dist/chunks/agents-1.1.23-13ae3y31.mjs +110 -0
- package/dist/chunks/agents-1.1.23-mz2jsne2.mjs +3 -0
- package/dist/chunks/api-1.1.23-sadzsv9h.mjs +1 -0
- package/dist/chunks/asciicast-1.1.23-ccrtpq7h.mjs +1 -0
- package/dist/chunks/assistant-1.1.23-35t6yajq.mjs +1 -0
- package/dist/chunks/auth-1.1.23-2mazt66r.mjs +1 -0
- package/dist/chunks/auth-1.1.23-f804wpq0.mjs +1 -0
- package/dist/chunks/autoMode-1.1.23-14t0khqy.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.23-xxctnwmg.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.23-wjwsw0rs.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.23-pdgb72sw.mjs +1 -0
- package/dist/chunks/branch-1.1.23-df4c0964.mjs +4 -0
- package/dist/chunks/bridge-1.1.23-kkp1c9j5.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.23-5xm11ndj.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.23-tjahj3z4.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.23-0pzcvrp1.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.23-6rp86r12.mjs +1 -0
- package/dist/chunks/btw-1.1.23-8eq1q86j.mjs +1 -0
- package/dist/chunks/buddy-1.1.23-1raw3vjp.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.23-t476aagd.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.23-r3dg9dbs.mjs +4 -0
- package/dist/chunks/caches-1.1.23-6eegsnhk.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.23-rwmxta3h.mjs +1 -0
- package/dist/chunks/claudemd-1.1.23-av012etb.mjs +1 -0
- package/dist/chunks/clear-1.1.23-z6d1gwfs.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.23-stp5kwm2.mjs +1 -0
- package/dist/chunks/cli-1.1.23-08g4ya29.mjs +2 -0
- package/dist/chunks/cli-1.1.23-0mg2h5ny.mjs +4 -0
- package/dist/chunks/cli-1.1.23-13w02myd.mjs +2 -0
- package/dist/chunks/cli-1.1.23-18zz9bbk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1a2n71wn.mjs +5 -0
- package/dist/chunks/cli-1.1.23-1e9zjn1z.mjs +3 -0
- package/dist/chunks/cli-1.1.23-1fexxp20.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1fy18jhn.mjs +4 -0
- package/dist/chunks/cli-1.1.23-1r6w3hc9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1rea0qrn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-1rv4y64b.mjs +2 -0
- package/dist/chunks/cli-1.1.23-2arbhkcc.mjs +24 -0
- package/dist/chunks/cli-1.1.23-2cqrzcwp.mjs +4 -0
- package/dist/chunks/cli-1.1.23-2g7503ny.mjs +133 -0
- package/dist/chunks/cli-1.1.23-2gax24jg.mjs +2 -0
- package/dist/chunks/cli-1.1.23-2swa87qn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-2zmj7bmt.mjs +2 -0
- package/dist/chunks/cli-1.1.23-39e6gsmv.mjs +7 -0
- package/dist/chunks/cli-1.1.23-3hnz7314.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3myqt8k1.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3t45wkcy.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3tbvgbsz.mjs +24 -0
- package/dist/chunks/cli-1.1.23-3v88zfgv.mjs +2 -0
- package/dist/chunks/cli-1.1.23-3vzk6gte.mjs +2 -0
- package/dist/chunks/cli-1.1.23-4r2e2zqk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-4tcfdexs.mjs +3 -0
- package/dist/chunks/cli-1.1.23-4z00tj56.mjs +20 -0
- package/dist/chunks/cli-1.1.23-534g4n3n.mjs +2 -0
- package/dist/chunks/cli-1.1.23-5bcs19jr.mjs +2 -0
- package/dist/chunks/cli-1.1.23-5jka5ps0.mjs +2 -0
- package/dist/chunks/cli-1.1.23-5nf6hd1y.mjs +3 -0
- package/dist/chunks/cli-1.1.23-5xfyp6fr.mjs +2 -0
- package/dist/chunks/cli-1.1.23-61q858yx.mjs +24 -0
- package/dist/chunks/cli-1.1.23-67rrc0m6.mjs +6 -0
- package/dist/chunks/cli-1.1.23-6801e7pm.mjs +34 -0
- package/dist/chunks/cli-1.1.23-69bhvv0j.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6d34yw4z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6dmkrxmn.mjs +3 -0
- package/dist/chunks/cli-1.1.23-6eg5g01d.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6f46jqfm.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6fa2z4j7.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6jn1rxac.mjs +3 -0
- package/dist/chunks/cli-1.1.23-6svwd47h.mjs +2 -0
- package/dist/chunks/cli-1.1.23-6vn61k3h.mjs +4 -0
- package/dist/chunks/cli-1.1.23-6zb0fha5.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7081am2r.mjs +60 -0
- package/dist/chunks/cli-1.1.23-73rtfe6f.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7672wfdw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-79fjt009.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7btdskbp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7jpsfgxt.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7ke90t8x.mjs +2 -0
- package/dist/chunks/cli-1.1.23-7p15pph2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-84j1qdx5.mjs +2 -0
- package/dist/chunks/cli-1.1.23-89dm39zw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8cwhqjmg.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8qrr5zea.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8sb0xktt.mjs +1 -0
- package/dist/chunks/cli-1.1.23-8tv84m75.mjs +2 -0
- package/dist/chunks/cli-1.1.23-8yb4p9wj.mjs +4 -0
- package/dist/chunks/cli-1.1.23-8zysx8xg.mjs +6 -0
- package/dist/chunks/cli-1.1.23-913hrrgx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-91n79mdp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-971f3zzk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9b08qsth.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9bpzr9w9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9h8vjbtg.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9qe28y65.mjs +16 -0
- package/dist/chunks/cli-1.1.23-9txgxd8x.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9vqnsq1x.mjs +2 -0
- package/dist/chunks/cli-1.1.23-9zrhw582.mjs +2 -0
- package/dist/chunks/cli-1.1.23-a1w72kgd.mjs +12 -0
- package/dist/chunks/cli-1.1.23-a6h0h87f.mjs +18 -0
- package/dist/chunks/cli-1.1.23-a95wepyn.mjs +66 -0
- package/dist/chunks/cli-1.1.23-a9b5aae8.mjs +2 -0
- package/dist/chunks/cli-1.1.23-afsrnsz6.mjs +7 -0
- package/dist/chunks/cli-1.1.23-ah6fas1q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-akghy19s.mjs +58 -0
- package/dist/chunks/cli-1.1.23-b00bqmpw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-bdj1ne1r.mjs +2 -0
- package/dist/chunks/cli-1.1.23-beazn1ym.mjs +45 -0
- package/dist/chunks/cli-1.1.23-bfcbpz9k.mjs +15 -0
- package/dist/chunks/cli-1.1.23-bghc6n12.mjs +2 -0
- package/dist/chunks/cli-1.1.23-bkd2235z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-bqb900hx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-btem08d6.mjs +2 -0
- package/dist/chunks/cli-1.1.23-c49xxwj4.mjs +2 -0
- package/dist/chunks/cli-1.1.23-c5rb4b67.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cdsq9bfc.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cf9wpsc7.mjs +3 -0
- package/dist/chunks/cli-1.1.23-cg8mndc0.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cmmvjc9g.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cp5z31eb.mjs +2 -0
- package/dist/chunks/cli-1.1.23-cpdr6mcc.mjs +50 -0
- package/dist/chunks/cli-1.1.23-d98p8mnw.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dd8dp11f.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dm6get34.mjs +42 -0
- package/dist/chunks/cli-1.1.23-dmc5g4zs.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dnf57r3v.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dspgg8gk.mjs +2 -0
- package/dist/chunks/cli-1.1.23-dxtv4be7.mjs +2 -0
- package/dist/chunks/cli-1.1.23-e3g5ahaf.mjs +2 -0
- package/dist/chunks/cli-1.1.23-e3zf752q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-e7vvcy9q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-ea3wd7a4.mjs +9 -0
- package/dist/chunks/cli-1.1.23-eh1w5te8.mjs +2 -0
- package/dist/chunks/cli-1.1.23-eyrgaj5n.mjs +15 -0
- package/dist/chunks/cli-1.1.23-f001cyx3.mjs +2 -0
- package/dist/chunks/cli-1.1.23-f1xqkfa1.mjs +2 -0
- package/dist/chunks/cli-1.1.23-f3x0gp77.mjs +2 -0
- package/dist/chunks/cli-1.1.23-fd4gay6z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-ft6azs1x.mjs +3 -0
- package/dist/chunks/cli-1.1.23-fxt20eva.mjs +2 -0
- package/dist/chunks/cli-1.1.23-fxyf1cph.mjs +2 -0
- package/dist/chunks/cli-1.1.23-g16f6f0k.mjs +6 -0
- package/dist/chunks/cli-1.1.23-g3ps2zfa.mjs +2 -0
- package/dist/chunks/cli-1.1.23-g6b9c447.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gfa8cfzz.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gqpma6kp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gqzmsste.mjs +2 -0
- package/dist/chunks/cli-1.1.23-gt2whh9g.mjs +25 -0
- package/dist/chunks/cli-1.1.23-h8qgj8ca.mjs +17 -0
- package/dist/chunks/cli-1.1.23-h9a97qvh.mjs +17 -0
- package/dist/chunks/cli-1.1.23-hdrz15yh.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hemwg8ag.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hkttfc6z.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hmtg8m65.mjs +2 -0
- package/dist/chunks/cli-1.1.23-hynrf6x1.mjs +5456 -0
- package/dist/chunks/cli-1.1.23-j1834bmw.mjs +8 -0
- package/dist/chunks/cli-1.1.23-j50f02dv.mjs +3 -0
- package/dist/chunks/cli-1.1.23-j8pns1dc.mjs +9 -0
- package/dist/chunks/cli-1.1.23-j9tza8qb.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jam2qpf9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jax91df0.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jb9w45wb.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jefmjg1q.mjs +2 -0
- package/dist/chunks/cli-1.1.23-jf6jqrkj.mjs +4 -0
- package/dist/chunks/cli-1.1.23-jv6dcqe2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-kc1tbe8y.mjs +6 -0
- package/dist/chunks/cli-1.1.23-keftnbc6.mjs +206 -0
- package/dist/chunks/cli-1.1.23-kqechz3h.mjs +3 -0
- package/dist/chunks/cli-1.1.23-kwbgn4rk.mjs +4 -0
- package/dist/chunks/cli-1.1.23-mdnfpw2r.mjs +4 -0
- package/dist/chunks/cli-1.1.23-mg8gngc9.mjs +2 -0
- package/dist/chunks/cli-1.1.23-mqhr3zhn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-mtz1dxjx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n0182x8j.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n2b7hpwm.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n3aqpv08.mjs +2 -0
- package/dist/chunks/cli-1.1.23-n73gbfxf.mjs +2 -0
- package/dist/chunks/cli-1.1.23-nr6xamsd.mjs +2 -0
- package/dist/chunks/cli-1.1.23-p3m54nrk.mjs +12 -0
- package/dist/chunks/cli-1.1.23-pjmjhm4y.mjs +2 -0
- package/dist/chunks/cli-1.1.23-pw5hm4mz.mjs +3 -0
- package/dist/chunks/cli-1.1.23-qn9572e2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-qrr9yfsn.mjs +2 -0
- package/dist/chunks/cli-1.1.23-r21frpa6.mjs +6 -0
- package/dist/chunks/cli-1.1.23-r3rsk08v.mjs +2 -0
- package/dist/chunks/cli-1.1.23-r3waeyk4.mjs +2 -0
- package/dist/chunks/cli-1.1.23-r6f0jbrx.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rcxg7gfm.mjs +25 -0
- package/dist/chunks/cli-1.1.23-rd74yzp6.mjs +2 -0
- package/dist/chunks/cli-1.1.23-re0ge1zr.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rgc4d03t.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rjt1xt8g.mjs +2 -0
- package/dist/chunks/cli-1.1.23-rpxkp0kh.mjs +2 -0
- package/dist/chunks/cli-1.1.23-s21f8qza.mjs +2 -0
- package/dist/chunks/cli-1.1.23-s2pn202f.mjs +4 -0
- package/dist/chunks/cli-1.1.23-s943evpq.mjs +2 -0
- package/dist/chunks/cli-1.1.23-sbyq9afq.mjs +21 -0
- package/dist/chunks/cli-1.1.23-sch1s17t.mjs +2 -0
- package/dist/chunks/cli-1.1.23-se379e5e.mjs +15 -0
- package/dist/chunks/cli-1.1.23-swf2c8db.mjs +2 -0
- package/dist/chunks/cli-1.1.23-syq3k5mp.mjs +2 -0
- package/dist/chunks/cli-1.1.23-v22erb37.mjs +2 -0
- package/dist/chunks/cli-1.1.23-v2fscr2z.mjs +5 -0
- package/dist/chunks/cli-1.1.23-v5e3cr99.mjs +2 -0
- package/dist/chunks/cli-1.1.23-v9bysq9w.mjs +3 -0
- package/dist/chunks/cli-1.1.23-vjgmph3s.mjs +2 -0
- package/dist/chunks/cli-1.1.23-vns1fwxz.mjs +2 -0
- package/dist/chunks/cli-1.1.23-vvcr72vv.mjs +2 -0
- package/dist/chunks/cli-1.1.23-vyf2j831.mjs +2 -0
- package/dist/chunks/cli-1.1.23-w16rdkte.mjs +3 -0
- package/dist/chunks/cli-1.1.23-w96hh9h7.mjs +3 -0
- package/dist/chunks/cli-1.1.23-wd48c77m.mjs +24 -0
- package/dist/chunks/cli-1.1.23-wgecwfx4.mjs +18 -0
- package/dist/chunks/cli-1.1.23-wkvjbzna.mjs +2 -0
- package/dist/chunks/cli-1.1.23-wnxxa385.mjs +4 -0
- package/dist/chunks/cli-1.1.23-wt4jgek9.mjs +39 -0
- package/dist/chunks/cli-1.1.23-x3te6rkf.mjs +2 -0
- package/dist/chunks/cli-1.1.23-x7yfmrs9.mjs +3 -0
- package/dist/chunks/cli-1.1.23-xafxg4a2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xgst7vty.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xkt2056f.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xyjeajm2.mjs +2 -0
- package/dist/chunks/cli-1.1.23-xzwwmz59.mjs +2 -0
- package/dist/chunks/cli-1.1.23-y3ea6683.mjs +2 -0
- package/dist/chunks/cli-1.1.23-y3fpdh43.mjs +2 -0
- package/dist/chunks/cli-1.1.23-ywvfrc54.mjs +2 -0
- package/dist/chunks/cli-1.1.23-yy2jcnc3.mjs +133 -0
- package/dist/chunks/cli-1.1.23-z1mvb05m.mjs +2 -0
- package/dist/chunks/cli-1.1.23-zb8savhy.mjs +6 -0
- package/dist/chunks/cli-1.1.23-zwpmh1ab.mjs +2 -0
- package/dist/chunks/client-1.1.23-mcea9qxt.mjs +1 -0
- package/dist/chunks/color-1.1.23-e9h5ff51.mjs +1 -0
- package/dist/chunks/compact-1.1.23-66s1gsw9.mjs +3 -0
- package/dist/chunks/config-1.1.23-j8frjsmx.mjs +1 -0
- package/dist/chunks/config-1.1.23-kedfvs1w.mjs +1 -0
- package/dist/chunks/constants-1.1.23-9gn99pw5.mjs +1 -0
- package/dist/chunks/context-1.1.23-bbrdpmdb.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.23-f8h7s1k6.mjs +1 -0
- package/dist/chunks/conversation-1.1.23-s003tkm4.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.23-ktfjf8vp.mjs +1 -0
- package/dist/chunks/copy-1.1.23-vydqekfj.mjs +9 -0
- package/dist/chunks/cost-1.1.23-wp3xmmkp.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.23-0dtjaw6b.mjs +1 -0
- package/dist/chunks/createSession-1.1.23-bx4zk9g9.mjs +1 -0
- package/dist/chunks/debug-1.1.23-7kg6d3tr.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.23-gpfa81s0.mjs +1534 -0
- package/dist/chunks/desktop-1.1.23-0kbkasx9.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.23-cjja5tc4.mjs +1 -0
- package/dist/chunks/detection-1.1.23-j30fjqtk.mjs +1 -0
- package/dist/chunks/diff-1.1.23-97rmmwmn.mjs +1 -0
- package/dist/chunks/doctor-1.1.23-xm4qcrg3.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.23-04mtjnab.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.23-cjvssdzr.mjs +1 -0
- package/dist/chunks/effort-1.1.23-9wwy3zcx.mjs +13 -0
- package/dist/chunks/engine-1.1.23-zted98hq.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.23-ga3cphpb.mjs +1 -0
- package/dist/chunks/envUtils-1.1.23-rqpvwp80.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.23-mv2a2h1j.mjs +1 -0
- package/dist/chunks/environments-1.1.23-4jsfjwva.mjs +1 -0
- package/dist/chunks/errors-1.1.23-9xwf7tdw.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.23-80yr756b.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.23-psbfft6h.mjs +1 -0
- package/dist/chunks/exit-1.1.23-vrg1sh8k.mjs +1 -0
- package/dist/chunks/explorer-1.1.23-g4rr4dbw.mjs +1 -0
- package/dist/chunks/export-1.1.23-811x7m0f.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.23-ytv7q7g9.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.23-kfdpp2zp.mjs +1 -0
- package/dist/chunks/fast-1.1.23-vxqr4rn1.mjs +1 -0
- package/dist/chunks/feedback-1.1.23-sfxf5wts.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.23-1gh6mqe9.mjs +1 -0
- package/dist/chunks/git-1.1.23-ybtn6n7y.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.23-ty811pr3.mjs +1 -0
- package/dist/chunks/goal-1.1.23-cmzk221k.mjs +4 -0
- package/dist/chunks/growthbook-1.1.23-3q1rbkkk.mjs +1 -0
- package/dist/chunks/headless-1.1.23-bkk5p8rm.mjs +2 -0
- package/dist/chunks/heapdump-1.1.23-ea8pzqst.mjs +6 -0
- package/dist/chunks/help-1.1.23-r7j3xk0t.mjs +1 -0
- package/dist/chunks/hookChains-1.1.23-3gw3ts22.mjs +3 -0
- package/dist/chunks/hooks-1.1.23-nh96m542.mjs +1 -0
- package/dist/chunks/hooks-1.1.23-pggycv75.mjs +79 -0
- package/dist/chunks/ide-1.1.23-qfkj03dp.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.23-etg91fj9.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.23-gct8j14t.mjs +1 -0
- package/dist/chunks/index-1.1.23-04w67ps4.mjs +1 -0
- package/dist/chunks/index-1.1.23-0qn8x2ym.mjs +2 -0
- package/dist/chunks/index-1.1.23-16krzxwz.mjs +1 -0
- package/dist/chunks/index-1.1.23-2mwhvv7z.mjs +2 -0
- package/dist/chunks/index-1.1.23-5xkpaxba.mjs +1 -0
- package/dist/chunks/index-1.1.23-87bctdxv.mjs +1 -0
- package/dist/chunks/index-1.1.23-894gw6j8.mjs +1 -0
- package/dist/chunks/index-1.1.23-bcrdf2k3.mjs +9 -0
- package/dist/chunks/index-1.1.23-ed1jbmt6.mjs +1 -0
- package/dist/chunks/index-1.1.23-hzafkcpn.mjs +30 -0
- package/dist/chunks/index-1.1.23-jfybaapb.mjs +9 -0
- package/dist/chunks/index-1.1.23-mbvmhq60.mjs +1 -0
- package/dist/chunks/index-1.1.23-nq44z8sn.mjs +1 -0
- package/dist/chunks/index-1.1.23-p84yrb6r.mjs +1 -0
- package/dist/chunks/index-1.1.23-sd9cv8pk.mjs +23 -0
- package/dist/chunks/index-1.1.23-v3pvt45w.mjs +1 -0
- package/dist/chunks/index-1.1.23-vnn2xc4y.mjs +1 -0
- package/dist/chunks/index-1.1.23-vw0ns36r.mjs +1 -0
- package/dist/chunks/index-1.1.23-xb876pe7.mjs +5 -0
- package/dist/chunks/index-1.1.23-xfzxwabm.mjs +1 -0
- package/dist/chunks/index-1.1.23-yjt3kte0.mjs +1 -0
- package/dist/chunks/index-1.1.23-ymq59t45.mjs +1 -0
- package/dist/chunks/index-1.1.23-ytps69pn.mjs +1 -0
- package/dist/chunks/init-1.1.23-68d7nbfy.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.23-zaa5v40e.mjs +1 -0
- package/dist/chunks/ink-1.1.23-vb2phcn9.mjs +1 -0
- package/dist/chunks/insights-1.1.23-hnbtjced.mjs +870 -0
- package/dist/chunks/install-1.1.23-ayas8qxr.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.23-mph12hm0.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.23-9fs5jpzj.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.23-g4we2v3z.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.23-72qdetj8.mjs +1 -0
- package/dist/chunks/keybindings-1.1.23-qb0smw96.mjs +2 -0
- package/dist/chunks/knowledge-1.1.23-05gqt07k.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.23-1xrk6v9s.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.23-x9vbg6j3.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.23-b0kt93we.mjs +1 -0
- package/dist/chunks/log-1.1.23-raemwqxy.mjs +1 -0
- package/dist/chunks/main-1.1.23-ktwpj2m3.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.23-wnqxm7br.mjs +1 -0
- package/dist/chunks/mcp-1.1.23-mtw0ktrf.mjs +17 -0
- package/dist/chunks/mcp-1.1.23-s9pkvzz6.mjs +4 -0
- package/dist/chunks/mcp-1.1.23-wcc13fhx.mjs +1 -0
- package/dist/chunks/mcpb-1.1.23-90y8tgct.mjs +1 -0
- package/dist/chunks/memory-1.1.23-bvsjvxnw.mjs +72 -0
- package/dist/chunks/model-1.1.23-m65499d4.mjs +1 -0
- package/dist/chunks/model-1.1.23-rdvj7rvy.mjs +2 -0
- package/dist/chunks/node-1.1.23-bqy7dzrh.mjs +14 -0
- package/dist/chunks/oauth-1.1.23-x33h0bwk.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.23-0bheqhmg.mjs +14 -0
- package/dist/chunks/output-style-1.1.23-kxxfbqnj.mjs +1 -0
- package/dist/chunks/package-ZOVFJE7Z-1.1.23-cvn9aynn.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.23-r2c69hpj.mjs +1 -0
- package/dist/chunks/parser-1.1.23-9gjy8yyd.mjs +1 -0
- package/dist/chunks/passes-1.1.23-jt18rvzt.mjs +1 -0
- package/dist/chunks/permissions-1.1.23-krb3w1g6.mjs +3 -0
- package/dist/chunks/permissions-1.1.23-r2894sce.mjs +1 -0
- package/dist/chunks/plan-1.1.23-z731dw1m.mjs +1 -0
- package/dist/chunks/plist-1.1.23-5761s0b4.mjs +1 -0
- package/dist/chunks/plugin-1.1.23-p7pdz7d1.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.23-mm4bszh7.mjs +1 -0
- package/dist/chunks/plugins-1.1.23-egkwh4yf.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.23-v994g2s0.mjs +2 -0
- package/dist/chunks/print-1.1.23-g988xjb3.mjs +57 -0
- package/dist/chunks/process-1.1.23-eh0mn414.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.23-cnnyqpaq.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.23-vs9vb8en.mjs +9 -0
- package/dist/chunks/prompt-1.1.23-4mk9fy81.mjs +1 -0
- package/dist/chunks/prompt-1.1.23-qmqyfem4.mjs +1 -0
- package/dist/chunks/prompts-1.1.23-jeeypg6w.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.23-1davtsam.mjs +13 -0
- package/dist/chunks/provider-1.1.23-x1hzx1zj.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.23-bkm9vq79.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.23-z2rg5707.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.23-f0hm4mbj.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.23-mhtafhr6.mjs +26 -0
- package/dist/chunks/registry-1.1.23-hyqgjbyg.mjs +1 -0
- package/dist/chunks/release-notes-1.1.23-q1am84ke.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.23-nd1fctqt.mjs +2 -0
- package/dist/chunks/remote-env-1.1.23-m2zzn0f8.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.23-vd210k89.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.23-1jpg062g.mjs +1 -0
- package/dist/chunks/rename-1.1.23-ma9ny7xb.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.23-08pq9q2p.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.23-wsqwfhc4.mjs +1 -0
- package/dist/chunks/resume-1.1.23-hkg0scyr.mjs +2 -0
- package/dist/chunks/rewind-1.1.23-jd6j4sgm.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.23-m526t4yf.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.23-8mxg8581.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.23-pb9hd8jw.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.23-38kf297y.mjs +1 -0
- package/dist/chunks/session-1.1.23-mws1tmy1.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.23-8819q77c.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.23-zq8cgfyk.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.23-m9mm0gy5.mjs +1 -0
- package/dist/chunks/settings-1.1.23-3fm1v708.mjs +1 -0
- package/dist/chunks/setup-1.1.23-rf97k4ha.mjs +12 -0
- package/dist/chunks/sinks-1.1.23-qgn22fd9.mjs +1 -0
- package/dist/chunks/skills-1.1.23-aed2c5zd.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.23-qrw1wxzd.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.23-pwj6hq5b.mjs +1 -0
- package/dist/chunks/state-1.1.23-jxkq1t17.mjs +1 -0
- package/dist/chunks/stats-1.1.23-5kg21t1n.mjs +6 -0
- package/dist/chunks/status-1.1.23-zkcmaawr.mjs +1 -0
- package/dist/chunks/stickers-1.1.23-qag1twc4.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.23-ahy63kbs.mjs +1 -0
- package/dist/chunks/tasks-1.1.23-89zfdmw0.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.23-wnq5c429.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.23-zrc83hqd.mjs +1 -0
- package/dist/chunks/teleport-1.1.23-cabj7qs6.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.23-3jp21th9.mjs +1 -0
- package/dist/chunks/theme-1.1.23-n5t1dngt.mjs +1 -0
- package/dist/chunks/thinkback-1.1.23-4a2rem3s.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.23-3928h8m5.mjs +1 -0
- package/dist/chunks/toolPool-1.1.23-yeszysf1.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.23-x75878b7.mjs +1 -0
- package/dist/chunks/tools-1.1.23-m04a9j6h.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.23-rxgc65b0.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.23-e39vsv0v.mjs +69 -0
- package/dist/chunks/types-1.1.23-pca5g3df.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.23-mr97q52h.mjs +4 -0
- package/dist/chunks/update-1.1.23-3xmkkhns.mjs +72 -0
- package/dist/chunks/upgrade-1.1.23-8vn6552j.mjs +1 -0
- package/dist/chunks/upload-1.1.23-cx2aj445.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.23-8rxwm8d3.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.23-5e49greb.mjs +1 -0
- package/dist/chunks/usage-1.1.23-bndk03g2.mjs +1 -0
- package/dist/chunks/util-1.1.23-cb0nrsh4.mjs +1 -0
- package/dist/chunks/utils-1.1.23-t0mge2p3.mjs +1 -0
- package/dist/chunks/vim-1.1.23-trn7yz9v.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.23-m61k9zxv.mjs +13 -0
- package/dist/chunks/watcher-1.1.23-vbwspp2c.mjs +1 -0
- package/dist/chunks/wiki-1.1.23-a9pe4h8f.mjs +132 -0
- package/dist/chunks/workflows-1.1.23-nbvbwe56.mjs +1 -0
- package/dist/chunks/worktree-1.1.23-tdh9qszq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.23-bhescr26.mjs +1 -0
- package/dist/chunks/wrapper-1.1.23-xbpjcwkh.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.21-enrxqdsb.mjs +0 -1
- package/dist/chunks/App-1.1.21-x1hrya65.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.21-q3rfm86r.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.21-djjt8wjf.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.21-8rxzv91c.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.21-2mv1yf69.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.21-qk8b7h6c.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.21-26vykmpr.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.21-3xgr69zd.mjs +0 -6
- package/dist/chunks/Doctor-1.1.21-yv90ebbh.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.21-xbb9damr.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.21-vghjz16w.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.21-s80vswk4.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.21-vcrwctz5.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.21-dx1ga7w0.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.21-v9s07bhb.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.21-r9zcajjp.mjs +0 -1
- package/dist/chunks/REPL-1.1.21-6jn26haf.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.21-s9pjbbba.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.21-e2efafxn.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.21-sbtxsq9w.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.21-jbdthnzv.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.21-rg1e4ya1.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.21-th8y0yfa.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.21-ns92ypnd.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.21-tk81657g.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.21-8b6473mc.mjs +0 -1
- package/dist/chunks/add-dir-1.1.21-y2qcrtjr.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.21-0c6btjcc.mjs +0 -1
- package/dist/chunks/agents-1.1.21-1t7q92hk.mjs +0 -3
- package/dist/chunks/agents-1.1.21-jppr4jq8.mjs +0 -110
- package/dist/chunks/api-1.1.21-g8sbqk15.mjs +0 -1
- package/dist/chunks/asciicast-1.1.21-bvqngtzz.mjs +0 -1
- package/dist/chunks/assistant-1.1.21-1zc3dwty.mjs +0 -1
- package/dist/chunks/auth-1.1.21-65a9bbnh.mjs +0 -1
- package/dist/chunks/auth-1.1.21-f0ghh3mq.mjs +0 -1
- package/dist/chunks/autoMode-1.1.21-n2a8t9t3.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.21-9fx83p2j.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.21-52ky9ghk.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.21-j6t4h3jn.mjs +0 -1
- package/dist/chunks/branch-1.1.21-71gampws.mjs +0 -4
- package/dist/chunks/bridge-1.1.21-d1gzs1zz.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.21-9pps44qe.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.21-50r8crvp.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.21-e92yewh9.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.21-ckngyn7x.mjs +0 -1
- package/dist/chunks/btw-1.1.21-aqj4z7z7.mjs +0 -1
- package/dist/chunks/buddy-1.1.21-74rtch74.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.21-a8ne39rt.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.21-pw082ztb.mjs +0 -4
- package/dist/chunks/caches-1.1.21-7s65hxx4.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.21-0fp1r8xs.mjs +0 -1
- package/dist/chunks/claudemd-1.1.21-q4k3d1km.mjs +0 -1
- package/dist/chunks/clear-1.1.21-9jjttvr0.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.21-jr9rxdmx.mjs +0 -1
- package/dist/chunks/cli-1.1.21-03kdy8xc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-04brya8b.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0dp6e2at.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0etv5x2s.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0g1a3shp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0mn9qshg.mjs +0 -2
- package/dist/chunks/cli-1.1.21-0n54q1mb.mjs +0 -12
- package/dist/chunks/cli-1.1.21-0sqcznka.mjs +0 -4
- package/dist/chunks/cli-1.1.21-0w4y6zch.mjs +0 -2
- package/dist/chunks/cli-1.1.21-13kr6en7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-15f55e7j.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1a9968t0.mjs +0 -3
- package/dist/chunks/cli-1.1.21-1h90n4wy.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1hdfkyjv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1mhmk0z3.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1mxg753a.mjs +0 -2
- package/dist/chunks/cli-1.1.21-1y508j57.mjs +0 -2
- package/dist/chunks/cli-1.1.21-27a8sw98.mjs +0 -2
- package/dist/chunks/cli-1.1.21-29jp27ks.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2b91fkp9.mjs +0 -66
- package/dist/chunks/cli-1.1.21-2cj3wv9s.mjs +0 -3
- package/dist/chunks/cli-1.1.21-2cqbdmfj.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2gsy9rkt.mjs +0 -7
- package/dist/chunks/cli-1.1.21-2nezc8rm.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2txzm68v.mjs +0 -2
- package/dist/chunks/cli-1.1.21-2zvrsnnb.mjs +0 -15
- package/dist/chunks/cli-1.1.21-36nmjsvc.mjs +0 -3
- package/dist/chunks/cli-1.1.21-3g5qq5vn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-3n2szerd.mjs +0 -2
- package/dist/chunks/cli-1.1.21-3v1e2mge.mjs +0 -3
- package/dist/chunks/cli-1.1.21-3x0d0qkq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-4010086n.mjs +0 -39
- package/dist/chunks/cli-1.1.21-4jzagkc6.mjs +0 -2
- package/dist/chunks/cli-1.1.21-4ka4k9j1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-4s3mz86q.mjs +0 -2
- package/dist/chunks/cli-1.1.21-510h0rfd.mjs +0 -2
- package/dist/chunks/cli-1.1.21-5bxzgpbd.mjs +0 -16
- package/dist/chunks/cli-1.1.21-5jkvz9tr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-5srfgw0e.mjs +0 -2
- package/dist/chunks/cli-1.1.21-5znk8g89.mjs +0 -2
- package/dist/chunks/cli-1.1.21-61eyxvr8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-6drn6rpn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-71yrrgxv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-72p8ma2g.mjs +0 -2
- package/dist/chunks/cli-1.1.21-76ttz1tt.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7bq44n89.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7fymk48z.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7gxr15wj.mjs +0 -2
- package/dist/chunks/cli-1.1.21-7q6ajew6.mjs +0 -6
- package/dist/chunks/cli-1.1.21-8022a544.mjs +0 -3
- package/dist/chunks/cli-1.1.21-811zr6vq.mjs +0 -15
- package/dist/chunks/cli-1.1.21-87rs5rvq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-89hqsfpf.mjs +0 -2
- package/dist/chunks/cli-1.1.21-8db7fdfr.mjs +0 -133
- package/dist/chunks/cli-1.1.21-8f3dmt8c.mjs +0 -2
- package/dist/chunks/cli-1.1.21-8mbdp47n.mjs +0 -34
- package/dist/chunks/cli-1.1.21-8p4zm65z.mjs +0 -4
- package/dist/chunks/cli-1.1.21-8w2yv4xp.mjs +0 -3
- package/dist/chunks/cli-1.1.21-92zh5twv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-93zvwec9.mjs +0 -6
- package/dist/chunks/cli-1.1.21-9fnv418t.mjs +0 -24
- package/dist/chunks/cli-1.1.21-9jq126pc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-9za692z5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-a6pwx2r1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-aa0dfxt3.mjs +0 -17
- package/dist/chunks/cli-1.1.21-admbc6bh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-adykpnkk.mjs +0 -2
- package/dist/chunks/cli-1.1.21-an07xgtv.mjs +0 -25
- package/dist/chunks/cli-1.1.21-arjp8fch.mjs +0 -50
- package/dist/chunks/cli-1.1.21-as9g92fa.mjs +0 -4
- package/dist/chunks/cli-1.1.21-atvca4b4.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ayg2p1x9.mjs +0 -133
- package/dist/chunks/cli-1.1.21-b7q4e2tp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-b7y0x2mz.mjs +0 -3
- package/dist/chunks/cli-1.1.21-b92n11f5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-badssmqg.mjs +0 -25
- package/dist/chunks/cli-1.1.21-bbnxyfz6.mjs +0 -4
- package/dist/chunks/cli-1.1.21-bc6x1hhj.mjs +0 -2
- package/dist/chunks/cli-1.1.21-bjdtgm9x.mjs +0 -2
- package/dist/chunks/cli-1.1.21-bp86y1rn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-c27qrh9k.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cb82p9ss.mjs +0 -24
- package/dist/chunks/cli-1.1.21-ccarwr2t.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cdk96yzq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cgspbjjg.mjs +0 -2
- package/dist/chunks/cli-1.1.21-cqsmyvsx.mjs +0 -6
- package/dist/chunks/cli-1.1.21-dvkgw1dj.mjs +0 -4
- package/dist/chunks/cli-1.1.21-e28mvxq4.mjs +0 -2
- package/dist/chunks/cli-1.1.21-e4qvgw9g.mjs +0 -4
- package/dist/chunks/cli-1.1.21-e8cbfmn6.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ekphtr04.mjs +0 -6
- package/dist/chunks/cli-1.1.21-eqmp9rz1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-er4j34m5.mjs +0 -4
- package/dist/chunks/cli-1.1.21-eray52nd.mjs +0 -5426
- package/dist/chunks/cli-1.1.21-ev8srpeg.mjs +0 -18
- package/dist/chunks/cli-1.1.21-exwxjwrp.mjs +0 -17
- package/dist/chunks/cli-1.1.21-f3caatgb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-fbxz5jg5.mjs +0 -21
- package/dist/chunks/cli-1.1.21-fdf1j366.mjs +0 -3
- package/dist/chunks/cli-1.1.21-fn4xyb5w.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ftenq1jj.mjs +0 -24
- package/dist/chunks/cli-1.1.21-fyryzam5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-g2fr5c6z.mjs +0 -3
- package/dist/chunks/cli-1.1.21-g6wtm4qg.mjs +0 -206
- package/dist/chunks/cli-1.1.21-g7ve83cr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-g9rmmx1z.mjs +0 -6
- package/dist/chunks/cli-1.1.21-gg6ksnw9.mjs +0 -2
- package/dist/chunks/cli-1.1.21-gyh1fxbr.mjs +0 -20
- package/dist/chunks/cli-1.1.21-h2y2n4jq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-h82yh3wp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-hdc9e0dr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-hjkr35qk.mjs +0 -2
- package/dist/chunks/cli-1.1.21-hmex7wtk.mjs +0 -4
- package/dist/chunks/cli-1.1.21-hn93q5ch.mjs +0 -1
- package/dist/chunks/cli-1.1.21-j0qbp8ym.mjs +0 -2
- package/dist/chunks/cli-1.1.21-j5f9b05q.mjs +0 -2
- package/dist/chunks/cli-1.1.21-jkqtb9j1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-jmrjkgt7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-jqy3a4ze.mjs +0 -9
- package/dist/chunks/cli-1.1.21-kc7af745.mjs +0 -5
- package/dist/chunks/cli-1.1.21-kf8s641e.mjs +0 -2
- package/dist/chunks/cli-1.1.21-kkaftzqq.mjs +0 -2
- package/dist/chunks/cli-1.1.21-krwdkyza.mjs +0 -18
- package/dist/chunks/cli-1.1.21-kv15mvd0.mjs +0 -3
- package/dist/chunks/cli-1.1.21-m53y3ydn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-m7dy7yxc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-m84cxaww.mjs +0 -2
- package/dist/chunks/cli-1.1.21-mqxc9x6p.mjs +0 -3
- package/dist/chunks/cli-1.1.21-mysvm055.mjs +0 -8
- package/dist/chunks/cli-1.1.21-n00fkex6.mjs +0 -15
- package/dist/chunks/cli-1.1.21-nh0wz4ab.mjs +0 -2
- package/dist/chunks/cli-1.1.21-nqzn2wyp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ns0xhhjk.mjs +0 -2
- package/dist/chunks/cli-1.1.21-pbxjvmxd.mjs +0 -2
- package/dist/chunks/cli-1.1.21-phnkc3q1.mjs +0 -2
- package/dist/chunks/cli-1.1.21-pq9par9t.mjs +0 -2
- package/dist/chunks/cli-1.1.21-pqweg9t6.mjs +0 -3
- package/dist/chunks/cli-1.1.21-q2k4myze.mjs +0 -2
- package/dist/chunks/cli-1.1.21-q2xyk8fc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qgc6dd5n.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qj7gkh71.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qs47skyh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qvxw9ea2.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qxx08ev5.mjs +0 -2
- package/dist/chunks/cli-1.1.21-qz8ykx4a.mjs +0 -2
- package/dist/chunks/cli-1.1.21-r90yap4s.mjs +0 -4
- package/dist/chunks/cli-1.1.21-rb0ytqxh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-rtcccwys.mjs +0 -2
- package/dist/chunks/cli-1.1.21-rvm9rmen.mjs +0 -2
- package/dist/chunks/cli-1.1.21-rwr3npv8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-s076czd6.mjs +0 -60
- package/dist/chunks/cli-1.1.21-sa93ge05.mjs +0 -2
- package/dist/chunks/cli-1.1.21-sk1w1xc8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-sqrqvfx9.mjs +0 -2
- package/dist/chunks/cli-1.1.21-srp2gqhn.mjs +0 -2
- package/dist/chunks/cli-1.1.21-st3azfy2.mjs +0 -2
- package/dist/chunks/cli-1.1.21-syphtp6b.mjs +0 -2
- package/dist/chunks/cli-1.1.21-t4e7t3gb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-tf5jnyct.mjs +0 -2
- package/dist/chunks/cli-1.1.21-tgkmdth7.mjs +0 -3
- package/dist/chunks/cli-1.1.21-tjgcqqx5.mjs +0 -12
- package/dist/chunks/cli-1.1.21-v8edsbtk.mjs +0 -24
- package/dist/chunks/cli-1.1.21-vb6krv5p.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vbewc9m8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vgqvfdjj.mjs +0 -45
- package/dist/chunks/cli-1.1.21-vhz2g6dh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vpc12nrb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vqyps5tc.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vtnh7am3.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vtrbe9na.mjs +0 -2
- package/dist/chunks/cli-1.1.21-vyzdf2h8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-w17d43nx.mjs +0 -2
- package/dist/chunks/cli-1.1.21-wermyahx.mjs +0 -2
- package/dist/chunks/cli-1.1.21-wq125rgf.mjs +0 -2
- package/dist/chunks/cli-1.1.21-wwrjy8z7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-x34spqyp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-x652vc6g.mjs +0 -7
- package/dist/chunks/cli-1.1.21-xa36je2k.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xc1ka519.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xds4bha6.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xg5fsk6h.mjs +0 -6
- package/dist/chunks/cli-1.1.21-xkd51fv8.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xngg1p8f.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xrh2trhz.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xsjr5sq9.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xtdgxynh.mjs +0 -9
- package/dist/chunks/cli-1.1.21-xtysnd33.mjs +0 -2
- package/dist/chunks/cli-1.1.21-xx8dx3jd.mjs +0 -4
- package/dist/chunks/cli-1.1.21-y0d1dgzh.mjs +0 -58
- package/dist/chunks/cli-1.1.21-ybbcrjyr.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ym854mnb.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ymepfykz.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ypkp1djh.mjs +0 -5
- package/dist/chunks/cli-1.1.21-yt2eqsfh.mjs +0 -2
- package/dist/chunks/cli-1.1.21-ytgz6a2f.mjs +0 -2
- package/dist/chunks/cli-1.1.21-yx5x54tp.mjs +0 -2
- package/dist/chunks/cli-1.1.21-yxj3mby7.mjs +0 -2
- package/dist/chunks/cli-1.1.21-yzg6k72r.mjs +0 -2
- package/dist/chunks/cli-1.1.21-z008y1nv.mjs +0 -2
- package/dist/chunks/cli-1.1.21-z3qkwz5y.mjs +0 -2
- package/dist/chunks/cli-1.1.21-z6tzkkrz.mjs +0 -2
- package/dist/chunks/cli-1.1.21-zmkcqsqx.mjs +0 -42
- package/dist/chunks/cli-1.1.21-zyz9s3k0.mjs +0 -3
- package/dist/chunks/client-1.1.21-2z9qpd9x.mjs +0 -1
- package/dist/chunks/color-1.1.21-hx6pdrvg.mjs +0 -1
- package/dist/chunks/compact-1.1.21-nwq0kqfv.mjs +0 -3
- package/dist/chunks/config-1.1.21-6a9bh364.mjs +0 -1
- package/dist/chunks/config-1.1.21-mk64wy1s.mjs +0 -1
- package/dist/chunks/constants-1.1.21-6t9m2kc1.mjs +0 -1
- package/dist/chunks/context-1.1.21-0q6bzccr.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.21-4hsfsph7.mjs +0 -1
- package/dist/chunks/conversation-1.1.21-7b7x9kge.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.21-h7jcrbjr.mjs +0 -1
- package/dist/chunks/copy-1.1.21-733m4ede.mjs +0 -9
- package/dist/chunks/cost-1.1.21-wygsny1s.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.21-xbfgy7b5.mjs +0 -1
- package/dist/chunks/createSession-1.1.21-mz06dkby.mjs +0 -1
- package/dist/chunks/debug-1.1.21-1mr7a9zd.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.21-vax6c0kp.mjs +0 -1534
- package/dist/chunks/desktop-1.1.21-pgp4t084.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.21-4kgqz7gj.mjs +0 -1
- package/dist/chunks/detection-1.1.21-fpdqjz2w.mjs +0 -1
- package/dist/chunks/diff-1.1.21-eh8phe15.mjs +0 -1
- package/dist/chunks/doctor-1.1.21-qsk3dp6v.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.21-vk3kxvax.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.21-hhk47ba3.mjs +0 -1
- package/dist/chunks/effort-1.1.21-ekeecb10.mjs +0 -13
- package/dist/chunks/engine-1.1.21-d6pnpzs9.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.21-45xt8y53.mjs +0 -1
- package/dist/chunks/envUtils-1.1.21-602cy0p0.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.21-sdkr95ba.mjs +0 -1
- package/dist/chunks/environments-1.1.21-xc2zd8j5.mjs +0 -1
- package/dist/chunks/errors-1.1.21-zpsc24qr.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.21-wktrh3tf.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.21-h0jd5fma.mjs +0 -1
- package/dist/chunks/exit-1.1.21-s6bxy0s5.mjs +0 -1
- package/dist/chunks/explorer-1.1.21-yecddj8m.mjs +0 -1
- package/dist/chunks/export-1.1.21-b5aa7w8q.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.21-ccmxd1ga.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.21-jysky3gv.mjs +0 -1
- package/dist/chunks/fast-1.1.21-wdpp74vz.mjs +0 -1
- package/dist/chunks/feedback-1.1.21-gc3be80r.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.21-cs1b38yg.mjs +0 -1
- package/dist/chunks/git-1.1.21-ncfwpbjz.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.21-qya4z4p9.mjs +0 -1
- package/dist/chunks/goal-1.1.21-a70wv2cb.mjs +0 -4
- package/dist/chunks/growthbook-1.1.21-hmscgg3x.mjs +0 -1
- package/dist/chunks/headless-1.1.21-dwdnz8rt.mjs +0 -2
- package/dist/chunks/heapdump-1.1.21-tvazwzf0.mjs +0 -6
- package/dist/chunks/help-1.1.21-c9hbdjta.mjs +0 -1
- package/dist/chunks/hookChains-1.1.21-acyv2xry.mjs +0 -3
- package/dist/chunks/hooks-1.1.21-cfmmnnah.mjs +0 -1
- package/dist/chunks/hooks-1.1.21-w12e5h5b.mjs +0 -79
- package/dist/chunks/ide-1.1.21-wywpj723.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.21-yhb521r3.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.21-kk58cty9.mjs +0 -1
- package/dist/chunks/index-1.1.21-3b6xa2yf.mjs +0 -1
- package/dist/chunks/index-1.1.21-3d6h7ke1.mjs +0 -1
- package/dist/chunks/index-1.1.21-57kd6ptp.mjs +0 -1
- package/dist/chunks/index-1.1.21-593vrygw.mjs +0 -23
- package/dist/chunks/index-1.1.21-5fmfkm8y.mjs +0 -9
- package/dist/chunks/index-1.1.21-6zxs2rfg.mjs +0 -1
- package/dist/chunks/index-1.1.21-8bhdk6jc.mjs +0 -5
- package/dist/chunks/index-1.1.21-adb7btws.mjs +0 -1
- package/dist/chunks/index-1.1.21-etcjfd99.mjs +0 -1
- package/dist/chunks/index-1.1.21-fy80jkp2.mjs +0 -1
- package/dist/chunks/index-1.1.21-hbxv4pgp.mjs +0 -1
- package/dist/chunks/index-1.1.21-hytfcvqs.mjs +0 -1
- package/dist/chunks/index-1.1.21-m0a3fv04.mjs +0 -30
- package/dist/chunks/index-1.1.21-m167t33s.mjs +0 -1
- package/dist/chunks/index-1.1.21-q5vrbm1a.mjs +0 -1
- package/dist/chunks/index-1.1.21-s1aj62xz.mjs +0 -1
- package/dist/chunks/index-1.1.21-srxg6mfj.mjs +0 -1
- package/dist/chunks/index-1.1.21-vcbqyp49.mjs +0 -1
- package/dist/chunks/index-1.1.21-wqh7rgwt.mjs +0 -2
- package/dist/chunks/index-1.1.21-xc8hadvs.mjs +0 -9
- package/dist/chunks/index-1.1.21-y0mjkxt4.mjs +0 -1
- package/dist/chunks/index-1.1.21-zn4zb4j6.mjs +0 -2
- package/dist/chunks/index-1.1.21-zphh9zyt.mjs +0 -1
- package/dist/chunks/init-1.1.21-3rsjrj70.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.21-t8zgkgkq.mjs +0 -1
- package/dist/chunks/ink-1.1.21-zrg02gjq.mjs +0 -1
- package/dist/chunks/insights-1.1.21-08rs6ycg.mjs +0 -870
- package/dist/chunks/install-1.1.21-fvsrnj75.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.21-kbd8kwxx.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.21-pvac1nvj.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.21-3ah0jawp.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.21-y8fy1vbg.mjs +0 -1
- package/dist/chunks/keybindings-1.1.21-wmvt9cka.mjs +0 -2
- package/dist/chunks/knowledge-1.1.21-z92hhppb.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.21-cv8x9bkm.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.21-kwpyjgm3.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.21-m59wf0fn.mjs +0 -1
- package/dist/chunks/log-1.1.21-xwc604af.mjs +0 -1
- package/dist/chunks/main-1.1.21-mpr5depp.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.21-nk3htdmq.mjs +0 -1
- package/dist/chunks/mcp-1.1.21-e7spj6dg.mjs +0 -1
- package/dist/chunks/mcp-1.1.21-mv23tsxc.mjs +0 -17
- package/dist/chunks/mcp-1.1.21-wa8c077q.mjs +0 -4
- package/dist/chunks/mcpb-1.1.21-bv8pwy9m.mjs +0 -1
- package/dist/chunks/memory-1.1.21-gqa797mn.mjs +0 -72
- package/dist/chunks/model-1.1.21-3dg8jye0.mjs +0 -1
- package/dist/chunks/model-1.1.21-3x98v8x4.mjs +0 -2
- package/dist/chunks/node-1.1.21-zxmyqm2z.mjs +0 -14
- package/dist/chunks/oauth-1.1.21-4ffdtf1q.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.21-9p741891.mjs +0 -14
- package/dist/chunks/output-style-1.1.21-kxvx8zbe.mjs +0 -1
- package/dist/chunks/package-ZOVFJE7Z-1.1.21-myehvasc.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.21-dtjr5vb7.mjs +0 -1
- package/dist/chunks/parser-1.1.21-jaqdwq7t.mjs +0 -1
- package/dist/chunks/passes-1.1.21-g830qx07.mjs +0 -1
- package/dist/chunks/permissions-1.1.21-ec5a6xxt.mjs +0 -3
- package/dist/chunks/permissions-1.1.21-qdday4sh.mjs +0 -1
- package/dist/chunks/plan-1.1.21-f5qe7hem.mjs +0 -1
- package/dist/chunks/plist-1.1.21-y82gjgzs.mjs +0 -1
- package/dist/chunks/plugin-1.1.21-0kfwxmv2.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.21-f5ddb5rc.mjs +0 -1
- package/dist/chunks/plugins-1.1.21-exphk1gb.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.21-jhp4m01m.mjs +0 -2
- package/dist/chunks/print-1.1.21-rcjs5pc4.mjs +0 -57
- package/dist/chunks/process-1.1.21-03zz92gq.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.21-zey1mfgx.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.21-cwxbh5pw.mjs +0 -9
- package/dist/chunks/prompt-1.1.21-49amsrvt.mjs +0 -1
- package/dist/chunks/prompt-1.1.21-gv2b1rk5.mjs +0 -1
- package/dist/chunks/prompts-1.1.21-hggxct4d.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.21-e974kgtb.mjs +0 -13
- package/dist/chunks/provider-1.1.21-xnprbehk.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.21-b4tnf9te.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.21-0n0739n4.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.21-s59gtr3x.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.21-wb1mef7h.mjs +0 -26
- package/dist/chunks/registry-1.1.21-knz7xa0h.mjs +0 -1
- package/dist/chunks/release-notes-1.1.21-mvr373q4.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.21-b4czg147.mjs +0 -2
- package/dist/chunks/remote-env-1.1.21-dbnxeqkg.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.21-fr3w35kv.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.21-5fvz5bsw.mjs +0 -1
- package/dist/chunks/rename-1.1.21-6rvag2s4.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.21-tay6v7n4.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.21-nzx71pts.mjs +0 -1
- package/dist/chunks/resume-1.1.21-mp3a9npp.mjs +0 -2
- package/dist/chunks/rewind-1.1.21-njh0btq2.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.21-7j3b02hm.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.21-d1v7f1sh.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.21-1vd13wkq.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.21-c7fw2ksr.mjs +0 -1
- package/dist/chunks/session-1.1.21-9gpkxas1.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.21-w4676wtk.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.21-ecwm1cfg.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.21-kan90ps9.mjs +0 -1
- package/dist/chunks/settings-1.1.21-4s7ew4vh.mjs +0 -1
- package/dist/chunks/setup-1.1.21-nmfqd6pa.mjs +0 -12
- package/dist/chunks/sinks-1.1.21-grwc3mac.mjs +0 -1
- package/dist/chunks/skills-1.1.21-c7mykz5q.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.21-mtr244kh.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.21-k1569a6r.mjs +0 -1
- package/dist/chunks/state-1.1.21-006s6xsy.mjs +0 -1
- package/dist/chunks/stats-1.1.21-bdpn78b9.mjs +0 -6
- package/dist/chunks/status-1.1.21-dkepakb3.mjs +0 -1
- package/dist/chunks/stickers-1.1.21-xk8yr9yt.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.21-tjx2d81b.mjs +0 -1
- package/dist/chunks/tasks-1.1.21-9qx5fz1q.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.21-pnhycdw4.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.21-279f713t.mjs +0 -1
- package/dist/chunks/teleport-1.1.21-t3yfsxqf.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.21-6t0x22pz.mjs +0 -1
- package/dist/chunks/theme-1.1.21-qp0w8xbb.mjs +0 -1
- package/dist/chunks/thinkback-1.1.21-my7w4nms.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.21-67cnrtz7.mjs +0 -1
- package/dist/chunks/toolPool-1.1.21-njaz40qd.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.21-7b0wbg1q.mjs +0 -1
- package/dist/chunks/tools-1.1.21-zaawccjz.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.21-2h0kxwkb.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.21-tajysy6v.mjs +0 -69
- package/dist/chunks/types-1.1.21-dpz3pqyf.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.21-3r3a34tb.mjs +0 -4
- package/dist/chunks/update-1.1.21-v9n06gej.mjs +0 -72
- package/dist/chunks/upgrade-1.1.21-f40x8myx.mjs +0 -1
- package/dist/chunks/upload-1.1.21-x63yx03n.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.21-4d1nmmca.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.21-f8egwk04.mjs +0 -1
- package/dist/chunks/usage-1.1.21-ajfcrtj1.mjs +0 -1
- package/dist/chunks/util-1.1.21-raqpgawk.mjs +0 -1
- package/dist/chunks/utils-1.1.21-ae7844cz.mjs +0 -1
- package/dist/chunks/vim-1.1.21-stgjbrez.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.21-3mrb2p44.mjs +0 -13
- package/dist/chunks/watcher-1.1.21-71vsydsx.mjs +0 -1
- package/dist/chunks/wiki-1.1.21-m8wt2ppx.mjs +0 -132
- package/dist/chunks/workflows-1.1.21-j7gtgean.mjs +0 -1
- package/dist/chunks/worktree-1.1.21-acv1xtvb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.21-2sg0072j.mjs +0 -1
- package/dist/chunks/wrapper-1.1.21-zbvep84d.mjs +0 -7
- /package/dist/chunks/{cli-1.1.21-ftamxg3e.mjs → cli-1.1.23-4q364wmc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-cx7tkkx6.mjs → cli-1.1.23-7jpcmnjc.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-7snn7kbs.mjs → cli-1.1.23-btq83yzw.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-rte0df0y.mjs → cli-1.1.23-gm82gspk.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-7sx1arjq.mjs → cli-1.1.23-qgdfjtj2.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.21-srd8n2bc.mjs → cli-1.1.23-vdp0r91n.mjs} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{s9 as P5,u9 as R7}from"./cli-1.1.23-a1w72kgd.mjs";import{w9 as A,x9 as r8}from"./cli-1.1.23-r21frpa6.mjs";import{O9 as a2,Q9 as D7}from"./cli-1.1.23-g3ps2zfa.mjs";import{Ada as o1,D_ as A4,E_ as t,F_ as K5,Fea as s4,G_ as D0,H_ as C4,Hea as ZZ,Hga as l2,I_ as s5,Iea as S1,Ifa as $0,Jda as B8,Jea as m7,Kfa as Z4,Kga as G4,Lfa as G8,N_ as H0,O_ as H1,Oba as M1,Pba as p7,Pfa as $4,Qga as s2,Tga as L,Wga as J0,Z_ as v2,a$ as o8,aca as z2,cga as B4,eea as P,efa as c,ega as J4,gea as x5,gha as k,hga as N5,iga as $Z,jea as N,jfa as n2,kfa as S,n$ as P2,nfa as D,oha as n0,p$ as e8,rca as x8,tfa as e1,wea as x0}from"./cli-1.1.23-keftnbc6.mjs";import{mia as S0,oia as h4,yia as T1}from"./cli-1.1.23-e3g5ahaf.mjs";import{aka as A2,bka as l4,cka as B0,eka as G7,fka as H7,hka as U,ika as h0}from"./cli-1.1.23-nr6xamsd.mjs";import{jka as x,mka as z5}from"./cli-1.1.23-j9tza8qb.mjs";import{Ska as U2,Wka as a8,_ka as n5,cla as S7,mla as z,ola as m0,pla as Z0}from"./cli-1.1.23-kc1tbe8y.mjs";import{Mla as g,Ola as z1,Tla as x1}from"./cli-1.1.23-6vn61k3h.mjs";import{$la as u,Wla as N2,Zla as K,bma as v5,fma as d}from"./cli-1.1.23-fxyf1cph.mjs";import{$pa as j1,Apa as C,Hna as Y0,Hpa as I1,Ina as D1,Koa as d1,Kra as Q0,Yoa as r1,Ypa as X1,Zpa as V1,_pa as W1,apa as y4,fpa as y0,gpa as Z5,lqa as j5}from"./cli-1.1.23-wkvjbzna.mjs";import{hsa as h,isa as t0}from"./cli-1.1.23-rpxkp0kh.mjs";import{Nsa as v,dta as Y5}from"./cli-1.1.23-61q858yx.mjs";import{Cta as _0,Eta as c5,Fta as R,Gta as r}from"./cli-1.1.23-bdj1ne1r.mjs";function C2(Z){let $=[],J=!1;async function Q(){if(J)return;if($.length===0)return;J=!0;while($.length>0){let{args:Y,resolve:q,reject:X,context:V}=$.shift();try{let j=await Z.apply(V,Y);q(j)}catch(j){X(j)}}if(J=!1,$.length>0)Q()}return function(...Y){return new Promise((q,X)=>{$.push({args:Y,resolve:q,reject:X,context:this}),Q()})}}var u2=()=>{};function p2(Z,$){return Z.find((J)=>J.includes($))??null}async function m2(){let{BedrockClient:Z}=await import("@aws-sdk/client-bedrock"),$=v5(),J=K(process.env.CLAUDIN_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await P5(),...J&&{requestHandler:new(await import("./index-1.1.23-v3pvt45w.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.23-yjt3kte0.mjs")).NoAuthSigner}],httpAuthSchemeProvider:()=>[{schemeId:"smithy.api#noAuth"}]}};if(!J&&!process.env.AWS_BEARER_TOKEN_BEDROCK){let Y=await j0();if(Y)Q.credentials={accessKeyId:Y.accessKeyId,secretAccessKey:Y.secretAccessKey,sessionToken:Y.sessionToken}}return new Z(Q)}async function sZ(){let{BedrockRuntimeClient:Z}=await import("@aws-sdk/client-bedrock-runtime"),$=v5(),J=K(process.env.CLAUDIN_SKIP_BEDROCK_AUTH),Q={region:$,...process.env.ANTHROPIC_BEDROCK_BASE_URL&&{endpoint:process.env.ANTHROPIC_BEDROCK_BASE_URL},...await P5(),...J&&{requestHandler:new(await import("./index-1.1.23-v3pvt45w.mjs")).NodeHttpHandler,httpAuthSchemes:[{schemeId:"smithy.api#noAuth",identityProvider:()=>async()=>({}),signer:new(await import("./index-1.1.23-yjt3kte0.mjs")).NoAuthSigner}],httpAuthSchemeProvider:()=>[{schemeId:"smithy.api#noAuth"}]}};if(!J&&!process.env.AWS_BEARER_TOKEN_BEDROCK){let Y=await j0();if(Y)Q.credentials={accessKeyId:Y.accessKeyId,secretAccessKey:Y.secretAccessKey,sessionToken:Y.sessionToken}}return new Z(Q)}function w7(Z){return Z.startsWith("anthropic.")}function K7(Z){if(!Z.startsWith("arn:"))return Z;let $=Z.lastIndexOf("/");if($===-1)return Z;return Z.substring($+1)}function L7(Z){let $=K7(Z);for(let J of F7)if($.startsWith(`${J}.anthropic.`))return J;return}function rZ(Z,$){let J=L7(Z);if(J)return Z.replace(`${J}.`,`${$}.`);if(w7(Z))return`${$}.${Z}`;return Z}var g2,aZ,F7;var c2=R(()=>{t0();o();d();n0();R7();g2=h(async function(){let[Z,{ListInferenceProfilesCommand:$}]=await Promise.all([m2(),import("@aws-sdk/client-bedrock")]),J=[],Q;try{do{let Y=new $({...Q&&{nextToken:Q},typeEquals:"SYSTEM_DEFINED"}),q=await Z.send(Y);if(q.inferenceProfileSummaries)J.push(...q.inferenceProfileSummaries);Q=q.nextToken}while(Q);return J.filter((Y)=>Y.inferenceProfileId?.includes("anthropic")).map((Y)=>Y.inferenceProfileId).filter(Boolean)}catch(Y){throw k(Y),Y}});aZ=h(async function(Z){try{let[$,{GetInferenceProfileCommand:J}]=await Promise.all([m2(),import("@aws-sdk/client-bedrock")]),Q=new J({inferenceProfileIdentifier:Z}),Y=await $.send(Q);if(!Y.models||Y.models.length===0)return null;let q=Y.models[0];if(!q?.modelArn)return null;let X=q.modelArn.lastIndexOf("/");return X>=0?q.modelArn.substring(X+1):q.modelArn}catch($){return k($),null}});F7=["us","eu","apac","global"]});var O5,E5,_5,y5,h5,I5,T5,M5,S5,l0,s0,a0,U0,f5,A5,C5,v0,d2;var u5=R(()=>{O5={firstParty:"claude-3-7-sonnet-20250219",bedrock:"us.anthropic.claude-3-7-sonnet-20250219-v1:0",vertex:"claude-3-7-sonnet@20250219",foundry:"claude-3-7-sonnet",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},E5={firstParty:"claude-3-5-sonnet-20241022",bedrock:"anthropic.claude-3-5-sonnet-20241022-v2:0",vertex:"claude-3-5-sonnet-v2@20241022",foundry:"claude-3-5-sonnet",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},_5={firstParty:"claude-3-5-haiku-20241022",bedrock:"us.anthropic.claude-3-5-haiku-20241022-v1:0",vertex:"claude-3-5-haiku@20241022",foundry:"claude-3-5-haiku",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash-lite",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"ministral-3b-latest"},y5={firstParty:"claude-haiku-4-5-20251001",bedrock:"us.anthropic.claude-haiku-4-5-20251001-v1:0",vertex:"claude-haiku-4-5@20251001",foundry:"claude-haiku-4-5",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash-lite",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"ministral-3b-latest"},h5={firstParty:"claude-sonnet-4-20250514",bedrock:"us.anthropic.claude-sonnet-4-20250514-v1:0",vertex:"claude-sonnet-4@20250514",foundry:"claude-sonnet-4",openai:"gpt-4o-mini",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},I5={firstParty:"claude-sonnet-4-5-20250929",bedrock:"us.anthropic.claude-sonnet-4-5-20250929-v1:0",vertex:"claude-sonnet-4-5@20250929",foundry:"claude-sonnet-4-5",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},T5={firstParty:"claude-opus-4-20250514",bedrock:"us.anthropic.claude-opus-4-20250514-v1:0",vertex:"claude-opus-4@20250514",foundry:"claude-opus-4",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},M5={firstParty:"claude-opus-4-1-20250805",bedrock:"us.anthropic.claude-opus-4-1-20250805-v1:0",vertex:"claude-opus-4-1@20250805",foundry:"claude-opus-4-1",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},S5={firstParty:"claude-opus-4-5-20251101",bedrock:"us.anthropic.claude-opus-4-5-20251101-v1:0",vertex:"claude-opus-4-5@20251101",foundry:"claude-opus-4-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},l0={firstParty:"claude-opus-4-6",bedrock:"us.anthropic.claude-opus-4-6-v1",vertex:"claude-opus-4-6",foundry:"claude-opus-4-6",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},s0={firstParty:"claude-opus-4-7",bedrock:"us.anthropic.claude-opus-4-7-v1",vertex:"claude-opus-4-7",foundry:"claude-opus-4-7",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},a0={firstParty:"claude-opus-4-8",bedrock:"anthropic.claude-opus-4-8",vertex:"claude-opus-4-8",foundry:"claude-opus-4-8",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},U0={firstParty:"claude-opus-5",bedrock:"anthropic.claude-opus-5",vertex:"claude-opus-5",foundry:"claude-opus-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},f5={firstParty:"claude-fable-5",bedrock:"anthropic.claude-fable-5",vertex:"claude-fable-5",foundry:"claude-fable-5",openai:"gpt-4o",gemini:"gemini-2.5-pro",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"devstral-latest"},A5={firstParty:"claude-sonnet-4-6",bedrock:"us.anthropic.claude-sonnet-4-6",vertex:"claude-sonnet-4-6",foundry:"claude-sonnet-4-6",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},C5={firstParty:"claude-sonnet-5",bedrock:"anthropic.claude-sonnet-5",vertex:"claude-sonnet-5",foundry:"claude-sonnet-5",openai:"gpt-4o",gemini:"gemini-2.0-flash",github:"github:copilot",codex:"gpt-5.5","nvidia-nim":"nvidia/llama-3.1-nemotron-70b-instruct",minimax:"MiniMax-M2.5",mistral:"mistral-medium-latest"},v0={haiku35:_5,haiku45:y5,sonnet35:E5,sonnet37:O5,sonnet40:h5,sonnet45:I5,sonnet46:A5,sonnet5:C5,opus40:T5,opus41:M5,opus45:S5,opus46:l0,opus47:s0,opus48:a0,opus5:U0,fable5:f5},d2=Object.fromEntries(Object.entries(v0).map(([Z,$])=>[$.firstParty,Z]))});function i2(){return Object.values(r0)}var r0,g5;var p5=R(()=>{r0={"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",family:"gpt",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",family:"gpt",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2-Codex",family:"gpt-codex",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:400000,output:128000}},"gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 mini",family:"gpt-mini",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:264000,output:64000}},"gpt-4o":{id:"gpt-4o",name:"GPT-4o",family:"gpt",attachment:!0,reasoning:!1,tool_call:!0,temperature:!0,knowledge:"2023-10",release_date:"2024-05-01",last_updated:"2024-08-06",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:128000,output:16384}},"gpt-4.1":{id:"gpt-4.1",name:"GPT-4.1",family:"gpt",attachment:!1,reasoning:!1,tool_call:!0,temperature:!0,knowledge:"2024-06",release_date:"2024-06-01",last_updated:"2024-06-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:128000,output:16384}},"claude-opus-4.7":{id:"claude-opus-4.7",name:"Claude Opus 4.7",family:"claude-opus",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2026-01",release_date:"2026-04-01",last_updated:"2026-04-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:32000}},"claude-sonnet-4.6":{id:"claude-sonnet-4.6",name:"Claude Sonnet 4.6",family:"claude-sonnet",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:32000}},"claude-haiku-4.5":{id:"claude-haiku-4.5",name:"Claude Haiku 4.5",family:"claude-haiku",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:144000,output:32768}},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",family:"gemini-pro",attachment:!0,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text","image","audio"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:200000,output:64000}},"grok-code-fast-1":{id:"grok-code-fast-1",name:"Grok Code Fast 1",family:"grok",attachment:!1,reasoning:!0,tool_call:!0,temperature:!0,knowledge:"2025-05",release_date:"2025-05-01",last_updated:"2025-05-01",modalities:{input:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:256000,output:64000}}},g5=Object.fromEntries(Object.values(r0).map((Z)=>[Z.id,Z.name]))});var O0={};c5(O0,{prefetchCopilotModelCatalog:()=>i5,normalizeBareCopilotModelId:()=>d5,getEffectiveCopilotModels:()=>v7,getCopilotDisplayName:()=>P7,getCatalogCopilotMaxOutputTokens:()=>_7,getCatalogCopilotContextWindow:()=>E7,fetchCopilotModelCatalog:()=>o2,copilotModelSupportsAnthropicMessages:()=>O7,_setCopilotCatalogForTesting:()=>y7});function P0(){let Z=L();if(Z?.transport!=="github_copilot")return null;return(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,"")}function r2(){if(!e)return!1;let Z=P0();return Z!==null&&z0===Z}function k7(){if(t2)return;t2=!0,n2(()=>{let Z=P0();if(Z&&z0!==Z)i5()})}function d5(Z){let $=Z.split("?",1)[0]??Z,J=$.lastIndexOf(":"),Q=(J===-1?$:$.slice(J+1)).trim(),Y=Q.indexOf("/");return Y===-1?Q:Q.slice(Y+1)}function N7(Z){if(!Array.isArray(Z))return null;return Z.filter(($)=>typeof $==="string")}function U7(Z){let $=Z.id?.trim();if(!$)return null;let J=Z.capabilities?.type?.trim().toLowerCase();if(J&&J!=="chat")return null;if(Z.policy?.state==="disabled")return null;let Q=Z.capabilities?.limits??{},Y=Z.capabilities?.supports??{},q=Y.vision===!0||Boolean(Q.vision),X=Y.adaptive_thinking===!0||Array.isArray(Y.reasoning_effort)||typeof Y.max_thinking_budget==="number";return{model:{id:$,name:Z.name?.trim()||$,family:Z.capabilities?.family?.trim()||$,attachment:q,reasoning:X,tool_call:Y.tool_calls===!0,temperature:!0,knowledge:"",release_date:"",last_updated:"",modalities:{input:q?["text","image"]:["text"],output:["text"]},open_weights:!1,cost:{input:0,output:0},limit:{context:Q.max_context_window_tokens??128000,...typeof Q.max_prompt_tokens==="number"?{input:Q.max_prompt_tokens}:{},output:Q.max_output_tokens??16384}},supportedEndpoints:N7(Z.supported_endpoints),pickerEnabled:Z.model_picker_enabled!==!1}}async function o2(){let Z=L();if(Z?.transport!=="github_copilot")return null;if(l2(Z.baseUrl)!=="copilot")return null;let $=Z.extras?.githubToken??Z.apiKey;if(!$)return null;let J=(Z.baseUrl||"https://api.githubcopilot.com").replace(/\/+$/,""),Q=new AbortController,Y=setTimeout(()=>Q.abort(),b7);try{let q=await fetch(`${J}/models`,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${$}`,...a2},signal:Q.signal});if(!q.ok)return null;let X=await q.json();if(!Array.isArray(X?.data))return null;let V=new Set,j=[];for(let G of X.data){let H=U7(G);if(!H||V.has(H.model.id))continue;V.add(H.model.id),j.push(H)}return j.length>0?j:null}catch{return z("[CopilotCatalog] /models fetch failed — using hardcoded registry"),null}finally{clearTimeout(Y)}}function i5(){k7();let Z=P0();if(!Z)return;if(e&&z0!==Z)e=null,z0=null;if(o0){if(m5===Z)return;o0.finally(()=>i5());return}m5=Z,o0=o2().then(($)=>{if($&&P0()===Z)e=$,z0=Z}).finally(()=>{o0=null,m5=null})}function v7(){if(r2()){let Z=e?.filter(($)=>$.pickerEnabled).map(($)=>$.model);if(Z&&Z.length>0)return Z}return i2()}function e0(Z){if(!r2())return;let $=d5(Z);return e.find((J)=>J.model.id===$)}function P7(Z){let $=d5(Z);return e0($)?.model.name??r0[$]?.name}function O7(Z){let $=e0(Z);if(!$||$.supportedEndpoints===null)return null;return $.supportedEndpoints.some((J)=>J.includes("/v1/messages"))}function E7(Z){return e0(Z)?.model.limit.context}function _7(Z){return e0(Z)?.model.limit.output}function y7(Z){e=Z,z0=Z?P0():null}var b7=5000,e=null,z0=null,o0=null,m5=null,t2=!1;var E0=R(()=>{J0();D7();s2();$0();Z0();p5()});function W(){let Z=L();if(!Z)return"firstParty";switch(Z.transport){case"anthropic":return"firstParty";case"gemini":return"gemini";case"mistral":return"mistral";case"github_copilot":return"github";case"codex_responses":return"codex";case"bedrock":return"bedrock";case"vertex":return"vertex";case"foundry":return"foundry";case"openai_compat":{let $=Z.baseUrl?.toLowerCase()??"";if($.includes("nvidia"))return"nvidia-nim";if($.includes("minimax"))return"minimax";return"openai"}default:return"firstParty"}}function W$(){return W()==="firstParty"}function h7(Z){let $=L();if($?.transport!=="github_copilot")return!1;let J=Z?.trim()||$.model?.trim()||"";if(!J.toLowerCase().includes("claude-"))return!1;try{let{copilotModelSupportsAnthropicMessages:Q}=(E0(),_0(O0)),Y=Q(J);if(Y!==null)return Y}catch{}return!0}function j$(Z){let $=L()?.transport??"anthropic";if(!I7.has($))return!1;if($==="github_copilot"&&h7(Z))return!1;return!0}function z$(){return W()}function x$(){let Z=L();if(!Z)return!0;if(Z.transport!=="anthropic")return!1;let $=Z.baseUrl;if(!$)return!0;try{let J=new URL($).host;return["api.anthropic.com"].includes(J)}catch{return!1}}var I7;var i=R(()=>{J0();I7=new Set(["openai_compat","gemini","mistral","github_copilot","codex_responses"])});function $5(Z){let $=Z==="codex"||Z==="github"?"openai":Z,J={};for(let Q of Z1)J[Q]=v0[Q][$];return J}async function T7(){let Z=$5("bedrock"),$;try{$=await g2()}catch(Q){return k(Q),Z}if(!$?.length)return Z;let J={};for(let Q of Z1){let Y=v0[Q].firstParty;J[Q]=p2($,Y)||Z[Q]}return J}function e2(Z){let $=N().modelOverrides;if(!$)return Z;let J={...Z};for(let[Q,Y]of Object.entries($)){let q=d2[Q];if(q&&Y)J[q]=Y}return J}function J5(Z){let $;try{$=N().modelOverrides}catch{return Z}if(!$)return Z;for(let[J,Q]of Object.entries($))if(Q===Z)return J;return Z}function M7(){if(y0()!==null)return;if(W()!=="bedrock"){Z5($5(W()));return}$1()}function B(){let Z=y0();if(Z===null)return M7(),e2($5(W()));return e2(Z)}async function D$(){if(y0()!==null)return;if(W()!=="bedrock"){Z5($5(W()));return}await $1()}var Z1,$1;var Q5=R(()=>{Q0();n0();u2();x0();c2();u5();i();Z1=Object.keys(v0);$1=C2(async()=>{if(y0()!==null)return;try{let Z=await T7();Z5(Z)}catch(Z){k(Z)}})});function k$(Z){return Z}function N$(){return!1}function J1(){return null}function Q1(){return!1}var Y1=()=>{};async function y$(){let $=D().oauthAccount?.accountUuid,J=I0();if(!$||!J)return;let Q=`${U().BASE_API_URL}/api/claude_cli_profile`;try{return(await v.get(Q,{headers:{"x-api-key":J,"anthropic-beta":B0},params:{account_uuid:$},timeout:1e4})).data}catch(Y){k(Y)}}async function G0(Z){let $=`${U().BASE_API_URL}/api/oauth/profile`;try{return(await v.get($,{headers:{Authorization:`Bearer ${Z}`,"Content-Type":"application/json"},timeout:1e4})).data}catch(J){k(J)}}var t5=R(()=>{Y5();h0();o();$0();n0()});import{mkdirSync as f7,writeFileSync as A7}from"fs";function g7(Z,$,J){if(!K(process.env.CLAUDE_CODE_REMOTE))return;try{f7(q5,{recursive:!0,mode:448}),A7(Z,$,{encoding:"utf8",mode:384}),z(`Persisted ${J} to ${Z} for subprocess access`)}catch(Q){z(`Failed to persist ${J} to disk (non-fatal): ${g(Q)}`,{level:"error"})}}function q1(Z,$){try{let Q=n5().readFileSync(Z,{encoding:"utf8"}).trim();if(!Q)return null;return z(`Read ${$} from well-known file ${Z}`),Q}catch(J){if(!z1(J))z(`Failed to read ${$} from ${Z}: ${g(J)}`,{level:"debug"});return null}}function B1({envVar:Z,wellKnownPath:$,label:J,getCached:Q,setCached:Y}){let q=Q();if(q!==void 0)return q;let X=process.env[Z];if(!X){let j=q1($,J);return Y(j),j}let V=parseInt(X,10);if(Number.isNaN(V))return z(`${Z} must be a valid file descriptor number, got: ${X}`,{level:"error"}),Y(null),null;try{let j=n5(),G=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${V}`:`/proc/self/fd/${V}`,H=j.readFileSync(G,{encoding:"utf8"}).trim();if(!H)return z(`File descriptor contained empty ${J}`,{level:"error"}),Y(null),null;return z(`Successfully read ${J} from file descriptor ${V}`),Y(H),g7($,H,J),H}catch(j){z(`Failed to read ${J} from file descriptor ${V}: ${g(j)}`,{level:"error"});let G=q1($,J);return Y(G),G}}function X5(){return B1({envVar:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",wellKnownPath:C7,label:"OAuth token",getCached:X1,setCached:V1})}function l5(){return B1({envVar:"CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR",wellKnownPath:u7,label:"API key",getCached:W1,setCached:j1})}var q5="/home/claude/.claude/remote",C7,u7,C$;var G1=R(()=>{Q0();Z0();d();x1();S7();C7=`${q5}/.oauth_token`,u7=`${q5}/.api_key`,C$=`${q5}/.session_ingress_token`});async function R1(){if(process.platform==="darwin"){let Z=t();if((await H0(`security delete-generic-password -a $USER -s "${Z}"`,{shell:!0,reject:!1})).exitCode!==0)throw Error("Failed to delete keychain entry")}}function V5(Z){return Z.slice(-20)}var w1=R(()=>{H1();s5()});function d$(Z){return Z?.name==="CredentialsProviderError"}function F1(Z){if(!Z||typeof Z!=="object")return!1;let $=Z;if(!$.Credentials||typeof $.Credentials!=="object")return!1;let J=$.Credentials;return typeof J.AccessKeyId==="string"&&typeof J.SecretAccessKey==="string"&&typeof J.SessionToken==="string"&&J.AccessKeyId.length>0&&J.SecretAccessKey.length>0&&J.SessionToken.length>0}async function a5(){let{STSClient:Z,GetCallerIdentityCommand:$}=await import("@aws-sdk/client-sts");await new Z().send(new $({}))}async function K1(){try{z("Clearing AWS credential provider cache");let{fromIni:Z}=await import("@aws-sdk/credential-providers");await Z({ignoreCache:!0})(),z("AWS credential provider cache refreshed")}catch(Z){z("Failed to clear AWS credential cache (this is expected if no credentials are configured)")}}var L1=R(()=>{Z0()});class M{static instance=null;status={isAuthenticating:!1,output:[]};changed=Y0();static getInstance(){if(!M.instance)M.instance=new M;return M.instance}getStatus(){return{...this.status,output:[...this.status.output]}}startAuthentication(){this.status={isAuthenticating:!0,output:[]},this.changed.emit(this.getStatus())}addOutput(Z){this.status.output.push(Z),this.changed.emit(this.getStatus())}setError(Z){this.status.error=Z,this.changed.emit(this.getStatus())}endAuthentication(Z){if(Z)this.status={isAuthenticating:!1,output:[]};else this.status.isAuthenticating=!1;this.changed.emit(this.getStatus())}subscribe=this.changed.subscribe;static reset(){if(M.instance)M.instance.changed.clear(),M.instance=null}}var b1=R(()=>{D1()});var W5="claude-code-20250219",k1="interleaved-thinking-2025-05-14",T0="context-1m-2025-08-07",N1="context-management-2025-06-27",U1="structured-outputs-2025-12-15",r5="web-search-2025-03-05",v1="advanced-tool-use-2025-11-20",P1="tool-search-tool-2025-10-19",l$="effort-2025-11-24",s$="task-budgets-2026-03-13",O1="prompt-caching-scope-2026-01-05",a$="extended-cache-ttl-2025-04-11",r$="fast-mode-2026-02-01",E1="redact-thinking-2026-02-12",_1="thinking-token-count-2026-05-13",y1="token-efficient-tools-2026-03-28",o$="afk-mode-2026-01-31",e$="advisor-tool-2026-03-01",o5,ZJ;var e5=R(()=>{o5=new Set(["interleaved-thinking-2025-05-14","context-1m-2025-08-07","tool-search-tool-2025-10-19"]),ZJ=new Set(["claude-code-20250219","interleaved-thinking-2025-05-14","context-management-2025-06-27"])});function I(){if(W()!=="firstParty")return!1;return!K(process.env.CLAUDIN_DISABLE_FAST_MODE)}function f1(){if(!I())return!1;return d7()===null}function c7(Z,$){switch(Z){case"free":return $==="oauth"?"Fast mode requires a paid subscription":"Fast mode unavailable during evaluation. Please purchase credits.";case"preference":return"Fast mode has been disabled by your organization";case"extra_usage_disabled":return"Fast mode requires extra usage billing · /extra-usage to enable";case"network_error":return"Fast mode unavailable due to network connectivity issues";case"unknown":return"Fast mode is currently unavailable"}}function d7(){if(W()!=="firstParty")return"Fast mode is not available on third-party providers";if(!I())return"Fast mode is not available";let Z=S0("tengu_penguins_off",null);if(Z!==null)return z(`Fast mode unavailable: ${Z}`),Z;if(!M1()&&S0("tengu_marble_sandcastle",!1))return"Fast mode requires the native binary · Install from: https://claude.com/product/claude-code";if(C()&&j5()&&!I1()){if(!P("flagSettings")?.fastMode)return z("Fast mode unavailable: Fast mode is not available in the Agent SDK"),"Fast mode is not available in the Agent SDK"}if(E.status==="disabled"){if(E.reason==="network_error"||E.reason==="unknown"){if(K(process.env.CLAUDIN_SKIP_FAST_MODE_NETWORK_ERRORS))return null}let $=w()!==null?"oauth":"api-key",J=c7(E.reason,$);return z(`Fast mode unavailable: ${J}`),J}return null}function KJ(){let Z=B5(X0());return"opus"+(J2()&&!Z?"[1m]":"")}function LJ(Z){if(!I())return!1;if(!f1())return!1;if(!A1(Z))return!1;let $=N();if($.fastModePerSessionOptIn)return!1;return $.fastMode===!0}function A1(Z){if(!I())return!1;let $=Z??f0(),J=T($).toLowerCase();return J.includes("opus-5")||J.includes("opus-4-7")||J.includes("opus-4-6")}function i7(){if(R0.status==="cooldown"&&Date.now()>=R0.resetAt){if(I()&&!Z2)z("Fast mode cooldown expired, re-enabling fast mode"),Z2=!0,u1.emit();R0={status:"active"}}return R0}function kJ(Z,$){if(!I())return;R0={status:"cooldown",resetAt:Z,reason:$},Z2=!1;let J=Z-Date.now();z(`Fast mode cooldown triggered (${$}), duration ${Math.round(J/1000)}s`),x("",{cooldown_duration_ms:J,cooldown_reason:$}),C1.emit(Z,$)}function NJ(){R0={status:"active"}}function UJ(){if(E.status==="disabled")return;E={status:"disabled",reason:"preference"},x5("userSettings",{fastMode:void 0}),S((Z)=>({...Z,penguinModeOrgEnabled:!1})),$2.emit(!1)}function t7(Z){switch(Z){case"out_of_credits":return"Fast mode disabled · extra usage credits exhausted";case"org_level_disabled":case"org_service_level_disabled":return"Fast mode disabled · extra usage disabled by your organization";case"org_level_disabled_until":return"Fast mode disabled · extra usage spending cap reached";case"member_level_disabled":return"Fast mode disabled · extra usage disabled for your account";case"seat_tier_level_disabled":case"seat_tier_zero_credit_limit":case"member_zero_credit_limit":return"Fast mode disabled · extra usage not available for your plan";case"overage_not_provisioned":case"no_limits_configured":return"Fast mode requires extra usage billing · /extra-usage to enable";default:return"Fast mode disabled · extra usage not available"}}function n7(Z){return Z==="org_level_disabled_until"||Z==="out_of_credits"}function PJ(Z){let $=t7(Z);if(z(`Fast mode overage rejection: ${Z??"unknown"} — ${$}`),x("",{overage_disabled_reason:Z??"unknown"}),!n7(Z))x5("userSettings",{fastMode:void 0}),S((J)=>({...J,penguinModeOrgEnabled:!1}));g1.emit($)}function l7(){return i7().status==="cooldown"}function OJ(Z,$){let J=I()&&f1()&&!!$&&A1(Z);if(J&&l7())return"cooldown";if(J)return"on";return"off"}async function s7(Z){let $=`${U().BASE_API_URL}/api/claude_code_penguin_mode`,J="accessToken"in Z?{Authorization:`Bearer ${Z.accessToken}`,"anthropic-beta":B0}:{"x-api-key":Z.apiKey};return(await v.get($,{headers:J})).data}function _J(){if(!I())return;if(E.status!=="pending")return;E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"unknown"}}async function yJ(){if(S1())return;if(!I())return;if(M0)return z("Fast mode prefetch in progress, returning in-flight promise"),M0;let Z=I0();if(!(w()?.accessToken&&q0())&&!Z){E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"preference"};return}let J=Date.now();if(J-h1<a7){z("Skipping fast mode prefetch, fetched recently");return}h1=J;let Q=async()=>{let q=w(),X=q?.accessToken&&q0()?{accessToken:q.accessToken}:Z?{apiKey:Z}:null;if(!X)throw Error("No auth available");return s7(X)};async function Y(){try{let q;try{q=await Q()}catch(V){if(v.isAxiosError(V)&&(V.response?.status===401||V.response?.status===403&&typeof V.response?.data==="string"&&V.response.data.includes("OAuth token has been revoked"))){let G=w()?.accessToken;if(G)await Q2(G),q=await Q();else throw V}else throw V}let X=E.status!=="pending"?E.status==="enabled":D().penguinModeOrgEnabled;if(E=q.enabled?{status:"enabled"}:{status:"disabled",reason:q.disabled_reason??"preference"},X!==q.enabled){if(!q.enabled)x5("userSettings",{fastMode:void 0});S((V)=>({...V,penguinModeOrgEnabled:q.enabled})),$2.emit(q.enabled)}z(`Org fast mode: ${q.enabled?"enabled":`disabled (${q.disabled_reason??"preference"})`}`)}catch(q){E=D().penguinModeOrgEnabled===!0?{status:"enabled"}:{status:"disabled",reason:"network_error"},z(`Failed to fetch org fast mode status, defaulting to ${E.status==="enabled"?"enabled (cached)":"disabled (network_error)"}: ${q}`,{level:"error"}),x("",{})}finally{M0=null}}return M0=Y(),M0}var FJ="Opus 5",R0,Z2=!1,C1,u1,DJ,bJ,g1,vJ,E,$2,EJ,a7=30000,h1=0,M0=null;var p1=R(()=>{Y5();h0();T1();Q0();z5();o();p7();$0();Z0();d();w0();i();m7();x0();D1();R0={status:"active"},C1=Y0(),u1=Y0(),DJ=C1.subscribe,bJ=u1.subscribe;g1=Y0(),vJ=g1.subscribe;E={status:"pending"},$2=Y0(),EJ=$2.subscribe});function J8(Z){for(let $ of $8)if($.pattern.test(Z))return $.cost;return}function q2(Z){if(I()&&Z)return i1;return n}function X2(Z){if(I()&&Z)return i1;return Y2[F(U0.firstParty)]??n}function Q8(Z,$){let J=Z.promptCacheWrite1hTokens??Z.promptCacheWriteTokens,Q=$.cache_creation,Y=Q?(Q.ephemeral_5m_input_tokens??0)/1e6*Z.promptCacheWriteTokens+(Q.ephemeral_1h_input_tokens??0)/1e6*J:($.cache_creation_input_tokens??0)/1e6*Z.promptCacheWriteTokens;return $.input_tokens/1e6*Z.inputTokens+$.output_tokens/1e6*Z.outputTokens+($.cache_read_input_tokens??0)/1e6*Z.promptCacheReadTokens+Y+($.server_tool_use?.web_search_requests??0)*Z.webSearchRequests}function Y8(Z,$){let J=b(Z);if(J===F(l0.firstParty)||J===F(s0.firstParty)||J===F(a0.firstParty)){let Y=$.speed==="fast";return q2(Y)}if(J===F(U0.firstParty))return X2($.speed==="fast");let Q=Y2[J];if(!Q){let Y=J8(Z);if(Y)return Y;return q8(Z,J),Y2[b(f0())]??Z8}return Q}function q8(Z,$){x("",{model:Z,shortName:$}),d1()}function X8(Z,$){let J=Y8(Z,$);return Q8(J,$)}function AJ(Z,$){let J={input_tokens:$.inputTokens,output_tokens:$.outputTokens,cache_read_input_tokens:$.cacheReadInputTokens,cache_creation_input_tokens:$.cacheCreationInputTokens};return X8(Z,J)}function c1(Z){if(Number.isInteger(Z))return`$${Z}`;return`$${Z.toFixed(2)}`}function V2(Z){return`${c1(Z.inputTokens)}/${c1(Z.outputTokens)} per Mtok`}var F0,m1,n,r7,i1,o7,e7,Z8,$8,Y2;var t1=R(()=>{z5();Q0();p1();u5();w0();F0={inputTokens:3,outputTokens:15,promptCacheWriteTokens:3.75,promptCacheWrite1hTokens:6,promptCacheReadTokens:0.3,webSearchRequests:0.01},m1={inputTokens:15,outputTokens:75,promptCacheWriteTokens:18.75,promptCacheWrite1hTokens:30,promptCacheReadTokens:1.5,webSearchRequests:0.01},n={inputTokens:5,outputTokens:25,promptCacheWriteTokens:6.25,promptCacheWrite1hTokens:10,promptCacheReadTokens:0.5,webSearchRequests:0.01},r7={inputTokens:10,outputTokens:50,promptCacheWriteTokens:12.5,promptCacheWrite1hTokens:20,promptCacheReadTokens:1,webSearchRequests:0.01},i1={inputTokens:30,outputTokens:150,promptCacheWriteTokens:37.5,promptCacheWrite1hTokens:60,promptCacheReadTokens:3,webSearchRequests:0.01},o7={inputTokens:0.8,outputTokens:4,promptCacheWriteTokens:1,promptCacheWrite1hTokens:1.6,promptCacheReadTokens:0.08,webSearchRequests:0.01},e7={inputTokens:1,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheWrite1hTokens:2,promptCacheReadTokens:0.1,webSearchRequests:0.01},Z8=n,$8=[{pattern:/gpt-5-nano/i,label:"gpt-5-nano",cost:{inputTokens:0.05,outputTokens:0.4,promptCacheWriteTokens:0.05,promptCacheReadTokens:0.005,webSearchRequests:0}},{pattern:/gpt-5-mini/i,label:"gpt-5-mini",cost:{inputTokens:0.25,outputTokens:2,promptCacheWriteTokens:0.25,promptCacheReadTokens:0.025,webSearchRequests:0}},{pattern:/gpt-5/i,label:"gpt-5",cost:{inputTokens:1.25,outputTokens:10,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gpt-4o-mini/i,label:"gpt-4o-mini",cost:{inputTokens:0.15,outputTokens:0.6,promptCacheWriteTokens:0.15,promptCacheReadTokens:0.075,webSearchRequests:0}},{pattern:/gpt-4o/i,label:"gpt-4o",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:1.25,webSearchRequests:0}},{pattern:/gpt-4\.1/i,label:"gpt-4.1",cost:{inputTokens:2,outputTokens:8,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/o4-mini/i,label:"o4-mini",cost:{inputTokens:0.55,outputTokens:2.2,promptCacheWriteTokens:0.55,promptCacheReadTokens:0.275,webSearchRequests:0}},{pattern:/\bo3\b/i,label:"o3",cost:{inputTokens:15,outputTokens:60,promptCacheWriteTokens:15,promptCacheReadTokens:7.5,webSearchRequests:0}},{pattern:/\bo1\b/i,label:"o1",cost:{inputTokens:15,outputTokens:60,promptCacheWriteTokens:15,promptCacheReadTokens:7.5,webSearchRequests:0}},{pattern:/gemini.*2\.5.*pro/i,label:"gemini-2.5-pro",cost:{inputTokens:1.25,outputTokens:10,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gemini.*2\.5.*flash/i,label:"gemini-2.5-flash",cost:{inputTokens:0.3,outputTokens:2.5,promptCacheWriteTokens:0.3,promptCacheReadTokens:0.03,webSearchRequests:0}},{pattern:/gemini.*flash/i,label:"gemini-flash",cost:{inputTokens:0.1,outputTokens:0.4,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.025,webSearchRequests:0}},{pattern:/gemini.*pro/i,label:"gemini-pro",cost:{inputTokens:1.25,outputTokens:5,promptCacheWriteTokens:1.25,promptCacheReadTokens:0.125,webSearchRequests:0}},{pattern:/gemini/i,label:"gemini",cost:{inputTokens:0.3,outputTokens:2.5,promptCacheWriteTokens:0.3,promptCacheReadTokens:0.03,webSearchRequests:0}},{pattern:/deepseek/i,label:"deepseek",cost:{inputTokens:0.14,outputTokens:0.28,promptCacheWriteTokens:0.14,promptCacheReadTokens:0.0028,webSearchRequests:0}},{pattern:/kimi-for-coding/i,label:"kimi-for-coding",cost:{inputTokens:1,outputTokens:2,promptCacheWriteTokens:1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/kimi/i,label:"kimi",cost:{inputTokens:0.6,outputTokens:2.5,promptCacheWriteTokens:0.6,promptCacheReadTokens:0.06,webSearchRequests:0}},{pattern:/moonshot/i,label:"moonshot",cost:{inputTokens:0.6,outputTokens:2.5,promptCacheWriteTokens:0.6,promptCacheReadTokens:0.06,webSearchRequests:0}},{pattern:/devstral/i,label:"devstral",cost:{inputTokens:0.1,outputTokens:0.3,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/mistral.*large.*3/i,label:"mistral-large-3",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/mistral.*large/i,label:"mistral-large",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:2,webSearchRequests:0}},{pattern:/mistral.*medium/i,label:"mistral-medium",cost:{inputTokens:0.4,outputTokens:2,promptCacheWriteTokens:0.4,promptCacheReadTokens:0.4,webSearchRequests:0}},{pattern:/mistral.*small/i,label:"mistral-small",cost:{inputTokens:0.1,outputTokens:0.3,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/ministral.*8b/i,label:"ministral-8b",cost:{inputTokens:0.1,outputTokens:0.1,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/ministral.*3b/i,label:"ministral-3b",cost:{inputTokens:0.04,outputTokens:0.04,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/llama.*405/i,label:"llama-405b",cost:{inputTokens:3.5,outputTokens:3.5,promptCacheWriteTokens:3.5,promptCacheReadTokens:3.5,webSearchRequests:0}},{pattern:/llama.*70/i,label:"llama-70b",cost:{inputTokens:0.59,outputTokens:0.79,promptCacheWriteTokens:0.59,promptCacheReadTokens:0.59,webSearchRequests:0}},{pattern:/llama.*8b/i,label:"llama-8b",cost:{inputTokens:0.1,outputTokens:0.1,promptCacheWriteTokens:0.1,promptCacheReadTokens:0.1,webSearchRequests:0}},{pattern:/qwen/i,label:"qwen",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/minimax/i,label:"minimax",cost:{inputTokens:0.2,outputTokens:1.1,promptCacheWriteTokens:0.2,promptCacheReadTokens:0.2,webSearchRequests:0}},{pattern:/\bglm/i,label:"glm",cost:{inputTokens:0.5,outputTokens:1.5,promptCacheWriteTokens:0.5,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/grok.*4.*fast/i,label:"grok-4-fast",cost:{inputTokens:0.2,outputTokens:0.5,promptCacheWriteTokens:0.2,promptCacheReadTokens:0.05,webSearchRequests:0}},{pattern:/grok.*4\.20/i,label:"grok-4.20",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/grok.*4/i,label:"grok-4",cost:{inputTokens:3,outputTokens:15,promptCacheWriteTokens:3,promptCacheReadTokens:0.75,webSearchRequests:0}},{pattern:/grok/i,label:"grok",cost:{inputTokens:2,outputTokens:6,promptCacheWriteTokens:2,promptCacheReadTokens:0.5,webSearchRequests:0}},{pattern:/command-?r-?plus|command-r\+/i,label:"command-r-plus",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:2.5,webSearchRequests:0}},{pattern:/command-?a\b/i,label:"command-a",cost:{inputTokens:2.5,outputTokens:10,promptCacheWriteTokens:2.5,promptCacheReadTokens:2.5,webSearchRequests:0}},{pattern:/command-?r7b/i,label:"command-r7b",cost:{inputTokens:0.0375,outputTokens:0.15,promptCacheWriteTokens:0.0375,promptCacheReadTokens:0.0375,webSearchRequests:0}},{pattern:/command-?r/i,label:"command-r",cost:{inputTokens:0.15,outputTokens:0.6,promptCacheWriteTokens:0.15,promptCacheReadTokens:0.15,webSearchRequests:0}},{pattern:/gemma.*27b/i,label:"gemma-27b",cost:{inputTokens:0.08,outputTokens:0.16,promptCacheWriteTokens:0.08,promptCacheReadTokens:0.08,webSearchRequests:0}},{pattern:/gemma.*12b/i,label:"gemma-12b",cost:{inputTokens:0.04,outputTokens:0.13,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/gemma/i,label:"gemma",cost:{inputTokens:0.04,outputTokens:0.08,promptCacheWriteTokens:0.04,promptCacheReadTokens:0.04,webSearchRequests:0}},{pattern:/phi-?4-?mini/i,label:"phi-4-mini",cost:{inputTokens:0.075,outputTokens:0.3,promptCacheWriteTokens:0.075,promptCacheReadTokens:0.075,webSearchRequests:0}},{pattern:/phi-?4/i,label:"phi-4",cost:{inputTokens:0.13,outputTokens:0.5,promptCacheWriteTokens:0.13,promptCacheReadTokens:0.13,webSearchRequests:0}},{pattern:/\bphi\b/i,label:"phi",cost:{inputTokens:0.13,outputTokens:0.5,promptCacheWriteTokens:0.13,promptCacheReadTokens:0.13,webSearchRequests:0}}];Y2={[F(_5.firstParty)]:o7,[F(y5.firstParty)]:e7,[F(E5.firstParty)]:F0,[F(O5.firstParty)]:F0,[F(h5.firstParty)]:F0,[F(I5.firstParty)]:F0,[F(A5.firstParty)]:F0,[F(C5.firstParty)]:F0,[F(T5.firstParty)]:m1,[F(M5.firstParty)]:m1,[F(S5.firstParty)]:n,[F(l0.firstParty)]:n,[F(s0.firstParty)]:n,[F(a0.firstParty)]:n,[F(U0.firstParty)]:n,[F(f5.firstParty)]:r7}});function p(Z){return V8.includes(Z)}function K0(Z){return W8.includes(Z)}var V8,W8;var W2=R(()=>{V8=["sonnet","opus","haiku","fable","best","sonnet[1m]","opus[1m]","opusplan"];W8=["sonnet","opus","haiku"]});function j8(Z,$){if(Z.includes($))return!0;if(p(Z))return T(Z).toLowerCase().includes($);return!1}function n1(Z,$){if(!Z.startsWith($))return!1;return Z.length===$.length||Z[$.length]==="-"}function z8(Z,$){let J=p(Z)?T(Z).toLowerCase():Z;if(n1(J,$))return!0;if(!$.startsWith("claude-")&&n1(J,`claude-${$}`))return!0;return!1}function l1(Z,$){for(let J of $){if(K0(J))continue;let Q=J.indexOf(Z);if(Q===-1)continue;let Y=Q+Z.length;if(Y===J.length||J[Y]==="-")return!0}return!1}function s1(Z){let $=N()||{},{availableModels:J}=$;if(!J)return!0;if(J.length===0)return!1;let Y=J5(Z).trim().toLowerCase(),q=J.map((X)=>X.trim().toLowerCase());if(q.includes(Y)){if(!K0(Y)||!l1(Y,q))return!0}for(let X of q)if(K0(X)&&!l1(X,q)&&j8(Y,X))return!0;if(p(Y)){let X=T(Y).toLowerCase();if(q.includes(X))return!0}for(let X of q)if(!K0(X)&&p(X)){if(T(X).toLowerCase()===Y)return!0}for(let X of q)if(!K0(X)&&!p(X)){if(z8(Y,X))return!0}return!1}var a1=R(()=>{x0();W2();w0();Q5()});function G5(Z){if(typeof Z!=="string")return;let $=Z.trim();return $.length>0?$:void 0}function L0(){let Z=L();if(!Z?.model)return;return Z4(Z.model)}function W3(){if(process.env.ANTHROPIC_SMALL_FAST_MODEL)return process.env.ANTHROPIC_SMALL_FAST_MODEL;let Z=L0();if(W()==="gemini")return Z||"gemini-2.0-flash-lite";if(W()==="mistral")return Z||"ministral-3b-latest";if(W()==="openai")return Z||"gpt-4o-mini";if(W()==="codex")return Z||"codexspark";if(W()==="github")return Z||"github:copilot";if(W()==="nvidia-nim")return Z||"meta/llama-3.1-8b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.5-highspeed";return Q4()}function j3(Z){return Z===B().opus40||Z===B().opus41||Z===B().opus45||Z===B().opus46||Z===B().opus47||Z===B().opus48||Z===B().opus5}function B5(Z){let $=b(Z);return $.includes("opus-5")||$.includes("sonnet-5")||$.includes("fable-5")}function j2(){let Z,$=r1();if($!==void 0)Z=$;else{let J=N()||{},Q=G5(J.model),q=L0()||Q||void 0,X=e1(),V=G5(X.activeModelForProject);if(V){let j=$4()?.id,G=X.activeModelForProjectProfileId;Z=G===void 0||G===j?V:q}else Z=q}if(Z&&!s1(Z))return;return Z}function z3(){let Z=j2();if(Z!==void 0&&Z!==null)return T(Z);return Y4()}function H8(){return X0()}function X0(){if(process.env.ANTHROPIC_DEFAULT_OPUS_MODEL)return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;let Z=L0();if(W()==="gemini")return Z||"gemini-2.5-pro";if(W()==="mistral")return Z||"devstral-latest";if(W()==="openai")return Z||"gpt-4o";if(W()==="codex")return Z||"gpt-5.5";if(W()==="github")return Z||"github:copilot";if(W()==="nvidia-nim")return Z||"nvidia/llama-3.1-nemotron-70b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.7";if(W()!=="firstParty")return B().opus46;return B().opus5}function A0(){if(process.env.ANTHROPIC_DEFAULT_SONNET_MODEL)return process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;let Z=L0();if(W()==="gemini")return Z||"gemini-2.0-flash";if(W()==="mistral")return Z||"mistral-medium-latest";if(W()==="openai")return Z||"gpt-4o";if(W()==="codex")return Z||"gpt-5.5";if(W()==="github")return Z||"github:copilot";if(W()==="nvidia-nim")return Z||"nvidia/llama-3.1-nemotron-70b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.5";if(W()!=="firstParty")return B().sonnet45;return B().sonnet5}function Q4(){if(process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL)return process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;let Z=L0();if(W()==="mistral")return Z||"ministral-3b-latest";if(W()==="openai")return Z||"gpt-4o-mini";if(W()==="codex")return Z||"gpt-5.5";if(W()==="github")return Z||"github:copilot";if(W()==="gemini")return Z||"gemini-2.0-flash-lite";if(W()==="nvidia-nim")return Z||"meta/llama-3.1-8b-instruct";if(W()==="minimax")return Z||"MiniMax-M2.5-highspeed";return B().haiku45}function x3(Z){let{permissionMode:$,mainLoopModel:J,exceeds200kTokens:Q=!1}=Z;if(j2()==="opusplan"&&$==="plan"&&!Q)return X0();if(j2()==="haiku"&&$==="plan")return A0();return J}function f0(){let Z=L0();if(W()==="github"){let $=N()||{};return G5($.model)||Z||"github:copilot"}if(W()==="gemini")return Z||"gemini-2.0-flash";if(W()==="mistral")return Z||"devstral-latest";if(W()==="openai")return Z||"gpt-4o";if(W()==="codex")return Z||"gpt-5.5";if(H5()||R5()){let $=X0();return $+(J2()&&!B5($)?"[1m]":"")}return A0()}function Y4(){return T(f0())}function F(Z){if(Z=Z.toLowerCase(),Z.includes("claude-fable-5"))return"claude-fable-5";if(Z.includes("claude-opus-5"))return"claude-opus-5";if(Z.includes("claude-opus-4-8"))return"claude-opus-4-8";if(Z.includes("claude-opus-4-7"))return"claude-opus-4-7";if(Z.includes("claude-opus-4-6"))return"claude-opus-4-6";if(Z.includes("claude-opus-4-5"))return"claude-opus-4-5";if(Z.includes("claude-opus-4-1"))return"claude-opus-4-1";if(Z.includes("claude-opus-4"))return"claude-opus-4";if(Z.includes("claude-sonnet-5"))return"claude-sonnet-5";if(Z.includes("claude-sonnet-4-6"))return"claude-sonnet-4-6";if(Z.includes("claude-sonnet-4-5"))return"claude-sonnet-4-5";if(Z.includes("claude-sonnet-4"))return"claude-sonnet-4";if(Z.includes("claude-haiku-4-5"))return"claude-haiku-4-5";if(Z.includes("claude-3-7-sonnet"))return"claude-3-7-sonnet";if(Z.includes("claude-3-5-sonnet"))return"claude-3-5-sonnet";if(Z.includes("claude-3-5-haiku"))return"claude-3-5-haiku";if(Z.includes("claude-3-opus"))return"claude-3-opus";if(Z.includes("claude-3-sonnet"))return"claude-3-sonnet";if(Z.includes("claude-3-haiku"))return"claude-3-haiku";let $=Z.match(/(claude-(\d+-\d+-)?\w+)/);if($&&$[1])return $[1];return Z}function b(Z){return F(J5(Z))}function R8(Z=!1){if(H5()||R5())return`Opus 5 · Most capable for complex work${Z?w8(!0):""}`;return"Sonnet 5 · Best for everyday tasks"}function B3(Z){if(Z==="opusplan")return"Opus 5 in plan mode, else Sonnet 5";return X4(T(Z))}function G3(Z){if(W()!=="firstParty")return"";let $=V2(q2(Z));return` ·${Z?` (${z2})`:""} ${$}`}function w8(Z){if(W()!=="firstParty")return"";let $=V2(X2(Z));return` ·${Z?` (${z2})`:""} ${$}`}function J2(){if(V0()||G2()||W()!=="firstParty")return!1;if(_()&&f()===null)return!1;return!0}function H3(Z){if(Z==="opusplan")return"Opus Plan";if(Z==="codexplan")return"codexplan (gpt-5.5)";if(Z==="codexspark")return"codexspark (gpt-5.3-codex-spark)";if(p(Z))return o1(Z);return X4(Z)}function q4(Z){if(W()==="openai"||W()==="gemini"||W()==="codex"||W()==="github"){if(g5[Z])return g5[Z];if(W()==="github"){let{getCopilotDisplayName:$}=(E0(),_0(O0));return $(Z)??null}return null}switch(Z){case"gpt-5.5":return"GPT-5.5";case"gpt-5.4":return"GPT-5.4";case"gpt-5.3-codex-spark":return"GPT-5.3 Codex Spark";case B().fable5:return"Fable 5";case B().opus5:return"Opus 5";case B().opus48:return"Opus 4.8";case B().opus48+"[1m]":return"Opus 4.8 (1M context)";case B().opus47:return"Opus 4.7";case B().opus47+"[1m]":return"Opus 4.7 (1M context)";case B().opus46:return"Opus 4.6";case B().opus46+"[1m]":return"Opus 4.6 (1M context)";case B().opus45:return"Opus 4.5";case B().opus41:return"Opus 4.1";case B().opus40:return"Opus 4";case B().sonnet5:return"Sonnet 5";case B().sonnet46+"[1m]":return"Sonnet 4.6 (1M context)";case B().sonnet46:return"Sonnet 4.6";case B().sonnet45+"[1m]":return"Sonnet 4.5 (1M context)";case B().sonnet45:return"Sonnet 4.5";case B().sonnet40:return"Sonnet 4";case B().sonnet40+"[1m]":return"Sonnet 4 (1M context)";case B().sonnet37:return"Sonnet 3.7";case B().sonnet35:return"Sonnet 3.5";case B().haiku45:return"Haiku 4.5";case B().haiku35:return"Haiku 3.5";default:return null}}function X4(Z){let $=q4(Z);if($)return $;if(Z==="github:copilot")return"GPT-4o";return Z}function R3(Z){let $=q4(Z);if($)return`Claude ${$}`;return`Claude (${Z})`}function T(Z){let $=G5(Z);if(!$)return A0();let J=$.toLowerCase(),Q=l(J),Y=Q?J.replace(/\[1m]$/i,"").trim():J;if(p(Y)){let q=(X)=>Q&&!B5(X)?X+"[1m]":X;switch(Y){case"opusplan":return q(A0());case"sonnet":return q(A0());case"haiku":return q(Q4());case"opus":return q(X0());case"best":return H8();default:}}if(Y==="codexplan")return"gpt-5.5";if(Y==="codexspark")return"gpt-5.3-codex-spark";if(Y==="fable"||Y==="fable5")return B().fable5;if(W()==="firstParty"&&K8(Y)&&L8())return X0()+(Q?"[1m]":"");if(Q)return $.replace(/\[1m\]$/i,"").trim()+"[1m]";return $}function w3(Z,$){if(l(Z)||!l($))return Z;if(x2(T(Z)))return Z+"[1m]";return Z}function K8(Z){return F8.includes(Z)}function L8(){return!K(process.env.CLAUDIN_DISABLE_LEGACY_MODEL_REMAP)}function F3(Z){if(Z===null){if(_())return`Default (${R8()})`;return`Default (${Y4()})`}let $=T(Z);return Z===$?$:`${Z} (${$})`}function K3(Z){if(W()==="foundry")return;let $=Z.toLowerCase().includes("[1m]"),J=b(Z);if(J.includes("claude-fable-5"))return"Fable 5";if(J.includes("claude-opus-5"))return"Opus 5";if(J.includes("claude-opus-4-8"))return $?"Opus 4.8 (with 1M context)":"Opus 4.8";if(J.includes("claude-opus-4-7"))return $?"Opus 4.7 (with 1M context)":"Opus 4.7";if(J.includes("claude-opus-4-6"))return $?"Opus 4.6 (with 1M context)":"Opus 4.6";if(J.includes("claude-opus-4-5"))return"Opus 4.5";if(J.includes("claude-opus-4-1"))return"Opus 4.1";if(J.includes("claude-opus-4"))return"Opus 4";if(J.includes("claude-sonnet-5"))return"Sonnet 5";if(J.includes("claude-sonnet-4-6"))return $?"Sonnet 4.6 (with 1M context)":"Sonnet 4.6";if(J.includes("claude-sonnet-4-5"))return $?"Sonnet 4.5 (with 1M context)":"Sonnet 4.5";if(J.includes("claude-sonnet-4"))return $?"Sonnet 4 (with 1M context)":"Sonnet 4";if(J.includes("claude-3-7-sonnet"))return"Claude 3.7 Sonnet";if(J.includes("claude-3-5-sonnet"))return"Claude 3.5 Sonnet";if(J.includes("claude-haiku-4-5"))return"Haiku 4.5";if(J.includes("claude-3-5-haiku"))return"Claude 3.5 Haiku";return}function L3(Z){return Z.replace(/\[(1|2)m\]/gi,"")}function D3(Z){let $=b(Z);return $.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("opus-5")||$.includes("fable-5")||$.includes("sonnet-5")}var F8;var w0=R(()=>{Q0();J0();$0();J4();o();B2();d();G8();Q5();t1();x0();i();x8();a1();W2();B8();p5();F8=["claude-opus-4-20250514","claude-opus-4-1-20250805","claude-opus-4-0","claude-opus-4-1"]});function H2(Z){return}async function k3(){}var V4=()=>{};function N8(Z,$={}){if($.isPro??(k8.test(Z)||W4.has(Z)))return!1;if(D8.has(Z))return!0;if(W4.has(Z))return!1;let Q=Z.match(b8);return Q?Number.parseFloat(Q[1])>5.4:!1}function U3(){return w5.filter((Z)=>N8(Z.id,{isPro:Z.isPro}))}var w5,D8,W4,b8,k8,j4,z4;var x4=R(()=>{w5=[{id:"gpt-5.6-sol",label:"gpt-5.6-sol",description:"GPT-5.6 Sol - flagship, high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.6-terra",label:"gpt-5.6-terra",description:"GPT-5.6 Terra with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.6-luna",label:"gpt-5.6-luna",description:"GPT-5.6 Luna with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.5",label:"gpt-5.5",description:"GPT-5.5 with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.4",label:"gpt-5.4",description:"GPT-5.4 with high reasoning",reasoningEffort:"high",contextInput:1050000,contextOutput:128000},{id:"gpt-5.3-codex",label:"gpt-5.3-codex",description:"GPT-5.3 Codex with high reasoning",reasoningEffort:"high"},{id:"gpt-5.3-codex-spark",label:"gpt-5.3-codex-spark",description:"GPT-5.3 Codex Spark for fast tool loops"},{id:"codexspark",label:"codexspark",description:"GPT-5.3 Codex Spark alias for fast tool loops"},{id:"gpt-5.2-codex",label:"gpt-5.2-codex",description:"GPT-5.2 Codex with high reasoning",reasoningEffort:"high"},{id:"gpt-5.1-codex-max",label:"gpt-5.1-codex-max",description:"GPT-5.1 Codex Max for deep reasoning",reasoningEffort:"high"},{id:"gpt-5.1-codex-mini",label:"gpt-5.1-codex-mini",description:"GPT-5.1 Codex Mini - faster, cheaper"},{id:"gpt-5.5-mini",label:"gpt-5.5-mini",description:"GPT-5.5 Mini - faster, cheaper",reasoningEffort:"medium",contextInput:400000,contextOutput:128000},{id:"gpt-5.4-mini",label:"gpt-5.4-mini",description:"GPT-5.4 Mini - faster, cheaper",reasoningEffort:"medium",contextInput:400000,contextOutput:128000}],D8=new Set(w5.filter((Z)=>!Z.isPro).map((Z)=>Z.id)),W4=new Set(["gpt-5.5-pro"]),b8=/^gpt-(\d+\.\d+)/,k8=/-pro$/;j4=Object.fromEntries(w5.filter((Z)=>Z.contextInput!==void 0).map((Z)=>[Z.id,Z.contextInput])),z4=Object.fromEntries(w5.filter((Z)=>Z.contextOutput!==void 0).map((Z)=>[Z.id,Z.contextOutput]))});var K4={};c5(K4,{prefetchOpenAICompatibleModels:()=>T8,getDiscoveredContextWindow:()=>U8,discoverOpenAICompatibleModelOptions:()=>F4});function U8(Z){return R4.get(Z)}function v8(){return(L()?.baseUrl??"https://api.openai.com/v1").replace(/\/+$/,"")}function w4(Z){try{let $=new URL(Z).hostname.toLowerCase();return $.endsWith(".openai.azure.com")||$.endsWith(".cognitiveservices.azure.com")}catch{return!1}}function P8(Z){try{return new URL(Z).hostname.toLowerCase().includes("bankr")}catch{return!1}}function O8(Z){let $=L()?.apiKey?.trim();if(!$)return{};if(P8(Z))return{"X-API-Key":$};let J={Authorization:`Bearer ${$}`};if(w4(Z))J["api-key"]=$;return J}function E8(Z){let $=Z.endsWith("/v1")?`${Z}/models`:`${Z}/v1/models`,J=`${Z}/models`,Q=process.env.OPENAI_API_VERSION?.trim(),Y=Q&&w4(Z)?(q)=>{try{let X=new URL(q);return X.searchParams.set("api-version",Q),X.toString()}catch{return q}}:(q)=>q;if($===J)return[Y($)];return[Y($),Y(J)]}function _8(Z){try{let $=new URL(Z),J=$.pathname.replace(/\/+$/,""),Y=`${J.endsWith("/v1")?J.slice(0,-3):J}/api/tags`.replace(/\/{2,}/g,"/");return`${$.origin}${Y}`}catch{return null}}function y8(Z){if(Z>=1e6)return`${Z/1e6}M ctx`;if(Z>=1000)return`${Math.round(Z/1000)}K ctx`;return`${Z} ctx`}async function h8(Z,$){let J=new Set;for(let Q of Z)try{let Y=await v.get(Q,{headers:$,timeout:H4}),q=[];for(let X of Y.data?.data??[]){let V=X.id?.trim();if(!V||J.has(V))continue;J.add(V);let j=X.name?.trim()||V,G=X.context_length??null;if(G&&G>0)R4.set(V,G);let H=G?` · ${y8(G)}`:"";q.push({value:V,label:j,description:`${V}${H}`})}if(q.length>0)return q.sort((X,V)=>{let j=String(X.value).split("/")[0]??"",G=String(V.value).split("/")[0]??"",H=j.localeCompare(G);return H!==0?H:String(X.value).localeCompare(String(V.value))}),q}catch{z(`[ModelDiscovery] Failed to fetch OpenAI models from ${Q}`)}return[]}async function I8(Z,$){try{let J=await v.get(Z,{headers:$,timeout:H4}),Q=new Set;return(J.data?.models??[]).map((Y)=>Y.name?.trim()??"").filter((Y)=>{if(!Y||Q.has(Y))return!1;return Q.add(Y),!0}).map((Y)=>({value:Y,label:Y,description:"Ollama model"}))}catch{return z(`[ModelDiscovery] Failed to fetch Ollama models from ${Z}`),[]}}async function F4(){if(W()!=="openai")return[];let Z=v8(),$=O8(Z),J=await h8(E8(Z),$);if(J.length>0)return J;let Q=_8(Z);if(Q)return I8(Q,$);return[]}function T8(){if(C0)return C0;return C0=(async()=>{if(!G4()?.startsWith("openai:"))return;try{let $=await F4();if($.length>0)B4($)}catch{}finally{C0=null}})(),C0}var H4=5000,R4,C0=null;var L4=R(()=>{Y5();J0();s2();Z0();i();J4();R4=new Map});function b4(Z,$,J){let Q=L()?.model?.trim();if(Q&&Q!==J){let q=`${Q}:${J}`;if($[q]!==void 0)return $[q];if(Z[q]!==void 0)return Z[q]}let Y=D4($,J);if(Y!==void 0)return Y;return D4(Z,J)}function D4(Z,$){if(Z[$]!==void 0)return Z[$];let J=Object.keys(Z).sort((Q,Y)=>Y.length-Q.length);for(let Q of J)if($.startsWith(Q))return Z[Q];return}function k4(Z){try{let{getDiscoveredContextWindow:J}=(L4(),_0(K4)),Q=J(Z);if(Q!==void 0)return Q}catch{}let $=b4(M8,f8,Z);if($!==void 0)return $;try{let{getCatalogCopilotContextWindow:J}=(E0(),_0(O0));return J(Z)}catch{return}}function N4(Z){let $=b4(S8,A8,Z);if($!==void 0)return $;try{let{getCatalogCopilotMaxOutputTokens:J}=(E0(),_0(O0));return J(Z)}catch{return}}var M8,S8,f8,A8;var U4=R(()=>{J0();x4();M8={"github:copilot":128000,"github:copilot:claude-haiku-4.5":144000,"github:copilot:claude-sonnet-4.6":200000,"github:copilot:claude-opus-4.7":200000,"github:copilot:gpt-4.1":128000,"github:copilot:gpt-4o":128000,"github:copilot:gpt-5-mini":264000,"github:copilot:gpt-5.2-codex":400000,"github:copilot:gpt-5.4":400000,"github:copilot:gpt-5.5":400000,"github:copilot:gemini-3.1-pro-preview":200000,"github:copilot:grok-code-fast-1":256000,"github_copilot/claude-haiku-4.5":144000,"github_copilot/claude-sonnet-4.6":200000,"github_copilot/claude-opus-4.7":200000,"github_copilot/gpt-4.1":128000,"github_copilot/gpt-4o":128000,"github_copilot/gpt-5-mini":264000,"github_copilot/gpt-5.2-codex":400000,"github_copilot/gpt-5.4":400000,"github_copilot/gpt-5.5":400000,"github_copilot/gemini-3.1-pro-preview":200000,"github_copilot/grok-code-fast-1":256000,...j4,"gpt-5.5-nano":400000,"gpt-5.4-nano":400000,"gpt-4o":128000,"gpt-4o-mini":128000,"gpt-4.1":1047576,"gpt-4.1-mini":1047576,"gpt-4.1-nano":1047576,"gpt-4-turbo":128000,"gpt-4":8192,o1:200000,"o1-mini":128000,"o1-preview":128000,"o1-pro":200000,o3:200000,"o3-mini":200000,"o4-mini":200000,"deepseek-v4-flash":1048576,"deepseek-v4-pro":1048576,"deepseek-chat":128000,"deepseek-reasoner":128000,"llama-3.3-70b-versatile":128000,"llama-3.1-8b-instant":128000,"mixtral-8x7b-32768":32768,"mistral-large-latest":256000,"mistral-small-latest":256000,"devstral-latest":256000,"ministral-3b-latest":256000,"nvidia/llama-3.1-nemotron-70b-instruct":128000,"nvidia/llama-3.1-nemotron-ultra-253b-v1":128000,"nvidia/nemotron-mini-4b-instruct":32768,"meta/llama-3.1-405b-instruct":128000,"meta/llama-3.1-70b-instruct":128000,"meta/llama-3.1-8b-instruct":128000,"meta/llama-3.2-90b-instruct":128000,"meta/llama-3.2-1b-instruct":128000,"meta/llama-3.2-3b-instruct":128000,"meta/llama-3.3-70b-instruct":128000,"google/gemma-2-27b-it":8192,"google/gemma-2-9b-it":8192,"google/gemma-3-27b-it":131072,"google/gemma-3-12b-it":131072,"google/gemma-3-4b-it":131072,"deepseek-ai/deepseek-r1":128000,"deepseek-ai/deepseek-v3":128000,"deepseek-ai/deepseek-v3.2":128000,"qwen/qwen3-32b":128000,"qwen/qwen3-8b":128000,"qwen/qwen2.5-7b-instruct":32768,"mistralai/mistral-large-3-675b-instruct-2512":256000,"mistralai/mistral-large-2-instruct":256000,"mistralai/mistral-small-3.1-24b-instruct-2503":32768,"mistralai/mixtral-8x7b-instruct-v0.1":32768,"microsoft/phi-4-mini-instruct":16384,"microsoft/phi-3.5-mini-instruct":16384,"microsoft/phi-3-mini-128k-instruct":128000,"ibm/granite-3.3-8b-instruct":8192,"ibm/granite-8b-code-instruct":8192,"z-ai/glm5":200000,"z-ai/glm4.7":128000,"moonshotai/kimi-k2.5":200000,"moonshotai/kimi-k2-instruct":128000,"databricks/dbrx-instruct":131072,"ai21labs/jamba-1.5-large-instruct":256000,"ai21labs/jamba-1.5-mini-instruct":256000,"01-ai/yi-large":32768,"MiniMax-M2.7":204800,"MiniMax-M2.7-highspeed":204800,"MiniMax-M2.5":204800,"MiniMax-M2.5-highspeed":204800,"MiniMax-M2.1":204800,"MiniMax-M2.1-highspeed":204800,"minimax-m2.7":204800,"minimax-m2.7-highspeed":204800,"minimax-m2.5":204800,"minimax-m2.5-highspeed":204800,"minimax-m2.1":204800,"minimax-m2.1-highspeed":204800,"MiniMax-Text-01":524288,"MiniMax-Text-01-Preview":262144,"MiniMax-Vision-01":32768,"MiniMax-Vision-01-Fast":16384,"MiniMax-M2":204800,"google/gemini-2.0-flash":1048576,"google/gemini-2.5-pro":1048576,"gemini-2.0-flash":1048576,"gemini-2.5-pro":1048576,"gemini-2.5-flash":1048576,"gemini-3.1-pro":1048576,"gemini-3.1-flash-lite-preview":1048576,"llama3.3:70b":128000,"llama3.1:8b":128000,"llama3.2:3b":128000,"qwen2.5-coder:32b":32768,"qwen2.5-coder:7b":32768,"deepseek-coder-v2:16b":163840,"deepseek-r1:14b":65536,"mistral:7b":32768,"phi4:14b":16384,"gemma2:27b":8192,"codellama:13b":16384,"llama3.2:1b":128000,"qwen3:8b":128000,codestral:32768,"qwen3.6-plus":1e6,"qwen3.5-plus":1e6,"qwen3-coder-plus":1e6,"qwen3-coder-next":262144,"qwen3-max":262144,"qwen3-max-2026-01-23":262144,"kimi-k2.5":262144,"glm-5":202752,"glm-4.7":202752,k3:1048576,"kimi-for-coding":262144,"kimi-for-coding-highspeed":262144,"kimi-k2.6":262144,"kimi-k2":131072,"kimi-k2-instruct":131072,"kimi-k2-thinking":262144,"moonshot-v1-8k":8192,"moonshot-v1-32k":32768,"moonshot-v1-128k":131072},S8={"github:copilot":16384,"github:copilot:claude-haiku-4.5":32768,"github:copilot:claude-sonnet-4.6":32000,"github:copilot:claude-opus-4.7":32000,"github:copilot:gpt-4.1":16384,"github:copilot:gpt-4o":16384,"github:copilot:gpt-5-mini":64000,"github:copilot:gpt-5.2-codex":128000,"github:copilot:gpt-5.4":128000,"github:copilot:gpt-5.5":128000,"github:copilot:gemini-3.1-pro-preview":64000,"github:copilot:grok-code-fast-1":64000,"github_copilot/claude-haiku-4.5":32768,"github_copilot/claude-sonnet-4.6":32000,"github_copilot/claude-opus-4.7":32000,"github_copilot/gpt-4.1":16384,"github_copilot/gpt-4o":16384,"github_copilot/gpt-5-mini":64000,"github_copilot/gpt-5.2-codex":128000,"github_copilot/gpt-5.4":128000,"github_copilot/gpt-5.5":128000,"github_copilot/gemini-3.1-pro-preview":64000,"github_copilot/grok-code-fast-1":64000,...z4,"gpt-5.5-nano":128000,"gpt-5.4-nano":128000,"gpt-4o":16384,"gpt-4o-mini":16384,"gpt-4.1":32768,"gpt-4.1-mini":32768,"gpt-4.1-nano":32768,"gpt-4-turbo":4096,"gpt-4":4096,o1:1e5,"o1-mini":65536,"o1-preview":32768,"o1-pro":1e5,o3:1e5,"o3-mini":1e5,"o4-mini":1e5,"deepseek-v4-flash":262144,"deepseek-v4-pro":262144,"deepseek-chat":8192,"deepseek-reasoner":65536,"llama-3.3-70b-versatile":32768,"llama-3.1-8b-instant":8192,"mixtral-8x7b-32768":32768,"mistral-large-latest":32768,"mistral-small-latest":32768,"MiniMax-M2.7":131072,"MiniMax-M2.7-highspeed":131072,"MiniMax-M2.5":131072,"MiniMax-M2.5-highspeed":131072,"MiniMax-M2.1":131072,"MiniMax-M2.1-highspeed":131072,"minimax-m2.7":131072,"minimax-m2.7-highspeed":131072,"minimax-m2.5":131072,"minimax-m2.5-highspeed":131072,"minimax-m2.1":131072,"minimax-m2.1-highspeed":131072,"MiniMax-M2":131072,"MiniMax-Text-01":65536,"MiniMax-Text-01-Preview":65536,"MiniMax-Vision-01":16384,"MiniMax-Vision-01-Fast":16384,"google/gemini-2.0-flash":8192,"google/gemini-2.5-pro":65536,"gemini-2.0-flash":8192,"gemini-2.5-pro":65536,"gemini-2.5-flash":65536,"gemini-3.1-pro":65536,"gemini-3.1-flash-lite-preview":65536,"llama3.3:70b":4096,"llama3.1:8b":4096,"llama3.2:3b":4096,"qwen2.5-coder:32b":8192,"qwen2.5-coder:7b":8192,"deepseek-coder-v2:16b":8192,"deepseek-r1:14b":8192,"mistral:7b":4096,"phi4:14b":4096,"gemma2:27b":4096,"codellama:13b":4096,"llama3.2:1b":4096,"qwen3:8b":8192,codestral:8192,"nvidia/llama-3.1-nemotron-70b-instruct":32768,"nvidia/nemotron-mini-4b-instruct":8192,"meta/llama-3.1-405b-instruct":32768,"meta/llama-3.1-70b-instruct":32768,"meta/llama-3.2-90b-instruct":32768,"meta/llama-3.3-70b-instruct":32768,"google/gemma-2-27b-it":4096,"google/gemma-3-27b-it":16384,"google/gemma-3-12b-it":16384,"deepseek-ai/deepseek-r1":32768,"deepseek-ai/deepseek-v3":32768,"deepseek-ai/deepseek-v3.2":32768,"qwen/qwen3-32b":32768,"qwen/qwen2.5-7b-instruct":8192,"mistralai/mistral-large-3-675b-instruct-2512":32768,"mistralai/mixtral-8x7b-instruct-v0.1":8192,"microsoft/phi-4-mini-instruct":4096,"microsoft/phi-3.5-mini-instruct":4096,"ibm/granite-3.3-8b-instruct":4096,"z-ai/glm5":32768,"moonshotai/kimi-k2.5":32768,"databricks/dbrx-instruct":32768,"ai21labs/jamba-1.5-large-instruct":32768,"01-ai/yi-large":8192,"qwen3.6-plus":65536,"qwen3.5-plus":65536,"qwen3-coder-plus":65536,"qwen3-coder-next":65536,"qwen3-max":32768,"qwen3-max-2026-01-23":32768,"kimi-k2.5":32768,"glm-5":16384,"glm-4.7":16384,k3:32768,"kimi-for-coding":32768,"kimi-for-coding-highspeed":32768,"kimi-k2.6":32768,"kimi-k2":32768,"kimi-k2-instruct":32768,"kimi-k2-thinking":32768,"moonshot-v1-8k":4096,"moonshot-v1-32k":16384,"moonshot-v1-128k":32768},f8=(()=>{try{let Z=process.env.CLAUDIN_OPENAI_CONTEXT_WINDOWS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})(),A8=(()=>{try{let Z=process.env.CLAUDIN_OPENAI_MAX_OUTPUT_TOKENS;if(Z){let $=JSON.parse(Z);if(typeof $==="object"&&$!==null)return $}}catch{}return{}})()});function v4(){let Z=L()?.transport;return Z==="openai_compat"||Z==="gemini"||Z==="mistral"||Z==="github_copilot"||Z==="codex_responses"}function V0(){return K(process.env.CLAUDIN_DISABLE_1M_CONTEXT)}function l(Z){if(V0())return!1;return/\[1m\]/i.test(Z)}function x2(Z){if(V0())return!1;let $=b(Z);return $.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("opus-4-6")||$.includes("opus-4-7")||$.includes("opus-4-8")||$.includes("opus-5")||$.includes("fable-5")}function i3(Z,$){if(l(Z))return 1e6;if(v4()){let Q=k4(Z);if(Q!==void 0)return Q;return console.error(`[context] Warning: model "${Z}" not in context window table — using conservative 128k default. `+"Add it to src/providers/model/openaiContextWindows.ts for accurate compaction."),C8}let J=H2(Z);if(J?.max_input_tokens&&J.max_input_tokens>=1e5){if(J.max_input_tokens>R2&&V0())return R2;return J.max_input_tokens}if(!V0()&&(b(Z).includes("fable-5")||b(Z).includes("sonnet-5")||b(Z).includes("opus-5")))return 1e6;if($?.includes(T0)&&x2(Z))return 1e6;if(p8(Z))return 1e6;return R2}function p8(Z){if(V0())return!1;if(l(Z))return!1;if(!b(Z).includes("sonnet-4-6"))return!1;return D().clientDataCache?.coral_reef_sonnet==="true"}function t3(Z,$){if(!Z)return{used:null,remaining:null};let J=Z.input_tokens+Z.cache_creation_input_tokens+Z.cache_read_input_tokens,Q=Math.round(J/$*100),Y=Math.min(100,Math.max(0,Q));return{used:Y,remaining:100-Y}}function n3(Z){let $,J;if(v4()){let q=N4(Z);if(q!==void 0)return{default:q,upperLimit:q}}let Q=b(Z);if(Q.includes("fable-5")||Q.includes("opus-5")||Q.includes("opus-4-7")||Q.includes("opus-4-6"))$=64000,J=128000;else if(Q.includes("sonnet-4-6"))$=32000,J=128000;else if(Q.includes("opus-4-5")||Q.includes("sonnet-4")||Q.includes("haiku-4"))$=32000,J=64000;else if(Q.includes("opus-4-1")||Q.includes("opus-4"))$=32000,J=32000;else if(Q.includes("claude-3-opus"))$=4096,J=4096;else if(Q.includes("claude-3-sonnet"))$=8192,J=8192;else if(Q.includes("claude-3-haiku"))$=4096,J=4096;else if(Q.includes("3-5-sonnet")||Q.includes("3-5-haiku"))$=8192,J=8192;else if(Q.includes("3-7-sonnet"))$=32000,J=64000;else $=u8,J=g8;let Y=H2(Z);if(Y?.max_tokens&&Y.max_tokens>=4096)J=Y.max_tokens,$=Math.min($,J);return{default:$,upperLimit:J}}var R2=200000,C8,m3=20000,u8=32000,g8=64000,c3=8000,d3=64000;var B2=R(()=>{e5();J0();$0();d();w0();V4();U4();C8=(()=>{let Z=parseInt(process.env.CLAUDIN_OPENAI_FALLBACK_CONTEXT_WINDOW??"",10);return!isNaN(Z)&&Z>0?Z:128000})()});var m8,P4;var O4=R(()=>{t0();i();m8=[{modelEnvVar:"ANTHROPIC_DEFAULT_OPUS_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"},{modelEnvVar:"ANTHROPIC_DEFAULT_SONNET_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES"},{modelEnvVar:"ANTHROPIC_DEFAULT_HAIKU_MODEL",capabilitiesEnvVar:"ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"}],P4=h((Z,$)=>{if(W()==="firstParty")return;let J=Z.toLowerCase();for(let Q of m8){let Y=process.env[Q.modelEnvVar],q=process.env[Q.capabilitiesEnvVar];if(!Y||q===void 0)continue;if(J!==Y.toLowerCase())continue;return q.toLowerCase().split(",").map((X)=>X.trim()).includes($)}return},(Z,$)=>`${Z.toLowerCase()}:${$}`)});function c8(Z){let $=[],J=[];for(let Q of Z)if(I4.includes(Q))$.push(Q);else J.push(Q);return{allowed:$,disallowed:J}}function x9(Z){if(!Z||Z.length===0)return;if(_()){console.warn("Warning: Custom betas are only available for API key users. Ignoring provided betas.");return}let{allowed:$,disallowed:J}=c8(Z);for(let Q of J)console.warn(`Warning: Beta header '${Q}' is not allowed. Only the following betas are supported: ${I4.join(", ")}`);return $.length>0?$:void 0}function E4(Z){let $=P4(Z,"interleaved_thinking");if($!==void 0)return $;let J=b(Z),Q=W();if(Q==="foundry")return!0;if(Q==="firstParty")return!J.includes("claude-3-");return J.includes("claude-opus-4")||J.includes("claude-opus-5")||J.includes("claude-sonnet-5")||J.includes("claude-sonnet-4")}function d8(Z){let $=b(Z);return $.includes("claude-opus-4")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function i8(Z){let $=b(Z),J=W();if(J==="foundry")return!0;if(J==="firstParty")return!$.includes("claude-3-");return $.includes("claude-opus-4")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4")||$.includes("claude-haiku-4")}function t8(Z){let $=b(Z),J=W();if(J!=="firstParty"&&J!=="foundry")return!1;return $.includes("claude-fable-5")||$.includes("claude-opus-5")||$.includes("claude-sonnet-5")||$.includes("claude-sonnet-4-6")||$.includes("claude-sonnet-4-5")||$.includes("claude-opus-4-1")||$.includes("claude-opus-4-5")||$.includes("claude-opus-4-6")||$.includes("claude-opus-4-7")||$.includes("claude-opus-4-8")||$.includes("claude-haiku-4-5")}function B9(Z){let $=b(Z);if(!$.startsWith("claude-"))return!1;if($.includes("claude-3-"))return!1;if(/claude-(opus|sonnet|haiku)-4(?!-[6-9])/.test($))return!1;return!0}function G9(){let Z=W();if(Z==="vertex"||Z==="bedrock")return P1;return v1}function _4(){return(W()==="firstParty"||W()==="foundry")&&!K(process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS)}function H9(){if(K(process.env.CLAUDIN_DISABLE_GLOBAL_CACHE_SCOPE))return!1;return W()==="firstParty"&&!K(process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS)}function R9(Z,$){let J=[...T4(Z)];if($?.isAgenticQuery){if(!J.includes(W5))J.push(W5)}let Q=y4();if(!Q||Q.length===0)return J;return[...J,...Q.filter((Y)=>!J.includes(Y))]}function M4(){w2.cache?.clear?.(),T4.cache?.clear?.(),n8.cache?.clear?.()}var I4,w2,T4,n8;var S4=R(()=>{t0();T1();Q0();e5();h0();o();B2();d();w0();O4();i();x0();I4=[T0];w2=h((Z)=>{let $=[],J=b(Z).includes("haiku"),Q=W(),Y=_4();if(!J)$.push(W5);if(_())$.push(B0);if(l(Z))$.push(T0);if(!K(process.env.DISABLE_INTERLEAVED_THINKING)&&E4(Z))$.push(k1);if(Y&&E4(Z)&&!C()&&N().showThinkingSummaries!==!0)$.push(E1),$.push(_1);let q=i8(Z);if(_4()&&q)$.push(N1);let X=h4("tengu_tool_pear"),V=!X&&(K(process.env.CLAUDIN_JSON_TOOL_USE)||S0("tengu_amber_json_tools",!1));if(Y&&t8(Z)&&X)$.push(U1);if(Y&&V)$.push(y1);if(Q==="vertex"&&d8(Z))$.push(r5);if(Q==="foundry")$.push(r5);if(Y)$.push(O1);if(process.env.ANTHROPIC_BETAS)$.push(...process.env.ANTHROPIC_BETAS.split(",").map((j)=>j.trim()).filter(Boolean));return $}),T4=h((Z)=>{let $=w2(Z);if(W()==="bedrock")return $.filter((J)=>!o5.has(J));return $}),n8=h((Z)=>{return w2(Z).filter((J)=>o5.has(J))})});import{execFile as l8}from"child_process";function f4(Z){return new Promise(($)=>{l8("security",["find-generic-password","-a",K5(),"-w","-s",Z],{encoding:"utf-8",timeout:s8},(J,Q)=>{$({stdout:J?null:Q?.trim()||null,timedOut:Boolean(J&&"killed"in J&&J.killed)})})})}function D9(){if(process.platform!=="darwin"||F5||u())return;let Z=f4(t(A4)),$=f4(t());F5=Promise.all([Z,$]).then(([J,Q])=>{if(!J.timedOut)C4(J.stdout);if(!Q.timedOut)F2={stdout:Q.stdout}})}async function b9(){if(F5)await F5}function u4(){return F2}function K2(){F2=null}var s8=1e4,F2=null,F5=null;var g4=R(()=>{d();s5()});function L2(Z,$,J){return new Promise((Q,Y)=>{if($?.aborted){if(J?.throwOnAbort||J?.abortError)Y(J.abortError?.()??Error("aborted"));else Q();return}let q=setTimeout((V,j,G)=>{V?.removeEventListener("abort",j),G()},Z,$,X,Q);function X(){if(clearTimeout(q),J?.throwOnAbort||J?.abortError)Y(J.abortError?.()??Error("aborted"));else Q()}if($?.addEventListener("abort",X,{once:!0}),J?.unref)q.unref()})}var p4=()=>{};function U9(){return m4}function c4(){m4.clear()}var m4;var d4=R(()=>{m4=new Map});var uZ={};c5(uZ,{validateForceLoginOrg:()=>CZ,saveOAuthTokensIfNeeded:()=>X7,saveApiKey:()=>S2,removeApiKey:()=>vZ,refreshGcpCredentialsIfNeeded:()=>M2,refreshGcpAuth:()=>Y7,refreshAwsAuth:()=>J7,refreshAndGetAwsCredentials:()=>j0,prefetchGcpCredentialsIfSafe:()=>bZ,prefetchAwsCredentialsAndBedRockInfoIfSafe:()=>kZ,prefetchApiKeyFromApiKeyHelperIfSafe:()=>zZ,isUsing3PServices:()=>k5,isTeamSubscriber:()=>hZ,isTeamPremiumSubscriber:()=>R5,isProSubscriber:()=>G2,isOverageProvisioningAllowed:()=>_Z,isOtelHeadersHelperFromProjectOrLocalSettings:()=>z7,isMaxSubscriber:()=>H5,isGcpAuthRefreshFromProjectSettings:()=>T2,isEnterpriseSubscriber:()=>IZ,isCustomApiKeyApproved:()=>UZ,isConsumerSubscriber:()=>fZ,isClaudeAISubscriber:()=>_,isAwsCredentialExportFromProjectSettings:()=>h2,isAwsAuthRefreshFromProjectSettings:()=>_2,isAnthropicAuthEnabled:()=>N0,is1PApiCustomer:()=>EZ,hasProfileScope:()=>q0,hasOpusAccess:()=>yZ,hasAnthropicApiKeyAuth:()=>XZ,handleOAuth401Error:()=>Q2,getSubscriptionType:()=>f,getSubscriptionName:()=>W7,getRateLimitTier:()=>V7,getOtelHeadersFromHelper:()=>MZ,getOauthAccountInfo:()=>b5,getConfiguredApiKeyHelper:()=>s,getClaudeAIOAuthTokensAsync:()=>p0,getClaudeAIOAuthTokens:()=>w,getAuthTokenSource:()=>O2,getApiKeyHelperElapsedMs:()=>VZ,getApiKeyFromConfigOrMacOSKeychain:()=>U5,getApiKeyFromApiKeyHelperCached:()=>b2,getApiKeyFromApiKeyHelper:()=>$7,getAnthropicApiKeyWithSource:()=>c0,getAnthropicApiKey:()=>I0,getAccountInformation:()=>AZ,clearOAuthTokenCache:()=>f2,clearGcpCredentialsCache:()=>DZ,clearAwsCredentialsCache:()=>RZ,clearApiKeyHelperCache:()=>jZ,checkGcpCredentialsValid:()=>Q7,checkAndRefreshOAuthTokenIfNeeded:()=>d0,calculateApiKeyHelperTTL:()=>Z7});import{exec as o4}from"child_process";import{mkdir as JZ,stat as QZ}from"fs/promises";import{join as YZ}from"path";function D5(){return K(process.env.CLAUDE_CODE_REMOTE)||process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"}function N0(){if(u())return!1;if(process.env.ANTHROPIC_UNIX_SOCKET)return!!process.env.CLAUDE_CODE_OAUTH_TOKEN;let Z=k5(),J=(N()||{}).apiKeyHelper,Q=process.env.ANTHROPIC_AUTH_TOKEN||J||process.env.CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR,Y;try{({source:Y}=c0({skipRetrievingKeyFromApiKeyHelper:!0}))}catch{Y="none"}let q=Y==="ANTHROPIC_API_KEY"||Y==="apiKeyHelper";return!(Z||Q&&!D5()||q&&!D5())}function O2(){if(u()){if(s())return{source:"apiKeyHelper",hasToken:!0};return{source:"none",hasToken:!1}}if(process.env.ANTHROPIC_AUTH_TOKEN&&!D5())return{source:"ANTHROPIC_AUTH_TOKEN",hasToken:!0};if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{source:"CLAUDE_CODE_OAUTH_TOKEN",hasToken:!0};if(X5()){if(process.env.CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR)return{source:"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",hasToken:!0};return{source:"CCR_OAUTH_TOKEN_FILE",hasToken:!0}}if(s()&&!D5())return{source:"apiKeyHelper",hasToken:!0};let J=w();if(k0(J?.scopes)&&J?.accessToken)return{source:"claude.ai",hasToken:!0};return{source:"none",hasToken:!1}}function I0(){let{key:Z}=c0();return Z}function XZ(){try{let{key:Z,source:$}=c0({skipRetrievingKeyFromApiKeyHelper:!0});return Z!==null&&$!=="none"}catch{return!1}}function c0(Z={}){let $=(()=>{let X=L();if(X?.transport!=="anthropic")return;let V=X.apiKey?.trim();return V&&V.length>0?V:void 0})();if(u()){if($)return{key:$,source:"ANTHROPIC_API_KEY"};if(s())return{key:Z.skipRetrievingKeyFromApiKeyHelper?null:b2(),source:"apiKeyHelper"};return{key:null,source:"none"}}let J=$;if(j5()&&J)return{key:J,source:"ANTHROPIC_API_KEY"};if(K(process.env.CI)){let X=l5();if(X)return{key:X,source:"ANTHROPIC_API_KEY"};if(!k5()&&!J&&!process.env.CLAUDE_CODE_OAUTH_TOKEN&&!process.env.CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR)throw Error("Configure an Anthropic profile via /provider or set CLAUDE_CODE_OAUTH_TOKEN");if(J&&!k5())return{key:J,source:"ANTHROPIC_API_KEY"};return{key:null,source:"none"}}if(J&&D().customApiKeyResponses?.approved?.includes(V5(J)))return{key:J,source:"ANTHROPIC_API_KEY"};let Q=l5();if(Q)return{key:Q,source:"ANTHROPIC_API_KEY"};if(s()){if(Z.skipRetrievingKeyFromApiKeyHelper)return{key:null,source:"apiKeyHelper"};return{key:b2(),source:"apiKeyHelper"}}let q=U5();if(q)return q;return{key:null,source:"none"}}function s(){if(u())return P("flagSettings")?.apiKeyHelper;return(N()||{}).apiKeyHelper}function e4(){let Z=s();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.apiKeyHelper===Z||J?.apiKeyHelper===Z}function E2(){return(N()||{}).awsAuthRefresh}function _2(){let Z=E2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.awsAuthRefresh===Z||J?.awsAuthRefresh===Z}function y2(){return(N()||{}).awsCredentialExport}function h2(){let Z=y2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.awsCredentialExport===Z||J?.awsCredentialExport===Z}function Z7(){let Z=process.env.CLAUDIN_API_KEY_HELPER_TTL_MS;if(Z){let $=parseInt(Z,10);if(!Number.isNaN($)&&$>=0)return $;z(`Found CLAUDIN_API_KEY_HELPER_TTL_MS env var, but it was not a valid number. Got ${Z}`,{level:"error"})}return qZ}function VZ(){let Z=m?.startedAt;return Z?Date.now()-Z:0}async function $7(Z){if(!s())return null;let $=Z7();if(y){if(Date.now()-y.timestamp<$)return y.value;if(!m)m={promise:i4(Z,!1,b0),startedAt:null};return y.value}if(m)return m.promise;return m={promise:i4(Z,!0,b0),startedAt:Date.now()},m.promise}async function i4(Z,$,J){try{let Q=await WZ(Z);if(J!==b0)return Q;if(Q!==null)y={value:Q,timestamp:Date.now()};return Q}catch(Q){if(J!==b0)return" ";let Y=Q instanceof Error?Q.message:String(Q);if(console.error(A.red(`apiKeyHelper failed: ${Y}`)),z(`Error getting API key from apiKeyHelper: ${Y}`,{level:"error"}),!$&&y&&y.value!==" ")return y={...y,timestamp:Date.now()},y.value;return y={value:" ",timestamp:Date.now()}," "}finally{if(J===b0)m=null}}async function WZ(Z){let $=s();if(!$)return null;if(e4()){if(!c()&&!Z){let q=Error("Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("apiKeyHelper invoked before trust check",q),x("",{}),null}}let J=await H0($,{shell:!0,timeout:600000,reject:!1});if(J.failed){let Y=J.timedOut?"timed out":`exited ${J.exitCode}`,q=J.stderr?.trim();throw Error(q?`${Y}: ${q}`:Y)}let Q=J.stdout?.trim();if(!Q)throw Error("did not return a value");return Q}function b2(){return y?.value??null}function jZ(){b0++,y=null,m=null}function zZ(Z){if(e4()&&!c())return;$7(Z)}async function BZ(){let Z=E2();if(!Z)return!1;if(_2()){if(!c()&&!C()){let J=Error("Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("awsAuthRefresh invoked before trust check",J),x("",{}),!1}}try{return z("Fetching AWS caller identity for AWS auth refresh command"),await a5(),z("Fetched AWS caller identity, skipping AWS auth refresh command"),!1}catch{return J7(Z)}}function J7(Z){z("Running AWS auth refresh command");let $=M.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=o4(Z,{timeout:GZ});Q.stdout.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.addOutput(q),z(q,{level:"debug"})}),Q.stderr.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.setError(q),z(q,{level:"error"})}),Q.on("close",(Y,q)=>{if(Y===0)z("AWS auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let V=q==="SIGTERM"?A.red("AWS auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):A.red("Error running awsAuthRefresh (in settings or ~/.claudin/config.json):");console.error(V),$.endAuthentication(!1),J(!1)}})})}async function HZ(){let Z=y2();if(!Z)return null;if(h2()){if(!c()&&!C()){let J=Error("Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("awsCredentialExport invoked before trust check",J),x("",{}),null}}try{return z("Fetching AWS caller identity for credential export command"),await a5(),z("Fetched AWS caller identity, skipping AWS credential export command"),null}catch{try{z("Running AWS credential export command");let $=await H0(Z,{shell:!0,reject:!1});if($.exitCode!==0||!$.stdout)throw Error("awsCredentialExport did not return a valid value");let J=U2($.stdout.trim());if(!F1(J))throw Error("awsCredentialExport did not return valid AWS STS output structure");return z("AWS credentials retrieved from awsCredentialExport"),{accessKeyId:J.Credentials.AccessKeyId,secretAccessKey:J.Credentials.SecretAccessKey,sessionToken:J.Credentials.SessionToken}}catch($){let J=A.red("Error getting AWS credentials from awsCredentialExport (in settings or ~/.claudin/config.json):");if($ instanceof Error)console.error(J,$.message);else console.error(J,$);return null}}}function RZ(){j0.cache.clear()}function I2(){return(N()||{}).gcpAuthRefresh}function T2(){let Z=I2();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.gcpAuthRefresh===Z||J?.gcpAuthRefresh===Z}async function Q7(){try{let{GoogleAuth:Z}=await import("google-auth-library"),$=new Z({scopes:["https://www.googleapis.com/auth/cloud-platform"]}),J=(async()=>{await(await $.getClient()).getAccessToken()})(),Q=L2(wZ).then(()=>{throw new x7("GCP credentials check timed out")});return await Promise.race([J,Q]),!0}catch{return!1}}async function KZ(){let Z=I2();if(!Z)return!1;if(T2()){if(!c()&&!C()){let J=Error("Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in https://github.com/claudio-labs/claudin/issues.");return m0("gcpAuthRefresh invoked before trust check",J),x("",{}),!1}}try{if(z("Checking GCP credentials validity for auth refresh"),await Q7())return z("GCP credentials are valid, skipping auth refresh command"),!1}catch{}return Y7(Z)}function Y7(Z){z("Running GCP auth refresh command");let $=M.getInstance();return $.startAuthentication(),new Promise((J)=>{let Q=o4(Z,{timeout:LZ});Q.stdout.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.addOutput(q),z(q,{level:"debug"})}),Q.stderr.on("data",(Y)=>{let q=Y.toString().trim();if(q)$.setError(q),z(q,{level:"error"})}),Q.on("close",(Y,q)=>{if(Y===0)z("GCP auth refresh completed successfully"),$.endAuthentication(!0),J(!0);else{let V=q==="SIGTERM"?A.red("GCP auth refresh timed out after 3 minutes. Run your auth command manually in a separate terminal."):A.red("Error running gcpAuthRefresh (in settings or ~/.claudin/config.json):");console.error(V),$.endAuthentication(!1),J(!1)}})})}function DZ(){M2.cache.clear()}function bZ(){if(!I2())return;if(T2()){if(!c()&&!C())return}M2()}function kZ(){let Z=E2(),$=y2();if(!Z&&!$)return;if(_2()||h2()){if(!c()&&!C())return}j0(),B()}function NZ(Z){return/^[a-zA-Z0-9-_]+$/.test(Z)}async function S2(Z){if(!NZ(Z))throw Error("Invalid API key format. API key must contain only alphanumeric characters, dashes, and underscores.");await q7();let $=!1;if(process.platform==="darwin")try{let Q=t(),Y=K5(),q=Buffer.from(Z,"utf-8").toString("hex"),X=`add-generic-password -U -a "${Y}" -s "${Q}" -X "${q}"
|
|
2
|
+
`;await H0("security",["-i"],{input:X,reject:!1}),x("",{}),$=!0}catch(Q){k(Q),x("",{error:g(Q)}),x("",{})}else x("",{});let J=V5(Z);S((Q)=>{let Y=Q.customApiKeyResponses?.approved??[];return{...Q,primaryApiKey:$?Q.primaryApiKey:Z,customApiKeyResponses:{...Q.customApiKeyResponses,approved:Y.includes(J)?Y:[...Y,J],rejected:Q.customApiKeyResponses?.rejected??[]}}}),U5.cache.clear?.(),K2()}function UZ(Z){let $=D(),J=V5(Z);return $.customApiKeyResponses?.approved?.includes(J)??!1}async function vZ(){await q7(),S((Z)=>({...Z,primaryApiKey:void 0})),U5.cache.clear?.(),K2()}async function q7(){try{await R1()}catch(Z){k(Z)}}function X7(Z){if(!k0(Z.scopes))return x("",{}),{success:!0};if(!Z.refreshToken||!Z.expiresAt)return x("",{}),{success:!0};let $=N5(),J=$.name;try{let Q=$.read()||{},Y=Q.claudeAiOauth;Q.claudeAiOauth={accessToken:Z.accessToken,refreshToken:Z.refreshToken,expiresAt:Z.expiresAt,scopes:Z.scopes,subscriptionType:Z.subscriptionType??Y?.subscriptionType??null,rateLimitTier:Z.rateLimitTier??Y?.rateLimitTier??null};let q=$.update(Q);if(q.success)x("",{storageBackend:J});else x("",{storageBackend:J});return w.cache?.clear?.(),M4(),c4(),q}catch(Q){return k(Q),x("",{storageBackend:J,error:g(Q)}),{success:!1,warning:"Failed to save OAuth tokens"}}}function f2(){w.cache?.clear?.(),D0()}async function PZ(){try{let{mtimeMs:Z}=await QZ(YZ(N2(),".credentials.json"));if(Z!==t4)t4=Z,f2()}catch{w.cache?.clear?.()}}function Q2(Z){let $=D2.get(Z);if($)return $;let J=OZ(Z).finally(()=>{D2.delete(Z)});return D2.set(Z,J),J}async function OZ(Z){f2();let $=await p0();if(!$?.refreshToken)return!1;if($.accessToken!==Z)return x("",{}),!0;return d0(0,!0)}async function p0(){if(u())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN||X5())return w();try{let J=(await N5().readAsync())?.claudeAiOauth;if(!J?.accessToken)return null;return J}catch(Z){return k(Z),null}}function d0(Z=0,$=!1){if(Z===0&&!$){if(u0)return u0;return u0=k2(Z,$).finally(()=>{u0=null}),u0}return k2(Z,$)}async function k2(Z,$){await PZ();let Q=w();if(!$){if(!Q?.refreshToken||!g0(Q.expiresAt))return!1}if(!Q?.refreshToken)return!1;if(!k0(Q.scopes))return!1;w.cache?.clear?.(),D0();let Y=await p0();if(!Y?.refreshToken||!g0(Y.expiresAt))return!1;let q=N2();await JZ(q,{recursive:!0});let X;try{x("",{}),X=await s4(q),x("",{})}catch(V){if(V.code==="ELOCKED"){if(Z<5)return x("",{retryCount:Z+1}),await L2(1000+Math.random()*1000),k2(Z+1,$);return x("",{maxRetries:5}),!1}return k(V),x("",{error:g(V)}),!1}try{w.cache?.clear?.(),D0();let V=await p0();if(!V?.refreshToken||!g0(V.expiresAt))return x("",{}),!1;x("",{});let j=await a4(V.refreshToken,{scopes:k0(V.scopes)?void 0:V.scopes});return X7(j),w.cache?.clear?.(),D0(),!0}catch(V){k(V),w.cache?.clear?.(),D0();let j=await p0();if(j&&!g0(j.expiresAt))return x("",{}),!0;return!1}finally{x("",{}),await X(),x("",{})}}function _(){if(!N0())return!1;return k0(w()?.scopes)}function q0(){return w()?.scopes?.includes(l4)??!1}function EZ(){{let Z=L()?.transport;if(Z==="bedrock"||Z==="vertex"||Z==="foundry")return!1}if(_())return!1;return!0}function b5(){return N0()?D().oauthAccount:void 0}function _Z(){let $=b5()?.billingType;if(!_()||!$)return!1;if($!=="stripe_subscription"&&$!=="stripe_subscription_contracted"&&$!=="apple_subscription"&&$!=="google_play_subscription")return!1;return!0}function yZ(){let Z=f();return Z==="max"||Z==="enterprise"||Z==="team"||Z==="pro"||Z===null}function f(){if(Q1())return J1();if(!N0())return null;let Z=w();if(!Z)return null;return Z.subscriptionType??null}function H5(){return f()==="max"}function hZ(){return f()==="team"}function R5(){return f()==="team"&&V7()==="default_claude_max_5x"}function IZ(){return f()==="enterprise"}function G2(){return f()==="pro"}function V7(){if(!N0())return null;let Z=w();if(!Z)return null;return Z.rateLimitTier??null}function W7(){switch(f()){case"enterprise":return"Claude Enterprise";case"team":return"Claude Team";case"max":return"Claude Max";case"pro":return"Claude Pro";default:return"Claude API"}}function k5(){let Z=L()?.transport;if(!Z)return!1;return Z!=="anthropic"}function j7(){return(N()||{}).otelHeadersHelper}function z7(){let Z=j7();if(!Z)return!1;let $=P("projectSettings"),J=P("localSettings");return $?.otelHeadersHelper===Z||J?.otelHeadersHelper===Z}function MZ(){let Z=j7();if(!Z)return{};let $=parseInt(process.env.CLAUDE_CODE_OTEL_HEADERS_HELPER_DEBOUNCE_MS||TZ.toString());if(L5&&Date.now()-n4<$)return L5;if(z7()){if(!c())return{}}try{let J=v2(Z,{timeout:30000})?.toString().trim();if(!J)throw Error("otelHeadersHelper did not return a valid value");let Q=U2(J);if(typeof Q!=="object"||Q===null||Array.isArray(Q))throw Error("otelHeadersHelper must return a JSON object with string key-value pairs");for(let[Y,q]of Object.entries(Q))if(typeof q!=="string")throw Error(`otelHeadersHelper returned non-string value for key "${Y}": ${typeof q}`);return L5=Q,n4=Date.now(),L5}catch(J){throw k(Error(`Error getting OpenTelemetry headers from otelHeadersHelper (in settings): ${g(J)}`)),J}}function SZ(Z){return Z==="max"||Z==="pro"}function fZ(){let Z=f();return _()&&Z!==null&&SZ(Z)}function AZ(){if(W()!=="firstParty")return;let{source:$}=O2(),J={};if($==="CLAUDE_CODE_OAUTH_TOKEN"||$==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR")J.tokenSource=$;else if(_())J.subscription=W7();else J.tokenSource=$;let{key:Q,source:Y}=c0();if(Q)J.apiKeySource=Y;if($==="claude.ai"||Y==="/login managed key"){let X=b5()?.organizationName;if(X)J.organization=X}let q=b5()?.emailAddress;if(($==="claude.ai"||Y==="/login managed key")&&q)J.email=q;return J}async function CZ(){if(process.env.ANTHROPIC_UNIX_SOCKET)return{valid:!0};if(!N0())return{valid:!0};let Z=P("policySettings")?.forceLoginOrgUUID;if(!Z)return{valid:!0};await d0();let $=w();if(!$)return{valid:!0};let{source:J}=O2(),Q=J==="CLAUDE_CODE_OAUTH_TOKEN"||J==="CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR",Y=await G0($.accessToken);if(!Y?.organization)return{valid:!1,message:`Unable to verify organization for the current authentication token.
|
|
3
|
+
This machine requires organization ${Z} but the profile could not be fetched.
|
|
4
|
+
This may be a network error, or the token may lack the user:profile scope required for
|
|
5
|
+
verification (tokens from 'claude setup-token' do not include this scope).
|
|
6
|
+
Try again, or obtain a full-scope token via 'claude auth login'.`};let q=Y.organization.uuid;if(q===Z)return{valid:!0};if(Q)return{valid:!1,message:`The ${J==="CLAUDE_CODE_OAUTH_TOKEN"?"CLAUDE_CODE_OAUTH_TOKEN":"CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR"} environment variable provides a token for a
|
|
7
|
+
different organization than required by this machine's managed settings.
|
|
8
|
+
|
|
9
|
+
Required organization: ${Z}
|
|
10
|
+
Token organization: ${q}
|
|
11
|
+
|
|
12
|
+
Remove the environment variable or obtain a token for the correct organization.`};return{valid:!1,message:`Your authentication token belongs to organization ${q},
|
|
13
|
+
but this machine requires organization ${Z}.
|
|
14
|
+
|
|
15
|
+
Please log in with the correct organization: claude auth login`}}var qZ=300000,y=null,m=null,b0=0,xZ=3600000,GZ=180000,j0,wZ=5000,FZ=3600000,LZ=180000,M2,U5,w,t4=0,D2,u0=null,L5=null,n4=0,TZ=1740000,x7;var o=R(()=>{r8();H1();t0();h0();z5();Q5();i();Q0();J0();Y1();r4();t5();G1();w1();L1();b1();S4();$0();Z0();d();x1();o8();ZZ();n0();e8();$Z();g4();s5();x0();p4();a8();d4();j0=P2(async()=>{let Z=await BZ(),$=await HZ();if(Z||$)await K1();return $},xZ);M2=P2(async()=>{return await KZ()},FZ);U5=h(()=>{if(u())return null;if(process.platform==="darwin"){let $=u4();if($){if($.stdout)return{key:$.stdout,source:"/login managed key"}}else{let J=t();try{let Q=v2(`security find-generic-password -a $USER -w -s "${J}"`);if(Q)return{key:Q,source:"/login managed key"}}catch(Q){k(Q)}}}let Z=D();if(!Z.primaryApiKey)return null;return{key:Z.primaryApiKey,source:"/login managed key"}});w=h(()=>{if(u())return null;if(process.env.CLAUDE_CODE_OAUTH_TOKEN)return{accessToken:process.env.CLAUDE_CODE_OAUTH_TOKEN,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};let Z=X5();if(Z)return{accessToken:Z,refreshToken:null,expiresAt:null,scopes:["user:inference"],subscriptionType:null,rateLimitTier:null};try{let Q=N5().read()?.claudeAiOauth;if(!Q?.accessToken)return null;return Q}catch($){return k($),null}});D2=new Map;x7=class x7 extends Error{}});function k0(Z){return Boolean(Z?.includes(A2))}function gZ(Z){return Z?.split(" ").filter(Boolean)??[]}function HQ({codeChallenge:Z,state:$,port:J,isManual:Q,loginWithClaudeAi:Y,inferenceOnly:q,orgUUID:X,loginHint:V,loginMethod:j}){let G=Y?U().CLAUDE_AI_AUTHORIZE_URL:U().CONSOLE_AUTHORIZE_URL,H=new URL(G);H.searchParams.append("code","true"),H.searchParams.append("client_id",U().CLIENT_ID),H.searchParams.append("response_type","code"),H.searchParams.append("redirect_uri",Q?U().MANUAL_REDIRECT_URL:`http://localhost:${J}/callback`);let W0=q?[A2]:H7;if(H.searchParams.append("scope",W0.join(" ")),H.searchParams.append("code_challenge",Z),H.searchParams.append("code_challenge_method","S256"),H.searchParams.append("state",$),X)H.searchParams.append("orgUUID",X);if(V)H.searchParams.append("login_hint",V);if(j)H.searchParams.append("login_method",j);return H.toString()}async function RQ(Z,$,J,Q,Y=!1,q){let X={grant_type:"authorization_code",code:Z,redirect_uri:Y?U().MANUAL_REDIRECT_URL:`http://localhost:${Q}/callback`,client_id:U().CLIENT_ID,code_verifier:J,state:$};if(q!==void 0)X.expires_in=q;let V=await v.post(U().TOKEN_URL,X,{headers:{"Content-Type":"application/json"},timeout:15000});if(V.status!==200)throw Error(V.status===401?"Authentication failed: Invalid authorization code":`Token exchange failed (${V.status}): ${V.statusText}`);return x("",{}),V.data}async function a4(Z,{scopes:$}={}){let J={grant_type:"refresh_token",refresh_token:Z,client_id:U().CLIENT_ID,scope:(($?.length)?$:G7).join(" ")};try{let Q=await v.post(U().TOKEN_URL,J,{headers:{"Content-Type":"application/json"},timeout:15000});if(Q.status!==200)throw Error(`Token refresh failed: ${Q.statusText}`);let Y=Q.data,{access_token:q,refresh_token:X=Z,expires_in:V}=Y,j=Date.now()+V*1000,G=gZ(Y.scope);x("",{});let H=D(),W0=w(),O=H.oauthAccount?.billingType!==void 0&&H.oauthAccount?.accountCreatedAt!==void 0&&H.oauthAccount?.subscriptionCreatedAt!==void 0&&W0?.subscriptionType!=null&&W0?.rateLimitTier!=null?null:await pZ(q);if(O&&H.oauthAccount){let a={};if(O.displayName!==void 0)a.displayName=O.displayName;if(typeof O.hasExtraUsageEnabled==="boolean")a.hasExtraUsageEnabled=O.hasExtraUsageEnabled;if(O.billingType!==null)a.billingType=O.billingType;if(O.accountCreatedAt!==void 0)a.accountCreatedAt=O.accountCreatedAt;if(O.subscriptionCreatedAt!==void 0)a.subscriptionCreatedAt=O.subscriptionCreatedAt;if(Object.keys(a).length>0)S((i0)=>({...i0,oauthAccount:i0.oauthAccount?{...i0.oauthAccount,...a}:i0.oauthAccount}))}return{accessToken:q,refreshToken:X,expiresAt:j,scopes:G,subscriptionType:O?.subscriptionType??W0?.subscriptionType??null,rateLimitTier:O?.rateLimitTier??W0?.rateLimitTier??null,profile:O?.rawProfile,tokenAccount:Y.account?{uuid:Y.account.uuid,emailAddress:Y.account.email_address,organizationUuid:Y.organization?.uuid}:void 0}}catch(Q){let Y=v.isAxiosError(Q)&&Q.response?.data?JSON.stringify(Q.response.data):void 0;throw x("",{error:Q.message,...Y&&{responseBody:Y}}),Q}}async function wQ(Z){let $=await v.get(U().ROLES_URL,{headers:{Authorization:`Bearer ${Z}`}});if($.status!==200)throw Error(`Failed to fetch user roles: ${$.statusText}`);let J=$.data;if(!D().oauthAccount)throw Error("OAuth account information not found in config");S((Y)=>({...Y,oauthAccount:Y.oauthAccount?{...Y.oauthAccount,organizationRole:J.organization_role,workspaceRole:J.workspace_role,organizationName:J.organization_name}:Y.oauthAccount})),x("",{org_role:J.organization_role})}async function FQ(Z){try{let $=await v.post(U().API_KEY_URL,null,{headers:{Authorization:`Bearer ${Z}`}}),J=$.data?.raw_key;if(J)return await S2(J),x("",{status:"success",statusCode:$.status}),J;return null}catch($){throw x("",{status:"failure",error:$ instanceof Error?$.message:String($)}),$}}function g0(Z){if(Z===null)return!1;let $=300000;return Date.now()+$>=Z}async function pZ(Z){let $=await G0(Z),J=$?.organization?.organization_type,Q=null;switch(J){case"claude_max":Q="max";break;case"claude_pro":Q="pro";break;case"claude_enterprise":Q="enterprise";break;case"claude_team":Q="team";break;default:Q=null;break}let Y={subscriptionType:Q,rateLimitTier:$?.organization?.rate_limit_tier??null,hasExtraUsageEnabled:$?.organization?.has_extra_usage_enabled??null,billingType:$?.organization?.billing_type??null};if($?.account?.display_name)Y.displayName=$.account.display_name;if($?.account?.created_at)Y.accountCreatedAt=$.account.created_at;if($?.organization?.subscription_created_at)Y.subscriptionCreatedAt=$.organization.subscription_created_at;return x("",{}),{...Y,rawProfile:$}}async function KQ(){let $=D().oauthAccount?.organizationUuid;if($)return $;let J=w()?.accessToken;if(J===void 0||!q0())return null;let Y=(await G0(J))?.organization?.uuid;if(!Y)return null;return Y}async function LQ(){let Z=process.env.CLAUDE_CODE_ACCOUNT_UUID,$=process.env.CLAUDE_CODE_USER_EMAIL,J=process.env.CLAUDE_CODE_ORGANIZATION_UUID,Q=Boolean(Z&&$&&J);if(Z&&$&&J){if(!D().oauthAccount)B7({accountUuid:Z,emailAddress:$,organizationUuid:J})}await d0();let Y=D();if(Y.oauthAccount&&Y.oauthAccount.billingType!==void 0&&Y.oauthAccount.accountCreatedAt!==void 0&&Y.oauthAccount.subscriptionCreatedAt!==void 0||!_()||!q0())return!1;let q=w();if(q?.accessToken){let X=await G0(q.accessToken),V=X?.account,j=X?.organization;if(V){if(Q)z("OAuth profile fetch succeeded, overriding env var account info",{level:"info"});return B7({accountUuid:V.uuid,emailAddress:V.email??"",organizationUuid:j?.uuid,displayName:V.display_name||void 0,hasExtraUsageEnabled:j?.has_extra_usage_enabled??!1,billingType:j?.billing_type??void 0,accountCreatedAt:V.created_at,subscriptionCreatedAt:j?.subscription_created_at??void 0}),!0}}return!1}function B7({accountUuid:Z,emailAddress:$,organizationUuid:J,displayName:Q,hasExtraUsageEnabled:Y,billingType:q,accountCreatedAt:X,subscriptionCreatedAt:V}){let j={accountUuid:Z,emailAddress:$,organizationUuid:J,hasExtraUsageEnabled:Y,billingType:q,accountCreatedAt:X,subscriptionCreatedAt:V};if(Q)j.displayName=Q;S((G)=>{if(G.oauthAccount?.accountUuid===j.accountUuid&&G.oauthAccount?.emailAddress===j.emailAddress&&G.oauthAccount?.organizationUuid===j.organizationUuid&&G.oauthAccount?.displayName===j.displayName&&G.oauthAccount?.hasExtraUsageEnabled===j.hasExtraUsageEnabled&&G.oauthAccount?.billingType===j.billingType&&G.oauthAccount?.accountCreatedAt===j.accountCreatedAt&&G.oauthAccount?.subscriptionCreatedAt===j.subscriptionCreatedAt)return G;return{...G,oauthAccount:j}})}var r4=R(()=>{Y5();z5();h0();o();$0();Z0();t5()});
|
|
16
|
+
export{D9 as T4,b9 as U4,g4 as V4,C2 as W4,u2 as X4,sZ as Y4,aZ as Z4,w7 as _4,L7 as $4,rZ as a5,c2 as b5,l0 as c5,U0 as d5,v0 as e5,u5 as f5,i5 as g5,v7 as h5,E0 as i5,W as j5,W$ as k5,h7 as l5,j$ as m5,z$ as n5,x$ as o5,i as p5,B as q5,D$ as r5,Q5 as s5,k$ as t5,N$ as u5,Y1 as v5,y$ as w5,G0 as x5,t5 as y5,k0 as z5,gZ as A5,HQ as B5,RQ as C5,a4 as D5,wQ as E5,FQ as F5,g0 as G5,pZ as H5,KQ as I5,LQ as J5,B7 as K5,r4 as L5,C$ as M5,g7 as N5,q1 as O5,G1 as P5,V5 as Q5,w1 as R5,d$ as S5,L1 as T5,M as U5,b1 as V5,T0 as W5,N1 as X5,U1 as Y5,l$ as Z5,s$ as _5,O1 as $5,a$ as a6,r$ as b6,E1 as c6,o$ as d6,e$ as e6,ZJ as f6,e5 as g6,I as h6,f1 as i6,d7 as j6,FJ as k6,KJ as l6,LJ as m6,A1 as n6,DJ as o6,bJ as p6,i7 as q6,kJ as r6,NJ as s6,UJ as t6,vJ as u6,PJ as v6,l7 as w6,OJ as x6,EJ as y6,_J as z6,yJ as A6,p1 as B6,F0 as C6,r7 as D6,o7 as E6,e7 as F6,q2 as G6,X8 as H6,AJ as I6,V2 as J6,t1 as K6,V8 as L6,W2 as M6,s1 as N6,a1 as O6,W3 as P6,j3 as Q6,B5 as R6,j2 as S6,z3 as T6,H8 as U6,X0 as V6,A0 as W6,Q4 as X6,x3 as Y6,f0 as Z6,Y4 as _6,F as $6,b as a7,R8 as b7,B3 as c7,G3 as d7,w8 as e7,J2 as f7,H3 as g7,q4 as h7,X4 as i7,R3 as j7,T as k7,w3 as l7,L8 as m7,F3 as n7,K3 as o7,L3 as p7,D3 as q7,w0 as r7,k3 as s7,V4 as t7,U3 as u7,x4 as v7,F4 as w7,T8 as x7,L4 as y7,m3 as z7,c3 as A7,d3 as B7,V0 as C7,l as D7,i3 as E7,p8 as F7,t3 as G7,n3 as H7,B2 as I7,P4 as J7,O4 as K7,x9 as L7,t8 as M7,B9 as N7,G9 as O7,_4 as P7,H9 as Q7,T4 as R7,n8 as S7,R9 as T7,M4 as U7,S4 as V7,L2 as W7,p4 as X7,U9 as Y7,c4 as Z7,d4 as _7,N0 as $7,O2 as a8,I0 as b8,XZ as c8,c0 as d8,s as e8,_2 as f8,h2 as g8,Z7 as h8,VZ as i8,$7 as j8,b2 as k8,jZ as l8,zZ as m8,J7 as n8,j0 as o8,RZ as p8,T2 as q8,Q7 as r8,Y7 as s8,M2 as t8,DZ as u8,bZ as v8,kZ as w8,U5 as x8,S2 as y8,UZ as z8,vZ as A8,X7 as B8,w as C8,f2 as D8,Q2 as E8,p0 as F8,d0 as G8,_ as H8,q0 as I8,EZ as J8,b5 as K8,_Z as L8,yZ as M8,f as N8,H5 as O8,hZ as P8,R5 as Q8,IZ as R8,G2 as S8,V7 as T8,W7 as U8,k5 as V8,z7 as W8,MZ as X8,fZ as Y8,AZ as Z8,CZ as _8,uZ as $8,o as a9};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Fta as y}from"./cli-1.1.23-bdj1ne1r.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function F(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function A(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(U);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||f.test(B)||x.test(B))return!0;return!1}function k(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(A(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function D(q){if(!q||typeof q!=="object")return 0;let z=q,B=$(z.cache_read_input_tokens);if(B>0)return B;let K=$(F(q,["input_tokens_details","cached_tokens"]))||$(F(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(z.cached_tokens);if(W>0)return W;let j=$(z.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(z.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let B=$(q.cache_creation_input_tokens);if(B>0)return B;return $(F(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(F(q,["cache_creation","ephemeral_1h_input_tokens"]))}function P(q){let z=D(q),B=q??{},K=$(B.input_tokens)||$(B.prompt_tokens),W=K>=z?K-z:K,j=$(B.output_tokens)||$(B.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:z}}function M(q,z){if(!q||typeof q!=="object")return X;let B=q,K=$(B.cache_read_input_tokens),W=$(B.cache_creation_input_tokens),j=$(B.input_tokens);if(z==="copilot"||z==="ollama")return X;if(z==="self-hosted"&&K===0&&W===0)return X;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function C(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${G(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(Z,"")}k`;return`${(q/1e6).toFixed(1).replace(Z,"")}m`}function H(q,z){if(!q.supported&&!z.supported)return X;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var X,U,f,x,Z;var L=y(()=>{X={read:0,created:0,total:0,hitRate:null,supported:!1};U=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,f=/^fc[0-9a-f]{0,2}:/,x=/^fd[0-9a-f]{0,2}:/,Z=/\.0$/});function O(q){return{currentTurn:V,session:V,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function E(q,z){J.currentTurn=H(J.currentTurn,q),J.session=H(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function T(){J.currentTurn=V}function R(){J.currentTurn=V,J.session=V,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function b(){return J.currentTurn}function g(){return J.session}function l(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var N=500,V,J;var S=y(()=>{L();V={read:0,created:0,total:0,hitRate:null,supported:!1};J=O(N)});
|
|
2
|
+
export{k as h3,P as i3,M as j3,C as k3,I as l3,L as m3,E as n3,T as o3,R as p3,b as q3,g as r3,l as s3,S as t3};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{D0 as O,E0 as V,F0 as I,H0 as W,I0 as p,W0 as v,X0 as X,Y0 as D}from"./cli-1.1.23-7081am2r.mjs";import{p4 as N,r4 as T}from"./cli-1.1.23-hdrz15yh.mjs";import{s4 as H}from"./cli-1.1.23-534g4n3n.mjs";import{Kra as F,Toa as U}from"./cli-1.1.23-wkvjbzna.mjs";import{Bta as A,Fta as C}from"./cli-1.1.23-bdj1ne1r.mjs";function h({children:Y,ref:Z,stickyScroll:_,...G}){let w=E.useRef(null),[,$]=E.useState(0),J=E.useRef(new Set),K=E.useRef(!1),P=()=>{for(let g of J.current)g()};function L(g){if(U(),O(g),W(),P(),K.current)return;K.current=!0,queueMicrotask(()=>{K.current=!1,V(g)})}return E.useImperativeHandle(Z,()=>({scrollTo(g){let q=w.current;if(!q)return;q.stickyScroll=!1,q.pendingScrollDelta=void 0,q.scrollAnchor=void 0,q.scrollTop=Math.max(0,Math.floor(g)),L(q)},scrollToElement(g,q=0){let z=w.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor={el:g,offset:q},L(z)},scrollBy(g){let q=w.current;if(!q)return;q.stickyScroll=!1,q.scrollAnchor=void 0,q.pendingScrollDelta=(q.pendingScrollDelta??0)+Math.floor(g),L(q)},scrollToBottom(){let g=w.current;if(!g)return;g.pendingScrollDelta=void 0,g.stickyScroll=!0,O(g),P(),$((q)=>q+1)},getScrollTop(){return w.current?.scrollTop??0},getPendingDelta(){return w.current?.pendingScrollDelta??0},getScrollHeight(){return w.current?.scrollHeight??0},getFreshScrollHeight(){return w.current?.childNodes[0]?.yogaNode?.getComputedHeight()??w.current?.scrollHeight??0},getViewportHeight(){return w.current?.scrollViewportHeight??0},getViewportTop(){return w.current?.scrollViewportTop??0},isSticky(){let g=w.current;if(!g)return!1;return g.stickyScroll??Boolean(g.attributes.stickyScroll)},subscribe(g){return J.current.add(g),()=>J.current.delete(g)},setClampBounds(g,q){let z=w.current;if(!z)return;z.scrollClampMin=g,z.scrollClampMax=q}}),[]),N("ink-box",{ref:(g)=>{if(w.current=g,g)g.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:G.flexDirection??"row",flexGrow:G.flexGrow??0,flexShrink:G.flexShrink??1,...G,overflowX:"scroll",overflowY:"scroll"},..._?{stickyScroll:!0}:{},children:N(X,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:Y})})}var E,a;var B=C(()=>{F();I();p();v();D();T();E=A(H(),1);a=h});
|
|
2
|
+
export{a as Xh,B as Yh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$c as z,ad as K}from"./cli-1.1.23-xzwwmz59.mjs";import{$K as w,bL as J}from"./cli-1.1.23-hynrf6x1.mjs";import{s4 as H}from"./cli-1.1.23-534g4n3n.mjs";import{Bta as E,Fta as G}from"./cli-1.1.23-bdj1ne1r.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
|
|
2
|
+
export{V as Xc,N as Yc};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{y9 as D}from"./cli-1.1.23-yy2jcnc3.mjs";import{_ka as L,cla as JG,mla as W,pla as a}from"./cli-1.1.23-kc1tbe8y.mjs";import{Yla as c,Zla as jG,fma as GG}from"./cli-1.1.23-fxyf1cph.mjs";import{hsa as q,isa as g}from"./cli-1.1.23-rpxkp0kh.mjs";import{Nsa as H,dta as RG}from"./cli-1.1.23-61q858yx.mjs";import{kta as XG}from"./cli-1.1.23-zb8savhy.mjs";import{Bta as WG,Fta as j,Gta as e}from"./cli-1.1.23-bdj1ne1r.mjs";function yG(){U.cache.clear?.(),W("Cleared CA certificates cache")}var U;var i=j(()=>{g();a();GG();JG();U=q(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as IG}from"https";function gG(){let G=N(),J=U();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function P(){let G=N(),J=U();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){N.cache.clear?.(),C.cache.clear?.(),W("Cleared mTLS configuration cache")}function iG(){if(!N())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var N,C;var KG=j(()=>{g();i();a();JG();N=q(()=>{let G={};if(process.env.CLAUDIN_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDIN_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDIN_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDIN_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDIN_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),C=q(()=>{let G=N(),J=U();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new IG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,p;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");p=class p extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
|
+
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((X)=>{if(this.decrementSockets(Y,Z),typeof X.addRequest==="function")try{return X.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=X,super.createSocket(G,J,Q)},(X)=>{this.decrementSockets(Y,Z),Q(X)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let w=G.read();if(w)_(w);else G.once("readable",Z)}function X(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){X(),v("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(w){X(),v("onerror %o",w),Q(w)}function _(w){Y.push(w),K+=w.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
|
|
3
|
+
\r
|
|
4
|
+
`);if(O===-1){v("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
|
|
5
|
+
`),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),FG=+t[1],EG=t.slice(2).join(" "),I={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=I[d];if(typeof A==="string")I[d]=[A,l];else if(Array.isArray(A))A.push(l);else I[d]=l}v("got proxy server response: %o %o",f,I),X(),J({connect:{statusCode:FG,statusText:EG,headers:I},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var wG,v;var zG=j(()=>{wG=WG(XG(),1),v=wG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,F,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},m;var _G=j(()=>{$G();zG();BG();HG=WG(XG(),1),F=HG.default("https-proxy-agent");m=class m extends p{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},F("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")F("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else F("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,X=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
|
+
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))X+=`${z}: ${Y[z]}\r
|
|
7
|
+
`;let $=n(K);K.write(`${X}\r
|
|
8
|
+
`);let{connect:V,buffered:_}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){F("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let w=new M.Socket({writable:!1});return w.readable=!0,G.once("socket",(z)=>{F("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(_),z.push(null)}),w}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},X=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${X}:${J.port} HTTP/1.1\r
|
|
9
|
+
`;if(K.username||K.password){let w=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(w).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${X}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let w of Object.keys(Z))$+=`${w}: ${Z[w]}\r
|
|
10
|
+
`;let V=n(Y);Y.write(`${$}\r
|
|
11
|
+
`);let{connect:_}=await V;if(G.emit("proxyConnect",_),this.emit("proxyConnect",_,G),_.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${_.statusCode} after retry`)}};m.protocols=["http","https"]});function MJ(G){r.set(G,!0),qG(G)}function qG(G){TG.cache.delete?.(G)}function HJ(G){UG.set(G,!0),qG(G)}function OG(G){return UG.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function E(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function h(G,J={}){let Q=N(),K=U(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDIN_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,X,$)=>{$(null,Z,bG(X))};return new m(G,{...Y,...J})}function _J(G={}){let J=E(),Q=C(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=h(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=E();if(!J)return;if(y(G))return;return h(J)}function qJ(G){let J=E();if(!J)return;if(y(G))return;return J}function UJ(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=E();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...P()};return{...J,dispatcher:o(Q)}}let K=P();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:TG(G.provider)};return{...J,...K}}function NJ(){let G=E(),J=C();if(x!==void 0)H.interceptors.request.eject(x),x=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=h(G);x=H.interceptors.request.use((K)=>{if(K.url&&y(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=P();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function TJ(){let G=E();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.23-v3pvt45w.mjs"),import("./index-1.1.23-jfybaapb.mjs")]),K=h(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function FJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,UG,o,T,NG,CG,TG,x;var PG=j(()=>{RG();_G();g();i();a();GG();KG();r=new Map;UG=new Map;o=q((G)=>{let J=D(),Q=N(),K=U(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),T={connections:12,keepAliveTimeout:30000,pipelining:1},NG={firstParty:{...T,allowH2:!0},openai:{...T,allowH2:!0},gemini:{...T,allowH2:!0},mistral:{...T,allowH2:!0},github:{...T,allowH2:!0},codex:{...T,allowH2:!0},"nvidia-nim":{...T,allowH2:!0},minimax:{...T,allowH2:!0}},CG=NG.openai,TG=q((G)=>{let J=D(),Q=NG[G]??CG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
|
|
12
|
+
export{yG as b9,i as c9,N as d9,gG as e9,aG as f9,iG as g9,KG as h9,MJ as i9,HJ as j9,OG as k9,E as l9,y as m9,_J as n9,jJ as o9,qJ as p9,UJ as q9,NJ as r9,TJ as s9,FJ as t9,PG as u9};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{IJ as Q,LJ as F}from"./cli-1.1.23-hynrf6x1.mjs";import{mla as b,pla as y}from"./cli-1.1.23-kc1tbe8y.mjs";import{Ola as x,Tla as f}from"./cli-1.1.23-6vn61k3h.mjs";import{Wla as w,fma as R}from"./cli-1.1.23-fxyf1cph.mjs";import{Kra as K,Pna as $,Sna as j}from"./cli-1.1.23-wkvjbzna.mjs";import{Fta as v}from"./cli-1.1.23-bdj1ne1r.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
|
|
2
|
+
|
|
3
|
+
`:"",B=k===G?`
|
|
4
|
+
|
|
5
|
+
${c}`:"";return`Scheduled loop tick.
|
|
6
|
+
|
|
7
|
+
${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
|
|
8
|
+
|
|
9
|
+
If .claudin/loop.md exists, read it and follow it.
|
|
10
|
+
Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
|
|
11
|
+
Otherwise:
|
|
12
|
+
- continue any unfinished work from the conversation
|
|
13
|
+
- tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
|
|
14
|
+
- run cleanup passes such as bug hunts or simplification when nothing else is pending
|
|
15
|
+
|
|
16
|
+
Do not start new initiatives outside that scope.
|
|
17
|
+
Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
|
|
18
|
+
export{Y as bi,G as ci,D as di,g as ei,M as fi,U as gi};
|